VirtualBox

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#4236 closed defect (fixed)

kernel panic in virtualbox 2.2 64bit SMP

Reported by: supermafete Owned by:
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 (3)

vbox 2.2 kernel panic syslog.txt (9.0 KB ) - added by supermafete 15 years ago.
VBoxNetFlt-linux.c.rej (2.4 KB ) - added by supermafete 15 years ago.
vboxnetflt.diff (1.6 KB ) - added by Frank Mehnert 15 years ago.
vboxnetflt patch

Download all attachments as: .zip

Change History (19)

by supermafete, 15 years ago

comment:1 by Frank Mehnert, 15 years ago

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?

comment:2 by supermafete, 15 years ago

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.

comment:3 by supermafete, 15 years ago

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

comment:4 by Frank Mehnert, 15 years ago

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

comment:5 by supermafete, 15 years ago

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.

by supermafete, 15 years ago

Attachment: VBoxNetFlt-linux.c.rej added

comment:6 by supermafete, 15 years ago

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...

by Frank Mehnert, 15 years ago

Attachment: vboxnetflt.diff added

vboxnetflt patch

comment:7 by Frank Mehnert, 15 years ago

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.

comment:8 by supermafete, 15 years ago

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.

comment:9 by supermafete, 15 years ago

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.

comment:10 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: newclosed

comment:11 by supermafete, 15 years ago

Resolution: fixed
Status: closedreopened

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.

comment:12 by Frank Mehnert, 15 years ago

supermafete, which VBox version did you test this time?

comment:13 by supermafete, 15 years ago

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

comment:14 by supermafete, 15 years ago

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

comment:15 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: reopenedclosed

comment:16 by Barron123, 14 years ago

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.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use