I was also having the "Begin: Waiting for root file system..." bug. This was due to the fact that I'm booting from a SATA drive, and none of the SATA drivers were baked into the kernel. I recompiled the kernel with the SATA drivers baked in and it booted fine.
The next problem I'm having is not being able to mount local hard drives after I'm booted up. I have an IDE drive I use for storage that ubuntu can't see. This used to be solved by patching the kernel with the evms patch shown here (http://www.ubuntuforums.org/showthre...&page=1&pp=10), but this method no longer works. Any solutions?
Main Rig: Athlon XP 2800+ (Overclocked) | 512MB Corsair DDR400 Dual Channel | Asus A7N8X Deluxe | ATi Radeon 9700 Pro
Linux Registered User - #423753
Hmm that makes sense, I'm also running from a SATA drive, I'll give it a try.
what do you mean by "baked in"?
By baked in, I meant compiled into the kernel. When you do a sudo make xconfig you need to enable the SATA drivers. They're not selected by default.
Main Rig: Athlon XP 2800+ (Overclocked) | 512MB Corsair DDR400 Dual Channel | Asus A7N8X Deluxe | ATi Radeon 9700 Pro
Linux Registered User - #423753
There is no problem with building kernels under Ubuntu. The issue here is that config.h no longer exists in the 2.6.19 kernel. Read this thread to get more info...
"smooth as seelk"
Great guide. After a few attempts I managed to get a new 2.6.19 kernel going. Maybe you could add the following info for others who were in my same situation.
Change
toCode:sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget && cd /usr/src
This way if people have just done a server install they can use menuconfig instead of xconfig.Code:sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev && cd /usr/src
For people running a server install with console only
Also can someone point me in the right direction for compiling the nvidia kernel sources as well? I read somewhere that you need to do this because restricted modules aren't allowed when you compile your own kernel.Code:sudo cp /boot/config-`uname -r` .config && sudo make oldconfig && sudo make menuconfig
Thanks!
When I enter
I got this error ( after holding enter for a while) :Code:spitz@desktop:/usr/src/linux$ sudo cp /boot/config-`uname -r` .config && sudo make oldconfig && sudo make xconfig
Code:* Library routines * CRC-CCITT functions (CRC_CCITT) [M/y/?] m CRC16 functions (CRC16) [M/y/?] m CRC32 functions (CRC32) [Y/?] y CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [M/y/?] m # # configuration written to .config # scripts/kconfig/qconf arch/i386/Kconfig X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device
I ignored this error & continued compilation... Everything seemed to be go fine, but when restartign & booting the new kernel I got this error:
/dev/sda1/ does not exist Dropping to shell
/bin/sh: can't axxes tty Job control turned off
What did I wrong?
Last edited by Choxo; December 17th, 2006 at 02:34 PM.
I keep getting this error for fuseCode:/usr/bin/make -C kfusd KDIR=/usr/src/linux make[3]: Entering directory `/usr/src/modules/fusd-kor/kfusd' echo EXTRA_CFLAGS=-I/usr/src/modules/fusd-kor/kfusd/../include EXTRA_CFLAGS=-I/usr/src/modules/fusd-kor/kfusd/../include /usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fusd-kor/kfusd EXTRA_CFLAGS=-I/usr/src/modules/fusd-kor/kfusd/../include modules make[4]: Entering directory `/usr/src/linux-2.6.19' CC [M] /usr/src/modules/fusd-kor/kfusd/kfusd.o /usr/src/modules/fusd-kor/kfusd/kfusd.c:60:26: error: linux/config.h: No such file or directory /usr/src/modules/fusd-kor/kfusd/kfusd.c:70:35: error: linux/devfs_fs_kernel.h: No such file or directory /usr/src/modules/fusd-kor/kfusd/kfusd.c:181: error: expected ‘)’ before string constant /usr/src/modules/fusd-kor/kfusd/kfusd.c: In function ‘fusd_register_device’: /usr/src/modules/fusd-kor/kfusd/kfusd.c:2036: warning: label ‘register_failed2’ defined but not used /usr/src/modules/fusd-kor/kfusd/kfusd.c: At top level: /usr/src/modules/fusd-kor/kfusd/kfusd.c:2517: error: unknown field ‘writev’ specified in initializer /usr/src/modules/fusd-kor/kfusd/kfusd.c:2517: warning: initialization from incompatible pointer type /usr/src/modules/fusd-kor/kfusd/kfusd.c: In function ‘init_fusd’: /usr/src/modules/fusd-kor/kfusd/kfusd.c:2941: warning: label ‘fail2’ defined but not used /usr/src/modules/fusd-kor/kfusd/kfusd.c:2929: warning: label ‘fail7’ defined but not used /usr/src/modules/fusd-kor/kfusd/kfusd.c: In function ‘cleanup_fusd’: /usr/src/modules/fusd-kor/kfusd/kfusd.c:2960: warning: implicit declaration of function ‘devfs_remove’ make[5]: *** [/usr/src/modules/fusd-kor/kfusd/kfusd.o] Error 1 make[4]: *** [_module_/usr/src/modules/fusd-kor/kfusd] Error 2 make[4]: Leaving directory `/usr/src/linux-2.6.19' make[3]: *** [default] Error 2 make[3]: Leaving directory `/usr/src/modules/fusd-kor/kfusd' make[2]: *** [binary-modules] Error 2 make[2]: Leaving directory `/usr/src/modules/fusd-kor' make[1]: *** [kdist_build] Error 2 make[1]: Leaving directory `/usr/src/modules/fusd-kor' Module /usr/src/modules/fusd-kor failed. Hit return to Continue
What is better for me to use here:
make-kpkg -initrd --revision=386 kernel_image kernel_headers modules_image
386, 686 or k7?
I have amd 3800+ X2 and Edgy 64bit
This is my second attemp to compile the 2.6.19 kernel and the first time I put k7. In entry of grub don't have 2.6.19.k7 (or 2.6.19-k7, I don't know how it should be), but I have only 2.6.19
Have to be only this?
Bookmarks