[SUMMARY-2] DICOM/CD-XA format was: Can I mount a PC-only (apparently) CD-ROM on OSF 4.0b?

From: System Prestidigitator <BOLSON_at_FRANGO.HS.WASHINGTON.EDU>
Date: Fri, 10 Oct 1997 08:54:23 -0700

Thanks to many repliers, listed below, and especially Dr. Tom Blinn. However,
I was unable to read this CD-ROM on the Alpha. I can on a Sun.
The short answer is that this CD-ROM is written using a format called CD-XA and
the DUnix 4.0b cdfs can't quite handle it.

Here is original message, to set context:

> I have a CD-ROM written on an X-ray angiography system in "DICOM" format.
> Our PC's (and my Mac) can read the disk without problems.
> I cannot mount it on our Alpha - it says that it is not a cdfs file system.
> I tried "mtools" (built from the net distribution, not the bundled, poorly
> documented version) but either it won't work at all or I don't know the
options.
>
> Does anyone have a clue as how to deal with this. It would be of great use to
> be able to see these.
>
> I have been able to mount DICOM disks from another angiography system, but not
> from this one (Siemens works, Phillips doesn't).
>
> Thanks for any advice.
>
> Ed Bolson University of Washington Cardiac Imaging Lab
(206)543-4535
> bolson_at_u.washington.edu http://weber.u.washington.edu/~bolson
> Box 356422, Room RR 616 Health Science Building, Seattle, WA, 98195-6422

Many answers from:
Larry Church <lchurch_at_Adobe.COM>
"Delafontaine, Andre" <Andre.Delafontaine_at_echostar.com>
Gregg Tracton <tracton_at_radonc.unc.edu>
Jeffrey G. Micono jgmicon_at_sass165.sandia.gov
Robert Otterson <Otterson_at_mail.dec.com>

These were all checking my sanity (did I have cdfs installed!) and suggesting
various forms of the mount command. Also suggested was simply remote mounting
the disk.

Yes, I had cdfs correctly configured and it works fine on DICOM disks written by
a different angiography system. No, I really wanted local access to 500 MB of
image files.

"Dr. Tom Blinn, 603-884-0646" <tpb_at_zk3.dec.com>

He asked me for some more details:
>You didn't mention in your message which model of CDROM drive you've
>got on your system, or what system, or what version of Digital UNIX
>you are running, and ALL of these could impact whether or not you'll
>succeed.

>If you respond with that information, I'll check with our CDROM expert
>and see if we can figure out whether you should be able to read a DICOM
>format CD on your system, and if we know you'll fail, whether it's due
>to the CDROM drive model not working, or your software being too old.

I have an AlphaStation 500/400.
The CD-ROM is RRD46.
The system is 4.0b (I did say that, but not the rest!)

I tried:
# mount -r -t cdfs -o rrip /dev/rz4c /cdrom
cdfs_mount: Unsupported disk format
/dev/rz4c on /cdrom: No valid filesystem exists on this partition
# mount -r -t cdfs /dev/rz4c /cdrom
cdfs_mount: Unsupported disk format
/dev/rz4c on /cdrom: No valid filesystem exists on this partition

One of these works with CD-ROM's from other sources.

For the heck of it, I tried the "strings" command and got the proper file names
for the directory of this disk as well as other interesting info.

CD001
CD-RTOS CD-BRIDGE VOLUME1
IKEDA_KESAKO__LVG_
                                                TOYOHASHI HIGASHI HOSPITAL
                                                                                
                                                                                
                                                                CDI/CDCARDIO.EXE
;1
                                COPYRGHT.INF;1
                          BIBLIO.INF;1 1996121110130000
0000000000000000
0000000000000000
0000000000000000
CD-XA001
CD001
CD-RTOS CD-BRIDGE VOLUME1
.
.
(much more)

> I checked with our expert. The key string in the data was this:
>
> > CD-XA001
>
>This is the CD-XA format, which we can read, but we didn't have the
>full support for reading it in V4.0B -- you need to set a density code
>in the drive to get it to work. We believe that you can fix this with
>a simple update to your DDR database (which is a text file in /etc).>
>
>You can edit the file /etd/ddr.dbase with an editor like "vi".
>
>In the file, you'll find sections for a number of devices. There
>should be a section with the heading "SCSIDEVICE" and a line in it
>that says
>
> Name = "DEC" "RRD46"
>
>You want that section to read like this when you're done:
>
SCSIDEVICE
    #
    Type = rodirect
    Name = "DEC" "RRD46"
    #
    MODESELECT:
        # Set density code for CD/XA format discs (like Kodak PhotoCD).
       ModeSelectNumber = 0
        PageFormat = scsi2
        SavePage = No
        TransferLength = 12
        BlockDescriptor = Yes
        BlkDescr.Density = 0x83
        BlkDescr.BlockLength = 512

>just do this:
>
> # ddr_config -c
>
>to compile your edited ddr.dbase file to make a new ddr.db file. The
>utility will also tell the kernel there's an updated file, and then the
>kernel is supposed to re-read it, at which point you should be able to
>mount the CD without even rebooting.
                
Interestingly, there was no entry for RRD46 in the existing database!
I then did:
# ddr_config -c
# mount /cdrom
/dev/rz4c on /cdrom: I/O error

but did not give up:
# mount -t cdfs -r /dev/rz4c /cdrom
# ls /cdrom
/cdrom not found
# pwd
/etc
# ls /cdrom
/cdrom not found
# umount /cdrom
# mount -t cdfs -r -o noversion /dev/rz4c /cdrom
# ls /cdrom
/cdrom not found
# umount /cdrom
# ls /cdrom
# ls -lR /cdrom
total 0
# ls -ld /cdrom
drwxr-xr-x 2 root system 512 May 30 11:07 /cdrom

# mount -t cdfs -r -o noversion,rrip /dev/rz4c /cdrom
cdfs_mount: Disk not formatted for RRIP, defaulting to ISO-9660
# ls /cdrom
/cdrom not found

And this is where we are stuck.
So I can now mount the cdrom, but can't read it!!!!

I can't send DEC my CD-ROM because it has private patient medical records.
If anyone has a Philips Medical Systems CD-XA CD-ROM, please contact
Dr. Tom Blinn.

I will just live without the capability for now.

Ed Bolson University of Washington Cardiac Imaging Lab (206)543-4535
bolson_at_u.washington.edu http://weber.u.washington.edu/~bolson
Box 356422, Room RR 616 Health Science Building, Seattle, WA, 98195-6422
Received on Fri Oct 10 1997 - 18:19:11 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT