2000-11-26 23:48:22

by Stefan Frings

[permalink] [raw]
Subject: PROBLEM: cannot ls cdroms (_isofs_bmap block >= EOF)

[1.] One line summary of the problem:

cannot ls cdroms (_isofs_bmap block >= EOF)

[2.] Full description of the problem/report:

I cannot run ls on cdroms with kernel 2.4.0-test11. I get the
message "_isofs_bmap block >= EOF". Kernel 2.0.4-test8 and test10
work fine for me. I did not test other 2.4.0 versions. It makes no
difference if I compile isofs as "M" or "Y".

[3.] Keywords (i.e., modules, networking, kernel):

kernel, isofs, cdrom, bmap, mount, ls

[4.] Kernel version (from /proc/version):


[6.] A small shell script or example program which triggers the
problem (if possible)

mount /dev/hdc1 /mnt
dir /mnt

[7.1.] Software (add the output of the ver_linux script here)

Kernel modules 2.3.21
Gnu C 2.95.2
Gnu Make 3.79.1
Dynamic Linker ldd (GNU libc) 2.1.13
Procps 2.0.6
Mount 2.10q
Net-tools 1.56
Kbd 0.99
Sh-utils 2.0
Modules loaded no modules loaded

[7.2.] Processor information (from /proc/cpuinfo):

AMD K6-2 366

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)

Intel 82371AB PIIX 4 ACPI

[X.] Other notes, patches, fixes, workarounds:

I tried to use the isofs sources from version 2.4.0-test10 in 2.4.0-test11
they are not compatible.

2000-11-27 00:03:55

by Andries Brouwer

[permalink] [raw]
Subject: Re: PROBLEM: cannot ls cdroms (_isofs_bmap block >= EOF)

On Mon, Nov 27, 2000 at 12:16:41AM +0100, Stefan Frings wrote:
> [1.] One line summary of the problem:
> cannot ls cdroms (_isofs_bmap block >= EOF)

Yes, a well-known problem.
Delete two lines around line 118 of fs/isofs/dir.c:

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