lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.4.20 drivers/cdrom/cdu31a.c

Attached is the output you requested, when reading an 80 k file.

Basically, the original patch tries to read 4 sectors less for each retry,
but I'm not sure when is it necessary to try to read again - this may be
the reason of the behavior I described before.

Hope this helps.

-Mauricio
copley:~> mount /dev/sonycd /cdrom -t iso9660
cdu31a: Trying session 1
cdu31a: Trying session 2
mount: block device /dev/sonycd is write-protected, mounting read-only
copley:~> ls -l /cdrom/
total 249627
dr-xr-xr-x 1 root root 2048 Mar 29 1994 0msvideo/
dr-xr-xr-x 1 root root 2048 Mar 29 1994 101avi/
dr-xr-xr-x 1 root root 2048 Mar 29 1994 301avi/
dr-xr-xr-x 1 root root 2048 Mar 29 1994 302avi/
dr-xr-xr-x 1 root root 2048 Mar 29 1994 401avi/
dr-xr-xr-x 1 root root 2048 Mar 29 1994 501avi/
-r-xr-xr-x 1 root root 89248 Sep 20 1993 commdlg.dll*
-r-xr-xr-x 1 root root 11776 Sep 20 1993 eesc.dll*
dr-xr-xr-x 1 root root 8192 Mar 29 1994 gbut16/
dr-xr-xr-x 1 root root 8192 Mar 29 1994 gbut256/
-r-xr-xr-x 1 root root 250134528 Dec 3 1993 groft.win*
-r-xr-xr-x 1 root root 111635 Mar 28 1994 ngme.hlp*
-r-xr-xr-x 1 root root 401 Mar 28 1994 ngme.ini*
-r-xr-xr-x 1 root root 706048 Feb 19 1993 ngmecl.exe*
-r-xr-xr-x 1 root root 4332486 Sep 21 1993 openanim.avi*
-r-xr-xr-x 1 root root 202572 Apr 27 1993 setup.exe*
copley:~> cp /cdrom/commdlg.dll .
Feb 13 23:04:26 copley kernel: Number of blocks left: 28
Feb 13 23:04:26 copley kernel: Number of blocks left: 24
Feb 13 23:04:26 copley kernel: Number of blocks left: 20
Feb 13 23:04:26 copley kernel: Number of blocks left: 16
Feb 13 23:04:26 copley kernel: Number of blocks left: 12
Feb 13 23:04:26 copley kernel: Number of blocks left: 8
Feb 13 23:04:26 copley kernel: Number of blocks left: 4
Feb 13 23:04:26 copley kernel: Number of blocks left: 52
Feb 13 23:04:26 copley kernel: Number of blocks left: 48
Feb 13 23:04:26 copley kernel: Number of blocks left: 44
Feb 13 23:04:27 copley kernel: Number of blocks left: 40
Feb 13 23:04:27 copley kernel: Number of blocks left: 36
Feb 13 23:04:27 copley kernel: Number of blocks left: 32
Feb 13 23:04:27 copley kernel: Number of blocks left: 28
Feb 13 23:04:27 copley kernel: Number of blocks left: 24
Feb 13 23:04:27 copley kernel: Number of blocks left: 20
Feb 13 23:04:27 copley kernel: Number of blocks left: 16
Feb 13 23:04:27 copley kernel: Number of blocks left: 12
Feb 13 23:04:27 copley kernel: Number of blocks left: 8
Feb 13 23:04:27 copley kernel: Number of blocks left: 4
Feb 13 23:04:27 copley kernel: Number of blocks left: 76
Feb 13 23:04:27 copley kernel: Number of blocks left: 72
Feb 13 23:04:27 copley kernel: Number of blocks left: 68
Feb 13 23:04:27 copley kernel: Number of blocks left: 64
Feb 13 23:04:27 copley kernel: Number of blocks left: 60
Feb 13 23:04:27 copley kernel: Number of blocks left: 56
Feb 13 23:04:27 copley kernel: Number of blocks left: 52
Feb 13 23:04:27 copley kernel: Number of blocks left: 48
Feb 13 23:04:27 copley kernel: Number of blocks left: 44
Feb 13 23:04:27 copley kernel: Number of blocks left: 40
Feb 13 23:04:27 copley kernel: Number of blocks left: 36
Feb 13 23:04:27 copley kernel: Number of blocks left: 32
Feb 13 23:04:27 copley kernel: Number of blocks left: 28
Feb 13 23:04:27 copley kernel: Number of blocks left: 24
Feb 13 23:04:27 copley kernel: Number of blocks left: 20
Feb 13 23:04:27 copley kernel: Number of blocks left: 16
Feb 13 23:04:27 copley kernel: Number of blocks left: 12
Feb 13 23:04:27 copley kernel: Number of blocks left: 8
Feb 13 23:04:27 copley kernel: Number of blocks left: 4
Feb 13 23:04:28 copley kernel: Number of blocks left: 4
copley:~>

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