Re: "mount -o loop" lockup issue

2001-03-28 Thread Joerg Pommnitz

Ah, now you are arguing semantics. When somebody writes
something to improve the Linux kernel this makes them
part of the Linux kernel community. The project might
be a new file system or a tool to verify the consistency
of certain rules. The CHECKER people set out to make a 
tool that finds potential bugs in the Linux kernel.

That they did. "All bugs are shallow" means, that once a
potential bug is identified, it will be resolved very quickly.
This happened with the CHECKER reports. False positives
were immediately identified as such, real bugs were fixed
almost in real time. Where did you see the scheme breaking
down? 

Because the bugs should have been found without the tool?

Nobody ever claimed the Linux kernel was bug free. The 
CHECKER people found some of the bugs still in the kernel.
Without a comparison one cannot assess whether the bug rate
was higher or lower than the average in complex software
systems. 

My impression is, that most of the bugs identified where in
well contained subsystems, e.g. drivers or individual file
systems. These subsystems are somewhat special. Though they
are part of the kernel tree, most are only of interest for a
subset of all Linux users. That's why they tend to get less
testing and less eye balls. BTW, MS claims that the same is 
true for Windows. Most bugs are said to be in external drivers.

So, overall I think your arguments are flawed.

Regards
  Joerg

--- David Konerding <[EMAIL PROTECTED]> wrote:
> No, the CHECKER people themselves didn't find any bugs.  They wrote a
> clever
> analyzer
> that finds error patterns (actually, just patterns) and submitted them. 
> Some
> false positives, but worse,
> an uncountable number of false negatives and as-yet-unknown error
> patterns.
> That's not "a lot of eyes", it's a few brains and a fast computer.  I'm
> not
> saying that's a *bad* thing but I certainly don't think it's an example
> of
> "lots of eyes".


=
-- 
Regards
   Joerg


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: "mount -o loop" lockup issue

2001-03-27 Thread David Konerding

Joerg Pommnitz wrote:

> David Konerding <[EMAIL PROTECTED]> wrote:
>
>  > But the attitude that "many eyes make all bugs shallow" and "let the
>  > users test the code for us" just don't hold up.  For the former,
>  > clearly, many eyes didn't find a lot of basically obvious bugs, for the
>  > latter, it's just impolite.
>
> You mentioned the CHECKER case as proof for your point that "many eyes
> make all bugs shallow" does not work. One might argue the other way
> around: The CHECKER people actually found the bugs, so it works.

No, the CHECKER people themselves didn't find any bugs.  They wrote a clever
analyzer
that finds error patterns (actually, just patterns) and submitted them.  Some
false positives, but worse,
an uncountable number of false negatives and as-yet-unknown error patterns.
That's not "a lot of eyes", it's a few brains and a fast computer.  I'm not
saying that's a *bad* thing but I certainly don't think it's an example of
"lots of eyes".

>
>
> Regards
>   Joerg
>
> =
> --
> Regards
>Joerg
>
> __
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/?.refer=text
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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



Re: "mount -o loop" lockup issue

2001-03-27 Thread Joerg Pommnitz

David Konerding <[EMAIL PROTECTED]> wrote:

 > But the attitude that "many eyes make all bugs shallow" and "let the
 > users test the code for us" just don't hold up.  For the former,
 > clearly, many eyes didn't find a lot of basically obvious bugs, for the
 > latter, it's just impolite.

You mentioned the CHECKER case as proof for your point that "many eyes
make all bugs shallow" does not work. One might argue the other way
around: The CHECKER people actually found the bugs, so it works.

Regards
  Joerg


=
-- 
Regards
   Joerg


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: "mount -o loop" lockup issue

2001-03-27 Thread Alexander Viro



On Tue, 27 Mar 2001, J Sloan wrote:

> "Mohammad A. Haque" wrote:
> 
> > David Konerding wrote:
> >
> > > And this is described in what release notes?  It worked just fine on Red Hat 
>7.0's 2.4
> > > kernel oh wait, I see that they fixed it before they released it.
> >
> > And hmm..gee .. did they bother contributing back the code?
> 
> Based on their track record that's a silly question.

Especially since patches in question had been written by Jens Axboe (who
has nothing to RH) and announced (many times) on l-k.

I've fixed several races in Jens' patch and fed them back to him. His patch
+ these fixes were the only loop-related patches in RH tree[1]. Until fixes got
merged into Jens' loop-6 which, in turn, was merged into -ac and into
the main tree, that is.

I don't give a flying fsck through the rolling doughnut for "their" track
record (whatever "their" means), but I'm somewhat partial to mine. Care to
grep through l-k archives, check your facts and STFU?
Al

[1] there's also changeloop patch - adds an ioctl for switching the underlying
file under opened /dev/loop; API is ugly and thing has so limited use that
IMO it should die. Completely unrelated to the problems in question, anyway.

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



Re: "mount -o loop" lockup issue

2001-03-27 Thread J Sloan

"Mohammad A. Haque" wrote:

> David Konerding wrote:
>
> > And this is described in what release notes?  It worked just fine on Red Hat 7.0's 
>2.4
> > kernel oh wait, I see that they fixed it before they released it.
>
> And hmm..gee .. did they bother contributing back the code?

Based on their track record that's a silly question.

jjs

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



Re: "mount -o loop" lockup issue

2001-03-27 Thread Alan Cox

> It's even worse that these are obvious, simple bugs (like the "NFS doesn't
> work over reiserfs
> because somebody changed the VFS layer and didn't fix any filesystems but
> ext2" that I reported a while ago) which would have been caught by a
> little testing.

Again people knew about this. It was a chosen decision that 2.4.x shouldnt
support NFS over reiserfs.  If you want an extensively QA'd, signed off
kernel tree then wait for vendors to release one.

Alan

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



Re: "mount -o loop" lockup issue

2001-03-27 Thread Mohammad A. Haque

David Konerding wrote:

> And this is described in what release notes?  It worked just fine on Red Hat 7.0's 
>2.4
> kernel oh wait, I see that they fixed it before they released it.

And hmm..gee .. did they bother contributing back the code?

-- 

=
Mohammad A. Haque  http://www.haque.net/ 
   [EMAIL PROTECTED]

  "Alcohol and calculus don't mix. Project Lead
   Don't drink and derive." --Unknown  http://wm.themes.org/
   [EMAIL PROTECTED]
=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: "mount -o loop" lockup issue

2001-03-27 Thread Rik van Riel

On Tue, 27 Mar 2001, David Konerding wrote:

> No, the point is that the linux developers should regression test
> their code BEFORE releasing it to the public as a version like
> "2.4.2".

I take it you're volunteering ?

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/   http://distro.conectiva.com.br/

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



Re: "mount -o loop" lockup issue

2001-03-27 Thread David Konerding

Alan Cox wrote:

> > It's a bug in Linux 2.4.2, fixed in later versions.  Regression/quality control
> > testing would
> > have caught this, but the developers usually just break things and wait for people
> > to complain
> > as their "Regression" testers.
>
> Hardly. We knew it was broken since well before 2.4.0. It just got a little
> interesting to fix.

And this is described in what release notes?  It worked just fine on Red Hat 7.0's 2.4
kernel oh wait, I see that they fixed it before they released it.

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



Re: "mount -o loop" lockup issue

2001-03-27 Thread David Konerding



Rik van Riel wrote:

> On Mon, 26 Mar 2001, David Konerding wrote:
>
> > It's a bug in Linux 2.4.2, fixed in later versions.
> > Regression/quality control testing would have caught this, but the
> > developers usually just break things and wait for people to complain
> > as their "Regression" testers.
>
> As said before, we're interested in people willing to do regression
> tests on the kernel. Unfortunately, not all that many testers have
> stepped forward and not all that many artificial tests are being run.

No, the point is that the linux developers should regression test their
code BEFORE
releasing it to the public as a version like "2.4.2".  When I see a
version like "2.4.2", I have an expectation that all the stupid little
problems (like mounting loopback filesystem) have already been found.

It's even worse that these are obvious, simple bugs (like the "NFS doesn't
work over reiserfs
because somebody changed the VFS layer and didn't fix any filesystems but
ext2" that I reported a while ago) which would have been caught by a
little testing.

Now, don't even get me started on how the developers are fixing every
legitimate bug found by CHECKER when they refused to put a debugger into
the kernel "because a good programmer finds their bug by studying the
code"-- well, obviously, you didn't find a lot of bugs by studying the
code.

I've been using Linux for something like 6-7 years now, quite faithfully.
I've been very impressed with
many of its facilities, and the improvements to the kernel (which I've
compiled since 0.99) have been astounding.  But the attitude that "many
eyes make all bugs shallow" and "let the users test the code for us" just
don't hold up.  For the former, clearly, many eyes didn't find a lot of
basically obvious bugs, for the latter, it's just impolite.

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



Re: mount -o loop lockup issue

2001-03-27 Thread David Konerding



Rik van Riel wrote:

 On Mon, 26 Mar 2001, David Konerding wrote:

  It's a bug in Linux 2.4.2, fixed in later versions.
  Regression/quality control testing would have caught this, but the
  developers usually just break things and wait for people to complain
  as their "Regression" testers.

 As said before, we're interested in people willing to do regression
 tests on the kernel. Unfortunately, not all that many testers have
 stepped forward and not all that many artificial tests are being run.

No, the point is that the linux developers should regression test their
code BEFORE
releasing it to the public as a version like "2.4.2".  When I see a
version like "2.4.2", I have an expectation that all the stupid little
problems (like mounting loopback filesystem) have already been found.

It's even worse that these are obvious, simple bugs (like the "NFS doesn't
work over reiserfs
because somebody changed the VFS layer and didn't fix any filesystems but
ext2" that I reported a while ago) which would have been caught by a
little testing.

Now, don't even get me started on how the developers are fixing every
legitimate bug found by CHECKER when they refused to put a debugger into
the kernel "because a good programmer finds their bug by studying the
code"-- well, obviously, you didn't find a lot of bugs by studying the
code.

I've been using Linux for something like 6-7 years now, quite faithfully.
I've been very impressed with
many of its facilities, and the improvements to the kernel (which I've
compiled since 0.99) have been astounding.  But the attitude that "many
eyes make all bugs shallow" and "let the users test the code for us" just
don't hold up.  For the former, clearly, many eyes didn't find a lot of
basically obvious bugs, for the latter, it's just impolite.

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



Re: mount -o loop lockup issue

2001-03-27 Thread David Konerding

Alan Cox wrote:

  It's a bug in Linux 2.4.2, fixed in later versions.  Regression/quality control
  testing would
  have caught this, but the developers usually just break things and wait for people
  to complain
  as their "Regression" testers.

 Hardly. We knew it was broken since well before 2.4.0. It just got a little
 interesting to fix.

And this is described in what release notes?  It worked just fine on Red Hat 7.0's 2.4
kernel oh wait, I see that they fixed it before they released it.

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



Re: mount -o loop lockup issue

2001-03-27 Thread Mohammad A. Haque

David Konerding wrote:

 And this is described in what release notes?  It worked just fine on Red Hat 7.0's 
2.4
 kernel oh wait, I see that they fixed it before they released it.

And hmm..gee .. did they bother contributing back the code?

-- 

=
Mohammad A. Haque  http://www.haque.net/ 
   [EMAIL PROTECTED]

  "Alcohol and calculus don't mix. Project Lead
   Don't drink and derive." --Unknown  http://wm.themes.org/
   [EMAIL PROTECTED]
=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: mount -o loop lockup issue

2001-03-27 Thread Alan Cox

 It's even worse that these are obvious, simple bugs (like the "NFS doesn't
 work over reiserfs
 because somebody changed the VFS layer and didn't fix any filesystems but
 ext2" that I reported a while ago) which would have been caught by a
 little testing.

Again people knew about this. It was a chosen decision that 2.4.x shouldnt
support NFS over reiserfs.  If you want an extensively QA'd, signed off
kernel tree then wait for vendors to release one.

Alan

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



Re: mount -o loop lockup issue

2001-03-27 Thread J Sloan

"Mohammad A. Haque" wrote:

 David Konerding wrote:

  And this is described in what release notes?  It worked just fine on Red Hat 7.0's 
