From owner-freebsd-hardware@FreeBSD.ORG Wed Apr 13 05:48:21 2011 Return-Path: Delivered-To: freebsd-hardware@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96ACC106564A; Wed, 13 Apr 2011 05:48:21 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 701D78FC08; Wed, 13 Apr 2011 05:48:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3D5mLpK096347; Wed, 13 Apr 2011 05:48:21 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3D5mLDZ096342; Wed, 13 Apr 2011 05:48:21 GMT (envelope-from remko) Date: Wed, 13 Apr 2011 05:48:21 GMT Message-Id: <201104130548.p3D5mLDZ096342@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-fs@FreeBSD.org, freebsd-hardware@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/156241: [mfi] 'zfs send' does not prevents disks to suspend if no other activity X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 05:48:21 -0000 Old Synopsis: [zfs] 'zfs send' does not prevents disks to suspend if no other activity New Synopsis: [mfi] 'zfs send' does not prevents disks to suspend if no other activity Responsible-Changed-From-To: freebsd-fs->freebsd-hardware Responsible-Changed-By: remko Responsible-Changed-When: Wed Apr 13 05:47:55 UTC 2011 Responsible-Changed-Why: Pawel says this might be hardware related, assign it to that group and tag the ticket as [mfi]. http://www.freebsd.org/cgi/query-pr.cgi?pr=156241 From owner-freebsd-hardware@FreeBSD.ORG Wed Apr 13 16:14:25 2011 Return-Path: Delivered-To: freebsd-hardware@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93A3D1065673 for ; Wed, 13 Apr 2011 16:14:25 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB468FC0A for ; Wed, 13 Apr 2011 16:14:24 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA20292 for ; Wed, 13 Apr 2011 19:14:22 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DA5CBDE.5040405@FreeBSD.org> Date: Wed, 13 Apr 2011 19:14:22 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-hardware@FreeBSD.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: couple more vim gems for C/FreeBSD hackers X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 16:14:25 -0000 This is for your .vimrc. Picked from some google search results. " highlight too long lines autocmd BufWinEnter *.c let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) autocmd BufWinLeave *.c call matchdelete(w:m2) " permanently highlight 80th column " set colorcolumn=80 " highlight trailing whitespace and tabs after spaces in leading whitespace highlight ExtraWhitespace ctermbg=red guibg=red autocmd BufWinEnter *.c match ExtraWhitespace /^\s* \|\s\+$/ autocmd InsertEnter *.c match ExtraWhitespace /^\s* \|\s\+\%#\@ Delivered-To: freebsd-hardware@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E4A3106566B for ; Fri, 15 Apr 2011 18:17:27 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id E8D448FC13 for ; Fri, 15 Apr 2011 18:17:26 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id p3FIHAxf088871; Fri, 15 Apr 2011 20:17:25 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p3FIHAaT088870; Fri, 15 Apr 2011 20:17:10 +0200 (CEST) (envelope-from olli) Date: Fri, 15 Apr 2011 20:17:10 +0200 (CEST) Message-Id: <201104151817.p3FIHAaT088870@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hardware@FreeBSD.ORG X-Newsgroups: list.freebsd-hardware User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Fri, 15 Apr 2011 20:17:25 +0200 (CEST) Cc: Subject: Problem with SATA-600 (a.k.a. SATA 3) disk X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 18:17:27 -0000 I've bought a new HDD that supports SATA-600. I've put it into an external eSATA case and connected it to the eSATA port of my PC. That port supports SATA-600, too. It is recognized thusly: ada2 at ahcich3 bus 0 scbus3 target 0 lun 0 ada2: ATA-8 SATA 3.x device ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) However, when trying to access the disk, I get these: ahcich3: Timeout on slot 0 ahcich3: is 04000000 cs 00000000 ss 00000001 rs 00000001 tfd 50 serr 00480400 ahcich3: device is not ready (timeout 15000ms) tfd = 00000080 ahcich3: Timeout on slot 0 ahcich3: is 04000000 cs 00000001 ss 00000000 rs 00000001 tfd 80 serr 00080400 ahcich3: device is not ready (timeout 15000ms) tfd = 00000080 ahcich3: Timeout on slot 0 ahcich3: is 04000000 cs 00000001 ss 00000000 rs 00000001 tfd 80 serr 00080400 ahcich3: device is not ready (timeout 15000ms) tfd = 00000080 (ada2:ahcich3:0:0:0): lost device I suspect that is because the external enclosure supports only SATA-300 (a.k.a. SATA 2). Both the controller and the disk support SATA-600, so I guess that FreeBSD tries to use SATA-600, which fails because the external case doesn't support that. Is there a way to force FreeBSD to use SATA-300 only? I've searched the mailing lists, but without results. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "We will perhaps eventually be writing only small modules which are identi- fied by name as they are used to build larger ones, so that devices like indentation, rather than delimiters, might become feasible for expressing local structure in the source language." -- Donald E. Knuth, 1974 From owner-freebsd-hardware@FreeBSD.ORG Sat Apr 16 01:08:16 2011 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B90A106566B for ; Sat, 16 Apr 2011 01:08:16 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-mb01.mx.aol.com (imr-mb01.mx.aol.com [64.12.207.164]) by mx1.freebsd.org (Postfix) with ESMTP id 0BDF08FC08 for ; Sat, 16 Apr 2011 01:08:15 +0000 (UTC) Received: from imo-ma02.mx.aol.com (imo-ma02.mx.aol.com [64.12.78.137]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id p3G18FPD030788 for ; Fri, 15 Apr 2011 21:08:15 -0400 Received: from dieterbsd@engineer.com by imo-ma02.mx.aol.com (mail_out_v42.9.) id n.d16.67df2224 (45481) for ; Fri, 15 Apr 2011 21:08:11 -0400 (EDT) Received: from smtprly-md02.mx.aol.com (smtprly-md02.mx.aol.com [64.12.143.155]) by cia-mc06.mx.aol.com (v129.9) with ESMTP id MAILCIAMC068-d41f4da8ebf7bd; Fri, 15 Apr 2011 21:08:10 -0400 Received: from web-mmc-d04 (web-mmc-d04.sim.aol.com [205.188.103.94]) by smtprly-md02.mx.aol.com (v129.9) with ESMTP id MAILSMTPRLYMD025-d41f4da8ebf7bd; Fri, 15 Apr 2011 21:08:07 -0400 To: freebsd-hardware@freebsd.org Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Apr 2011 21:08:07 -0400 X-MB-Message-Source: WebUI X-AOL-IP: 67.206.165.134 X-MB-Message-Type: User MIME-Version: 1.0 From: dieterbsd@engineer.com Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: Mail.com Webmail 33540-STANDARD Received: from 67.206.165.134 by web-mmc-d04.sysops.aol.com (205.188.103.94) with HTTP (WebMailUI); Fri, 15 Apr 2011 21:08:07 -0400 Message-Id: <8CDC9E9E1563B60-176C-8345@web-mmc-d04.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Subject: Re: Problem with SATA-600 (a.k.a. SATA 3) disk X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 01:08:16 -0000 Oliver Fromme writes: > ahcich3: Timeout on slot 0 > Is there a way to force FreeBSD to use SATA-300 only? > I've searched the mailing lists, but without results. man ahci says: The following tunables are settable from the loader(8): hint.ahcich.X.sata_rev setting to nonzero value limits maximum SATA revision (speed). =20 Values 1, 2 and 3 are respectively 1.5, 3 and 6Gbps. From owner-freebsd-hardware@FreeBSD.ORG Sat Apr 16 13:10:23 2011 Return-Path: Delivered-To: freebsd-hardware@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ED80106564A for ; Sat, 16 Apr 2011 13:10:23 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 97D938FC08 for ; Sat, 16 Apr 2011 13:10:22 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id p3GDA5Yd031716; Sat, 16 Apr 2011 15:10:21 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p3GDA5u9031715; Sat, 16 Apr 2011 15:10:05 +0200 (CEST) (envelope-from olli) Date: Sat, 16 Apr 2011 15:10:05 +0200 (CEST) Message-Id: <201104161310.p3GDA5u9031715@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hardware@FreeBSD.ORG In-Reply-To: <8CDC9E9E1563B60-176C-8345@web-mmc-d04.sysops.aol.com> X-Newsgroups: list.freebsd-hardware User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Sat, 16 Apr 2011 15:10:21 +0200 (CEST) Cc: Subject: Re: Problem with SATA-600 (a.k.a. SATA 3) disk X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 13:10:23 -0000 dieterbsd@engineer.com wrote: > Oliver Fromme writes: > > ahcich3: Timeout on slot 0 > > > > Is there a way to force FreeBSD to use SATA-300 only? > > I've searched the mailing lists, but without results. > > man ahci says: > > The following tunables are settable from the loader(8): > > hint.ahcich.X.sata_rev > setting to nonzero value limits maximum SATA revision (speed). > Values 1, 2 and 3 are respectively 1.5, 3 and 6Gbps. Thank you. That works indeed. *sigh* I spent considerable time searching the lists and google, but somehow I missed that part in the ahci manpage ... The only problem left is that I have to reboot when I want to connect a device that can really support SATA-600. But I can live with that. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "People still program in C. People keep writing shell scripts. *Most* people don't realize the shortcomings of the tools they are using because they a) don't reflect on their workflows and they are b) too lazy to check out alternatives to realize there is help." -- Simon 'corecode' Schubert