nothing works

hello,

i have installed neutrino 6.2.1 non commercial and it seems nothing is
working or i don’t know how to make it work. for example i can’t reach my
cdrom or floppy. if i type fsys & QNX says that file not found if i use
/dev/cd0 then QNX says that i do not have rights. if i type fsys.floppy & it
do something but on the end it says that file not found. every command
within filesystem returns me an error.

darius

Darius <alpha_byte@safe-mail.net> wrote:

hello,

i have installed neutrino 6.2.1 non commercial and it seems nothing is
working or i don’t know how to make it work. for example i can’t reach my
cdrom or floppy. if i type fsys & QNX says that file not found if i use
/dev/cd0 then QNX says that i do not have rights. if i type fsys.floppy & it
do something but on the end it says that file not found. every command
within filesystem returns me an error.

This is from the 6.3 Neutrino User’s Guide, but it should help you:

Floppy disks

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:

  • I/O port 0x3f0
  • IRQ 6
  • DMA 2


    If your controller is located at a different address, you can change
    these locations in the driver’s options.

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:

devb-fdc blk cache=128K &

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.


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.





\

Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

“Darius” <alpha_byte@SAFe-mail.net> wrote in message
news:cebbm3$1ss$1@inn.qnx.com

hello,

i have installed neutrino 6.2.1 non commercial and it seems nothing is
working or i don’t know how to make it work. for example i can’t reach my
cdrom or floppy. if i type fsys & QNX says that file not found if i use
/dev/cd0 then QNX says that i do not have rights. if i type fsys.floppy &
it
do something but on the end it says that file not found. every command
within filesystem returns me an error.

To add to Steve’s post, all the command you mention are for QNX4…

darius

hello,

To add to Steve’s post, all the command you mention are for QNX4…

You are right. I have old ONX 4 books and try to use them on QNX 6, but it
seem they just dont fit. There is a book called instaling and configuration
and I didn’t found similar for QNX6 on the online documentation. Maybe it is
Building Embedded Systems? Maybe there is some free online literature on
basinc things with QNX 6, installing, using etc.

Best regards,
Darius

Darius <alpha_byte@safe-mail.net> wrote:

hello,

To add to Steve’s post, all the command you mention are for QNX4…

You are right. I have old ONX 4 books and try to use them on QNX 6, but it
seem they just dont fit. There is a book called instaling and configuration
and I didn’t found similar for QNX6 on the online documentation. Maybe it is
Building Embedded Systems? Maybe there is some free online literature on
basinc things with QNX 6, installing, using etc.

6.2.1 didn’t have anything like the QNX 4 Installation & Configuration
guide, so your best bet is to dig through the Neutrino Utilities Reference
in the HTML docs that are included in 6.2.1.

6.3.0 has the Neutrino User’s Guide, which explains a lot of sys-admin stuff.
(It’s now available in print, by the way – talk to your sales rep if you’d
like to order a copy).


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

and some addition…

I have looked at my QNX and saw that CD-ROM and FDC drivers are loaded, but
I tried to use:

/dev/cd0 —> access denied
cd /dev/cd0 —> /dev/cd0 is not a directory
ls /dev/cd0 —> /dev/cd0

but none of that works. any ideas?

Best regards,
Darius

Darius <alpha_byte@safe-mail.net> wrote:

and some addition…

I have looked at my QNX and saw that CD-ROM and FDC drivers are loaded, but
I tried to use:

/dev/cd0 —> access denied
cd /dev/cd0 —> /dev/cd0 is not a directory
ls /dev/cd0 —> /dev/cd0
Try:

/fs/cd0

Not sure what the default mountpoint (if any_ is for a floppy drive).

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com