VirtualBox

Ticket #3926 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

Oops in vboxnetfilter => Fixed in SVN

Reported by: darkfox Assigned to:
Priority: major Component: network
Version: VirtualBox 2.2.2 Keywords:
Cc: Guest type: Linux
Host type: Linux

Description

I just try to work with bridged net in my VM, but got kernel oops. This oops doesn't crash entire box, but cause some net-sensitive processes (firefox) to terminate, other (KMail) to hang. Both host and guest are Ubuntu 9.04

Attachments

VBox.log (32.9 kB) - added by darkfox on 2009-05-04 20:38:25.
vm log
syslog.txt (139.9 kB) - added by darkfox on 2009-05-04 20:39:35.
host syslog renamed to *.txt
builder.xml (3.6 kB) - added by darkfox on 2009-05-04 20:40:19.
VM config

Change History

2009-05-04 20:38:25 changed by darkfox

  • attachment VBox.log added.

vm log

2009-05-04 20:39:35 changed by darkfox

  • attachment syslog.txt added.

host syslog renamed to *.txt

2009-05-04 20:40:19 changed by darkfox

  • attachment builder.xml added.

VM config

2009-05-29 14:00:09 changed by frank

  • summary changed from Oops in vboxnetfilter to Oops in vboxnetfilter => Fixed in SVN.

Should be finally fixed. You can try the fix yourself:

  1. Make sure that no VM is running.
  2. Edit the file /usr/src/vboxnetflt/linux/VBoxNetFlt-linux.c on your host and apply this patch. Note that only root can write this file:
    --- usr/src/vboxnetflt-2.2.2/linux/VBoxNetFlt-linux.c
    +++ usr/src/vboxnetflt-2.2.2/linux/VBoxNetFlt-linux.c
    @@ -773,7 +773,7 @@
         }
         else
         {
    -        if (pBuf->ip_summed == CHECKSUM_PARTIAL)
    +        if (pBuf->ip_summed == CHECKSUM_PARTIAL && pBuf->pkt_type == PACKET_OUTGOING)
                 if (VBOX_SKB_CHECKSUM_HELP(pBuf))
                 {
                     LogRel(("VBoxNetFlt: Failed to compute checksum, dropping the packet.\n"));
    
    
  3. Save it and rebuild the VBox host kernel module with
    /etc/init.d/vboxdrv setup
    
  4. Start a VM.

The oops should be gone. The fix is included in the next maintenance release.

2009-05-29 17:23:21 changed by darkfox

Thanks for the fix, Frank! I'd never encountered this crash again (it's rare, as I see the patch). So I'll wait till next release, or apply it if VBox will crash again.

2009-05-29 23:47:14 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.


ContactPrivacy policy