Hello,

My OpenBSD 3.9-stable Box is quite unstable. I don't have physical access to
my box so I can't debug it directly.
I've recompiled a GENERIC kernel with DEBUG support and set ddb.panic to 0
in sysctl.conf so that it's rebooting automaticly. But no kernel dump is
made after a kernel panic. I searched on the web without finding a solution.




Everytime the kernel panic is different. 
I tried the -current (and also 3.8). The result is nearly the same: no more
kernel panics but the system freeze but it's still responding to the ping.

As I said before in another mail, this is NOT due to an hardware failure.
Many SAME machines work perfectly. The only difference is the revision of
the bios (vcore updated and Pstate disabled). I want to find the source of
the bug to correct it if I could.

Can you help me on this I'm quite lost.

Thanks a lot,

++ Jerome

Here are 3 differents kernel panics (from dmesg):
******** PANIC #1 ****************

panic: lockmgr: sleep/spin mismatch
Starting stack trace...
panic(e8efa4f4,cfbce344,e8f00e10,e8ef7000,cfbce344) at panic+0x85
panic(d03022f4,d015c495,8,216,0) at panic+0x85
lockmgr(cfbcae50,e8ef7000,4000,1,0) at lockmgr+0xbb
uiomove(e8ef7000,4000,e8f00e98,e8f00e98) at uiomove+0x10e
pipe_write(d77c9544,d77c9560,e8f00e98,d7973230) at pipe_write+0x179
dofilewrite(d77e5b48,7,d77c9544,cfbcae50,4000) at dofilewrite+0x6f
sys_write(d77e5b48,e8f00f68,e8f00f58,cfbcee50,d77e5b48) at sys_write+0x4b
syscall() at syscall+0x322
--- syscall (number 4) ---
0xa9cd9d9:
End of stack trace.
syncing disks... 34 34 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2



********* PANIC #2 ****************

dev = 0xad5ebb93, bsize = 0, size = -2048899701, fs =
panic: ffs_blkfree: bad size
Starting stack trace...
panic(3ffe,d71d4edd,e8f00d0c,3ffe,d71d4edd) at panic+0x85
panic(d0315a57,d1421b00,d14215c0,d952cc02,e8f00cdc) at panic+0x85
ffs_blkfree(d952a002,3ffe,85e0458b,d1499200,0) at ffs_blkfree+0x5d
ffs_truncate(d952a002,87195048,3ffe,0,d1499200) at ffs_truncate+0x15ef
uiomove(d952a002,3ffe,e8f00e98,4000) at uiomove+0xfe
ffs_read(e8f00e18,10b2fbe,e8f00e40,d0194620,d0343760) at ffs_read+0x2a4
VOP_READ(d782f270,e8f00e98,0,d7973230,e8f00ea8) at VOP_READ+0x34
vn_read(d77ba6c4,d77ba6e0,e8f00e98,d7973230) at vn_read+0x76
dofileread(d77e1b48,6,d77ba6c4,87195048,4000) at dofileread+0x6e
sys_read(d77e1b48,e8f00f68,e8f00f58,82de4000,d77e1b48) at sys_read+0x4b
syscall() at syscall+0x322
--- syscall (number 3) ---
0xd84f0b9:
End of stack trace.
syncing disks... 6 6

********** PANIC #3 ****************
panic: pool_put: namei: page header missing
Starting stack trace...
panic(0,0,d147c0a8,d037a800,0) at panic+0x85
panic(d03049a0,d0301dc5,10,10,0) at panic+0x85
pool_do_put(d037a800,0,400,e8f16018,0) at pool_do_put+0x17c
namei(e8f16000,3c00c0c0,4000,0,448c5beb) at namei+0xb6
uiomove(e8f16000,4000,e8f14e98,fc00) at uiomove+0xfe
pipe_read(d77c6394,d77c63b0,e8f14e98,d7973280) at pipe_read+0x7d
dofileread(d7721174,5,d77c6394,3c00c0c0,fc00) at dofileread+0x6e
sys_read(d7721174,e8f14f68,e8f14f58,fc00,d7970000) at sys_read+0x4b
syscall() at syscall+0x322
--- syscall (number 3) ---
0x1c00e60d:
End of stack trace.
syncing disks... 5 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1


Here is my Dmesg:
OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Esther processor 2000MHz ("CentaurHauls" 686-class) 2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MM
X,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
real mem  = 1056481280 (1031720K)
avail mem = 957259776 (934824K)
using 4278 buffers containing 52928512 bytes (51688K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b3) BIOS, date 02/21/06, BIOS32 rev. 0 @ 0xf9350
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xc4e4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc440/160 (8 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 8 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8237 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xfc00 0xd0000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "VIA", unknown product 0x0314 rev 0x00
pchb1 at pci0 dev 0 function 1 vendor "VIA", unknown product 0x1314 rev 0x00
pchb2 at pci0 dev 0 function 2 vendor "VIA", unknown product 0x2314 rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA PT890 Host" rev 0x00
pchb4 at pci0 dev 0 function 4 vendor "VIA", unknown product 0x4314 rev 0x00
pchb5 at pci0 dev 0 function 7 vendor "VIA", unknown product 0x7314 rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "VIA", unknown product 0x3344 rev 0x01:
aperture at 0xf4000000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vge0 at pci0 dev 14 function 0 "VIA VT612x" rev 0x11: irq 10, address
00:40:63:e4:6a:74
ciphy0 at vge0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 2
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST3160812AS>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
pciide1: channel 0 disabled (no drives)
pciide1: channel 1 ignored (disabled)
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
iic0 at viapm0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: using exception 16
biomask fbfd netmask fffd ttymask ffff
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which 
had a name of smime.p7s]

Reply via email to