From owner-freebsd-bugs Sat Dec 9 16: 0: 7 2000 From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 9 16:00:01 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A53D137B404 for ; Sat, 9 Dec 2000 16:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBA001009752; Sat, 9 Dec 2000 16:00:01 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 9 Dec 2000 16:00:01 -0800 (PST) Resent-Message-Id: <200012100000.eBA001009752@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, esoha@cisco.com Received: from esoha-dsl1.cisco.com (sj-isp-nat-pool-2.cisco.com [204.69.198.2]) by hub.freebsd.org (Postfix) with ESMTP id 6AE7537B400 for ; Sat, 9 Dec 2000 15:59:11 -0800 (PST) Received: (from eyal@localhost) by esoha-dsl1.cisco.com (8.11.1/8.11.1) id eB9NxAr00449; Sat, 9 Dec 2000 15:59:10 -0800 (PST) (envelope-from eyal) Message-Id: <200012092359.eB9NxAr00449@esoha-dsl1.cisco.com> Date: Sat, 9 Dec 2000 15:59:10 -0800 (PST) From: Eyal Soha Reply-To: esoha@cisco.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/23409: CD-RW driver fails unless CD in drive at boot up Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23409 >Category: kern >Synopsis: CD-RW driver fails unless CD in drive at boot up >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: Sat Dec 09 16:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Eyal Soha >Release: FreeBSD 4.2-STABLE i386 >Organization: Cisco Systems >Environment: PC running 4.2-STABLE with a Smart and Friendly CD-RW. Code cvsup'd Novemeber 2000. >Description: When booting, the CD-RW drive is not recognized unless there is a CD in the drive. Here's the tail end of dmesg after booting without a CD loaded in the drive: ad4: 8809MB [17898/16/63] at ata2-master UDMA66 ad5: 14594MB [29651/16/63] at ata2-slave UDMA66 ad7: 3098MB [6296/16/63] at ata3-slave WDMA2 ata3-master: timeout waiting for command=ef s=00 e=00 ata3-master: CDROM device - NO DRIVER! Mounting root from ufs:/dev/ad5s1a Here's the tail end of dmesg after booting with a CD loaded in the drive: ad4: 8809MB [17898/16/63] at ata2-master UDMA66 ad5: 14594MB [29651/16/63] at ata2-slave UDMA66 ad7: 3098MB [6296/16/63] at ata3-slave WDMA2 ata3-master: timeout waiting for command=ef s=00 e=00 acd0: CD-RW at ata3-master using BIOSPIO Mounting root from ufs:/dev/ad5s1a In the failure case, the drive is not mountable and unusable. In the case where the drive is recognized at boot up, the drive can be mounted if any CD is inserted and the drive works exactly as expected. I suspect that the timeout is normal, probably because the command is not recognized by the CD-RW. >How-To-Repeat: Make sure CD-RW has no CD in it. Reboot the system. >Fix: Boot the system while a CD is in the CD-RW drive. After bootup is complete, that CD may be removed or replaced by any CD. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message