From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 15:48:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1634C16A417 for ; Thu, 8 Nov 2007 15:48:55 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB9013C48E for ; Thu, 8 Nov 2007 15:48:54 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:56836 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Iq9ce-00059p-9J for freebsd-questions@freebsd.org; Thu, 08 Nov 2007 16:48:49 +0100 Received: (qmail 4151 invoked from network); 8 Nov 2007 16:48:38 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 8 Nov 2007 16:48:38 +0100 Received: (qmail 955 invoked by uid 1001); 8 Nov 2007 16:48:38 +0100 Date: Thu, 8 Nov 2007 16:48:38 +0100 From: Erik Trulsson To: Jay Aikat Message-ID: <20071108154838.GA659@owl.midgard.homeip.net> Mail-Followup-To: Jay Aikat , freebsd-questions@freebsd.org References: <473329C6.1050505@email.unc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <473329C6.1050505@email.unc.edu> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1Iq9ce-00059p-9J. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Iq9ce-00059p-9J acb82b085dc545510609acbacdd5196b Cc: freebsd-questions@freebsd.org Subject: Re: 6.1 install and multiple drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 15:48:55 -0000 On Thu, Nov 08, 2007 at 10:22:46AM -0500, Jay Aikat wrote: > I am trying to install FreeBSD 6.1 on a Dell Poweredge 2900 which has an > Intel dual-core processor, and 8 drives on a SATA backplane, connected to a > PERC 5i controller. They are setup as just a bunch of disks, and not > raided. > > Here's the issue: > -- 6.2 installs fine (but I need 6.1 for some hardware we installed on this > machine that only works with 6.1, not 6.2) > > -- 6.1 install fails with a vm-fault error after starting to write to disk0 > (if all 8 drives have been fdisked and labeled). > > -- 6.1 installs fine if I fdisk and label only the drive0 (mfid0) > > But after installing 6.1 using only one drive, if I then run sysinstall to > add more drives, fdisk works fine, but when I run label, and then "write" > it crashes, and then I can't even boot into the disk0 b/c its partitions > have become corrupted. > > What seems to be happening is that "label" somehow seems to be duplicating > the /var partition in disk0 into the disk1 partition. Then if I add disk2, > label seems to be duplicating the disk1 partition onto disk2. (this > duplication problem I discover when I try to label outside of sysinstall). > > Has anyone seen this bizarre behavior - seems like a bug in bsdlabel in 6.1 > - not sure. Any help or suggestions are highly appreciated. Thanks, > --jay. > I think I remember seeing a similar bugreport in the past. If I remember correctly it was a bug in the driver for the disk controller. The commit entry quoted below was likely the one which fixed the problem (it was merged to 6-STABLE a couple of weeks later.) As you can see from the date it was made after 6.1 was out, but before 6.2 was out, so it is not surprising 6.2 works while 6.1 does not. ps 2006-06-20 22:41:44 UTC FreeBSD src repository Modified files: sys/dev/mfi mfi.c mfi_disk.c mfi_pci.c mfireg.h mfivar.h Log: Instead of using scsi probes to do device discovery, use the firmware commands to grab the device listing. This resolves issues using multiple volumes, where each volume was actually internally pointing to target 0. Revision Changes Path 1.11 +77 -202 src/sys/dev/mfi/mfi.c 1.4 +3 -9 src/sys/dev/mfi/mfi_disk.c 1.3 +1 -0 src/sys/dev/mfi/mfi_pci.c 1.3 +96 -0 src/sys/dev/mfi/mfireg.h 1.3 +1 -3 src/sys/dev/mfi/mfivar.h -- Erik Trulsson ertr1013@student.uu.se