public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: BUG: isofs broken (2.2 and 2.4)
@ 2000-11-18  0:17 Andries.Brouwer
  2000-11-18  1:21 ` Linus Torvalds
  0 siblings, 1 reply; 26+ messages in thread
From: Andries.Brouwer @ 2000-11-18  0:17 UTC (permalink / raw)
  To: Andries.Brouwer, torvalds
  Cc: aeb, emoenke, eric, kobras, koenig, linux-kernel

>> I take it you'll also do the third part?

> Are you talking about isofs_lookup_grandparent()?

No, about isofs_read_inode.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: BUG: isofs broken (2.2 and 2.4)
@ 2000-12-18 12:33 Andries.Brouwer
  0 siblings, 0 replies; 26+ messages in thread
From: Andries.Brouwer @ 2000-12-18 12:33 UTC (permalink / raw)
  To: koenig, torvalds
  Cc: Andries.Brouwer, aeb, emoenke, eric, kobras, linux-kernel

    From koenig@orion.tat.physik.uni-tuebingen.de Mon Dec 18 11:34:14 2000

    On Nov 17, Linus Torvalds wrote:

    > ...

    better you'd have tested it;)  while Andries' patch works fine (2 CDs of
    data copied and checked a bit, seems to work ok with no obvious problems)
    your new patch still shows a number of problems:

    I've got a SIGSEGV in "find" and ...

Ah yes, but Nov 17 and 2.4.0test10 is ancient history.
You do not mention a kernel version, but if it is older
than 2.4.0test12, upgrade.

(Before 2.4.0test11: a few complaints. On 2.4.0test11: a deluge
of complaints. On later kernels: one or two complaints. Must still
look at the case where someone has problems with isofs over nfs -
maybe this is nfs-related, not isofs-related.)

(The story here was interesting: Linus' patch did part of the
work required, good enough for most people. Nevertheless there were
many complaints, and it turned out that gcc 2.95.2 mistranslated
the code. Removing a superfluous line made things work again,
leaving us worried how many other problems in kernel and user
software are caused by this compiler bug. Then I added the part of
my patch that Linus hadnt done yet, so now all should be well again.)

Andries

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: BUG: isofs broken (2.2 and 2.4)
@ 2000-11-17 23:33 Andries.Brouwer
  2000-11-17 23:51 ` Linus Torvalds
  0 siblings, 1 reply; 26+ messages in thread
From: Andries.Brouwer @ 2000-11-17 23:33 UTC (permalink / raw)
  To: koenig, torvalds
  Cc: Andries.Brouwer, aeb, emoenke, eric, kobras, linux-kernel

Linus:

> How about this version (full patch against test10 - it includes a
> slightly corrected version of my earlier dir.c patch)?

> It's entirely untested, but it looks good and compiles. Ship it!

There are three files that have to be changed.
You changed dir.c yesterday, and namei.c today
but still have to do inode.c.

