lkml.org 
[lkml]   [1999]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Problem with CD-rom in 2.3.15
   Date:   Thu, 2 Sep 1999 16:04:56 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>

> with 2.3.15, when I listen mp3 from a CD-rom with x11amp, my console is
>flooded with messages like these at the end of every song... That's very
>anoying.

...

>_isofs_bmap: block >= EOF (655, 1280146)
>_isofs_bmap: block >= EOF (656, 1280146)
>_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;
}
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.043 / U:2.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site