From owner-freebsd-i386@FreeBSD.ORG Wed Mar 24 16:52:09 2004 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2395E16A4CE for ; Wed, 24 Mar 2004 16:52:09 -0800 (PST) Received: from lurch.noc.sgi.net (lurch.noc.sgi.net [208.40.181.204]) by mx1.FreeBSD.org (Postfix) with SMTP id D3F3D43D41 for ; Wed, 24 Mar 2004 16:52:08 -0800 (PST) (envelope-from streiner@stargate.net) Received: (qmail 15090 invoked by uid 100); 25 Mar 2004 00:50:30 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Mar 2004 00:50:30 -0000 Date: Wed, 24 Mar 2004 19:50:30 -0500 (EST) From: "Streiner, Justin" X-X-Sender: streiner@lurch To: freebsd-i386@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: data overrun from CD / USB cd mount errors - freebsd 5.2.1 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 00:52:09 -0000 I recently installed freebsd 5.2.1 from CD images that I burned on another machine. The CD drive in my new machine worked fine to install the OS and things are for the most part up and running now. The issue I'm having now is in copying more data I have burned on CDs onto the new system. Sometimes when I copy a CD, I start getting the following errors: Mar 22 20:25:33 whammy kernel: acd0: FAILURE - READ_BIG status=51 sensekey=MEDIUM ERROR error=4 Mar 23 15:47:27 whammy kernel: acd0: WARNING - READ_BIG read data overrun 4096>2048 Mar 23 15:47:27 whammy kernel: acd0: WARNING - READ_BIG read data overrun 2048>0 The files copies to the hard drive are usually blantantly incomplete or corrupted (file sizes don't match), and in many cases when the file sizes do match, an MD5 checksum comparison between the original file on the CD and the file that was copied to the hard drive does not. This is a pretty normal ATAPI CDROM. dmesg reports: acd0: CDROM at ata1-master PIO4 Other posts I've read over on similar subjects suggest that perhaps the DMA mode for this CDROM needs to be tweaked. Could this be the case here? I also have an external USB CD burner that appears to be at least partially supported by my system, as reported by dmesg: Mar 22 20:09:05 whammy kernel: GEOM: create disk cd0 dp=0xc1cec600 Mar 22 20:09:05 whammy kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Mar 22 20:09:05 whammy kernel: cd0: Removable CD-ROM SCSI-0 device Mar 22 20:09:05 whammy kernel: cd0: 1.000MB/s transfers Mar 22 20:09:05 whammy kernel: cd0: cd present [358497 x 2048 byte records] When I try to mount this device, I get the following errors: umass0: Unsupported ATAPI command 0x43 I don't think the block device for /dev/cd0 is set up properly, but I can't seem to build a new one with mknod. crw-r----- 1 root operator 4, 34 Mar 22 20:08 /dev/cd0 Any ideas what may be going on here / how I can fix these issues? jms