Hi,

I've got a panic by unplugging my NIC then plugging it again and then doing
a dhclient <interface>. I've attached some informations about the panic.

-- Aurélien
Script started on Tue Nov 26 20:17:13 2002

nebula# /sys/i386/compile/NEBULAggdb -k

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd".
(kgdb) symbol-file kernel.debug 
Reading symbols from kernel.debug...done.
(kgdb) exec-file /boot/kernel/kernel
(kgdb) core-file /var/crash/vmcore.0 
panic: from debugger
panic messages:
---
panic: Most recently used by bus

panic: from debugger
Uptime: 2h0m15s
Dumping 123 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112
---
#0  doadump () at ../../../kern/kern_shutdown.c:232
232             dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:232
#1  0xc0216bfe in boot (howto=260) at ../../../kern/kern_shutdown.c:364
#2  0xc0216e43 in panic () at ../../../kern/kern_shutdown.c:517
#3  0xc013bed2 in db_panic () at ../../../ddb/db_command.c:450
#4  0xc013be52 in db_command (last_cmdp=0xc039cee0, cmd_table=0x0, 
    aux_cmd_tablep=0xc0397a0c, aux_cmd_tablep_end=0xc0397a10)
    at ../../../ddb/db_command.c:346
#5  0xc013bf66 in db_command_loop () at ../../../ddb/db_command.c:472
#6  0xc013ebfa in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:72
#7  0xc032eed2 in kdb_trap (type=3, code=0, regs=0xc9077910)
    at ../../../i386/i386/db_interface.c:166
#8  0xc033fabf in trap (frame=
      {tf_fs = -1061945320, tf_es = -922288112, tf_ds = -1071644656, tf_edi = 
-1045057088, tf_esi = 256, tf_ebp = -922257060, tf_isp = -922257092, tf_ebx = 0, 
tf_edx = 0, tf_ecx = 3840, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = 
-1070403212, tf_cs = 8, tf_eflags = 658, tf_esp = -1070001757, tf_ss = -1070110374})
    at ../../../i386/i386/trap.c:603
#9  0xc03306a8 in calltrap () at {standard input}:98
#10 0xc0216e2b in panic (fmt=0x0) at ../../../kern/kern_shutdown.c:503
#11 0xc0311c4d in mtrash_ctor (mem=0xc1820800, size=0, arg=0x0)
    at ../../../vm/uma_dbg.c:138
#12 0xc0310667 in uma_zalloc_arg (zone=0xc0b4c3c0, udata=0x0, flags=0)
    at ../../../vm/uma_core.c:1358
#13 0xc020b626 in malloc (size=6, type=0xc03c14e0, flags=0)
---Type <return> to continue, or q <return> to quit---
    at ../../../kern/kern_malloc.c:182
#14 0xc01f1b73 in exec_elf32_imgact (imgp=0xc9077b88) at imgact_elf.c:804
#15 0xc01feae2 in kern_execve (td=0xc1b5b1c0, fname=---Can't read userspace from dump, 
or kernel process---

)
    at ../../../kern/kern_exec.c:313
#16 0xc01ff570 in execve (td=0x0, uap=0x0) at ../../../kern/kern_exec.c:694
#17 0xc034039e in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135274340, tf_esi = 135274500, 
tf_ebp = -1077938104, tf_isp = -922256012, tf_ebx = 0, tf_edx = 135274500, tf_ecx = 
135274500, tf_eax = 59, tf_trapno = 12, tf_err = 2, tf_eip = 134723367, tf_cs = 31, 
tf_eflags = 646, tf_esp = -1077938132, tf_ss = 47})
    at ../../../i386/i386/trap.c:1033
#18 0xc03306fd in Xint0x80_syscall () at {standard input}:140
---Can't read userspace from dump, or kernel process---

(kgdb) frame 11
#11 0xc0311c4d in mtrash_ctor (mem=0xc1820800, size=0, arg=0x0)
    at ../../../vm/uma_dbg.c:138
138                             panic("Most recently used by %s\n", (*ksp == NULL)?
(kgdb) list
133     
134             for (p = mem; cnt > 0; cnt--, p++)
135                     if (*p != uma_junk) {
136                             printf("Memory modified after free %p(%d)\n",
137                                 mem, size);
138                             panic("Most recently used by %s\n", (*ksp == NULL)?
139                                 "none" : (*ksp)->ks_shortdesc);
140                     }
141     }
142     
(kgdb) p p
$1 = (u_int32_t *) 0x0
(kgdb) p uma_junk
$2 = 3735929054
(kgdb) quit

nebula# /sys/i386/compile/NEBULAeexit


Script done on Tue Nov 26 20:18:30 2002

Attachment: msg47532/pgp00000.pgp
Description: PGP signature

Reply via email to