Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2001 07:53:05 +0900
From:      neckpain@nettaxi.com
To:        current@freebsd.org
Subject:   panic kldunload'ing: static sysctl oid too high
Message-ID:  <200108102252.PAA03031@taxismtp1.alchemyfx.com>

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

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello.
I'm running current as of 2001.08.01.00.00.00 (plus John Baldwin's patch
against kern_lock.c; without this patch I couldn't get the crash dump),
and had a panic kldunload'ing snd_ds1 module. I'm not sure what's going on,
but confirmed the following:

 - unloading snd_ds1 always panics(either when it's loaded from
    /boot/loader.conf, or from the command line by kldload).
 - loading and unloading snd_pcm alone does not panic(snd_pcm is a driver
    loaded as dependency when snd_ds1 is loaded).
 - unloading some other modules does not panic.
 - the last kernel I remember that didn't panic was from 2001.07.20.00.00.00 .

Regards.

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=backtrace
Content-Transfer-Encoding: quoted-printable

Script started on Sat Aug 11 07:25:25 2001
# gdb -k /usr/obj/kernel.2001*/kernel.debug vmcore.2=0D
GNU gdb 4.18=0D
Copyright 1998 Free Software Foundation, Inc.=0D
GDB is free software, covered by the GNU General Public License, and you ar=
e=0D
welcome to change it and/or distribute copies of it under certain condition=
s.=0D
Type "show copying" to see the conditions.=0D
There is absolutely no warranty for GDB.  Type "show warranty" for details.=
=0D
This GDB was configured as "i386-unknown-freebsd"...=0D
IdlePTD 4030464=0D
initial pcb at 2bb000=0D
panicstr: static sysctl oid too high: 753=0D
panic messages:=0D
---=0D
panic: static sysctl oid too high: 753=0D
=0D
syncing disks... =0D
done=0D
Uptime: 35s=0D
=0D
dumping to dev ad0s1b, offset 1966208=0D
dump ata0: resetting devices .. ata0: mask=3D03 ostat0=3D50 ostat2=3D00=0D
ad0: ATAPI probe 00 00=0D
ata0-slave: ATAPI probe 00 00=0D
ata0: mask=3D03 stat0=3D50 stat1=3D00=0D
ad0: ATA probe 01 a5=0D
ata0: devices=3D01=0D
ad0: success setting PIO4 on generic chip=0D
done=0D
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 =
38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 =
13 12 11 10 9 8 7 6 5 4 3 2 1 0 =0D
---=0D
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:478=0D
478		if (dumping++) {=0D
(kgdb) bt=0D
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:478=0D
#1  0xc01756f3 in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3=
21=0D
#2  0xc0175b0d in panic (fmt=3D0xc02725e0 "static sysctl oid too high: %d")=
=0D
    at /usr/src/sys/kern/kern_shutdown.c:600=0D
#3  0xc017f136 in sysctl_register_oid (oidp=3D0xc0dff440)=0D
    at /usr/src/sys/kern/kern_sysctl.c:125=0D
#4  0xc017f213 in sysctl_ctx_free (clist=3D0xc0e26a64)=0D
    at /usr/src/sys/kern/kern_sysctl.c:190=0D
#5  0xc0e87d0c in ?? ()=0D
#6  0xc0e71f0a in ?? ()=0D
#7  0xc0185d1a in device_detach (dev=3D0xc0da9180) at device_if.h:49=0D
#8  0xc0184e32 in devclass_delete_driver (busclass=3D0xc05a5c40, =0D
    driver=3D0xc0e79648) at /usr/src/sys/kern/subr_bus.c:237=0D
#9  0xc0186fb7 in driver_module_handler (mod=3D0xc0dff700, what=3D1, =0D
    arg=3D0xc0e79664) at /usr/src/sys/kern/subr_bus.c:1778=0D
#10 0xc016d9f1 in module_unload (mod=3D0xc0dff700)=0D
    at /usr/src/sys/kern/kern_module.c:195=0D
#11 0xc0169a3a in linker_file_unload (file=3D0xc0e28600)=0D
    at /usr/src/sys/kern/kern_linker.c:456=0D
#12 0xc016a131 in kldunload (p=3D0xc5af6200, uap=3D0xc77bcf80)=0D
    at /usr/src/sys/kern/kern_linker.c:764=0D
#13 0xc0251a45 in syscall (frame=3D{tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 4=
7, =0D
      tf_edi =3D 6, tf_esi =3D -1077936598, tf_ebp =3D -1077936844, =0D
---Type <return> to continue, or q <return> to quit---=0D
      tf_isp =3D -948187180, tf_ebx =3D 0, tf_edx =3D 0, tf_ecx =3D 1345637=
12, =0D
      tf_eax =3D 305, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 134514204,=
 =0D
      tf_cs =3D 31, tf_eflags =3D 663, tf_esp =3D -1077937944, tf_ss =3D 47=
})=0D
    at /usr/src/sys/i386/i386/trap.c:1133=0D
#14 0xc0243dad in syscall_with_err_pushed ()=0D
#15 0x8048135 in ?? ()=0D
(kgdb) q=0D
# ^D=08=08
Script done on Sat Aug 11 07:26:06 2001

--pf9I7BMVVzbSWLtt--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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