cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot view CD contents

Ian Lochray
Respected Contributor

Cannot view CD contents

I have a CD which was created using a Windows PC but containing Tru64 software. When I try to mount the CD on my Tru64 5.1b system the command works but when I try to look at the contents I cannot (see below). I know the drive is OK as I can mount other CDs. Is there a special option I need to use when creating and/or mounting the CD?
# mount -v -t cdfs -r /dev/disk/cdrom0c /cdrom -o ro
/dev/disk/cdrom0c on /cdrom type cdfs (ro, nodev, rrip, defperm, primary)
# ls /cdrom
ls: /cdrom not found
14 REPLIES
Vladimir Fabecic
Honored Contributor

Re: Cannot view CD contents

Try this:
# mount -r -t cdfs -o noversion /dev/disk/cdrom0c /mnt
Then post output of
# df
# ls -al /mnt
In vino veritas, in VMS cluster
Ian Lochray
Respected Contributor

Re: Cannot view CD contents

Filesystem 512-blocks Used Available Capacity Mounted on
root_domain#root 786432 553116 212304 73% /
/proc 0 0 0 100% /proc
usr_domain#usr 4300800 1964712 2226384 47% /usr
usr_domain#var 4300800 36600 2226384 2% /var
domain_one#tropos 29691408 3962146 14780400 22% /tropos
domain_one#oracle 29691408 9478878 14780400 40% /oracle
domain_two#coda 33130464 309794 11277120 3% /coda
ssihp15:/tropos 6963200 5996174 916662 87% /ssihp15/tropo
s
domain_two#oradata 33130464 20448902 11277120 65% /oradata
ssial11:/oradata 24060768 6170438 17764768 26% /ssial11/orada
ta
domain_one#extracts 29691408 1405124 14780400 9% /extracts
ssial11:/tropv300 35565072 22652472 12668640 65% /ssial11/tropv
300
ssihp15:/portarea 6144000 3339248 2629926 56% /portarea
domain_two#test240 33130464 1055542 11277120 9% /test240
/dev/disk/cdrom0c 700 700 0 100% /mnt
# df /mnt
/mnt: No such device
# ls -a /mnt
ls: /mnt not found
Ian Lochray
Respected Contributor

Re: Cannot view CD contents

I should also have mentioned that I can mount and view the CD OK on HP-UX.
Vladimir Fabecic
Honored Contributor

Re: Cannot view CD contents

Does mount command report any error or warning?
You said that command works.
This is strange because it looks like your cd is not mounted and there is no /mnt directory.
Please do the following, capture output and send it:

# ps
# hwmgr -show scsi
# cd /
# ls -l
# ls /mnt
# mount -r -t cdfs -o noversion /dev/disk/cdrom0c /mnt
# df
# ls /mnt
In vino veritas, in VMS cluster
Ian Lochray
Respected Contributor

Re: Cannot view CD contents

# ps
PID TTY S TIME CMD
945 console I + 0:00.01 /usr/sbin/getty console console vt100
1061 pts/0 I 0:00.01 -sh (sh)
1110 pts/1 I 0:00.03 -sh (sh)
86101 pts/1 I + 0:00.21 ksh -o vi
83990 pts/3 I 0:00.02 -sh (sh)
84002 pts/3 S 0:00.14 ksh -o vi
100848 pts/3 R + 0:00.02 ps
86004 pts/4 I 0:00.09 -sh (sh)
98425 pts/4 I 0:00.01 ksh
98718 pts/4 I 0:00.05 ksh -o vi
# hwmgr -show scsi

SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
40: 0 ssial10 cdrom none 0 1 cdrom0 [0/0/0]
41: 1 ssial10 disk none 2 1 dsk0 [2/0/0]
42: 2 ssial10 disk none 2 1 dsk1 [2/1/0]
45: 3 ssial10 tape none 0 1 tape0 [2/6/0]
# cd /
# ls -l
total 27936
-rw------- 1 root system 143 Sep 26 11:40 .TTauthority
-rw------- 1 root daemon 204 Sep 26 11:40 .Xauthority
-rw-r--r-- 1 root system 9 Sep 26 10:34 .advfs_hostlist
drwx------ 3 root system 8192 Sep 22 12:36 .cdsa
-rwxr----- 1 root system 1322 Oct 17 2002 .cshrc
drwxr-xr-x 10 root system 8192 Sep 26 11:40 .dt
-rwxr-xr-x 1 root system 3970 Sep 22 13:46 .dtprofile
lrwxr-xr-x 1 root system 22 Sep 22 12:16 .local.. -> cluster/membe
rs/{memb}
-rwxr----- 1 root system 1990 Oct 17 2002 .login
-rwxr--r-- 1 root system 2433 Oct 17 2002 .mrg...login
-rwxr----- 1 root system 1322 Oct 17 2002 .new...cshrc
-rwxr----- 1 root system 1990 Oct 17 2002 .new...login
-rwxr----- 1 root system 1864 Oct 17 2002 .new...profile
lrwxr-xr-x 1 root system 34 Sep 22 12:16 .osonly_tmp -> cluster/me
mbers/{memb}/.osonly_tmp
-rwxr----- 1 root system 1864 Oct 17 2002 .profile
-rwxr----- 1 root system 1322 Oct 17 2002 .proto...cshrc
-rwxr----- 1 root system 1990 Oct 17 2002 .proto...login
-rwxr----- 1 root system 1864 Oct 17 2002 .proto...profile
-rw------- 1 root system 6492 Sep 28 15:54 .sh_history
drwxr-xr-x 2 root system 8192 Sep 22 12:35 .ssh2
drwxr-xr-x 2 root system 8192 Sep 22 13:46 .sysman
drwx------ 2 root system 8192 Sep 22 12:16 .tags
-rw-r--r-- 1 bin bin 2326 Oct 17 2002 GENERIC
drwxr-xr-x 2 root system 8192 Sep 22 13:46 TT_DB
lrwxr-xr-x 1 root system 7 Sep 22 12:16 bin -> usr/bin
drwxr-xr-x 2 root system 8192 Sep 25 15:46 cdrom
drwxr-xr-x 5 root system 8192 Sep 26 11:30 cluster
drwxr-xr-x 5 root system 8192 Sep 27 10:04 coda
drwxrwxrwx 3 root system 8192 Sep 26 12:28 dbs920
lrwxrwxrwx 1 root system 26 Sep 22 12:16 dev -> cluster/members/{m
emb}/dev
drwxr-xr-x 9 root system 8192 Sep 22 12:34 devices
drwxr-xr-x 15 root system 16384 Sep 28 11:50 etc
drwxr-xr-x 6 root system 8192 Sep 26 14:28 extracts
-rwxr-xr-x 1 root system 12778096 Oct 17 2002 genvmunix
drwxr-xr-x 2 root system 8192 Sep 22 12:16 home
lrwxrwxrwx 1 root system 8 Sep 22 12:23 krb5 -> usr/krb5
lrwxr-xr-x 1 root system 7 Sep 22 12:17 lib -> usr/lib
drwxr-xr-x 2 root system 8192 Sep 22 12:28 mdec
drwxr-xr-x 2 root system 8192 Sep 22 12:16 mnt
-rw------- 1 root system 0 Sep 22 12:40 nohup.out
drwxr-xr-x 3 root system 8192 Sep 26 12:01 opt
drwxrwxrwx 2 root system 8192 Sep 26 16:43 oraback
drwxr-xr-x 8 oracle dba 8192 Sep 28 15:17 oracle
drwxr-xr-x 8 oracle dba 8192 Jun 21 2004 oradata
-rwxr-xr-x 1 root system 102496 Oct 16 2002 osf_boot
drwxrwxrwx 9 root system 1024 Apr 7 11:52 portarea
dr-xr-xr-x 2 root system 262176 Sep 28 15:54 proc
-rw-r----- 1 root operator 8192 Sep 22 12:16 quota.group
-rw-r----- 1 root operator 32768 Sep 26 17:59 quota.user
drwxr-xr-x 10 root system 8192 Sep 22 12:31 sbin
drwxr-xr-x 2 root system 8192 Sep 22 12:19 shlib
drwxr-xr-x 6 root system 8192 Sep 28 14:36 ssial11
drwxr-xr-x 3 root system 8192 Sep 25 15:09 ssihp15
drwxr-xr-x 2 root system 8192 Oct 17 2002 subsys
drwxr-xr-x 3 root system 8192 Sep 22 12:38 sys
drwxr-xr-x 5 root system 8192 Oct 17 2002 tcb
drwxr-xr-x 5 root system 8192 Sep 28 11:50 test240
lrwxrwxrwx 1 root system 26 Sep 22 12:16 tmp -> cluster/members/{m
emb}/tmp
drwxr-xr-x 33 tropos users 8192 Sep 27 23:05 tropos
drwxr-xr-x 30 root system 8192 Sep 27 10:46 usr
drwxr-xr-x 28 root system 8192 Sep 26 11:30 var
-rwxr-xr-x 1 root system 15117376 Sep 22 12:38 vmunix
# ls /mnt
# mount -r -t cdfs -o noversion /dev/disk/cdrom0c /mnt
# df
Filesystem 512-blocks Used Available Capacity Mounted on
root_domain#root 786432 553132 212288 73% /
/proc 0 0 0 100% /proc
usr_domain#usr 4300800 2085074 2109824 50% /usr
usr_domain#var 4300800 36616 2109824 2% /var
domain_one#tropos 29691408 3962146 14780272 22% /tropos
domain_one#oracle 29691408 9479106 14780272 40% /oracle
domain_two#coda 33130464 309794 15432992 2% /coda
ssihp15:/tropos 6963200 5996176 916660 87% /ssihp15/tropo
s
domain_two#oradata 33130464 16298160 15432992 52% /oradata
ssial11:/oradata 24060768 6170438 17764768 26% /ssial11/orada
ta
domain_one#extracts 29691408 1405124 14780272 9% /extracts
ssial11:/tropv300 35565072 22658518 12662752 65% /ssial11/tropv
300
ssihp15:/portarea 6144000 3339248 2629926 56% /portarea
domain_two#test240 33130464 1050350 15432992 7% /test240
ssial11:/usr 7147196 3922420 2510056 61% /ssial11/usr
/dev/disk/cdrom0c 700 700 0 100% /mnt
# ls /mnt
ls: /mnt not found
#
Steven Schweda
Honored Contributor

