Operating System - HP-UX
1833378 Members
2905 Online
110052 Solutions
New Discussion

Cannot mount cdrom drive - always "device busy"

 
David Mores
Frequent Advisor

Cannot mount cdrom drive - always "device busy"

I am having a problem with the cdrom drive on a C3600 workstation.
After a clean boot, attempting to mount a CD (mount /dev/dsk/c0t0d0
/cdrom) results in a "device busy" error message. Output from this
and other commands is included below.

I have tried rebuilding the O/S via Ignite, swapping out the cd drive
with a new unit, changing the mother board and cables with no success
in resolving this problem. I must have missed something.

Looking for new ideas - Is there a hardware diagnostic that would
help?

yhp741:~# mount /dev/dsk/c0t0d0 /cdrom
/dev/dsk/c0t0d0: Device busy

yhp741:~# diskinfo /dev/dsk/c0t0d0
diskinfo: can't open /dev/dsk/c0t0d0: Device busy

yhp741:~# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 10/0/14/0.0.0 sdisk CLAIMED DEVICE LITEON CD-ROM LTN485S
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 10/0/15/1.6.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
yhp741:~# fuser /dev/dsk/c0t0d0
/dev/dsk/c0t0d0:

yhp741:~#
12 REPLIES 12
Massimo Bianchi
Honored Contributor

Re: Cannot mount cdrom drive - always "device busy"

Hi,
please post

bdf
cat /etc/mnttab
cat /etc/xmnttab

I suspect some dirty in /etc/xmnttabbut let's see.

Massimo

Pete Randall
Outstanding Contributor

Re: Cannot mount cdrom drive - always "device busy"

Did you have another thread with this same topic?

Anyway, use fuser or lsof to see if any processes are attached to /cdrom or /dev/dsk/c0t0d0.


Pete


Pete
Enrico P.
Honored Contributor

Re: Cannot mount cdrom drive - always "device busy"

Hi David,
a question:
have you insert a correct CD in the CD drive?
Your errors appear to be a CD driver empty.

Enrico.
Tal Drigov_2
Advisor

Re: Cannot mount cdrom drive - always "device busy"

Hi,

Did you try to change the SCSI ID of the CDROM ?

either run fuser -ck /cdrom or download the lsof GNU, and try to see if something is locking the CDROM ?


Tal.
If it's ain't broken, don't fix it...
David Mores
Frequent Advisor

Re: Cannot mount cdrom drive - always "device busy"

yhp741:~# cat /etc/mnttab
/dev/vg00/lvol3 / vxfs log 0 1 1058880859
/dev/vg00/lvol1 /stand hfs defaults 0 0 1058880860
/dev/vg00/lvol4 /disk0 vxfs delaylog,nodatainlog 0 0 1058880864
/unix.local/automount/auto_tools_order /tools autofs ignore,indirect,intr,rw,nobrowse 0 0 1058880893
/unix.local/automount/auto_admin_order /admin autofs ignore,indirect,intr,rw,nobrowse 0 0 1058880894
/unix.local/automount/auto_proj_order /proj autofs ignore,indirect,intr,rw,nobrowse 0 0 1058880894
/unix.local/automount/auto_home_order /home autofs ignore,indirect,intr,rw,nobrowse 0 0 1058880894
-hosts /net autofs ignore,indirect,intr,rw,nosuid,nobrowse 0 0 1058880894
/ede.local/automount/auto_ede_order /ede autofs ignore,indirect,intr,rw,nobrowse 0 0 1058880894
snca_nfs5:/snca_nfs5/vol07/usr/dmores /ede/dmores nfs nodevs,rsize=32768,wsize=32768,NFSv3 0 0 1058880920
yhp741:~#

There is no /etc/xmnttab file.

Yes, I tried to post this earlier today, but thought it failed. Sorry for any duplicate.

Yes, there is a good cd in the drive.

fuser output was included in original posting.

Cannot change the scsi address, this is a PCI unit that HP uses with an PCI Core I/O internal adapter on the mother board
Stuart Abramson_2
Honored Contributor

Re: Cannot mount cdrom drive - always "device busy"

Most of the time I can't mount something it's because I'm cd-d into the directory.

You're not sitting in /cdrom are you?

do fuser -cu /cdrom to find out if someone is in there.

Use SAM to mount the CD.

Do you have the CD in the CD drive?

Stuart
Stafford
Occasional Advisor

Re: Cannot mount cdrom drive - always "device busy"

You should try removing the device file and recreating it w/ insf -e.
Caesar_3
Esteemed Contributor

Re: Cannot mount cdrom drive - always "device busy"

Hello!

Does the drive worked ok?
Did you made psf_mount on the drive?
Post the /etc/mnttab file

Caesar
David Mores
Frequent Advisor

Re: Cannot mount cdrom drive - always "device busy"


PWD is not in /cdrom

do fuser -cu /cdrom to find out if someone is in there.

fails - could not find file system at /cdrom

Use SAM to mount the CD.

fails - device busy

Do you have the CD in the CD drive?

absolutely

Does the drive worked ok? Yes.

Did you made psf_mount on the drive? No

Post the /etc/mnttab file - already done in previous reply.
Michael Brown_17
New Member

Re: Cannot mount cdrom drive - always "device busy"

I had the same "device busy" on slew of C3600s and C3700s. This problem only occurred when using 11.x, worked fine for 10.20.

Tech Support, without running me through the usual litany of mount questions, suggested that the problem lie in the firmware of the LITEON CDROM. The firmware could not be upgraded and replacement drives (2) were sent.

One of the replacement drives was a MATSUMI, works great. The other is another LITEON (with a manufacture date prior to the one I already have), big surprise, it exhibits the same "device busy" problem.
T G Manikandan
Honored Contributor

Re: Cannot mount cdrom drive - always "device busy"

I would try these options

1.check whether pfs daemons are running.
NO,then

2.Try removing and re-creating the device files on the machine.
NO,then
If you are running 11.0

check the patch below,it requires a REBOOT

http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_27224&context=hpux:800:11:00

REvert
T G Manikandan
Honored Contributor

Re: Cannot mount cdrom drive - always "device busy"

Micheal is right.

there looks some type of firmware for that CDROM.

check this link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb4741cc6003bd6118fff0090279cd0f9,00.html