2000-11-21 06:10:32

by Eugene Crosser

[permalink] [raw]
Subject: 2.4.0-test11: "_isofs_bmap: block < 0"

I have a cdrom with iso9660+RR filesystem, with a few hundred files in
ten directories. With all previous kernels (checked up to test11-pre3),
I had no problems with it. With test11 final, "ls" command shows
zero entries on the mounted CD, and each "ls" attempt causes this
kernel message:

_isofs_bmap: block < 0

If I open a file directly, it opens and is read fine, so it's only
readdir() that is not working. Tell me if I need to provide more info.

Eugene


2000-11-22 01:41:54

by Ragnar Hojland Espinosa

[permalink] [raw]
Subject: Re: 2.4.0-test11: "_isofs_bmap: block < 0"

On Tue, Nov 21, 2000 at 08:14:51AM +0300, Eugene Crosser wrote:
> zero entries on the mounted CD, and each "ls" attempt causes this
> kernel message:
>
> _isofs_bmap: block < 0

Same here, except that once showed

_isofs_bmap: block >= EOF (1633681408, 4096)

--
____/| Ragnar H?jland Freedom - Linux - OpenGL Fingerprint 94C4B
\ o.O| 2F0D27DE025BE2302C
=(_)= "Thou shalt not follow the NULL pointer for 104B78C56 B72F0822
U chaos and madness await thee at its end." hkp://keys.pgp.com

2000-11-25 18:09:08

by Arjan Filius

[permalink] [raw]
Subject: Re: 2.4.0-test11: "_isofs_bmap: block < 0"

Hello,

Same here with CD 1 from SuSE 7.0-DE :
Nov 25 18:16:03 sjoerd kernel: VFS: Disk change detected on device ide1(22,64)
Nov 25 18:16:05 sjoerd kernel: ISO 9660 Extensions: RRIP_1991A
Nov 25 18:16:05 sjoerd kernel: _isofs_bmap: block < 0

Using test11 and everything is a module.


On 21 Nov 2000, Eugene Crosser wrote:

> I have a cdrom with iso9660+RR filesystem, with a few hundred files in
> ten directories. With all previous kernels (checked up to test11-pre3),
> I had no problems with it. With test11 final, "ls" command shows
> zero entries on the mounted CD, and each "ls" attempt causes this
> kernel message:
>
> _isofs_bmap: block < 0
>
> If I open a file directly, it opens and is read fine, so it's only
> readdir() that is not working. Tell me if I need to provide more info.
>
> Eugene
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> Please read the FAQ at http://www.tux.org/lkml/
>

--
Arjan Filius
mailto:[email protected]

2000-11-25 21:33:07

by Andries Brouwer

[permalink] [raw]
Subject: Re: 2.4.0-test11: "_isofs_bmap: block < 0"

On Sat, Nov 25, 2000 at 06:20:56PM +0100, Arjan Filius wrote:

> Nov 25 18:16:05 sjoerd kernel: _isofs_bmap: block < 0

Understood and solved. For the whole story read linux-kernel.
To fix just this, remove the two lines

if (filp->f_pos >= inode->i_size)
return 0;

from linux/fs/isofs/dir.c around line 119.

Andries