1833777 Members
2154 Online
110063 Solutions
New Discussion

CD-ROM problem

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

CD-ROM problem

I know that this is not really the right place to put this question, but it worths to try:

Does anybody now how can I check the CD-ROM unit on a machine running Solaris 5.6? It doesn't want to mount the CD automatically, I have tried also manually and now I suspect a hardware problem.

Thanks for the help,
ionut
If it weren't for STRESS I'd have no energy at all
21 REPLIES 21
Robert-Jan Goossens
Honored Contributor

Re: CD-ROM problem

Hi Ionut,

Check if the automountdeamon is running,

ps -ef | grep auto

if not do

/etc/init.d/autofs start

it starts the automountdeamon.

Robert.
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

I have already checked. The output is:
root 154 1 0 Sep 16 ? 0:00 /usr/lib/autofs/automountd
If it weren't for STRESS I'd have no energy at all
Leif Halvarsson_2
Honored Contributor

Re: CD-ROM problem

Hi

If you can shut down the machine you can run
"probe-scsi" or "probe-scsi-all" at the "ok" prompt. If your CD unit is ok it will be listed in the output of the command.
T G Manikandan
Honored Contributor

Re: CD-ROM problem

Solaris has the "vold" (volume-management) daemon which manages the floppies and cd's.

Just do a
#/etc/init.d/volmgt stop
#ps -ef|grep vold
check whether the vold is running.If it is running then kill it.
#/etc/init.d/volmgt start

This vold automatically mounts cd's and floppies.
If it does not mount then do check whether the cd's are of ISO9660 format.

You can also manually mount by
1.stop the volmgt daemon
/etc/init.d/volmgt stop

ps -ef|grep vold
2.mount it manually

#mount -F hsfs -o ro /dev/dsk/ /mnt.

check it and revert


THanks
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

I have start and stop volmgt. For testing I have inserted a CD with software,diagnostic,drivers and docs for hp sure store dat tape drivers :-)
On the system there is a /cdrom directory where the cdrom is supposed to be mounted. Under /cdrom I got the following structure:
cdrom0 -> ./pthc12040023
pthc12040023 (directory - empty)
untitled#1 (directory - empty)

(For me is something strange this structure - I'm not familiar with Solaris)
If it weren't for STRESS I'd have no energy at all
T G Manikandan
Honored Contributor

Re: CD-ROM problem

cdrom0 is the cd label name.
It is linked with the label name.

Just do a
#volcheck -v

to recognise the media

then check using a
#mount

check whether the cd is automounted by the vold daemon.
If it is not automounted then
try to mount it manually
as by stopping the vold daemon
then

#mount -F hsfs -o ro /dev/dsk/cxtyd0s0 /localmountpoint.

here

x--controller number
t---target number
d---drive number
s---slice number


If it is not getting mounted it should throw messages during the mount process
as
"not a hsfs file system"

Please revert
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

This is the result....


# volcheck -v
no media was found
# mount
/ on /dev/dsk/c0t0d0s0 read/write/setuid/largefiles on Mon Sep 16 09:00:56 2002
/proc on /proc read/write/setuid on Mon Sep 16 09:00:56 2002
/dev/fd on fd read/write/setuid on Mon Sep 16 09:00:56 2002
/var on /dev/dsk/c0t0d0s3 read/write/setuid/largefiles on Mon Sep 16 09:00:56 20/OMC on /dev/dsk/c0t0d0s4 setuid/read/write/largefiles on Mon Sep 16 09:01:01 20/OMC/maps on /dev/dsk/c0t0d0s5 setuid/read/write/largefiles on Mon Sep 16 09:01:/home on /dev/dsk/c0t0d0s6 setuid/read/write/largefiles on Mon Sep 16 09:01:01 2/tmp on swap read/write on Mon Sep 16 09:01:01 2002
/SDO on /dev/md/dsk/d1 setuid/read/write/largefiles on Mon Sep 16 09:01:01 2002
If it weren't for STRESS I'd have no energy at all
T G Manikandan
Honored Contributor

Re: CD-ROM problem

Did you try manual mounting?
Manual mounting should throw messages
or even when you do a
reboot of server it should throw messages.
I suppose the cdrom is not a hsfs format.
Try mounting in a hp machine and use a nfs mount into solaris machine.

Thanks
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

How can I see what device file corresponds to CD-ROM on Solaris? An ioscan command is not available..
If it weren't for STRESS I'd have no energy at all
T G Manikandan
Honored Contributor

Re: CD-ROM problem

Just check for dmesg and see for the instance number for cd drive.

BY default it is 6.
c0t6d0s0


Thanks
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

I cannot see the cd-rom entry with dmesg. See the attachment.
If it weren't for STRESS I'd have no energy at all
T G Manikandan
Honored Contributor

Re: CD-ROM problem

shutdown the system using

init 0

go your ok prompt

ok>probe-scsi-all

find the target number of cd drive


Thanks
Leif Halvarsson_2
Honored Contributor

Re: CD-ROM problem

Hi
The probe-scsi command is similar to the ioscan command in HP-UX but you need to halt (init 0) yout computer first. See my earlier response.
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

I have performed

#init 0

then

ok probe-scsi-all

I have received only one line /pci@1f,0/pci@1/pci@1/SUNW,isptwo@4

I have a disk-array as scsi-device. Does that mean that my cdrom is not seen? Is it faulty?

Thank you all.
If it weren't for STRESS I'd have no energy at all
Leif Halvarsson_2
Honored Contributor

Re: CD-ROM problem

Hi
Yes I think there is a risk the CD drive is fault. Is the CD drive on the same scsi-bus as the disk-array. If not it can be a scsi controller error too. Do you have another drive to test with.
T G Manikandan
Honored Contributor
Solution

Re: CD-ROM problem

I would want you to check the SCSI cables and the SCSI id allocation for the drives.

Just give

ok>test all

which will test the memory,scsi devices on the system

just do a
ok>help


Thanks
Leif Halvarsson_2
Honored Contributor

Re: CD-ROM problem

Hi
I tested on one of our Solaris 5.6 servers.

probe-scsi returned:

Target 0
Unit 0 DISK SEAGATE.......
Target 1
Unit 0 DISK SEAGATE......
Target 6
Unit 0 Removable Read Only device TOSHIBA.....

If you don't get anything about "Removable Read Only device" on your system there is something wrong with scsi-adressing, the CD drive or the controller.
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

I have to check on another machine today, but you helped me a lot. However if the other machine will not reply to probe-scsi with that removable device I shall contact the hardware supplier to check the box. Please close.
If it weren't for STRESS I'd have no energy at all
K.Vijayaragavan.
Respected Contributor

Re: CD-ROM problem

Hello,

1)Generally CD-ROM is mounted automatically in Solaris as vold daemon automatically mounts it.

2)Once you insert a CD-ROM, the CD-ROM drive should be accessible and the content of CD-ROM will be available under "/cdrom/cdrom0".

3)As you have mentioned that, On the system there is a /cdrom directory where the cdrom is supposed to be mounted. Under /cdrom I got the following structure: cdrom0 -> ./pthc12040023
pthc12040023 (directory - empty)
untitled#1 (directory - empty)"

4)The "./pthc12040023 " may be the only content available on the CDROM media you have instated. You may try using another CD media and see what happens.

5)At the ok> prompt you have tried the "probe-scsi" option. But if the cdrom is a IDE device then you may have to use "probe-ide / probe-ide-all" command.

6)what happens if you issue the command "# eject cdrom". If it ejects the cdrom media, then the cdrom is really operational.

7)You may use the following command to see whether the CD-ROM is configured properly or not.

#show-devs | grep cdrom
#prtconf | grep -v not

8)Some more configuration files related with cdrom's automounting function are,
/etc/vold.conf
/etc/rmmount.conf

9)Hope this would have brought you into some conclusion. Anyhow let me know the Sun System type you have.

Bye.
"Let us fine tune our knowledge together"
Ionut Grigorescu_2
Super Advisor

Re: CD-ROM problem

Some new input (see attachment). I didn't performed probe-ide, I have to wait for the guy who can shutdown the application running on this machine. By the way, this pthc12040023 is always there, no mather what CD do I use.
If it weren't for STRESS I'd have no energy at all
K.Vijayaragavan.
Respected Contributor

Re: CD-ROM problem

It seems that you have a Sun Ultra SPARC 5/10 Workstation. As i know, it uses IDE CDROM only.
So it will be very appropriate if you, use the "probe-ide / probe-ide-all" command at "ok" prompt.

At ok prompt you can use "OBdiag" command to diaganose the problem with IDE cdrom, using "EIDE Diagnostic" option.

As "#eject cdrom" command is not working, there must be some hardware / device configuration problem.

To Boot the system and reconfigure the devices you can boot the system with "boot -r" command at "ok" prompt.

Regards,

K.Vijayaragavan,
Bangalore.
"Let us fine tune our knowledge together"