Date: Thu, 25 Sep 2014 20:40:52 -0700 From: Justin Hibbits <chmeeedalf@gmail.com> To: FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Boot failure with r272146 Message-ID: <20140925204052.6f4c1d60@zhabar.attlocal.net>
index | next in thread | raw e-mail
[-- Attachment #1 --] With r272146 my SATA controller fails to attach, preventing the kernel from mounting root. I've attached a log of as much as dconschat would allow. The relevant portion is pcib10: atapci0: <ServerWorks K2 SATA150 controller> mem 0xfa402000-0xfa403fff at device 12.0 on pci10 pcib1: failed to reserve resource for pcib10 pcib10: failed to allocate initial I/O port window (0-0xffffffff,0x10) atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). atapci0: unable to map interrupt device_attach: atapci0 attach returned 6 pcib10: allocated memory range (0xfa400000-0xfa400fff) for rid 10 of pci1:3:14:0 atapci0: <ServerWorks K2 SATA150 controller> mem 0xfa402000-0xfa403fff at device 12.0 on pci10 pcib1: failed to reserve resource for pcib10 pcib10: failed to allocate initial I/O port window (0-0xffffffff,0x10) atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). atapci0: unable to map interrupt device_attach: atapci0 attach returned 6 ata0: <Shasta Kauai ATA Controller> mem 0xfa404000-0xfa407fff at device 13.0 on pci10 ofw_pci mapdev: start fa404000, len 16384 ata0: unable to allocate interrupt device_attach: ata0 attach returned 6 It works fine with r271697 kernel (latest I have booting). I haven't yet tried bisecting. Hardware is a PowerMac G5 (last generation). - Justin [-- Attachment #2 --] [dcons connected] e 32, base 0xfa200000, size 21, memory disabled pcib8: allocated memory range (0xfa200000-0xfa3fffff) for rid 10 of pci1:2:15:0 gem0: <Apple Shasta GMAC Ethernet> mem 0xfa200000-0xfa3fffff at device 15.0 on pci8 pcib8: slot 15 INTA is routed to irq 4 ofw_pci mapdev: start fa200000, len 2097152 gem0: invalid MAC address device_attach: gem0 attach returned 6 pcib9: <OFW PCI-PCI bridge> at device 8.0 on pci1 pcib9: domain 1 pcib9: secondary bus 1 pcib9: subordinate bus 1 pcib9: memory decode 0x80000000-0x800fffff pci9: <OFW PCI bus> on pcib9 pci9: domain=1, physical bus=1 found-> vendor=0x106b, dev=0x004f, revid=0x00 domain=1, bus=1, slot=7, func=0 class=ff-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0200, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type Memory, range 32, base 0x80000000, size 19, enabled pcib9: allocated memory range (0x80000000-0x8007ffff) for rid 10 of pci1:1:7:0 found-> vendor=0x1033, dev=0x0035, revid=0x43 domain=1, bus=1, slot=11, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x01 (250 ns), maxlat=0x2a (10500 ns) intpin=a, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0x80082000, size 12, memory disabled pcib9: allocated memory range (0x80082000-0x80082fff) for rid 10 of pci1:1:11:0 found-> vendor=0x1033, dev=0x0035, revid=0x43 domain=1, bus=1, slot=11, func=1 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x01 (250 ns), maxlat=0x2a (10500 ns) intpin=b, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0x80081000, size 12, memory disabled pcib9: allocated memory range (0x80081000-0x80081fff) for rid 10 of pci1:1:11:1 found-> vendor=0x1033, dev=0x00e0, revid=0x04 domain=1, bus=1, slot=11, func=2 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0004, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x10 (4000 ns), maxlat=0x22 (8500 ns) intpin=c, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0x80080000, size 8, memory disabled pcib9: allocated memory range (0x80080000-0x800800ff) for rid 10 of pci1:1:11:2 macio0: <Shasta I/O Controller> mem 0x80000000-0x8007ffff at device 7.0 on pci9 ofw_pci mapdev: start 80000000, len 524288 macgpio0: <MacIO GPIO Controller> mem 0x50-0x8a on macio0 macgpio0: <gpio, smu-interrupt> gpio 13 irq 48 (no driver attached) macgpio0: <gpio, programmer-switch> gpio 12 irq 47 (no driver attached) macgpio0: <gpio, chip-fault> gpio 14 irq 49 (no driver attached) macgpio0: <gpio, slewing-done> gpio 56 irq 91 (no driver attached) macgpio0: <gpio, mlb-good> gpio 19 (no driver attached) macgpio0: <gpio, vdnap0> gpio 20 (no driver attached) macgpio0: <gpio, timebase-enable> gpio 38 irq 73 (no driver attached) macgpio0: <gpio, dig-hw-reset-c> gpio 9 (no driver attached) macgpio0: <gpio, codec-error-irq> gpio 50 irq 85 (no driver attached) macgpio0: <gpio, codec-clock-mux> gpio 49 (no driver attached) macgpio0: <gpio, linein-detect> gpio 42 irq 77 (no driver attached) scc0: <Zilog Z8530 dual channel SCC> mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 23,17,18,24,19,20 on macio0 scc0: resetting hardware uart0: <z8530, channel A> on scc0 uart0: fast interrupt uart1: <z8530, channel B> on scc0 uart1: fast interrupt scc0: fast interrupt iichb1: <Keywest I2C controller> mem 0x18000-0x18fff irq 27 on macio0 iichb1: Revision: A1 iicbus1: <OFW I2C bus> on iichb1 onyx0: <Texas Instruments PCM3052 Audio Codec> at addr 0x8c on iicbus1 iicbus1: <unknown card> at addr 0x24 pcm0: <Apple I2S Audio Controller> mem 0x10000-0x10fff,0x8000-0x80ff,0x8100-0x81ff irq 28,11,12,30,15,16 on macio0 ohci0: <NEC uPD 9210 USB controller> mem 0x80082000-0x80082fff irq 70 at device 11.0 on pci9 ofw_pci mapdev: start 80082000, len 4096 usbus0 on ohci0 ohci0: usbpf: Attached ohci1: <NEC uPD 9210 USB controller> mem 0x80081000-0x80081fff irq 70 at device 11.1 on pci9 ofw_pci mapdev: start 80081000, len 4096 usbus1 on ohci1 ohci1: usbpf: Attached ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0x80080000-0x800800ff irq 70 at device 11.2 on pci9 ofw_pci mapdev: start 80080000, len 256 usbus2: EHCI version 1.0 usbus2 on ehci0 ehci0: usbpf: Attached pcib10: <OFW PCI-PCI bridge> at device 9.0 on pci1 pcib10: domain 1 pcib10: secondary bus 3 pcib10: subordinate bus 3 pcib10: memory decode 0xfa400000-0xfa4fffff pci10: <OFW PCI bus> on pcib10 pci10: domain=1, physical bus=3 found-> vendor=0x1166, dev=0x0240, revid=0x00 domain=1, bus=3, slot=12, func=0 class=01-01-8f, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0220, cachelnsz=0 (dwords) lattimer=0x10 (480 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type I/O Port, range 32, base 0, size 3, port disabled map[14]: type I/O Port, range 32, base 0, size 2, port disabled map[18]: type I/O Port, range 32, base 0, size 3, port disabled map[1c]: type I/O Port, range 32, base 0, size 2, port disabled map[20]: type I/O Port, range 32, base 0, size 4, port disabled map[24]: type Memory, range 32, base 0xfa402000, size 13, enabled pcib10: allocated memory range (0xfa402000-0xfa403fff) for rid 24 of pci1:3:12:0 found-> vendor=0x106b, dev=0x0050, revid=0x00 domain=1, bus=3, slot=13, func=0 class=ff-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0004, statreg=0x8200, cachelnsz=16 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type Memory, range 32, base 0xfa404000, size 14, memory disabled pcib10: allocated memory range (0xfa404000-0xfa407fff) for rid 10 of pci1:3:13:0 found-> vendor=0x106b, dev=0x0052, revid=0x00 domain=1, bus=3, slot=14, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0290, cachelnsz=16 (dwords) lattimer=0xf8 (7440 ns), mingnt=0x0c (3000 ns), maxlat=0x18 (6000 ns) intpin=a, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xfa400000, size 12, memory disabled pcib10: allocated memory range (0xfa400000-0xfa400fff) for rid 10 of pci1:3:14:0 atapci0: <ServerWorks K2 SATA150 controller> mem 0xfa402000-0xfa403fff at device 12.0 on pci10 pcib1: failed to reserve resource for pcib10 pcib10: failed to allocate initial I/O port window (0-0xffffffff,0x10) atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). atapci0: unable to map interrupt device_attach: atapci0 attach returned 6 ata0: <Shasta Kauai ATA Controller> mem 0xfa404000-0xfa407fff at device 13.0 on pci10 ofw_pci mapdev: start fa404000, len 16384 ata0: unable to allocate interrupt device_attach: ata0 attach returned 6 fwohci0: vendor=106b, dev=52 fwohci0: vendor=106b, dev=52 fwohci0: <1394 Open Host Controller Interface> mem 0xfa400000-0xfa400fff irq 39 at device 14.0 on pci10 ofw_pci mapdev: start fa400000, len 4096 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:14:51:ff:fe:33:ca:b6 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 dcons_crom0: <dcons configuration ROM> on firewire0 dcons_crom0: bus_addr 0x1724000 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:14:51:33:ca:b6 fwe0: bpf attached fwe0: Ethernet address: 02:14:51:33:ca:b6 sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, non CYCLEMASTER mode smu0: <Apple System Management Unit> on ofwbus0 smu0: Fan: DRIVE BAY A INTAKE type: 0 smu0: Fan: BACKSIDE type: 0 smu0: Fan: CPU A INTAKE type: 0 smu0: Fan: CPU B INTAKE type: 0 smu0: Fan: CPU A EXHAUST type: 0 smu0: Fan: CPU B EXHAUST type: 0 smu0: Fan: EXPANSION SLOTS INTAKE type: 0 smu0: registered as a time-of-day clock (resolution 1000us, adjustment 0.000500000s) iichb2: <SMU I2C controller> on smu0 iicbus2: <OFW I2C bus> on iichb2 smusat0: <SMU Satellite Sensors> at addr 0xb0 on iicbus2 iicbus2: <unknown card> at addr 0xd4 iichb3: <SMU I2C controller> on smu0 iicbus3: <OFW I2C bus> on iichb3 procfs registered Timecounter "timebase" frequency 33333333 Hz quality 0 Event timer "decrementer" frequency 33333333 Hz quality 1000 Timecounters tick every 1.000 msec vlan: firewire0: 3 nodes, maxhop <= 2 cable IRM irm(2) initialized, using hash tables with chaining tcp_init: net.inet.tcp.tcbhashsize auto tuned to 131072 lo0: bpf attached max66900: 2 sensors detected. max66900: Sensors max66900: Location : BACKSIDE ID: 6 max66900: Location : KODIAK DIODE ID: 7 max66901: 2 sensors detected. max66901: Sensors max66901: Location : TUNNEL ID: 1 max66901: Location : TUNNEL HEATSINK ID: 2 bge1: link state changed to UP [dconschat exiting...]help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140925204052.6f4c1d60>
