Sending DHCP Discover packet from interface bge0 (a0:42:3f:28:47:1d) gtask: 0xc00000000326ca90 ta_flags=0 ta_priority=0 ta_func=0 ta_context=0 panic: queue == NULL cpuid = 0 time = 2 KDB: stack backtrace: 0xe000000000007ec0: at .kdb_backtrace+0x5c 0xe000000000007ff0: at .vpanic+0x1b4 0xe0000000000080b0: at .panic+0x38 0xe000000000008140: at .grouptaskqueue_enqueue+0x48 0xe0000000000081d0: at .inm_release_list_deferred+0xb8 0xe000000000008250: at .inm_release_deferred+0xa0 0xe0000000000082f0: at .in_leavegroup_locked+0x150 0xe0000000000083b0: at .in_leavegroup+0x54 0xe000000000008450: at .in_scrubprefix+0x77c 0xe000000000008510: at .in_control+0x760 0xe000000000008680: at .ifioctl+0x2f84 0xe000000000008830: at .bootpc_init+0x900 0xe000000000008a10: at .mi_startup+0x11c 0xe000000000008aa0: at .__start+0xc4 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 db>
Full boot console messages: KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 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 12.0-CURRENT #1 r336855M: Sun Jul 29 21:42:47 UTC 2018 sbruno@admin.nyi.freebsd.org:/var/tmp/home/sbruno/fbsd_head/powerpc.powerpc64/sys/GENERIC64 powerpc gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. cpu0: IBM POWER8 revision 2.0, 3000.00 MHz cpu0: Features dc007182<PPC32,PPC64,ALTIVEC,FPU,MMU,SMT,ISNOOP,ARCH205,ARCH206,VSX,TRUELE> cpu0: Features2 ef000000<ARCH207,HTM,DSCR,ISEL,TAR,VCRYPTO,HTMNOSC> real memory = 16987684864 (16200 MB) available KVA = 34359590911 (32767 MB) Physical memory chunk(s): 0x0000000000003000 - 0x0000000000002fff, 0 bytes (0 pages) 0x0000000000025000 - 0x0000000001bfffff, 29208576 bytes (7131 pages) 0x000000003d441000 - 0x000000003fffffff, 45871104 bytes (11199 pages) 0x0000000050000000 - 0x000000007ffeffff, 805240832 bytes (196592 pages) 0x000000007fff7000 - 0x00000003e6b88fff, 14608310272 bytes (3566482 pages) 0x00000003fdb00000 - 0x00000003ffffffff, 38797312 bytes (9472 pages) 0x0000000003423000 - 0x000000002fffffff, 750637056 bytes (183261 pages) avail memory = 16208437248 (15457 MB) FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs cpu0: dev=60 (BSP) cpu1: dev=61 cpu2: dev=62 cpu3: dev=63 cpu4: dev=64 cpu5: dev=65 cpu6: dev=66 cpu7: dev=67 cpu8: dev=8 cpu9: dev=9 cpu10: dev=a cpu11: dev=b cpu12: dev=c cpu13: dev=d cpu14: dev=e cpu15: dev=f cpu16: dev=10 cpu17: dev=11 cpu18: dev=12 cpu19: dev=13 cpu20: dev=14 cpu21: dev=15 cpu22: dev=16 cpu23: dev=17 cpu24: dev=20 cpu25: dev=21 cpu26: dev=22 cpu27: dev=23 cpu28: dev=24 cpu29: dev=25 cpu30: dev=26 cpu31: dev=27 arc4random: no preloaded entropy cache VIMAGE (virtualized network stack) enabled ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 ULE: setup cpu 4 ULE: setup cpu 5 ULE: setup cpu 6 ULE: setup cpu 7 ULE: setup cpu 8 ULE: setup cpu 9 ULE: setup cpu 10 ULE: setup cpu 11 ULE: setup cpu 12 ULE: setup cpu 13 ULE: setup cpu 14 ULE: setup cpu 15 ULE: setup cpu 16 ULE: setup cpu 17 ULE: setup cpu 18 ULE: setup cpu 19 ULE: setup cpu 20 ULE: setup cpu 21 ULE: setup cpu 22 ULE: setup cpu 23 ULE: setup cpu 24 ULE: setup cpu 25 ULE: setup cpu 26 ULE: setup cpu 27 ULE: setup cpu 28 ULE: setup cpu 29 ULE: setup cpu 30 ULE: setup cpu 31 random: entropy device external interface firmware: 't6fw_cfg' version 0: 6024 bytes loaded at 0xc000000002c5e37c firmware: 't6fw_cfg_uwire' version 0: 21901 bytes loaded at 0xc000000002c5fb04 firmware: 't6fw' version 0: 698368 bytes loaded at 0xc000000002c65091 firmware: 't4fw_cfg' version 0: 4626 bytes loaded at 0xc000000002b2a9f4 firmware: 't4fw_cfg_uwire' version 0: 21525 bytes loaded at 0xc000000002b2bc06 firmware: 't4fw' version 0: 553984 bytes loaded at 0xc000000002b3101b firmware: 't5fw_cfg' version 0: 6006 bytes loaded at 0xc000000002bb8438 firmware: 't5fw_cfg_uwire' version 0: 21935 bytes loaded at 0xc000000002bb9bae firmware: 't5fw' version 0: 651776 bytes loaded at 0xc000000002bbf15d snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024] feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25 firmware: 'isp_1040' version 1: 22944 bytes loaded at 0xc00000000293ce90 firmware: 'isp_1080' version 1: 31350 bytes loaded at 0xc000000002942830 firmware: 'isp_12160' version 1: 28050 bytes loaded at 0xc00000000294a2a6 firmware: 'isp_2100' version 1: 76770 bytes loaded at 0xc000000002951038 firmware: 'isp_2200' version 1: 84566 bytes loaded at 0xc000000002963c1a firmware: 'isp_2300' version 1: 125252 bytes loaded at 0xc000000002978670 firmware: 'isp_2322' version 1: 120814 bytes loaded at 0xc000000002996fb4 firmware: 'isp_2400' version 1: 204396 bytes loaded at 0xc0000000029b831c firmware: 'isp_2500' version 1: 218712 bytes loaded at 0xc0000000029f8f70 mem: <memory> null: <full device, null device, zero device> nfslock: pseudo-device openfirm: <Open Firmware control device> kbd0 at kbdmux0 random: harvesting attach, 8 bytes (4 bits) from nexus0 ofwbus0: <Open Firmware Device Tree> on nexus0 pcib0: <OPAL Host-PCI bridge> mem 0x3fffe40000000-0x3fffe40000fff on ofwbus0 pcib0: OPAL ID 0x2 nexus mapdev: start 3fffe40000000, len 4096 pcib0: Mapping 0-0x400000000 for DMA pcib0: Supports 2040 MSIs starting at 2048 random: harvesting attach, 8 bytes (4 bits) from pcib0 pcib1: <OPAL Host-PCI bridge> mem 0x3fffe40100000-0x3fffe40100fff on ofwbus0 pcib1: OPAL ID 0x1 nexus mapdev: start 3fffe40100000, len 4096 pcib1: Mapping 0-0x400000000 for DMA pcib1: Supports 2040 MSIs starting at 4096 random: harvesting attach, 8 bytes (4 bits) from pcib1 pcib2: <OPAL Host-PCI bridge> mem 0x3fffe40200000-0x3fffe40200fff on ofwbus0 pcib2: OPAL ID 0 nexus mapdev: start 3fffe40200000, len 4096 pcib2: Mapping 0-0x400000000 for DMA pcib2: Supports 2040 MSIs starting at 6144 random: harvesting attach, 8 bytes (4 bits) from pcib2 random: harvesting attach, 8 bytes (4 bits) from ofwbus0 xicp0: <External Interrupt Presentation Controller> mem 0x3ffff80008000-0x3ffff80008fff,0x3ffff80009000-0x3ffff80009fff,0x3ffff8000a000-0x3ffff8000afff,0x3ffff8000b000-0x3ffff8000bfff,0x3ffff8000c000-0x3ffff8000cfff,0x3ffff8000d000-0x3ffff8000dfff,0x3ffff8000e000-0x3ffff8000efff,0x3ffff8000f000-0x3ffff8000ffff on ofwbus0 xicp0: Handling CPUs 8-15 nexus mapdev: start 3ffff80008000, len 4096 nexus mapdev: start 3ffff80009000, len 4096 nexus mapdev: start 3ffff8000a000, len 4096 nexus mapdev: start 3ffff8000b000, len 4096 nexus mapdev: start 3ffff8000c000, len 4096 nexus mapdev: start 3ffff8000d000, len 4096 nexus mapdev: start 3ffff8000e000, len 4096 nexus mapdev: start 3ffff8000f000, len 4096 random: harvesting attach, 8 bytes (4 bits) from xicp0 xicp1: <External Interrupt Presentation Controller> mem 0x3ffff80010000-0x3ffff80010fff,0x3ffff80011000-0x3ffff80011fff,0x3ffff80012000-0x3ffff80012fff,0x3ffff80013000-0x3ffff80013fff,0x3ffff80014000-0x3ffff80014fff,0x3ffff80015000-0x3ffff80015fff,0x3ffff80016000-0x3ffff80016fff,0x3ffff80017000-0x3ffff80017fff on ofwbus0 xicp1: Handling CPUs 16-23 nexus mapdev: start 3ffff80010000, len 4096 nexus mapdev: start 3ffff80011000, len 4096 nexus mapdev: start 3ffff80012000, len 4096 nexus mapdev: start 3ffff80013000, len 4096 nexus mapdev: start 3ffff80014000, len 4096 nexus mapdev: start 3ffff80015000, len 4096 nexus mapdev: start 3ffff80016000, len 4096 nexus mapdev: start 3ffff80017000, len 4096 random: harvesting attach, 8 bytes (4 bits) from xicp1 xicp2: <External Interrupt Presentation Controller> mem 0x3ffff80020000-0x3ffff80020fff,0x3ffff80021000-0x3ffff80021fff,0x3ffff80022000-0x3ffff80022fff,0x3ffff80023000-0x3ffff80023fff,0x3ffff80024000-0x3ffff80024fff,0x3ffff80025000-0x3ffff80025fff,0x3ffff80026000-0x3ffff80026fff,0x3ffff80027000-0x3ffff80027fff on ofwbus0 xicp2: Handling CPUs 32-39 nexus mapdev: start 3ffff80020000, len 4096 nexus mapdev: start 3ffff80021000, len 4096 nexus mapdev: start 3ffff80022000, len 4096 nexus mapdev: start 3ffff80023000, len 4096 nexus mapdev: start 3ffff80024000, len 4096 nexus mapdev: start 3ffff80025000, len 4096 nexus mapdev: start 3ffff80026000, len 4096 nexus mapdev: start 3ffff80027000, len 4096 random: harvesting attach, 8 bytes (4 bits) from xicp2 xicp3: <External Interrupt Presentation Controller> mem 0x3ffff80060000-0x3ffff80060fff,0x3ffff80061000-0x3ffff80061fff,0x3ffff80062000-0x3ffff80062fff,0x3ffff80063000-0x3ffff80063fff,0x3ffff80064000-0x3ffff80064fff,0x3ffff80065000-0x3ffff80065fff,0x3ffff80066000-0x3ffff80066fff,0x3ffff80067000-0x3ffff80067fff on ofwbus0 xicp3: Handling CPUs 96-103 nexus mapdev: start 3ffff80060000, len 4096 nexus mapdev: start 3ffff80061000, len 4096 nexus mapdev: start 3ffff80062000, len 4096 nexus mapdev: start 3ffff80063000, len 4096 nexus mapdev: start 3ffff80064000, len 4096 nexus mapdev: start 3ffff80065000, len 4096 nexus mapdev: start 3ffff80066000, len 4096 nexus mapdev: start 3ffff80067000, len 4096 random: harvesting attach, 8 bytes (4 bits) from xicp3 xics0: <External Interrupt Source Controller> on ofwbus0 random: harvesting attach, 8 bytes (4 bits) from xics0 cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 random: harvesting attach, 8 bytes (4 bits) from cpu0 cpu1: <Open Firmware CPU> on cpulist0 random: harvesting attach, 8 bytes (4 bits) from cpu1 cpu2: <Open Firmware CPU> on cpulist0 random: harvesting attach, 8 bytes (4 bits) from cpu2 cpu3: <Open Firmware CPU> on cpulist0 random: harvesting attach, 8 bytes (4 bits) from cpu3 random: harvesting attach, 8 bytes (4 bits) from cpulist0 ofwbus0: <psi@3fffe80000000> mem 0x3fffe80000000-0x3ffff7fffffff irq 16 compat ibm,psi (no driver attached) powernv_centaur0: <centaur> mem 0x3e02000000000-0x3e027ffffffff on ofwbus0 random: harvesting attach, 8 bytes (4 bits) from powernv_centaur0 powernv_xscom0: <xscom> mem 0x3fc0000000000-0x3fc07ffffffff on ofwbus0 random: harvesting attach, 8 bytes (4 bits) from powernv_xscom0 opal0: <OPAL Abstraction Firmware> irq 16,17,18,19,20,21,8190,8191,6142,6143,4094,4095 on ofwbus0 opal0: registered as a time-of-day clock, resolution 0.002000s ofwbus0: no default resources for rid = 12, type = 1 opalcons0: <OPAL Consoles> on opal0 uart0: <OPAL Serial Port> on opalcons0 uart0: console random: harvesting attach, 8 bytes (4 bits) from uart0 random: harvesting attach, 8 bytes (4 bits) from opalcons0 random: harvesting attach, 8 bytes (4 bits) from opal0 ofwbus0: <hwrng@3ffff40000000> mem 0x3ffff40000000-0x3ffff40000fff compat ibm,power-rng (no driver attached) pci0: <OFW PCI bus> on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x1014, dev=0x03dc, revid=0x00 domain=0, bus=0, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0146, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 3 supports D0 D3 current D0 pcib3: <OFW PCI-PCI bridge> at device 0.0 on pci0 pcib3: domain 0 pcib3: secondary bus 1 pcib3: subordinate bus 1 pci3: <OFW PCI bus> on pcib3 pci3: domain=0, physical bus=1 random: harvesting attach, 8 bytes (4 bits) from pci3 random: harvesting attach, 8 bytes (4 bits) from pcib3 random: harvesting attach, 8 bytes (4 bits) from pci0 pci1: <OFW PCI bus> on pcib1 pci1: domain=1, physical bus=0 found-> vendor=0x1014, dev=0x03dc, revid=0x00 domain=1, bus=0, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 3 supports D0 D3 current D0 pcib4: <OFW PCI-PCI bridge> at device 0.0 on pci1 pcib4: domain 1 pcib4: secondary bus 1 pcib4: subordinate bus 7 pcib4: memory decode 0x80000000-0x82ffffff pcib4: prefetched decode 0x3b1010000000-0x3b101fffffff pci4: <OFW PCI bus> on pcib4 pci4: domain=1, physical bus=1 found-> vendor=0x10b5, dev=0x8718, revid=0xaa domain=1, bus=1, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit, vector masks map[10]: type Memory, range 32, base rx82800000, size 18, enabled pcib4: allocated memory range (0x82800000-0x8283ffff) for rid 10 of pci1:1:0:0 pcib5: <OFW PCI-PCI bridge> mem 0x82800000-0x8283ffff irq 6136 at device 0.0 on pci4 pcib4: allocated memory range (0x80000000-0x827fffff) for rid 20 of pcib5 pcib4: allocated prefetch range (0x3b1010000000-0x3b101fffffff) for rid 24 of pcib5 pcib5: domain 1 pcib5: secondary bus 2 pcib5: subordinate bus 7 pcib5: memory decode 0x80000000-0x827fffff pcib5: prefetched decode 0x3b1010000000-0x3b101fffffff pci5: <OFW PCI bus> on pcib5 pci5: domain=1, physical bus=2 found-> vendor=0x10b5, dev=0x8718, revid=0xaa domain=1, bus=2, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit, vector masks found-> vendor=0x10b5, dev=0x8718, revid=0xaa domain=1, bus=2, slot=2, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit, vector masks found-> vendor=0x10b5, dev=0x8718, revid=0xaa domain=1, bus=2, slot=3, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit, vector masks found-> vendor=0x10b5, dev=0x8718, revid=0xaa domain=1, bus=2, slot=4, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit, vector masks pcib6: <OFW PCI-PCI bridge> irq 6137 at device 1.0 on pci5 pcib5: allocated memory range (0x80000000-0x817fffff) for rid 20 of pcib6 pcib6: domain 1 pcib6: secondary bus 3 pcib6: subordinate bus 4 pcib6: memory decode 0x80000000-0x817fffff pci6: <OFW PCI bus> on pcib6 pci6: domain=1, physical bus=3 found-> vendor=0x1a03, dev=0x1150, revid=0x03 domain=1, bus=3, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 1 message, 64 bit pcib7: <OFW PCI-PCI bridge> at device 0.0 on pci6 pcib6: allocated memory range (0x80000000-0x817fffff) for rid 20 of pcib7 pcib7: domain 1 pcib7: secondary bus 4 pcib7: subordinate bus 4 pcib7: memory decode 0x80000000-0x817fffff pci7: <OFW PCI bus> on pcib7 pci7: domain=1, physical bus=4 found-> vendor=0x1a03, dev=0x2000, revid=0x30 domain=1, bus=4, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0143, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 4 messages, 64 bit map[10]: type Memory, range 32, base rx80000000, size 24, enabled pcib7: allocated memory range (0x80000000-0x80ffffff) for rid 10 of pci1:4:0:0 map[14]: type Memory, range 32, base rx81000000, size 17, enabled pcib7: allocated memory range (0x81000000-0x8101ffff) for rid 14 of pci1:4:0:0 map[18]: type I/O Port, range 32, base r, size 7, enabled vgapci0: <VGA-compatible display> mem 0x80000000-0x80ffffff,0x81000000-0x8101ffff irq 6137 at device 0.0 on pci7 random: harvesting attach, 8 bytes (4 bits) from vgapci0 random: harvesting attach, 8 bytes (4 bits) from pci7 random: harvesting attach, 8 bytes (4 bits) from pcib7 random: harvesting attach, 8 bytes (4 bits) from pci6 random: harvesting attach, 8 bytes (4 bits) from pcib6 pcib8: <OFW PCI-PCI bridge> irq 6138 at device 2.0 on pci5 pcib5: allocated memory range (0x81800000-0x81ffffff) for rid 20 of pcib8 pcib8: domain 1 pcib8: secondary bus 5 pcib8: subordinate bus 5 pcib8: memory decode 0x81800000-0x81ffffff pci8: <OFW PCI bus> on pcib8 pci8: domain=1, physical bus=5 found-> vendor=0x104c, dev=0x8241, revid=0x02 domain=1, bus=5, slot=0, func=0 class=0c-03-30, hdrtype=0x00, mfdev=0 cmdreg=0x0142, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 8 messages, 64 bit MSI-X supports 8 messages in map 0x18 map[10]: type Memory, range 64, base rx81800000, size 16, enabled pcib8: allocated memory range (0x81800000-0x8180ffff) for rid 10 of pci1:5:0:0 map[18]: type Memory, range 64, base rx81810000, size 13, enabled pcib8: allocated memory range (0x81810000-0x81811fff) for rid 18 of pci1:5:0:0 xhci0: <XHCI (generic) USB 3.0 controller> mem 0x81800000-0x8180ffff,0x81810000-0x81811fff irq 6138 at device 0.0 on pci8 ofw_pci mapdev: start 3fe081800000, len 65536 xhci0: 64 bytes context size, 64-bit DMA ofw_pci mapdev: start 3fe081810000, len 8192 xhci0: attempting to allocate 1 MSI-X vectors (8 supported) xhci0: using IRQ 33562616 for MSI-X xhci0: MSI-X enabled usbus0 on xhci0 xhci0: usbpf: Attached random: harvesting attach, 8 bytes (4 bits) from usbus0 random: harvesting attach, 8 bytes (4 bits) from xhci0 random: harvesting attach, 8 bytes (4 bits) from pci8 random: harvesting attach, 8 bytes (4 bits) from pcib8 pcib9: <OFW PCI-PCI bridge> irq 6139 at device 3.0 on pci5 pcib5: allocated prefetch range (0x3b1010000000-0x3b101fffffff) for rid 24 of pcib9 pcib9: domain 1 pcib9: secondary bus 6 pcib9: subordinate bus 6 pcib9: prefetched decode 0x3b1010000000-0x3b101fffffff pci9: <OFW PCI bus> on pcib9 pci9: domain=1, physical bus=6 found-> vendor=0x14e4, dev=0x1656, revid=0x10 domain=1, bus=6, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0142, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit MSI-X supports 17 messages in map 0x20 map[10]: type Prefetchable Memory, range 64, base rx3b1010000000, size 16, enabled pcib9: allocated prefetch range (0x3b1010000000-0x3b101000ffff) for rid 10 of pci1:6:0:0 map[18]: type Prefetchable Memory, range 64, base rx3b1010010000, size 16, enabled pcib9: allocated prefetch range (0x3b1010010000-0x3b101001ffff) for rid 18 of pci1:6:0:0 map[20]: type Prefetchable Memory, range 64, base rx3b1010020000, size 16, enabled pcib9: allocated prefetch range (0x3b1010020000-0x3b101002ffff) for rid 20 of pci1:6:0:0 found-> vendor=0x14e4, dev=0x1656, revid=0x10 domain=1, bus=6, slot=0, func=1 class=02-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0142, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit MSI-X supports 17 messages in map 0x20 map[10]: type Prefetchable Memory, range 64, base rx3b1010030000, size 16, enabled pcib9: allocated prefetch range (0x3b1010030000-0x3b101003ffff) for rid 10 of pci1:6:0:1 map[18]: type Prefetchable Memory, range 64, base rx3b1010040000, size 16, enabled pcib9: allocated prefetch range (0x3b1010040000-0x3b101004ffff) for rid 18 of pci1:6:0:1 map[20]: type Prefetchable Memory, range 64, base rx3b1010050000, size 16, enabled pcib9: allocated prefetch range (0x3b1010050000-0x3b101005ffff) for rid 20 of pci1:6:0:1 bge0: <Broadcom BCM5717 B0, ASIC rev. 0x5717100> mem 0x3b1010000000-0x3b101000ffff,0x3b1010010000-0x3b101001ffff,0x3b1010020000-0x3b101002ffff irq 6139 at device 0.0 on pci9 ofw_pci mapdev: start 3b1010000000, len 65536 ofw_pci mapdev: start 3b1010010000, len 65536 bge0: APE FW version: NCSI v1.2.45.0 bge0: attempting to allocate 1 MSI vectors (8 supported) bge0: using IRQ 33562617 for MSI bge0: CHIP ID 0x05717100; ASIC REV 0x5717; CHIP REV 0x57171; PCI-E bge0: Disabling fastboot T-FDX-master, auto, auto-flow random: harvesting attach, 8 bytes (4 bits) from brgphy0 random: harvesting attach, 8 bytes (4 bits) from miibus0 bge0: Using defaults for TSO: 65518/35/2048 bge0: bpf attached bge0: Ethernet address: a0:42:3f:28:47:1d random: harvesting attach, 8 bytes (4 bits) from bge0 bge1: <Broadcom BCM5717 B0, ASIC rev. 0x5717100> mem 0x3b1010030000-0x3b101003ffff,0x3b1010040000-0x3b101004ffff,0x3b1010050000-0x3b101005ffff irq 6136 at device 0.1 on pci9 ofw_pci mapdev: start 3b1010030000, len 65536 ofw_pci mapdev: start 3b1010040000, len 65536 bge1: APE FW version: NCSI v1.2.45.0 bge1: attempting to allocate 1 MSI vectors (8 supported) bge1: using IRQ 33562618 for MSI bge1: CHIP ID 0x05717100; ASIC REV 0x5717; CHIP REV 0x57171; PCI-E bge1: Disabling fastboot miibus1: <MII bus> on bge1 brgphy1: <BCM5717C 1000BASE-T media interface> PHY 2 on miibus1 brgphy1: OUI 0x001be9, model 0x0020, rev. 0 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow random: harvesting attach, 8 bytes (4 bits) from brgphy1 random: harvesting attach, 8 bytes (4 bits) from miibus1 bge1: Using defaults for TSO: 65518/35/2048 bge1: bpf attached bge1: Ethernet address: a0:42:3f:28:47:1e random: harvesting attach, 8 bytes (4 bits) from bge1 random: harvesting attach, 8 bytes (4 bits) from pci9 random: harvesting attach, 8 bytes (4 bits) from pcib9 pcib10: <OFW PCI-PCI bridge> irq 6136 at device 4.0 on pci5 pcib5: allocated memory range (0x82000000-0x827fffff) for rid 20 of pcib10 pcib10: domain 1 pcib10: secondary bus 7 pcib10: subordinate bus 7 pcib10: memory decode 0x82000000-0x827fffff pci10: <OFW PCI bus> on pcib10 pci10: domain=1, physical bus=7 found-> vendor=0x1b4b, dev=0x9235, revid=0x11 domain=1, bus=7, slot=0, func=0 class=01-06-01, hdrtype=0x00, mfdev=0 cmdreg=0x0143, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 3 supports D0 D3 current D0 MSI supports 1 message map[10]: type I/O Port, range 32, base rx8000, size 3, enabled pcib1: failed to reserve resource for pcib4 pcib4: failed to allocate initial I/O port window (0x8000-0x8fff,0x1000) pcib5: failed to allocate initial I/O port window (0x8000-0x8fff,0x1000) pcib10: failed to allocate initial I/O port window (0x8000-0x8007,0x8) pci10: pci1:7:0:0 bar 0x10 failed to allocate map[14]: type I/O Port, range 32, base rx8040, size 2, port disabled pcib1: failed to reserve resource for pcib4 pcib4: failed to allocate initial I/O port window (0x8000-0x8fff,0x1000) pcib5: failed to allocate initial I/O port window (0x8000-0x8fff,0x1000) pcib10: failed to allocate initial I/O port window (0x8040-0x8043,0x4) pci10: pci1:7:0:0 bar 0x14 failed to allocate map[18]: type I/O Port, range 32, base rx8100, size 3, port disabled pcib1: failed to reserve resource for pcib4 pcib4: failed to allocate initial I/O port window (0x8000-0x8fff,0x1000) pcib5: failed to allocate initial I/O port window (0x8000-0x8fff,0x1000) pcib10: failed to allocate initial I/O port window (0x81 pcib10: failed to allocate initial I/O port window (0x8140-0x8143,0x4) pci10: pci1:7:0:0 bar 0x1c failed to allocate map[20]: type I/O Port, range 32, base rx800000, size 5, port disabled pcib1: failed to reserve resource for pcib4 pcib4: failed to allocate initial I/O port window (0x800000-0x800fff,0x1000) pcib5: failed to allocate initial I/O port window (0x800000-0x800fff,0x1000) pcib10: failed to allocate initial I/O port window (0x800000-0x80001f,0x20) pci10: pci1:7:0:0 bar 0x20 failed to allocate map[24]: type Memory, range 32, base rx82010000, size 11, enabled pcib10: allocated memory range (0x82010000-0x820107ff) for rid 24 of pci1:7:0:0 ahci0: <Marvell 88SE9235 AHCI SATA controller> mem 0x82010000-0x820107ff irq 6136 at device 0.0 on pci10 ofw_pci mapdev: start 3fe082010000, len 2048 ahci0: attempting to allocate 1 MSI vectors (1 supported) ahci0: using IRQ 33562619 for MSI ahci0: AHCI v1.00 with 4 6Gbps ports, Port Multiplier supported with FBS ahci0: Caps: 64bit NCQ SNTF AL 6Gbps PM FBS PMD SSC PSC 32cmd eSATA 4ports ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich0: Caps: CPD ESP FBSCP random: harvesting attach, 8 bytes (4 bits) from ahcich0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich1: Caps: CPD ESP FBSCP random: harvesting attach, 8 bytes (4 bits) from ahcich1 ahcich2: <AHCI channel> at channel 2 on ahci0 ahcich2: Caps: CPD ESP FBSCP random: harvesting attach, 8 bytes (4 bits) from ahcich2 ahcich3: <AHCI channel> at channel 3 on ahci0 ahcich3: Caps: CPD ESP FBSCP random: harvesting attach, 8 bytes (4 bits) from ahcich3 random: harvesting attach, 8 bytes (4 bits) from ahci0 random: harvesting attach, 8 bytes (4 bits) from pci10 random: harvesting attach, 8 bytes (4 bits) from pcib10 random: harvesting attach, 8 bytes (4 bits) from pci5 random: harvesting attach, 8 bytes (4 bits) from pcib5 random: harvesting at Timecounters tick every 1.000 msec lo0: bpf attached vlan: initialized, using hash tables with chaining tcp_init: net.inet.tcp.tcbhashsize auto tuned to 131072 usbus0: 5.0Gbps Super Speed USB v3.0 ugen0.1: <0x104c XHCI root HUB> at usbus0 uhub0: <0x104c XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ahcich0: AHCI reset... ahcich0: SATA connect time=100us status=00000133 ahcich0: AHCI reset: device found ahcich0: AHCI reset: device ready after 0ms ahcich1: AHCI reset... ahcich1: SATA connect time=600us status=00000113 ahcich1: AHCI reset: device found ahcich2: AHCI reset... ahcich1: AHCI reset: device ready after 100ms ahcich2: SATA connect timeout time=100000us status=00000100 ahcich2: AHCI reset: device not found ahcich3: AHCI reset... ahcich3: SATA connect time=1600us status=00000113 ahcich3: AHCI reset: device found (aprobe1:ahcich1:0:0:0): Spinning up device (aprobe1:ahcich1:0:0:0): Spin-up done ahcich3: AHCI reset: device ready after 100ms ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <WDC WD5003ABYZ-011FA0 01.01S03> ATA8-ACS SATA 3.x device ada0: Serial Number WD-WMAYP0DFN4H3 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors) GEOM: new disk ada0 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <Hitachi HDS722580VLSA80 V32BC6EA> ATA-6 SATA 1.x device ada1: Serial Number VN6B9JCHC4W64C ada1: 150.000MB/s transfers ( bge1: Disabling fastboot Sending DHCP Discover packet from interface bge0 (a0:42:3f:28:47:1d) gtask: 0xc00000000326ca90 ta_flags=0 ta_priority=0 ta_func=0 ta_context=0 panic: queue == NULL cpuid = 0 time = 2 KDB: stack backtrace: 0xe000000000007ec0: at .kdb_backtrace+0x5c 0xe000000000007ff0: at .vpanic+0x1b4 0xe0000000000080b0: at .panic+0x38 0xe000000000008140: at .grouptaskqueue_enqueue+0x48 0xe0000000000081d0: at .inm_release_list_deferred+0xb8 0xe000000000008250: at .inm_release_deferred+0xa0 0xe0000000000082f0: at .in_leavegroup_locked+0x150 0xe0000000000083b0: at .in_leavegroup+0x54 0xe000000000008450: at .in_scrubprefix+0x77c 0xe000000000008510: at .in_control+0x760 0xe000000000008680: at .ifioctl+0x2f84 0xe000000000008830: at .bootpc_init+0x900 0xe000000000008a10: at .mi_startup+0x11c 0xe000000000008aa0: at .__start+0xc4 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 db>
I was able to try one patch created by Leandro earlier today and, with his patch, I am able to pass this part. ums0: <Mouse Interface> on usbus0 ums0: 3 buttons and [Z] coordinates ID=0 Sending DHCP Request packet from interface bge0 (98:be:94:05:2c:4c) Received DHCP Ack packet on bge0 from 9.8.234.81 (accepted) (got root path) DHCP timeout for interface bge1 DHCP timeout for interface bge2 DHCP timeout for interface bge3 bge0 at 9.8.234.221 server 9.8.234.81 subnet mask 255.255.255.0 rootfs 9.8.234.81:/var/nfs/ufs Adjusted interface bge0 Shutdown interface bge1 Shutdown interface bge2 Shutdown interface bge3 Trying to mount root from nfs: []... NFS ROOT: 9.8.234.81:/var/nfs/ufs .. Later it crashes on a different topic, which seems to be related to the file system. I am not sure if the problem is related to my rootfs being buggy somehow.. ..... SMP: AP CPU #36 launched panic: invalid bcd 248 cpuid = 15 time = 1533662783 KDB: stack backtrace: 0xe000000075f80f70: at .kdb_backtrace+0x5c 0xe000000075f810a0: at .vpanic+0x1b4 0xe000000075f81160: at .kassert_panic+0xf8 0xe000000075f81200: at .opal_check+0x19d8 0xe000000075f812a0: at .opal_check+0x1b9c 0xe000000075f81380: at .clock_schedule+0x184 0xe000000075f81420: at .inittodr+0x24 0xe000000075f814b0: at .vfs_mountroot+0x1254 0xe000000075f81740: at .sysinit_add+0x3e8 0xe000000075f81850: at .fork_exit+0xd0 0xe000000075f818f0: at .fork_trampoline+0x10 0xe000000075f81920: at -0x4 KDB: enter: panic [ thread pid 1 tid 100002 ] Stopped at .kdb_enter+0x60: ld r2, r1, 0x28
Created attachment 195984 [details] Full boot log The full boot log.
(In reply to Breno Leitao from comment #2) If you have the time, can you attach the patch for review or a link to phabricator so I can take a look at it?
Sean, Leandro's fix is not final and you can find the initial version at https://people.freebsd.org/~luporl/bootp.patch I also fixed the bcd2bin issue. The code is at review at this moment. https://reviews.freebsd.org/D16617
(In reply to Breno Leitao from comment #5) Wow, ok we're in business on these power8 machines. I can netboot into multiuser and start poking around to figure out how we want to set these up for packages and reference jails. FreeBSD 12.0-CURRENT FreeBSD 12.0-CURRENT #8 r337439M: Tue Aug 7 22:57:29 UTC 2018 sbruno@admin.nyi.freebsd.org:/var/tmp/home/sbruno/fbsd_head/powerpc.powerpc64/sys/GENERIC64 powerpc root@:~ # df -k Filesystem 1024-blocks Used Avail Capacity Mounted on 10.0.7.1:/pxeroot/powerpc64/ 1053915802 66661 1053849140 0% / devfs 1 1 0 100% /dev /dev/md0 31260 352 28408 1% /var /dev/md1 19356 24 17784 0% /tmp root@:~ # camcontrol devlist <WDC WD5003ABYZ-011FA0 01.01S03> at scbus0 target 0 lun 0 (pass0,ada0) <Hitachi HDS722580VLSA80 V32BC6EA> at scbus1 target 0 lun 0 (pass1,ada1) <Maxtor 7Y250M0 YAR51HW0> at scbus3 target 0 lun 0 (pass2,ada2) <AMI Virtual CDROM0 1.00> at scbus4 target 0 lun 0 (cd0,pass3) <AMI Virtual Floppy0 1.00> at scbus5 target 0 lun 0 (da0,pass4) <AMI Virtual HDisk0 1.00> at scbus6 target 0 lun 0 (da1,pass5) root@:~ # gpart show => 34 976773101 ada0 GPT (466G) 34 2014 - free - (1.0M) 2048 14336 1 efi (7.0M) 16384 937150464 2 linux-data (447G) 937166848 39604224 3 linux-swap (19G) 976771072 2063 - free - (1.0M) => 34 976773101 diskid/DISK-WD-WMAYP0DFN4H3 GPT (466G) 34 2014 - free - (1.0M) 2048 14336 1 efi (7.0M) 16384 937150464 2 linux-data (447G) 937166848 39604224 3 linux-swap (19G) 976771072 2063 - free - (1.0M) => 40 490234672 ada2 GPT (234G) 40 20971520 1 freebsd-swap (10G) 20971560 469263152 2 freebsd-zfs (224G) => 40 490234672 diskid/DISK-Y69ERGYE GPT (234G) 40 20971520 1 freebsd-swap (10G) 20971560 469263152 2 freebsd-zfs (224G)
I've improved the patch a bit and submitted it for review: https://reviews.freebsd.org/D16633. I tested it with QEMU (pseries POWER8) and was able to mount the rootfs from NFS without issues.
A commit references this bug: Author: luporl Date: Thu Aug 9 14:04:52 UTC 2018 New revision: 337537 URL: https://svnweb.freebsd.org/changeset/base/337537 Log: [ppc] Fix kernel panic when using BOOTP_NFSROOT On PowerPC (and possibly other architectures), that doesn't use EARLY_AP_STARTUP, the config task queue may be used initialized. This was observed while trying to mount the root fs from NFS, as reported here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230168. This patch has 2 main changes: 1- Perform a basic initialization of qgroup_config, similar to what is done in taskqgroup_adjust, but simpler. This makes qgroup_config ready to be used during NFS root mount. 2- When EARLY_AP_STARTUP is not used, call inm_init() and in6m_init() right before SI_SUB_ROOT_CONF, because bootp needs to send multicast packages to request an IP. PR: Bug 230168 Reported by: sbruno Reviewed by: jhibbits, mmacy, sbruno Approved by: jhibbits Differential Revision: D16633 Changes: head/sys/kern/subr_gtaskqueue.c head/sys/netinet/in_mcast.c head/sys/netinet6/in6_mcast.c
Thanks!