LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-16-2003, 10:26 AM   #1
palanisaravanan
Member
 
Registered: Oct 2003
Location: India
Distribution: Debian
Posts: 95

Rep: Reputation: 15
Question New kernel not booting


I am using SUSE 7.0 on my system which is using kernel 2.2.16.recently i have got a DSL connection and for using my DSL modem in Linux I installed 2.4.18 kernel.New kernel configuration,compilation everything went off smoothly.I copied that image of my new kernel (bzImage) and put it in to my boot directory and add that image in the lilo configuration also.the problem is my new kernel is not booting it can not mount the root file system.but my old kernel is booting.
My lilo(I ma using 22.5.6 version)
configuration file is as follows
__________________________________________________
# LILO configuration
boot = /dev/hda
prompt # always expect prompt
timeout = 150 # wait 15 seconds
vga = normal # force sane state
lba32 # 'linear' is deprecated
delay = 30 # delay 3 seconds if there is a stored command line
#serial = 0,1200n8 # uncomment to use COM1 too
read-only # initailly mount roots r/o
root = /dev/hda9 # use "current" root
image = /boot/vmlinuz#old kernel
label = linux
image = /boot/bzImage#new kernel
label = test
other = /dev/hda1
table = /dev/hda
label = windows

_______________________________________________

When i tried to boot my new kernel the messages is

kernel booting ......
request_module[blockmajor-3] root fs not mounted
VFs can not open root device "309" or 03:09
please append a correct "root=" option
kernel panic:VFS :unable to mount root fs on 03:09
--This is the message i got.I don't know why it can not mount root file system.But My old kernel is mounting the same root file system.
Is there any thing went wrong with my kernel compilation(like i didn't enable any flags).I don't know.Please help me to fix the proble.Thanks in Advance.
 
Old 11-16-2003, 11:23 AM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
It's either something wrong with your LILO config, don't know what since I haven't used Lilo in over a year.
It's probably that the ATA drivers in the kernel aren't properly installed.
Any disk-type driver should not be M, unless you know exactely what you are doing. Make sure they are compiled right into the kernel
And make sure that the appropriate filesystems are also compiled into the kernel (not modules)
That probably will fix it
Also check the roo= in lilo and make sure it's exactely the same as the one for the other kenel
 
Old 11-16-2003, 03:00 PM   #3
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Very similar to this one:

http://www.linuxquestions.org/questi...hreadid=112937

It's probably some setting in your Kernel configuration. Look at the other thread and come back here if that didn't help.

Good luck!
Martin
 
Old 11-18-2003, 06:46 AM   #4
palanisaravanan
Member
 
Registered: Oct 2003
Location: India
Distribution: Debian
Posts: 95

Original Poster
Rep: Reputation: 15
Thanks for the answer.But still i am struggling at this point.I enabled file system in the kernel configuration.I enable UMSDOS ,FAT,ISOFS,ext2,ext3,
MS_DOS,minix and loaded others as module.Intial RAM disk everything is ok.But after reaching
lec.c NOV 18 2003 intialized
end_request :I/O error
dev 03:09(hard disk) sector 2
Ext2-fs :unable to read the super block
minix-fs unable to read the super block
FAT :unable to read boot loader
UMSDOS :unable to read boot loader
ISOFS:unable to read boot loader
kernel panic:unable to mount the roort file system
-This is the message I got.I am able to boot my old kernel.
my root file system is mounted on /dev/hda9 and /dev/hda7 on /boot
(ext2 file system)
.Please help me to come out of this problem.
 
Old 11-18-2003, 05:27 PM   #5
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi again

Sorry to have kept you waiting.

Looks like you have enough file systems compiled in

What is your settings for IDE devices? It seems to me that the file system(s) fails to communicate with the disk controller. I'm no expert at this, so it's just a wild guess.

If you use "make xconfig" for the configuration, then there should be a tab named "ATA/IDE/[...] support". First make sure that you have it compiled in at all (not as a module). After that you may (horror, horror) have to look at the sub-menu for the Block devices. I'm afraid that you're on your own then.

Good luck
Martin
 
Old 11-18-2003, 11:25 PM   #6
palanisaravanan
Member
 
Registered: Oct 2003
Location: India
Distribution: Debian
Posts: 95

Original Poster
Rep: Reputation: 15
I enabled ATA/IDE support .But still i am getting the same errors.I am struggling at this point for the past 4 days.Help me come out of the blue
 
Old 11-19-2003, 01:50 AM   #7
bencl5
Member
 
Registered: Nov 2003
Distribution: I use gentoo, redhat, and lorma for kicks.
Posts: 44

Rep: Reputation: 15
hey i ran into that problem as well only i was using grub as the boot loader. to fix it i think you would have to edit your /etc/lilo.conf file and where you boot your kernel should be a section that says root=/dev/hda1 or whatever just comment that out. for some reason that fixed it on mine but i don't know if that will work for lilo...
 
Old 11-19-2003, 04:32 AM   #8
palanisaravanan
Member
 
Registered: Oct 2003
Location: India
Distribution: Debian
Posts: 95

Original Poster
Rep: Reputation: 15
Thanks for the answers.At last it is working now.Only some problem with the fram buffer drivers(X server is not working).Otherwise it is working fine.
 
Old 11-19-2003, 04:44 AM   #9
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Good to hear. May I ask what the problem was?

Regards
Martin
 
Old 11-19-2003, 10:15 AM   #10
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
Yeah, how did you fix it as I'm having the exact same problem? Thanks
 
  


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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 09:32 AM
Freeze booting kernel - mdk 9.2, kernel 2.4.22-10mdk, Acer TM252LC thekro Linux - Laptop and Netbook 19 03-25-2006 05:56 AM
smp kernel: uncompressing Linux ..ok booting the kernel krissb Linux - General 1 11-16-2005 07:31 PM
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


All times are GMT -5. The time now is 04:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration