LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-29-2004, 10:34 AM   #1
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Rep: Reputation: 15
problem with the new kernel booting.


sir,
we are a group of students working on a clusturing project (making a linux virtual server).We are having a machine with AMD processor.Earlier We had downloaded kernel 2.4.21 (linux-2.4.21.tar.bz2) on a machine installed with kernel 2.4.20-8. But after upgrading , the new kernel caused contineous reboots. While the old kernel (2.4.20-8) boots properly.
Then As suggested by one kind member of the forum to use the kernel 2.4.28. Then we downloaded linux-2.4.28.tar.bz2 from kernel.org.Then We used the following commands for upgradation:-
tar -jxvf linux-2.4.28.tar.bz2 .
Then for kernel compilation the commands:-
make mrproper,make oldconfig,make xconfig,make dep,make clean,make bzimage,make modules, make modules_install . During make xconfig we had set the proper processor type also.
After that We used the commands :-
cp -p arch/i386/boot bzImage /boot/vmlinuz-2.4.28 ,
cp -p System.map /boot/System.map-2.4.28,
cp -p .config /boot/config-2.4.28,
Then cd /boot and then command:-
mkinitrd/boot/initrd-2.4.28.img 2.4.28
Then we varified /etc/grub.conf to check the new kernel entry .Then rebooted using kernel-2.4.28, But when We boot from the new kernel Now It is giving the message :-
ds: no socket drivers loaded.VFS: Cannot open root device "LABEL=/" or 00:00.Please append correct "root=" boot option. kernel panic--Unable to mount root fs.
We tried several options But of no use.

Can you spare some time to tell in detail what could be the problem ,sir.
 
Old 12-29-2004, 10:59 AM   #2
nice_indian
Member
 
Registered: Oct 2004
Location: India
Distribution: redhat 9
Posts: 32

Rep: Reputation: 15
hi,
make sure that u compiled ext3 fs support in kernel and not as module. Check weather your .config has the following in it
CONFIG_EXT3_FS=y
 
Old 12-29-2004, 11:06 AM   #3
Joubert79
Member
 
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Does your kernel have initrd support, maybe also ramfs support? Try adding it, if not.

If that fails then perhaps add an option such as 'root=/dev/hda2' to the kernel line in your grub configuration, you might do this from the grub menu at boot by pressing 'e', if it boots then you can change the kernel line in grub.conf properly. Here, hda2 refers to the location of your root partition, which of course you will need to verify for your machine. An example might read 'kernel /vmlinuz-2.4.28 ro root=/dev/hda2'

Good fortune.

Last edited by Joubert79; 12-29-2004 at 11:10 AM.
 
Old 12-29-2004, 11:15 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

do one thing

run "make xconfig"
then load the config file of ur present kernel
which is in /boot


then sabve this configuration and buld this kernel
if this goes succesfully, next time load this config file and make the changes required and build on to your kernel

regards
 
Old 12-30-2004, 01:26 AM   #5
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
Kind attention Mr.Joubert79.As suggested by you to have support for initrd as well as ramfs support.But sir,I could find initrd support in make xconfig.Nowhere I could find ramfs support.Instaed Rom fs support is there.
 
Old 12-30-2004, 03:38 AM   #6
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
did u try as i mentioned in my last post

regards
 