2.4
  kernel oh wait, I see that they fixed it before they released it.

 And hmm..gee .. did they bother contributing back the code?

Based on their track record that's a silly question.

jjs

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



Re: mount -o loop lockup issue

2001-03-27 Thread Alexander Viro



On Tue, 27 Mar 2001, J Sloan wrote:

 "Mohammad A. Haque" wrote:
 
  David Konerding wrote:
 
   And this is described in what release notes?  It worked just fine on Red Hat 
7.0's 2.4
   kernel oh wait, I see that they fixed it before they released it.
 
  And hmm..gee .. did they bother contributing back the code?
 
 Based on their track record that's a silly question.

Especially since patches in question had been written by Jens Axboe (who
has nothing to RH) and announced (many times) on l-k.

I've fixed several races in Jens' patch and fed them back to him. His patch
+ these fixes were the only loop-related patches in RH tree[1]. Until fixes got
merged into Jens' loop-6 which, in turn, was merged into -ac and into
the main tree, that is.

I don't give a flying fsck through the rolling doughnut for "their" track
record (whatever "their" means), but I'm somewhat partial to mine. Care to
grep through l-k archives, check your facts and STFU?
Al

[1] there's also changeloop patch - adds an ioctl for switching the underlying
file under opened /dev/loop; API is ugly and thing has so limited use that
IMO it should die. Completely unrelated to the problems in question, anyway.

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



Re: mount -o loop lockup issue

2001-03-27 Thread Joerg Pommnitz

David Konerding [EMAIL PROTECTED] wrote:

  But the attitude that "many eyes make all bugs shallow" and "let the
  users test the code for us" just don't hold up.  For the former,
  clearly, many eyes didn't find a lot of basically obvious bugs, for the
  latter, it's just impolite.

You mentioned the CHECKER case as proof for your point that "many eyes
make all bugs shallow" does not work. One might argue the other way
around: The CHECKER people actually found the bugs, so it works.

Regards
  Joerg


=
-- 
Regards
   Joerg


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: mount -o loop lockup issue

2001-03-27 Thread David Konerding

Joerg Pommnitz wrote:

 David Konerding [EMAIL PROTECTED] wrote:

   But the attitude that "many eyes make all bugs shallow" and "let the
   users test the code for us" just don't hold up.  For the former,
   clearly, many eyes didn't find a lot of basically obvious bugs, for the
   latter, it's just impolite.

 You mentioned the CHECKER case as proof for your point that "many eyes
 make all bugs shallow" does not work. One might argue the other way
 around: The CHECKER people actually found the bugs, so it works.

No, the CHECKER people themselves didn't find any bugs.  They wrote a clever
analyzer
that finds error patterns (actually, just patterns) and submitted them.  Some
false positives, but worse,
an uncountable number of false negatives and as-yet-unknown error patterns.
That's not "a lot of eyes", it's a few brains and a fast computer.  I'm not
saying that's a *bad* thing but I certainly don't think it's an example of
"lots of eyes".



 Regards
   Joerg

 =
 --
 Regards
Joerg

 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/?.refer=text
 -
 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 Please read the FAQ at  http://www.tux.org/lkml/

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



Re: "mount -o loop" lockup issue

2001-03-26 Thread Rik van Riel

On Mon, 26 Mar 2001, David Konerding wrote:

> It's a bug in Linux 2.4.2, fixed in later versions.  
> Regression/quality control testing would have caught this, but the
> developers usually just break things and wait for people to complain
> as their "Regression" testers.

As said before, we're interested in people willing to do regression
tests on the kernel. Unfortunately, not all that many testers have
stepped forward and not all that many artificial tests are being run.

Good thing we still have the beta-testers to catch these things,
while running the kernel in real-world scenarios... ;)

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/   http://distro.conectiva.com.br/

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



Re: "mount -o loop" lockup issue

2001-03-26 Thread Alan Cox

> It's a bug in Linux 2.4.2, fixed in later versions.  Regression/quality control
> testing would
> have caught this, but the developers usually just break things and wait for people
> to complain
> as their "Regression" testers.

