NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/53096: netbsd-8 crash on heavy disk I/O



>Number:         53096
>Category:       kern
>Synopsis:       netbsd-8 crash on heavy disk I/O
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 13 18:15:00 +0000 2018
>Originator:     Roy Bixler
>Release:        netbsd-8
>Organization:
>Environment:
NetBSD rbixler.britannica.net 8.0_BETA NetBSD 8.0_BETA (GENERIC) #2: Wed Mar  7 15:05:15 CST 2018  rcb%rbixler.britannica.net@localhost:/usr/src/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
System often crashes under heavy disk I/O.  Examples are a "find" command on "/usr" or a "cvs up" of the NetBSD-8 source tree.  Usually, I only see the system reboot, but last time it happened, I got a crash dump.  Here is the backtrace from it:

crash> bt
_KERNEL_OPT_NARCNET() at 0
ostype() at ostype+0xba183
vpanic() at vpanic+0x149
vstate_assert_get() at vstate_assert_get
lru_requeue() at lru_requeue
vrelel() at vrelel+0x1e2
sys_chdir() at sys_chdir+0x4a
syscall() at syscall+0x1d8
--- syscall (number 12) ---
7d5e45481e4a:

Drive where it occurs is wd0.  Here is "dmesg" output:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.0_BETA (GENERIC) #2: Wed Mar  7 15:05:15 CST 2018
        rcb%rbixler.britannica.net@localhost:/usr/src/obj/sys/arch/amd64/compile/GENERIC
