From owner-freebsd-questions@FreeBSD.ORG Tue Apr 6 09:37:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59A0E16A4CE for ; Tue, 6 Apr 2004 09:37:06 -0700 (PDT) Received: from lurch.noc.sgi.net (lurch.noc.sgi.net [208.40.181.204]) by mx1.FreeBSD.org (Postfix) with SMTP id B373F43D2F for ; Tue, 6 Apr 2004 09:37:05 -0700 (PDT) (envelope-from streiner@stargate.net) Received: (qmail 8738 invoked by uid 100); 6 Apr 2004 16:28:12 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Apr 2004 16:28:12 -0000 Date: Tue, 6 Apr 2004 12:28:12 -0400 (EDT) From: "Streiner, Justin" X-X-Sender: streiner@lurch To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: READ_BIG errors on reading data from CD drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 16:37:06 -0000 All: I've tried mount and mount_cd9660 in my testing of this issue and I run into the same problems. I've also tried trying my internal CD drive (Samsung 140B I borrowed out of another machine) onto my other controller (ultra ATA133), with no improvements. In fact when I did that I could usually get the kernel to panic while copying data from a CD. I'm really getting to the point where I'm at a loss to explain and fix this issue. Could it be a DMA issue of some sort? The motherboard is an older PPRO-MMX I salvaged out of another machine. Maybe some sort of IDE bus contention issue? I doubt it since there's not much else on that bus - a small hard drive and a 3.5" floppy drive. Any insight anyone could offer would be greatly appreciated. jms ---------- Forwarded message ---------- Date: Sat, 27 Mar 2004 16:29:39 -0500 (EST) From: "Streiner, Justin" To: freebsd-questions@freebsd.org Subject: data overrun from CD / USB cd mount errors - freebsd 5.2.1 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"