From owner-freebsd-multimedia Thu Jul 25 5:31:20 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E881A37B401 for ; Thu, 25 Jul 2002 05:31:14 -0700 (PDT) Received: from Thanatos.Shenton.Org (a3.ebbed1.client.atlantech.net [209.190.235.163]) by mx1.FreeBSD.org (Postfix) with SMTP id DB68243E42 for ; Thu, 25 Jul 2002 05:31:13 -0700 (PDT) (envelope-from chris@Shenton.Org) Received: (qmail 9273 invoked by uid 1000); 25 Jul 2002 12:31:12 -0000 To: questions@freebsd.org, multimedia@freebsd.org Subject: PhotoCD: ata/acd mount issue, data overrun with lockup From: Chris Shenton Date: 25 Jul 2002 08:31:12 -0400 Message-ID: <87d6tcgfan.fsf@thanatos.shenton.org> Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 at ata2-slave PIO4 Is there a problem I can fix here? Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message