From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 15 17:50:06 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D043316A468 for ; Mon, 15 Oct 2007 17:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A60D913C45A for ; Mon, 15 Oct 2007 17:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9FHo1o6016960 for ; Mon, 15 Oct 2007 17:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9FHo1YV016959; Mon, 15 Oct 2007 17:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 15 Oct 2007 17:50:01 GMT Resent-Message-Id: <200710151750.l9FHo1YV016959@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Scott I. Remick" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1BB616A421 for ; Mon, 15 Oct 2007 17:43:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id BE93413C4A7 for ; Mon, 15 Oct 2007 17:43:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9FHhEx6004481 for ; Mon, 15 Oct 2007 17:43:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l9FHhEmb004480; Mon, 15 Oct 2007 17:43:14 GMT (envelope-from nobody) Message-Id: <200710151743.l9FHhEmb004480@www.freebsd.org> Date: Mon, 15 Oct 2007 17:43:14 GMT From: "Scott I. Remick" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/117215: Kernel errors accessing audio CDs w/ Samsung SATA CDRW/DVD drive X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2007 17:50:07 -0000 >Number: 117215 >Category: kern >Synopsis: Kernel errors accessing audio CDs w/ Samsung SATA CDRW/DVD drive >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 15 17:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Scott I. Remick >Release: 6-STABLE from 10/10/2007 >Organization: >Environment: FreeBSD desktop.sremick.net 6.2-STABLE FreeBSD 6.2-STABLE #5: Wed Oct 10 02:24:52 EDT 2007 scott@desktop.sremick.net:/usr/obj/usr/src/sys/SCOTT i386 Gnome 2.18.3 Asus P5B Deluxe motherboard Samsung SH-S183L DVD+RW SATA drive: acd0: DVDR at ata3-master SATA150 CD drive is connected to one of the Intel ICH8R SATA ports on the motherboard >Description: Data CDs (pressed and CD-Rs) work fine, but on this system I've had consistent troubles with audio CDs. Any task such as playing or ripping cause hangs that range from a few moments to several minutes. Usually even if the system returns to responsiveness, the application will not think there's a disc in the drive. From time to time it will recognize a disc (such as a CD player momentarily showing the CD and track info), but it will be brief and soon revert back to thinking the drive is empty. I have tried several audio CDs so it's not a problem with just one. Discs are free of scratches and other markings, and pre-date audio CD DRM that could be causing issues (purchased in the early 90s). /var/log/messages seems to hold the biggest clue. Immediately upon inserting an audio CD, the following errors start to be logged: Oct 14 21:32:27 desktop kernel: acd0: FAILURE - READ_BIG timed out Oct 14 21:33:03 desktop kernel: acd0: FAILURE - READ_BIG timed out Oct 14 21:33:39 desktop kernel: acd0: FAILURE - READ_BIG timed out Oct 14 21:34:52 desktop last message repeated 2 times Oct 14 21:34:52 desktop kernel: (cd0:ata3:0:0:0): cddone: got error 0x5 back These will repeat over and over, without launching any CD player/ripper (although I imagine Gnome might be trying to do something automatically on its own when an audio CD is inserted so that could be initiating it). Example user apps tried include Gnome CD Player, Sound Juicer, and Grip, although launching one of these isn't necessary to cause the errors shown in /var/log/messages. However, it is the attempted use of apps like these that trigger the unresponsive hangups. Full-permissions are being granted to cd0 and acd0: crw-rw-rw- 1 root operator 0, 130 Oct 13 17:29 /dev/cd0 crw-rw-rw- 1 root operator 0, 103 Oct 13 17:29 /dev/acd0 I tried upgrading the firmware on the Samsung drive from SB01 -> SB02 (latest) but that didn't improve things any. This sounds similar to kern/103602 but that one was supposedly fixed and MFCed. >How-To-Repeat: Build a system using a P5B Deluxe motherboard (others?) and hook up a Samsung SH-S183L DVD+RW SATA drive to one of the Intel ICH8R SATA ports. Install FreeBSD 6-STABLE with Gnome 2.18.3. Insert an audio CD and watch /var/log/messages >Fix: Unknown >Release-Note: >Audit-Trail: >Unformatted: