NetBSD-Users archive

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

Panic during shutdown on netbsd 9 i386



Hello.

On an i386 which otherwise is functioning fine, I see this panic during
shutdown.

ulv!ene[~/heng]  
.crash -M netbsd.0.core -N netbsd.0

Crash version 9.2_STABLE, image version 9.2_STABLE.
System panicked: dump forced via kernel debugger
Backtrace from time of crash is available.
crash> ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
483  >   1 7   0         0           c1b503e0               halt
1        1 3   0   8020080           c1ac93a0               init wait
0       50 3   0       200           c1ac9be0            physiod physiod
0       49 3   0       200           c1b2b680          pooldrain pooldrain
0       48 3   0       200           c1b2b3c0            ioflush syncer
0       47 3   0       200           c1b2b100           pgdaemon pgdaemon
0       44 3   0       200           c19a2620           aiodoned aiodoned
0       41 3   0       200           c1ac9660             npfgc0 npfgcw
0       40 3   0       200           c19a28e0            rt_free rt_free
0       39 3   0       200           c19a2ba0              unpgc unpgc
0       38 3   0       200           c1ac70c0    key_timehandler key_timehandler
0       37 3   0       200           c1ac7380     carp_wqinput/0 carp_wqinput
0       35 3   0       200           c1ac7900     icmp_wqinput/0 icmp_wqinput
0       34 3   0       200           c1ac7bc0           rt_timer rt_timer
0       33 3   0       200           c1ac90e0        vmem_rehash vmem_rehash
0       23 3   0       200           c19a2360           scsibus0 sccomp
0       21 5   0       200           c1980b80           (zombie)
0       20 2   0       200           c19808c0            atabus0
0       19 3   0       200           c1980600           lnxpwrwq lnxpwrwq
0       18 3   0       200           c1980340           lnxlngwq lnxlngwq
0       17 3   0       200           c1980080           lnxsyswq lnxsyswq
0       16 3   0       200           c197cb60           lnxrcugc lnxrcugc
0       15 3   0       200           c197c8a0             sysmon smtaskq
0       14 3   0       200           c197c5e0         pmfsuspend pmfsuspend
0       13 3   0       200           c197c320           pmfevent pmfevent
0       12 3   0       200           c197c060         sopendfree sopendfr
0       11 3   0       200           c18acb40           nfssilly nfssilly
0       10 3   0       200           c18ac880            cachegc cachegc
0        9 3   0       200           c18ac5c0             vdrain vdrain
0        8 3   0       200           c18ac300          modunload mod_unld
0        7 3   0       200           c18ac040            xcall/0 xcall
0        6 1   0       200           c18a9b20          softser/0
0        5 1   0       200           c18a9860          softclk/0
0        4 1   0       200           c18a95a0          softbio/0
0        3 1   0       200           c18a92e0          softnet/0
0        2 1   0       201           c18a9020             idle/0
0        1 3   0       200           c1249360            swapper uvm
crash> bt
_KERNEL_OPT_NARCNET(0,100,c011ae35,8,1,c1239814,0,c0eb10dc,c12397dc,cb8efcd4) at 0
m_isapnp_ca(100,0,cb8efc1c,c06798af,cb8efbac,0,ffffffff,cb8efb98,0,cb8efbac) at m_isapnp_ca+0x5
db_reboot_cmd(cb8efbac,0,ffffffff,cb8efb98,0,cb8efbac,ffffffff,c12016c0,c152e000,56e0) at db_reboot_cmd
db_command(0,9b7caa2d,0,0,0,cb8efc20,cb8efc50,0,cb8efcd4,c0679bbc) at db_command+0x114
db_command_loop(c01157cc,1e3,1,c1aded21,1,cb8efdc0,cb8efce0,c01172fc,6,0) at db_command_loop+0x9c
db_trap(6,0,0,cb8efc8c,0,c0870010,c1270030,c1270010,cb8e0010,c1204680) at db_trap+0xdd
kdb_trap(6,0,cb8efdc0,1,cb8ee2c0,10202,0,0,c0229139,0) at kdb_trap+0xda
trap() at trap+0x492
--- trap (number 6) ---
bus_space_write_2(c199a800,c,c199a800,c199a980,cb8efe4c,c089f082,c199a800,c199a800,c,1) at bus_space_write_2+0xc
config_detach(c199a800,c,808,808,0,cb8efe8c,c011ae72,808,0,0) at config_detach+0x62
config_detach_all(808,0,0,c1b503e0,cb8eff68,0,c12471e0,cb8eff38,c088075e,808) at config_detach_all+0x8f
cpu_reboot(808,0,0,0,0,0,c1b503e0,cb8efec0,0,0) at cpu_reboot+0x1b4
sys_reboot(c1b503e0,cb8eff68,cb8eff60,c1200d40,c1ae4500,cb8eff60,d0,cb8eff68,0,0) at sys_reboot+0x8e
syscall() at syscall+0x127
--- syscall (number 208) ---
b110d157:
crash> quit


