Re: floppy question of the hour

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gene Heskett
Date: Wednesday, May 28, 2008 - 2:46 pm

On Wednesday 28 May 2008, Lennart Sorensen wrote:

That would be a huge improvement, but I'm afraid it would need someone far more 
familiar with floppy.c than I.

I am beginning to figure out how to make it work though.  The sequence goes 
something like this:
1. insert disk in drive, wait 5 minutes just in case, didn't help.
2. setfdprm /dev/fd0 COCO7203.5
3. getfdprm /dev/fd0 (fails, no such device)
4. dd if=/dev/fd0 bs=256 count=1
5. wait 20 to 40 secs for it to fail with an i/o error
6. setfdprm /dev/fd0 COCO7203.5
7. getfdprm /dev/fd0
DS DD sect=18 ssize=256
8. dd if=disk.image of=/dev/fd0 bs=256

then about 4 minutes later:

9. dd if=dev/fd0 of=test.dsk;cmp disk.image test.dsk
Eof "disk.image" (its shorter than the 720k disk itself)

3 more minutes for step 9 and I know if I have a good write.  You can do the 
setfdprm 100 times and it fails silently everytime, but attack it with dd once, 
and /dev/fd0 gets well and works.  4 or 5 years ago it all worked straight off 
with the tools we had then.

FWIW, kernel is now 2.6.26-rc4, stable so far with a 49 hour uptime.

Hell of a way to run a train, guys, really. :)

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Ambidextrous, adj.:
	Able to pick with equal skill a right-hand pocket or a left.
		-- Ambrose Bierce, "The Devil's Dictionary"
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
floppy question of the hour, Gene Heskett, (Fri May 23, 6:14 pm)
Re: floppy question of the hour, Stefan Richter, (Sat May 24, 2:28 am)
Re: floppy question of the hour, Gene Heskett, (Sat May 24, 5:52 am)
Re: floppy question of the hour, Phillip Susi, (Tue May 27, 2:49 pm)
Re: floppy question of the hour, Gene Heskett, (Tue May 27, 3:26 pm)
Re: floppy question of the hour, Lennart Sorensen, (Wed May 28, 6:42 am)
Re: floppy question of the hour, Phillip Susi, (Wed May 28, 12:38 pm)
Re: floppy question of the hour, Lennart Sorensen, (Wed May 28, 12:59 pm)
Re: floppy question of the hour, Gene Heskett, (Wed May 28, 2:46 pm)
Re: floppy question of the hour, Gene Heskett, (Wed May 28, 2:50 pm)
Re: floppy question of the hour, Gene Heskett, (Wed May 28, 2:58 pm)
Re: floppy question of the hour, Jan Engelhardt, (Sun Jun 1, 12:00 pm)
Re: floppy question of the hour, Gene Heskett, (Sun Jun 1, 5:50 pm)
Re: floppy question of the hour, Kay Sievers, (Mon Jun 2, 3:28 am)