linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PPC and 2.2.21rc3 with modular ide subsystem
@ 2002-05-03 11:58 Krzysiek Taraszka
  2002-05-03 15:53 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysiek Taraszka @ 2002-05-03 11:58 UTC (permalink / raw)
  To: linux-kernel

Hi,

I tried compile 2.2.21rc3 with modular ide subsystem and i got that 
messages:

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 \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.o drivers/misc/misc.a 
drivers/net/net.a drivers/cdrom/cdrom.a drivers/pci/pci.a 
drivers/net/fc/fc.a drivers/macintosh/macintosh.o drivers/video/video.a 
drivers/net/hamradio/hamradio.a drivers/usb/usbdrv.o \
        /home/users/dzimi/rpm/BUILD/linux/lib/lib.a \
        --end-group \
        -o vmlinux
arch/ppc/kernel/kernel.o: In function `ide_pmac_init':
arch/ppc/kernel/kernel.o(.text+0x7d58): undefined reference to `ide_init'
arch/ppc/kernel/kernel.o(.text+0x7d58): relocation truncated to fit: 
R_PPC_REL24 ide_init
arch/ppc/kernel/kernel.o: In function `pmac_ide_default_io_base':
arch/ppc/kernel/kernel.o(.text+0x7eb0): undefined reference to 
`pmac_ide_get_base'
arch/ppc/kernel/kernel.o(.text+0x7eb0): relocation truncated to fit: 
R_PPC_REL24 pmac_ide_get_base
arch/ppc/kernel/kernel.o: In function `find_ide_boot':
arch/ppc/kernel/kernel.o(.text.init+0x10dc): undefined reference to 
`pmac_find_ide_boot'
arch/ppc/kernel/kernel.o(.text.init+0x10dc): relocation truncated to fit: 
R_PPC_REL24 pmac_find_ide_boot
arch/ppc/kernel/kernel.o: In function `pmac_init':
arch/ppc/kernel/kernel.o(.text.init+0x12d2): undefined reference to 
`pmac_ide_init_hwif_ports'
arch/ppc/kernel/kernel.o(.text.init+0x12fe): undefined reference to 
`pmac_ide_init_hwif_ports'
make: *** [vmlinux] Error 1arch/ppc/kernel/kernel.o: In function 
`ide_pmac_init':
arch/ppc/kernel/kernel.o(.text+0x7d58): undefined reference to `ide_init'
arch/ppc/kernel/kernel.o(.text+0x7d58): relocation truncated to fit: 
R_PPC_REL24 ide_init
arch/ppc/kernel/kernel.o: In function `pmac_ide_default_io_base':
arch/ppc/kernel/kernel.o(.text+0x7eb0): undefined reference to 
`pmac_ide_get_base'
arch/ppc/kernel/kernel.o(.text+0x7eb0): relocation truncated to fit: 
R_PPC_REL24 pmac_ide_get_base
arch/ppc/kernel/kernel.o: In function `find_ide_boot':
arch/ppc/kernel/kernel.o(.text.init+0x10dc): undefined reference to 
`pmac_find_ide_boot'
arch/ppc/kernel/kernel.o(.text.init+0x10dc): relocation truncated to fit: 
R_PPC_REL24 pmac_find_ide_boot
arch/ppc/kernel/kernel.o: In function `pmac_init':
arch/ppc/kernel/kernel.o(.text.init+0x12d2): undefined reference to 
`pmac_ide_init_hwif_ports'
arch/ppc/kernel/kernel.o(.text.init+0x12fe): undefined reference to 
`pmac_ide_init_hwif_ports'
make: *** [vmlinux] Error 1

Config have:

#
# Platform support
#
CONFIG_PPC=y
CONFIG_6xx=y
# CONFIG_8xx is not set
CONFIG_PMAC=y
# CONFIG_PREP is not set
# CONFIG_CHRP is not set
# CONFIG_ALL_PPC is not set
# CONFIG_APUS is not set
# CONFIG_GEMINI is not set
# CONFIG_MBX is not set
# CONFIG_SMP is not set
CONFIG_ALTIVEC=y
CONFIG_MACH_SPECIFIC=y
CONFIG_POWERMAC=y

[......]

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=m
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=m
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDETAPE=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_VIA82C586 is not set
# CONFIG_BLK_DEV_CMD646 is not set
# CONFIG_BLK_DEV_CS5530 is not set
CONFIG_BLK_DEV_SL82C105=y
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_BLK_DEV_IDEDMA_PMAC=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_PMAC_IDEDMA_AUTO is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_STRIPED=m
CONFIG_MD_MIRRORING=m
CONFIG_MD_RAID5=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
# CONFIG_BLK_DEV_XD is not set
CONFIG_BLK_DEV_DAC960=m
CONFIG_PARIDE_PARPORT=m
# CONFIG_PARIDE is not set
CONFIG_BLK_CPQ_DA=m
CONFIG_BLK_CPQ_CISS_DA=m
# CONFIG_BLK_DEV_HD is not set

[....]


Hmm, i don't known so much with ide subsystems, but if i can build modular 
subsystem on x86 i also could build it on ppc.

I also tried with ide.2.2.21.04022002.tar.gz. I must patched it because 
there was two unresolved symbols. One of them i fix, but second i can't. 

/usr/lib/modules/2.2.21-rc3/misc/ide-mod.o
depmod:       ide_init_hwif_ports

anyone compile it successful it on 2.2 ?

Krzysiek Taraszka


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PPC and 2.2.21rc3 with modular ide subsystem
  2002-05-03 11:58 PPC and 2.2.21rc3 with modular ide subsystem Krzysiek Taraszka
@ 2002-05-03 15:53 ` Tom Rini
  2002-05-03 16:05   ` Krzysiek Taraszka
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2002-05-03 15:53 UTC (permalink / raw)
  To: Krzysiek Taraszka; +Cc: linux-kernel

On Fri, May 03, 2002 at 01:58:49PM +0200, Krzysiek Taraszka wrote:

> I tried compile 2.2.21rc3 with modular ide subsystem and i got that 
> messages:

Pmac IDE is not able to be built as a module.  If you just have a PCI
IDE card you want to use, you should be able to if you set
CONFIG_BLK_DEV_IDE_PMAC to n.  Otherwise you must compile it in.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PPC and 2.2.21rc3 with modular ide subsystem
  2002-05-03 15:53 ` Tom Rini
@ 2002-05-03 16:05   ` Krzysiek Taraszka
  2002-05-03 16:43     ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysiek Taraszka @ 2002-05-03 16:05 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

On Fri, 3 May 2002, Tom Rini wrote:

> Date: Fri, 3 May 2002 08:53:13 -0700
> From: Tom Rini <trini@kernel.crashing.org>
> To: Krzysiek Taraszka <dzimi@ep09.kernel.pl>
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: PPC and 2.2.21rc3 with modular ide subsystem
> 
> On Fri, May 03, 2002 at 01:58:49PM +0200, Krzysiek Taraszka wrote:
> 
> > I tried compile 2.2.21rc3 with modular ide subsystem and i got that 
> > messages:
> 
> Pmac IDE is not able to be built as a module.  If you just have a PCI
> IDE card you want to use, you should be able to if you set
> CONFIG_BLK_DEV_IDE_PMAC to n.  Otherwise you must compile it in.

What about 2.4/2.5 kernels ? 

Krzysiek Taraszka


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PPC and 2.2.21rc3 with modular ide subsystem
  2002-05-03 16:05   ` Krzysiek Taraszka
@ 2002-05-03 16:43     ` Tom Rini
  2002-05-03 16:51       ` Krzysiek Taraszka
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2002-05-03 16:43 UTC (permalink / raw)
  To: Krzysiek Taraszka; +Cc: linux-kernel

On Fri, May 03, 2002 at 06:05:34PM +0200, Krzysiek Taraszka wrote:
> On Fri, 3 May 2002, Tom Rini wrote:
> 
> > Date: Fri, 3 May 2002 08:53:13 -0700
> > From: Tom Rini <trini@kernel.crashing.org>
> > To: Krzysiek Taraszka <dzimi@ep09.kernel.pl>
> > Cc: linux-kernel@vger.kernel.org
> > Subject: Re: PPC and 2.2.21rc3 with modular ide subsystem
> > 
> > On Fri, May 03, 2002 at 01:58:49PM +0200, Krzysiek Taraszka wrote:
> > 
> > > I tried compile 2.2.21rc3 with modular ide subsystem and i got that 
> > > messages:
> > 
> > Pmac IDE is not able to be built as a module.  If you just have a PCI
> > IDE card you want to use, you should be able to if you set
> > CONFIG_BLK_DEV_IDE_PMAC to n.  Otherwise you must compile it in.
> 
> What about 2.4/2.5 kernels ? 

The same restrictions apply to 2.4 as well.  It's planned to try and fix
this issue in 2.5 at some point.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PPC and 2.2.21rc3 with modular ide subsystem
  2002-05-03 16:43     ` Tom Rini
@ 2002-05-03 16:51       ` Krzysiek Taraszka
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysiek Taraszka @ 2002-05-03 16:51 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

On Fri, 3 May 2002, Tom Rini wrote:

> Date: Fri, 3 May 2002 09:43:58 -0700
> From: Tom Rini <trini@kernel.crashing.org>
> To: Krzysiek Taraszka <dzimi@ep09.kernel.pl>
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: PPC and 2.2.21rc3 with modular ide subsystem
> 
> On Fri, May 03, 2002 at 06:05:34PM +0200, Krzysiek Taraszka wrote:
> > On Fri, 3 May 2002, Tom Rini wrote:
> > 
> > > Date: Fri, 3 May 2002 08:53:13 -0700
> > > From: Tom Rini <trini@kernel.crashing.org>
> > > To: Krzysiek Taraszka <dzimi@ep09.kernel.pl>
> > > Cc: linux-kernel@vger.kernel.org
> > > Subject: Re: PPC and 2.2.21rc3 with modular ide subsystem
> > > 
> > > On Fri, May 03, 2002 at 01:58:49PM +0200, Krzysiek Taraszka wrote:
> > > 
> > > > I tried compile 2.2.21rc3 with modular ide subsystem and i got that 
> > > > messages:
> > > 
> > > Pmac IDE is not able to be built as a module.  If you just have a PCI
> > > IDE card you want to use, you should be able to if you set
> > > CONFIG_BLK_DEV_IDE_PMAC to n.  Otherwise you must compile it in.
> > 
> > What about 2.4/2.5 kernels ? 
> 
> The same restrictions apply to 2.4 as well.  It's planned to try and fix
> this issue in 2.5 at some point.

Thank you very much.

Krzysiek Taraszka			(dzimi@pld.org.pl)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-03 16:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-03 11:58 PPC and 2.2.21rc3 with modular ide subsystem Krzysiek Taraszka
2002-05-03 15:53 ` Tom Rini
2002-05-03 16:05   ` Krzysiek Taraszka
2002-05-03 16:43     ` Tom Rini
2002-05-03 16:51       ` Krzysiek Taraszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).