Bug 248339

Summary: emulators/virtualbox-ose: Kernel panic on 13-CURRENT when using bridge mode
Product: Ports & Packages Reporter: Neel Chauhan <nc>
Component: Individual Port(s)Assignee: Kubilay Kocak <koobs>
Status: Closed FIXED    
Severity: Affects Some People CC: grahamperrin, guru, vbox
Priority: --- Flags: koobs: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Stack trace
none
Patch
none
Patch (Revision 2) none

Description Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 04:38:19 UTC
When I use VirtualBox on 13-CURRENT r363508, and attempt to use a bridged network, I get a kernel panic. This issue doesn't exist on 12.x.

System:
HP Spectre x360 13-ap0053dx
Intel Core i7-8565U
16GB DDR4
512GB NVMe + Intel Optane
13" 4K Touchscreen
Intel AC-9560 (iwm)

Stack trace is attached as a jpg.
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 04:38:31 UTC
*** Bug 244819 has been marked as a duplicate of this bug. ***
Comment 2 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 04:40:32 UTC
Created attachment 216847 [details]
Stack trace
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2020-07-29 04:51:44 UTC
@Neel Can you include your latest comment and attachment to bug 244819 please

*** This bug has been marked as a duplicate of bug 244819 ***
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 05:04:21 UTC
Created attachment 216848 [details]
Patch

VirtualBox does not use EPOCH on 13, so this patch adds support for EPOCH in VirtualBox.
Comment 5 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 05:04:47 UTC
Accidentally closed this.
Comment 6 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 05:05:27 UTC
*** Bug 244819 has been marked as a duplicate of this bug. ***
Comment 7 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 05:05:46 UTC
(In reply to Neel Chauhan from comment #5)
well, didn't read your comment, sorry.
Comment 8 Kubilay Kocak freebsd_committer freebsd_triage 2020-07-29 05:07:06 UTC
Bug 244819 is a report of a freeze, not panic, not technically a duplicate. Are the freeze symptoms still reproducible, or is it *now* a crash?
Comment 9 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 05:17:41 UTC
It technically is a panic, it just appears as a freeze with Nvidia graphics which my desktop use (the prior ProDesk mentioned and my current HP Omen).

I called a freeze since I didn't investigate further. I now know it is a panic.

BTW the patch is for emulators/virtualbox-ose-kmod.
Comment 10 Neel Chauhan freebsd_committer freebsd_triage 2020-07-29 15:19:48 UTC
Created attachment 216862 [details]
Patch (Revision 2)

The patch should go into emulators/virtualbox-ose, as emulators/virtualbox-ose-kmod picks up the former's files.

This is a full patch.

I confirm this working, even on the previously "freezing" computers (Nvidia graphics) and the panic computers (Intel graphics).
Comment 11 Graham Perrin freebsd_committer freebsd_triage 2020-09-16 16:24:36 UTC
… reading this alongside emulators/virtualbox-ose-kmod kernel panic bug 249326
Comment 12 Neel Chauhan freebsd_committer freebsd_triage 2021-01-10 20:28:08 UTC
This was fixed in r560502 (yay, Ports commit bit!).