2001-07-20 03:40:22

by Adam Schrotenboer

[permalink] [raw]
Subject: Loop broken again (2.4.6-ac4)

Jens,

Remember several weeks ago when I mentioned a problem w/ ridicyulous
mod-use counts w/ loop.o???
Well, it's back again 2.4.5-ac19 (IIRC) worked fine.

Basically, the result of attempting sudo losetup -d /dev/loop0 is the
following

ioctl LOOP_CLR_FD Device or resource busy

strace shows EBUSY

lsmod shows a use count of 563.


2001-07-20 20:35:31

by Jens Axboe

[permalink] [raw]
Subject: Re: Loop broken again (2.4.6-ac4)

On Thu, Jul 19 2001, Adam Schrotenboer wrote:
> Jens,
>
> Remember several weeks ago when I mentioned a problem w/ ridicyulous
> mod-use counts w/ loop.o???
> Well, it's back again 2.4.5-ac19 (IIRC) worked fine.
>
> Basically, the result of attempting sudo losetup -d /dev/loop0 is the
> following
>
> ioctl LOOP_CLR_FD Device or resource busy
>
> strace shows EBUSY
>
> lsmod shows a use count of 563.

I've had no time to look at this, so feel free to dig in and find out
why the usage count is getting screwed... It's probably just a silly
little bug somewhere, I'm guessing a one-liner fix :-)

--
Jens Axboe