From owner-freebsd-stable@FreeBSD.ORG Sun Nov 6 15:05:04 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A0AE16A41F for ; Sun, 6 Nov 2005 15:05:04 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BE6B43D46 for ; Sun, 6 Nov 2005 15:05:03 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so228319wxc for ; Sun, 06 Nov 2005 07:05:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U4kjzSqP66N5hGfpzuMT7fbsDsVFb7O/k9TnDXSufLTkJ6qVz+PZa4rSdP2nTwz2+k8wyqraf9es8mSSXAQ4VqgR3nZyZb9OxAmWSolm6z0NS4hy6xt2oMpLNLDalKB5dV2RBEMoWwZtPpswTbQuXK+fPpk3yjQtv2R+I1o3tZc= Received: by 10.70.44.6 with SMTP id r6mr3941343wxr; Sun, 06 Nov 2005 07:05:02 -0800 (PST) Received: by 10.70.9.10 with HTTP; Sun, 6 Nov 2005 07:05:02 -0800 (PST) Message-ID: <70e8236f0511060705h22f2d208w6768fbd0672dc60@mail.gmail.com> Date: Sun, 6 Nov 2005 15:05:02 +0000 From: Joao Barros To: freebsd-questions@freebsd.org, stable@freebsd.org In-Reply-To: <70e8236f0511050744w5820f255w66a44cce2c37a20e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <70e8236f0511050744w5820f255w66a44cce2c37a20e@mail.gmail.com> Cc: Subject: Re: Odd boot problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 15:05:04 -0000 On 11/5/05, Joao Barros wrote: > Hi, > > I needed to add an IDE disk to an already running SCSI booting machine > for testing. > Recently upgraded to 6.0 :) with the IDE disk connected to the > machine, although not mounted. > After a make kernel the machine boots fine but only if I have the IDE > disk connected. > Booting from the scsi disk I can clearly see it's trying to find the > load from the ide disk. > I tried 'atacontrol detach ata0' and reinstalling the kernel and tried > a bsdlabel -B da0 but I still get the error, boot message follows: > > F1 FreeBSD > > Default: F1 > > Invalid partition > Invalid partition > No /boot/loader > > FreeBSD/i386 boot > Default: 0:ad(0,a)/boot/kernel/kernel > boot: > > > I tried 0:da(0,a)/boot/kernel/kernel but still no go. > How can I fix this? > > > -- > Joao Barros > One more odd thing I noticed: With ad0 attached like as before this problem occurred I correctly see this at the loader: F1 FreeBSD F5 Drive 1 Drive 1 is a raid array on another controller. With ad0 disconnected and da0 being the boot drive I only see: F1 FreeBSD Considering that doing a make work && kernel with a ad0(which I guess BIOS will see as the new drive 0) attached after the initial system installation on da0 rendered booting from da0 unusable, I think something very wrong must be happening. The disk to consider writing any new boot information should be the one where / lives in, not disk 0 reported by the BIOS. Well, that's my view of it anyway... I'm really unable to restore booting capabilities to da0 so any hints are highly appreciated. -- Joao Barros