Compile error on IDE Power Mac driver
Charles Trois <[email protected]>
| Newsgroups | gmane.linux.gentoo.ppc |
|---|---|
| Message-ID | <[email protected]> |
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 -- [email protected] mailing list