LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problems recompiling a new kernel (https://www.linuxquestions.org/questions/debian-26/problems-recompiling-a-new-kernel-94741/)

Soma 09-20-2003 02:27 AM

Problems recompiling a new kernel
 
Hi people,

I am having problems trying to compile a new 2.4.20/22 kernel onto a machine (Debian Woody). It boots fine with the stock 2.4.18-bf24 kernel image but when I try and boot from the new image I get the following error up:

Quote:

Checking root file system...
fsck 1.27 (8-mar-2002)
fsck.ext3: no such file or directory while trying to open /dev/hda3
/dev/hda3:
The superblock could not be read or does not describe a correct ext2 file system.
At first I tried 2.4.22 but got the error after re-booting. After a heap of problems after this I started the whole install again and descided to try using 2.4.20 instead (which I have had no problems with in the past). I have a bit of experience running Debian and have got other machines up and running without problems. I have the ext3 stuff compiled into the kernel in 'File Systems', as well as the ext2 stuff and still no joy. Is there something I'm missing maybe that could be causing the fault?

Any help appreciated. Thanks!

hw-tph 09-20-2003 06:32 AM

I don't know, never had that problem...

Do you have a special hard disk controller, like a Promise ATA-100 controller or something similar? Support for those have to be compiled into the kernel as well, you'll find the IDE controllers under "ATA/IDE/MFM/RLL support" and then "IDE, ATA and ATAPI Block devices".

hw

TigerOC 09-20-2003 12:04 PM

I spent days with the standard source trying to get the 2.4.22 kernel compiled the Debian way and none of them would boot. They have now released the 2.4.22 debian source package and I used that to make a new kernel image the Debian way and it worked first time.

Soma 09-20-2003 09:46 PM

It ended up being something really stupid. I forgot to install devfsd and had the dev stuff compiled in.

I ended up sticking with 2.4.20 for the moment anyway.

Thanks guys!


All times are GMT -5. The time now is 01:45 PM.