Date: Tue, 12 Nov 2013 08:32:31 -0800 From: Justin Hibbits <jhibbits@freebsd.org> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Strange panic on ppc64 Message-ID: <CAHSQbTD6%2BDd-So88gSArTtpcA=w4D-GibGpoFLoHQuFPjUrKuA@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
The log is attached. I'm not sure what exactly is going on here. The
conditions were: building something on zfs, while also accessing files over
NFS. It seems each of those individually is fine, but doing both it brings
my system down. I _think_ the actual panic message (recursed on
non-recursive mutex) is a red herring, since it already trapped in the
kernel, twice. Any clues? It's 100% reproducible by me.
- Justin
[-- Attachment #2 --]
0x9c on iicbus0
htpic0: <OpenPIC Interrupt Controller> mem 0xf8040000-0xf807ffff on unin0
pcib0: <IBM CPC945 PCI Express Root> mem 0xf0000000-0xf1ffffff on nexus0
pci0: <OFW PCI bus> on pcib0
vgapci0: <VGA-compatible display> mem 0xa1000000-0xa1ffffff,0x90000000-0x9fffffff,0xa0000000-0xa0ffffff irq 3 at device 0.0 on pci0
pcib1: <IBM CPC9X5 HyperTransport Tunnel> mem 0xf2000000-0xf47fffff,0xf8070000-0xf8070fff on nexus0
pcib1: 86 HT IRQs on device 7.0
pci1: <OFW PCI bus> on pcib1
pcib1: Enabling MSI window for HyperTransport slave at pci1:0:1:0
pcib2: <OFW PCI-PCI bridge> at device 1.0 on pci1
pci2: <OFW PCI bus> on pcib2
pcib3: <OFW PCI-PCI bridge> at device 2.0 on pci1
pci3: <OFW PCI bus> on pcib3
bge0: <Broadcom BCM5714 B3, ASIC rev. 0x008003> mem 0xfa530000-0xfa53ffff,0xfa520000-0xfa52ffff irq 66 at device 4.0 on pci3
bge0: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz
miibus0: <MII bus> on bge0
brgphy0: <BCM5780 1000BASE-T media interface> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Ethernet address: 00:14:51:67:6e:37
bge1: <Broadcom BCM5714 B3, ASIC rev. 0x008003> mem 0xfa510000-0xfa51ffff,0xfa500000-0xfa50ffff irq 67 at device 4.1 on pci3
bge1: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz
miibus1: <MII bus> on bge1
brgphy1: <BCM5780 1000BASE-T media interface> PHY 1 on miibus1
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge1: Ethernet address: 00:14:51:67:6e:38
pcib4: <OFW PCI-PCI bridge> at device 3.0 on pci1
pci4: <OFW PCI bus> on pcib4
pcib5: <OFW PCI-PCI bridge> at device 4.0 on pci1
pci5: <OFW PCI bus> on pcib5
pcib6: <OFW PCI-PCI bridge> at device 5.0 on pci1
pci6: <OFW PCI bus> on pcib6
pcib7: <OFW PCI-PCI bridge> at device 6.0 on pci1
pci7: <OFW PCI bus> on pcib7
pcib8: <OFW PCI-PCI bridge> at device 7.0 on pci1
pci8: <OFW PCI bus> on pcib8
gem0: <Apple Shasta GMAC Ethernet> mem 0xfa200000-0xfa3fffff at device 15.0 on pci8
gem0: invalid MAC address
device_attach: gem0 attach returned 6
pcib9: <OFW PCI-PCI bridge> at device 8.0 on pci1
pci9: <OFW PCI bus> on pcib9
macio0: <Shasta I/O Controller> mem 0x80000000-0x8007ffff at device 7.0 on pci9
macgpio0: <MacIO GPIO Controller> mem 0x50-0x8a on macio0
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
uart0: <z8530, channel A> on scc0
uart1: <z8530, channel B> on scc0
iichb1: <Keywest I2C controller> mem 0x18000-0x18fff irq 27 on macio0
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
usbus0 on ohci0
ohci1: <NEC uPD 9210 USB controller> mem 0x80081000-0x80081fff irq 70 at device 11.1 on pci9
usbus1 on ohci1
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0x80080000-0x800800ff irq 70 at device 11.2 on pci9
usbus2: EHCI version 1.0
usbus2 on ehci0
pcib10: <OFW PCI-PCI bridge> at device 9.0 on pci1
pci10: <OFW PCI bus> on pcib10
atapci0: <ServerWorks K2 SATA150 controller> mem 0xfa402000-0xfa403fff irq 10 at device 12.0 on pci10
pcib1: failed to reserve resource for pcib10
atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff).
ata2: <ATA channel> at channel 0 on atapci0
ata3: <ATA channel> at channel 1 on atapci0
ata4: <ATA channel> at channel 2 on atapci0
ata5: <ATA channel> at channel 3 on atapci0
ata0: <Shasta Kauai ATA Controller> mem 0xfa404000-0xfa407fff irq 38 at device 13.0 on pci10
fwohci0: <1394 Open Host Controller Interface> mem 0xfa400000-0xfa400fff irq 39 at device 14.0 on pci10
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
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:14:51:33:ca:b6
fwe0: Ethernet address: 02:14:51:33:ca:b6
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x5fa4000
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 nexus0
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
sc0: <System console> on nexus0
sc0: Unknown <16 virtual consoles, flags=0x300>
Timecounter "timebase" frequency 33333333 Hz quality 0
Event timer "decrementer" frequency 33333333 Hz quality 1000
Timecounters tick every 1.000 msec
firewire0: 3 nodes, maxhop <= 2 cable IRM irm(2)
max66900: 2 sensors detected.
max66901: 2 sensors detected.
bge1: link state changed to UP
random: unblocking device.usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
ugen0.1: <NEC> at usbus0
uhub0: <NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <NEC> at usbus1
uhub1: <NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: 480Mbps High Speed USB v2.0
ugen2.1: <NEC> at usbus2
uhub2: <NEC EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
firewire0: New S400 device ID:000a95fffe841f44uhub0: 3 ports with 3 removable, self powered
uhub1: 2 ports with 2 removable, self powered
interrupt storm detected on "irq38:"; throttling interrupt source
uhub2: 5 ports with 5 removable, self powered
ada0 at ata3 bus 0 scbus1 target 0 lun 0
ada0: <ST320DM000-1BD14C KC45> ATA-8 SATA 3.x device
ada0: Serial Number S2AB8S5V
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
ada0: quirks=0x1<4K>
ada0: Previously was known as ad0
cd0 at ata0 bus 0 scbus4 target 0 lun 0
cd0: <PIONEER DVD-RW DVR-110D AA06> Removable CD-ROM SCSI-0 device
cd0: Serial Number EIDL026857WL
cd0: 66.700MB/s transfers (UDMA4, ATAPI 12bytes, PIO 65534bytes)SMP: AP CPU #1 launched
cd0: Attempt to query device size failed: NOT READY, Medium not present
ugen1.2: <Logitech> at usbus1
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus1
ugen2.2: <vendor 0x0424> at usbus2
uhub3: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/0.00, addr 2> on usbus2
uhub3: MTT enabled
kbd1 at ukbd0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus1
ums0: 16 buttons and [XYZT] coordinates ID=2
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus1
Root mount waiting for: usbus2
uhub3: 4 ports with 4 removable, self powered
Trying to mount root from ufs:/dev/ada0s3 [rw]...
WARNING: / was not properly dismounted
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
bge0: link state changed to DOWN
bge1: link state changed to DOWN
bge1: link state changed to UP
WARNING pid 1986 (python2.7): ioctl sign-extension ioctl ffffffff80087467
ugen1.2: <Logitech> at usbus1 (disconnected)
ukbd0: at uhub1, port 1, addr 2 (disconnected)
ums0: at uhub1, port 1, addr 2 (disconnected)
uhid0: at uhub1, port 1, addr 2 (disconnected)
ugen1.2: <Logitech> at usbus1
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus1
kbd1 at ukbd0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus1
ums0: 16 buttons and [XYZT] coordinates ID=2
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus1
fwohci0: too many cycles lost, no cycle master present?
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=2, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me)
firewire0: bus manager 1
firewire0: fw_attach_dev:Removing missing device ID:000a95fffe841f44
WARNING pid 4910 (python2.7): ioctl sign-extension ioctl ffffffff80087467
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000002, SelfID Count=3, CYCLEMASTER mode
firewire0: 3 nodes, maxhop <= 2 cable IRM irm(2) (me)
firewire0: bus manager 2
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000002, SelfID Count=4, CYCLEMASTER mode
firewire0: 3 nodes, maxhop <= 2 cable IRM irm(2) (me)
firewire0: bus manager 2
firewire0: New S400 device ID:000a95fffe841f44
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000002, SelfID Count=5, CYCLEMASTER mode
firewire0: 3 nodes, maxhop <= 2 cable IRM irm(2) (me)
firewire0: bus manager 2
[ thread pid 5189 tid 100507 ]
Stopped at 0x85260c: stdu r1, r1, 0xff80,
db> panic: _mtx_lock_sleep: recursed on non-recursive mutex kernelpmap @ /home/chmeee/freebsd/head/sys/powerpc/aim/mmu_oea64.c:1732
cpuid = 1
KDB: stack backtrace:
0x0000000000b98560: at .kdb_backtrace+0x5c
0x0000000000b98690: at .vpanic+0x13c
0x0000000000b98730: at .kassert_panic+0x8c
0x0000000000b987d0: at .__mtx_lock_sleep+0x88
0x0000000000b98890: at .__mtx_lock_flags+0x13c
0x0000000000b98930: at .moea64_kextract+0x44
0x0000000000b989c0: at .pmap_kextract+0x78
0x0000000000b98a50: at ._bus_dmamap_load_buffer+0xb0
0x0000000000b98b30: at .bus_dmamap_load+0xc8
0x0000000000b98c30: at .usb_pc_load_mem+0x134
0x0000000000b98cc0: at .usb_bdma_work_loop+0x294
0x0000000000b98d60: at .usb_command_wrapper+0x134
0x0000000000b98de0: at .usbd_transfer_submit+0x5d8
0x0000000000b98e80: at .ukbd_intr_callback+0x6f0
0x0000000000b98f30: at .usbd_callback_wrapper+0x540
0x0000000000b98fd0: at .usb_command_wrapper+0x134
0x0000000000b99050: at .usb_callback_proc+0x80
0x0000000000b990e0: at .usbd_transfer_poll+0x290
0x0000000000b991a0: at .ukbd_do_poll+0xe8
0x0000000000b99230: at .ukbd_check+0x88
0x0000000000b992c0: at .ukbd_check_char+0xc0
0x0000000000b99360: at .kbdmux_read_char+0x140
0x0000000000b99400: at .scgetc+0xc4
0x0000000000b994d0: at .sc_cngetc+0x7c
0x0000000000b99570: at .cncheckc+0x7c
0x0000000000b995f0: at .cngetc+0x30
0x0000000000b99670: at .db_readline+0x90
0x0000000000b99700: at .db_read_line+0x2c
0x0000000000b99790: at .db_command_loop+0x5c
0x0000000000b99820: at .db_trap+0x168
0x0000000000b99bf0: at .kdb_trap+0x110
0x0000000000b99ca0: at .db_trap_glue+0x78
0x0000000000b99d20: at dbtrap+0x128
0xc00000010fc34060: at .tc_windup+0x54
0xc00000010fc34120: at .tc_ticktock+0x3c
0xc00000010fc341a0: at .hardclock_cnt+0x36c
0xc00000010fc34260: at .handleevents+0xd4
0xc00000010fc34310: at .timercb+0x2c8
0xc00000010fc343f0: at .decr_intr+0x110
0xc00000010fc34470: at .powerpc_interrupt+0xec
0xc00000010fc34510: kernel DECR trap by .__mtx_unlock_flags+0x28: srr1=0x9000000000009032
r1=0xc00000010fc347c0 cr=0x24022082 xer=0x20000000 ctr=0x5
0xc00000010fc347c0: at .__mtx_unlock_flags+0xc0
0xc00000010fc34860: at .uma_dbg_getslab+0xf8
0xc00000010fc348f0: at .uma_dbg_alloc+0x4c
0xc00000010fc34980: at .uma_zalloc_arg+0x16c
0xc00000010fc34a50: at .moea64_pvo_enter+0x2cc
0xc00000010fc34b40: at .moea64_enter+0x29c
0xc00000010fc34c10: at .pmap_enter+0xa8
0xc00000010fc34cc0: at .kmem_back+0x240
0xc00000010fc34d90: at .kmem_malloc+0x80
0xc00000010fc34e30: at .page_alloc+0x28
0xc00000010fc34eb0: at .uma_large_malloc+0x60
0xc00000010fc34f60: at .malloc+0x1c0
0xc00000010fc35000: at .zfs_kmem_alloc+0x3c
0xc00000010fc35080: at .zio_data_buf_alloc+0xc0
0xc00000010fc35110: at .arc_get_data_buf+0x150
0xc00000010fc351e0: at .arc_buf_alloc+0x17c
0xc00000010fc352a0: at .arc_read+0x234
0xc00000010fc353d0: at .dbuf_prefetch+0x2c0
0xc00000010fc354b0: at .dmu_zfetch_dofetch+0x160
0xc00000010fc35590: at .dmu_zfetch+0x1138
0xc00000010fc35700: at .dbuf_read+0x7ac
0xc00000010fc35830: at .dmu_buf_hold_array_by_dnode+0x278
0xc00000010fc35950: at .dmu_read+0x110
0xc00000010fc35a60: at .zfs_freebsd_getpages+0x604
0xc00000010fc35bb0: at .VOP_GETPAGES_APV+0x14c
0xc00000010fc35c40: at .vnode_pager_getpages+0x7c
0xc00000010fc35d10: at .vm_fault_hold+0xd28
0xc00000010fc35ff0: at .vm_fault+0xa4
0xc00000010fc360a0: at .trap_pfault+0x148
0xc00000010fc36160: at .trap+0xb98
0xc00000010fc363c0: at .powerpc_interrupt+0x200
0xc00000010fc36460: kernel DSI read trap @ 0xcffffffff3334000 by .memcpy+0xa0: srr1=0x9000000000009032
r1=0xc00000010fc36710 cr=0x42442048 xer=0x20000000 ctr=0x1400 sr=0x40000000
0xc00000010fc36710: at _end+0xf6eb083c
0xc00000010fc36750: at _end+0xf6eb088c
0xc00000010fc367d0: at .copyin+0x18c
0xc00000010fc36980: at .uiomove_faultflag+0x16c
0xc00000010fc36a40: at .uiomove+0x18
0xc00000010fc36ac0: at .dmu_write_uio_dnode+0x14c
0xc00000010fc36bb0: at .dmu_write_uio_dbuf+0x9c
0xc00000010fc36c60: at .zfs_freebsd_write+0x1428
0xc00000010fc36ed0: at .VOP_WRITE_APV+0x1c4
0xc00000010fc37040: at .vn_rdwr+0x234
0xc00000010fc37170: at .vn_rdwr_inchunks+0x104
0xc00000010fc37290: at .elf64_coredump+0x5c4
0xc00000010fc37410: at .sigexit+0x8f4
0xc00000010fc37720: at .postsig+0x1e8
0xc00000010fc37870: at .ast+0x3c0
0xc00000010fc37920: user DSI read trap @ 0 by 0x51f30e38: srr1=0x900000000200f032
r1=0xffffffffffffb5c0 cr=0x48004042 xer=0x20000000 ctr=0x51f35330 sr=0x40000000
Uptime: 8h59m53s
Dumping 5 MB (2 chunks)
chunk 0: 5459968 bytes ... ok
chunk 1: 98304 bytes ... ok
Dump complete
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTD6%2BDd-So88gSArTtpcA=w4D-GibGpoFLoHQuFPjUrKuA>
