Gentoo Archives: gentoo-ppc-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
Date: Thu, 23 Sep 2010 20:41:51
Message-Id: AANLkTi=-VGV0-Vpyd6F3Os3Tw-0UGZPXddCpqrzKe2Qv@mail.gmail.com
In Reply to: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! by Joseph Jezak
On Thu, Sep 23, 2010 at 1:02 PM, Joseph Jezak <josejx@g.o> wrote:
>  On 09/23/10 12:17, Mark Knecht wrote: >> On Thu, Sep 23, 2010 at 7:10 AM, Joseph Jezak <josejx@g.o> wrote: >> <SNIP> >>> mtab is generated on boot as you mount devices. It's not the problem here. >>> >>> 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="init=/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=/dev/hda2 >> #device=/pci@f4000000/ata-6@d/disk@0: >> device=hd: >> timeout=30 >> install=/usr/lib/yaboot/yaboot >> magicboot=/usr/lib/yaboot/ofboot >> >> image=/boot/kernel-2.6.34-gentoo-r1 >>         label=Gentoo-2.6.34-r1 >>         append="init=/bin/bash" >>         partition=4 >>         root=/dev/hda4 >>         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 device >> 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 Flickr. >> >> 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=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. 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? 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 = CONFIG_BT_HCIBFUSB=m CONFIG_USB_CATC=m CONFIG_USB_KAWETH=m CONFIG_USB_PEGASUS=m CONFIG_USB_RTL8150=m CONFIG_USB_USBNET=m CONFIG_USB_NET_AX8817X=m CONFIG_USB_NET_CDCETHER=m CONFIG_USB_NET_NET1080=m CONFIG_USB_NET_MCS7830=m CONFIG_USB_NET_ZAURUS=m CONFIG_SND_USB=y CONFIG_USB_HID=m CONFIG_USB_HIDDEV=y CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=m CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y CONFIG_USB_MON=m CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_HCD_PPC_OF=y CONFIG_USB_OHCI_HCD=m CONFIG_USB_OHCI_HCD_PPC_OF_BE=y CONFIG_USB_OHCI_HCD_PPC_OF=y CONFIG_USB_OHCI_HCD_PCI=y CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_UHCI_HCD=m CONFIG_USB_U132_HCD=m CONFIG_USB_STORAGE=m CONFIG_USB_STORAGE_FREECOM=m CONFIG_USB_STORAGE_ISD200=m CONFIG_USB_STORAGE_USBAT=m CONFIG_USB_STORAGE_SDDR09=m CONFIG_USB_STORAGE_SDDR55=m CONFIG_USB_STORAGE_JUMPSHOT=m CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_AIRCABLE=m CONFIG_USB_SERIAL_IPW=m CONFIG_USB_SERIAL_MOS7720=m CONFIG_USB_SERIAL_MOS7840=m CONFIG_USB_SERIAL_SIERRAWIRELESS=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_FTDI_ELAN=m CONFIG_USB_APPLEDISPLAY=m (chroot) livecd linux #

Replies

Subject Author
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! Joseph Jezak <josejx@g.o>