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

Re: Kernel panic: "panic: leaf should be empty"



> doesn't sound like a bug, i'm afraid. yes, bumping a bit the number of
> vnodes may work as a palliative solution, getting you rid of this  
> panic.
>
> it'd be interesting to have more information about the filesystems you
> have mounted on that box, as well as the dmesg.
>
> -p.

Well it was another panic this time.
But i have set my kern.maxvnodes higher this time. Should I also change  
my kern.maxfiles?
So i hope it won't panic again with this error.

I have disabled the in kernel debugger (with sysctl) so it will reboot  
automatically when it crahes.

The new panic (2nd problem):
panic: pool_get(mbpl); free list modified: magic=deafbef7; page  
0xd0ef8000; item adddr 0xd0ef8800
Stopped at	Debugger+0x4: movl %ebp,%esp

ddb> trace
Debugger(d030c600,d0ef8800,0,e7b3da48,d015f116) at Debugger+0x4
panic(d0294fe0,d02970b5,deafbef7, d0ef8000, d0ef8800) at panic+0x83
pool_get(d030c600,0,b0,0,d0be4a98) at pool_get+0x211
xl_newbuf(d0be4800, d0be4a98,b0,ba720) at xl_newbuf+0x31
xl_rxeof(d0be4800,160000,387ee2,e7b3db24,d0bcfdc0) at xl_rxeof+0xbe
xl_intr(d0be4800) at xl_intr+0x8d
Xrecurse11() at Xrecurse11+0x7c
--- interrupt ---
idle(99,0,0,20,99) at idle+0x20
bpendtsleep(d030bf48,118,d02963aa,65,0) at bpendtsleep
sys_select(e7cde664,e7b3df88,e7b3df7c,d0be4800, 3c0ab034) at  
sys_select+0x368
syscall() at syscall+0x171
--- syscall (number 93) ---
0x4ee000d:

I guess this panic has something to do with my nic, as far as i  
remember my dmesg didn't output this when running OpenBSD 3.4:
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf74
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfded0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #1 is the last bus

Information about the server:

The server is running lots of services (ex: 2 apaches with php, mysql,  
qmail, courier, proftpd, cvs, named).

$sysctl -a kern.maxfiles kern.maxvnodes
kern.maxfiles=1772
kern.maxvnodes=5120

$ mount
/dev/wd0a on / type ffs (local, softdep)
/dev/wd0g on /home type ffs (local, nodev, nosuid, softdep)
/dev/wd0d on /tmp type ffs (local, nodev, nosuid, softdep)
/dev/wd0e on /usr type ffs (local, nodev, softdep)
/dev/wd0f on /var type ffs (local, softdep)
/dev/wd0h on /var/www type ffs (local, nodev, softdep)
/dev/wd1a on /var/courier type ffs (local, nodev, nosuid)

$ df -h
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/wd0a     501M   143M   333M    30%    /
/dev/wd0g     5.9G   1.6G   4.0G    28%    /home
/dev/wd0d     501M  10.0K   476M     0%    /tmp
/dev/wd0e     2.0G   1.4G   457M    76%    /usr
/dev/wd0f    1006M   495M   460M    52%    /var
/dev/wd0h     8.0G   4.5G   3.2G    59%    /var/www
/dev/wd1a     3.9G   440M   3.3G    12%    /var/courier

DMESG:
OpenBSD 3.5-stable (GENERIC) #1: Thu May  6 11:01:27 CEST 2004
     root@sequel.dakin.be:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
cpu0:  
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36, 
MMX,FXSR,SSE
real mem  = 536395776 (523824K)
avail mem = 491261952 (479748K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c0) BIOS, date 08/29/03, BIOS32 rev. 0 @  
0xfb460
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf74
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfded0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8366 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8366 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci0 dev 15 function 0 "S3 Trio32/64" rev 0x54
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
xl0 at pci0 dev 16 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 11  
address 00:04:76:9d:b7:e3
exphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
pcib0 at pci0 dev 17 function 0 "VIA VT8233 ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,  
channel 0 configured to compatibility, channel 1 configured to  
compatibility
wd0 at pciide0 channel 0 drive 0: <ST320011A>
wd0: 16-sector PIO, LBA, 19092MB, 39102336 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide0 channel 1 drive 1: <ST313021A>
wd1: 32-sector PIO, LBA, 12419MB, 25434228 sectors
wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
isa0 at pcib0
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>
sysbeep0 at pcppi0
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask c040 netmask c840 ttymask c842
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Thanks for your help!

Kenny Gryp
-- 
http://gryp.dakin.be




-- 
http://gryp.dakin.be