lkml.org 
[lkml]   [2000]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectkernel 2.3.45 - Kernel BUG at block_dev.c: 425
hi again all,

maybe I'm stupid but after testing 2.3.xx kernel again and again, I'm still
unable to create a boot/root-floppy with a compressed or uncompressed
root-image. (mounting floppy directly as root works)

I've posted this mailing 2 times, but I've got no answer. I can't believe, that
I'm the only one, who needs a boot/root-floppy......
if there is anybody outside, who has done so, please send me an e-mail.


my last tries are to put the root-image into an uncompressed fsfile. here
are the results:

RAMDISK Minix filesystem found at block 0
RAMDISK Loading 800 blocks [1 disk] into ram disk.... done.
Freeing initrd memory: 0k freed!
kernel BUG at block_dev.c: 425! <<<<===========================
invalid operand:0000
CPU:0
.......


this is what happens when I try a compressed image on a floppy from outside the
minix-filesystem:

>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.


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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.381 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site