Your stuff resembles my stuff. In namei.c I also replaced the 15
lines following
	} else if (dir->i_sb->u.isofs_sb.s_mapping == 'n') {
by the line
	dlen = isofs_name_translate(dpnt, dlen, page);

But now that you did two-thirds of the job I take it you'll
also do the third part? It is again precisely the same stuff.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 26+ messages in thread
[parent not found: <UTC200011172141.WAA134635.aeb@aak.cwi.nl>]
* Re: BUG: isofs broken (2.2 and 2.4)
@ 2000-11-17 21:12 Andries.Brouwer
  2000-11-17 21:20 ` Harald Koenig
  0 siblings, 1 reply; 26+ messages in thread
From: Andries.Brouwer @ 2000-11-17 21:12 UTC (permalink / raw)
  To: Andries.Brouwer, koenig
  Cc: aeb, emoenke, eric, kobras, linux-kernel, torvalds

> memory leak

Aha. Must be a missing kfree().
Does this help?

--- namei.c~    Fri Nov 17 00:48:37 2000
+++ namei.c     Fri Nov 17 21:59:49 2000
@@ -197,6 +197,8 @@
                        bh = NULL;
                        break;
                }
+               if (cpnt)
+                       kfree(cpnt);
        }
        if (page)
                free_page((unsigned long) page);

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: BUG: isofs broken (2.2 and 2.4)
@ 2000-11-17  0:26 Andries.Brouwer
  2000-11-17 20:29 ` Harald Koenig
  0 siblings, 1 reply; 26+ messages in thread
From: Andries.Brouwer @ 2000-11-17  0:26 UTC (permalink / raw)
  To: aeb, torvalds; +Cc: emoenke, eric, koenig, linux-kernel

> both 2.2.x and 2.4.x kernels can't read `real sky' CDs

Yes. 2.0.38 is OK. I just made a patch that seems to work.

Harald, could you try
	ftp.xx.kernel.org/.../people/aeb/linux-2.4.0test9-isofs-patch
and report?

Linus, Alan - I made patches for 2.2 and 2.4 but want to
polish and check them a bit more before submitting.
There also seem to be a lot of bug reports in newsgroups
and mailing lists - must check whether people complain
about the same thing or whether there are more problems.

Andries

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: BUG: isofs broken (2.2 and 2.4)
@ 2000-11-16  1:53 Andries.Brouwer
  2000-11-16  2:31 ` Linus Torvalds
  0 siblings, 1 reply; 26+ messages in thread
From: Andries.Brouwer @ 2000-11-16  1:53 UTC (permalink / raw)
  To: aeb, torvalds; +Cc: emoenke, eric, koenig, linux-kernel

> Anybody else willing to finish this one off?

If noone else does, I suppose I can.

(> .. gets ENOENT ..
and that is not because it only is a partial image?)

Andries


PS - Yesterday I complained that 2.4.0test9 was fine
but 2.4.0test11pre5 dies as soon as it has to forward a ping.
The effect is reproducible, and 2.4.0test10 is also fine.
I see no changes in the netfilter code.
Will look some more into this tomorrow.

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* BUG: isofs broken (2.2 and 2.4)
@ 2000-11-15 19:23 Harald Koenig
  2000-11-16  0:11 ` Andries Brouwer
  0 siblings, 1 reply; 26+ messages in thread
From: Harald Koenig @ 2000-11-15 19:23 UTC (permalink / raw)
  To: emoenke, eric, linux-kernel, torvalds; +Cc: Harald Koenig

Hi,

both 2.2.x and 2.4.x kernels can't read `real sky' CDs from the
Space Telescope Science Institute containing lotsof directories (~100) 
which each contain lots of small files (~700 files/dir).  only ~10 directories
with ~10 files each are displayed, all the other files/diretories can't be 
accessed. the kernel gives the following message:

	next_offset (212) > bufsize (200)

and with 2.2.x kernels I additionally get

	Invalid session number or type of track

at mount time (that's the 2nd instance of this message, i == -22 (RTFS)).



you can find an isofs image for testing (only directory part, no real data,
compressed ~620kb) on

	http://www.tat.physik.uni-tuebingen.de/~koenig/buggy_fs.iso.gz



any idea/patch/fix ?

thanks,


Harald

PS:  I'm not subscribed to linux-kernel right now, so please 
reply directly using Cc:.   thanks!
--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2000-12-18 13:04 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-18  0:17 BUG: isofs broken (2.2 and 2.4) Andries.Brouwer
2000-11-18  1:21 ` Linus Torvalds
2000-11-18  1:39   ` test11-pre7 compile failure J Sloan
2000-11-18  3:38     ` Linus Torvalds
2000-11-18  4:33   ` BUG: isofs broken (2.2 and 2.4) Keith Owens
2000-11-18  4:50     ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2000-12-18 12:33 Andries.Brouwer
2000-11-17 23:33 Andries.Brouwer
2000-11-17 23:51 ` Linus Torvalds
     [not found] <UTC200011172141.WAA134635.aeb@aak.cwi.nl>
2000-11-17 22:26 ` Harald Koenig
2000-11-17 21:12 Andries.Brouwer
2000-11-17 21:20 ` Harald Koenig
2000-11-17 22:29   ` Linus Torvalds
2000-11-17 22:55     ` Harald Koenig
2000-11-17 23:46       ` Linus Torvalds
2000-11-21 20:03         ` Harald Koenig
2000-11-17 23:53       ` Linus Torvalds
2000-11-17  0:26 Andries.Brouwer
2000-11-17 20:29 ` Harald Koenig
2000-11-16  1:53 Andries.Brouwer
2000-11-16  2:31 ` Linus Torvalds
2000-11-15 19:23 Harald Koenig
2000-11-16  0:11 ` Andries Brouwer
2000-11-16  0:52   ` Linus Torvalds
2000-11-16  1:16   ` Linus Torvalds
2000-11-16  1:33     ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox