problem x NewUser

I am italian user (first italian user ?)

I have this configuration

1 master - Hdd
1 mastser slave - CDR
1 secondary - Hdd
1 secondary slave - CDRM

why after boot,
if is not presenf floppydisk or CD , QNX not mount these ?

if I write mount it, resource is always busy.
if after boot CD is ON…CD is mounted

Hi Francob,

Francob <francob.rm@inwind.it> wrote in article <MPG.1654695abb48fa07989680@inn.qnx.com>…

I am italian user (first italian user ?)

I have this configuration

1 master - Hdd
1 mastser slave - CDR
1 secondary - Hdd
1 secondary slave - CDRM

why after boot,
if is not presenf floppydisk or CD , QNX not mount these ?

When you type mount it means you wish to mount file system - in your case on removable media
(exactly floppy disk or CD-ROM disk). When you change the media the driver re-mounts it for you
(you could disable it).

if I write mount it, resource is always busy.
if after boot CD is ON…CD is mounted

You insert CD, then driver gets signal and remount disk for you. Nothing to mount if there is no CD
disk in the drive.

Bests,
Eduard.

When you type mount it means you wish to mount file system - in your case on removable media
(exactly floppy disk or CD-ROM disk). When you change the media the driver re-mounts it for you
(you could disable it).

You insert CD, then driver gets signal and remount disk for you. Nothing to mount if there is no CD
disk in the drive.

Bests,
Eduard.

ok.
After boot CD is not present.
I write “root”.
insert CD.

what are command or STEP for to read CD (or floppy ) now ?

Francob <francob.rm@inwind.it> wrote in article <MPG.1655a62783966b6f989681@inn.qnx.com>…

ok.
After boot CD is not present.
I write “root”.

I suppose you log in as root?

insert CD.

what are command or STEP for to read CD (or floppy ) now ?

to read CD

cd /fs/cd0

ls

i.e. /dev/cd0 is automounted to mount point /fs/cd0 as soon as you insert CD disk

to read dos formatted floppy (insert floppy into drive)

mount -tdos /dev/fd0 /fs/fd-dos

cd /fs/fd-dos

ls

i.e. /dev/fd0 is not automounted, because you want to use diskettes with different file systems.
Type “use mount” for detailed help.

if you loged in as ordinary user (not root)
$ su
password:

mount -tdos /dev/fd0 /fs/fd-dos

exit

$ cd /fs/fd-dos
$ ls

Eduard.

hi,Francob:
When I was in my first step of learning “mount”,I forgot the destination of
the command,I alway type"mount -tcd /dev/cd0" and then the resouce would
alway be busy.You did like this?
ChaoLi


“ed1k” <ed1k@yahoo.com> wrote in message
news:01c1690c$1440ce40$7b6fa8c0@ED1K…

Francob <> francob.rm@inwind.it> > wrote in article
MPG.1655a62783966b6f989681@inn.qnx.com> >…

ok.
After boot CD is not present.
I write “root”.

I suppose you log in as root?

insert CD.

what are command or STEP for to read CD (or floppy ) now ?

to read CD

cd /fs/cd0

ls

i.e. /dev/cd0 is automounted to mount point /fs/cd0 as soon as you insert
CD disk

to read dos formatted floppy (insert floppy into drive)

mount -tdos /dev/fd0 /fs/fd-dos

cd /fs/fd-dos

ls

i.e. /dev/fd0 is not automounted, because you want to use diskettes with
different file systems.
Type “use mount” for detailed help.

if you loged in as ordinary user (not root)
$ su
password: <root password here

mount -tdos /dev/fd0 /fs/fd-dos

exit

$ cd /fs/fd-dos
$ ls

Eduard.

I suppose you log in as root?
yes

insert CD.

what are command or STEP for to read CD (or floppy ) now ?

to read CD

cd /fs/cd0

ls

i.e. /dev/cd0 is automounted to mount point /fs/cd0 as soon as you insert CD disk

to read dos formatted floppy (insert floppy into drive)

mount -tdos /dev/fd0 /fs/fd-dos

the answer is :

no such device or address

hi,Francob:
When I was in my first step of learning “mount”,I forgot the destination of
the command,I alway type"mount -tcd /dev/cd0" and then the resouce would
alway be busy.You did like this?
ChaoLi
yes,

after “mount -tcd /dev/cd0”

the answer is
“can’t mount /fs/cd0 (type cd)”
“possible reason : resource busy”

Hi,

Francob <francob.rm@inwind.it> wrote in article <MPG.165994dca94cf321989682@inn.qnx.com>…

to read dos formatted floppy (insert floppy into drive)

mount -tdos /dev/fd0 /fs/fd-dos

the answer is :

no such device or address

Check out if you have fd0 under /dev

cd /dev

ls

If you do not see fd0 in list check out the floppy drive connections, the BIOS settings (floppy
drive should be enabled and “report no fdd” disabled) etc.

Check out if floppy driver is started properly

pidin mem |grep devb-fdc

You should see about 6 threads. If you see 1-2 threads then driver is started improperly. If you
don’t see devb-fdc in memory at all, try to start driver manually

devb-fdc blk cache=100k

Check out command line

pidin arg |grep devb-fdc

Read Utilities Reference/D…/devb-fdc in helpviewer to consult default options. Probably they are
not appropriate to your hardware.

Best regards,
Eduard.

In article 01c16cf5$a5384440$7b6fa8c0@ED1K, ed1k@yahoo.com says…

Hi,

Francob <> francob.rm@inwind.it> > wrote in article <> MPG.165994dca94cf321989682@inn.qnx.com> >…
to read dos formatted floppy (insert floppy into drive)

mount -tdos /dev/fd0 /fs/fd-dos

the answer is :

no such device or address


Check out if you have fd0 under /dev

cd /dev

ls

If you do not see fd0 in list check out the floppy drive connections, the BIOS settings (floppy
drive should be enabled and “report no fdd” disabled) etc.

yes i see it

(fd0 and cd0)

but…if cd is not insert during boot

after type “root” issn’t possible read cd !!!

Francob <francob.rm@inwind.it> wrote in article <MPG.165c68b31b771fcc989685@inn.qnx.com>…

yes i see it
(fd0 and cd0)

but…if cd is not insert during boot

after type “root” issn’t possible read cd !!!


Francob,

I have a hard time to understand you :wink:. Can you login into Photon without the CD disk in the
CD-ROM drive? Then can you insert the CD disk into the drive? You have wait for a few seconds while
CD-ROM drive rolls the disk. After that you can read the files on CD disk (/fs/cd0/) by
“File manager” (pfm) or any other program (phplay, for example). Cannot you?
Eduard.

I have a hard time to understand you > :wink:> . Can you login into Photon without the CD disk in the
CD-ROM drive?
YES



Then can you insert the CD disk into the drive?
YES



You have wait for a few seconds while
CD-ROM drive rolls the disk.
OK



After that you can read the files on CD disk (/fs/cd0/) by
“File manager” (pfm) or any other program (phplay, for example). Cannot you?
Eduard.

NO, I CAN’T read /fs/cd0

Francob <francob.rm@inwind.it> wrote in article <MPG.165c7fc75e68fa96989686@inn.qnx.com>…

I have a hard time to understand you > :wink:> . Can you login into Photon without the CD disk in the
CD-ROM drive?
YES

Then can you insert the CD disk into the drive?
YES

You have wait for a few seconds while
CD-ROM drive rolls the disk.
OK

After that you can read the files on CD disk (/fs/cd0/) by
“File manager” (pfm) or any other program (phplay, for example). Cannot you?
Eduard.

NO, I CAN’T read /fs/cd0

Ok, did you try to remount CD-ROM?

mount -tcd /dev/cd0 /fs/cd0

If it still does not work, probably you have hardware troubles. Write here your hardware details:
CD-ROM types (excuse my ignorance what do you mean “1 mastser slave - CDR” and “1 secondary slave -
CDRM”?), SCSI and/or IDE controllers types. Do you except the situation you insert the disk into
the secondary slave (/dev/cd1) device and you try to read the file system of primary slave
(/fs/cd0)?
Also write here what “uname -a” says.

Eduard.

After that you can read the files on CD disk (/fs/cd0/) by
“File manager” (pfm) or any other program (phplay, for example). Cannot you?
Eduard.

NO, I CAN’T read /fs/cd0

Ok, did you try to remount CD-ROM?

mount -tcd /dev/cd0 /fs/cd0

the answer is

“can’t mount /fs/cd0 (type cd)”
“possible reason : resource busy”

If it still does not work, probably you have hardware troubles. Write here your hardware details:
CD-ROM types (excuse my ignorance what do you mean “1 mastser slave - CDR” and “1 secondary slave -
CDRM”?),
I have 2 hdd ( primary master + secondary slave)

and 2 CDrom ( master slave + secondary master )

CDrom are IDE

