kldunload and sysctl cause kernel panic

From: Alexander Nikiforenko <alexander.nikiforenko_at_gmail.com>
Date: Wed, 19 Oct 2005 15:46:25 +0400
Hi,

FreeBSD t23 6.0-RC1 FreeBSD 6.0-RC1 #1: Tue Oct 18 22:53:17 MSD 2005  
  root_at_t23:/usr/obj/usr/src/sys/T23  i386

kldunload sio

#0  doadump () at pcpu.h:165
#1  0xc04d1b32 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc04d1dc8 in panic (fmt=0xc05f2c26 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc05d5344 in trap_fatal (frame=0xcc7b8c74, eva=3245058928)
    at /usr/src/sys/i386/i386/trap.c:831
#4  0xc05d50af in trap_pfault (frame=0xcc7b8c74, usermode=0, eva=3245058928)
    at /usr/src/sys/i386/i386/trap.c:742
#5  0xc05d4d0d in trap (frame=
      {tf_fs = -1068630008, tf_es = 524328, tf_ds = -1068629976, tf_edi = 7, tf_
esi = 4, tf_ebp = -864318232, tf_isp = -864318304, tf_ebx = -1067159136, tf_edx
= -1055665024, tf_ecx = -969893912, tf_eax = -1055665024, tf_trapno = 12, tf_err
 = 0, tf_eip = -1049908368, tf_cs = 32, tf_eflags = 590342, tf_esp = -1068639305
, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:432
#6  0xc05c4e0a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc16bab70 in ?? ()
Previous frame inner to this frame (corrupt stack?)

----

sysctl -a

#0  doadump () at pcpu.h:165
#1  0xc04d1b32 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc04d1dc8 in panic (fmt=0xc05f2c26 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc05d5344 in trap_fatal (frame=0xdd377ad8, eva=191)
    at /usr/src/sys/i386/i386/trap.c:831
#4  0xc05d50af in trap_pfault (frame=0xdd377ad8, usermode=0, eva=191)
    at /usr/src/sys/i386/i386/trap.c:742
#5  0xc05d4d0d in trap (frame=
      {tf_fs = -583598072, tf_es = 40, tf_ds = -583598040, tf_edi = -583566468,
tf_esi = -1054962688, tf_ebp = -583566568, tf_isp = -583566588, tf_ebx = -105496
2688, tf_edx = -1049856512, tf_ecx = 0, tf_eax = -1, tf_trapno = 12, tf_err = 0,
 tf_eip = -1068991719, tf_cs = 32, tf_eflags = 66182, tf_esp = -583566400, tf_ss
 = -1068489025}) at /usr/src/sys/i386/i386/trap.c:432
#6  0xc05c4e0a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0487b19 in dev2udev (x=0xc16c7600)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:1145
#8  0xc05026bf in sysctl_kern_ttys (oidp=0xc062c840, arg1=0x0, arg2=0,
    req=0xdd377c04) at /usr/src/sys/kern/tty.c:3040
#9  0xc04d98f3 in sysctl_root (oidp=0x0, arg1=0x0, arg2=0, req=0xdd377c04)
    at /usr/src/sys/kern/kern_sysctl.c:1248
#10 0xc04d9af0 in userland_sysctl (td=0xffffffff, name=0xdd377c74, namelen=2,
    old=0xdd377c04, oldlenp=0xbfbfd9fc, inkernel=0, new=0x0,
    newlen=4294967295, retval=0xdd377c70, flags=-1)
    at /usr/src/sys/kern/kern_sysctl.c:1347
#11 0xc04d9993 in __sysctl (td=0xc16c2300, uap=0xdd377d04)
    at /usr/src/sys/kern/kern_sysctl.c:1282
#12 0xc05d565b in syscall (frame=
      {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 2, tf_esi = -1077945860, tf_
ebp = -1077945944, tf_isp = -583565980, tf_ebx = 672367844, tf_edx = 0, tf_ecx =
 -1077943648, tf_eax = 202, tf_trapno = 12, tf_err = 2, tf_eip = 671840819, tf_c
s = 51, tf_eflags = 662, tf_esp = -1077946004, tf_ss = 59})
    at /usr/src/sys/i386/i386/trap.c:976
#13 0xc05c4e5f in Xint0x80_syscall ()
    at /usr/src/sys/i386/i386/exception.s:200
#14 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)



--
Alexander
Received on Wed Oct 19 2005 - 09:46:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC