PowerBook 12" hangs right after attaching ams0

Andreas Tobler andreast-list at fgznet.ch
Thu Oct 30 15:22:00 PDT 2008


Nathan Whitehorn wrote:

> Could you try the latest HEAD? I poked around at my machines this 
> morning to try to make them hang, succeeded, and then fixed some 
> problems that make mouse probes hang after the keyboard is probed 
> successfully.

Done here, see attached dmesg.

>> - The processor still runs at 533 MHz. I think Linux also did this when
>>   I tried it 3-4 years ago.
> 
> OF sets it to this at boot. I think there is something you can change at 
> the firmware prompt to bring it up to full speed, but my memory is foggy.

As mentioned in another mail,

at OF boot prompt:

dev /cpus/PowerPC,G4 at 0 set-dfs-high

Nathan, THANKS!

Regards,
Andreas

P.S, the ata timeout issues have also gone. Well, on this machine I use 
fw, but on the imac they have gone for sure.

-------------- next part --------------
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 #0: Thu Oct 30 21:43:51 CET 2008
    andreast at wolfram.andreas.nets:/usr/obj/export/head/src/sys/ANDREAST
cpu0: Motorola PowerPC 7447A revision 1.1, 1504.63 MHz
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
cpu0: HID1 8000fc80<EMCP,ICE,DCE,ILOCK,DLOCK,ICFI,DCFI,SGE>
real memory  = 1063497728 (1014 MB)
avail memory = 1027358720 (979 MB)
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
powermac_nvram0: <Apple NVRAM> on nexus0
powermac_nvram0: bank0 generation 400, bank1 generation 399
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> port 0x400-0x4ff mem 0xb8000000-0xbfffffff,0xb0000000-0xb000ffff 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)
pci1: <bridge, PCI-CardBus> at device 19.0 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xa0003000-0xa0003fff irq 29 at device 26.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: <NEC uPD 9210 USB controller> mem 0xa0002000-0xa0002fff irq 63 at device 27.0 on pci1
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0
usb1: <NEC uPD 9210 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 3 ports with 3 removable, self powered
ohci2: <NEC uPD 9210 USB controller> mem 0xa0001000-0xa0001fff irq 63 at device 27.1 on pci1
ohci2: [GIANT-LOCKED]
ohci2: [ITHREAD]
usb2: OHCI version 1.0
usb2: <NEC uPD 9210 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: <NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xa0000000-0xa00000ff irq 63 at device 27.2 on pci1
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 3 ports each: usb1 usb2
usb3: <NEC uPD 720100 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 5 ports with 5 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:0d:93:ff:fe:35:b3:80
fwohci0: invalid speed 7 (fixed to 3).
fwohci0: Phy 1394a available S800, 3 ports.
fwohci0: Link S800, max_rec 4096 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:0d:93:35:b3:80
fwe0: Ethernet address: 02:0d:93:35:b3:80
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, 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
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
gem0: 10kB RX FIFO, 4kB TX FIFO
gem0: Ethernet address: 00:0d:93:35:b3:80
gem0: [ITHREAD]
sc0: <System console> on nexus0
sc0: Unknown <16 virtual consoles, flags=0x300>
ukbd0: <vendor 0x05ac product 0x1000, class 0/0, rev 2.00/15.86, addr 2> on uhub0
kbd1 at ukbd0
ums0: <vendor 0x05ac product 0x1000, class 0/0, rev 2.00/15.86, addr 2> on uhub0
ums0: 5 buttons.
Timecounter "decrementer" frequency 18432000 Hz quality 0
Timecounters tick every 10.000 msec
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
acd0: DVDR <MATSHITACD-RW CW-8123/CA0T> at ata0-master WDMA2
ad0: 76319MB <FUJITSU MHT2080AT 8162> at ata1-master UDMA100
akbd0: <iBook Keyboard> at device 2 on adb0
kbd2 at akbd0
ams0: <ADB Mouse> at device 3 on adb0
ams0: 4-button 400-dpi Unknown Pointing Device
firewire0: New S400 device ID:0001d200005b017a
da0 at sbp0 bus 0 target 0 lun 0
da0: <Oxford S OXFORD IDE Devic 0138> Fixed Simplified Direct Access SCSI-4 device 
da0: 50.000MB/s transfers
da0: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C)
Trying to mount root from ufs:/dev/da0s5
gem0: link state changed to UP
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 0 done
All buffers synced.
Uptime: 9m6s
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 #1: Thu Oct 30 22:00:57 CET 2008
    andreast at wolfram.andreas.nets:/usr/obj/export/head/src/sys/ANDREAST
cpu0: Motorola PowerPC 7447A revision 1.1, 1504.63 MHz
cpu0: L1 I-cache enabled, L1 D-cache enabled
cpu0: write-back backside cache
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
cpu0: HID1 8000fc80<EMCP,ICE,DCE,ILOCK,DLOCK,ICFI,DCFI,SGE>
real memory  = 1063497728 (1014 MB)
avail memory = 1027358720 (979 MB)
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
powermac_nvram0: <Apple NVRAM> on nexus0
powermac_nvram0: bank0 generation 400, bank1 generation 399
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> port 0x400-0x4ff mem 0xb8000000-0xbfffffff,0xb0000000-0xb000ffff 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)
pci1: <bridge, PCI-CardBus> at device 19.0 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xa0003000-0xa0003fff irq 29 at device 26.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: <NEC uPD 9210 USB controller> mem 0xa0002000-0xa0002fff irq 63 at device 27.0 on pci1
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0
usb1: <NEC uPD 9210 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 3 ports with 3 removable, self powered
ohci2: <NEC uPD 9210 USB controller> mem 0xa0001000-0xa0001fff irq 63 at device 27.1 on pci1
ohci2: [GIANT-LOCKED]
ohci2: [ITHREAD]
usb2: OHCI version 1.0
usb2: <NEC uPD 9210 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: <NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xa0000000-0xa00000ff irq 63 at device 27.2 on pci1
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 3 ports each: usb1 usb2
usb3: <NEC uPD 720100 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 5 ports with 5 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:0d:93:ff:fe:35:b3:80
fwohci0: invalid speed 7 (fixed to 3).
fwohci0: Phy 1394a available S800, 3 ports.
fwohci0: Link S800, max_rec 4096 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:0d:93:35:b3:80
fwe0: Ethernet address: 02:0d:93:35:b3:80
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, 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
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
gem0: 10kB RX FIFO, 4kB TX FIFO
gem0: Ethernet address: 00:0d:93:35:b3:80
gem0: [ITHREAD]
sc0: <System console> on nexus0
sc0: Unknown <16 virtual consoles, flags=0x300>
ukbd0: <vendor 0x05ac product 0x1000, class 0/0, rev 2.00/15.86, addr 2> on uhub0
kbd1 at ukbd0
ums0: <vendor 0x05ac product 0x1000, class 0/0, rev 2.00/15.86, addr 2> on uhub0
ums0: 5 buttons.
Timecounter "decrementer" frequency 18432000 Hz quality 0
Timecounters tick every 10.000 msec
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
acd0: DVDR <MATSHITACD-RW CW-8123/CA0T> at ata0-master WDMA2
ad0: 76319MB <FUJITSU MHT2080AT 8162> at ata1-master UDMA100
akbd0: <iBook Keyboard> at device 2 on adb0
kbd2 at akbd0
ams0: <ADB Mouse> at device 3 on adb0
ams0: 4-button 400-dpi Unknown Pointing Device
firewire0: New S400 device ID:0001d200005b017a
da0 at sbp0 bus 0 target 0 lun 0
da0: <Oxford S OXFORD IDE Devic 0138> Fixed Simplified Direct Access SCSI-4 device 
da0: 50.000MB/s transfers
da0: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C)
Trying to mount root from ufs:/dev/da0s5
gem0: link state changed to UP


More information about the freebsd-ppc mailing list