You are not logged in.

#1 2004-09-23 16:17:51

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Kernel 2.6.8.1 Boot Error (After Recompile)

I have recompiled the kernel from source, but whenever I attempt to load the new kernel, I get messages about vfs not being able to find the root discs/disc0/part4 or unknown-block(0,0). Does anyone know why this might be? The root is in ext3 format, and this is compiled into the kernel.

Thanks in advance,
Kirk

Offline

#2 2004-09-23 16:41:19

khazdar
Member
From: ohio
Registered: 2003-11-06
Posts: 123

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

By chance are you using a serial ATA hard drive ?

Offline

#3 2004-09-23 16:53:49

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

My system is a laptop, so no.

Offline

#4 2004-09-23 17:46:33

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

did you edit/rerun lilo ??


Mr Green

Offline

#5 2004-09-23 17:46:55

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

do you use lilo as your bootloader? if you do did you forget to run it after upgrading your kernel?


AKA uknowme

I am not your friend

Offline

#6 2004-09-23 17:49:07

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

:oops: you beat me to it .... lol


Mr Green

Offline

#7 2004-09-23 17:56:34

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

I use grub, and I updated it. It finds the kernel and starts the load process, but I get my errors when it actually tries to mount the root.

Offline

#8 2004-09-23 18:59:36

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

do you use udev ?


Mr Green

Offline

#9 2004-09-23 19:11:45

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

Nope, I'm not.

Offline

#10 2004-09-24 08:12:43

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

well check your fstab ?


Mr Green

Offline

#11 2004-09-24 08:19:43

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

I'm using the exact same fstab as I was using before I recompiled the kernel. What confuses me is that it must find the root partition because it starts the loading process.

I appreciate your help.

Offline

#12 2004-09-24 08:23:20

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

how far does it get with loading can you find any errors in log file ?

did you mess with kernel config at all ?

not much else I can do without sitting there looking at it  lol


Mr Green

Offline

#13 2004-09-24 08:33:13

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

It seems to drop out just before it prints Arch Linux 0.7 (Wombat) to the display, and where it would usually attempt to load the deamons and modules and such. I edited the kernel config, but didn't remove anything other than sound and video drivers I wouldn't need.

The error message describes how it can't find discs/disc0/part4 for boot. I know that this is the root partition, and that the kernel image is there, which it does find. Maybe it has something to with the /dev/ part of the location that seems to be missing from the error message. But like I've said, I'm certain that grub is set how it should be, as I have an option for the new kernel that uses the same settings as for the previous, with the different image name instead.

Offline

#14 2004-09-24 08:44:47

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

I am assuming that you are using 2.6.x kernel...

How did you build kernel from souce or ABS ?

you say same settings in grub ..

does new kernel point to new vmlinuz in /boot ?


Mr Green

Offline

#15 2004-09-24 08:47:23

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

Yeah, it's the 2.6.8.1 kernel (thread title). I built it from source which I downloaded from www.kernel.org.

And yeah, I made the new image as bzImage, and moved it to /boot/ so it sits next to vmlinuz26. The new kernel grub option points to this bzImage.

Offline

#16 2004-09-24 08:58:31

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

I'm sorry that I have not been much help ....

If you get cannot mount error ... then have you checked fstab ... thing is it should be no different for new kernel anyway ... but its looking for /dev/discs/disc0/part4 so check that ....

HTH


Mr Green

Offline

#17 2004-09-24 10:52:47

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

Ok, I appreciate your help, so thanks. I'm not having much look finding any help anywhere for this problem, so I think I'll just stick with the stock kernel.  roll

Offline

#18 2004-09-24 11:10:30

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel 2.6.8.1 Boot Error (After Recompile)

I would try using ABS ... at least that way you will have arch default config to build on ...

I see no reason for you to give up ,you know what you are doing ...  :?

give 2.6.8.1-mm4 a go ... smile


good luck.....


Mr Green

Offline

Board footer

Powered by FluxBB