Skip site navigation (1)Skip section navigation (2)
Date:      25 Jul 2002 08:31:12 -0400
From:      Chris Shenton <chris@shenton.org>
To:        questions@freebsd.org, multimedia@freebsd.org
Subject:   PhotoCD: ata/acd mount issue, data overrun with lockup
Message-ID:  <87d6tcgfan.fsf@thanatos.shenton.org>

next in thread | raw e-mail | index | archive | help
A friend gave me a CD burned by a film processing lab and I had
problems mounting or dd'ing it off:

    thanatos# mount /dev/acd0a /cdrom
    mount: /dev/acd0a on /cdrom: incorrect super block

    thanatos# mount_msdos /dev/acd0a /cdrom
    mount_msdos: /dev/acd0a: Invalid argument

    thanatos# mount_cd9660  /dev/acd0a /cdrom
    mount_cd9660: /dev/acd0a: Invalid argument

    thanatos# dd if=/dev/acd0c of=/tmp/cdnoise
    dd: /dev/acd0c: Invalid argument
    0+0 records in
    0+0 records out
    0 bytes transferred in 0.000214 secs (0 bytes/sec)

I was finally able to mount it per the hint on the mount_cd9660 man
page with:

    thanatos# mount_cd9660 -o rw -v -s 0 /dev/acd0c /cdrom/

Under my mount point I see (most importantly) directories "pictures"
and "previews", the former with a bunch of 3MB files, the latter with
a directory for each roll and files in the 75KB range.

But when I try to view the large images with xv, or even use "cp" to
copy them to disk, I see lots of problems in the logs and it tends to
hang my system intermittently (comes back, but during the hang even
the mouse is frozen):

    chris@thanatos(259> cp /cdrom/pictures/ku6553-r1-0a.jpg ./
    Jul 25 08:14:57 thanatos /kernel: acd0: READ_BIG command timeout - resetting
    Jul 25 08:14:57 thanatos /kernel: ata2: resetting devices .. done
    Jul 25 08:14:58 thanatos /kernel: acd0: read data overrun 63488/0

This causes xv to take about 15 minutes to pull up one of the 3MB
large pictures, and rendered the computer mostly useless during that
time.  Vitals from dmesg:

    FreeBSD 4.6-STABLE #12: Wed Jul  3 11:08:15 EDT 2002
        chris@thanatos.shenton.org:/usr/obj/usr/src/sys/Thanatos
    acd0: CD-RW <SONY CD-RW CRX140E> at ata2-slave PIO4

Is there a problem I can fix here? 

Thanks.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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