From owner-freebsd-questions@freebsd.org Sun Jun 28 12:26:00 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 C6A5D98F069 for ; Sun, 28 Jun 2015 12:26:00 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 658311DCB for ; Sun, 28 Jun 2015 12:26:00 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: by wguu7 with SMTP id u7so120602700wgu.3 for ; Sun, 28 Jun 2015 05:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=r/g1ZUMC0c+0QzN7022ZLnzGTkoeCPlsgrklNDGEa8A=; b=rAbioKP8h4BROmp42D6joCp3u1YfyeW4r01l3G5InPylhAduwjRTl6lJf1bO2o8tKK uOrHGSzv76/9lha0hT4GvoNCFrEIOQIfEsVvyp6uZP2guIMN5J/ByyK1e+H7OYj2hohA 6oieDVPyi4yxoEax/6j/SFYc7Bto4JxeP5P9MOHPdiEVtIlh3ZJjrWPh5EV7SqtihJM1 6AETHIXGwU7ZoFr/ekBsKv9rRX+DRcXQDqZwLdk2S5qP4PnQqWvc7zVxMGLQWhH+mcxO sWtmUXTiWHwaTieEcCt0lekQdZoyr3Doa24Vf+EEzhDSSq2uUPFLQ4CQnkDkxYBHFBnS NfPw== MIME-Version: 1.0 X-Received: by 10.195.13.1 with SMTP id eu1mr19806720wjd.131.1435494357819; Sun, 28 Jun 2015 05:25:57 -0700 (PDT) Received: by 10.28.130.3 with HTTP; Sun, 28 Jun 2015 05:25:57 -0700 (PDT) Date: Sun, 28 Jun 2015 22:25:57 +1000 Message-ID: Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout From: Yudi V To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 12:26:01 -0000 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. 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. -- Kind regards, Yudi