VirtualBox

Ticket #4236 (closed defect: fixed)

Opened 8 months ago

Last modified 1 month ago

kernel panic in virtualbox 2.2 64bit SMP

Reported by: supermafete Assigned to:
Priority: major Component: other
Version: VirtualBox 2.2.4 Keywords: kernel panic debian etch vbox virtualbox 2.2 vboxnetflt
Cc: Guest type: Linux
Host type: Linux

Description

Hi there,

I installed today VBox 2.2 in my production server from the VirtualBox official apt repositories.

Host OS: Debian Etch 4.1 AMD64 SMP Host Kernel: 2.6.18-6-vserver-amd64 (debian-patches) Host Hardware: Dell PowerEdge? 2950 Dual Quad-Core, 16Gb RAM, SATA Raids.

After a few hours testing VBox with bridged networking guests (debian and fedora), the entire server hangs up with a kernel panic. I suspect that it hangs because a bug in vboxnetflt kernel module.

I attach to this post the syslog relevant lines.

Any suggestions or ideas?

Thank you in advance,

MaF.

Attachments

vbox 2.2 kernel panic syslog.txt (9.0 kB) - added by supermafete on 2009-06-15 17:50:16.
VBoxNetFlt-linux.c.rej (2.4 kB) - added by supermafete on 2009-06-15 23:40:01.
vboxnetflt.diff (1.6 kB) - added by frank on 2009-06-17 11:41:11.
vboxnetflt patch

Change History

2009-06-15 17:50:16 changed by supermafete

  • attachment vbox 2.2 kernel panic syslog.txt added.

2009-06-15 18:32:37 changed by frank

After the 2.2.4 release we found a problem with Linux host kernels <= 2.6.18. Could you apply this patch to /usr/src/vboxnetflt/vboxnetflt-2.2.4, then execute

/etc/inid.d/vboxdrv setup

and check if you experience such a host crash again?

2009-06-15 20:56:11 changed by supermafete

Thank you Frank!

I'll check the patch next weekend. I don't want to take risks in business time. I'll let you know the results.

If it works maybe we can think in compile a new package for the repositories.

2009-06-15 21:46:23 changed by supermafete

Is there any way to compile only the vboxnetflt module for the 2.2.4-47978_Debian_etch version?

2009-06-15 22:08:00 changed by frank

I don't understand. Does /etc/init.d/vboxdrv setup not work?

2009-06-15 23:20:22 changed by supermafete

Sorry, I thought that the entire sources would be necessaries to recompile the module. I didn't knew that the module source were in the system with the binary apt installation.

I'll test it the next weekend and let you know the results.

Thank you Frank.

2009-06-15 23:40:01 changed by supermafete

  • attachment VBoxNetFlt-linux.c.rej added.

2009-06-15 23:40:42 changed by supermafete

Hello again,

I tried to apply the patch this way

$ patch -p0 < vboxnetflt.diff

This was the output

Hunk #1 FAILED at 1.
Hunk #2 FAILED at 27.
Hunk #3 FAILED at 775.
3 out of 3 hunks FAILED -- saving rejects to file linux/VBoxNetFlt-linux.c.rej

I attached the .rej file. Maybe I'm don't patching well...

2009-06-17 11:41:11 changed by frank

  • attachment vboxnetflt.diff added.

vboxnetflt patch

2009-06-17 11:43:17 changed by frank

Thanks for testing. I've fixed the diff and replaced the attachment. Please apply it with

cd /usr/src/vboxnetflt-2.2.4
patch -p0 < vboxnetflt.diff

and don't forget

/etc/init.d/vboxdrv setup

to recompile the kernel module.

2009-06-19 09:00:28 changed by supermafete

Hi Frank,

I recompiled the module with the patch. This time it works.

I'll do the tests during this weekend and let you know the results.

Thank you very much for your help,

MaF.

2009-07-03 20:16:25 changed by supermafete

Hi Frank,

I couldn't do the tests yet, but I'm on it

As soon as I've the results, I'll let you know.

Greetings.

2009-07-10 21:17:36 changed by frank

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

2009-08-12 14:27:34 changed by supermafete

  • status changed from closed to reopened.
  • resolution deleted.

Hi Frank,

I'm sorry to inform you that the patch didn't work. The server crashed again.

Maybe the new 3.0.x version resolves this?

Thank you very much for your help.

2009-08-12 14:48:48 changed by frank

supermafete, which VBox version did you test this time?

2009-08-12 15:38:05 changed by supermafete

the same one, 2.2.4. I didn't change anything of the installation, just recompiled the modules with the patch you sent me.

2009-08-25 18:34:15 changed by supermafete

Hi there,

I upgraded the host server to lenny (2.6.26) and seems to work fine with VBox 3.0.4

Thank you very much for all your help,

MaF

2009-09-02 12:27:46 changed by frank

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

2010-01-12 15:38:00 changed by Barron123

I am seeing this as well with a WinXP SP3 guest running under RHEL5.3. The system has 12GB mem and 8 cores. I saw the issue under 3.02 and 3.04, but not under 2.24. The host is dual monitored and using coupon for zend. Tab-alt works to unlock the mouse. I've tried appending 'force_async_tsc=1' to the modprobe line in /etc/init.d/vboxdrv with no luck.


ContactPrivacy policy