From owner-freebsd-questions@freebsd.org Sun Jun 28 14:23:51 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 4360F98F0D7 for ; Sun, 28 Jun 2015 14:23:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (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 064131140 for ; Sun, 28 Jun 2015 14:23:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-85-234.dynamic.qsc.de [92.195.85.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3FE113CDC8; Sun, 28 Jun 2015 16:23:42 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t5SENfIO002307; Sun, 28 Jun 2015 16:23:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 28 Jun 2015 16:23:41 +0200 From: Polytropon To: Yudi V Cc: freebsd-questions@freebsd.org Subject: Re: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout Message-Id: <20150628162341.13473f1b.freebsd@edvax.de> In-Reply-To: References: <20150628144020.e72e3f79.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 14:23:51 -0000 On Mon, 29 Jun 2015 00:05:31 +1000, Yudi V wrote: > > Have you already verified that there are no hardware errors > > (bad cabling of the cages) > > > Given that v11 works without any errors, I assumed it has to be a software > bug. I just mentioned it because SATA sometimes shows the "funniest" errors due to a minimally misaligned plug. :-) > > > ============================================== > > > 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 > > > > This is only effective after a reboot. Have you done that? > > Have you verified that you applied the setting to the correct > > ahci device? Check "dmesg | grep ahci" to see if there are > > more than one controller in the system. > > > That's a good suggestion, based on the below output of "dmesg | grep ada" > I added "hint.atapci.0.msi="0" (also 1) but did not resolve the issue. The output of dmesg indicates that the drives are of different speed capabilities (2 x 300MB/s, 2 x 150MB/s). Are those the four ones that occupy the 4 cages (and are probably connected to the same controller)? If you check "dmesg | grep ahci" you can see which controllers are available. Using "camcontrol devlist" you can examine how the drives are connected to the available buses. > > In order to build a custom kernel, you need to know _which > > difference_ it should implement compared to the GENERIC > > kernel. "Just building one", as I mentioned, probably will > > not be of great help. > > > > I thought downloading the latest source files with the patch should be > enough to include the patch, I am guessing that was incorrect thinking. If you download the latest sources, you're trying to install a v11 kernel on a v10 system (which might or might not work). The patch, as far as I understand, applies to v11 (and might or might not work with v10). Kernel and world need to be in sync to work properly. > so how to make sure I include the patch? Download it and apply it using the "patch" command, for example "patch < /tmp/the-patch-file". > I will reread the docs and try rebuilding the kernel again. If you have confirmed that v11 works for you, why not use the current snapshot? It already seems quite stable... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...