Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752138AbbLUVIP (ORCPT ); Mon, 21 Dec 2015 16:08:15 -0500 Received: from mail-yk0-f173.google.com ([209.85.160.173]:35176 "EHLO mail-yk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbbLUVIN (ORCPT ); Mon, 21 Dec 2015 16:08:13 -0500 Date: Mon, 21 Dec 2015 16:08:11 -0500 From: Tejun Heo To: "Artem S. Tashkinov" Cc: "Artem S. Tashkinov" , Kent Overstreet , Christoph Hellwig , Ming Lin , Jens Axboe , Linus Torvalds , Steven Whitehouse , IDE-ML , Linux Kernel Mailing List , Ming Lei Subject: Re: IO errors after "block: remove bio_get_nr_vecs()" Message-ID: <20151221210811.GO4026@mtj.duckdns.org> References: <20151221065528.GA3873@htj.duckdns.org> <20151221193550.GM4026@mtj.duckdns.org> <20151221200721.GN4026@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151221200721.GN4026@mtj.duckdns.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1485 Lines: 39 Hello, again. On Mon, Dec 21, 2015 at 03:07:21PM -0500, Tejun Heo wrote: > Hello, Artem. > > Can you please apply the following patch on top and see whether > anything changes? If it does make the issue go away, can you please > revert the ".can_queue" part and test again? If the patch doesn't change anything, can you please try the followings and see which one makes difference? 1. Exclude memory above 4G line with boot param "max_addr=4G". 2. Disable highmem with "highmem=0". 3. Try booting 64bit kernel. At the moment, the only thing I can think of which can explain the PAE + bio_get_nr_vecs() situation is that the bio split code which is activated by the bio_get_nr_vecs() somehow messes up 64bit or high addresses on 32bit kernels. I scanned for the obvious but at bio layer, memory is represented by struct page, so nothing obvious seems broken. Note that for now I'm ignoring the debug dumps from the ahci debug patch which indicates that the passed in addresses are all fine. It is possible that the controller gets confused with certain receiving addresses and reports failure on later commands or maybe there is a different sequence of events which can encompass both that we don't know of yet. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/