From owner-freebsd-bugs@freebsd.org Tue Jun 30 09:31:17 2015 Return-Path: Delivered-To: freebsd-bugs@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 2C04798C620 for ; Tue, 30 Jun 2015 09:31:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 088EF18E0 for ; Tue, 30 Jun 2015 09:31:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5U9VGSY080448 for ; Tue, 30 Jun 2015 09:31:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199495] relates to Bug 195349 - CAM status: command timeout Date: Tue, 30 Jun 2015 09:31:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yudi.tux@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 09:31:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199495 --- Comment #2 from Yudi --- I just want to update my original post it had some inaccurate info. First, this bug is present in v9.3 as well as v10.1 but NOT in v11. I have added the following to /boot/loader.conf but did not resolve the issue: "hint.atapci.0.msi="0" (also 1) "hint.atapci.1.msi="0" "hint.ahci.0.msi="1" 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 this 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 one of the replies I receive on the mailing list suggested this is not the right way to rebuild the kernel. He said I was using v11 source files to build the kernel for v10. I dont think that was accurate. Can someone please explain how I can apply the patch. Bit of info on the system, the Hitachi drives are in a 2-way mirror connected to 3Gbps SATA ports (AHCI mode) which I am not using until I fix this issue. OS is installed on the samsung drives (2-way mirror) connected to 1.5Gbps SATA ports running in IDE mode (cannot change this to AHCI without installing a hacked version of BIOS which I dont want to do). I would greatly appreciate any advise on how to fix this issue. Below I added some output from the system that might help. ============================= output of "camcontrol devlist" =================================== at scbus0 target 0 lun 0 (ada0,pass0) at scbus2 target 0 lun 0 (ada1,pass1) at scbus4 target 0 lun 0 (ada2,pass2) at scbus4 target 1 lun 0 (ada3,pass3) ====================================================== ==================================== 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 ======================================== output of "dmesg | grep ahci" ============================= ahci0: port 0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f mem 0xfe6ffc00-0xfe6fffff irq 19 at device 17.0 on pci0 ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 ====================================== output of "dmesg |grep ada" ============================ random: selecting highest priority adaptor random: selecting highest priority adaptor ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 3.x device ada0: Serial Number MK0301YHKT8A2A ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 ada1: ATA8-ACS SATA 3.x device ada1: Serial Number MK0301YHKV1JWD ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad8 ada2 at ata0 bus 0 scbus4 target 0 lun 0 ada2: ATA-7 SATA 1.x device ada2: Serial Number S0ZAJD0P700140 ada2: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) ada2: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad0 ada3 at ata0 bus 0 scbus4 target 1 lun 0 ada3: ATA-7 SATA 1.x device ada3: Serial Number S0ZAJD0P700102 ada3: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) ada3: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) ada3: Previously was known as ad1 =============================== -- You are receiving this mail because: You are the assignee for the bug.