LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-10-2004, 01:39 PM   #1
Sid2004
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
VFS root fs problem old 486 router


I have the typical cannot mount root fs on (0,0) prblem:
I have an old 486 33Mhz SX , no math co processor, running Suse 6.1. It runs the 2.2 kernel fine, and boots on /dev/hda1. I tried to compile a nez kernel, got the network cards up and running; then cannot mount the root fs on unknown block. The options are identical in Lilo to boot either 2.2 or 2.6 yet one loads fine the other konks out when the root fs must be mounted. The file system is ext2 and I used the entire disk (only 500Mb anyway). The file systems are statically linked and I need the 2.6 for PPPoE, and iptables. Root options under lilo server no purpose and rdev'ing the kernel to /dev/hda1 made no difference. I need this box to be router/firewall and 2.2 is just not up to what I want to do (no PPPoE) so what can I do. I enabled dev fs and all the hardware 3com509 and ICL etherexpress both zork under 2.2 and 2.6, all that would be needed would be the libs but, I cant load the root fs in order to trace the dependencies or continue to se the box as a router. the PC is an old ICL ergo pro 486SX33Mhz 16M of ram and two 10/100 cards. What can I do to fix this. There is nothing before the VFS error except the 3com card ifconfiged so I don't have much to go by to diagnose the problem expecially as the 2..2 boots fine with same options under lilo. I did compile the kernel on another machine and ftp'd the kernel over, so couldn't do a make install. Please advise.
 
Old 10-11-2004, 02:16 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
The error you get means your kernel can't handle the partition (filesystem, in fact). Are you sure you have compiled Ext2 support into the new kernel?
 
Old 10-12-2004, 01:40 PM   #3
Sid2004
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mara
The error you get means your kernel can't handle the partition (filesystem, in fact). Are you sure you have compiled Ext2 support into the new kernel?
Yeah checked Y for all fs in menuconfig, never have too much filesystem support. Still no bootie.
I can't make install opn machine it doesn'rt have enough room, but no modules should be needed; and I don't zant to mess around with initrds.
Why does't it boot? rdev is same and lilo config identical.
 
Old 10-12-2004, 03:46 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
It will sound stupid, but are you sure you have hard disk support?
 
Old 10-16-2004, 02:56 PM   #5
Sid2004
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mara
It will sound stupid, but are you sure you have hard disk support?
I got this error after make bzimage hadn't noticed it before/


CC drivers/base/cpu.o
CC drivers/base/firmware.o
CC drivers/base/init.o
CC drivers/base/map.o
CC drivers/base/dmapool.o
CC drivers/base/power/shutdown.o
LD drivers/base/power/built-in.o
LD drivers/base/built-in.o
CC drivers/block/elevator.o
CC drivers/block/ll_rw_blk.o
drivers/block/ll_rw_blk.c:1320:2: #error "You must have at least 1 I/O scheduler selected"
make[2]: *** [drivers/block/ll_rw_blk.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2

any help, added some IDE support too but this error is probably to blame what have I done wrong?
make bombs out and I assume my kernel is incomplete or something no? but it does boot and get to etherenet support, so and I have added math emu, so it seems to have built solething bootable:
 
Old 10-17-2004, 03:19 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
I'm thinking how you can case that error and I don't remember You get in in block devices files, so it's probably in Block devices section... Adding match emulation is a good idea in your case.
 
Old 10-23-2004, 09:35 AM   #7
Sid2004
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Kernel compile failiing on elevator.o Scheduler missing

Quote:
Originally posted by Mara
I'm thinking how you can case that error and I don't remember You get in in block devices files, so it's probably in Block devices section... Adding match emulation is a good idea in your case.
Tried removiing all block devices except floppy, but the elevator thing seems to be the problem. Can't find much about this error in google, so came back here. The make fails on the error posted last time. Cannot get past "You must have at least 1 IO scheduler. Don't even lnoz what this is, but the compile fails here, have seen the source for the error, but I don't knoz enough about the kernel source to know what to change. I probably should need this, and have tried to trim kernel to a small as possible. Removed PCI, ACPI APM everything except the networking and ATAPI support for HD. It only needs to be a router. What is this elevator thing and where do I remove the option so that I get a clean compile?
Cheers Charels
 
Old 10-23-2004, 10:11 AM   #8
Sid2004
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
IOCTL.o schedulers

Quote:
Originally posted by Mara
I'm thinking how you can case that error and I don't remember You get in in block devices files, so it's probably in Block devices section... Adding match emulation is a good idea in your case.
It involves the elevator thing, and the next line after the error involves ioctl.o
So what do I have to do to fix add a scheduler?
 
  


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
VFS : Unable to mount root fs on 16:03 new.thing Slackware 5 07-05-2005 09:55 AM
trying to build 486 freesco router box jgams Linux - Networking 1 12-04-2004 04:01 AM
kernel 2.6.7 VFS unable to mount root problem deveraux83 Slackware 2 11-05-2004 02:35 AM
VFS: unable to mount root fs -Dice Linux - Newbie 20 11-04-2003 01:05 PM
VFS: can't mount root fs on 03:05 rsmaples Linux - Software 5 01-17-2002 11:49 AM


All times are GMT -5. The time now is 05:24 AM.

Main Menu
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