[Bug 254440] FreeBSD 13.0-BETA kldload zfs spins on VMWare
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 20 19:14:06 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254440
Bug ID: 254440
Summary: FreeBSD 13.0-BETA kldload zfs spins on VMWare
Product: Base System
Version: 13.0-STABLE
Hardware: i386
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: ota at j.email.ne.jp
After upgrading 12.2-RELEASE to 13.0-BETA, 'kldload zfs' spins and doesn't come
back.
This only happens with VWare and doesn't with 2~3 other hardwares.
Another note is another 13.0-BETA version which has been following since
current-13 doesn't hung same way; only upgrade from 12.2-RELEASE among my
environment.
I don't have ZFS boot.
I also don't set zfs_enable as I often connect USB disk and mount zfs file
systems.
vmare# procstat -kk 1049
PID TID COMM TDNAME KSTACK
1049 100215 kldload - spa_init+0xc6
zfs_kmod_init+0x1a
zfs_modevent+0x34 module_register_init+0x8c linker_load_module+0xaab
kern_kldload+0xc1
sys_kldload+0x50 syscall+0x17d g_ctx+0xe280bf29
vmware# kgdb101 /usr/usr/lib/debug/boot/kernel/zfs.ko.debug
GNU gdb (GDB) 10.1 [GDB v10.1 for FreeBSD]
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i386-portbld-freebsd13.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "helpType "apropos word" to search for commands related to
"word"...
Reading symbols from zfs.ko.debug...
(kgdb) info line *spa_init+0xc6
Line 2345 of "/usr/src/sys/contrib/openzfs/module/zfs/spa_misc.c"
starts at address 0x2b0461 <spa_init+193>
and ends at 0x2b0467 <spa_init+199>.
(kgdb)
void
spa_init(spa_mode_t mode)
{
mutex_init(&spa_namespace_lock, NULL, MUTEX_DEFAULT, NULL);
mutex_init(&spa_spare_lock, NULL, MUTEX_DEFAULT, NULL); // <- line 2345
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list