LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VFS root fs problem old 486 router (https://www.linuxquestions.org/questions/linux-newbie-8/vfs-root-fs-problem-old-486-router-241038/)

Sid2004 10-10-2004 01:39 PM

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.

Mara 10-11-2004 02:16 PM

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?

Sid2004 10-12-2004 01:40 PM

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.

Mara 10-12-2004 03:46 PM

It will sound stupid, but are you sure you have hard disk support?

Sid2004 10-16-2004 02:56 PM

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:

Mara 10-17-2004 03:19 PM

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.

Sid2004 10-23-2004 09:35 AM

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

Sid2004 10-23-2004 10:11 AM

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?


All times are GMT -5. The time now is 09:34 PM.