From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 03:00:00 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 738A416A4BF for ; Tue, 9 Sep 2003 03:00:00 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C97743FE1 for ; Tue, 9 Sep 2003 02:59:58 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.9/8.12.9) with ESMTP id h899xuIo054561; Tue, 9 Sep 2003 11:59:56 +0200 (CEST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.9/8.12.9/Submit) id h899xtFs054560; Tue, 9 Sep 2003 11:59:55 +0200 (CEST) From: Soren Schmidt Message-Id: <200309090959.h899xtFs054560@spider.deepcore.dk> In-Reply-To: <1063099334.700.6.camel@shoeserv.freebsd> To: Stefan Ehmann Date: Tue, 9 Sep 2003 11:59:55 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: freebsd-current@FreeBSD.ORG Subject: Re: ATAng problem: drive gets no longer detected X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 10:00:00 -0000 It seems Stefan Ehmann wrote: > After tonight's cvsup and kernel build my primary slave hard disk gets > no longer detected. > > This is due to the latest update to src/sys/dev/ata/ata-lowlevel.c. When > i revert from version 1.10 to 1.9 everything is fine again. > > So much about the "Hopefully this doesn't loose any real ATA disks..." yeah yeah, you win some you loose some.... > Relevant part of dmesg with ata-lowlevel.c 1.10: > > GEOM: create disk ad0 dp=0xc413d470 > ad0: 58644MB [119150/16/63] at ata0-master UDMA66 > acd0: CDRW at ata1-master PIO3 > acd1: DVDROM at ata1-slave PIO4 > > Relevant part of dmesg with ata-lovel.c 1.9 > > GEOM: create disk ad0 dp=0xc413d470 > ad0: 58644MB [119150/16/63] at ata0-master UDMA66 > GEOM: create disk ad1 dp=0xc413d270 > ad1: 38166MB [77545/16/63] at ata0-slave UDMA66 > acd0: CDRW at ata1-master PIO3 > acd1: DVDROM at ata1-slave PIO4 Could I have the dmesg from a verbose boot from both please ? the above doesn't tell anything about why it fails... You could also change the #if 0 to #if 1 in ata-lowlevel.c::ata_reset() as that should bring your drive back (and alot of phantom drives on other systems)... -Søren