Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

We can't read from floppy on Pentium II, SCO Unix rel. 5.0.0b and 5.0.2

0 views
Skip to first unread message

Robert Weiner

unread,
Dec 26, 1999, 3:00:00 AM12/26/99
to
OSR 5.0.0's /etc/conf/pack.d/fd/space.c has these variables:
int fd_enable_FIFO = 0;
int fd_FIFOthresh = 0;

but OSR 5.0.5's does not. Can they be added to space.c under 5.0.5?

The 5.0.5 Driver.o does have the symbols, something defined them:
[Index] Value Size Type Bind Other Shndx Name
[125] | 596| 0|NOTY |GLOB |0 |2 |fd_FIFOthresh
[126] | 592| 0|NOTY |GLOB |0 |2 |fd_enable_FIFO

My problem is with a 5.25" 1.2Mb floppy under 5.0.5 on a dual Pentium III
500Mhz box (Tyan S1832DL). 3.5" floppys work fine. The 5.25" floppy
always has I/O errors as described below and in some TAs.
(5.25" Drive is used only to convert old media.)

Does anyone know if a 5.25" Teac FD-55GFR has a FIFO?

Thanks,
-Rob

On Tue, Nov 25, 1997 at 10:13:53PM +0000, Bela Lubkin wrote:
> Pavel Jordak wrote:
>
> > We are preparing a new server for our customer based on Pentium II (M/B
> > DTK with chipset FX) and have succeeded in installing the customer's SCO
> > Unix 5.0.0b. We had problems with a keyboard. We tried several keyboards
> > but none of them worked more than for several commands and the only
> > thing we could do was to power off the machine.
> > So we decided to reinstall the system to the release 5.0.2.
> > Unfortunately errors reading the diskette occured every time after
> > displaying the hardware configuration and installation aborted. When we
> > rebooted the rel. 5.0.0b and tried a command "dd" for copying from the
> > diskette to /dev/null we got three versions of outputs:
> > 1) xxx records in
> > xxx records out that's OK
> > 2) the same and after a second:
> > Warning: floppy: Read error on dev 2/64, block=0 cmd=0x03 status=0x01
> > 3) the warning at first and then:
> > dd: read error: I/O error (error 5)
> > 0+0 rec. in
> > 0+0 rec. out
> > Both floppy and diskette are OK, we tried several ones.
> >
> > Where's the problem? We are crying with Beatles: HELP!
>
> Two problems. For the keyboard hangs on OSR5.0.0, you could use SLS
> oss424a. However, this problem was corrected in OSR5.0.2 and the SLS is
> not needed.
>
> For the floppy problems, there are a couple of kernel variables that you
> can change. These will help *only* if the floppy controller has a FIFO.
> Unlike serial ports, I don't believe the floppy controller manufacturers
> have all gotten around to adding the FIFO. But many controllers do have
> it.
>
> It's a little tricky to use the patch during installation. You need to
> start with a working SCO Unix system. Make a *copy* of the N00 (boot)
> floppy that you will be using. Then do this (using the copy):
>
> # mount /dev/fd0 /mnt
> # uncompress < /mnt/unix > /tmp/unix.N00
> # echo fd_enable_FIFO/W 1 | _fst -w /tmp/unix.N00 -
> # echo fd_FIFOthresh/W f | _fst -w /tmp/unix.N00 -
> # compress -H < /tmp/unix.N00 > /mnt/unix
> # umount /dev/fd0
>
> You should now be able to boot and install using this modified N00 disk.
>
> You will also need to modify the same variables in the link kit, after
> installing; you'll have trouble accessing the floppy until you do (but
> that won't prevent you from booting from the hard disk). Once
> installed, edit /etc/conf/pack.d/fd/space.c. Change the value of
> fd_enable_FIFO to 1 and fd_FIFOthresh to 15. Relink, reboot, and things
> should be fine -- *if* you have a floppy controller with FIFO.
>
> >Bela<

--
Robert Weiner / Programming Plus Hardware & Software Consulting
Email: rob...@progplus.com Web: http://www.progplus.com

0 new messages