Originally Posted by
paul_manning22
Hi all. This tute has helped me successfully compile several new kernels but I have the same problem with each new one. It seems I experience problems with certain USB devices on compiled kernels. For example, my external hdd will no longer auto mount. If I unload ehci_hcd and reload it, or cycle the power of the external drive, it then works. It still wont automount, but at least a proper dev id is assigned so I can manually mount it via fstab. The other issue I experience is my USB IR receiver, command ir, doesn't seem to like ehci_hcd loaded at all. A lsusb detects the device briefly, and then it disappears. If I blacklist ehci_hcd all together, the device works fine. Problem for me is, I need ehci_hcd loaded in order for my Hauppage Nova T 500 to function correctly. I have several regular installs of Ubuntu on other machines an I can verify the IR reciever and external HDD works as expected with EHCI_HCD loaded at boot.
My other question is regarding housekeeping. With all the 'other' kernel updates ubuntu seems to do via the update manager, I'm looking at tidying up all the redundant files I no longer need for old kernels. I have found these in;
/usr/src/{kernel version}
/lib/modules/{kernel verison}
/lib/firmware/{kernel version}
and all the other entries in grub etc
Is it safe to delete all these without any damaging effect to the compiled kernel? Is there a basic tidy tute someone can assist me with?
Cheers.
As for your first question, it sounds like some options aren't being enabled in the kernel. Try upgrading to Gutsy's developing kernel using the script found here and then try compiling a new kernel again. This should enable any options the Ubuntu team has enabled for better hardware support.
As far as your second question goes, based on the folders you have listed above, you can try this as long as you are not running the kernel being removed. Replace 2.6.22.6 with the kernel being removed.
Code:
sudo apt-get remove 2.6.22.6*
sudo apt-get autoremove
sudo apt-get check
sudo rm -rf /usr/src/2.6.22.6 /lib/modules/2.6.22.6 /lib/firmware/2.6.22.6
sudo update-grub
sudo updatedb
Bookmarks