View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Feb 11, 2005 6:12 pm 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
On a fresh install of knoppmyth R4V5, I tried to upgrade the kernel to 2.6 by using the following commands:
Code:
sudo vi /etc/apt/sources.list
[enable the sites to download testing packages]
sudo apt-get update
sudo apt-get install kernel-image-2.6-686

It downloaded and installed successfully.

Then edited /etc/lilo.conf to add an entry for the new kernel and initrd. Then ran lilo to update the boot sector.

Now, the problem is when I try to boot with this new kernel, it hangs with this message:

Kernel panic: VFS: Unable to mount root fs on unknown-block(3,1)

I think this might be a SATA problem? Not sure, so any suggestion will be greatly appreciated. Thanks :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 11, 2005 6:44 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I suggest that you wait for the alpha release of R5 which is iminent (read hours away see http://mysettopbox.tv/phpBB2/viewtopic.php?t=3485). It comes with a 2.6.9 kernel.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 11, 2005 7:47 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
if you use apt-get to upgrade the kernel you will have to put the initrd line in lilo. all kernel images use initrd, but the default kernel in knoppmyth doesn't.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 11, 2005 8:22 pm 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
Xsecrets wrote:
if you use apt-get to upgrade the kernel you will have to put the initrd line in lilo. all kernel images use initrd, but the default kernel in knoppmyth doesn't.

Yup, I have tried with and without the initrd line in lilo.conf

Any other ideas? Thanks for your help, even though R5 will be out soon, I'd still like to know how to upgrade the kernel with apt-get. Maybe if you could point me to a howto/guide that you know works with Knoppmyth?

Thanks again :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 12:16 am 
Offline
Joined: Mon Feb 16, 2004 7:06 pm
Posts: 309
Location: Toronto
The 2.6 kernel requires an updated version of the module-init-tools among other things. You can follow the howto at the KnopmythWiki here http://knoppmythwiki.homelinux.org/inde ... gradeHowTo or you can make it easy on yourself and install from the R5 alpha that is comming out on Saturday.

_________________
KnoppMyth Folding@home
How to setup F@H
F@H Stats Page


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 5:27 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
Gnarl wrote:
The 2.6 kernel requires an updated version of the module-init-tools among other things. You can follow the howto at the KnopmythWiki here http://knoppmythwiki.homelinux.org/inde ... gradeHowTo or you can make it easy on yourself and install from the R5 alpha that is comming out on Saturday.

Thanks. It's not exactly what I was looking for because that KnoppMythWiki describes how to install kernel 2.6 from source.

Instead, I want to install kernel 2.6 image with apt-get, without compiling from source. Guess I'll try apt-get install module-init-tools ???

Anyways, it's not all too important now since R5 is due soon. But I'm still interested, just for the sake of curiosity .. if there's a quick explaination then please enlighten me : :o


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 5:47 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I wrote that KernelUpgradeHowTo, and your comments regarding initrd reminded me of a similar problem to your's that I had. I couldn't get the kernel to boot with an initrd (I kept getting the same error that you had). KnoppMyth didn't come with a mkinitrd script and I couldnt work out where to get one that would work with KnoppMyth. I ended up doing without the initrd, but the important thing without an initrd is that you MUST have the kernel support for the filesystem of your root partition compiled in (not compiled as a module). I think you also need all of the drivers required to access your disk compiled in too. I suspect that most kernel distributions that you get are not going to have sata support compiled in, so unless you can work out how to get an initrd suitable for your hardware and filesystem setup, you are probably out of luck (without compiling the kernel from source).


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 6:00 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
Thanks Greg. So I guess the initrd that was downloaded with apt-get install kernel-image-2.6-686 either doesn't have sata support, or doesn't work with KnoppMyth.

So my conclusion is that it's not worth any more time figuring it out :?

On to R5 :lol:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 6:06 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Yeah. I gave up figuring out the initrd, but I had an alternative (build everytghing I needed into the kernel). I guess your alternative is R5 which I think makes yuou the lucky one. Nice timing. :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 6:15 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
Greg, a bit off topic, but it sounded like you are using a SATA hard drive. If so, do you have any problems with DTV?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 6:20 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
No sata here. Move along please. :shock:


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu