Hello all,
I am trying to install some drivers for QNX6 on PC104.
But QNX6 cannot detect floppy disc drives.
If you know how to detect floppy disc drives for QNX6 or some instructions for it, please tell me.
Thank you in advence,
QNX beginner
Hello all,
I am trying to install some drivers for QNX6 on PC104.
But QNX6 cannot detect floppy disc drives.
If you know how to detect floppy disc drives for QNX6 or some instructions for it, please tell me.
Thank you in advence,
QNX beginner
Here are some instructions from the Neutrino Userâs Guide (which you can now view as HTML on the QNX website):
The driver for a floppy drive is devb-fdc. In order to use a floppy
disk, you need to ensure that the floppy controller is enabled in the
BIOS, and that the BIOS is configured to recognize the correct type of
floppy drive (e.g. 1.44MB/2.88MB). The driver uses these locations as
default:
If your controller is located at a different address, you can change
these locations in the driverâs options.
Note: The default cache size specified by io-blk.so is 15% of system memory,
which is excessive for devb-fdc. Youâll probably want to reduce it to
something more reasonable:
The driver creates a /dev/fdx entry, where x is the number of the floppy
drive, starting at 0. If no entry appears, the BIOS settings might be
incorrect, or there could be a problem with the controller. Check the
output from sloginfo for clues.
Once you have an entry in the /dev directory, you need to mount the
floppy disk. The mount command detects the type of filesystem youâre
using (e.g. DOS, QNXĂâ 4), but you can also specify it on the command
line.
To mount a DOS-formatted floppy disk, type:
mount -tdos /dev/fd0 /fs/dos_floppy
Use mkdosfs to format DOS floppy disks and DOS hard drives. This utility
supports FAT 12/16/32.
To mount a QNXĂâ 4-formatted floppy disk, type:
mount -tqnx4 /dev/fd0 /fs/qnx_floppy
You donât need to remount the drive when you change floppy disks.
Note: Donât remove a floppy while the driver is still reading or writing data;
floppies are quite a bit slower than hard disks, so it can take a while.
Make sure the drive light is off.
Hi all,
Thanks Stever.
I can make progress; however, another problem appeared.
After I mounted the DOS-formatted foppy disk using below command as you advised,
mount -tdos /dev/fd0 /fs/dos_floppy
I have got the new folder âfsâ.
But another folder âdos_floppyâ(is this a folder?) may be corrupted.
The PC104 shows the below message.
âcorrupted file system detectedâ
Then, I have another question.
Inquiry 3 is most important for me.
Somebody help me.
Thank you,
QNX beginner.
they look like folder but they are not physicaly store on the any file system. That is how devices are mapped under UNIX like system.
If you see corrupted file system detected when doing ls /fs/dos_floppy. Then it is either a bad or unformated DOS disk or a problem with your hardware. Does the light on the floppy turn on when you do ls /fs/dos_floppy