Date: Thu, 31 Jul 2014 01:19:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 192281] New: nmdm with bhyve causes kernel panic Message-ID: <bug-192281-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192281 Bug ID: 192281 Summary: nmdm with bhyve causes kernel panic Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dsmith@johncompanies.com Using bhyve and nmdm to access console, I am able to cause a kernel panic. I am using generic FreeBSD 10.0-p7. It is repeatable. Jul 29 19:37:18 jail5 kernel: panic: make_dev_credv: bad si_name (error=17, si_name=nmdm397A) Jul 29 19:37:18 jail5 kernel: cpuid = 3 Jul 29 19:37:18 jail5 kernel: KDB: stack backtrace: Jul 29 19:37:18 jail5 kernel: #0 0xffffffff808e7e90 at kdb_backtrace+0x60 Jul 29 19:37:18 jail5 kernel: #1 0xffffffff808af975 at panic+0x155 Jul 29 19:37:18 jail5 kernel: #2 0xffffffff80865c68 at make_dev_credv+0x2e8 Jul 29 19:37:18 jail5 kernel: #3 0xffffffff80865ccd at make_dev_cred+0x5d Jul 29 19:37:18 jail5 kernel: #4 0xffffffff8090d69b at tty_makedev+0x10b Jul 29 19:37:18 jail5 kernel: #5 0xffffffff81c001fc at nmdm_clone+0x16c Jul 29 19:37:18 jail5 kernel: #6 0xffffffff807ac974 at devfs_lookup+0x3f4 Jul 29 19:37:18 jail5 kernel: #7 0xffffffff80d97cd2 at VOP_LOOKUP_APV+0x92 Jul 29 19:37:18 jail5 kernel: #8 0xffffffff8093ff7b at lookup+0x58b Jul 29 19:37:18 jail5 kernel: #9 0xffffffff8093f704 at namei+0x504 Jul 29 19:37:18 jail5 kernel: #10 0xffffffff80953235 at kern_statat_vnhook+0xa5 Jul 29 19:37:18 jail5 kernel: #11 0xffffffff809530cd at sys_stat+0x2d Jul 29 19:37:18 jail5 kernel: #12 0xffffffff80c8f127 at amd64_syscall+0x357 Jul 29 19:37:18 jail5 kernel: #13 0xffffffff80c7581b at Xfast_syscall+0xfb This, of course, stop all bhyve virts and reboots the system. There is a nmdm397A and nmdm397B in the /dev directory. Another time. Jul 29 19:17:57 jail5 kernel: panic: make_dev_credv: bad si_name (error=17, si_name=nmdm397A) Jul 29 19:17:57 jail5 kernel: cpuid = 4 Jul 29 19:17:57 jail5 kernel: KDB: stack backtrace: Jul 29 19:17:57 jail5 kernel: #0 0xffffffff808e7e90 at kdb_backtrace+0x60 Jul 29 19:17:57 jail5 kernel: #1 0xffffffff808af975 at panic+0x155 Jul 29 19:17:57 jail5 kernel: #2 0xffffffff80865c68 at make_dev_credv+0x2e8 Jul 29 19:17:57 jail5 kernel: #3 0xffffffff80865ccd at make_dev_cred+0x5d Jul 29 19:17:57 jail5 kernel: #4 0xffffffff8090d69b at tty_makedev+0x10b Jul 29 19:17:57 jail5 kernel: #5 0xffffffff81c001fc at nmdm_clone+0x16c Jul 29 19:17:57 jail5 kernel: #6 0xffffffff807ac974 at devfs_lookup+0x3f4 Jul 29 19:17:57 jail5 kernel: #7 0xffffffff80d97cd2 at VOP_LOOKUP_APV+0x92 Jul 29 19:17:57 jail5 kernel: #8 0xffffffff8093ff7b at lookup+0x58b Jul 29 19:17:57 jail5 kernel: #9 0xffffffff8093f704 at namei+0x504 Jul 29 19:17:57 jail5 kernel: #10 0xffffffff80957ed2 at vn_open_cred+0x232 Jul 29 19:17:57 jail5 kernel: #11 0xffffffff80951671 at kern_openat+0x261 Jul 29 19:17:57 jail5 kernel: #12 0xffffffff80c8f127 at amd64_syscall+0x357 Jul 29 19:17:57 jail5 kernel: #13 0xffffffff80c7581b at Xfast_syscall+0xfb and again. Jul 29 19:04:45 jail5 kernel: panic: make_dev_credv: bad si_name (error=17, si_name=nmdm397A) Jul 29 19:04:45 jail5 kernel: cpuid = 5 Jul 29 19:04:45 jail5 kernel: KDB: stack backtrace: Jul 29 19:04:45 jail5 kernel: #0 0xffffffff808e7e90 at kdb_backtrace+0x60 Jul 29 19:04:45 jail5 kernel: #1 0xffffffff808af975 at panic+0x155 Jul 29 19:04:45 jail5 kernel: #2 0xffffffff80865c68 at make_dev_credv+0x2e8 Jul 29 19:04:45 jail5 kernel: #3 0xffffffff80865ccd at make_dev_cred+0x5d Jul 29 19:04:45 jail5 kernel: #4 0xffffffff8090d69b at tty_makedev+0x10b Jul 29 19:04:45 jail5 kernel: #5 0xffffffff81c001fc at nmdm_clone+0x16c Jul 29 19:04:45 jail5 kernel: #6 0xffffffff807ac974 at devfs_lookup+0x3f4 Jul 29 19:04:45 jail5 kernel: #7 0xffffffff80d97cd2 at VOP_LOOKUP_APV+0x92 Jul 29 19:04:45 jail5 kernel: #8 0xffffffff8093ff7b at lookup+0x58b Jul 29 19:04:45 jail5 kernel: #9 0xffffffff8093f704 at namei+0x504 Jul 29 19:04:45 jail5 kernel: #10 0xffffffff80953235 at kern_statat_vnhook+0xa5 Jul 29 19:04:45 jail5 kernel: #11 0xffffffff809530cd at sys_stat+0x2d Jul 29 19:04:45 jail5 kernel: #12 0xffffffff80c8f127 at amd64_syscall+0x357 Jul 29 19:04:45 jail5 kernel: #13 0xffffffff80c7581b at Xfast_syscall+0xfb -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192281-13>