Operating System - HP-UX
1836356 Members
1947 Online
110100 Solutions
New Discussion

cdrom device says busy - but nothing mounted

 
Rick Garland
Honored Contributor

cdrom device says busy - but nothing mounted

Hi all:

rx4640 running 11.23

Trying to mount a cdrom disc onto device /dev/dsk/c0t0d0 but the command keeps comming back and saying /dev/dsk/c0t0d0 is busy. Nothing is mounted. The ioscan -fn command shows the device as c0t0d0.

Tried stoping the nfs.core, nfs.server, nfs.client to no avail.

Whats up?
14 REPLIES 14
Thayanidhi
Honored Contributor

Re: cdrom device says busy - but nothing mounted

By chance did you run pfsmount to this device with nohup(e.g. mounting Oracle CDs).
Find out and kill.

What about fuser?

Is the CDROM tray is ejecting when button pressed?

Revert

Regds
TT
Attitude (not aptitude) determines altitude.
Rick Garland
Honored Contributor

Re: cdrom device says busy - but nothing mounted

No pfs procs. Tray ejects with every push of the button.

fuser reports nothing for any mount points. This is a device file that is reporting busy, not a mount point. But it has been verified that this device file is the

disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

This is the cdrom device.
Rick Garland
Honored Contributor

Re: cdrom device says busy - but nothing mounted

There is no pfstab file.
Victor BERRIDGE
Honored Contributor

Re: cdrom device says busy - but nothing mounted

Hi Rick,

Have you tried with another CD ?
I would try to check by using stm/xstm (but I dont know if it exist for rxXXXX... sorry) with a CD I know I can read.

Good luck

Victor
Eric Antunes
Honored Contributor

Re: cdrom device says busy - but nothing mounted

Hi Rick,

Did you try to umount it?

What is the command you are using??

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Rick Garland
Honored Contributor

Re: cdrom device says busy - but nothing mounted

Here is the STM exerciser log for the device. Can't open READ-ONLY. Any ideas why?


Mon May 23 10:41:26 2005: An open system call failed with errno (16 (0x10))
when attempting to open file (/dev/rdsk/c0t0d0) with
read-only (O_RDONLY) option.

Mon May 23 10:41:26 2005: EBUSY (16) errno returned from an open system call
indicates the device is currently busy.
Thayanidhi
Honored Contributor

Re: cdrom device says busy - but nothing mounted

Without any CD inside if you try to mount it will give busy!
So, the CD you are tying is it readable in other systems?

After inserting CD, try

diskinfo -v /dev/rdsk/c0t0d0
post the output.

Regds
TT
Attitude (not aptitude) determines altitude.
Rick Garland
Honored Contributor

Re: cdrom device says busy - but nothing mounted

There is a CD in the drive. Has been used on 5 other rx4640 systems within the last hour - no problems.

The diskinfo -v command reports the /dev/dsk/c0t0d0 device busy.
Thayanidhi
Honored Contributor

Re: cdrom device says busy - but nothing mounted

where you usualy mount the cdrom? say /cdrom.
Then check whether any body sitting there.

fuser /cdrom
also,
fuser /dev/dsk/c0t0d0

Then dd if=/dev/dsk/c0t0d0 of=/dev/null bs=2048

Cntrl+C after some time,

See the records in and out are same?

To isolate the hardware.

Regds
TT
Attitude (not aptitude) determines altitude.
Rick Garland
Honored Contributor

Re: cdrom device says busy - but nothing mounted

The fuser command shows nothing via the mount point or the device file.

cdrom device is posted abouve with the ioscan output - this is the device for the cdrom (/dev/dsk/c0t0d0).

STM output above says unable to open device
Rick Garland
Honored Contributor

Re: cdrom device says busy - but nothing mounted

Have placed a another cd disc in the drive, still no luck.

This is going to need a reboot to see if the cdrom drive comes back or a hardware service call for replacement.

Comments, opinions?
RAC_1
Honored Contributor

Re: cdrom device says busy - but nothing mounted

Do not use fuser. lsof /dev/dsk/c0t0d0

Does it report anything??
There is no substitute to HARDWORK
Thayanidhi
Honored Contributor

Re: cdrom device says busy - but nothing mounted

Did you try dd?

Make the CDROM is firmly connected.(Rx4640, if you open front bezel, the CDROM is just unpluggable)

If reboot doesn't help then device could be bad! Hope you are up todate with patches.
This CDROM is IDE device, check for cumulative IDE patch.

Regds
TT


Attitude (not aptitude) determines altitude.
Rick Garland
Honored Contributor

Re: cdrom device says busy - but nothing mounted

All indications are the drive is bad. Haven't rebooted yet (PRD system) but all other attempts have not succeeded. The dd - device /dev/dsk/c0t0d0 will not open. lsof reports nothing for the device. fuser reports nothing for the mount point. 3 different cd discs were tried in the device. The device was unplugged and then plugged back in. Removed the device from the ioscan (rmsf) did ioscan, insf to put back - no luck. I would have to say bad drive.

1st lets see how a reboot will help. I am doubtful but give it a shot anyways.

Many thanks