From owner-freebsd-current@FreeBSD.ORG Sat Sep 13 14:57:58 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDAB316A4BF for ; Sat, 13 Sep 2003 14:57:58 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2953143FB1 for ; Sat, 13 Sep 2003 14:57:58 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h8DLvSDm019556; Sat, 13 Sep 2003 17:57:28 -0400 (EDT) Date: Sat, 13 Sep 2003 17:57:28 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Vladimir Kushnir In-Reply-To: <20030914002955.Y24139@kushnir1.kiev.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: scsi_cd or atapicam crash in current. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 21:57:59 -0000 On Sun, 14 Sep 2003, Vladimir Kushnir wrote: > Hello, > here camcontrol still shows bogus numbers when there's no CD: > > #camcontrol cmd cd0 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4" > -791621424 -791621424 > > No boot crashes, though, only the usual ones due to cdrecord usage > which nobody seem to care about :-( I too have problems similar to this. On one box, the kernel panics (see message posted Sep 10, subject "Panic with ATAng + atapicam"). With or without atapicam, a CD is detected as being present when it is not. On another box (Dell Inspiron 4150 laptop), an atapicam kernel doesn't crash, but I still get the same bogus CD detection: ad0: 28615MB [58140/16/63] at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [3737169375 x 3737169374 byte records] I also get the 15-20 second delay which other folks started to see. camcontrol on this box gives the same results that you have: # camcontrol cmd cd0 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4" -791621424 -791621424 I think it is the ATAPI code; removing atapicam from the kernel still shows false CD detection. -- Dan Eischen