tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY-2] DICOM/CD-XA format was: Can I mount a PC-only (apparently)
@ 1997-10-10 15:54 System Prestidigitator
  0 siblings, 0 replies; only message in thread
From: System Prestidigitator @ 1997-10-10 15:54 UTC (permalink / raw)
  To: tru64-unix-managers

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@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@Adobe.COM>
"Delafontaine, Andre" <Andre.Delafontaine@echostar.com>
Gregg Tracton <tracton@radonc.unc.edu>
Jeffrey G. Micono jgmicon@sass165.sandia.gov
Robert Otterson <Otterson@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@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@u.washington.edu    http://weber.u.washington.edu/~bolson
Box 356422, Room RR 616 Health Science Building, Seattle, WA, 98195-6422

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-10 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-10 15:54 [SUMMARY-2] DICOM/CD-XA format was: Can I mount a PC-only (apparently) System Prestidigitator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox