Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-user
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-ppc-user@g.o
From: Charles Trois <charles.trois@...>
Subject: Compile error on IDE Power Mac driver
Date: Sun, 06 Nov 2005 14:15:01 +0100
I am still trying to install Gentoo on a G4 iMac from the 
universal-ppc-2005.1 disk (kernel 2.6.12-gentoo-r6), and I keep getting 
this error message:

VFS: Cannot open root device "hda15" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing:VFS:unable to mount root fs on unknown-block(0,0)

I read on the web that this might be due to some disks being misnamed 
and read in the wrong order; a suggested solution was to activate the 
options config BLK_DEV_IDE_PMAC (Builtin PowerMac IDE support) and 
config BLK_DEV_IDE_PMAC_ATA100FIRST (Probe internal ATA/100 (Kauai) first).

I wanted to try this and configured the kernel accordingly; but then I 
got a compile error:

CC drivers/ide/ppc/pmac.o
drivers/ide/ppc/pmac.c: In function 'pmac_ide_setup_dma'
2174 error: '__ide_dma_off_quietly' undeclared
2175 error: '__ide_dma_on' undeclared
2184 error: '__ide_dma_timeout' undeclared
make[2]: ***[drivers/ide/ppc/pmac.o] Error 1
make[1]: ***[drivers/ide] Error 2
make: ***[drivers] Error 2

I looked at pmac.c, but I saw nothing obvious; is it a known error that 
one could correct, or is perhaps a patch available?

Apart from that, what is the idea worth?

Charles



-- 
gentoo-ppc-user@g.o mailing list


Replies:
Re: Compile error on IDE Power Mac driver
-- Michael Hanselmann
Re: Compile error on IDE Power Mac driver
-- Michael Hanselmann
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Kernel 2.6.14
Next by thread:
Re: Compile error on IDE Power Mac driver
Previous by date:
Kernel 2.6.14
Next by date:
Re: Compile error on IDE Power Mac driver


Updated Jun 17, 2009

Summary: Archive of the gentoo-ppc-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.