I've attached the full dmesg from this machine in case that helps:

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

[     1,000000] NetBSD 9.2_STABLE (ENE) #0: Thu Jun 24 19:06:42 CEST 2021
[     1,000000] 	ene@elg.hjerdalen.lokalnett:/ene/midlertidig/netbsd/9/src/sys/arch/i386/compile/obj/ENE
[     1,000000] total memory = 191 MB
[     1,000000] avail memory = 168 MB
[     1,000000] rnd: seeded with 256 bits
[     1,000000] timecounter: Timecounters tick every 10.000 msec
[     1,000000] Kernelized RAIDframe activated
[     1,000000] running cgd selftest aes-xts-256 aes-xts-512 done
[     1,000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
[     1,000003] System Manufacturer  Product Name  (SYS-xxxxxx)
[     1,000003] mainbus0 (root)
[     1,000003] ACPI: RSDP 0x00000000000F7DB0 000014 (v00 FICinc)
[     1,000003] ACPI: RSDT 0x000000000BFF0800 000028 (v01 FICinc AWRDACPI 00000000      00000000)
[     1,000003] ACPI: FACP 0x000000000BFF0840 000074 (v01 FICinc AWRDACPI 00000000      00000000)
[     1,000003] ACPI: DSDT 0x000000000BFF08C0 0025C5 (v01 FICINC AWRDACPI 00001000 MSFT 01000004)
[     1,000003] ACPI: FACS 0x000000000BFF0000 000040
[     1,000003] ACPI: 1 ACPI AML tables successfully acquired and loaded
[     1,000003] ACPI: BIOS is too old (19981123). Set acpi_force_load to use.
[     1,000003] ACPI Error: Could not remove SCI handler (20190405/evmisc-312)
[     1,000003] cpu0 at mainbus0
[     1,000003] cpu0: Intel 686-class, 350MHz, id 0x652
[     1,000003] cpu0: package 0, core 0, smt 0
[     1,000003] pci0 at mainbus0 bus 0: configuration mode 1
[     1,000003] pci0: This pci host supports neither MSI nor MSI-X.
[     1,000003] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1,000003] pchb0 at pci0 dev 0 function 0: vendor 8086 product 7190 (rev. 0x02)
[     1,000003] agp0 at pchb0: aperture at 0xe0000000, size 0x4000000
[     1,000003] ppb0 at pci0 dev 1 function 0: vendor 8086 product 7191 (rev. 0x02)
[     1,000003] pci1 at ppb0 bus 1
[     1,000003] pci1: This pci host supports neither MSI nor MSI-X.
[     1,000003] pci1: i/o space, memory space enabled
[     1,000003] vga0 at pci1 dev 0 function 0: vendor 1002 product 475a (rev. 0x3a)
[     1,000003] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
[     1,000003] wsmux1: connecting to wsdisplay0
[     1,000003] drm at vga0 not configured
[     1,000003] pcib0 at pci0 dev 7 function 0: vendor 8086 product 7110 (rev. 0x02)
[     1,000003] piixide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
[     1,000003] piixide0: bus-master DMA support present
[     1,000003] piixide0: primary channel wired to compatibility mode
[     1,000003] piixide0: primary channel interrupting at irq 14
[     1,000003] atabus0 at piixide0 channel 0
[     1,000003] piixide0: secondary channel wired to compatibility mode
[     1,000003] piixide0: secondary channel interrupting at irq 15
[     1,000003] atabus1 at piixide0 channel 1
[     1,000003] uhci0 at pci0 dev 7 function 2: vendor 8086 product 7112 (rev. 0x01)
[     1,000003] uhci0: autoconfiguration error: can't map i/o space
[     1,000003] piixpm0 at pci0 dev 7 function 3: vendor 8086 product 7113 (rev. 0x02)
[     1,000003] timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 900
[     1,007600] piixpm0: 24-bit timer
[     1,007600] piixpm0: polling
[     1,007600] iic0 at piixpm0 port 0: I2C bus
[     1,007600] eap0 at pci0 dev 9 function 0: vendor 1274 product 1371 ES1373-B (rev. 0x06)
[     1,007600] eap0: interrupting at irq 10
[     1,007600] eap0: ac97: TriTech TR28022 codec; Binaura 3D
[     1,007600] audio0 at eap0: playback, capture, full duplex, independent
[     1,007600] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1,007600] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1,007600] midi0 at eap0: AudioPCI MIDI UART
[     1,007600] ahc1 at pci0 dev 10 function 0: Adaptec 2902/04/10/15/20/30C SCSI adapter
[     1,007600] ahc1: interrupting at irq 12
[     1,007600] ahc1: aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
[     1,007600] scsibus0 at ahc1: 8 targets, 8 luns per target
[     1,007600] rtk0 at pci0 dev 12 function 0: Accton MPX 5030/5038 10/100BaseTX (rev. 0x10)
[     1,007600] rtk0: interrupting at irq 11
[     1,007600] rtk0: Ethernet address 00:00:e8:77:6c:04
[     1,007600] rlphy0 at rtk0 phy 7: Realtek internal PHY
[     1,007600] rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[     1,007600] isa0 at pcib0
[     1,007600] lpt0 at isa0 port 0x378-0x37b irq 7
[     1,007600] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
[     1,007600] com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
[     1,007600] pckbc0 at isa0 port 0x60-0x64
[     1,007600] pckbd0 at pckbc0 (kbd slot)
[     1,007600] pckbc0: using irq 1 for kbd slot
[     1,007600] wskbd0 at pckbd0: console keyboard, using wsdisplay0
[     1,007600] attimer0 at isa0 port 0x40-0x43
[     1,007600] pcppi0 at isa0 port 0x61
[     1,007600] midi1 at pcppi0: PC speaker
[     1,007600] sysbeep0 at pcppi0
[     1,007600] isapnp0 at isa0 port 0x279
[     1,007600] fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
[     1,007600] attimer0: attached to pcppi0
[     1,007600] isapnp0: no ISA Plug 'n Play devices found
[     1,007600] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1,142696] scsibus0: waiting 2 seconds for devices to settle...
[     1,142696] fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
[     1,172697] wd0 at atabus0 drive 1
[     1,172697] IPsec: Initialized Security Association Processing.
[     1,172697] wd0: <ST3320620A>
[     1,172697] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[     1,172697] wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
[     1,222695] wd0: 32-bit data port
[     1,222695] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
[     1,232698] wd0(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
[     1,232698] atapibus0 at atabus1: 2 targets
[     1,282696] cd0 at atapibus0 drive 1: <CD-ROM CDU611-H, , 2.3b> cdrom removable
[     1,292699] cd0: 32-bit data port
[     1,292699] cd0: drive supports PIO mode 4, DMA mode 2
[     1,292699] cd0(piixide0:1:1): using PIO mode 4, DMA mode 2 (using DMA)
[     4,712749] sd0 at scsibus0 target 6 lun 0: <MAXTOR, ATLAS10K5_73WLS, JNZH> disk fixed
[     4,722752] sd0: 70149 MB, 81782 cyl, 2 head, 878 sec, 512 bytes/sect x 143666192 sectors
[     4,752752] sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
[     4,842750] WARNING: 1 error while detecting hardware; check system log.
[     4,852856] boot device: wd0
[     4,852856] root on wd0a dumps on wd0b
[     4,862753] /: replaying log to memory
[     4,872754] root file system type: ffs
[     4,872754] kern.module.path=/stand/i386/9.2/modules
[     4,872754] WARNING: clock lost 8941 days
[     4,872754] WARNING: using filesystem time
[     4,879166] WARNING: CHECK AND RESET THE DATE!
[     5,842777] /: replaying log to disk
[    21,113011] wsdisplay0: screen 1 added (80x25, vt100 emulation)
[    21,123009] wsdisplay0: screen 2 added (80x25, vt100 emulation)
[    21,133011] wsdisplay0: screen 3 added (80x25, vt100 emulation)
[    21,143011] wsdisplay0: screen 4 added (80x25, vt100 emulation)
[    22,343030] /ene: replaying log to disk



It is running with these differences in kernel configuration,
but I did also see this panic while shutting down from the
install cd:

--- GENERIC	2021-02-03 08:01:46.084962000 +0100
+++ ENE	2021-06-24 19:03:12.247274000 +0200
@@ -167,7 +167,6 @@
 # Networking options
 #options 	GATEWAY		# packet forwarding
 options 	INET		# IP + ICMP + TCP + UDP
-options 	INET6		# IPv6
 options 	IPSEC		# IP security
 #options 	IPSEC_DEBUG	# debug for IP security
 #options 	MPLS		# MultiProtocol Label Switching (needs mpls)
@@ -1469,7 +1468,6 @@
 pseudo-device	gre			# generic L3 over IP tunnel
 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
 #pseudo-device	faith			# IPv[46] TCP relay translation i/f
-pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
 pseudo-device	vlan			# IEEE 802.1q encapsulation
 pseudo-device	bridge			# simple inter-network bridging
 #options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too


I can provide other details if there is anything that can help.

I could not spot what the error referenced in
[     4,842750] WARNING: 1 error while detecting hardware; check system log.

is supposed to be.



Regards
-- 
Eivind Nicolay Evensen


Home | Main Index | Thread Index | Old Index