Crucial things for kernel compilation

Discussions about using Linux guests in VirtualBox.
Post Reply
Berjozkin
Posts: 65
Joined: 14. Nov 2007, 14:54
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Slackware 64 bit

Crucial things for kernel compilation

Post by Berjozkin »

Hi!

What are the crucial things (kernel options) to get working linux kernel compiled under Vbox 4.02?

I do not recall such hassle with 3.2.x, but with 4.02 its real pain - everything started from the inability to run 32 bit linux guest (Slack 13.1) on 32 bit linux host (Slack 12) with 4.02 - kernel fell in panic trying to measure SATA bus speed. In the same time it was possible to boot it using huge.s kernel, only the NIC was not working.

Now I have brand new vanilla Slack 13.1 (32b) virtual machine and i try to lighten up the kernel, but after first successful recompilation of kernel (removing absolutely unnecessary things like encryption hardware support), the second attempt ended with panicking kernel.

What makes all this more strange - i do not have anything like that with Slack64-13.1 guest having rebuilt kernel on 32 bit windows host. It just works with the number of latest VBox'es without complaining about anything. Only guest addition were re-installed.
particleman
Posts: 16
Joined: 10. Jan 2011, 05:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: arch,gentoo

Re: Crucial things for kernel compilation

Post by particleman »

This is what I used for a successful gentoo kernel compile

http://en.gentoo-wiki.com/wiki/Virtualbox_Guest
Berjozkin
Posts: 65
Joined: 14. Nov 2007, 14:54
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Slackware 64 bit

Re: Crucial things for kernel compilation

Post by Berjozkin »

Here is kernel config I use.

I think there are some more things to be removed, but i tired of experimenting.
Attachments
config-2.6.36.3.txt
(45.76 KiB) Downloaded 29 times
Post Reply