Re: loop problems continue in 2.4.3

From: Jens Axboe (axboe@suse.de)
Date: Mon Apr 09 2001 - 02:56:07 EST


On Sat, Apr 07 2001, Ian Eure wrote:
> i'm still having loopback problems with linux 2.4.3, even though they
> were supposed to be fixed. it doesn't deadlock my maching right away
> anymore, but instead causes a kernel panic after 4-6 uses of the loop
> device.
>
> the message i get is: "Kernel panic: Invalid blocksize passed to
> set_blocksize"
>
> 100% reproducable. has anyone else seen this?
>
> i did compile with gcc 2.92.3, and i have hedrick's ide patches
> applied.
>
> anyone else see this?

Nope, please add a printk like before set_blocksize in
drivers/block/loop.c and print the bs info, like so

        printk("loop: setting %d bs for %s\n", bs, kdevname(inode->i_rdev));
        set_blocksize(dev, bs);

-- 
Jens Axboe

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



This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:10 EST