[ros-kernel] Removable Media Support is Broken.
James Tabor
jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Tue Jul 13 04:50:49 CEST 2004
Hi!
Hartmut Birr wrote:
> Hi,
>
> I can reproduce the error. Previous I have always use the dir command while
> a media was inserted in the drive. After using the dir command for an empty
> drive, the drive is never usable again. I think that the problem is the
> setting of DriveNotReady. DriveNotReady was always set to FALSE in disk.c
> previous my changes in 1.42. Can you disable the check in
> DiskClassCheckReadWrite? I'm not sure but I think DiskClassCheckReadWrite
> should check for correct offsets and alignments but not for drive ready.
>
> - Hartmut
>
>
I just had the same problem too, after accessing the zip drive, I removed the
same disk (750M) and reinsert it. I get "ERROR: invalid drive". Than I reinsert
the 250M disk, do a directory, remove it, insert the 750M, and I can read it again.
8^O wow!
Awe! Ok! I see what is going on. After doing work with the zip disk (Build/Clean Ros).
I removed it and reinsert it, I get this debug out put,
(cc/view.c:206) CC: Failed to flush cache segment.
(rw.c:371) FAT writing failed, Status 80000016
(cc/copy.c:280) IoPageWrite failed, Status 80000016
(cc/view.c:206) CC: Failed to flush cache segment.
(rw.c:371) FAT writing failed, Status 80000016
(cc/copy.c:280) IoPageWrite failed, Status 80000016
(cc/view.c:206) CC: Failed to flush cache segment.
(rw.c:371) FAT writing failed, Status 80000016
(cc/copy.c:280) IoPageWrite failed, Status 80000016
(cc/view.c:206) CC: Failed to flush cache segment.
(rw.c:371) FAT writing failed, Status 80000016
(cc/copy.c:280) IoPageWrite failed, Status 80000016
(cc/view.c:206) CC: Failed to flush cache segment.
A lot of that too!
I can insert the 250M and r/w to it but not the 750M anymore.
One more thing to solve, flush buffers and cache with removable media,
Still Hacken,
James
More information about the Ros-kernel
mailing list