LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-01-2012, 06:00 PM   #1
urza
LQ Newbie
 
Registered: Dec 2003
Location: Turin - Italy
Distribution: Slackware current
Posts: 15

Rep: Reputation: 0
Vboxdrv and custom kernel on slackware 14


First, vboxdrv (and the whole virtualbox system) works flawless on the 3.2.29 (hugesmp.s) kernel shipped with slackware 14.
However, I cannot manage to run several version of virtualbox (4.0, 4.1, latest: 4.2) on custom kernel, including the following: 3.2.30, 3.4.11, 3.5.4 and (surprise, surprise) the 3.2.29, which is exactly the same version shipped with s14. Each time I run into the following kernel panic:

Quote:
Oct 1 23:01:26 chives kernel: IP: [<f8a66702>] VBoxHost_RTR0MemObjFree+0x294/0x294 [vboxdrv]
Oct 1 23:01:26 chives kernel: Modules linked in: vboxdrv(O+) snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss usb_storage iwl3945 iwl_legacy fbcon snd_hda_codec_idt i915 mac80211 cfbfillrect cfbimgblt bitblit snd_hda_intel snd_hda_codec snd_hwdep snd_pcm video softcursor font cfg80211 cfbcopyarea i2c_algo_bit snd_page_alloc drm_kms_helper firewire_ohci snd_timer sony_laptop drm firewire_core snd rfkill sky2 intel_agp intel_gtt agpgart soundcore backlight loop
Oct 1 23:01:26 chives kernel: EIP is at VBoxHost_RTR0MemObjGetPagePhysAddr+0x0/0x67 [vboxdrv]
Oct 1 23:01:26 chives kernel: [<f8a5f08e>] ? supdrvInitDevExt+0x103/0x69e [vboxdrv]
Oct 1 23:01:26 chives kernel: [<f8a66fa7>] ? rtR0MemAllocEx+0x4a/0x9d [vboxdrv]
Oct 1 23:01:26 chives kernel: [<f8a65829>] ? VBoxHost_RTMemAllocTag+0xe/0x22 [vboxdrv]
Oct 1 23:01:26 chives kernel: [<f8a6946a>] ? VBoxHost_RTSpinlockCreate+0x1b/0x4f [vboxdrv]
Oct 1 23:01:26 chives kernel: [<f8a66d83>] ? rtR0PowerNotificationInit+0x11/0x15 [vboxdrv]
Oct 1 23:01:26 chives kernel: [<f8841050>] ? VBoxDrvLinuxInit+0x50/0xc7 [vboxdrv]
Oct 1 23:01:26 chives kernel: EIP: [<f8a66702>] VBoxHost_RTR0MemObjGetPagePhysAddr+0x0/0x67 [vboxdrv] SS:ESP 0068:e043dea0
Oct 1 23:03:59 chives kernel: IP: [<f904a702>] VBoxHost_RTR0MemObjFree+0x294/0x294 [vboxdrv]
Oct 1 23:03:59 chives kernel: Modules linked in: vboxdrv(O+) snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss usb_storage fbcon bitblit softcursor font i915 cfbfillrect cfbimgblt video cfbcopyarea i2c_algo_bit drm_kms_helper drm intel_agp intel_gtt agpgart iwl3945 iwl_legacy mac80211 snd_hda_codec_idt sky2 firewire_ohci snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer cfg80211 snd sony_laptop firewire_core backlight soundcore rfkill loop
Oct 1 23:03:59 chives kernel: EIP is at VBoxHost_RTR0MemObjGetPagePhysAddr+0x0/0x67 [vboxdrv]
Oct 1 23:03:59 chives kernel: [<f904308e>] ? supdrvInitDevExt+0x103/0x69e [vboxdrv]
Oct 1 23:03:59 chives kernel: [<f904afa7>] ? rtR0MemAllocEx+0x4a/0x9d [vboxdrv]
Oct 1 23:03:59 chives kernel: [<f9049829>] ? VBoxHost_RTMemAllocTag+0xe/0x22 [vboxdrv]
Oct 1 23:03:59 chives kernel: [<f904d46a>] ? VBoxHost_RTSpinlockCreate+0x1b/0x4f [vboxdrv]
Oct 1 23:03:59 chives kernel: [<f904ad83>] ? rtR0PowerNotificationInit+0x11/0x15 [vboxdrv]
Oct 1 23:03:59 chives kernel: [<f8976050>] ? VBoxDrvLinuxInit+0x50/0xc7 [vboxdrv]
Oct 1 23:03:59 chives kernel: EIP: [<f904a702>] VBoxHost_RTR0MemObjGetPagePhysAddr+0x0/0x67 [vboxdrv] SS:ESP 0068:f2dd7ea0
either when modprobing the virtualbox or when running a virtual machine. It sounds really strange to me that this happens with several versions of the kernel - it may depend on some modules or features I have configured in the kernel, but which? I do not have an exotic kernel configuration, just the classical things you encounter on an ICH7 sony vaio notebook. I can also attach the .config file if it is needed.

Any hints?

Last edited by urza; 10-01-2012 at 06:24 PM.
 
Old 10-01-2012, 06:15 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Without knowing what you have changed to the default kernel we can't really help you. Please attach your config file.
 
Old 10-01-2012, 06:23 PM   #3
urza
LQ Newbie
 
Registered: Dec 2003
Location: Turin - Italy
Distribution: Slackware current
Posts: 15

Original Poster
Rep: Reputation: 0
Well, ok!

You can find it here:

http://pastebin.com/HpjTtu8w
 
Old 10-01-2012, 10:19 PM   #4
bnguyen
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 125

Rep: Reputation: 33
Did you recompile virtualbox-kernel for your new kernel?
 
Old 10-04-2012, 06:28 AM   #5
urza
LQ Newbie
 
Registered: Dec 2003
Location: Turin - Italy
Distribution: Slackware current
Posts: 15

Original Poster
Rep: Reputation: 0
I recompiled the modules shipped with VirtualBox by /etc/init.d/vboxdrv setup. Virtualbox-kernel is vboxdrv, isn't it?
 
Old 10-05-2012, 09:10 PM   #6
urza
LQ Newbie
 
Registered: Dec 2003
Location: Turin - Italy
Distribution: Slackware current
Posts: 15

Original Poster
Rep: Reputation: 0
It seems to work using the .config file shipped in the sources/extra directory of S14. I modified this file a little bit, pruning a lot of unused hardware and it works as well. I really do not know what was wrong with my .config file...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtualbox vboxdrv problem on Slackware 13.37 joao Linux - Virtualization and Cloud 2 10-13-2011 01:24 PM
[SOLVED] Where to get vboxdrv.ko for 2.6.31.3 kernel? sevs Linux - Software 7 03-14-2010 07:17 AM
Installing VirtualBox from SlackBuild - Slackware 12 - vboxdrv problem Do7AN Slackware 9 01-22-2009 01:58 PM
Installing Slackware on a custom kernel hsimah Slackware 21 05-17-2006 02:22 AM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration