Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

So, I'm attempting to compile and use the 3.6.2 kernel on my Debian 6 VM (running under Windows 7 in VMware Workstation 9). I've already had several hick ups, but I am slowly getting through them but still not there, yet.

So, I'm running the following (after extracting the file into /usr/src and running the commands via su)

make defconfig
make -j8
make install
make modules_install
update-initramfs -c -k 3.6.2
update-grub

I forgot to do the initramfs step, which I found from this link here but I still got the error, which resulted in me finding this link. After this, this part of the error below stopped occurring, but the rest was there:

W: devtmpfs not available, falling back to tmpfs for /dev 

Upon the GRUB menu, I edited the root UUID to /dev/sda1 but it still doesn't find it. I finally followed this link, but still no luck. Any ideas?

share|improve this question
    
You should use make oldconfig instead, you might be missing the fs driver for your root volume –  warl0ck Oct 18 '12 at 6:57
    
Thanks, I found out how to get it working with a bit of research and fiddling. Initially I ran make localmodconfig and got that working, so I knew it must've been something I missed. I noticed a few options that were selected in that config that weren't in the default config, so it was a matter of time till I got it to work, luckily coming across the site that I linked helped reduce the time dramatically. –  basically Oct 18 '12 at 8:36

1 Answer 1

up vote 0 down vote accepted

Alrighty then, I found the solution! Booyakasha! :)

After running lspci I did a google search for LSI Logic kernel compile (or something to that affect) and came across this site. Since it applied to an older kernel version (I assume as it looks different to the settings I have available) I applied the following and got it all working :)

So, assuming you've done as I did and started off with running make defconfig run make menuconfig and go into Device Drivers. Once in there, enable Fusion MPT device support and go in there and enable all the modules (Though I don't think you need all of them. I did for now but will tinker and update my answer accordingly after I have done so).

After enabling those modules, save and exit. Modify the make -j8 part as required. If you're using anything other than GRUB2 the last part will probably be different but hopefully this is generic enough for anyone to use, regardless of distro. So the entire process again, after extracting the kernel to /usr/src is:

make defconfig
make menuconfig
make -j8
make install
make modules_install
update-initramfs -c -k 3.6.2
update-grub

Lastly, you'll need to reinstall your VMware Tools when you're done, so you might wanna remove them first before the whole process.

Cheers guys! :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.