Date: Fri, 19 Mar 2021 23:46:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254412] emulators/virtualbox-ose-additions - Boot time crash - Sleeping thread owns a non-sleepable lock Message-ID: <bug-254412-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254412 Bug ID: 254412 Summary: emulators/virtualbox-ose-additions - Boot time crash - Sleeping thread owns a non-sleepable lock Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vbox@FreeBSD.org Reporter: david.r.bergstein@gmail.com Flags: maintainer-feedback?(vbox@FreeBSD.org) Assignee: vbox@FreeBSD.org I have been seeing this boot time crash on an intermittent basis on a=20 virtualbox running FreeBSD-13.0-RC2. The information below was extracted f= rom a recent crash dump: drb-freebsd-13.localdomain dumped core - see /var/crash/vmcore.4 Thu Mar 18 20:58:47 EDT 2021 FreeBSD drb-freebsd-13.localdomain 13.0-RC2 FreeBSD 13.0-RC2 #0=20 releng/13.0-n244684-13c22f74953: Fri Mar 12 04:05:19 UTC 2021=20 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 panic: sleeping thread 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=20 <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 "x86_64-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 "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: ---<<BOOT>>--- Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 ??? The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-RC2 #0 releng/13.0-n244684-13c22f74953: Fri Mar 12 04:05:19=20 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git=20 llvmorg-11.0.1-0-g43ff75f2c3fe) VT(vga): text 80x25 CPU: Intel(R) Core(TM) i7 CPU???????? 950? @ 3.07GHz (3103.68-MHz=20 K8-class CPU) ? Origin=3D"GenuineIntel"? Id=3D0x106a5? Family=3D0x6? Model=3D0x1a Steppi= ng=3D5 Features=3D0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,= MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT> ? Features2=3D0x180201<SSE3,SSSE3,SSE4.1,SSE4.2> ? AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM> ? AMD Features2=3D0x1<LAHF> ? Structured Extended Features3=3D0x10000000<L1DFL> ? TSC: P-state invariant real memory? =3D 9126805504 (8704 MB) avail memory =3D 8285257728 (7901 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: <VBOX?? VBOXAPIC> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 cache groups x 1 core(s) random: unblocking device. ioapic0: MADT APIC ID 4 !=3D hw id 0 ioapic0 <Version 2.0> irqs 0-23 Launching APs: 2 1 3 Timecounter "TSC-low" frequency 1551839460 Hz quality 1000 KTLS: Initialized 4 threads random: entropy device external interface [ath_hal] loaded WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD=20 14.0. kbd1 at kbdmux0 000.000058 [4350] netmap_init?????????????? netmap: loaded module mlx5en: Mellanox Ethernet driver 3.6.0 (December 2020) nexus0 vtvga0: <VT VGA driver> cryptosoft0: <software crypto> aesni0: No AES or SHA support. acpi0: <VBOX VBOXXSDT> acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) cpu0: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port=20 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 1.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 ata1: <ATA channel> at channel 1 on atapci0 vgapci0: <VGA-compatible display> mem 0xe0000000-0xefffffff irq 18 at=20 device 2.0 on pci0 vgapci0: Boot video device em0: <Intel(R) PRO/1000 Network Connection> port 0xd010-0xd017 mem=20 0xf0000000-0xf001ffff irq 19 at device 3.0 on pci0 em0: Using 1024 TX descriptors and 1024 RX descriptors <6>em0: Ethernet address: 08:00:27:dd:d4:fc <6>em0: netmap queues/slots: TX 1/1024, RX 1/1024 pcm0: <Intel ICH (82801AA)> port 0xd100-0xd1ff,0xd200-0xd23f irq 21 at=20 device 5.0 on pci0 pcm0: <SigmaTel STAC9700/83/84 AC97 Codec> ohci0: <Apple KeyLargo/Intrepid USB controller> mem=20 0xf0804000-0xf0804fff irq 22 at device 6.0 on pci0 usbus0 on ohci0 usbus0: 12Mbps Full Speed USB v1.0 pci0: <bridge> at device 7.0 (no driver attached) ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem=20 0xf0805000-0xf0805fff irq 19 at device 11.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 usbus1: 480Mbps High Speed USB v2.0 acpi_acad0: <AC Adapter> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD=20 14.0. psm0: model IntelliMouse Explorer, device ID 4 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xe2000-0xe2fff pnpid=20 ORM0000 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff pnpid=20 PNP0900 on isa0 atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. Timecounters tick every 10.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Trying to mount root from zfs:zroot/ROOT/default []... Root mount waiting for: CAM usbus0 usbus1 ugen0.1: <Apple OHCI root HUB> at usbus0 uhub0 on usbus0 ugen1.1: <Intel EHCI root HUB> at usbus1 uhub0: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 uhub1 on usbus1 uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: <VBOX HARDDISK 1.0> ATA8-ACS device ada0: Serial Number VBb8450cb8-277eed0b ada0: 33.300MB/s transfers (UDMA2, PIO 65536bytes) ada0: 61440MB (125829120 512 byte sectors) cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: <VBOX CD-ROM 1.0> Removable CD-ROM SCSI device cd0: Serial Number VB2-01700376 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present uhub0: 12 ports with 12 removable, self powered Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 uhub1: 12 ports with 12 removable, self powered <118>Setting hostuuid: 56767ad9-d311-7b42-9f7f-db26ca8d9b82. <118>Setting hostid: 0x10458f66. <118>Starting file system checks: <118>no pools available to import <118>Mounting local filesystems:. <118>Setting hostname: drb-freebsd-13.localdomain. <118>ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib=20 /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/gcc10=20 /usr/local/lib/gcc9 /usr/local/lib/mysql /usr/local/lib/mysql/plugin=20 /usr/local/lib/perl5/5.32/mach/CORE /usr/local/lib/qt5=20 /usr/local/lib/samba4 /usr/local/lib/signon=20 /usr/local/lib/signon/extensions /usr/local/llvm10/lib <118>32-bit compatibility ldconfig path: /usr/lib32 <118>Setting up harvesting:=20 [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,AT= TACH,CACHED <118>Feeding entropy: . vboxguest0 port 0xd020-0xd03f mem=20 0xf0400000-0xf07fffff,0xf0800000-0xf0803fff irq 20 at device 4.0 on pci0 Sleeping thread (tid 100521, pid 174) owns a non-sleepable lock KDB: stack backtrace of thread 100521: #0 0xffffffff80c16291 at mi_switch+0xc1 #1 0xffffffff8293cf37 at rtR0SemEventMultiBsdWait+0x297 #2 0xffffffff8291d36a at vgdrvHgcmAsyncWaitCallbackWorker+0x14a #3 0xffffffff8291e49b at VbglR0HGCMInternalConnect+0x11b #4 0xffffffff8291ad33 at VGDrvCommonIoCtl+0xb53 #5 0xffffffff82919af6 at VGDrvCommonProcessOptionsFromHost+0x146 #6 0xffffffff8291d9f8 at vgdrvFreeBSDAttach+0x1d8 #7 0xffffffff80c462ad at device_attach+0x3dd #8 0xffffffff80c45eb1 at device_probe_and_attach+0x41 #9 0xffffffff8085b966 at pci_driver_added+0xf6 #10 0xffffffff80c43d29 at devclass_driver_added+0x39 #11 0xffffffff80c43cad at devclass_add_driver+0x13d #12 0xffffffff80be6964 at module_register_init+0xa4 #13 0xffffffff80bd8667 at linker_load_module+0xbc7 #14 0xffffffff80bd9e4b at kern_kldload+0xbb #15 0xffffffff80bd9f7b at sys_kldload+0x5b #16 0xffffffff8108aa8c at amd64_syscall+0x10c #17 0xffffffff810618be at fast_syscall_common+0xf8 panic: sleeping thread cpuid =3D 0 time =3D 1616100801 KDB: stack backtrace: #0 0xffffffff80c57105 at kdb_backtrace+0x65 #1 0xffffffff80c09cd1 at vpanic+0x181 #2 0xffffffff80c09b43 at panic+0x43 #3 0xffffffff80c6e526 at propagate_priority+0x296 #4 0xffffffff80c6f0c3 at turnstile_wait+0x313 #5 0xffffffff80be7b9c at __mtx_lock_sleep+0x17c #6 0xffffffff80c256bf at softclock_call_cc+0xff #7 0xffffffff80c25b89 at softclock+0x79 #8 0xffffffff80bcae0d at ithread_loop+0x24d #9 0xffffffff80bc7c0e at fork_exit+0x7e #10 0xffffffff8106201e at fork_trampoline+0xe Uptime: 8s Dumping 364 out of 8152 MB:..5%..14%..22%..31%..44%..53%..62%..71%..84%..93% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55??? ??? __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(struct pcp= u, (kgdb) #0? __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1? doadump (textdump=3D<optimized out>) at=20 /usr/src/sys/kern/kern_shutdown.c:399 #2? 0xffffffff80c098c6 in kern_reboot (howto=3D260) ??? at /usr/src/sys/kern/kern_shutdown.c:486 #3? 0xffffffff80c09d40 in vpanic (fmt=3D<optimized out>, ap=3D<optimized ou= t>) ??? at /usr/src/sys/kern/kern_shutdown.c:919 #4? 0xffffffff80c09b43 in panic (fmt=3D<unavailable>) ??? at /usr/src/sys/kern/kern_shutdown.c:843 #5? 0xffffffff80c6e526 in propagate_priority (td=3D0xfffffe00c2c0be00) ??? at /usr/src/sys/kern/subr_turnstile.c:251 #6? 0xffffffff80c6f0c3 in turnstile_wait (ts=3Dts@entry=3D0xfffff800035b954= 0, ??? owner=3D<optimized out>, owner@entry=3D0xfffffe00c2c0be00,=20 queue=3Dqueue@entry=3D0) ??? at /usr/src/sys/kern/subr_turnstile.c:808 #7? 0xffffffff80be7b9c in __mtx_lock_sleep (c=3D0xffffffff81802718=20 <Giant+24>, ??? v=3D<optimized out>) at /usr/src/sys/kern/kern_mutex.c:664 #8? 0xffffffff80c256bf in softclock_call_cc ( ??? c=3D0xffffffff81d1b700 <default_kbd_state+40>, ??? cc=3Dcc@entry=3D0xffffffff81ca8200 <cc_cpu>, direct=3Ddirect@entry=3D0) ??? at /usr/src/sys/kern/kern_timeout.c:658 #9? 0xffffffff80c25b89 in softclock (arg=3D0xffffffff81ca8200 <cc_cpu>) ??? at /usr/src/sys/kern/kern_timeout.c:816 #10 0xffffffff80bcae0d in intr_event_execute_handlers (p=3D<optimized out>, ??? ie=3D0xfffff8000364a700) at /usr/src/sys/kern/kern_intr.c:1168 #11 ithread_execute_handlers (p=3D<optimized out>, ie=3D0xfffff8000364a700) ??? at /usr/src/sys/kern/kern_intr.c:1181 #12 ithread_loop (arg=3Darg@entry=3D0xfffff80003657d20) ??? at /usr/src/sys/kern/kern_intr.c:1269 #13 0xffffffff80bc7c0e in fork_exit ( ??? callout=3D0xffffffff80bcabc0 <ithread_loop>, arg=3D0xfffff80003657d20, ??? frame=3D0xfffffe00835e8d40) at /usr/src/sys/kern/kern_fork.c:1069 #14 <signal handler called> (kgdb) --=20 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-254412-7788>