From owner-freebsd-sparc64@FreeBSD.ORG Wed Sep 9 00:32:21 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D345A106566B for ; Wed, 9 Sep 2009 00:32:21 +0000 (UTC) (envelope-from rjohanne@piper.hamline.edu) Received: from wnk.hamline.edu (wnk2.hamline.edu [138.192.246.27]) by mx1.freebsd.org (Postfix) with ESMTP id 927788FC0C for ; Wed, 9 Sep 2009 00:32:21 +0000 (UTC) Received: from wnk.hamline.edu (localhost.localdomain [127.0.0.1]) by wnk.hamline.edu (8.14.2/8.14.2) with ESMTP id n890UskH009461; Tue, 8 Sep 2009 19:30:54 -0500 Received: from localhost (rjohanne@localhost) by wnk.hamline.edu (8.14.2/8.14.2/Submit) with ESMTP id n890UroJ009458; Tue, 8 Sep 2009 19:30:54 -0500 Date: Tue, 8 Sep 2009 19:30:53 -0500 (CDT) From: R J X-X-Sender: rjohanne@wnk To: Marius Strobl In-Reply-To: <20090906182156.GA66161@alchemy.franken.de> Message-ID: References: <20090906182156.GA66161@alchemy.franken.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-sparc64@freebsd.org Subject: Re: sata pci cards in ultra 60 or blade 1000 (Update) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 00:32:22 -0000 Marius, I would like to say that thanks for fixing the ata-marvell driver for the SuperMicro Sata card on sparc64, atleast the blade 1000. Your patch has enabled the card to detect the disk drive and complete booting. Not only that, I was able to go all the way and create a new partition on the disk, newfs it, and mount it. I was able to copy 1.6gigs of data onto the partition, and was able to copy data from the partition to another directory within the same partition at a tune of about 40MB/s. Before that patch, the system was not able to complete booting. Out of curiosity, ofcourse, what does the patch do? Does it basically disable 64-bit and dma for the driver on sparc64? This is a PCI-X 133mhz card. It would be a dream to get half the band-width as it is in a 66mhz pci slot. Thanks, Robert. NOTE: Here's a brief output from stock iostat: note the numbers for ad0. tty ad0 da0 pass0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 39 31.99 1361 42.52 0.00 0 0.00 0.00 0 0.00 0 0 36 3 61 0 39 31.99 1372 42.86 0.00 0 0.00 0.00 0 0.00 0 0 38 3 59 0 39 31.98 1366 42.64 0.00 0 0.00 0.00 0 0.00 0 0 38 3 58 0 39 31.99 1386 43.29 0.00 0 0.00 0.00 0 0.00 0 0 38 4 58 0 39 31.99 1403 43.84 0.00 0 0.00 0.00 0 0.00 0 0 38 3 59 0 39 31.98 1343 41.94 0.00 0 0.00 0.00 0 0.00 0 0 37 3 60 0 39 31.99 1400 43.73 0.00 0 0.00 0.00 0 0.00 0 0 39 3 58 0 39 31.99 1359 42.46 0.00 0 0.00 0.00 0 0.00 0 0 38 3 60 0 39 31.98 1336 41.72 0.00 0 0.00 0.00 0 0.00 0 0 38 3 59 0 39 31.99 1378 43.05 0.00 0 0.00 0.00 0 0.00 0 0 38 2 60 0 39 31.99 1369 42.76 0.00 0 0.00 0.00 0 0.00 0 0 39 3 58 0 39 31.83 1286 39.96 12.50 2 0.02 0.00 0 0.00 0 0 40 3 57 0 39 31.88 1310 40.77 0.00 0 0.00 0.00 0 0.00 0 0 38 2 59 0 39 31.95 1262 39.36 0.00 0 0.00 0.00 0 0.00 0 0 45 2 52 On Sun, 6 Sep 2009, Marius Strobl wrote: > On Sat, Sep 05, 2009 at 05:50:17PM -0500, R J wrote: >> Hi all, >> I have upgraded the Os version on the blade 1000 to FreeBSD 8.0-BETA2. >> >> I am at a cross-road. I have Two sata controllers that are almost working. >> >> I just recently acquired a SUPERMICRO AOC-SAT2-MV8 64-bit PCI-X133MHz SATA >> Controller. This controller had the same behaviour as the Sil 3512 as >> explained in the attached email below from Jul 22, on ___FreeBSD 7.2___ >> Stable. Since the upgrade to 8.0-BETA2, I actually get the SuperMicro to >> see the attached Hitachi Disk Drive. The problem is that it doesn't >> complete the booting! It hangs just after printing the details to the SCSI >> boot/root disk, see SNIPPET. > > <...> > >> >> So, can any body help get this to boot to normal os, and then maybe with >> addition tweaks, I can the whole thing working. > > At a quick glance, atamarvell(4) is at least missing DMA > synchronisation of the work area and isn't fully endian > clean. You could try whether you get any further with > the following patch: > http://people.freebsd.org/~marius/ata-marvell.c.diff > But again, the fail-safe way to get SATA disks working > on sparc64 would be to use a controller driven by mpt(4) > rather than ata(4) as the latter really has a lot of > problems. > >> >> The other part of the cross-roads is the Sil 3512 development since my last >> email from Jul 22, but I would rather concentrate on the SuperMicro >> controller: But, if any body is curious, I now have the Sil 3512 show >> disks, and I can put partitions on the disk, and mount it. It seems if I >> put light activity on the disk, It works for a while; light activity being >> moving files (tar or cp) to the disk on the Sil 3512 at a rate slower than >> 5 or 6 MB/s. If that rate increases to past 6 or 7 MB/s, then I get a hard >> lock. The ata driver detaches the disk on the Sil 3512, and the only way >> to regain control is to do a hard reset/reboot. > > You should talk to mav@FreeBSD.org about problems with > siis(4). > > Marius > > reason=bad sender (\.de) > >