linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* need hardware guru
@ 2003-12-10  2:18 Gene Heskett
  2003-12-10 14:29 ` Richard B. Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Gene Heskett @ 2003-12-10  2:18 UTC (permalink / raw)
  To: linux-kernel

My mobo is a Biostar M7VIB, VIA 82686 chipset.

It appears that thre doesn't seem to be a way to force a floppy format 
at non 512 byte sectors, as in I need to do a 256 byte, 18 sectors 
per track on a  DS 360k disk.  fdutils, fdformat, and a format from 
the emulator itself all fail to write a correct disk, insisting on a 
9 sector per track PC format.

Ideas, including bigger hammer at this point, cheerfully discussed.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: need hardware guru
  2003-12-10  2:18 need hardware guru Gene Heskett
@ 2003-12-10 14:29 ` Richard B. Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard B. Johnson @ 2003-12-10 14:29 UTC (permalink / raw)
  To: Gene Heskett; +Cc: Linux kernel

On Tue, 9 Dec 2003, Gene Heskett wrote:

> My mobo is a Biostar M7VIB, VIA 82686 chipset.
>
> It appears that thre doesn't seem to be a way to force a floppy format
> at non 512 byte sectors, as in I need to do a 256 byte, 18 sectors
> per track on a  DS 360k disk.  fdutils, fdformat, and a format from
> the emulator itself all fail to write a correct disk, insisting on a
> 9 sector per track PC format.
>
> Ideas, including bigger hammer at this point, cheerfully discussed.

The FDC in that machine is a "Super I/O chip" made by National,
PC87309. It is known to work in all modes although that doesn't
mean that linux actually has code in place for all the modes.

The sectors-per-track and the number of bytes per sector are part
of the "Specify" command which is executed prior to any major
change like format. These are all standard and documented. However,
if you need 256 bytes per sector, 18 sectors per track, you
need a new (lower) data-rate. The data-rate port is at 0x3f7.
You put a 0x00 in there for 500 kb/s, 0x01 for 250 kb/s, etc.
It's an independent port, you can write anything to it at
any time. I would guess that if you made a iopl(3) program
that writes 1 to that port just prior to executing
fdformat /dev/fd0D360, it might work. That might verify
the problem.

It is possible that Linux doesn't muck with the data-rate, that
it is whatever was set by the BIOS. It should. I haven't looked
at the Linux FDC code but I did write a complete BIOS so I know
how the FDC controller(s) work.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-10 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-10  2:18 need hardware guru Gene Heskett
2003-12-10 14:29 ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).