From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 24 16:19:20 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 2D72B10656A3 for ; Thu, 24 Sep 2009 16:19:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id A27788FC1F for ; Thu, 24 Sep 2009 16:19:19 +0000 (UTC) Received: by bwz27 with SMTP id 27so1364004bwz.43 for ; Thu, 24 Sep 2009 09:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=c04oGQIq2BVhIAgYPNE8ptIe9tb1fJOY7Qc5DoCOtYA=; b=Od1MBssjO2/OdGVYP93ReeQP17QMN1KaBQgh2jY/LtMuBnfaCXAeHL3YX1hmtRjnUG SltJVT4xGLp3qbV4TjSpr6VhJWhnDsTBgl3TA9nfmIsemEZcHtu/nvD0KrU0n7v21Qh5 tISlOYn1B+rokKXsTvYTZRy5eqMX5yskbBers= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=CK/3AkFAe1fquknMy+wREWMbWc2dlxtXM00S00+o7H3cQ30E0CfOkx4yKnY8NxH5Ce csJamTAhohW3m+ZKKL1nT3Ws9eFLbkEacGOONgZJQCSdQUe1lOw0V5z+BT4affxc5WJT jo22HDaR82TduqFgr9iwKkmiaaLqjkYFRRahY= Received: by 10.204.16.88 with SMTP id n24mr3174600bka.52.1253807905580; Thu, 24 Sep 2009 08:58:25 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id e17sm1337349fke.2.2009.09.24.08.58.24 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Sep 2009 08:58:25 -0700 (PDT) Sender: mavbsd Message-ID: <4ABB971E.5040709@FreeBSD.org> Date: Thu, 24 Sep 2009 18:58:22 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20090901) MIME-Version: 1.0 To: R J References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@FreeBSD.org Subject: Re: Sil3512 (sii, SATA) driver on Sun Ultra60/blade 1000 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: Thu, 24 Sep 2009 16:19:20 -0000 Hi. R J wrote: > I have been referred to you by Marius regarding the sii (Silicon Image) > ata driver on sparc64. The card I have is a two-port SATA card with the > Sil3512 chipset. > > You have perhaps seen some of my communication to the freebsd-sparc list > earlier, but briefly, here's the problem I have had with it. > > UNDER REL_ENG 7: > > I have had a silicon image Sil 3512 in the ultra 60, and attached two > disk drives. The drives are seen by the ata driver. I was able to lay > a ufs file system on them, and even copied files onto the drives, but > the system was not stable. I.e, I would copy files to the sata hard > drives for a few minutes before it would hang and remain that way till I > did a hard reset (power-off). Usually there would be some message about > the device detaching from the system, and the /dev/ad* entries disappear. > > I then take the Sil 3512 out of the ultra60 and put it in the Sun blade > 1000, and attach the disk drives; upon booting, the drives are not seen > by the ata driver, although the controller is seen. Remember, the > drives are seen with the same card in the ultra60. > > REBUILD TO 8.0 BETA on the Sun Blade 1000: > > After I upgraded the Sun blade 1000 to 8.0 BETA, the ata driver could > now see the disk attached to the Sil3512 controller, but the behaviour > remains pretty much like on the Ultra60 under 7 stable if I put any i/o > on the disks. > > I have worked with Marius to get the ata-marvell driver sane for > big-endian sparc64, and that driver now works on the Sun blade 1000 > under 8.0 BETA. Before Marius fixed that driver, it was exhibiting the > same behaviour as the Sil3512 under 8.0 Beta; i.e, the controller is > seen, but no drives are seen, and the system wouldn't even finish > booting if disks were attached to the controller. > > Is it possible to for you to take a look at the Sil ata driver again > in-light of this information? I have only tested SiI3114 chip from this family and only on i386/amd64. It worked fine for me. Unfortunately, I have neither Sil3512 controller nor sparc64 hardware for testing. Driver mentions about some errata for this chip, but I am not aware about it and have no card to test it. Have you tried newer SiI3124/3132 cards family with new siis(4) or old ata(4) driver? -- Alexander Motin