LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-18-2005, 06:58 AM   #1
saltireboy
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 15

Rep: Reputation: 0
Kernel Upgrade now Kernel Panic


I have just upgraded the Slack 10.1 default kernel to 2.6.11.9.

all seemed to go well, but now when starting up i get the following message...

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

Unfortunately I did not edit my existing lilo.conf entry to point to the old vmlinuz so am currently unable to go back to the old kernel to sort this out.

Any help for a noobie?
 
Old 05-18-2005, 07:10 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
If you did not delete the old kernel, just boot with slackware CD 1 or 2,
mount your drive and rename the old kernel to the new one

Or chroot to /mnt/<mounted drive> and change lilo.conf,
run lilo to take change in account

[edit]
I don't know lilo well (I use grub) and I suspect the first option
will fail

Last edited by keefaz; 05-18-2005 at 07:14 AM.
 
Old 05-18-2005, 07:12 AM   #3
ArbiterOne
LQ Newbie
 
Registered: Oct 2004
Location: Munich, Germany
Distribution: Slackware 10.1
Posts: 18

Rep: Reputation: 0
On the lilo command line, enter:
linux root=/dev/XXXX
where XXXX is hda1, hda2, wherever you have the linux partition.
Otherwise, boot from the slackware disk.
Hope that helps.
 
Old 05-18-2005, 07:56 AM   #4
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
Is your partition ReiserFS?

make config by default selects etx2 & ext3 support.

If you didn't enable support for reiser or whatever your drive is formatted to in your config that may be the problem.

I would boot from the installation cd's and reconfig and remake the kernel.
 
Old 05-18-2005, 08:29 AM   #5
saltireboy
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
My fs is indeed ReiserFS.

When I made the .config I used make oldconfig, which would have had the ReiserFS in it. If I run make menuconfig, does it pick up whatever the config is so that all I have to do is change the inclusion of ReiserFS?

Also I built a boot floppy when I installed Slack. Can I use that to get to the point of running make menuconfig, or will it pick up the .config from the floppy.

Sorry for all the questions, but as mentioned before I am a noob.
 
Old 05-18-2005, 08:43 AM   #6
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
Ok, first I am also an extreme noob myself, but I ran across this same problem myself. I had the same errors. It was because I didn't enable support for reiserFS when I configured my new kernel.

What you may have done wrong is this.

The default kernel in slack 10.1 is a 2.4.xx kernel.

You are now going to a 2.6.xx kernel.

Using that old config from 2.4.xxx may be what is scrweing you up. It is better to make a newconfig file using make xconfig.

all you really have to do is make sure the right processor family and the right harddrive format is enabled, easy as pie.

There are three files that need to be installed or upgraded before you go to the new kernel tree.

I had success by using xushi's guide. It worked great and is easy to follow.

It is listed below:

http://xushi.co.uk/guides/kernel.php

Please read his guide before you do anything else.

To get back into your system just start it up with your installaion disc or back up disc, log in as root, and startx

Remeber, I too am a noob but I got it, you can too.
 
Old 05-18-2005, 09:10 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally posted by saltireboy
When I made the .config I used make oldconfig, which would have had the ReiserFS in it. If I run make menuconfig, does it pick up whatever the config is so that all I have to do is change the inclusion of ReiserFS?
I suspect you did a "make oldconfig" without copying the old 2.4 .config over first.
This generates a .config - you would have seen text mode messages flash by, and then been left in a prompt, not in the configation GUI.
If you had a .config when you ran it, you would have had to confirm about 20 options manually; as in Y/N/M

If you now do the menuconfig, yes it will pick up the config as-is, and you can modify it as needed.
Quote:
Also I built a boot floppy when I installed Slack. Can I use that to get to the point of running make menuconfig, or will it pick up the .config from the floppy.
If you "cd /usr/src/linux" as normal, you should be fine.

If you feel you need to start from scratch, do a "make rmproper", then copy over the 2.4 .config, "make oldconfig", then "make menuconfig".
I did this, and it works fine.

Or you could take the advice above, and use some-one elses .config - I think Pat ships one as well.
 
Old 05-18-2005, 10:05 AM   #8
saltireboy
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks,

Quote:
If you feel you need to start from scratch, do a "make rmproper", then copy over the 2.4 .config, "make oldconfig", then "make menuconfig".
Why do you have to 'make menuconfig' after doing the copying the 2.4 .config then 'make oldconfig' steps. What is 'make menuconfig' doing that 'make oldconfig' isn't?
 
Old 05-18-2005, 05:08 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Always pays to check
Strictly isn't necessary - if the input .config is right, and you answer all the prompts correctly.
I like to meander through the config - always find something hasn't "converted" as I think it needs to be.
Or maybe after all, I don't want ACPI on the first build, ...

Not required, does no harm to look.
 
Old 01-23-2006, 11:44 PM   #10
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Check http://www.linuxquestions.org/questi...83#post2064583 Some of the ideas might help... my problem isnt fixed, but I hope we are making progress

DragonM15
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade FC3 to 2.6.14 results in kernel panic mrs kensington Fedora 2 11-14-2005 01:18 PM
Kernel panic after motherboard upgrade TarouSatomi Linux - Hardware 1 11-13-2005 03:24 PM
Kernel Panic after upgrade from RHES3 to RHES4 dawuad Linux - Enterprise 1 11-11-2005 04:19 AM
kernel panic after kernel upgrade flebber Debian 8 04-08-2005 07:26 AM
Kernel panic after Redhat 8.0 upgrade Kajtek Linux - Software 10 04-11-2003 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration