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

From: Ralf Burger (ralf@Inside-Internet.de)
Date: Mon Feb 14 2000 - 06:54:24 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:26 EST