From owner-freebsd-stable@FreeBSD.ORG Fri Oct 10 17:11:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE4B71065689; Fri, 10 Oct 2008 17:11:31 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from unsam.edu.ar (mx.unsam.edu.ar [200.45.170.30]) by mx1.freebsd.org (Postfix) with ESMTP id B36FF8FC18; Fri, 10 Oct 2008 17:11:28 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from gama.iib.unsam.edu.ar by unsam.edu.ar (MDaemon.PRO.v8.1.1.R) with ESMTP id md50010993298.msg; Fri, 10 Oct 2008 14:12:45 -0300 Received: from gama.iib.unsam.edu.ar (localhost [127.0.0.1]) by gama.iib.unsam.edu.ar (8.14.2/8.14.2) with ESMTP id m9AHBIwI025436; Fri, 10 Oct 2008 14:11:18 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by gama.iib.unsam.edu.ar (8.14.2/8.14.2/Submit) id m9AHBHeU025435; Fri, 10 Oct 2008 14:11:17 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: gama.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Fri, 10 Oct 2008 14:11:17 -0300 From: Fernan Aguero To: John Baldwin Message-ID: <20081010171117.GC24278@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , John Baldwin , freebsd-stable@freebsd.org, d@delphij.net References: <520894aa0809301434h68b94628x54ec08fd48785feb@mail.gmail.com> <200810081412.10808.jhb@freebsd.org> <20081008203325.GD77374@iib.unsam.edu.ar> <200810081700.55729.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810081700.55729.jhb@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Processed: unsam-mail.unsam.edu.ar, Fri, 10 Oct 2008 14:12:45 -0300 (not processed: spam filter disabled) X-Return-Path: fernan@iib.unsam.edu.ar X-MDAV-Processed: unsam-mail.unsam.edu.ar, Fri, 10 Oct 2008 14:12:48 -0300 Cc: d@delphij.net, freebsd-stable@freebsd.org Subject: Re: [FreeBSD] Fix for ServerWorks HT1000 in upcoming 7.1? 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: Fri, 10 Oct 2008 17:11:31 -0000 > On Wednesday 08 October 2008 04:33:25 pm Fernan Aguero wrote: > > > On Wednesday 08 October 2008 06:15:15 am Fernan Aguero wrote: > > > > > Did anyone who can trigger the data corruption has tried John's patch > > > > > and let us know if it worked? > > > > > > > > Not yet. My problem is that it's not that easy ... (at least > > > > for me, but maybe I'm missing something). > > > > > > > > The main issue for me is that I don't have a spare box > > > > running 7.x. All my FreeBSD boxes are running 6.x > > > > > > > > I've tried to make a new 7.1-BETA bootable ISO from the > > > > patched sources (make release), but failed ... this is the > > > > first time I've ever attempted this, and it seems that you > > > > cannot do that from a 6.x box (I have a full CVS mirror of > > > > FreeBSD, and a fresh checkout of RELENG_7). > > > > > You can just grab the existing iso, > > > > OK > > > > > untar it into a directory, > > > > OK > > > > > build your own GENERIC kernel and replace the > > > /boot/kernel/kernel in the iso tree, > > > > Will I be able to do this using a 7.x checkout on a 6.x box? > > You can use 'make kernel-toolchain' followed by 'make buildkernel' on a 6.x > box to build a 7.x kernel though. > -- > John Baldwin John, thanks for the tip. I have now successfully gone through the process of making a new bootable CD using the ATA_HT1000 patched kernel. I have already done a minimal installation of FreeBSD-7.1-BETA onto the SC1435 PowerEdge box using this CD (BTW dmesg now shows the ad4 disk being recognized as SATA150 instead of giving a warning about a bad cable and recognizing it as an ATA drive). But I'm stuck at the last step ... > Just be sure that once you've installed the box, > you copy the updated kernel onto the box somehow before you > reboot from the > installer (you can use the fixit shell to help with this). I'm at the holographic emergency shell, and df(1) shows all the partitions in ad4s1 mounted under /mnt. So my idea is to cp boot/kernel/kernel /mnt/boot/kernel/ but when I do an ls(1) the /mnt directory appears to be empty ... However I'm unable to umount it! My recollection: $ df -h /dev/ad4s1a => /mnt /dev/ad4s1d => /mnt/tmp /dev/ad4s1e => /mnt/usr ... $ ls /mnt/boot boot: no such file or directory $ ls /mnt/ . .. $ umount /mnt device is busy I'm now downloading a 7.1-BETA-livefs ISO and I'll try next to boot the box with this CD to see if I can scp the kernel from another box ... but any other tip or suggestion is welcome. Fernan