kernel 2.3.44 - root-image on ramdisk

From: Ralf Burger (ralf@Inside-Internet.de)
Date: Sun Feb 13 2000 - 12:48:14 EST


hi 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:

        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);
        fp->f_pos = start_block * BLOCK_SIZE;

        fp->f_op->read(fp, buf, size, &fp->f_pos);

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:25 EST