1 |
On Sun, Sep 26, 2010 at 1:52 PM, Mark Knecht <markknecht@×××××.com> wrote: |
2 |
> On Sun, Sep 26, 2010 at 10:36 AM, Joseph Jezak <josejx@g.o> wrote: |
3 |
<SNIP> |
4 |
>> The old PMAC_IDE driver is getting picked before the PATA_MACIO driver. |
5 |
>> If you'd like to try the newer driver, you'll need to disable the old |
6 |
>> one first. |
7 |
> |
8 |
> OK - I'll go back in and look at my kernel config again. Thought I'd |
9 |
> post these results for now. |
10 |
> |
11 |
|
12 |
OK, I switched to the newer PMAC_MACIO driver built into the kernel. |
13 |
Names changed but the result is the same - now it fails /dev/sda4 |
14 |
|
15 |
* Checking root filesystem... |
16 |
fsck.ext3: No such file or directory while trying to open /dev/sda4 |
17 |
/dev/sda4: |
18 |
The superblock could not be read or does not describe... |
19 |
|
20 |
Note one interesting difference with the newer driver is that I |
21 |
couldn't run fsck.ext3 until I rebuilt the kernel without all the |
22 |
power management stuff. Seems that by default fsck thought we were |
23 |
using the battery and deferred the check. |
24 |
|
25 |
Possibly I could have used fsck -f but I didn't want to take any chances. |
26 |
|
27 |
Anyway, the current state is that /dev/sda4 fails to mount. With the |
28 |
newer driver and modified kernel I had no problems with your bash |
29 |
instructions other than the procfs issue. |
30 |
|
31 |
Can I go further booting the machine by hand? If booting using the |
32 |
init=/sbin/bash allows me to check the disk but booting automatically |
33 |
does then it seems I should be able to walk through by hand doing all |
34 |
the steps until I get to the same failure point, correct? I think I'll |
35 |
Google around for web pages that describe that sort of thing. Sounds |
36 |
like an interesting thing to get educated on after using Linux for |
37 |
more than a decade... :-) |
38 |
|
39 |
Here's my current yaboot.conf and fstab files. Note that for now the |
40 |
use of /dev/hda2 is due to using the install CD. I suppose those will |
41 |
have to change to 'sd' if I ever get this machine to boot Gentoo |
42 |
again. (Still hoping Klaus' comment this morning about bad drives |
43 |
isn't the root cause here. The MacMini doesn't look easy to open for |
44 |
disk replacements...) |
45 |
|
46 |
Again, thanks for the ideas. |
47 |
|
48 |
Cheers, |
49 |
Mark |
50 |
|
51 |
(chroot) livecd / # cat /etc/yaboot.conf |
52 |
## yaboot.conf generated by yabootconfig 1.0.8 |
53 |
## |
54 |
## run: "man yaboot.conf" for details. Do not make changes until you have!! |
55 |
## |
56 |
## For a dual-boot menu, add one or more of: |
57 |
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ |
58 |
|
59 |
boot=/dev/hda2 |
60 |
#device=/pci@f4000000/ata-6@d/disk@0: |
61 |
device=hd: |
62 |
timeout=30 |
63 |
install=/usr/lib/yaboot/yaboot |
64 |
magicboot=/usr/lib/yaboot/ofboot |
65 |
|
66 |
image=/boot/kernel-2.6.34-gentoo-r1 |
67 |
label=Gentoo-2.6.34-r1 |
68 |
#append="init=/bin/bash" |
69 |
partition=4 |
70 |
root=/dev/sda4 |
71 |
read-only |
72 |
(chroot) livecd / # |
73 |
|
74 |
|
75 |
(chroot) livecd / # cat /etc/fstab |
76 |
/dev/sda4 / ext3 noatime 0 1 |
77 |
/dev/sda3 none swap sw 0 0 |
78 |
|
79 |
/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
80 |
|
81 |
proc /proc proc defaults 0 0 |
82 |
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
83 |
(chroot) livecd / # |