total memory = 8104 MB
avail memory = 7847 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Generic PC
mainbus0 (root)
ACPI: RSDP 0x00000000000F0470 000024 (v02 DELL  )
ACPI: XSDT 0x00000000BADD2070 00005C (v01 DELL   WN09     01072009 AMI  00010013)
ACPI: FACP 0x00000000BADD8A58 0000F4 (v04 DELL   WN09     01072009 AMI  00010013)
ACPI: DSDT 0x00000000BADD2158 0068FD (v02 DELL   WN09     00000000 INTL 20051117)
ACPI: FACS 0x00000000BAE14F80 000040
ACPI: APIC 0x00000000BADD8B50 000072 (v03 DELL   WN09     01072009 AMI  00010013)
ACPI: SSDT 0x00000000BADD8BC8 000102 (v01 AMICPU PROC     00000001 MSFT 03000001)
ACPI: MCFG 0x00000000BADD8CD0 00003C (v01 DELL   WN09     01072009 MSFT 00000097)
ACPI: SLIC 0x00000000BADD8D10 000176 (v01 DELL   WN09     01072009 AMI  00010013)
ACPI: HPET 0x00000000BADD8E88 000038 (v01 DELL   WN09     01072009 AMI. 00000004)
ACPI: OSFR 0x00000000BADD8EC0 000082 (v01 DELL   M08      07DC0512 ASL  00000061)
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 2 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 0x20, 24 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, id 0x206a7
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, id 0x206a7
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 4
cpu2: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, id 0x206a7
cpu2: package 0, core 2, smt 0
cpu3 at mainbus0 apid 6
cpu3: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, id 0x206a7
cpu3: package 0, core 3, smt 0
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId <DELL  , WN09   ,01072009>, AslId <AMI ,00010013>
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE823DC84410 00038C (v01 AMI    IST      00000001 MSFT 03000001)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE810E78A680 000084 (v01 AMI    CST      00000001 MSFT 03000001)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
MCH (PNP0C01) at acpi0 not configured
SIO1 (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
spkr0 at pcppi1: PC Speaker
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
RMSC (PNP0C02) at acpi0 not configured
PCH (PNP0C01) at acpi0 not configured
CWDT (INT3F0D) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
RMEM (PNP0C01) at acpi0 not configured
OMSC (PNP0C02) at acpi0 not configured
ACPI: Enabled 3 GPEs in block 00 to 3F
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 0100 (rev. 0x09)
i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 0102 (rev. 0x09)
drm: Memory usable by graphics device = 2048M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
drm: Wrong MCH_SSKPD value: 0x16040307
drm: This can cause pipe underruns and display issues.
drm: Please upgrade your BIOS to fix this.
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xffff80008e7b7000, size 1920x1080, depth 32, stride 7680
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
vendor 8086 product 1c3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0: vendor 8086 product 1c2d (rev. 0x05)
ehci0: interrupting at ioapic0 pin 17
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at msi0 vec 0
hdafg0 at hdaudio0: vendor 14f1 product 50a1
hdafg0: DAC00 2ch: Speaker [Jack]
hdafg0: ADC01 2ch: Mic In [Jack]
hdafg0: ADC02 2ch: Line In [Jack], Mic In [Jack]
hdafg0: DAC03 2ch: HP Out [Jack]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, mmap, independent
hdafg0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
hdafg0: Latency: 128 milliseconds
spkr1 at audio0: PC Speaker (synthesized)
hdafg1 at hdaudio0: vendor 8086 product 2805
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
ppb0 at pci0 dev 28 function 0: vendor 8086 product 1c10 (rev. 0xb5)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 4: vendor 8086 product 1c18 (rev. 0xb5)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
ppb1: link is x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci2 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
re0: interrupting at msi1 vec 0
re0: Ethernet address d4:be:d9:e7:46:c4
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 5
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ehci1 at pci0 dev 29 function 0: vendor 8086 product 1c26 (rev. 0x05)
ehci1: interrupting at ioapic0 pin 23
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product 1c5c (rev. 0x05)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
tco0 at ichlpcib0: TCO (watchdog) timer configured.
tco0: Min/Max interval 1/367 seconds
piixide0 at pci0 dev 31 function 2: Intel 6 Series Serial ATA Controller (rev. 0x05)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 8086 product 1c22 (rev. 0x05)
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
piixide1 at pci0 dev 31 function 5: Intel 6 Series Serial ATA Controller (rev. 0x05)
piixide1: bus-master DMA support present
piixide1: primary channel wired to native-PCI mode
piixide1: using ioapic0 pin 19 for native-PCI interrupt
atabus2 at piixide1 channel 0
piixide1: secondary channel wired to native-PCI mode
atabus3 at piixide1 channel 1
isa0 at ichlpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C3: FFH, lat 104 us, pow   350 mW, bus master check
acpicpu0: P0: FFH, lat  10 us, pow 95000 mW, 3101 MHz, turbo boost
acpicpu0: P1: FFH, lat  10 us, pow 95000 mW, 3100 MHz
acpicpu0: P2: FFH, lat  10 us, pow 87000 mW, 2900 MHz
acpicpu0: P3: FFH, lat  10 us, pow 79000 mW, 2700 MHz
acpicpu0: P4: FFH, lat  10 us, pow 71000 mW, 2500 MHz
acpicpu0: P5: FFH, lat  10 us, pow 64000 mW, 2300 MHz
acpicpu0: P6: FFH, lat  10 us, pow 57000 mW, 2100 MHz
acpicpu0: P7: FFH, lat  10 us, pow 51000 mW, 1900 MHz
acpicpu0: P8: FFH, lat  10 us, pow 44000 mW, 1700 MHz
acpicpu0: P9: FFH, lat  10 us, pow 41000 mW, 1600 MHz
acpicpu0: T0: FFH, lat   1 us, pow  1000 mW, 100 %
acpicpu0: T1: FFH, lat   1 us, pow   875 mW,  88 %
acpicpu0: T2: FFH, lat   1 us, pow   750 mW,  75 %
acpicpu0: T3: FFH, lat   1 us, pow   625 mW,  63 %
acpicpu0: T4: FFH, lat   1 us, pow   500 mW,  50 %
acpicpu0: T5: FFH, lat   1 us, pow   375 mW,  38 %
acpicpu0: T6: FFH, lat   1 us, pow   250 mW,  25 %
acpicpu0: T7: FFH, lat   1 us, pow   125 mW,  13 %
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=99
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=99
acpicpu2 at cpu2: ACPI CPU
coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=99
acpicpu3 at cpu3: ACPI CPU
coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=99
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 3093103400 Hz quality 3000
IPsec: Initialized Security Association Processing.
uhub0 at usb0: vendor 8086 (0x8086) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 8086 (0x8086) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
drm: Enabling RC6 states: RC6 on, RC6p off, RC6pp off
uhub2 at uhub0 port 1: vendor 8087 (0x8087) product 0024 (0x24), class 9/0, rev 2.00/0.00, addr 2
uhub2: single transaction translator
uhub3 at uhub1 port 1: vendor 8087 (0x8087) product 0024 (0x24), class 9/0, rev 2.00/0.00, addr 2
uhub3: single transaction translator
uhub2: 4 ports with 4 removable, self powered
uhub3: 6 ports with 6 removable, self powered
wd0 at atabus0 drive 0
wd0: <ADATA SU800>
wd0: drive supports 2-sector PIO transfers, LBA48 addressing
wd0: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect x 250069680 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
umass0 at uhub3 port 1 configuration 1 interface 0
umass0: Generic (0x58f) Mass Storage Device (0x6362), rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 4 luns per target
sd0 at scsibus0 target 0 lun 0: <Generic-, SD/MMC, 1.00> disk removable
sd0: drive offline
uhidev0 at uhub2 port 3 configuration 1 interface 0
uhidev0: Microsoft (0x45e) Microsoft Basic Optical Mouse v2.0 (0xcb), rev 1.10/1.04, addr 3, iclass 3/1
sd1 at scsibus0 target 0 lun 1: <Generic-, Compact Flash, 1.01> disk removable
sd1: drive offline
ums0 at uhidev0: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
sd2 at scsibus0 target 0 lun 2: <Generic-, SM/xD Picture, 1.02> disk removable
sd2: drive offline
sd3 at scsibus0 target 0 lun 3: <Generic-, MS/MS-Pro, 1.03> disk removable
sd3: drive offline
uhidev1 at uhub2 port 4 configuration 1 interface 0
uhidev1: Microsoft (0x45e) Wired Keyboard 600 (0x750), rev 1.10/1.10, addr 4, iclass 3/1
ukbd0 at uhidev1: 8 Variable keys, 6 Array codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev2 at uhub2 port 4 configuration 1 interface 1
uhidev2: Microsoft (0x45e) Wired Keyboard 600 (0x750), rev 1.10/1.10, addr 4, iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 1: input=7, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=1, output=0, feature=0
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TSSTcorp DVD+/-RW SH-216BB, R8U46GGC502G0R, D100> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture, mmap
pad0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 44100
pad0: Latency: 139 milliseconds
spkr2 at audio1: PC Speaker (synthesized)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/amd64/8.0/modules
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)
cpu 0: ucode 0x1a->0x29
cpu 1: ucode 0x1a->0x29
cpu 2: ucode 0x1a->0x29
cpu 3: ucode 0x1a->0x29


>How-To-Repeat:
Run a "find" command on "/usr" or do a "cvs up" on a large source tree like netbsd-8.
>Fix:
n/a



Home | Main Index | Thread Index | Old Index