2.4.x swim3 performance problem on PM4400 identified

Boris Bezlaj boris at gajba.net
Sun Mar 30 02:55:01 EST 2003

On Sat, Mar 29, 2003 at 11:07:10PM +1100, Paul Mackerras wrote:
> This finally prodded me to look at the mach driver.  I've hacked the
> linux swim3 driver to do things in a more similar fashion to what the
> mach driver does.  It now seems to not get stuck on the dreaded 04
> error and generally seems a lot more robust.  Try this patch and let
> me know how it goes.

With a good floppy the driver works well reading and writing. No more
positioning errors..good work Paul 8)

Bad floppy case:
| kista:/tmp# dd if=swimmer of=/dev/fd0 bs=512 count=2880
| swim3: timeout reading sector 2647
| end_request: I/O error, dev 02:00 (floppy), sector 2647   <--bad sector
| dd: writing `/dev/fd0': Input/output error
| 2647+0 records in
| 2646+0 records out
| 1354752 bytes transferred in 134.614549 seconds (10064 bytes/sec)

after the error at sector 2647, swim3 seems to move the heads to sector 0
and write? another 2647 sectors. Any particular reason for that ?

Most importantly, when changing the floppy, it still works (not the
case with the unpatched driver).


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list