From owner-freebsd-current@FreeBSD.ORG Sun Nov 11 15:26:20 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8EBF16A419 for ; Sun, 11 Nov 2007 15:26:20 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.freebsd.org (Postfix) with ESMTP id 449C813C4B5 for ; Sun, 11 Nov 2007 15:26:20 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id DF1A83EA107 for ; Sun, 11 Nov 2007 16:26:00 +0100 (CET) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g19.free.fr (Postfix) with ESMTP id 9F13E3EA0F6 for ; Sun, 11 Nov 2007 16:26:00 +0100 (CET) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.14.0/8.14.0) with ESMTP id lABFOKDS021671; Sun, 11 Nov 2007 16:24:21 +0100 (CET) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Sun, 11 Nov 2007 16:24:13 +0100 User-Agent: KMail/1.9.7 References: <47326FB8.50602@fusiongol.com> <4732E7C2.3030403@lxnt.info> <4736DC08.3030809@deepcore.dk> In-Reply-To: <4736DC08.3030809@deepcore.dk> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200711111624.14774.thierry@herbelot.com> Cc: Nathan Butcher , Alexander Sabourenkov , =?iso-8859-15?q?S=F8ren_Schmidt?= Subject: Re: Remaining SATA (and other) issues TAKE 2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 15:26:20 -0000 Le Sunday 11 November 2007, Søren Schmidt a écrit : > Hi All > > Alexander found the bug causing the data to be offset wrongly in my last > patch, this new one should fix that so we dont get disappearing nodes > etc, sorry about that :) > > Please apply to clean releng_7 sources. > > Let me know how it turns out. > > -Søren Hello Søren, I'm glad to report initial good results from the TAKE 2 patch : on a machine with an older "Promise PDC40518 SATA150" controller, I have installed a kernel built from a patched, recent RELENG_7 source tree (userland is from BETA1 iso image). the kernel boots correctly and finds the connected disks : ad6: 238475MB at ata3-master SATA150 ad8: 238475MB at ata4-master SATA150 ad10: 238475MB at ata5-master SATA150 # mount -r -a # mount /dev/ad10s3a on / (ufs, local, read-only) devfs on /dev (devfs, local) /dev/ad10s3e on /tmp (ufs, local, read-only) /dev/ad10s3d on /var (ufs, local, read-only) /dev/ad10s3f on /usr (ufs, local, read-only) # uname -a FreeBSD 7.0-BETA2 FreeBSD 7.0-BETA2 #3: Sun Nov 11 14:24:35 UTC 2007 XXX@YYY:/usr/obj/usr/src/sys/GENERIC i386 a simple dd completes correctly : # dd if=/dev/ad10s3e of=/dev/null bs=1M 512+0 records in 512+0 records out 536870912 bytes transferred in 7.685747 secs (69852794 bytes/sec) # find /usr -name "*tes*" /usr/bin/ztest /usr/include/machine/privatespace.h .... # dump -0cf - /usr | wc -c DUMP: Date of this level 0 dump: Sun Nov 11 17:08:35 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/ad10s3f (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 120690 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 121428 tape blocks DUMP: finished in 23 seconds, throughput 5279 KBytes/sec DUMP: DUMP IS DONE 124334080 Thanks TfH