Operating System - HP-UX
1849374 Members
6712 Online
104044 Solutions
New Discussion

Can't mount a cdrom. Pathetic.

 
SOLVED
Go to solution
Jackie Baron
Frequent Advisor

Can't mount a cdrom. Pathetic.

Sounds lame I know but I've tried everything I can think of...here's the scenario:

I have a HP 9000 workstation with external SCSI Toshiba cdrom. I just fresh installed HPUX 11.00 onto the workstation from the cdrom. No problems there, just boot from alternative source and run the install. Then I needed to install some additional software once the base OS was on there. There are 3 disks in ioscan -fnC disk and /dev/dsk/c0t2d0 is my cd. BUT when I "mount /dev/dsk/c0t2d0 /whatever" I get the error "Unrecognised file system"...hmm!

I thought it might have been that the device was missing a SCSI terminator so I got one and stuck it on there...no change.
The cd media is fine because I mounted and read it on a wintel machine and my sun box. I tried other good media in the HP box but still the same message. I tried the mount -F cdfs option....nada!

Please help
If you think you're too small to make a difference you've never been to bed with a mosquito!
36 REPLIES 36
Eric Antunes
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

Hi Jackie,

I find it strange that CD is on C0. On my servers C0 is for the Initiator...

Hope this'll help.

Eric
Each and every day is a good day to learn.
Robert-Jan Goossens
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

If you are shure it is c0t2d0, try recreating the device file.

# ioscan -fnCdisk
# insf -H hardware_path

Regards,
Robert-Jan
RAC_1
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

What exactly is this CD?? What it contains??

Are you using the right path??

mount -F cdfs /dev/dsk/cxtxdx /cdrom

mount -o cdcase /dev/dsk/cxtxdx

Anil
There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor

Re: Can't mount a cdrom. Pathetic.

Is this a HP Applications CD or some other type? The fact that you can read it on a wintel machine leads me to believe that it's a windows format and you're going to have to use pfs_mount or apply the RockRidge extension patches.

I'll quote from Merijn's faq at his website (or it's mirror, that is) http://mirrors.develooper.com/hpux/

" *

Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760 (now superceded by PHKL_28025).

No need thereafter to use -o cdfs to mount anymore, provided you enter the CD drive in /etc/fstab like this:

/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0"


Pete


Pete
V. Nyga
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

Hi,

try swinstall without mounting the cd.
Choose 'Find local cd'.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Jackie Baron
Frequent Advisor

Re: Can't mount a cdrom. Pathetic.

OK Guys,

This CD is the Applications CD disk 4 of 5. I want to install the DCE Kernel Threads. I have tried to simply run swinstall and Find local CD and it quickly "homes in on" SD_CDROM directory and then says "no media in there" and that's it. There's nothing wrong with the media, I'm quite certain and I don't think there's much wrong with the drive seeing as I've installed the OS from it and can boot from it...ergo something in the OS is tripping me up.
If you think you're too small to make a difference you've never been to bed with a mosquito!
Pete Randall
Outstanding Contributor

Re: Can't mount a cdrom. Pathetic.

In that case, forget RockRidge extensions (for now, anyway). Run your swinstall with the -s option: "swinstall -s /cdrom" and see what you get.


Pete

Pete
Eric Antunes
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

It may be stupid question but have you tried:

mount /dev/dsk/c0t2d0 /SD_CDROM

?

Eric
Each and every day is a good day to learn.
Gerhard Roets
Esteemed Contributor

Re: Can't mount a cdrom. Pathetic.

Saw this before ;) Made me very freustrated.

Just a hunch before getting extremely exotic.

"mount -r /dev/dsk/c0t2d0 /whatever"

It could be that the disk has an hfs filesystem on it :P.

Regards
Gerhard
Bharat Katkar
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

HI,
This should work,
1. mount /dev/dsk/c0t2d0 /SD_CDROM
2. swinstall

If not try mounting as suggested by Gerhard.

Hope that helps.
Regards,

You need to know a lot to actually know how little you know
Rgomes
Valued Contributor

Re: Can't mount a cdrom. Pathetic.

