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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-29-2004, 10:34 AM
|
#1
|
Member
Registered: Dec 2004
Location: india
Posts: 60
Rep:
|
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.
|
|
|
12-29-2004, 10:59 AM
|
#2
|
Member
Registered: Oct 2004
Location: India
Distribution: redhat 9
Posts: 32
Rep:
|
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
|
|
|
12-29-2004, 11:06 AM
|
#3
|
Member
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46
Rep:
|
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.
|
|
|
12-29-2004, 11:15 AM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
12-30-2004, 01:26 AM
|
#5
|
Member
Registered: Dec 2004
Location: india
Posts: 60
Original Poster
Rep:
|
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.
|
|
|
12-30-2004, 03:38 AM
|
#6
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
did u try as i mentioned in my last post
regards
|
|
|
12-30-2004, 09:39 AM
|
#7
|
Member
Registered: Dec 2004
Location: india
Posts: 60
Original Poster
Rep:
|
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.
|
|
|
12-30-2004, 12:32 PM
|
#8
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
which ethernet card u have???
and post the error msgs u get
|
|
|
12-30-2004, 11:45 PM
|
#9
|
Member
Registered: Dec 2004
Location: india
Posts: 60
Original Poster
Rep:
|
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.
|
|
|
12-31-2004, 12:16 AM
|
#10
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
12-31-2004, 12:28 AM
|
#11
|
Member
Registered: Dec 2004
Location: india
Posts: 60
Original Poster
Rep:
|
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.
|
|
|
12-31-2004, 12:41 AM
|
#12
|
Member
Registered: Dec 2004
Location: india
Posts: 60
Original Poster
Rep:
|
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.
|
|
|
12-31-2004, 02:02 AM
|
#13
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
01-01-2005, 03:48 AM
|
#14
|
Member
Registered: Dec 2004
Location: india
Posts: 60
Original Poster
Rep:
|
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.
|
|
|
01-01-2005, 03:56 AM
|
#15
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|