I'm one of the admins of a 3.8-release system that has developed
a problem with softdeps, judging by the panic listed below.  The
system has done this twice in less than a week.  Someone who got
to the machine after the first crash said that the system was
frozen at the syncing disks message.  The system was pingable
and services like ftp initially answer but thats all.  Looking
at the system after the second crash, it was at a login prompt
on the console, but non-responsive.

   Looking for the panic message, I found something on a FreeBSD 
list: http://www.freebsd.org/cgi/query-pr.cgi?pr=15063

   Looking at ffs_softdep.c rev 1.63 there are two changes from
FreeBSD but I've not yet figured out just what those fix or if
these relate to my problem.

   I apologize for not having more data here, but from what I've
seen, the error occurs without giving a lot of data.

   Any thoughts?

Thanks, STeve Andre'

[panic message]
Dec  9 14:36:00 grex /bsd: panic: softdep_write_inodeblock: indirect pointer 
#0 mismatch 0 != 0
Dec  9 14:36:00 grex /bsd: Starting stack trace...
Dec  9 14:36:00 grex /bsd: panic(d649de84,d649de84,e88e9d5c,e88e9db4,e91d3740) 
at panic+0x71
Dec  9 14:36:00 grex /bsd: panic(d050a940,d0509dd7,0,0,0) at panic+0x71
Dec  9 14:36:00 grex /bsd: 
initiate_write_inodeblock(e9ce206c,d6a55f1c,d0f93000,0,e88e9e0c) at 
initiate_write_inodeblock+0x3c1
Dec  9 14:36:00 grex /bsd: 
softdep_disk_io_initiation(d6a55f1c,7fffffff,e88e9e5c,d021ae58) at 
softdep_disk_io_initiation+0x66
Dec  9 14:36:00 grex /bsd: spec_strategy(e88e9e64,1,e88e9e5c,d067a2f4,0) at 
spec_strategy+0x42
Dec  9 14:36:00 grex /bsd: spec_vnoperate(e88e9e64,40,e88e9e7c,80,d0580b80) at 
spec_vnoperate+0x16
Dec  9 14:36:00 grex /bsd: 
VOP_STRATEGY(d6a55f1c,d6a13d94,e88e9ebc,d02eed92,d6a13d94) at 
VOP_STRATEGY+0x25
Dec  9 14:36:00 grex /bsd: bwrite(d6a55f1c,d6a9a40c,1,0,d6a13d24) at 
bwrite+0xac
Dec  9 14:36:00 grex /bsd: spec_vnoperate(e88e9ed4,1,0,d6a72354,d0580bc0) at 
spec_vnoperate+0x16
Dec  9 14:36:00 grex /bsd: VOP_BWRITE(d6a55f1c,0,1,0) at VOP_BWRITE+0x25
Dec  9 14:36:00 grex /bsd: 
ffs_fsync(e88e9f24,d6a13d24,10052,d6a27004,d05806c0) at ffs_fsync+0x1df
Dec  9 14:36:00 grex /bsd: 
VOP_FSYNC(d6a13d24,d6a36000,3,d6a27004,0,12,d6a27004) at VOP_FSYNC+0x34
Dec  9 14:36:00 grex /bsd: sched_sync(d6a27004) at sched_sync+0x100
Dec  9 14:36:00 grex /bsd: Bad frame pointer: 0xd06f1ed8
Dec  9 14:36:00 grex /bsd: End of stack trace.

[dmesg]
Dec 12 21:24:57 grex /bsd: OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 
2005
Dec 12 21:24:57 grex /bsd:     
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
Dec 12 21:24:57 grex /bsd: cpu0: AMD Athlon(TM) XP ("AuthenticAMD" 686-class, 
512KB L2 cache) 2.09 GHz
Dec 12 21:24:57 grex /bsd: cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
Dec 12 21:24:57 grex /bsd: cpu0: AMD Powernow: FID
Dec 12 21:24:57 grex /bsd: real mem  = 536436736 (523864K)
Dec 12 21:24:57 grex /bsd: avail mem = 482582528 (471272K)
Dec 12 21:24:57 grex /bsd: using 4278 buffers containing 26923008 bytes 
(26292K) of memory
Dec 12 21:24:57 grex /bsd: mainbus0 (root)
Dec 12 21:24:57 grex /bsd: bios0 at mainbus0: AT/286+(4a) BIOS, date 11/05/02, 
BIOS32 rev. 0 @ 0xf16f0
Dec 12 21:24:57 grex /bsd: apm0 at bios0: Power Management spec V1.2
Dec 12 21:24:57 grex /bsd: apm0: AC on, battery charge unknown
Dec 12 21:24:57 grex /bsd: apm0: flags 30102 dobusy 0 doidle 1
Dec 12 21:24:57 grex /bsd: pcibios0 at bios0: rev 2.1 @ 0xf0000/0x1db2
Dec 12 21:24:57 grex /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @ 
0xf1cd0/224 (12 entries)
Dec 12 21:24:57 grex /bsd: pcibios0: PCI Interrupt Router at 000:17:0 ("VIA 
VT82C586 ISA" rev 0x00)
Dec 12 21:24:57 grex /bsd: pcibios0: PCI bus #1 is the last bus
Dec 12 21:24:57 grex /bsd: bios0: ROM list: 0xc0000/0x8000 0xc8000/0x5400
Dec 12 21:24:57 grex /bsd: cpu0 at mainbus0
Dec 12 21:24:57 grex /bsd: pci0 at mainbus0 bus 0: configuration mode 1 (no 
bios)
Dec 12 21:24:57 grex /bsd: pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 
0x00
Dec 12 21:24:57 grex /bsd: ppb0 at pci0 dev 1 function 0 "VIA VT8235 AGP" rev 
0x00
Dec 12 21:24:57 grex /bsd: pci1 at ppb0 bus 1
Dec 12 21:24:57 grex /bsd: "VIA VT6306 FireWire" rev 0x80 at pci0 dev 7 
function 0 not configured
Dec 12 21:24:57 grex /bsd: pciide0 at pci0 dev 8 function 0 "Promise PDC20376" 
rev 0x02: DMA
Dec 12 21:24:57 grex /bsd: pciide0: using irq 11 for native-PCI interrupt
Dec 12 21:24:57 grex /bsd: bge0 at pci0 dev 9 function 0 "Broadcom BCM5702X" 
rev 0x02, BCM5703 A2 (0x1002): irq 10 address 00:e0:18:d3:6f:3f
Dec 12 21:24:57 grex /bsd: brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT 
PHY, rev. 2
Dec 12 21:24:57 grex /bsd: vga1 at pci0 dev 12 function 0 "Matrox MGA 1064SG 
220MHz" rev 0x02
Dec 12 21:24:57 grex /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 
emulation)
Dec 12 21:24:57 grex /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 
emulation)
Dec 12 21:24:57 grex /bsd: ahc1 at pci0 dev 14 function 0 "Adaptec AHA-29160 
U160" rev 0x02: irq 11
Dec 12 21:24:57 grex /bsd: scsibus0 at ahc1: 16 targets
Dec 12 21:24:57 grex /bsd: sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST336754LW, 
0002> SCSI3 0/direct fixed
Dec 12 21:24:57 grex /bsd: sd0: 35003MB, 50824 cyl, 2 head, 705 sec, 512 
bytes/sec, 71687372 sec total
Dec 12 21:24:57 grex /bsd: sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST318453LW, 
0003> SCSI3 0/direct fixed
Dec 12 21:24:57 grex /bsd: sd1: 17501MB, 31310 cyl, 2 head, 572 sec, 512 
bytes/sec, 35843686 sec total
Dec 12 21:24:57 grex /bsd: sd2 at scsibus0 targ 2 lun 0: <SEAGATE, ST318453LW, 
0003> SCSI3 0/direct fixed
Dec 12 21:24:57 grex /bsd: sd2: 17501MB, 31310 cyl, 2 head, 572 sec, 512 
bytes/sec, 35843686 sec total
Dec 12 21:24:57 grex /bsd: uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" 
rev 0x80: irq 5
Dec 12 21:24:57 grex /bsd: usb0 at uhci0: USB revision 1.0
Dec 12 21:24:57 grex /bsd: uhub0 at usb0
Dec 12 21:24:57 grex /bsd: uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
Dec 12 21:24:57 grex /bsd: uhub0: 2 ports with 2 removable, self powered
Dec 12 21:24:57 grex /bsd: uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" 
rev 0x80: irq 5
Dec 12 21:24:57 grex /bsd: usb1 at uhci1: USB revision 1.0
Dec 12 21:24:57 grex /bsd: uhub1 at usb1
Dec 12 21:24:57 grex /bsd: uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
Dec 12 21:24:57 grex /bsd: uhub1: 2 ports with 2 removable, self powered
Dec 12 21:24:57 grex /bsd: uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" 
rev 0x80: irq 5
Dec 12 21:24:57 grex /bsd: usb2 at uhci2: USB revision 1.0
Dec 12 21:24:57 grex /bsd: uhub2 at usb2
Dec 12 21:24:57 grex /bsd: uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
Dec 12 21:24:57 grex /bsd: uhub2: 2 ports with 2 removable, self powered
Dec 12 21:24:57 grex /bsd: ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" 
rev 0x82: irq 5
Dec 12 21:24:57 grex /bsd: usb3 at ehci0: USB revision 2.0
Dec 12 21:24:57 grex /bsd: uhub3 at usb3
Dec 12 21:24:57 grex /bsd: uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
Dec 12 21:24:57 grex /bsd: uhub3: 6 ports with 6 removable, self powered
Dec 12 21:24:57 grex /bsd: pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" 
rev 0x00
Dec 12 21:24:57 grex /bsd: pciide1 at pci0 dev 17 function 1 "VIA VT82C571 
IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 
configured to compatibility
Dec 12 21:24:57 grex /bsd: wd0 at pciide1 channel 0 drive 0: <WDC 
WD800JB-00CRA1>
Dec 12 21:24:57 grex /bsd: wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
Dec 12 21:24:57 grex /bsd: atapiscsi0 at pciide1 channel 0 drive 1
Dec 12 21:24:57 grex /bsd: scsibus1 at atapiscsi0: 2 targets
Dec 12 21:24:57 grex /bsd: cd0 at scsibus1 targ 0 lun 0: <SONY, CD-RW 
CRX220E1, 6YS1> SCSI0 5/cdrom removable
Dec 12 21:24:57 grex /bsd: wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 
2
Dec 12 21:24:57 grex /bsd: cd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 
2
Dec 12 21:24:57 grex /bsd: pciide1: channel 1 disabled (no drives)
Dec 12 21:24:57 grex /bsd: isa0 at pcib0
Dec 12 21:24:57 grex /bsd: isadma0 at isa0
Dec 12 21:24:57 grex /bsd: pckbc0 at isa0 port 0x60/5
Dec 12 21:24:57 grex /bsd: pckbd0 at pckbc0 (kbd slot)
Dec 12 21:24:57 grex /bsd: pckbc0: using irq 1 for kbd slot
Dec 12 21:24:57 grex /bsd: wskbd0 at pckbd0: console keyboard, using 
wsdisplay0
Dec 12 21:24:57 grex /bsd: pcppi0 at isa0 port 0x61
Dec 12 21:24:57 grex /bsd: midi0 at pcppi0: <PC speaker>
Dec 12 21:24:57 grex /bsd: spkr0 at pcppi0
Dec 12 21:24:57 grex /bsd: sysbeep0 at pcppi0
Dec 12 21:24:57 grex /bsd: lpt0 at isa0 port 0x378/4 irq 7
Dec 12 21:24:57 grex /bsd: npx0 at isa0 port 0xf0/16: using exception 16
Dec 12 21:24:57 grex /bsd: pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 
byte fifo
Dec 12 21:24:57 grex /bsd: pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 
byte fifo
Dec 12 21:24:57 grex /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
Dec 12 21:24:57 grex /bsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
Dec 12 21:24:57 grex /bsd: biomask fb65 netmask ff65 ttymask ffe7
Dec 12 21:24:57 grex /bsd: pctr: user-level cycle counter enabled
Dec 12 21:24:57 grex /bsd: mtrr: Pentium Pro MTRR support
Dec 12 21:24:57 grex /bsd: ahc1: target 0 using 16bit transfers
Dec 12 21:24:57 grex /bsd: ahc1: target 0 synchronous at 80.0MHz DT, offset = 
0x3f
Dec 12 21:24:57 grex /bsd: dkcsum: sd0 matches BIOS drive 0x80
Dec 12 21:24:57 grex /bsd: ahc1: target 1 using 16bit transfers
Dec 12 21:24:57 grex /bsd: ahc1: target 1 synchronous at 80.0MHz DT, offset = 
0x3f
Dec 12 21:24:57 grex /bsd: dkcsum: sd1 matches BIOS drive 0x81
Dec 12 21:24:57 grex /bsd: ahc1: target 2 using 16bit transfers
Dec 12 21:24:57 grex /bsd: ahc1: target 2 synchronous at 80.0MHz DT, offset = 
0x3f
Dec 12 21:24:57 grex /bsd: dkcsum: sd2 matches BIOS drive 0x82
Dec 12 21:24:57 grex /bsd: dkcsum: wd0 matches BIOS drive 0x83
Dec 12 21:24:57 grex /bsd: root on sd0a
Dec 12 21:24:57 grex /bsd: rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Reply via email to