Opened 4 months ago
Closed 4 months ago
#18982 closed bug (invalid)
PANIC: attempt to release lock with interrupts enabled. (VBox)
Reported by: | bipolar | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System | Version: | R1/beta5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86-64 |
Description
Since I switched from beta4 to nigthlies/beta5 I have hit this KDL in three occasions.
One while running Python 3.12.5 tests, the two others after attempting to paste some text.
Attached KDL is from hrev57947 64 bits, on VirtualBox 7.0.4 + guest additions (Win10 host).
FWIW, on beta4 sometimes the VBox clipboard integration caused problems, even some occasional KDL (segmentation faults, IIRC), but never this one.
Attachments (3)
Change History (13)
by , 4 months ago
Attachment: | release-spinlock-kdl-vbox.png added |
---|
comment:2 by , 4 months ago
Summary: | PANIC: attempt to release spinlock with interrups disabled. (VBox) → PANIC: attempt to release lock with interrupts enabled. (VBox) |
---|
comment:3 by , 4 months ago
This looks like it could've happened because of a misbehaving driver. Can you list what drivers you have loaded on a standard boot (with "listimage 1")? If it happens often enough, you can try disabling some (perhaps start with the VirtualBox integrations driver) and see if it fixes the problem.
comment:4 by , 4 months ago
Component: | - General → System |
---|
comment:5 by , 4 months ago
Output of listimage 1
:
> listimage 1 KERNEL TEAM: ID Text Data Seq# Init# Name -------------------------------------------------------------------------------- 1 0xffffffff80000000 0xffffffff801b4000 0 0 kernel_x86_64 11 0xffffffff81b92000 0xffffffff81be9000 0 0 ntfs 15 0xffffffff81b2a000 0xffffffff81b53000 0 0 ext2 21 0xffffffff81ae9000 0xffffffff81aec000 0 0 virtio_pci 23 0xffffffff81ade000 0xffffffff81ae4000 0 0 virtio 26 0xffffffff81a98000 0xffffffff81aae000 0 0 ohci 27 0xffffffff81a81000 0xffffffff81a97000 0 0 ehci 29 0xffffffff81a59000 0xffffffff81a68000 0 0 usb 33 0xffffffff81a44000 0xffffffff81a4a000 0 0 scsi_periph 34 0xffffffff81a40000 0xffffffff81a43000 0 0 scsi_disk 35 0xffffffff81a3b000 0xffffffff81a3f000 0 0 scsi_cd 36 0xffffffff81a31000 0xffffffff81a3a000 0 0 scsi 37 0xffffffff81a2b000 0xffffffff81a30000 0 0 x86 38 0xffffffff817c5000 0xffffffff81991000 0 0 pci 39 0xffffffff8172b000 0xffffffff817bf000 0 0 packagefs 43 0xffffffff81710000 0xffffffff81712000 0 0 locked_pool 46 0xffffffff816fc000 0xffffffff81709000 0 0 intel 47 0xffffffff816fa000 0xffffffff816fb000 0 0 isa 50 0xffffffff816e9000 0xffffffff816ea000 0 0 dpc 51 0xffffffff816af000 0xffffffff816e7000 0 0 bfs 54 0xffffffff81692000 0xffffffff8169d000 0 0 ahci 55 0xffffffff81645000 0xffffffff8168f000 0 0 acpi 56 0x0000000000000000 0x0000000000000000 0 0 commpage 97 0xffffffff8170d000 0xffffffff8170e000 0 0 /boot/system/add-ons/kernel/generic/smbios 131 0xffffffff8169f000 0xffffffff816a7000 0 0 /boot/system/add-ons/kernel/drivers/disk/virtual/ram_disk 141 0xffffffff81ae5000 0xffffffff81ae6000 0 0 /boot/system/add-ons/kernel/drivers/dev/zero 143 0xffffffff816a8000 0xffffffff816ab000 0 0 /boot/system/add-ons/kernel/drivers/dev/tty 144 0xffffffff81a69000 0xffffffff81a72000 0 0 /boot/system/add-ons/kernel/generic/tty 145 0xffffffff81ae7000 0xffffffff81ae8000 0 0 /boot/system/add-ons/kernel/drivers/dev/null 146 0xffffffff816ac000 0xffffffff816ad000 0 0 /boot/system/add-ons/kernel/drivers/dev/dprintf 147 0xffffffff81a4b000 0xffffffff81a4d000 0 0 /boot/system/add-ons/kernel/drivers/dev/console 540 0xffffffff81a73000 0xffffffff81a75000 0 0 /boot/system/add-ons/kernel/cpu/generic_x86 544 0xffffffff8170b000 0xffffffff8170c000 0 0 /boot/system/add-ons/kernel/debugger/run_on_exit 545 0xffffffff81a7b000 0xffffffff81a7c000 0 0 /boot/system/add-ons/kernel/debugger/usb_keyboard 546 0xffffffff81a7d000 0xffffffff81a7e000 0 0 /boot/system/add-ons/kernel/debugger/invalidate_on_exit 547 0xffffffff81a4e000 0xffffffff81a50000 0 0 /boot/system/add-ons/kernel/debugger/hangman 548 0xffffffff8668d000 0xffffffff86709000 0 0 /boot/system/add-ons/kernel/debugger/disasm 549 0xffffffff81fdc000 0xffffffff81ff0000 0 0 /boot/system/add-ons/kernel/debugger/demangle 550 0xffffffff816f0000 0xffffffff816f3000 0 0 /boot/system/add-ons/kernel/bus_managers/random 574 0xffffffff816f4000 0xffffffff816f6000 0 0 /boot/system/add-ons/kernel/drivers/power/acpi_button 1342 0xffffffff81a51000 0xffffffff81a54000 0 0 /boot/system/add-ons/kernel/drivers/power/acpi_battery 1356 0xffffffff81a55000 0xffffffff81a57000 0 0 /boot/home/config/non-packaged/add-ons/kernel/drivers/power/acpi_ac 1544 0xffffffff81ff2000 0xffffffff81ff6000 0 0 /boot/system/add-ons/kernel/drivers/network/virtio_net 1545 0xffffffff81bec000 0xffffffff81c11000 0 0 /boot/system/add-ons/kernel/network/stack 1758 0xffffffff8670f000 0xffffffff86740000 0 0 /boot/system/add-ons/kernel/file_systems/ramfs 2998 0xffffffff81727000 0xffffffff81729000 0 0 /boot/system/add-ons/kernel/network/notifications 3020 0xffffffff81b10000 0xffffffff81b18000 0 0 /boot/system/add-ons/kernel/network/protocols/udp 3021 0xffffffff81b19000 0xffffffff81b25000 0 0 /boot/system/add-ons/kernel/network/protocols/ipv4 3028 0xffffffff81acd000 0xffffffff81ad0000 0 0 /boot/system/add-ons/kernel/network/devices/ethernet 3030 0xffffffff86742000 0xffffffff86746000 0 0 /boot/system/add-ons/kernel/network/datalink_protocols/arp 3031 0xffffffff81b55000 0xffffffff81b57000 0 0 /boot/system/add-ons/kernel/network/datalink_protocols/ethernet_frame 3032 0xffffffff81c2d000 0xffffffff81c39000 0 0 /boot/system/add-ons/kernel/network/protocols/ipv6 3033 0xffffffff81c3b000 0xffffffff81c3f000 0 0 /boot/system/add-ons/kernel/network/datalink_protocols/ipv6_datagram 3035 0xffffffff81b8c000 0xffffffff81b8e000 0 0 /boot/system/add-ons/kernel/network/devices/loopback 3036 0xffffffff816f7000 0xffffffff816f8000 0 0 /boot/system/add-ons/kernel/network/datalink_protocols/loopback_frame 3104 0xffffffff81c5e000 0xffffffff81c6e000 0 0 /boot/system/add-ons/kernel/network/protocols/unix 3105 0xffffffff81c6f000 0xffffffff81c7f000 0 0 /boot/system/add-ons/kernel/network/protocols/tcp 3240 0xffffffff81c94000 0xffffffff81c9a000 0 0 /boot/system/add-ons/kernel/drivers/dev/graphics/vesa 3242 0xffffffff81b73000 0xffffffff81b76000 0 0 /boot/system/add-ons/kernel/drivers/dev/graphics/vmware 3294 0xffffffff8111b000 0xffffffff8112c000 0 0 /boot/system/add-ons/kernel/drivers/dev/input/usb_hid 3299 0xffffffff8112d000 0xffffffff81139000 0 0 /boot/system/add-ons/kernel/bus_managers/ps2 3436 0xffffffff81a7f000 0xffffffff81a80000 0 0 /boot/system/add-ons/kernel/drivers/dev/misc/mem 3437 0xffffffff81ffc000 0xffffffff81ffe000 0 0 /boot/system/add-ons/kernel/drivers/dev/misc/poke 3438 0xffffffff81ad1000 0xffffffff81ad4000 0 0 /boot/home/config/non-packaged/add-ons/kernel/drivers/dev/misc/vboxdev 3439 0xffffffff8115d000 0xffffffff811bd000 0 0 /boot/home/config/non-packaged/add-ons/kernel/generic/vboxguest 3504 0xffffffff8678b000 0xffffffff8678e000 0 0 /boot/system/add-ons/kernel/drivers/dev/bus/usb_raw 3621 0xffffffff8025e000 0xffffffff8026b000 0 0 /boot/system/add-ons/kernel/drivers/dev/audio/hmulti/auich 3773 0xffffffff867fb000 0xffffffff867fd000 0 0 /boot/system/add-ons/kernel/network/protocols/icmp6
If keeps happening, will remove the VBox drivers (and then the acpi_ac
that also got loaded from non-packaged :-D), and report back.
comment:6 by , 4 months ago
hrev57953 should help with debugging here. When the KDL happens, it should now be an assertion failure containing the vector number; please post the output of the ints
command so we can see what driver(s) are on that interrupt line.
by , 4 months ago
Attachment: | KDL-1-assert-failed.png added |
---|
by , 4 months ago
Attachment: | KDL-2-ints-output.png added |
---|
comment:7 by , 4 months ago
Hit the assert, added "ints" output. Still no clue what that vector 20 points to. Let me know if there's some other KDL command(s) I should use to get more info.
comment:8 by , 4 months ago
Yes, use the ls <addr>
command to find out what symbol this is.
When is the last time you rebuilt those kernel addons? If it was on beta4, this may be due to ABI differences between beta4 and beta5 kernels.
comment:9 by , 4 months ago
Thanks.
ls <addr>
confirms the culprit is the vboxguest
driver from virtualbox_guest_additions-6.1.26-1-x86_64.hpkg
built in 2021-12-04 (according to HaikuDepot).
I just use it unpacked, as some other parts of the .hpkg work even worse, and updating vbox-guest-additions is out of my league (at least it was last time I've tried a couple of years ago :-D).
Guess this one can be closed as invalid, then?
comment:10 by , 4 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Yes, it sounds like the driver is just misbehaving for some reason.
Summary should read "PANIC: attempt to release lock with interrupts enabled. (VBox)" (but I can't edit it now :-/)