Gentoo Archives: gentoo-ppc-user

From: Charles Trois <charles.trois@×××××××.fr>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Date: Sun, 06 Nov 2005 13:16:16
Message-Id: 436E01D5.7050806@wanadoo.fr
1 I am still trying to install Gentoo on a G4 iMac from the
2 universal-ppc-2005.1 disk (kernel 2.6.12-gentoo-r6), and I keep getting
3 this error message:
4
5 VFS: Cannot open root device "hda15" or unknown-block(0,0)
6 Please append a correct "root=" boot option
7 Kernel panic - not syncing:VFS:unable to mount root fs on unknown-block(0,0)
8
9 I read on the web that this might be due to some disks being misnamed
10 and read in the wrong order; a suggested solution was to activate the
11 options config BLK_DEV_IDE_PMAC (Builtin PowerMac IDE support) and
12 config BLK_DEV_IDE_PMAC_ATA100FIRST (Probe internal ATA/100 (Kauai) first).
13
14 I wanted to try this and configured the kernel accordingly; but then I
15 got a compile error:
16
17 CC drivers/ide/ppc/pmac.o
18 drivers/ide/ppc/pmac.c: In function 'pmac_ide_setup_dma'
19 2174 error: '__ide_dma_off_quietly' undeclared
20 2175 error: '__ide_dma_on' undeclared
21 2184 error: '__ide_dma_timeout' undeclared
22 make[2]: ***[drivers/ide/ppc/pmac.o] Error 1
23 make[1]: ***[drivers/ide] Error 2
24 make: ***[drivers] Error 2
25
26 I looked at pmac.c, but I saw nothing obvious; is it a known error that
27 one could correct, or is perhaps a patch available?
28
29 Apart from that, what is the idea worth?
30
31 Charles
32
33
34
35 --
36 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver Michael Hanselmann <hansmi@g.o>
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver Michael Hanselmann <hansmi@g.o>