From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-ppc-user+bounces-687-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OzbYO-0007i9-2X
	for garchives@archives.gentoo.org; Sat, 25 Sep 2010 20:41:04 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AB8D1E05B1;
	Sat, 25 Sep 2010 20:40:40 +0000 (UTC)
Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id B6053E05B1
	for <gentoo-ppc-user@lists.gentoo.org>; Sat, 25 Sep 2010 20:40:40 +0000 (UTC)
Received: by wwe15 with SMTP id 15so86573wwe.10
        for <gentoo-ppc-user@lists.gentoo.org>; Sat, 25 Sep 2010 13:40:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:received:in-reply-to
         :references:date:message-id:subject:from:to:content-type;
        bh=WKHE09YHNmdLA4qxKlgNnr9mrQUpDURVadT9N++U8RI=;
        b=cD3vG4o4lJ42IkmktU8VCxN+U/1+vwDEaH3BH6+oQKMzLrUxor3p0pF2lGZ4br+1lK
         0KbQjxGgyRNHvBUW65TCNB3jJLPWyMHAt6nlUS3hAKkD4Qomz0yj5VotGsngcnMt/dC6
         PGhU5pCBG1kL9kj70vy6ZomtW7aXe0uwH8bmE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        b=RaRzGrfceBF79InOJ0QKr2uTdBOhpA94uVuPHvlehV4AUQf9KtTqg4Kz2YnwsqRogu
         FjvR4RkVh3wOqEqufRMAcJuFZU0r/at0GybEP9ZnnNmWozZB9jzs2xUhbHYqizi9s95W
         pyhjW5Adc+BAumqz3VtFHK160raYEmR3lgH70=
Precedence: bulk
List-Post: <mailto:gentoo-ppc-user@lists.gentoo.org>
List-Help: <mailto:gentoo-ppc-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-ppc-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-ppc-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-ppc-user.gentoo.org>
X-BeenThere: gentoo-ppc-user@lists.gentoo.org
Reply-to: gentoo-ppc-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.216.30.10 with SMTP id j10mr11003253wea.8.1285447240054; Sat,
 25 Sep 2010 13:40:40 -0700 (PDT)
Received: by 10.216.3.138 with HTTP; Sat, 25 Sep 2010 13:40:40 -0700 (PDT)
In-Reply-To: <4C9E1165.50307@gentoo.org>
References: <AANLkTi=a7Qb3e9jcT4c-vkApzi11hqy6A+0u78VoKMF6@mail.gmail.com>
	<4C9AAE79.8080200@gentoo.org>
	<AANLkTimq0sWBG6ccaWtjcE0U7XK3VwTc5A0ih0JBnp6S@mail.gmail.com>
	<4C9B5FBE.9040604@gentoo.org>
	<AANLkTinZWyqZidZJdu6Difr3q-aVKZVQHEeWhemD6f9S@mail.gmail.com>
	<4C9BB240.1080603@gentoo.org>
	<AANLkTi=-VGV0-Vpyd6F3Os3Tw-0UGZPXddCpqrzKe2Qv@mail.gmail.com>
	<4C9C3143.2050002@gentoo.org>
	<AANLkTimGvupKEcFSPQ9eDrhQjjGY5FV9hEhuncNLaj=W@mail.gmail.com>
	<4C9E1165.50307@gentoo.org>
Date: Sat, 25 Sep 2010 13:40:40 -0700
Message-ID: <AANLkTik44_uTbBMjZn1RHGzuEjiTu4O3Brdh58tvj1ak@mail.gmail.com>
Subject: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-ppc-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 8a6f7639-2aa9-4131-8500-96108a4e5b05
X-Archives-Hash: 3cec30816946374912675b7f855574ad

On Sat, Sep 25, 2010 at 8:12 AM, Joseph Jezak <josejx@gentoo.org> wrote:
<SNIP>
> None of these things are weird, they're expected!
>

Really? OK - cool then.

> When you start the system with "init=/bin/bash", the only thing your
> system does is start bash as the only process. Things like mounting
> proc, remounting the root file system r/w (and setting up mtab) aren't
> done because they're part of the normal startup process.
>

I need to find a good _SIMPLE_ book on how Linux boots. I'm just a
long time use with no real sys admin background so for a decade or
longer I just want the things go by at boot and then use my system.

> Can you run fsck.ext3 from the shell that starts when you replace init?
>

I cannot due to the same sort of message I get when trying to boot:

e2fsck_check_if_mount: Can't check if filesystem is mounted due to
missing mtab file
fsck.ext3: Device or resource busy while trying to open /dev/hda4
Filesystem mounted or opened exclusively by another program?

For kicks I tried umount /dev/hda4 but that complains about the
missing mtab file also. It seems from the man page I could force it
but I didn't want to do that, and again if I did and it even worked
then where would the system read fsck.ext3 from to do the check since
it's on /dev/hda4 itself?

> Also, which version of udev are you using? I forgot to ask if you're
> running ~ppc instead of ppc, you may want to try switching to the
> PATA_MACIO driver in order for the system to work properly.

udev would be whatever comes with a stable ppc system these days.

Other than running ~ppc portage and sandbox the machine is currently
all stable with no USE flags. The make.conf file is pretty much empty
other than the stuff the install has me put in. (Which mirrors to sync
from, etc.)

I've gone back and done a couple more experiments:

1) So far anything I try that refers to the drive as /dev/sda4 results
in a VFS not syncing type error so at least as far as the boot process
goes hda4 seems to be the right device.

2) I tried building in the PATA_MACIO driver but that by itself didn't
change anything:

(chroot) livecd / # cat /usr/src/linux/.config | grep MACIO
CONFIG_PATA_MACIO=y
CONFIG_ADB_MACIO=y
(chroot) livecd / #

The boot still fails at the same point with the same message. Possibly
some other ATA driver is being selected ahead of this one and maybe it
needs to be removed from the kernel? I don't know what to remove
though so I'm sort of stuck on that account.

3) If this is a kernel config issue - and it seem plausible that it is
- then I'll point out that the kernel config page of the Gentoo PPC
Istall Guide had a possible command that didn't work for me:

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=7

Specifically:

make pmac32_defconfig

which supposedly will make a config file that would boot most 32-bit
machines. Unfortunately the command doesn't work for me on current
kernels. The install guide should be updated to either remove this or
make it more clear if I need to do anything more than that command in
the /usr/src/linux directory.

I've looked around at lots more stuff in my kernel config and compared
it to what the Install guide says. I don't see any differences but I
suspect there probably are.

Thanks!

- Mark