From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 1 19:13:47 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64066106566C for ; Tue, 1 Dec 2009 19:13:47 +0000 (UTC) (envelope-from michael@rancid.berkeley.edu) Received: from malcolm.berkeley.edu (malcolm.Berkeley.EDU [IPv6:2607:f140:ffff:ffff::239]) by mx1.freebsd.org (Postfix) with ESMTP id 4378E8FC15 for ; Tue, 1 Dec 2009 19:13:47 +0000 (UTC) Received: from sonic.net.berkeley.edu (sonic.Net.Berkeley.EDU [IPv6:2607:f140:1:8000:2e0:81ff:fe2d:ee19]) (authenticated bits=0) by malcolm.berkeley.edu (8.14.3/8.13.8m1) with ESMTP id nB1JDiXM087909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Dec 2009 11:13:45 -0800 (PST) (envelope-from michael@rancid.berkeley.edu) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.2 at malcolm.berkeley.edu Message-ID: <4B156AE3.4070303@rancid.berkeley.edu> Date: Tue, 01 Dec 2009 11:13:39 -0800 From: Michael Sinatra User-Agent: Thunderbird 2.0.0.23 (X11/20090909) MIME-Version: 1.0 To: Konstantin Belov References: <200912011727.nB1HR6AA023203@www.freebsd.org> In-Reply-To: <200912011727.nB1HR6AA023203@www.freebsd.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (malcolm.berkeley.edu [IPv6:2607:f140:ffff:ffff::239]); Tue, 01 Dec 2009 11:13:45 -0800 (PST) Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/141060: Can't install 8.0-RELEASE on the server where 7.2 works fine X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2009 19:13:47 -0000 On 12/01/09 09:27, Konstantin Belov wrote: > Can not install 8.0-RELEASE on the server where 7.2 were installed > successfully. After creating fdisk slices and FSs the installator > tries to do newfs and says "Can not find device node /dev/aacd0s1a" > (but it just was created). Tried to install not on the ARRAY, but on > SATA HDD attached directrly to motherboard controller, but had the > same message. Configuration: M/B Supermicro X7DBE-X, Intel X5410, > Adaptec 2820SA (PCI-X). > > Next: Tried to upgrade successfully installed 7.2 to 8.0. After > rebooting with new kernel it can not find root FS and I can not find > it too in the list of possible mount devices (i.e. no aacd0s1a, just > aacd0a). But entering to the loader prompt and making lsdev shows all > FSs and SWAP on the disk where it was created (disk D). >> How-To-Repeat: > Try to install on the specefied configuration. >> Fix: > Could not do anything. Finally leave 7.2 version on the server. Hope > I'm not alone with such a trouble and you will find the problem and > make a fix. There may be stale BSD disklabels from an older version on the disks. Assuming you want to completely wipe out your 7.2 installation, you may need to dd a bunch of zeros onto the first few sectors of the disk so that 8.0 can properly re-create the partition. If you do want to keep the existing partitions, then you may be able to do: dd if=/dev/zero of=/dev/aacd0s1a bs=512 count=1 seek=1 That has usually solved my 7.2 -> 8.0 issues that have the same symptoms as you're describing. BE CAREFUL and make sure you have backups of everything you want to save! Note that this is related to the switch from GEOM_PART_BSD to GEOM_PART_GPT in the kernel. You could also build a custom kernel with GEOM_PART_BSD instead of GEOM_PART_GPT, but my understanding is that support for the former will go away soon. michael