Date: Thu, 30 Oct 2008 17:01:43 +0100 From: Ed Schouten <ed@80386.nl> To: Nathan Whitehorn <nwhitehorn@freebsd.org> Cc: FreeBSD/ppc <freebsd-ppc@freebsd.org> Subject: Re: PowerBook 12" hangs right after attaching ams0 Message-ID: <20081030160143.GL1165@hoeg.nl> In-Reply-To: <4909BA61.8060008@freebsd.org> References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--bZ2MuwyI/0uB8yuJ Content-Type: multipart/mixed; boundary="sMZCuqyhuhd4ycTi" Content-Disposition: inline --sMZCuqyhuhd4ycTi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Nathan, * Nathan Whitehorn <nwhitehorn@freebsd.org> wrote: > Drat. Could you try the patch at > http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? After applying the patch, it still gets stuck during boot. > I'd also be interested to know what the bit of your dmesg around > macgpio0 looks like, in particular the line from the attachment for > pmuextint0. I've attached the dmesg to this email. > Unfortunately, ams0's attach doesn't have any debug information in it. > It is stuck somewhere between lines 171 and 183 of adb_mouse.c, if you > want to fill it with printf(). I can confirm it indeed gets stuck in adb_mouse_attach(), namely during its call to adb_set_device_handler(). I've just added a `return (ENXIO)' to adb_mouse_probe(), so I can at least boot my PowerBook for now. The keyboard support rocks. Thanks! :-) There are some random things I still have to look into: - I've dd'd the boot loader to /dev/ad0s2, but for some reason my Mac still refuses to boot from it. - The processor still runs at 533 MHz. I think Linux also did this when I tried it 3-4 years ago. - I thought we had some kind of experimental bwi(4) port sitting in P4. Would be cool to see if it works. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --sMZCuqyhuhd4ycTi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="powerbook-dmesg.txt" Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #3: Thu Oct 30 15:50:11 UTC 2008 ed@mecca.80386.nl:/usr/obj/store/home/ed/svn/freebsd-src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. cpu0: Motorola PowerPC 7455 revision 3.3, 533.33 MHz cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT> real memory = 659062784 (628 MB) avail memory = 631754752 (602 MB) kbd0 at kbdmux0 nexus0: <Open Firmware Nexus device> unin0: <Apple UniNorth System Controller> on nexus0 unin0: Version 210 pcib0: <Apple UniNorth Host-PCI bridge> on nexus0 pci0: <OFW PCI bus> on pcib0 vgapci0: <VGA-compatible display> mem 0x91000000-0x91ffffff,0x94000000-0x97ffffff irq 48 at device 16.0 on pci0 pcib1: <Apple UniNorth Host-PCI bridge> on nexus0 pci1: <OFW PCI bus> on pcib1 macio0: <Intrepid I/O Controller> mem 0x80000000-0x8007ffff at device 23.0 on pci1 openpic0: <OpenPIC Interrupt Controller> mem 0x40000-0x7ffff on macio0 macgpio0: <MacIO GPIO Controller> mem 0x50-0x7f on macio0 pmuextint0: <Apple PMU99 External Interrupt> gpio 9 irq 47 on macgpio0 scc0: <Zilog Z8530 dual channel SCC> mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 22,5,6,23,7,8 on macio0 scc0: [FILTER] scc0: [FILTER] uart0: <z8530, channel A> on scc0 uart0: [FILTER] uart1: <z8530, channel B> on scc0 uart1: [FILTER] pmu0: <Apple PMU99 Controller> mem 0x16000-0x17fff irq 25 on macio0 pmu0: [ITHREAD] adb0: <Apple Desktop Bus> on pmu0 ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] pci1: <network> at device 18.0 (no driver attached) ohci0: <OHCI (generic) USB controller> mem 0x80082000-0x80082fff irq 27 at device 24.0 on pci1 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: <Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: <OHCI (generic) USB controller> mem 0x80081000-0x80081fff irq 28 at device 25.0 on pci1 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: <OHCI (generic) USB controller> on ohci1 usb1: USB revision 1.0 uhub1: <Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered ohci2: <OHCI (generic) USB controller> mem 0x80080000-0x80080fff irq 29 at device 26.0 on pci1 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: <OHCI (generic) USB controller> on ohci2 usb2: USB revision 1.0 uhub2: <Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered pcib2: <Apple UniNorth Host-PCI bridge> on nexus0 pci2: <OFW PCI bus> on pcib2 ata1: <Intrepid Kauai ATA Controller> mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 ata1: [ITHREAD] fwohci0: <Apple UniNorth> mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:0a:95:ff:fe:73:d6:e6 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:0a:95:73:d6:e6 fwe0: Ethernet address: 02:0a:95:73:d6:e6 sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode gem0: <Apple UniNorth2 GMAC Ethernet> mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2 miibus0: <MII bus> on gem0 bmtphy0: <BCM5221 10/100baseTX PHY> PHY 0 on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:0a:95:73:d6:e6 gem0: [ITHREAD] sc0: <System console> on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> ugen0: <vendor 0x05ac product 0x8203, class 224/1, rev 1.10/5.26, addr 2> on uhub0 Timecounter "decrementer" frequency 33280357 Hz quality 0 Timecounters tick every 10.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acd0: DVDR <MATSHITACD-RW CW-8122/BA21> at ata0-master WDMA2 ad0: 57231MB <TOSHIBA MK6021GAS GA025B> at ata1-master UDMA100 akbd0: <iBook Keyboard> at device 2 on adb0 kbd1 at akbd0 --sMZCuqyhuhd4ycTi-- --bZ2MuwyI/0uB8yuJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkJ2mcACgkQ52SDGA2eCwV/cQCfdMnZh4ZWsx3k5lL6ZrIh/D0w FW4An1fXJYgJ1OpAPdjhIz/epBhViXGU =MFGk -----END PGP SIGNATURE----- --bZ2MuwyI/0uB8yuJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081030160143.GL1165>