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

3.1 release kernel panic



I had a machine running netsaint to monitor our network, but it was 
openbsd 2.8, so mysql would barf on us now and then.  So I upgraded it 
to 3.1, just by simply picking the "upgrade" option on the floppy, as 
well as adding a few users, groups, doing a MAKEDEV all, etc.

Now it kernel panics roughly once a day with the following:

Jul  6 19:02:08 bilbo savecore: reboot after panic: kernel diagnostic 
assertion "tmp && tmp->space >= length" failed: file 
"/usr/src/sys/arch/i386/compile/GENERIC/../../../../uvm/uvm_map.c", 
line 1215

a ps, vmstat and a trace are below.  Google seemed to know nothing about 
this, anybody know what's wrong?  Need any other info?

Thanks
Adam

# ps -a -u -x -k -M /var/crash/bsd.2.core -N /var/crash/bsd.2
USER       PID %CPU %MEM   VSZ   RSS TT   STAT STARTED       TIME 
COMMAND
netsaint 27368 39.6  0.0   148     0 ??  R      5:26PM    0:00.01 (perl)
root     20707  1.4  0.0  9928     0 C0- S      2:57PM    1:05.04 
(mysqld)
netsaint 29593  1.0  0.0   248     0 ??  R      5:26PM    0:00.04 
(snmpget)
netsaint 30422  1.0  0.0   248     0 ??  R      5:26PM    0:00.04 
(snmpget)
netsaint 13632  1.0  0.0   248     0 ??  R      5:26PM    0:00.04 
(snmpget)
netsaint 24334  1.5  0.0   224     0 ??  R      5:26PM    0:00.04 
(snmpget)
netsaint 26667  1.0  0.0   248     0 ??  R      5:26PM    0:00.06 
(snmpget)
netsaint 11338  1.0  0.0   184     0 ??  R      5:26PM    0:00.02 
(snmpget)
netsaint 32118  1.0  0.0   248     0 ??  R      5:26PM    0:00.04 
(snmpget)
netsaint  2794  1.0  0.0   216     0 ??  R      5:26PM    0:00.03 
(snmpget)
netsaint 16490  1.0  0.0   248     0 ??  R      5:26PM    0:00.07 
(snmpget)
netsaint 15603  1.0  0.0   392     0 ??  R      5:26PM    0:00.05 
(rrdtool)
netsaint 25649  1.0  0.0   248     0 ??  R      5:26PM    0:00.04 
(snmpget)
root     26767  0.0  0.0   372     0 ??  Is     2:57PM    0:00.21 (sshd)
root     22504  0.0  0.0   376     0 C0- I      2:57PM    0:00.11 (sh)
www      30506  0.0  0.0  1236     0 ??  I      2:57PM    0:00.16 
(httpd)
www       9440  0.0  0.0  1236     0 ??  I      2:57PM    0:00.16 
(httpd)
www       7488  0.0  0.0  1300     0 ??  I      2:57PM    0:00.17 
(httpd)
www      16093  0.0  0.0  1304     0 ??  I      2:57PM    0:00.16 
(httpd)
www        370  0.0  0.0  1304     0 ??  I      2:57PM    0:00.15 
(httpd)
root      6666  0.0  0.0   224     0 ??  Ss     2:58PM    0:00.02 (cron)
root     23620  0.0  0.0    48     0 C0  Is+    2:58PM    0:00.00 
(getty)
root      6827  0.0  0.0    48     0 C1  Is+    2:58PM    0:00.00 
(getty)
root     29653  0.0  0.0    44     0 C2  Is+    2:58PM    0:00.00 
(getty)
root     15223  0.0  0.0    44     0 C3  Is+    2:58PM    0:00.00 
(getty)
root     23368  0.0  0.0    44     0 C5  Is+    2:58PM    0:00.00 
(getty)
www         42  0.0  0.0  1308     0 ??  I      3:06PM    0:00.15 
(httpd)
www      21824  0.0  0.0  1312     0 ??  I      3:06PM    0:00.15 
(httpd)
www      27322  0.0  0.0  1308     0 ??  I      3:06PM    0:00.13 
(httpd)
www      30046  0.0  0.0  1308     0 ??  I      3:06PM    0:00.13 
(httpd)
netsaint 15703  0.9  0.0  2556     0 ??  Rs     3:07PM    0:40.85 
(netsaint)
netsaint 17339  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 18788  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 32488  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint  5908  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint  3196  0.0  0.0   148     0 ??  S      5:26PM    0:00.02 (perl)
netsaint 11690  0.0  0.0  2556     0 ??  S      5:26PM    0:00.01 
(netsaint)
netsaint  9746  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint  5363  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 13596  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 15802  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 20506  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint  6490  0.0  0.0   148     0 ??  S      5:26PM    0:00.05 (perl)
netsaint 24331  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint  5523  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 13546  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 23218  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 10518  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 24234  0.0  0.0  2556     0 ??  S      5:26PM    0:00.01 
(netsaint)
netsaint 14899  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 31973  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 15827  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 23106  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint  6169  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 17092  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint   459  0.0  0.0   368     0 ??  S      5:26PM    0:00.01 (sh)
netsaint 27765  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 24953  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 20639  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint  4974  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 30680  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 31955  0.0  0.0   148     0 ??  S      5:26PM    0:00.02 (perl)
netsaint 17683  0.0  0.0   368     0 ??  S      5:26PM    0:00.03 (sh)
netsaint 20188  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 19542  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 22258  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 15938  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 18179  0.0  0.0   232     0 ??  R      5:26PM    0:00.04 
(snmpget)
netsaint 16650  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 29608  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 24240  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 24954  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 30406  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint   692  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
root         0  0.0  0.0     0     0 ??  RKLs   2:55PM    0:00.01 
(swapper)
netsaint 11542  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 18152  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint  8542  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint  4411  0.0  0.0   148     0 ??  S      5:26PM    0:00.05 (perl)
netsaint 28609  0.0  0.0   136     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 14642  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint  8128  0.0  0.0  2556     0 ??  S      5:26PM    0:00.00 
(netsaint)
netsaint 11595  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 17316  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint  8296  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 20131  0.0  0.0   136     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 23608  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 23255  0.0  0.0   136     0 ??  S      5:26PM    0:00.01 (perl)
netsaint 26791  0.7  0.0   248     0 ??  R      5:26PM    0:00.04 
(snmpget)
netsaint 17483  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 16766  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 18342  0.0  0.0   368     0 ??  S      5:26PM    0:00.03 (sh)
netsaint 16015  0.0  0.0   116     0 ??  R      5:26PM    0:00.01 
(snmpget)
netsaint 18106  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 27220  0.0  0.0   132     0 ??  R      5:26PM    0:00.01 
(snmpget)
netsaint 23767  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint   726  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint  9292  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 23914  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 26794  0.0  0.0   368     0 ??  S      5:26PM    0:00.04 (sh)
netsaint  2496  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint  1875  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 13041  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 18974  0.0  0.0   116     0 ??  R      5:26PM    0:00.05 
(snmpget)
netsaint  4321  0.5  0.0   184     0 ??  R      5:26PM    0:00.02 
(snmpget)
netsaint  3944  0.0  0.0   368     0 ??  S      5:26PM    0:00.02 (sh)
netsaint  4507  0.0  0.0   368     0 ??  S      5:26PM    0:00.00 (sh)
netsaint 20777  0.0  0.0   148     0 ??  S      5:26PM    0:00.01 (perl)
root         1  0.0  0.0   336     0 ??  Ss     2:55PM    0:00.34 (init)
root         2  0.0  0.0     0     0 ??  DKL    2:55PM    0:00.01 
(pagedaemon)
root         3  0.0  0.0     0     0 ??  DKL    2:55PM    0:04.69 
(reaper)
root         4  0.0  0.0     0     0 ??  DKL    2:55PM    0:00.04 
(cleaner)
root         5  0.0  0.0     0     0 ??  RKL    2:55PM    0:00.67 
(update)
root         6  0.0  0.0     0     0 ??  DKL    2:55PM    0:00.01 
(aiodoned)
root         7  0.0  0.0     0     0 ??  DKL    2:55PM    0:00.01 
(crypto)
root         8  0.0  0.0     0     0 ??  RKL    2:55PM    0:00.08 (apm0)
root         9  0.0  0.0     0     0 ??  DKL    2:55PM    0:00.01 (usb0)
root     25292  0.0  0.0 102844     0 ??  Is     2:56PM    0:00.03 
(mount_mfs)
root     25917  0.0  0.0   100     0 ??  Rs     2:56PM    0:00.29 
(syslogd)
root     18324  0.0  0.0  1076     0 ??  Rs     2:57PM    0:01.12 
(httpd)


# vmstat -M /var/crash/bsd.2.core -N /var/crash/bsd.2
 procs   memory        page                    disks     faults     cpu
 r b w    avm    fre   flt  re  pi  po  fr  sr wd0 fd0   in    sy   cs 
us sy id
 0 2 0  14300 211484  2296   0   0   0   0   0  16   0  145  1781   90 
19  6 75


panic: kernel diagnostic assertion "tmp && tmp->space >= length" failed: 
file 
"/usr/src/sys/arch/i386/compile/GENERIC/../../../../uvm/uvm_map.c", 
line 1215
#0  0x1000 in ?? ()
(gdb) where
#0  0x1000 in ?? ()
#1  0xe027b91c in boot ()
#2  0xe0183d03 in db_boot_dump_cmd ()
#3  0xe018383c in db_command ()
#4  0xe0183b2f in db_command_loop ()
#5  0xe0186f86 in db_trap ()
#6  0xe027658d in kdb_trap ()
#7  0xe02846b4 in trap ()
#8  0xe0100d65 in alltraps ()
#9  0xe01b61a1 in panic ()
#10 0xe01b60e7 in __assert ()
#11 0xe026239f in uvm_map_findspace ()
#12 0xe02619fe in uvm_map ()
#13 0xe025f350 in uvm_km_valloc_align ()
#14 0xe025f2f2 in uvm_km_valloc ()
#15 0xe01bb7d3 in pipespace ()
#16 0xe01bbc7e in pipe_write ()
#17 0xe01ba4f9 in dofilewrite ()
#18 0xe01ba463 in sys_write ()
#19 0xe0284d5a in syscall ()
#20 0xe0100e15 in Xsyscall ()
can not access 0xdfbfd9fc, invalid address (dfbfd9fc)
can not access 0xdfbfd9fc, invalid address (dfbfd9fc)
Cannot access memory at address 0xdfbfd9fc.



Visit your host, monkey.org