Skip to contentSkip to conversation

PPC kernel fails when IDE built as modules

DISCUSSION Ethan 2 participants 4 messages Dec 4, 2001 – Dec 7, 2001

lore
Share & tools
lore

Ethan

author
#0 lore raw

Just thought I'd drop a note that recent kernel builds (2.4.17-pre1,2) on PPC fail when IDE is built as modules.

-Ethan

ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o init/main.o init/version.o \
--start-group \
arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o

drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/macintosh/macintosh.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
       net/network.o \
       /usr/src/linux-bk/lib/lib.a \
       --end-group \
       -o vmlinux

arch/ppc/kernel/kernel.o: In function `pmac_init':
arch/ppc/kernel/kernel.o(.text.init+0x2cfa): undefined reference to pmac_ide_init_hwif_ports' arch/ppc/kernel/kernel.o(.text.init+0x2cfe): undefined reference to pmac_ide_get_base' arch/ppc/kernel/kernel.o(.text.init+0x2d12): undefined reference to pmac_ide_init_hwif_ports' arch/ppc/kernel/kernel.o(.text.init+0x2d16): undefined reference to pmac_ide_get_base' arch/ppc/kernel/kernel.o: In function `pmac_ide_check_region':
arch/ppc/kernel/kernel.o(.text.pmac+0x930): undefined reference to pmac_ide_check_base' arch/ppc/kernel/kernel.o(.text.pmac+0x930): relocation truncated to fit: R_PPC_REL24 pmac_ide_check_base arch/ppc/kernel/kernel.o: In function pmac_ide_request_region':
arch/ppc/kernel/kernel.o(.text.pmac+0x988): undefined reference to pmac_ide_check_base' arch/ppc/kernel/kernel.o(.text.pmac+0x988): relocation truncated to fit: R_PPC_REL24 pmac_ide_check_base arch/ppc/kernel/kernel.o: In function pmac_ide_release_region':
arch/ppc/kernel/kernel.o(.text.pmac+0x9d8): undefined reference to `pmac_ide_check_base' arch/ppc/kernel/kernel.o(.text.pmac+0x9d8): relocation truncated to fit: R_PPC_REL24 pmac_ide_check_base
make: *** [vmlinux] Error 1

#1 lore raw
Quoted 2 lines

Just thought I'd drop a note that recent kernel builds (2.4.17-pre1,2) on PPC fail when IDE is built as modules.

The fix for this is part of the big pmac merge I'm about to start with Marcelo. In the meantime, use the bitkeeper PPC tree (see http://www.penguinppc.org/dev/kernel.shtml for details).

Ben.

#2 lore raw
Quoted 6 lines
Quoted 2 lines

Just thought I'd drop a note that recent kernel builds (2.4.17-pre1,2) on PPC fail when IDE is built as modules.

The fix for this is part of the big pmac merge I'm about to start with Marcelo. In the meantime, use the bitkeeper PPC tree (see http://www.penguinppc.org/dev/kernel.shtml for details).

Hrm.. Sorry, it looks like you indeed have a good point here.

I'll see how we can fix that tomorrow.

Ben.

author
#3 lore raw
In reply to Benjamin Herrenschmidt
Quoted 7 lines · Benjamin Herrenschmidt
Quoted 6 lines
Quoted 2 lines

Just thought I'd drop a note that recent kernel builds (2.4.17-pre1,2) on PPC fail when IDE is built as modules.

The fix for this is part of the big pmac merge I'm about to start with Marcelo. In the meantime, use the bitkeeper PPC tree (see http://www.penguinppc.org/dev/kernel.shtml for details).

Quoted 6 lines

Hrm.. Sorry, it looks like you indeed have a good point here.

I'll see how we can fix that tomorrow.

Ben.

Making any headway on this one? I'm still getting it as of 2.4.17-pre5.

thanks again,

Ethan