kernel 2.3.44 and .45 - Oops on booting from ramdisk-image

Ralf Burger (ralf@Inside-Internet.de)
Mon, 14 Feb 2000 12:54:24 +0100 (CET)


hi again all,

>whenever I try to create a root-image on a ram-disk I get an Oops when loading
>the compressed image: "null pointer dereference" and the system blocks :(

>seems to be a problem of the " drivers/block/rd.c" - this is where the error
>occurs:

int __init
identify_ramdisk_image(kdev_t device, struct file *fp, int start_block)
{
......
> memset(buf, 0xe5, size);
>
> /*
> * Read block 0 to test for gzipped kernel
> */
> ==> if (fp->f_op->llseek)
> fp->f_op->llseek(fp, start_block * BLOCK_SIZE, 0);

the "f_op" seems to be uninitialized - when I use the same disk and the same
image, but a 2.2.14-kernel, it works.

any hints?

regards

ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/