Re: report bug: System reboots when accessing a loop-device over a second loop-device with 2.4.2-ac7

Jens Axboe (axboe@suse.de)
Fri, 2 Mar 2001 16:07:59 +0100


On Fri, Mar 02 2001, Mario Hermann wrote:
> > > I tried the following commands with 2.4.2-ac7:
> > >
> > > losetup /dev/loop0 test.dat
> > > losetup /dev/loop1 /dev/loop0
> > > mke2fs /dev/loop1
> > >
> > > My System reboots immediatly. I tried it with 2.4.2-ac4,ac5 too -> same
> > > effect.
> > >
> > > With 2.4.2 it hangs immediatly.
> >
> > This should make it work again.
>
> There is another small bug with the loop over loop problem. Now it works
> fine for
> files but not for Devices:
>
> losetup /dev/loop0 /dev/sr1
> losetup /dev/loop1 /dev/loop0
> dd if=/dev/loop1 of=test.dat bs=2048 count=1024
>
> Makes dd hang. (BTW: /dev/sr1 is a CD-ROM)
>
> Tried the same on /dev/hda1, /dev/sda1 with 2.4.2-ac7-your_patch and
> with 2.4.2-ac8.

I must admit that I haven't tried loop-over-loop at all really,
I'll make a note to look at this tonight.

> BTW: Did extensiv testing with and without the crypto patches. And all
> other tests worked fine! :-)

Great.

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