Re: Ramdisk and initrd problems in 2.1.9x

Shane Jensen (shane@sumus.com)
Mon, 06 Apr 1998 13:14:19 -0600


I'm trying to get initrd to work with the 2.1.9x kernels.

I started playing with drivers/block/rd.c to narrow the problem down. Both
blk_size[MAJOR(device)] and blk_size[MAJOR(device)][MINOR(device)] have null values (
MAJOR(device)=1 and
MINOR(device)=250), which keeps devblocks=0 and causes the loading of the ramdisk to abort with
the error:
RAMDISK: could not determine device size

If I force devblocks=4096 in rd.c
504: if (blk_size[MAJOR(device)])
505: devblocks = blk_size[MAJOR(device)][MINOR(device)];
506: devblocks=4096;
I can get it to work.

I haven't had the chance to see if blk_size behaves the same with the pre-2.1.90 kernels yet.

I have a ppro200 with rh5, the appropriate software packages and libraries for the latest kernels
and 2.1.92 compiled with module support off and smp commented out in the make file.

cheers!

shane
shane@sumus.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu