Gentoo Archives: gentoo-ppc-user

From: Joseph Jezak <josejx@g.o>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
Date: Sun, 26 Sep 2010 17:37:18
Message-Id: 4C9F8486.4050307@gentoo.org
In Reply to: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! by Mark Knecht
1 On 09/25/10 16:40, Mark Knecht wrote:
2
3 (snip)
4
5 > I cannot due to the same sort of message I get when trying to boot:
6 >
7 > e2fsck_check_if_mount: Can't check if filesystem is mounted due to
8 > missing mtab file
9 > fsck.ext3: Device or resource busy while trying to open /dev/hda4
10 > Filesystem mounted or opened exclusively by another program?
11 >
12 > For kicks I tried umount /dev/hda4 but that complains about the
13 > missing mtab file also. It seems from the man page I could force it
14 > but I didn't want to do that, and again if I did and it even worked
15 > then where would the system read fsck.ext3 from to do the check since
16 > it's on /dev/hda4 itself?
17 >
18
19 Okay, let's try a few things now that we can boot the machine (even if
20 it's not all the way!).
21
22 First, lets mount proc:
23 # mount -t procfs none /proc
24
25 Now, try fsck.ext3 again. Does it work?
26
27 Next, let's remount the root file system read/write so we can modify files:
28 # mount -o remount,rw /
29
30 We'll copy the current mount information from proc to /etc/mtab and see
31 if that helps:
32 # cp /proc/self/mounts /etc/mtab
33 # mount -o remount,ro /
34
35 Now, try fsck.ext3 again. Does it work?
36
37 If so, try rebooting the system again. Does it boot now?
38
39 (snip)
40
41 > I've gone back and done a couple more experiments:
42 >
43 > 1) So far anything I try that refers to the drive as /dev/sda4 results
44 > in a VFS not syncing type error so at least as far as the boot process
45 > goes hda4 seems to be the right device.
46 >
47
48 hda4 will be the right device as long as you have the old ide driver in
49 your kernel.
50
51 > 2) I tried building in the PATA_MACIO driver but that by itself didn't
52 > change anything:
53 >
54 > (chroot) livecd / # cat /usr/src/linux/.config | grep MACIO
55 > CONFIG_PATA_MACIO=y
56 > CONFIG_ADB_MACIO=y
57 > (chroot) livecd / #
58 >
59 > The boot still fails at the same point with the same message. Possibly
60 > some other ATA driver is being selected ahead of this one and maybe it
61 > needs to be removed from the kernel? I don't know what to remove
62 > though so I'm sort of stuck on that account.
63 >
64 The old PMAC_IDE driver is getting picked before the PATA_MACIO driver.
65 If you'd like to try the newer driver, you'll need to disable the old
66 one first.
67
68 -Joe

Replies

Subject Author
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! Mark Knecht <markknecht@×××××.com>