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 ) id 1OzWRX-0001ag-Ov for garchives@archives.gentoo.org; Sat, 25 Sep 2010 15:13:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 313F4E0729; Sat, 25 Sep 2010 15:13:26 +0000 (UTC) Received: from qmta08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by pigeon.gentoo.org (Postfix) with ESMTP id 5EED8E0729 for ; Sat, 25 Sep 2010 15:13:26 +0000 (UTC) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta08.westchester.pa.mail.comcast.net with comcast id B3861f0010QuhwU583DTLe; Sat, 25 Sep 2010 15:13:27 +0000 Received: from [192.168.1.100] ([24.3.224.125]) by omta02.westchester.pa.mail.comcast.net with comcast id B3DS1f00M2ix0EG3N3DS8s; Sat, 25 Sep 2010 15:13:27 +0000 Message-ID: <4C9E1165.50307@gentoo.org> Date: Sat, 25 Sep 2010 11:12:37 -0400 From: Joseph Jezak User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100914 Lightning/1.0b3pre Thunderbird/3.1.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-ppc-user@lists.gentoo.org Reply-to: gentoo-ppc-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-ppc-user@lists.gentoo.org Subject: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! References: <4C9AAE79.8080200@gentoo.org> <4C9B5FBE.9040604@gentoo.org> <4C9BB240.1080603@gentoo.org> <4C9C3143.2050002@gentoo.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0bee37c5-e7f3-4ece-8397-e25128a548ab X-Archives-Hash: 5a273b962f00e1d3eded3a68f5805c11 On 09/25/10 07:45, Mark Knecht wrote: > On Thu, Sep 23, 2010 at 10:04 PM, Joseph Jezak wrote: >> My responses are inline this time. It's easier when there's so much >> going on! >> >> On 09/23/10 16:41, Mark Knecht wrote: >>> Two pictures posted: >>> >>> Top half of boot screen: >>> http://www.flickr.com/photos/29328985@N03/5018717650/ >>> >>> Bottom half of boot screen >>> http://www.flickr.com/photos/29328985@N03/5018718202/ >>> >> Okay, these look exactly as expected. You've booted into the shell fine >> and the kernel does detect the hard drive fine. It appears that the disk >> was not cleanly unmounted, which is what the messages in the bottom >> picture indicate. Once you get USB working so we can type into the >> console, we'll take a look at what's actually going on. >> >>> Full USB HID support is built as modular. I don't seem to be able to >>> change it to built in. make menuconfig is only giving me modular or >>> not set. (Kernel config USB info this is set is at the end) >> If you use menuconfig and you go to the "Help" option, it will tell you >> what dependencies need to be set in order to build the module. Most >> likely, you did not set the USB subsystem itself to be built in. >>> lspci says the controller is an Apple controller and the driver is >>> 'macio' which seems sensible. I see it in the boot screen I think. >>> That driver is built in, but the PATA_MACIO driver is not: >>> >>> (chroot) livecd linux # cat .config | grep MACIO >>> # CONFIG_PATA_MACIO is not set >>> CONFIG_ADB_MACIO=y >>> (chroot) livecd linux # >>> >>> Maybe I've mistakenly left the right disk driver out of the kernel >>> thinking the hardware was SATA based? Does the PATA_MACIO option need >>> to be set for the Mac Mini? I don't understand how this kernel config >>> would have ever worked befor unless I'm confusing where it came from. >>> >> You're using the old style driver which results in devices named hdX#. >> It's called IDE_PMAC. The new driver which uses the sdX# naming >> convention (and uses libpata), is called PATA_MACIO. >> >>> Does the append="init=/bin/bash" command allow the kernel to load >>> drivers or do I need to build USBHID into the kernel to get the >>> keyboard to work at this level of boot? >> I would built it in for now, it'll be easier since there's no good way >> to get into the system to tell it to load the drivers. >> >> -Joe >> >> > Hi Joe, > OK, I finished the emerge -e @world. No changes. Still doesn't boot. > > I've put the append="init=/bin/bash" back in and booted. I'm at the > console and this is confusing. It seems that /dev/hda4 is probably > mounted. I can do > > ls -al / > > I see all the stuff I'd expect to see - /bin, /boot, etc. - and also > the two downloads necessary to do the install - portage-latest.tar.bz2 > & stage3-ppc-20100919.tar.bz2 - so I must be looking at the right > physical hard drive. > > However even though I see that stuff simple commands like df don't > work yielding something like this: > > (none)/ #df > df: cannot read table of mounted file systems: No such file or directory > > Additionally, there is nothing at all under /proc. It's empty! > > Cheers, > Mark > > None of these things are weird, they're expected! 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. Can you run fsck.ext3 from the shell that starts when you replace init? 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. -Joe