VirtualBox

5 年 前 建立

5 年 前 結束

#18667 closed defect (fixed)

Kernel panic in Debian 9 guest at shut down when shared folders are enabled => Fixed in SVN

回報者: danham 負責人: bird
元件: other 版本: VirtualBox 6.0.6
關鍵字: 副本:
Guest type: Linux Host type: Mac OS X

描述

When shared folders are enabled the guest experiences a kernel panic at shutdown. When shared folders are disabled the guest shuts down as expected.

This issue seems to affect Debian guests only (CentOS seems to be fine).

I have attached two sets of files showing the VBox.log, the guest console output (minicom.cap), and where applicable, a core dump captured with VBoxManage debugvm.

The files with the "error_" prefix were captured with shared folders enabled - the error_minicom.cap file shows the output from the kernel panic. The core dump was taken immediately after the panic had occurred.

The files marked with the "normal_" prefix were captured with shared folders disabled (no panic) and should hopefully provide a useful baseline.

附加檔案 (4)

error_VBox.log (117.0 KB ) - 5 年 前, 由 danham 新增
VBox log with shared folders enabled (guest panics)
error_minicom.cap (28.3 KB ) - 5 年 前, 由 danham 新增
Guest console output with shared folders enabled (kernel panics)
normal_VBox.log (116.6 KB ) - 5 年 前, 由 danham 新增
VBox log with shared folders disabled (no guest panic)
normal_minicom.cap (22.4 KB ) - 5 年 前, 由 danham 新增
Guest console output with shared folders enabled (no guest panic)

下載所有附檔: .zip

更動歷史 (15)

5 年 前danham 編輯

附檔: 新增 error_VBox.log

VBox log with shared folders enabled (guest panics)

5 年 前danham 編輯

附檔: 新增 error_minicom.cap

Guest console output with shared folders enabled (kernel panics)

5 年 前danham 編輯

附檔: 新增 normal_VBox.log

VBox log with shared folders disabled (no guest panic)

5 年 前danham 編輯

附檔: 新增 normal_minicom.cap

Guest console output with shared folders enabled (no guest panic)

comment:1 5 年 前danham 編輯

I was not able to attach the core dump as the file is too large (1.1GB). Is there another mechanism for uploading the file?

comment:2 5 年 前Dariusz 編輯

I have the same issue. I provided logs and details on the forum:

https://forums.virtualbox.org/viewtopic.php?f=8&t=92801

In short since VirtualBox 6.0.6 (including latest build 6.0.9-130662) as soon as extensions are upgraded above 6.0.4 Debian clients crash during shutdown/reboot if shared folders are used. With 6.0.6 and 6.08 it was kernel panic, with 6.0.9 it just hangs with black screen.

All works if I stick to 6.0.4 extensions.

Clearly something was broken moving to 6.0.6

I use Debian extensively and happy to help with any testing required to make it fixed.

comment:3 5 年 前jeansen 編輯

Same here. Up until 6.0.4 all worked fine, but since then whenever I shut-down my VM, I get the kernel message. I've installed a fresh Debian stable system, added the guest tools 6.0.8 and even it is no difference.

In the logs I cannot see anything. Except that the last line is always:

00:00:32.491665 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago

Host: Debian 10 (buster) Linux debian-omph 4.19.0-5-amd64 #1 SMP Debian 4.19.37-3 (2019-05-15) x86_64 GNU/Linux

Guest: Debian 9 (stretch) Linux test-mbr 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux

It also seems that this issue is only present when there are shared folders configured ...

最後由 jeansen 編輯於 5 年 前 (上一筆) (差異)

comment:4 5 年 前bird 編輯

狀態: newassigned
負責人: 指定為 bird

I've reproduced the issue.

Just a tip how to get the current dmesg from a guest (debian909 in this example) using the VBox guest debugging feature via VBoxManage:

VBoxManage debugvm debian909 osdetect
VBoxManage debugvm debian909 osdmesg

comment:5 5 年 前bird 編輯

摘要: Kernel panic in Debian 9 guest at shut down when shared folders are enabledKernel panic in Debian 9 guest at shut down when shared folders are enabled => Fixed in SVN

Found the issue. Incorrect version range check around a bdi_destroy() call, causing BDI structure to linger after cleanup. Also responsible for EEXIST errors reloading vboxsf.ko and remounting shares. Fixed in r78890 (internal revision 131008).

comment:6 5 年 前Dariusz 編輯

Good news! As soon as available in test builds I will test it.

最後由 Dariusz 編輯於 5 年 前 (上一筆) (差異)

comment:7 5 年 前danham 編輯

Great work! Can we expect to see this in the next release?

comment:8 5 年 前Claus Reibenstein 編輯

The problem still occurs in 6.0.8, so I am not sure if it has really been fixed.

As a work-around, you can install the guest extensions from version 6.0.4. Then everything works fine.

回覆:  8 comment:9 5 年 前Socratis 編輯

Replying to CReibenstein:

The problem still occurs in 6.0.8, so I am not sure if it has really been fixed.

CReibenstein
As 'bird' (a developer) said, this was fixed in r131008, 6.0.8 was r130520. So, why do you expect 6.0.8 to have the fix? It doesn't! The fix was implemented 512 revisions after 6.0.8 was released...

Either you have to wait for 6.0.10, or try the Testbuilds with a revision>131008.

comment:10 5 年 前Dariusz 編輯

I have just tested latest Testbuild 6.0.9 r131254 - all works OK now with Debian guests and macOS host

comment:11 5 年 前Michael Thayer 編輯

狀態: assignedclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette