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.
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 ?
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…
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”
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.
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.
I have a hard time to understand you . 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 > > . 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.
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
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.
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:
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.
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.
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.