SCSI and/or IDE controllers types. Do you except the situation you insert the disk into
the secondary slave (/dev/cd1) device and you try to read the file system of primary slave
(/fs/cd0)?
Also write here what “uname -a” says.

the answer is:
QNX localhost 6.1.0 2001/06…edt x86pc x86

Eduard.

thx Franco

Hi Franco,

Francob <francob.rm@inwind.it> wrote in article <MPG.165d8eb09ca97458989687@inn.qnx.com>…

I have 2 hdd ( primary master + secondary slave)
and 2 CDrom ( master slave + secondary master )
^^^^^^^^^^^^^^^

I still suppose it is primary slave???

CDrom are IDE

Could you be more specific? For example:
Primary slave device is Creative 24 Xmx “CREATIVE CD2422E MC102, hr 1.02”
You could grab this information from BIOS’s output during boot up.

Have you the problem only with /dev/cd0? Can you read CD disk by second CD-ROM drive?
Have you the problem if you boot with one cd disk in drive (as far I understand you can read this
one without problems) and then after boot you change cd disk to another? (do not type any mount
commands). Please post here “pidin arg |grep devb-eide” output.

Best regards.
Eduard.

and 2 CDrom ( master slave + secondary master )
^^^^^^^^^^^^^^^
I still suppose it is primary slave???
yes is an big big error


CDrom are IDE


Could you be more specific? For example:
Primary slave device is Creative 24 Xmx “CREATIVE CD2422E MC102, hr 1.02”
You could grab this information from BIOS’s output during boot up.

Have you the problem only with /dev/cd0? Can you read CD disk by second CD-ROM drive?
Have you the problem if you boot with one cd disk in drive (as far I understand you can read this
one without problems) and then after boot you change cd disk to another? (do not type any mount
commands). Please post here “pidin arg |grep devb-eide” output.
ok…tomorrow write this (now I am at work)

however when the cd is already inserted (before system boot)
i can read this with file manager in /fs/cd0

Could you be more specific? For example:
Primary slave device is Creative 24 Xmx “CREATIVE CD2422E MC102, hr 1.02”
You could grab this information from BIOS’s output during boot up.
ide/atapi cdrom 44x



Have you the problem only with /dev/cd0? Can you read CD disk by second CD-ROM drive?
Have you the problem if you boot with one cd disk in drive (as far I understand you can read this
one without problems) and then after boot you change cd disk to another? (do not type any mount
commands). Please post here “pidin arg |grep devb-eide” output.
the answer is:

devb-eide blk auto:partition dos exec=all cam quiet eide dma,
ioport=01f0,urq=14 eide dma, ioport=0x170,irq=15
532513 grep devb-eide


and now ?

thx
Franco

Hi Franco,

Francob <francob.rm@inwind.it> wrote in article <MPG.16641caafbe5d411989689@inn.qnx.com>…
[cut]

ide/atapi cdrom 44x
Well, seems it is not quite old device.



Have you the problem only with /dev/cd0? Can you read CD disk by second CD-ROM drive?
???



Have you the problem if you boot with one cd disk in drive (as far I understand you can read
this
one without problems) and then after boot you change cd disk to another? (do not type any mount
commands).
???

Please post here “pidin arg |grep devb-eide” output.

the answer is:

devb-eide blk auto:partition dos exec=all cam quiet eide dma,
ioport=01f0,urq=14 eide dma, ioport=0x170,irq=15
532513 grep devb-eide

Well, it’s a standard line with a few typos > :slight_smile:



and now ?

I’m sorry, but I have no idea. Try use “mount” (without arguments) to view all mounted filesystems.

If you have /dev/cd0 mounted, cd disk inserted in drive, and you cannot read files in /fs/cd0 then
try “umount /fs/cd0” (it will unmount) and then “mount -tcd /dev/cd0 /fs/cd0” (remount cd
filesystem). It should work if your troubles are related to the cd-rom does not report “media
changed”.
Usual no your intervention required. You are first user with such problem.

Best regards,
Eduard.

thx
Franco

Usual no your intervention required. You are first user with such problem.

Best regards,
Eduard.

thx
Franco

thanks :frowning:((((

Franco, don’t despair. Have you seen ??? in my previous post. Try all variants, post here your
results. Probably, anybody else could help you. Unfortunately I cannot clearly determine your
problem. Be sure QNX community is looking into your problem.

Cheers.

Francob <francob.rm@inwind.it> wrote in article <MPG.1664715d24dbd0ac98968a@inn.qnx.com>…

Usual no your intervention required. You are first user with such problem.

Best regards,
Eduard.

thx
Franco



thanks > :frowning:> ((((