From owner-freebsd-drivers@FreeBSD.ORG Wed May 25 22:07:18 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E0221065672 for ; Wed, 25 May 2011 22:07:18 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A83EF8FC13 for ; Wed, 25 May 2011 22:07:17 +0000 (UTC) Received: by fxm11 with SMTP id 11so267525fxm.13 for ; Wed, 25 May 2011 15:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature: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=4cgRPz8oATxCU3739wTPyrlAeKKtkf7or3pTlBUzS1c=; b=ZzyhhqsxHhR2MK3iyKY4pR67O1YH3ZqiewWSSX3+wKGb9p0D2ImrDjs04BaXEH+d2i TFQTH6OuAwtc+ekDlE0X21yHMkLquYluD7Zc1UVayJ7e555HZt8QpxD+TF8vyJjeKhLN xZ1dJHJ+HbGDWrl2rQcQhIF+i15N6zOBbuv0A= 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=GZHkTtqvTCToimpjYhUg9USDUsFF0/2FCD90228dDH6muF9j3MpcBDqLZHwrwTn0wI h62dWUJUBHMclSLNqPNg5rn8REQOreAe8HK1EcGQNTBC/LQ9/qFnHKn801nXfIeZVCel bXZ6fgGURimTF4hWoAiY90hp1tsqcPGeoLBmM= Received: by 10.223.75.146 with SMTP id y18mr116970faj.61.1306361236283; Wed, 25 May 2011 15:07:16 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id m26sm30701fab.34.2011.05.25.15.07.14 (version=SSLv3 cipher=OTHER); Wed, 25 May 2011 15:07:15 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DDD7D7B.1000100@FreeBSD.org> Date: Thu, 26 May 2011 01:06:51 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Jim Bryant References: <20110515162230.227510@gmx.com> <4DDD5739.60600@gmail.com> In-Reply-To: <4DDD5739.60600@gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org, Dieter BSD Subject: Re: Siis(4) does not play well with others! :-( X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2011 22:07:18 -0000 Jim Bryant wrote: > you have port multiplier working on that? > > i have a generic board (ebay from hong kong) that looks just like the > siis reference board for that chip (1x pcie), and it IDs during > probe/attach as not having port multiplier capability. > > does this capability only show if there is actually a port multiplier > attached? i would have thought that it would show as a capability even > without. siis(4) hardware always supports port multipliers and FIS-based switching. > also, i have a couple of WD Green (EADS) 2TB drives attached to mine > without problem on an intel dq45ek mini-itx mobo (Core2 Duo E8200). > > i have an interest in the above question, as the goal for the mentioned > box is to maintain it as the houshold server, and it's running out of > space with six 2TB drives. > > on a side note, is there a way to do the equiv of atacontrol spindown on > ahci? i get error messages on that command at startup now after > switching to ahci a couple of months ago. this server will ultimately > have 15 drives in it, and i really want spindown capability in ahci. camcontrol idle/standby/sleep ... > Dieter BSD wrote: >>> For now, I can only say that you are still running not the latest driver >>> version. Latest have some delays reduced and report connect time in >>> "us". May be some more of remaining could be replaced with interrupts >>> (specifically on siis hardware), but I need to think and experiment more >>> with it. >>> >> >> I was able to swap cables and put that disk on the JMB363 controller. >> (directly, no port multiplier) I now just get read errors from the disk >> and a "error = 5" message from g_vfs_done(), but no messages from ahci(4) >> at all, and no other problems. >> >> So much for testing the disk before putting it into service. I read the >> entire disk, then wrote the entire disk with 0x00, 0xff, 0x55 and 0xaa, >> reading it back each time into hexdump -C. Put it into service, and >> after 82 GB of real data (on a 2 TB drive) it fails. grumble >> >> My todo list: >> >> 1) Build new kernel with the latest siis(4) and achi(4) bits. >> >> 2) Test if a read error causes achi(4) to lock out Ethernet for too long. >> >> 3) Test with achi(4) with and without a port multiplier. >> >> 3) Test with siis(4) with and without a port multiplier. >> >> >>> Generally, the situation when the system doesn't reboot with the reset >>> button doesn't smell good to me. >>> >> >> FreeBSD does something that disables the soft power switch. I don't >> recall if I've had problems with reset before. Stopping the PM LEDS >> blinking but not doing a full reset seems pretty odd. Something >> important must not be getting reset. I thought Tyan's mainboards were >> supposed to be "tier 1". :-( >> >> I'm still puzzled that one Ethernet responded to ping but another did >> not. -- Alexander Motin