Re: initrd oops with 2.4.5ac2: FIXED by Kawashima (the other oops may remain)

Ville Herva (vherva@mail.niksula.cs.hut.fi)
Mon, 28 May 2001 13:05:07 +0300


On Mon, May 28, 2001 at 06:02:54PM +0900, you [Masaru Kawashima] claimed:
> On Mon, 28 May 2001 10:25:51 +0300
> Ville Herva <vherva@mail.niksula.cs.hut.fi> wrote:
> > The oops call trace seems to be the same as in
> >
> > http://marc.theaimsgroup.com/?l=linux-kernel&m=99079948404775&w=2
> >
> > Any ideas?
>
> Did you try the patch posted by Go Taniguchi <go@turbolinux.co.jp>?
> Following is the copy of his message and the patch itself.
>
> --- linux/fs/block_dev.c.orig Mon May 28 12:40:12 2001
> +++ linux/fs/block_dev.c Mon May 28 12:40:12 2001
> @@ -602,6 +602,7 @@
> if (!bdev->bd_op->ioctl)
> return -EINVAL;
> inode_fake.i_rdev=rdev;
> + inode_fake.i_bdev=bdev;
> init_waitqueue_head(&inode_fake.i_wait);
> set_fs(KERNEL_DS);
> res = bdev->bd_op->ioctl(&inode_fake, NULL, cmd, arg);

Yes, I actually spotted the patch on l-k just a while ago and tried it.

It does fix the initrd case; I haven't tried the grub case, but I suspect it
still remains. Will try that as well asap.

Thanks,

-- v --

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