Re: Cannot view CD contents

I don't know anything, but I'd be interested
to learn exactly _how_ you created this CD.

On my system, I can mount a Windows 98 SE
installation CD, for example, and see files
like crazy. And, as you say, you can mount
lots of other CDs without problems, so there
appears to be something horribly unfortunate
about this particular CD.

Is it some odd-ball multi-session thing, or
does it exercise some other exotic feature
which Tru64 doesn't support?

Around here (on an XP1000):

urtx# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sat Jan 28 11:47:04 CST 2006

urtx# ls -ld /cdrom
drwxr-xr-x 2 root system 8192 Jan 27 2006 /cdrom

urtx# ls -l /cdrom
total 0

urtx# mount -v -r -t cdfs /dev/disk/cdrom1c /cdrom
-o ro
/dev/disk/cdrom1c on /cdrom type cdfs (ro, nodev, rrip, defperm, primary)

urtx# ls -l /cdrom
total 28
dr-xr-xr-x 2 root daemon 158 Apr 23 1999 add-ons
-r-xr-xr-x 1 root daemon 81 Apr 23 1999 autorun.inf
dr-xr-xr-x 2 root daemon 1264 Apr 23 1999 cdsample
dr-xr-xr-x 2 root daemon 776 Apr 23 1999 drivers
-r-xr-xr-x 1 root daemon 3096 Apr 23 1999 readme.txt
-r-xr-xr-x 1 root daemon 3824 Apr 23 1999 setup.exe
-r-xr-xr-x 1 root daemon 3646 Apr 23 1999 setuptip.txt
dr-xr-xr-x 2 root daemon 442 Apr 23 1999 tools
dr-xr-xr-x 2 root daemon 5912 Apr 23 1999 win98

... and so on ...

urtx# df -k /cdrom
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/disk/cdrom1c 640226 640226 0 100% /cdrom


If you were desperate for amusement, you
could try to suck the bits off the CD using
something like "dd if=/dev/rdisk/cdrom0c
of=potentially_big_file", and see if anything
can be found there. It may not buy you much,
even if you get something, of course.
Ian Lochray
Respected Contributor

