Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 1997 22:04:10 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        current@freebsd.org
Subject:   unreadable files on photo CD
Message-ID:  <199707030504.WAA00942@silvia.HIP.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
Hi folks,

We've been working on a huge number (like 800) of CDs that hold many
images.  There are about 100 images per CD.  The pictures are in
"photo CD" format (by the way, does anyone know if there is a free
tool to view them?...I know only of Adobe PhotoShop and PhotoDeluxe).
Each file is about 4 to 5 megabytes.

However, there are about a dozen CDs that we can't read all the images 
off.  For instance:

===
## ls -sa /cdrom/photo_cd/images/
total 166304
    4 .                  4954 img0012.pcd        4632 img0025.pcd
    2 ..                 4908 img0013.pcd        4666 img0026.pcd
 4714 img0001.pcd        4916 img0014.pcd        4444 img0027.pcd
 4724 img0002.pcd        4834 img0015.pcd        4694 img0028.pcd
 4796 img0003.pcd        4760 img0016.pcd        4582 img0029.pcd
 4980 img0004.pcd        4750 img0017.pcd        4606 img0030.pcd
 5182 img0005.pcd        4822 img0018.pcd        4558 img0031.pcd
 5520 img0006.pcd        4492 img0019.pcd        4516 img0032.pcd
 4880 img0007.pcd        4426 img0020.pcd        4516 img0033.pcd
 4648 img0008.pcd        4524 img0021.pcd        4502 img0034.pcd
 5248 img0009.pcd        4406 img0022.pcd        4594 img0035.pcd
 5266 img0010.pcd        4456 img0023.pcd
 5192 img0011.pcd        4590 img0024.pcd
===

There is supposed to be 101 images on this CD.  Win95 can read them
all (duh).  Looking at the directory:

===
## od -c /cdrom/photo_cd/images
0000000    0  \0 032  \0  \0  \0  \0  \0  \0 032  \0 020  \0  \0  \0  \0
0000020  020  \0   `  \f 027 021   . 033 340 002  \0  \0 001  \0  \0 001
0000040  001  \0  \0  \0  \0  \0 215   U   X   A  \0  \0  \0  \0  \0  \0
0000060    0  \0 030  \0  \0  \0  \0  \0  \0 030  \0  \b  \0  \0  \0  \0
0000100   \b  \0   `  \f 027 021   . 033 340 002  \0  \0 001  \0  \0 001
0000120  001 001  \0  \0  \0  \0 215   U   X   A  \0  \0  \0  \0  \0  \0
0000140    J  \0   j 002  \0  \0  \0  \0 002   j  \0 250   I  \0  \0   I
0000160  250  \0   `  \f 027 021   . 033 340  \0  \0  \0 001  \0  \0 001
0000200   \r   I   M   G   0   0   0   1   .   P   C   D   ;   1  \0  \0
0000220   \0  \0  \t 021   X   A 006  \0  \0  \0  \0  \0   A   A 016 002
 :
0005060    C   D   ;   1  \0  \0  \0  \0  \t 021   X   A 006  \0  \0  \0
0005100   \0  \0   A   A 016 002   P   C   D   I   P   C   D   v  \0  \0
0005120    J  \0   V   H 001  \0  \0 001   H   V  \0 310   G  \0  \0   G
0005140  310  \0   `  \f 027 021   . 033 340  \0  \0  \0 001  \0  \0 001
0005160   \r   I   M   G   0   0   3   5   .   P   C   D   ;   1  \0  \0
0005200   \0  \0  \t 021   X   A 006  \0  \0  \0  \0  \0   A   A 016 002
0005220    P   C   D   I   P   C   D   v  \0  \0  \0  \0  \0  \0  \0  \0
0005240   \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0010000
===

It seems the second half of the directory appears to be all zero to
FreeBSD.

This is on 2.2-stable (from about a day ago).  The SCSI adapters I
tried are Adaptec 2940UW and a no-name NCR 53c825.  The CD-ROM drives
are Toshiba XM-3801TA and XM-5301TA.

Does anyone know what could be the problem?

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707030504.WAA00942>