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 1Oysc3-0004Yy-9y for garchives@archives.gentoo.org; Thu, 23 Sep 2010 20:41:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D157E0897; Thu, 23 Sep 2010 20:41:41 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 406D1E0897 for ; Thu, 23 Sep 2010 20:41:41 +0000 (UTC) Received: by gyf1 with SMTP id 1so1318356gyf.40 for ; Thu, 23 Sep 2010 13:41: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 :content-transfer-encoding; bh=hJVB3D1JmqvPkQsHN+XjHrV+0ToNpOKw534jFdYPiOI=; b=P2rCIEClN5ar4GPMpqMhhPGdcXugxFHra8vA++8wdMxTR4Zm3qgR6dpmLyEHIRHGmT ZlaM+mx7B66qv+rgBBLAF8EAI7i5gtp9iN77M+mncSsVGfRksaYo9uzPFMVMql0zs3rD rFqE1p9VwPWvanJphrMTbTb0bds+GTR+babdM= 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:content-transfer-encoding; b=IMyxV30FrCh+UWNIjITHTkrO24IG3IMaP5IGSGyuftpYL+FPfThIl0EdDklC5Hxqk4 PKYBlh/isnsLTdnHC93fdbdVoKlhjJkis02MdsMNGsMhDYcWWMfejJmmmCE+b3IXUFKT JoncHjYo9zsNxfE8TQlZoG87OCGyf/HyejOSg= 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 Received: by 10.151.51.20 with SMTP id d20mr3417261ybk.414.1285274500838; Thu, 23 Sep 2010 13:41:40 -0700 (PDT) Received: by 10.150.136.2 with HTTP; Thu, 23 Sep 2010 13:41:40 -0700 (PDT) In-Reply-To: <4C9BB240.1080603@gentoo.org> References: <4C9AAE79.8080200@gentoo.org> <4C9B5FBE.9040604@gentoo.org> <4C9BB240.1080603@gentoo.org> Date: Thu, 23 Sep 2010 13:41:40 -0700 Message-ID: Subject: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! From: Mark Knecht To: gentoo-ppc-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 07313543-6c63-4f67-9a94-04bdea9b398c X-Archives-Hash: a65b88cf98832087c320a034a00e0e25 On Thu, Sep 23, 2010 at 1:02 PM, Joseph Jezak wrote: > =C2=A0On 09/23/10 12:17, Mark Knecht wrote: >> On Thu, Sep 23, 2010 at 7:10 AM, Joseph Jezak wrote: >> >>> mtab is generated on boot as you mount devices. It's not the problem he= re. >>> >>> Can you try adding this line to your yaboot config? It will make the >>> system boot directly into a shell instead of starting init: >>> ### Put this in the kernel section >>> append=3D"init=3D/bin/bash" >>> >>> Once this boots, does hda* exist in /dev? How about /dev/null and /dev/= zero? >>> >>> -Joe >> OK, so I did it like this: >> >> boot=3D/dev/hda2 >> #device=3D/pci@f4000000/ata-6@d/disk@0: >> device=3Dhd: >> timeout=3D30 >> install=3D/usr/lib/yaboot/yaboot >> magicboot=3D/usr/lib/yaboot/ofboot >> >> image=3D/boot/kernel-2.6.34-gentoo-r1 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 label=3DGentoo-2.6.34-r1 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 append=3D"init=3D/bin/bash" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 partition=3D4 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 root=3D/dev/hda4 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 read-only >> >> and ran ybin -v >> >> When I reboot I have no keyboard and cannot probe around. The screen is = showing >> >> (none) / # >> >> The kernel boots with printk timing info on each line, and then >> finishes with two messages: >> >> bash: cannot set terminal process group (-1): Inappropriate ioctl for de= vice >> bash: no job control in this shell >> >> and at that point the machine is hung. >> >> So this seems like it's just not finding the hardware at this point? >> No disk? No keyboard? >> >> If you want to see the whole screen I can post another screen shot on Fl= ickr. >> >> Thanks for the interest and help. I'm sure we'll figure it out. >> >> - Mark >> >> > Okay, that all looks fine. Are you sure that you built USB keyboard > support into your kernel? This might be why it wouldn't let you type. I > wouldn't mind seeing another screen shot either. Once you get keyboard > support working, check to see if those device nodes exist. > > -Joe 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/ 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) 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=3Dy (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. Does the append=3D"init=3D/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? Thanks, Mark (chroot) livecd linux # lspci -k 0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP Kernel driver in use: agpgart-uninorth 0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01) Subsystem: ATI Technologies Inc RV280 [Radeon 9200] Kernel driver in use: radeonfb 0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI 0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) Subsystem: Apple Computer Inc. Device 4318 0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O Kernel driver in use: macio 0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB 0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB 0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB Kernel driver in use: ohci_hcd 0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43) Subsystem: NEC Corporation Hama USB 2.0 CardBus Kernel driver in use: ohci_hcd 0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43) Subsystem: NEC Corporation Hama USB 2.0 CardBus Kernel driver in use: ohci_hcd 0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04) Subsystem: NEC Corporation USB 2.0 Kernel driver in use: ehci_hcd 0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI 0002:20:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100 Kernel driver in use: ide-pmac 0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 81) Subsystem: Apple Computer Inc. iBook G4 2004 Kernel driver in use: ohci1394 0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev 80) Kernel driver in use: gem (chroot) livecd linux # (chroot) livecd linux # cat .config | grep USB | grep =3D CONFIG_BT_HCIBFUSB=3Dm CONFIG_USB_CATC=3Dm CONFIG_USB_KAWETH=3Dm CONFIG_USB_PEGASUS=3Dm CONFIG_USB_RTL8150=3Dm CONFIG_USB_USBNET=3Dm CONFIG_USB_NET_AX8817X=3Dm CONFIG_USB_NET_CDCETHER=3Dm CONFIG_USB_NET_NET1080=3Dm CONFIG_USB_NET_MCS7830=3Dm CONFIG_USB_NET_ZAURUS=3Dm CONFIG_SND_USB=3Dy CONFIG_USB_HID=3Dm CONFIG_USB_HIDDEV=3Dy CONFIG_USB_SUPPORT=3Dy CONFIG_USB_ARCH_HAS_HCD=3Dy CONFIG_USB_ARCH_HAS_OHCI=3Dy CONFIG_USB_ARCH_HAS_EHCI=3Dy CONFIG_USB=3Dm CONFIG_USB_DEVICEFS=3Dy CONFIG_USB_DEVICE_CLASS=3Dy CONFIG_USB_MON=3Dm CONFIG_USB_EHCI_HCD=3Dm CONFIG_USB_EHCI_ROOT_HUB_TT=3Dy CONFIG_USB_EHCI_HCD_PPC_OF=3Dy CONFIG_USB_OHCI_HCD=3Dm CONFIG_USB_OHCI_HCD_PPC_OF_BE=3Dy CONFIG_USB_OHCI_HCD_PPC_OF=3Dy CONFIG_USB_OHCI_HCD_PCI=3Dy CONFIG_USB_OHCI_BIG_ENDIAN_DESC=3Dy CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=3Dy CONFIG_USB_OHCI_LITTLE_ENDIAN=3Dy CONFIG_USB_UHCI_HCD=3Dm CONFIG_USB_U132_HCD=3Dm CONFIG_USB_STORAGE=3Dm CONFIG_USB_STORAGE_FREECOM=3Dm CONFIG_USB_STORAGE_ISD200=3Dm CONFIG_USB_STORAGE_USBAT=3Dm CONFIG_USB_STORAGE_SDDR09=3Dm CONFIG_USB_STORAGE_SDDR55=3Dm CONFIG_USB_STORAGE_JUMPSHOT=3Dm CONFIG_USB_SERIAL=3Dm CONFIG_USB_SERIAL_GENERIC=3Dy CONFIG_USB_SERIAL_AIRCABLE=3Dm CONFIG_USB_SERIAL_IPW=3Dm CONFIG_USB_SERIAL_MOS7720=3Dm CONFIG_USB_SERIAL_MOS7840=3Dm CONFIG_USB_SERIAL_SIERRAWIRELESS=3Dm CONFIG_USB_SERIAL_OMNINET=3Dm CONFIG_USB_FTDI_ELAN=3Dm CONFIG_USB_APPLEDISPLAY=3Dm (chroot) livecd linux #