panic: make_dev_credv when lindev module is loaded on the recent revision

From: Oleg Ginzburg <olevole_at_olevole.ru>
Date: Fri, 02 May 2014 09:17:10 +0400
Hi,

Current problem has arisen in the last four days in FreeBSD head.

When load lindev modules began to emerge follow panic:

Unread portion of the kernel message buffer:
panic: make_dev_credv: bad si_name (error=17, si_name=full)
cpuid = 1
Uptime: 30s
Dumping 431 out of 8045 MB:..4%..12%..23%..34%..41%..52%..64%..71%..82%..93%

Reading symbols from /boot/kernel/libalias.ko.symbols...done.
Loaded symbols for /boot/kernel/libalias.ko.symbols
Reading symbols from /boot/kernel/linprocfs.ko.symbols...done.
Loaded symbols for /boot/kernel/linprocfs.ko.symbols
Reading symbols from /boot/kernel/linux.ko.symbols...done.
Loaded symbols for /boot/kernel/linux.ko.symbols
Reading symbols from /boot/kernel/linsysfs.ko.symbols...done.
Loaded symbols for /boot/kernel/linsysfs.ko.symbols
Reading symbols from /boot/kernel/if_bridge.ko.symbols...done.
Loaded symbols for /boot/kernel/if_bridge.ko.symbols
Reading symbols from /boot/kernel/bridgestp.ko.symbols...done.
Loaded symbols for /boot/kernel/bridgestp.ko.symbols
Reading symbols from /boot/kernel/if_tap.ko.symbols...done.
Loaded symbols for /boot/kernel/if_tap.ko.symbols
Reading symbols from /boot/kernel/vmm.ko.symbols...done.
Loaded symbols for /boot/kernel/vmm.ko.symbols
Reading symbols from /boot/kernel/aio.ko.symbols...done.
Loaded symbols for /boot/kernel/aio.ko.symbols
Reading symbols from /boot/kernel/cc_htcp.ko.symbols...done.
Loaded symbols for /boot/kernel/cc_htcp.ko.symbols
Reading symbols from /boot/modules/cuse4bsd.ko...done.
Loaded symbols for /boot/modules/cuse4bsd.ko
Reading symbols from /boot/kernel/crypto.ko.symbols...done.
Loaded symbols for /boot/kernel/crypto.ko.symbols
Reading symbols from /boot/kernel/cryptodev.ko.symbols...done.
Loaded symbols for /boot/kernel/cryptodev.ko.symbols
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
Reading symbols from /boot/kernel/sem.ko.symbols...done.
Loaded symbols for /boot/kernel/sem.ko.symbols
Reading symbols from /boot/modules/vboxdrv.ko...done.
Loaded symbols for /boot/modules/vboxdrv.ko
Reading symbols from /boot/kernel/accf_data.ko.symbols...done.
Loaded symbols for /boot/kernel/accf_data.ko.symbols
Reading symbols from /boot/kernel/accf_http.ko.symbols...done.
Loaded symbols for /boot/kernel/accf_http.ko.symbols
Reading symbols from /boot/kernel/cpuctl.ko.symbols...done.
Loaded symbols for /boot/kernel/cpuctl.ko.symbols
Reading symbols from /boot/kernel/uhid.ko.symbols...done.
Loaded symbols for /boot/kernel/uhid.ko.symbols
Reading symbols from /boot/kernel/ums.ko.symbols...done.
Loaded symbols for /boot/kernel/ums.ko.symbols
Reading symbols from /boot/modules/vboxnetflt.ko...done.
Loaded symbols for /boot/modules/vboxnetflt.ko
Reading symbols from /boot/kernel/netgraph.ko.symbols...done.
Loaded symbols for /boot/kernel/netgraph.ko.symbols
Reading symbols from /boot/kernel/ng_ether.ko.symbols...done.
Loaded symbols for /boot/kernel/ng_ether.ko.symbols
Reading symbols from /boot/modules/vboxnetadp.ko...done.
Loaded symbols for /boot/modules/vboxnetadp.ko
Reading symbols from /boot/kernel/pf.ko.symbols...done.
Loaded symbols for /boot/kernel/pf.ko.symbols
Reading symbols from /boot/kernel/nullfs.ko.symbols...done.
Loaded symbols for /boot/kernel/nullfs.ko.symbols
Reading symbols from /boot/kernel/fdescfs.ko.symbols...done.
Loaded symbols for /boot/kernel/fdescfs.ko.symbols
Reading symbols from /boot/kernel/lindev.ko.symbols...done.
Loaded symbols for /boot/kernel/lindev.ko.symbols
#0  doadump (textdump=<value optimized out>) at pcpu.h:219
219             __asm("movq %%gs:%1,%0" : "=r" (td)

(kgdb) bt
#0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff80944db8 in kern_reboot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:449
#2  0xffffffff80945237 in panic (fmt=<value optimized out>) at 
/usr/src/sys/kern/kern_shutdown.c:756
#3  0xffffffff808e4e8d in make_dev_credv (flags=<value optimized out>, dres=<value 
optimized out>, devsw=<value optimized out>, unit=<value optimized out>, 
cr=<value optimized out>, 
    uid=<value optimized out>, mode=<value optimized out>) at 
/usr/src/sys/kern/kern_conf.c:763
#4  0xffffffff808e4aa7 in make_dev (devsw=0x0, unit=0, uid=0, gid=<value optimized 
out>, mode=<value optimized out>, fmt=<value optimized out>) at 
/usr/src/sys/kern/kern_conf.c:820
#5  0xffffffff8265b083 in lindev_modevent_full (mod=<value optimized out>, 
type=<value optimized out>, data=<value optimized out>)
    at /usr/src/sys/modules/lindev/../../dev/lindev/full.c:83
#6  0xffffffff80927ae2 in module_register_init (arg=0xffffffff8265b2b0) at 
/usr/src/sys/kern/kern_module.c:123
#7  0xffffffff8091b364 in linker_load_module (kldname=<value optimized out>, 
modname=0xfffff80005b46400 "lindev", parent=0x0, verinfo=0x0, 
lfpp=0xfffffe02325a6940)
    at /usr/src/sys/kern/kern_linker.c:225
#8  0xffffffff8091cdef in kern_kldload (td=<value optimized out>, file=<value 
optimized out>, fileid=0xfffffe02325a6984) at 
/usr/src/sys/kern/kern_linker.c:1030
#9  0xffffffff8091cf2b in sys_kldload (td=0xfffff80008729920, uap=<value optimized 
out>) at /usr/src/sys/kern/kern_linker.c:1056
#10 0xffffffff80d9ecab in amd64_syscall (td=0xfffff80008729920, traced=0) at 
subr_syscall.c:133
#11 0xffffffff80d8113b in Xfast_syscall () at 
/usr/src/sys/amd64/amd64/exception.S:390
#12 0x000000080088e9ea in ?? ()
Previous frame inner to this frame (corrupt stack?)

(kgdb) list *0xffffffff808e4e8d
0xffffffff808e4e8d is at /usr/src/sys/kern/kern_conf.c:763.
758             dev = newdev(devsw, unit, dev_new);
759             if ((dev->si_flags & SI_NAMED) == 0) {
760                     res = prep_devname(dev, fmt, ap);
761                     if (res != 0) {
762                             if ((flags & MAKEDEV_CHECKNAME) == 0) {
763                                     panic(
764                             "make_dev_credv: bad si_name (error=%d, 
si_name=%s)",
765                                         res, dev->si_name);
766                             }
767                             if (dev == dev_new) {
Received on Fri May 02 2014 - 03:17:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC