I did this on Jaunty and it worked for me.
Before you compile your own kernel, it takes a LONG time to compile.
This does work--well worked for me anyway...
If you download the script, be sure to chmod +x script.sh before running ./script.sh
Code:
#!/bin/bash
echo "What version of Ubuntu are you using?"
echo "A) Hardy 8.04"
echo "B) Intrepid 8.10"
echo "C) jaunty 9.04"
read UBUNTU
case $UBUNTU in
A|a)
echo "Choice was $UBUNTU"
UBUNTU="hardy"
;;
B|b)
echo "Choice was $UBUNTU"
UBUNTU="intrepid"
;;
C|c)
echo "Choice was $UBUNTU"
UBUNTU="jaunty"
;;
*)
echo "Valid Choices are A,B,C"
exit 1
;;
esac
echo "What sort of system are you on?"
echo "A) i386"
echo "B) amd64"
read SYSTEM
case $SYSTEM in
A|a)
echo "Choice was $SYSTEM"
SYSTEM="i386"
;;
B|b)
echo "Choice was $SYSTEM"
SYSTEM="amd64"
;;
*)
echo "Valid Choices are A,B"
exit 1
;;
esac
echo ""
echo ""
echo "You have selected: $UBUNTU and $SYSTEM are these correct?"
echo ""
echo "Control-C to quit, or wait 20 secs..."
sleep 20
sudo apt-get update
sudo apt-get install fakeroot linux-kernel-devel build-essential makedumpfile git-core build-dep linux debhelper
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-$UBUNTU.git ubuntu-$UBUNTU
cd ~/ubuntu-$UBUNTU/debian/config/$SYSTEM
sed -i 's/CONFIG_USB_EHCI_TT_NEWSCHED/#CONFIG_USB_EHCI_TT_NEWSCHED/g' config
cat config | grep CONFIG_USB_EHCI_TT_NEWSCHED
echo ""
echo "There should be a # in frong of the CONFIG_USB_EHCI_TT, if there isn't quit and figure out why."
echo "Otherwise wait 20 secs to continue.."
echo ""
sleep 20
cd ~/ubuntu-$UBUNTU
echo ""
echo "WARNING: BE SURE TO SELECT N WHEN PROMPTED (EXPERIMENTAL) (USB_EHCI_TT_NEWSCHED)!!!"
echo ""
sleep 10
debian/rules updateconfigs
echo ""
echo "The next step takes awhile..sit back and relax!"
echo ""
AUTOBUILD=1 fakeroot debian/rules binary-debs
cd ~/
ls -l | grep dep
echo ""
echo "Perhaps you want to do dpkg -i linux-image-2.6.28-12-generic_2.6.28-12.43_i386.deb"
echo ""
echo "and dpkg -i linux-headers-2.6.28-12-generic_2.6.28-12.43_i386.deb"
echo ""
echo "If you update your kernel..start over. Good luck."
#cleaning up
rm -rf ~/ubuntu-$UBUNTU
exit
I have uploaded my deb packages here:
http://www.aaronalbright.com/packages/kernel/
I installed this package:
http://www.aaronalbright.com/package...12.43_i386.deb
And it worked for me. It may or may not work for you.
You'll probably want the generic one for i386. The headers wouldn't install for me--which broke virtualbox. This deb will only work for the 2.6.28-12 kernel. Any upgrades will not work (I assume). DO NOT INSTALL ON ANY SYSTEM THAT CAN'T BE REINSTALLED OR THAT CAN'T BE BROKE. It's all optional and so forth I take no responsibility if it breaks your Ubuntu.. Just hoping to help someone..
Good luck.
Aaron
Bookmarks