Page 1 of 1

Crucial things for kernel compilation

Posted: 26. Jan 2011, 22:09
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.

Re: Crucial things for kernel compilation

Posted: 27. Jan 2011, 03:47
by particleman
This is what I used for a successful gentoo kernel compile

http://en.gentoo-wiki.com/wiki/Virtualbox_Guest

Re: Crucial things for kernel compilation

Posted: 29. Jan 2011, 17:52
by Berjozkin
Here is kernel config I use.

I think there are some more things to be removed, but i tired of experimenting.