Old 12-30-2004, 09:39 AM   #7
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
Yes sir, your ideas helped.
Thankx for the kind support.
the system is booting with the new kernel ,thanks a lot.
But during booting some of the devices like network card,swap etc. is not recognised by it.I had tried to configure the network card after booting.But it is telling ` some conflicts with the other ethernet modules in module.conf. I had made the changes in the new kernel as per in the old kernel but the same problem exist.
I run xconfig again ,then disabled maximum ethernet support in the Network Device support option.But it wont help.
 
Old 12-30-2004, 12:32 PM   #8
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

which ethernet card u have???

and post the error msgs u get
 
Old 12-30-2004, 11:45 PM   #9
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
yes sir, Actuaaly you are giving me the courage to deeply inspect the problem. I had solved this problem also.Actually the ethernet cards i was using were Winbond 840 and DC21...I executed xconfig then disabled all the cards except winbond and tulip support with some other cards support. It is recognising the cards now. But whie booting some of the processes it is saying FAILED like for usb file support,USB HID support,Swap support.I know through xconfig---file systems I can solve this problem but will it be any problem even if these devices are not activated as I can work on linux properly for the time being.
Also I had built the EXT3 JFS support in the kernel in thr File Systems option as was suggested by one kind memeber of the forum.But when I am seeing the /boot/config.2.4.28 file it is showing only CONFIG_EXT2 FS =y.Whereas in the old kernel It is also showing CONFIG_EXT FS =y. Shall I add it manually.What could be the error.
 
Old 12-31-2004, 12:16 AM   #10
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

u need both ext2 and ext3 FS support since at first linux is loaded using ext2 FS then ext3/reiserfs

and u should not add that manully , it won't matter

are u getting any error msgs?

also would like to where do u reside in india?

regards
 
Old 12-31-2004, 12:28 AM   #11
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
yes sir, Actuaaly you are giving me the courage to deeply inspect the problem. I had solved this problem also.Actually the ethernet cards i was using were Winbond 840 and DC21...I executed xconfig then disabled all the cards except winbond and tulip support with some other cards support. It is recognising the cards now. But whie booting some of the processes it is saying FAILED like for usb file support,USB HID support,Swap support.I know through xconfig---file systems I can solve this problem but will it be any problem even if these devices are not activated as I can work on linux properly for the time being.
Also I had built the EXT3 JFS support in the kernel in thr File Systems option as was suggested by one kind memeber of the forum.But when I am seeing the /boot/config.2.4.28 file it is showing only CONFIG_EXT2 FS =y.Whereas in the old kernel It is also showing CONFIG_EXT 3FS =y. Shall I add it manually.What could be the error.
 
Old 12-31-2004, 12:41 AM   #12
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
sir, I am working in bangalore.Sir,As my system is working with the new kernel , will it create problem afterwards if /boot/config-2.4.28 is not having the line CONFIG_EXT3FS=y.If yes then the support for the EXT3FS is on xconfig---File systems---EXT3 JFS support is the right one for ext3 file system or some other option I have to enable for the same.
Also I wanted to tell you one thing that in the old kernel the support for the EXT3 FS is built as module ,the support for EXT2FS is built in the kernel.But in the new kernel if I am building the EXT3FS support as module system is giving kernel panic when booted with new kernel.But old kernel is booting properly.
 
Old 12-31-2004, 02:02 AM   #13
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

it is good to build the FS support that ur suing into the kernel
specially ext2 and ext3
BOTH HAVE TO BE BUILT IN TO UR KERNEL,NOT AS MODULES

and could u please explain what do u mean by this
"
will it create problem afterwards if /boot/config-2.4.28 is not having the line CONFIG_EXT3FS=y.If yes then the support for the EXT3FS is on xconfig---File systems---EXT3 JFS support is the right one for ext3 file system or some other option I have to enable for the same.
"

regards
 
Old 01-01-2005, 03:48 AM   #14
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
hi sir

hi masand sir,
Actually the meaning is > exactly which option we are enabling for the EXT3FS during execution of command make xconfig. And as u know if it is correctly enabled the line CONFIG_EXT3FS=y will be there in /boot/config-2.4.28.But in my case that line is not there even if the kernel is booting properly.
 
Old 01-01-2005, 03:56 AM   #15
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
is it
CONFIG_EXT3FS=y

or
CONFIG_EXT3_FS=y

this is from my config file(though is it a 2.6 kernel)

CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y


also do u have the EXT3FS support as MODULES
ie do u have like this

CONFIG_EXT3FS=M

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 12:52 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 05:59 AM
Problem with booting new kernel beejayzed Linux - Newbie 9 03-03-2004 05:43 PM
Kernel booting problem chup Linux - General 3 12-27-2003 11:37 PM
Kernel Booting Problem VIP3R Linux - Software 10 08-09-2003 12:38 AM


All times are GMT -5. The time now is 03:54 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration