From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757742AbaKTRxU (ORCPT ); Thu, 20 Nov 2014 12:53:20 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:57072 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756062AbaKTRxT (ORCPT ); Thu, 20 Nov 2014 12:53:19 -0500 Date: Thu, 20 Nov 2014 09:53:16 -0800 From: Christoph Hellwig To: Barto Cc: Christoph Hellwig , "Elliott, Robert (Server Storage)" , Guenter Roeck , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: BUG in scsi_lib.c due to a bad commit Message-ID: <20141120175316.GA19590@infradead.org> References: <20141120060933.GA21432@infradead.org> <546E2880.5070303@laposte.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <546E2880.5070303@laposte.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 20, 2014 at 06:44:32PM +0100, Barto wrote: > I notice that my motherboard doesn't support "AHCI" mode, my motherboard > uses an ICH7 sata controler, ICH7 doesn't support AHCI if I check the > technical specifications of this controler, > > it seems that my bios treats SATA devices like IDE devices ( IDE > emulation mode ), for example I can read in the bios these lines "IDE 0 > channel master : "the name of Sata harddisk 1", "IDE 3 channel master : > "the name of Sata harddisk 2", > > perhaps the bug only occurs when the AHCI mode is not used ? Looks like it. I suspect you device only supports a single outstanding command without AHCI, can you confirm this by doing: for i in /sys/class/scsi_host/*; do cat $i/can_queue; done