2001-02-12 09:55:01

by Colonel

[permalink] [raw]
Subject: 2.4.2-pre2(&3) loopback fs hang


>mount -o loop=/dev/loop1 net.i /var/mnt/image/

ends up in an uninterruptable sleep state (system cannot umount /
during shutdown).

The test system is a 100MHz 486 Planar wall mount, same problem with
or without modules. The proper fs support is present in the kernel,
while CONFIG_DEVFS_FS is not set. The linux distribution base was a
fresh slackware-current, it meets all requirements mentioned in
linux/Documentation/Changes. Everything else tested has worked fine
so far, the 2.2.18 kernel did not have this loopback problem.


How do I track this down?


2001-02-12 13:35:36

by Ville Herva

[permalink] [raw]
Subject: Re: 2.4.2-pre2(&3) loopback fs hang

On Mon, Feb 12, 2001 at 01:54:46AM -0800, you [Colonel] claimed:
>
> >mount -o loop=/dev/loop1 net.i /var/mnt/image/
>
> ends up in an uninterruptable sleep state (system cannot umount /
> during shutdown).
>
> How do I track this down?

This is becoming a FAQ.

Go to

ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/patches

and get the newest Jens Axboe's loopback fs patch (seems to be
2.4.1-pre10/loop-3.bz2 atm, though I thought Jens was going to release
loop-4 sortly.)

See if the problem goes away with it.

I'm not sure if Alan has any plans to merge this to ac-series. It would
appear a worthy candidate...


-- v --

[email protected]

2001-02-12 13:40:26

by Martin Josefsson

[permalink] [raw]
Subject: Re: 2.4.2-pre2(&3) loopback fs hang

On Mon, 12 Feb 2001, Ville Herva wrote:

> On Mon, Feb 12, 2001 at 01:54:46AM -0800, you [Colonel] claimed:
> >
> > >mount -o loop=/dev/loop1 net.i /var/mnt/image/
> >
> > ends up in an uninterruptable sleep state (system cannot umount /
> > during shutdown).
> >
> > How do I track this down?
>
> This is becoming a FAQ.
>
> Go to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/patches
>
> and get the newest Jens Axboe's loopback fs patch (seems to be
> 2.4.1-pre10/loop-3.bz2 atm, though I thought Jens was going to release
> loop-4 sortly.)
>
> See if the problem goes away with it.
>
> I'm not sure if Alan has any plans to merge this to ac-series. It would
> appear a worthy candidate...

2.4.2-pre1/loop-4.bz2 is the newest one, but I think I saw that there's
still a bug in it which can hang the kernel.
I think he said that he was going to release loop-5 soon.

/Martin

2001-02-12 13:46:28

by Ville Herva

[permalink] [raw]
Subject: Re: 2.4.2-pre2(&3) loopback fs hang

On Mon, Feb 12, 2001 at 02:37:51PM +0100, you [Martin Josefsson] claimed:
> On Mon, 12 Feb 2001, Ville Herva wrote:
>
> 2.4.2-pre1/loop-4.bz2 is the newest one, but I think I saw that there's
> still a bug in it which can hang the kernel.
> I think he said that he was going to release loop-5 soon.

Ok, then I just fumbled with my ftp client - I notice the 2.4.2-pre1 dir.

Thanks for the correction.


-- v --

[email protected]

2001-02-12 14:06:27

by Ville Herva

[permalink] [raw]
Subject: Re: 2.4.2-pre2(&3) loopback fs hang

On Mon, Feb 12, 2001 at 03:45:49PM +0200, you [Ville Herva] claimed:
>
> Ok, then I just fumbled with my ftp client - I notice the 2.4.2-pre1 dir.

Should've been 'I didn't notice'

Looks like I can't get anything right, I already rue I answered the question
in the first place...


-- v --

[email protected]