Hardly. We knew it was broken since well before 2.4.0. It just got a little
interesting to fix.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: "mount -o loop" lockup issue

2001-03-26 Thread William Stearns

Good day, all,

On Mon, 26 Mar 2001, Jason Madden wrote:

> On Mon, 26 Mar 2001, David E. Weekly wrote:
>
> > On Linux 2.4.2, running a "mount -o loop" on a file properly created with
> > "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
> > freeze up my shell (not my system). An strace showed the lockup happening at
> > the actual system "mount()" call, which never returns.
> >
> > Since mount() is in glibc, it might be relevant to note that I'm running
> > Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
> > [1991030] (although oddly enough this binary seems to have come with the
> > gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
> > 2.10.0.24-4mdk.
> I also experience this problem (using a floppy disk image created by
> dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
> floppy.img /mnt/floppy ) with a different version
> of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
> is compiled into the kernel.
>
> Once the mount command was executed, my load average shot up to a steady
> 1.0 on an idle system, and remained there until I rebooted. top
> et. al. showed no cpu utilization by the frozen mount.

Jens Axboe, along with a number of other people, has put in a lot
of time coming up with a fix for the loop mount lockups.  You can either
get his patch directly from
ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/patches/
or simply use the most recent 2.4.2-ac patch (from
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/
) to get this updated loop device code.  I'm certain Jens would
like to hear from you if you find any problems with the updated code.
Cheers,
- Bill

---
The day Microsoft makes something that doesn't suck is
probably the day they start making vacuum cleaners.
--  Ernst Jan Plugge
(Courtesy of Christian Vogel <[EMAIL PROTECTED]>)
--
William Stearns ([EMAIL PROTECTED]).  Mason, Buildkernel, named2hosts,
and ipfwadm2ipchains are at:http://www.pobox.com/~wstearns
LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com
--

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



Re: "mount -o loop" lockup issue

2001-03-26 Thread David Konerding

It's a bug in Linux 2.4.2, fixed in later versions.  Regression/quality control
testing would
have caught this, but the developers usually just break things and wait for people
to complain
as their "Regression" testers.

Jason Madden wrote:

> On Mon, 26 Mar 2001, David E. Weekly wrote:
>
> > On Linux 2.4.2, running a "mount -o loop" on a file properly created with
> > "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
> > freeze up my shell (not my system). An strace showed the lockup happening at
> > the actual system "mount()" call, which never returns.
> >
> > Since mount() is in glibc, it might be relevant to note that I'm running
> > Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
> > [1991030] (although oddly enough this binary seems to have come with the
> > gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
> > 2.10.0.24-4mdk.
> I also experience this problem (using a floppy disk image created by
> dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
> floppy.img /mnt/floppy ) with a different version
> of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
> is compiled into the kernel.
>
> Once the mount command was executed, my load average shot up to a steady
> 1.0 on an idle system, and remained there until I rebooted. top
> et. al. showed no cpu utilization by the frozen mount.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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



Re: "mount -o loop" lockup issue

2001-03-26 Thread Mohammad A. Haque

Jason Madden wrote:
> 
> On Mon, 26 Mar 2001, David E. Weekly wrote:
> 
> > On Linux 2.4.2, running a "mount -o loop" on a file properly created with
> > "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
> > freeze up my shell (not my system). An strace showed the lockup happening at
> > the actual system "mount()" call, which never returns.

> I also experience this problem (using a floppy disk image created by
> dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
> floppy.img /mnt/floppy ) with a different version
> of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
> is compiled into the kernel.

Follow this thread -->


Latest loop patch is available at


-- 

=
Mohammad A. Haque  http://www.haque.net/ 
   [EMAIL PROTECTED]

  "Alcohol and calculus don't mix. Project Lead
   Don't drink and derive." --Unknown  http://wm.themes.org/
   [EMAIL PROTECTED]
=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: "mount -o loop" lockup issue

2001-03-26 Thread Jason Madden

On Mon, 26 Mar 2001, David E. Weekly wrote:

> On Linux 2.4.2, running a "mount -o loop" on a file properly created with
> "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
> freeze up my shell (not my system). An strace showed the lockup happening at
> the actual system "mount()" call, which never returns.
> 
> Since mount() is in glibc, it might be relevant to note that I'm running
> Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
> [1991030] (although oddly enough this binary seems to have come with the
> gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
> 2.10.0.24-4mdk.
I also experience this problem (using a floppy disk image created by
dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
floppy.img /mnt/floppy ) with a different version
of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
is compiled into the kernel.

Once the mount command was executed, my load average shot up to a steady
1.0 on an idle system, and remained there until I rebooted. top
et. al. showed no cpu utilization by the frozen mount.


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



"mount -o loop" lockup issue

2001-03-26 Thread David E. Weekly

On Linux 2.4.2, running a "mount -o loop" on a file properly created with
"dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
freeze up my shell (not my system). An strace showed the lockup happening at
the actual system "mount()" call, which never returns.

Since mount() is in glibc, it might be relevant to note that I'm running
Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
[1991030] (although oddly enough this binary seems to have come with the
gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
2.10.0.24-4mdk.

I'm very sorry to post to this list, but several people independantly told
me that there was a loopback mountpoint deadlocking issue with 2.4.2 and
that I should check here. Of course, this could be a completely retarded
system configuration issue, in which case please shut me up and I'll go away
quietly. But if it is an issue with a known resolution I'd love to hear it -
I wasn't able to find resolution on the web or with several rather
knowledgeable people.

-david weekly [[EMAIL PROTECTED]]


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



mount -o loop lockup issue

2001-03-26 Thread David E. Weekly

On Linux 2.4.2, running a "mount -o loop" on a file properly created with
"dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
freeze up my shell (not my system). An strace showed the lockup happening at
the actual system "mount()" call, which never returns.

Since mount() is in glibc, it might be relevant to note that I'm running
Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
[1991030] (although oddly enough this binary seems to have come with the
gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
2.10.0.24-4mdk.

I'm very sorry to post to this list, but several people independantly told
me that there was a loopback mountpoint deadlocking issue with 2.4.2 and
that I should check here. Of course, this could be a completely retarded
system configuration issue, in which case please shut me up and I'll go away
quietly. But if it is an issue with a known resolution I'd love to hear it -
I wasn't able to find resolution on the web or with several rather
knowledgeable people.

-david weekly [[EMAIL PROTECTED]]


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



Re: mount -o loop lockup issue

2001-03-26 Thread Jason Madden

On Mon, 26 Mar 2001, David E. Weekly wrote:

 On Linux 2.4.2, running a "mount -o loop" on a file properly created with
 "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
 freeze up my shell (not my system). An strace showed the lockup happening at
 the actual system "mount()" call, which never returns.
 
 Since mount() is in glibc, it might be relevant to note that I'm running
 Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
 [1991030] (although oddly enough this binary seems to have come with the
 gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
 2.10.0.24-4mdk.
I also experience this problem (using a floppy disk image created by
dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
floppy.img /mnt/floppy ) with a different version
of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
is compiled into the kernel.

Once the mount command was executed, my load average shot up to a steady
1.0 on an idle system, and remained there until I rebooted. top
et. al. showed no cpu utilization by the frozen mount.


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



Re: mount -o loop lockup issue

2001-03-26 Thread David Konerding

It's a bug in Linux 2.4.2, fixed in later versions.  Regression/quality control
testing would
have caught this, but the developers usually just break things and wait for people
to complain
as their "Regression" testers.

Jason Madden wrote:

 On Mon, 26 Mar 2001, David E. Weekly wrote:

  On Linux 2.4.2, running a "mount -o loop" on a file properly created with
  "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
  freeze up my shell (not my system). An strace showed the lockup happening at
  the actual system "mount()" call, which never returns.
 
  Since mount() is in glibc, it might be relevant to note that I'm running
  Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
  [1991030] (although oddly enough this binary seems to have come with the
  gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
  2.10.0.24-4mdk.
 I also experience this problem (using a floppy disk image created by
 dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
 floppy.img /mnt/floppy ) with a different version
 of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
 is compiled into the kernel.

 Once the mount command was executed, my load average shot up to a steady
 1.0 on an idle system, and remained there until I rebooted. top
 et. al. showed no cpu utilization by the frozen mount.

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

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



Re: mount -o loop lockup issue

2001-03-26 Thread Mohammad A. Haque

Jason Madden wrote:
 
 On Mon, 26 Mar 2001, David E. Weekly wrote:
 
  On Linux 2.4.2, running a "mount -o loop" on a file properly created with
  "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
  freeze up my shell (not my system). An strace showed the lockup happening at
  the actual system "mount()" call, which never returns.

 I also experience this problem (using a floppy disk image created by
 dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
 floppy.img /mnt/floppy ) with a different version
 of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
 is compiled into the kernel.

Follow this thread --
http://marc.theaimsgroup.com/?l=linux-kernelm=98289750805700w=2

Latest loop patch is available at
ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.3-pre1/

-- 

=
Mohammad A. Haque  http://www.haque.net/ 
   [EMAIL PROTECTED]

  "Alcohol and calculus don't mix. Project Lead
   Don't drink and derive." --Unknown  http://wm.themes.org/
   [EMAIL PROTECTED]
=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: mount -o loop lockup issue

2001-03-26 Thread William Stearns

Good day, all,

On Mon, 26 Mar 2001, Jason Madden wrote:

 On Mon, 26 Mar 2001, David E. Weekly wrote:

  On Linux 2.4.2, running a "mount -o loop" on a file properly created with
  "dd if=/dev/zero of=/path/to/my/file.img count=1024" seems to decide to
  freeze up my shell (not my system). An strace showed the lockup happening at
  the actual system "mount()" call, which never returns.
 
  Since mount() is in glibc, it might be relevant to note that I'm running
  Mandrake's glibc 2.1.3-16mdk. I compiled the kernel with a gcc of 2.95.3
  [1991030] (although oddly enough this binary seems to have come with the
  gcc-2.95.2 RPM and installed itself as /usr/bin/gcc-2.95.2) and binutils
  2.10.0.24-4mdk.
 I also experience this problem (using a floppy disk image created by
 dd if=/dev/fd0 of=floppy.img bs=1024, and then mount -o loop
 floppy.img /mnt/floppy ) with a different version
 of glibc (RedHat's 2.1.92-5 rpm) and binutils (binutils-2.10.0.18-1). Loop
 is compiled into the kernel.

 Once the mount command was executed, my load average shot up to a steady
 1.0 on an idle system, and remained there until I rebooted. top
 et. al. showed no cpu utilization by the frozen mount.

Jens Axboe, along with a number of other people, has put in a lot
of time coming up with a fix for the loop mount lockups.  You can either
get his patch directly from
ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/patches/
or simply use the most recent 2.4.2-ac patch (from
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/
) to get this updated loop device code.  I'm certain Jens would
like to hear from you if you find any problems with the updated code.
Cheers,
- Bill

---
The day Microsoft makes something that doesn't suck is
probably the day they start making vacuum cleaners.
--  Ernst Jan Plugge
(Courtesy of Christian Vogel [EMAIL PROTECTED])
--
William Stearns ([EMAIL PROTECTED]).  Mason, Buildkernel, named2hosts,
and ipfwadm2ipchains are at:http://www.pobox.com/~wstearns
LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com
--

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



Re: mount -o loop lockup issue

2001-03-26 Thread Alan Cox

 It's a bug in Linux 2.4.2, fixed in later versions.  Regression/quality control
 testing would
 have caught this, but the developers usually just break things and wait for people
 to complain
 as their "Regression" testers.

Hardly. We knew it was broken since well before 2.4.0. It just got a little
interesting to fix.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: mount -o loop lockup issue

2001-03-26 Thread Rik van Riel

On Mon, 26 Mar 2001, David Konerding wrote:

 It's a bug in Linux 2.4.2, fixed in later versions.  
 Regression/quality control testing would have caught this, but the
 developers usually just break things and wait for people to complain
 as their "Regression" testers.

As said before, we're interested in people willing to do regression
tests on the kernel. Unfortunately, not all that many testers have
stepped forward and not all that many artificial tests are being run.

Good thing we still have the beta-testers to catch these things,
while running the kernel in real-world scenarios... ;)

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/   http://distro.conectiva.com.br/

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