Subject: kern/12099: panic: kernel diagnostic assertion "LIST_FIRST(&pcbp->b_dep) != NULL" failed: file "../../../../ufs/ffs/ffs_softdep.c", line 5027
To: None <gnats-bugs@gnats.netbsd.org>
From: Paul Shupak <paul@Plectere.com>
List: netbsd-bugs
Date: 02/01/2001 07:27:25
>Number:         12099
>Category:       kern
>Synopsis:       panic: kernel diagnostic assertion "LIST_FIRST(&pcbp->b_dep) != NULL" failed: file "../../../../ufs/ffs/ffs_softdep.c", line 5027
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 01 07:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Paul Shupak
>Release:        NetBSD-current as of yesterday morning Jan 31 2001
>Organization:
>Environment:
System: NetBSD svcs 1.5R NetBSD 1.5R (PCOM) #2: Wed Jan 31 10:55:03 PST 2001 paul@new-cobalt:/usr/src/sys/arch/i386/compile/PCOM i386
Architecture: i386
Machine: i386
>Description:
		
	% dmesg -M /var/crash/netbsd.0.core -N /var/crash/netbsd.0

NetBSD 1.5R (PCOM) #2: Wed Jan 31 10:55:03 PST 2001
    paul@new-cobalt:/usr/src/sys/arch/i386/compile/PCOM
cpu0: Intel Celeron (Mendocino) (686-class), 432.06 MHz
cpu0: I-cache 16K 32b/line 4-way, D-cache 16K 32b/line 2/4-way
cpu0: L2 cache 128K 32b/line 4-way
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR>
total memory = 254 MB
avail memory = 187 MB
using 11424 buffers containing 57288 KB of memory
BIOS32 rev. 0 found at 0xfda74
PCI BIOS rev. 2.1 found at 0xfda95
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xf3260, size 192 bytes (10 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
PIR Entry 0:
	Bus: 0  Device: 0
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 1:
	Bus: 0  Device: 1
		INTA: link 0x60 bitmap 0xdef8
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 2:
	Bus: 0  Device: 30
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 3:
	Bus: 0  Device: 31
		INTA: link 0x60 bitmap 0xdef8
		INTB: link 0x61 bitmap 0xdef8
		INTC: link 0x62 bitmap 0xdef8
		INTD: link 0x63 bitmap 0xdef8
PIR Entry 4:
	Bus: 1  Device: 8
		INTA: link 0x60 bitmap 0xdef8
		INTB: link 0x61 bitmap 0xdef8
		INTC: link 0x62 bitmap 0xdef8
		INTD: link 0x63 bitmap 0xdef8
PIR Entry 5:
	Bus: 1  Device: 9
		INTA: link 0x61 bitmap 0xdef8
		INTB: link 0x62 bitmap 0xdef8
		INTC: link 0x63 bitmap 0xdef8
		INTD: link 0x60 bitmap 0xdef8
PIR Entry 6:
	Bus: 1  Device: 10
		INTA: link 0x62 bitmap 0xdef8
		INTB: link 0x63 bitmap 0xdef8
		INTC: link 0x60 bitmap 0xdef8
		INTD: link 0x61 bitmap 0xdef8
PIR Entry 7:
	Bus: 1  Device: 11
		INTA: link 0x63 bitmap 0xdef8
		INTB: link 0x60 bitmap 0xdef8
		INTC: link 0x61 bitmap 0xdef8
		INTD: link 0x62 bitmap 0xdef8
PIR Entry 8:
	Bus: 1  Device: 7
		INTA: link 0x62 bitmap 0xdef8
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 9:
	Bus: 1  Device: 1
		INTA: link 0x63 bitmap 0xdef8
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
mainbus0 (root)
pnpbios0 at mainbus0: code f0000, data f0000, entry 25aa, control 0 eventp 0
pnpbios0: nodes 20, max len 234
PNP0C01 (mem 0-9fbff 9fc00-9ffff e0000-fffff fee0000-fef7fff fef8000-fefffff fec0000-fedffff fff00000-ffffffff) at pnpbios0 index 0 ignored
PNP0C01 (mem 100000-febffff) at pnpbios0 index 1 ignored
PNP0000 (io 20-21 a0-a1, irq 2) at pnpbios0 index 2 ignored
PNP0200 (io 0-f 80-90 94-9f c0-de, dma 4) at pnpbios0 index 3 ignored
PNP0100 (io 40-43, irq 0) at pnpbios0 index 4 ignored
PNP0B00 (io 70-71, irq 8) at pnpbios0 index 5 ignored
pckbc0 at pnpbios0 index 6 (PNP0303): kbd port
PNP0800 (io 61) at pnpbios0 index 7 ignored
npx0 at pnpbios0 index 8 (PNP0C04)
npx0: io f0-ff, irq 13
npx0: using exception 16
PNP0C02 (io 4d0-4d1 cf8-cff 10-1f 22-2d 30-3f 50-52 72-77 91-93 a2-be 400-47f 540-54f 500-53f) at pnpbios0 index 9 ignored
INT0800 (mem ffb00000-ffbfffff) at pnpbios0 index 10 ignored
PNP0C02 (io 800-87f) at pnpbios0 index 11 ignored
PNP0C02 at pnpbios0 index 12 disabled
PNP0C02 at pnpbios0 index 13 disabled
com0 at pnpbios0 index 14 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
com1 at pnpbios0 index 15 (PNP0501)
com1: io 2f8-2ff, irq 3
com1: ns16550a, working fifo
lpt0 at pnpbios0 index 16 (PNP0401)
lpt0: io 378-37f 778-77a, irq 7, dma 3
fdc0 at pnpbios0 index 17 (PNP0700)
fdc0: io 3f0-3f5 3f7, irq 6, dma 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pckbc1 at pnpbios0 index 18 (PNP0F13): aux port
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
PNP0A03 at pnpbios0 index 19 disabled
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82810 Memory Controller Hub (rev. 0x02)
pchb0: random number generator enabled, -3451Kb/s
vga0 at pci0 dev 1 function 0: Intel 82810 Graphics Controller (rev. 0x02)
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
ppb0 at pci0 dev 30 function 0: Intel 82801AA Hub-to-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
fxp0 at pci1 dev 1 function 0: Intel i82557 Ethernet, rev 8
fxp0: interrupting at irq 9
fxp0: Ethernet address 00:90:27:ab:36:6a, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eap0 at pci1 dev 7 function 0: Ensoniq AudioPCI 97 ES1373B (rev. 0x06)
eap0: interrupting at irq 10
eap0: Crystal CS4297 codec; headphone, 18 bit DAC, 18 bit ADC, no 3D stereo
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
tlp0 at pci1 dev 11 function 0: Macronix MX98715A Ethernet, pass 2.0
tlp0: interrupting at irq 9
tlp0: Ethernet address 00:80:ad:3a:d2:a0
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801AA LPC Interface Bridge (rev. 0x01)
pciide0 at pci0 dev 31 function 1: Intel 82801AA IDE Controller (ICH) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 54098U8>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 39082 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 80041248 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd1 at pciide0 channel 0 drive 1: <Maxtor 54098U8>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 39082 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 80041248 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
wd2 at pciide0 channel 1 drive 0: <Maxtor 54098U8>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 39082 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 80041248 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd3 at pciide0 channel 1 drive 1: <Maxtor 54098U8>
wd3: drive supports 16-sector PIO transfers, LBA addressing
wd3: 39082 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 80041248 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: secondary channel interrupting at irq 15
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
uhci0 at pci0 dev 31 function 2: Intel 82801AA USB Controller (rev. 0x01)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801AA SMBus Controller (SMBus serial bus, revision 0x01) at pci0 dev 31 function 3 not configured
isa0 at pcib0
joy0 at isa0 port 0x201
joy0: joystick not connected
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
apm0 at mainbus0: Power Management spec V1.2
apm: 0 batteries, global standby, global suspend, rtimer suspend, internal standby
biomask eb65 netmask eb65 ttymask fbe7
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
warning: double match for boot device (wd0, wd1)
warning: double match for boot device (wd0, wd2)
warning: double match for boot device (wd0, wd3)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
RAIDFRAME: protectedSectors is 64
raid0: Component /dev/wd0h being configured at row: 0 col: 0
         Row: 0 Column: 0 Num Rows: 1 Num Columns: 4
         Version: 2 Serial Number: 1514891580 Mod Counter: -344314110
         Clean: Yes Status: 0
raid0: Component /dev/wd2h being configured at row: 0 col: 1
         Row: 0 Column: 1 Num Rows: 1 Num Columns: 4
         Version: 2 Serial Number: 1514891580 Mod Counter: -344314110
         Clean: Yes Status: 0
raid0: Component /dev/wd1h being configured at row: 0 col: 2
         Row: 0 Column: 2 Num Rows: 1 Num Columns: 4
         Version: 2 Serial Number: 1514891580 Mod Counter: -344314110
         Clean: Yes Status: 0
raid0: Component /dev/wd3h being configured at row: 0 col: 3
         Row: 0 Column: 3 Num Rows: 1 Num Columns: 4
         Version: 2 Serial Number: 1514891580 Mod Counter: -344314110
         Clean: Yes Status: 0
RAIDFRAME: Configure (RAID Level 5): total number of sectors is 184297488 (89989 MB)
RAIDFRAME(RAID Level 5): Using 20 floating recon bufs with head sep limit 10
IP Filter: v3.4.9 initialized.  Default = block all, Logging = enabled
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
panic: kernel diagnostic assertion "LIST_FIRST(&pcbp->b_dep) != NULL" failed: file "../../../../ufs/ffs/ffs_softdep.c", line 5027

Begin traceback...
__assert(c033946d,c033a9c0,13a3,c033ad40,0) at __assert+0x19
softdep_pageiodone(c0ab5bc8) at softdep_pageiodone+0x174
uvm_aio_aiodone(c0ab5bc8,f367aab0,c02a262c,0,0) at uvm_aio_aiodone+0x60
uvm_aiodone_daemon(f367aab0) at uvm_aiodone_daemon+0xa7
End traceback...
syncing disks... panic: softdep_lock: locking against myself
Begin traceback...
gcc2_compiled.(c037fb20,f36b3e78,f367aab0,f368fd5c,c02841ec) at gcc2_compiled.+0x2e
softdep_fsync_mountdev(f36b3e78) at softdep_fsync_mountdev+0x22
ffs_full_fsync(f368fde8,f36b3e78,f367aab0,0,d000eb64) at ffs_full_fsync+0x30
ffs_fsync(f368fde8,0,0,c098c000,c0325420) at ffs_fsync+0x3a
VOP_FSYNC(f36b3e78,c089cf00,0,0,0,0,0,f367aab0,f36b3e78,20002) at VOP_FSYNC+0x52
ffs_sync(c0988400,2,c089cf00,f367aab0) at ffs_sync+0x12c
sys_sync(f367aab0,0,0,100,c0370f20) at sys_sync+0x56
vfs_shutdown(f368fedc,f368fed0,c0199b79,100,0) at vfs_shutdown+0x64
cpu_reboot(100,0,f4075a94,f3b82f70,400) at cpu_reboot+0x3b
panic(c0370f20,c033946d,c033ad40,c033a9c0,13a3) at panic+0xcd
__assert(c033946d,c033a9c0,13a3,c033ad40,0) at __assert+0x19
softdep_pageiodone(c0ab5bc8) at softdep_pageiodone+0x174
uvm_aio_aiodone(c0ab5bc8,f367aab0,c02a262c,0,0) at uvm_aio_aiodone+0x60
uvm_aiodone_daemon(f367aab0) at uvm_aiodone_daemon+0xa7
End traceback...

dumping to dev 0,1 offset 94935
dump 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
>How-To-Repeat:
	Unknown: More information, kernel and/or kcore (93M gzip'd) can be
	made available (approx 2hr transfer).
	
>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: