Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 15:46:25 +0400
From:      Alexander Nikiforenko <alexander.nikiforenko@gmail.com>
To:        current@freebsd.org
Subject:   kldunload and sysctl cause kernel panic
Message-ID:  <3b76d0c60510190446l61cb4d0arc044add86f3dc746@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

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

kldunload sio

#0  doadump () at pcpu.h:165
#1  0xc04d1b32 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3=
99
#2  0xc04d1dc8 in panic (fmt=3D0xc05f2c26 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc05d5344 in trap_fatal (frame=3D0xcc7b8c74, eva=3D3245058928)
    at /usr/src/sys/i386/i386/trap.c:831
#4  0xc05d50af in trap_pfault (frame=3D0xcc7b8c74, usermode=3D0, eva=3D3245=
058928)
    at /usr/src/sys/i386/i386/trap.c:742
#5  0xc05d4d0d in trap (frame=3D
      {tf_fs =3D -1068630008, tf_es =3D 524328, tf_ds =3D -1068629976, tf_e=
di =3D 7, tf_
esi =3D 4, tf_ebp =3D -864318232, tf_isp =3D -864318304, tf_ebx =3D -106715=
9136, tf_edx
=3D -1055665024, tf_ecx =3D -969893912, tf_eax =3D -1055665024, tf_trapno =
=3D 12, tf_err
 =3D 0, tf_eip =3D -1049908368, tf_cs =3D 32, tf_eflags =3D 590342, tf_esp =
=3D -1068639305
, tf_ss =3D 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=3D260) at /usr/src/sys/kern/kern_shutdown.c:3=
99
#2  0xc04d1dc8 in panic (fmt=3D0xc05f2c26 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc05d5344 in trap_fatal (frame=3D0xdd377ad8, eva=3D191)
    at /usr/src/sys/i386/i386/trap.c:831
#4  0xc05d50af in trap_pfault (frame=3D0xdd377ad8, usermode=3D0, eva=3D191)
    at /usr/src/sys/i386/i386/trap.c:742
#5  0xc05d4d0d in trap (frame=3D
      {tf_fs =3D -583598072, tf_es =3D 40, tf_ds =3D -583598040, tf_edi =3D=
 -583566468,
tf_esi =3D -1054962688, tf_ebp =3D -583566568, tf_isp =3D -583566588, tf_eb=
x =3D -105496
2688, tf_edx =3D -1049856512, tf_ecx =3D 0, tf_eax =3D -1, tf_trapno =3D 12=
, tf_err =3D 0,
 tf_eip =3D -1068991719, tf_cs =3D 32, tf_eflags =3D 66182, tf_esp =3D -583=
566400, tf_ss
 =3D -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=3D0xc16c7600)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:1145
#8  0xc05026bf in sysctl_kern_ttys (oidp=3D0xc062c840, arg1=3D0x0, arg2=3D0=
,
    req=3D0xdd377c04) at /usr/src/sys/kern/tty.c:3040
#9  0xc04d98f3 in sysctl_root (oidp=3D0x0, arg1=3D0x0, arg2=3D0, req=3D0xdd=
377c04)
    at /usr/src/sys/kern/kern_sysctl.c:1248
#10 0xc04d9af0 in userland_sysctl (td=3D0xffffffff, name=3D0xdd377c74, name=
len=3D2,
    old=3D0xdd377c04, oldlenp=3D0xbfbfd9fc, inkernel=3D0, new=3D0x0,
    newlen=3D4294967295, retval=3D0xdd377c70, flags=3D-1)
    at /usr/src/sys/kern/kern_sysctl.c:1347
#11 0xc04d9993 in __sysctl (td=3D0xc16c2300, uap=3D0xdd377d04)
    at /usr/src/sys/kern/kern_sysctl.c:1282
#12 0xc05d565b in syscall (frame=3D
      {tf_fs =3D 59, tf_es =3D 59, tf_ds =3D 59, tf_edi =3D 2, tf_esi =3D -=
1077945860, tf_
ebp =3D -1077945944, tf_isp =3D -583565980, tf_ebx =3D 672367844, tf_edx =
=3D 0, tf_ecx =3D
 -1077943648, tf_eax =3D 202, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 67=
1840819, tf_c
s =3D 51, tf_eflags =3D 662, tf_esp =3D -1077946004, tf_ss =3D 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b76d0c60510190446l61cb4d0arc044add86f3dc746>