From owner-freebsd-questions@freebsd.org Sun Jun 28 13:16:54 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34FC098F73C for ; Sun, 28 Jun 2015 13:16:54 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 02A821151 for ; Sun, 28 Jun 2015 13:16:53 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (rbn1-216-180-76-124.adsl.hiwaay.net [216.180.76.124]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t5SDGjZ2030458 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 28 Jun 2015 08:16:45 -0500 Message-ID: <558FF3BD.6040102@hiwaay.net> Date: Sun, 28 Jun 2015 08:23:00 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 13:16:54 -0000 On 06/28/15 07:32, Yudi V wrote: > Hi all, > > My system is a HP MicroServer N40L - more info at > > n40l.wikia.com/wiki/HP_MicroServer_N40L_Wiki > > It has 4 internal HDD bays and an extra internal SATA port and an external > eSATA port both of which run at 1.5Gbps SATA speed where as the internal 4 > bays run at 3Gbps speed. > > There are 4 HDD in this server and only the two that are connected to the > 1.5Gbps SATA ports throw the below errors. This is present in v9.3 and > v10.1 but not in v11 (generally scrubbing throws up a lot of these errors > but not in v11). I want to use this as a file server so I dont want to use > v11 until it's production ready. > Sounds like a clue :-). Looks like your external ports are SATA1 & the internal ones are SATA2. I have heard people on other lists suggest *not* mixing different drive speeds (SATA1/2/3) in a RAID/LVM/whatever. If you are doing that, that might be a problem. If the 4 drives are supposed to be 'always there', I would put all 4 internally & use the external ports for backup drives & the like. $0.02, no more, no less .... > The system hangs every few mins and then the following errors get logged. > > ==================================== > ERROR from /var/log/messages > ================================= > > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): READ_DMA. ACB: c8 00 88 > 00 41 44 00 00 00 00 01 00 > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): CAM status: Command > timeout > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): Retrying command > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 0d > 30 c0 45 00 00 00 00 01 00 > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command > timeout > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): Retrying command > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 51 > 30 70 45 00 00 00 00 01 00 > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command > timeout > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): Retrying command > > ============================================== > I tried the suggestion from > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349#c30 > > added hint.ahci.0.msi="1" to /boot/loader.conf but did not fix the issue > > I even tried rebuilding the kernel but looks like it did not fix the issue. > Well, this was my first time building a custom kernel, so I am not sure I > got is right. > > the steps I followed were: > > I used the LINT config instead of creating my own, > > # svn checkout svn-mirror/base/head /usr/src > # cd /usr/src/sys/amd64/conf && make LINT > # cd /usr/src > # make buildkernel KERNCONF=LINT > # make installkernel KERNCONF=LINT > > did I get the process right? > > As this issue disappeared in v11, I am guessing it should be possible to > fix it in v10 as well. > Any suggestions/pointers on how to fix this bug would be greatly > appreciated. > > > Thank you. > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.