From owner-cvs-src@FreeBSD.ORG Sun Apr 13 15:31:26 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34B42106564A; Sun, 13 Apr 2008 15:31:26 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [IPv6:2001:770:10:300::86e2:510b]) by mx1.freebsd.org (Postfix) with SMTP id 896718FC17; Sun, 13 Apr 2008 15:31:24 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 13 Apr 2008 16:31:22 +0100 (BST) Date: Sun, 13 Apr 2008 16:31:22 +0100 From: David Malone To: Fabian Keil Message-ID: <20080413153122.GA12098@walton.maths.tcd.ie> References: <200804121721.m3CHLNqu095189@repoman.freebsd.org> <20080412230157.GC44768@alchemy.franken.de> <20080413164141.63091ef5@fabiankeil.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080413164141.63091ef5@fabiankeil.de> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, S?ren Schmidt Subject: Re: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.c ata-pci.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 15:31:26 -0000 On Sun, Apr 13, 2008 at 04:41:41PM +0200, Fabian Keil wrote: > On one of my i386 systems, ad1 (the disk with > the root partition) is no longer detected. I'm seeing something slightly different. Both disks are detected: ad0: DMA limited to UDMA33, device found non-ATA66 cable ad0: 78167MB at ata0-master UDMA33 ad1: DMA limited to UDMA33, device found non-ATA66 cable ad1: 78167MB at ata0-slave UDMA33 However, the partitions on the second disk are no longer detected. In fact, the bsdlabels for ad0s1 and ad1s1 now look suspiciously similar, and they shouldn't! Could some cross-wiring of GEOMs have happened? David. This is what the label should look like: # /dev/ad1s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 160086465 0 unused 0 0 # "raw" part, don't edit d: 20971520 16 4.2BSD 2048 16384 28528 This is what it looks like with a kernel from this weekend: sweetums# bsdlabel ad1s1 # /dev/ad1s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 0 4.2BSD 0 0 0 b: 8333824 524288 swap c: 160071597 0 unused 0 0 # "raw" part, don't edit d: 524288 8858112 4.2BSD 0 0 0 e: 524288 9382400 4.2BSD 0 0 0 f: 20971520 9906688 4.2BSD 0 0 0 g: 129193389 30878208 4.2BSD 2048 16384 28528 This is what the label looks like from ad0s1 sweetums# bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 0 4.2BSD 0 0 0 b: 8333824 524288 swap c: 160071597 0 unused 0 0 # "raw" part, don't edit d: 524288 8858112 4.2BSD 0 0 0 e: 524288 9382400 4.2BSD 0 0 0 f: 20971520 9906688 4.2BSD 0 0 0 g: 129193389 30878208 4.2BSD 2048 16384 28528