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
[-- Attachment #1 --]
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.
[-- Attachment #2 --]
Script started on Sat Aug 11 07:25:25 2001
# gdb -k /usr/obj/kernel.2001*/kernel.debug vmcore.2
GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
IdlePTD 4030464
initial pcb at 2bb000
panicstr: static sysctl oid too high: 753
panic messages:
---
panic: static sysctl oid too high: 753
syncing disks...
done
Uptime: 35s
dumping to dev ad0s1b, offset 1966208
dump ata0: resetting devices .. ata0: mask=03 ostat0=50 ostat2=00
ad0: ATAPI probe 00 00
ata0-slave: ATAPI probe 00 00
ata0: mask=03 stat0=50 stat1=00
ad0: ATA probe 01 a5
ata0: devices=01
ad0: success setting PIO4 on generic chip
done
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
---
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:478
478 if (dumping++) {
(kgdb) bt
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:478
#1 0xc01756f3 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:321
#2 0xc0175b0d in panic (fmt=0xc02725e0 "static sysctl oid too high: %d")
at /usr/src/sys/kern/kern_shutdown.c:600
#3 0xc017f136 in sysctl_register_oid (oidp=0xc0dff440)
at /usr/src/sys/kern/kern_sysctl.c:125
#4 0xc017f213 in sysctl_ctx_free (clist=0xc0e26a64)
at /usr/src/sys/kern/kern_sysctl.c:190
#5 0xc0e87d0c in ?? ()
#6 0xc0e71f0a in ?? ()
#7 0xc0185d1a in device_detach (dev=0xc0da9180) at device_if.h:49
#8 0xc0184e32 in devclass_delete_driver (busclass=0xc05a5c40,
driver=0xc0e79648) at /usr/src/sys/kern/subr_bus.c:237
#9 0xc0186fb7 in driver_module_handler (mod=0xc0dff700, what=1,
arg=0xc0e79664) at /usr/src/sys/kern/subr_bus.c:1778
#10 0xc016d9f1 in module_unload (mod=0xc0dff700)
at /usr/src/sys/kern/kern_module.c:195
#11 0xc0169a3a in linker_file_unload (file=0xc0e28600)
at /usr/src/sys/kern/kern_linker.c:456
#12 0xc016a131 in kldunload (p=0xc5af6200, uap=0xc77bcf80)
at /usr/src/sys/kern/kern_linker.c:764
#13 0xc0251a45 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
tf_edi = 6, tf_esi = -1077936598, tf_ebp = -1077936844,
---Type <return> to continue, or q <return> to quit---
tf_isp = -948187180, tf_ebx = 0, tf_edx = 0, tf_ecx = 134563712,
tf_eax = 305, tf_trapno = 12, tf_err = 2, tf_eip = 134514204,
tf_cs = 31, tf_eflags = 663, tf_esp = -1077937944, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1133
#14 0xc0243dad in syscall_with_err_pushed ()
#15 0x8048135 in ?? ()
(kgdb) q
# ^D
Script done on Sat Aug 11 07:26:06 2001
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108102252.PAA03031>