Re: Cannot view CD contents

I created the CD using Roxio Easy CD creator on a Windows XP PC by mapping the Tru64 drive with the software onto the XP PC.
I have tried it with the three formats available - ISO 9660, Joliet and UDF102.
Steven Schweda
Honored Contributor

Re: Cannot view CD contents

I can't say I've used the Roxio product
lately, but is there a
disc-at-once/track-at-once option? If so,
you may need to specify disc-at-once.
Plain-old ISO 9660 would probably be the
format of choice. (I did just get some
e-mail from Roxio, saying that my old version
was obsolete, and I should upgrade to version
9 (?) of the renamed product.)

"Mapping" how? NFS? Samba?

This may be a good argument for using
cdrtools (cdrecord and friends) on the Tru64
system. Worst case: Use mkisofs to make an
ISO-9960 CD image file on Tru64, get that to
the Windows system somehow, and then persuade
the software there to write the image file
to the CD-R(W) with as little intervention as
possible. I suspect that using cdrecord with
a CD-writing drive connected directly to the
Alpha would be the most reliable thing.

Disclaimer: I use the cdrtools software on
VMS, primarily, so I assume that it is
essentially trouble-free on Tru64, but I have
little or no actual experience with it there.
Vladimir Fabecic
Honored Contributor

Re: Cannot view CD contents

Re Steven:
cdrtools work fine on TRU64

But there is something strange in this case: "df" reports that cd is mounted in "/mnt" but "ls /mnt" acts like there is no "/mnt" directory. And before mount command "ls" showed that "/mnt" exists. Could be some kind of bug.
I remember one strange thing with one old DS20E whose CD drive did not read well some CD-R medias of 700 MB, but red all 650 MB medias perfectly.
Ian, what kind of alpha server you have?
Please do one more thing: after mount command do:
# cd /mnt
# ls -al
In vino veritas, in VMS cluster
Ian Lochray
Respected Contributor

Re: Cannot view CD contents

I tried cutting a CD on aother PC with the same Roxio software and got the same error. I then tried cutting a CD on my laptop with some basic drag and drop software. That mounted no problem.
A colleague pointed out that the Roxio software provides two methods of creating CDs - Roxio Creator Classic (which I had been using) and Roxio Easy Media Creator. I tried the latter and that worked fine too.
I can only assume that the Roxio Creator Classic software is not compatible with Tru64 UNIX.
Steven Schweda
Honored Contributor

Re: Cannot view CD contents

> I can only assume that the Roxio Creator
> Classic software is not compatible with
> Tru64 UNIX.

Or something about its default settings, or
something about the way you're using it, or ...
Ian Lochray
Respected Contributor

Re: Cannot view CD contents

That was my initial thought too so I tried cutting CDs with all of the available project settings. None of them worked on Tru64 but all worked as expected on Windows and HP-UX.
Steven Schweda
Honored Contributor

Re: Cannot view CD contents

One more low-probability possibility would be
that the CD drive in the Alpha is getting old
and blind (or dim), and that it just can't
read some of your home-made CD-R(W) discs.
It's possible (although perhaps not likely)
that a disc written by your laptop is enough
easier to read that the Alpha's drive can
read that one but not the disc(s) written by
the other drive(s).

Related questions:

What's the CD drive in the Alpha, and how old
is it? (How hard would it be to swap that
drive?)

Are you making CD-R or CD-RW discs? (CD-RW
is harder to read.)


Unlikely or not, I had a problem like that
with an old (4X Toshiba?) drive in a Sun
(clone) workstation system a while ago.
Different symptoms, but some "known-good"
CD-R discs did not work on the Solaris
system, and it took me too long to suspect
the hardware. Some discs worked, so I
assumed that the CD drive was good, but it
wasn't good enough to read some of my
home-made discs.

Also, CD-ROM drives which predate CD-R discs
may be expected to have more trouble reading
the home-made variety. An RRD42, for
example, would not be a good choice for
reading a CD-RW disc.

Of course, the "ls: /cdrom not found" symptom
is suboptimal, irregardful of the reason.
Ian Lochray
Respected Contributor

Re: Cannot view CD contents

Used a different version of CD creation software.