Can you send us the "ioscan -fnCdisk" output?

regards,
Richard
Jackie Baron
Frequent Advisor

Re: Can't mount a cdrom. Pathetic.

Well here's what happens with the -r option:

# mount -r /dev/dsk/c0t2d0 /cdrom
/dev/dsk/c0t2d0: unrecognized file system
#


here's the ioscan output:

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 2/0/1.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5401TA
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 1 2/0/1.5.0 sdisk CLAIMED DEVICE MICROP 2112
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 2 2/0/1.6.0 sdisk CLAIMED DEVICE SEAGATE ST32151N
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
#



This has me stymied!

If you think you're too small to make a difference you've never been to bed with a mosquito!
V. Nyga
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

Hi again,

very strange ... can you mount any other cd right now?

It seems to be the cdrom drive.

Can you add another drive?
Can you test the drive at another pc/ws?

Volkmar
*who don't want to ask if you've switched on the drive* ;-)
*** Say 'Thanks' with Kudos ***
Heiner E. Lennackers
Respected Contributor

Re: Can't mount a cdrom. Pathetic.

You should check if the CD-ROM Subsytem is compiled into your kernel. I never saw a kernel without it, but it is possible that it is missing.
if this makes any sense to you, you have a BIG problem
Eric Antunes
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

Jackie,

Check also this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=700885

Eric
Each and every day is a good day to learn.
Gerhard Roets
Esteemed Contributor

Re: Can't mount a cdrom. Pathetic.

try it as

mount -r -F hfs /dev/dsk/c0t2d0 /wahtever
Paul Mai
Advisor

Re: Can't mount a cdrom. Pathetic.

Gerhard,

The filesystem for CDROM is CDFS not HFS.

Jackie,
Had you ensured that a CD is loaded into the CDROM before attempting to mount?
Jackie Baron
Frequent Advisor

Re: Can't mount a cdrom. Pathetic.

I'm about to check that thread Eric, in th meantime here's the latest output:

# mount -r -F hfs /dev/dsk/c0t2d0 /SD_CDROM
/dev/dsk/c0t2d0: unrecognized file system
#
If you think you're too small to make a difference you've never been to bed with a mosquito!
Jackie Baron
Frequent Advisor

Re: Can't mount a cdrom. Pathetic.

And everybody,

The cdrom IS powered on and there IS a good CD in there. It's app. CD 4 of 5.
If you think you're too small to make a difference you've never been to bed with a mosquito!
Jackie Baron
Frequent Advisor

Re: Can't mount a cdrom. Pathetic.

When using the cdfs option I get a different message:

# mount -r -F cdfs /dev/dsk/c0t2d0 /SD_CDROM
/dev/dsk/c0t2d0: I/O error


One would think that the drive is toast but I just installed the OS from it and it shows up in ioscan.

???




If you think you're too small to make a difference you've never been to bed with a mosquito!
Gerhard Roets
Esteemed Contributor

Re: Can't mount a cdrom. Pathetic.

Ooops forgot its an HP app cd. :)

I had an issue where a customer sent me an HFS cd. Obviously in this case then

mount -r -F cdfs /dev/dsk/c0t2d0 /SD_CDROM


If you have the pfs_mount stuff running. Disable the pfs stuff and give it a whirl again. pfs has this bad habit of interfering.

Tried a different cd rom drive on the same machine?

Gerhard Roets
Esteemed Contributor

Re: Can't mount a cdrom. Pathetic.

Jackie

I have to ask it. It is an original cd ? and not a backup copy?

Regards
Gerhard
Robert-Jan Goossens
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

Hi,

Could you check if you have loaded next patches.

# swlist -l product | grep PHKL_27224
# swlist -l product | grep PHKL_20152

Regards,
Robert-Jan
V. Nyga
Honored Contributor

Re: Can't mount a cdrom. Pathetic.

Hi again,

RJ is maybe on the better direction - from when is your OS cd?
And can you specify your ws?

Volkmar

P.S. Eric's link is about an audio cd ...
*** Say 'Thanks' with Kudos ***