![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
| View Poll Results: Was this helpful to you? | |||
| Yes |
|
962 | 91.53% |
| No |
|
89 | 8.47% |
| Voters: 1051. You may not vote on this poll | |||
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||
|
Dipped in Ubuntu
![]() Join Date: Nov 2006
Location: United States
Beans: 630
Ubuntu 9.04 Jaunty Jackalope
|
Welcome to the Master Kernel Thread You see many kernel compiling posts or blogs on the web. What makes this one any more special? In truth, just because this is the post linked to more than all the others, almost nothing is different from other kernel compiling methods. Sure, it might be a little easier, it might be more constantly updated, I'll give you that. Here comes the truth of what this thread is all about. I wanted to create a tutorial that could give something back to the Linux community as a whole, I wanted to help people stick with Linux without going through the pains of slow bootup time and slow desktop performance. I created this guide to do exactly that. A tutorial to optimize the kernel you are compiling can be found here. This tutorial is based on this thread here: http://www.ubuntuforums.org/showthread.php?t=157560. I give the credit for this thread to xXx 0wn3d xXx. Thanks!Kernel.org Information Current stable kernel: 2.6.31.6 | F P Current development kernel: 2.6.32-rc7 | F P This guide is for the current stable 2.6.31 kernel from kernel.org. It was last updated Fri 13 Nov 2009 18:41:00 EST. Author's Dedication FYI: KernelCheck (written by me, current version 1.2.5), a program that automatically compiles and installs the latest kernel, can be downloaded here. This script uses the instructions posted in this guide. Also, the KernelCheck screenlet is available here. The main forum thread for this project is here. Note that this program allows for automatic installation of proprietary video drivers via EnvyNG. Dim Gray Text should be ignored. Green Text is recommended but not mandatory. Orange Text is instruction. Red Text is important.
Troubleshooting: Q. Help! My suspend and hibernate buttons don't work!: A. The new SLUB allocator in the 2.6.22 and later kernels has a bug in it that does not allow some systems to suspend or hibernate. To fix this, just use the SLAB allocator instead of SLUB in the xconfig dialog. -------------------------------------------------------------- Q. My High Definition sound (Azalia or Intel HD) does not work with the new kernel!: A. You have to enable the Intel HD module in Advanced Linux Sound Architecture, even if it isn't Intel. -------------------------------------------------------------- Q.With the --revision and 64 bit processors: Quote:
-------------------------------------------------------------- Q. When I 'make xconfig', this error appears, but it doesn't seem to harm the installation. Quote:
-------------------------------------------------------------- Q. After GRUB boots my kernel, all I see is this: Quote:
-------------------------------------------------------------- Q. NVIDIA users compiling the 2.6.21 kernel should follow the directions below to compile the NVIDIA driver. [DEPRECATED] A. Quote:
Q. Why isn't there any more troubleshooting? A. Because you need to help add some. You want more? Post your problems, PM me and help the Ubuntu community. † Post automatically created by UpdateT version 0.1
__________________
The one and only, Master Kernel Thread
KernelCheck - Finally. A way to easily download, compile, and install the latest kernel. Release 1.2.5 available now. Last edited by master_kernel; 6 Days Ago at 07:41 PM.. Reason: Updates |
||||
|
|
|
|
|
#2 |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: Jun 2006
Beans: 2,292
Ubuntu 9.10 Karmic Koala
|
Re: Master Kernel Thread
That should read
Code:
sudo /etc/init.d/gdm stop Code:
sudo /etc/init.d/gdu stop
__________________
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2006
Location: Boston
Beans: 26
Ubuntu 8.04 Hardy Heron
|
Re: Master Kernel Thread
I was able to compile version 2.6.19 on my Dell Dimension at work, but after compiling, installing, and rebooting on my Precision M65 laptop, it just hangs at "Begin: Waiting for root file system... ..."
Any ideas? |
|
|
|
|
|
#4 |
|
Dipped in Ubuntu
![]() Join Date: May 2006
Beans: 519
|
Re: Master Kernel Thread
Well this also allow selecting which kernel you want to boot up?
|
|
|
|
|
|
#5 | |
|
RIP ~ Fluffy ~ 2006-2008
![]() |
Re: Master Kernel Thread
Quote:
__________________
Look At My Hearse. (A GOMH Tribute) |
|
|
|
|
|
|
#6 |
|
Dipped in Ubuntu
![]() Join Date: May 2006
Beans: 519
|
Re: Master Kernel Thread
heres the error i'm getting
make[1]: Entering directory `/usr/src/modules/fglrx' if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \ cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control; \ fi if [ -f /usr/src/modules/fglrx/debian/postinst ]; then \ mv /usr/src/modules/fglrx/debian/postinst /usr/src/modules/fglrx/debian/fglrx-kernel-2.6.19.postinst; \ fi dh_testdir touch configure-stamp dh_testdir /usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules make[2]: Entering directory `/usr/src/linux-2.6.19' CC [M] /usr/src/modules/fglrx/firegl_public.o /usr/src/modules/fglrx/firegl_public.c:89:26: error: linux/config.h: No such file or directory /usr/src/modules/fglrx/firegl_public.c:456: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c: In function ‘firegl_stub_open’: /usr/src/modules/fglrx/firegl_public.c:579: warning: assignment discards qualifiers from pointer target type /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_request_irq’: /usr/src/modules/fglrx/firegl_public.c:2510: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_smp_call_function’: /usr/src/modules/fglrx/firegl_public.c:3898: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type make[3]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1 make[2]: *** [_module_/usr/src/modules/fglrx] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.19' make[1]: *** [build] Error 2 make[1]: Leaving directory `/usr/src/modules/fglrx' Module /usr/src/modules/fglrx failed. Hit return to Continue |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2006
Beans: 9
|
I'm unable to install libqt3-mt-dev, because it needs libxft-dev. libxft-dev needs libxft2 version 2.1.10-1ubuntu1.1, but I have libxft2 version 2.1.10-1ubuntu1.3. If I uninstall libxft2, I get a slew of programs and such that would also be uninstalled. Any ideas?
|
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
Beans: 2
|
Re: Master Kernel Thread
I'm getting the same problem as whomever21, I'm a Compaq v3000z laptop. Tried multiple times with different kernel config options, but I still get the "Waiting for root filesystem..." message.
@Descanguci You don't necessarily need qt3, thats just used in the 'make xconfig' step (I believe). Instead of running 'make xconfig', you could run 'make menuconfig' and that would give you a text based menu for changing kernel options. |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
Beans: 2
|
Re: Master Kernel Thread
@lime4x4:
The file it's trying to include is /usr/src/linux-headers-2.6.19/include/linux/config.h however, this file does not exist, at least in the versions I've been able to build. This file exists in my linux-headers-2.6.18 directory that I have from the last time I built my own kernel (using the previous guide), but not in the new (2.6.19) version. Seems like something is broken (or fragile) when building 2.6.19 on Ubuntu machines. Makes me wish I still had my Fedora Core 6 partition to try building a kernel on. |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2006
Beans: 11
|
Re: Master Kernel Thread
I'm also getting the "Begin: Waiting for root file system... ..." message and the system just hangs. If I hit ctr+alt+del it reboots and I can repeat over and over, nothing. If I choose my old kernel from grub it boots just fine so I don't think there is anything wrong with the file system.
Help? |
|
|
|
| Bookmarks |
| Tags |
| compile, kernel |
| Thread Tools | |
| Display Modes | |
|
|