Re: Problem with CD-rom in 2.3.15

Junichi Saito (j.saito@wanadoo.fr)
Thu, 2 Sep 1999 18:20:04 +0200 (CEST)


On Thu, 2 Sep 1999, David S. Miller wrote:

> >_isofs_bmap: block >= EOF (657, 1280146)
>
> The same with 2.3.16, when trying to view the contents of a compressed
> archive.
>
>Please try this patch:
>
>--- fs/isofs/inode.c.~1~ Mon Aug 30 21:59:09 1999
>+++ fs/isofs/inode.c Thu Sep 2 07:28:19 1999
>@@ -953,6 +953,8 @@
> & ~(PAGE_SIZE - 1);
> if (b_off >= max_legal_read_offset)
> goto abort_beyond_end;
>+ err = 0;
>+ goto abort;
> }
>
> offset = 0;
>@@ -1019,7 +1021,7 @@
> dummy.b_state = 0;
> dummy.b_blocknr = -1000;
> error = isofs_get_block(inode, block, &dummy, 0);
>- if (!error)
>+ if (!error && buffer_mapped(&dummy))
> return dummy.b_blocknr;
> return 0;
> }

I recompiled the kernel, but still get the messages. Moreover, I found in
a log file the following error message, coming from fs/inode.c:

Sep 2 17:31:59 saito kernel: _isofs_bmap: block >= EOF (181, 262747)
Sep 2 17:32:58 saito kernel: hdd: 123264kB, 246528 blocks, 512 sector
size
Sep 2 17:32:58 saito kernel: hdd: 123264kB, 963/8/32 CHS, 533 kBps, 512
sector size, 720 rpm
Sep 2 17:32:58 saito kernel: hdd: hdd1
Sep 2 17:32:58 saito kernel: VFS: Disk change detected on device
ide1(22,65)
Sep 2 17:32:58 saito kernel: hdd: hdd1
Sep 2 17:33:30 saito kernel: iput: Aieee, semaphore in use inode
00:00/125, count=2

/dev/hdd is a ide-floppy drive (LS120), driver compiled as module. I can't
however, reproduce it.

j.

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