From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Gatti Subject: Re: Bug: get EXT3-fs error Allocating block in system zone Date: Mon, 10 Dec 2007 19:01:39 +0100 Message-ID: <475D7F03.7050100@pianoinflames.de> References: <475C2C02.70001@shaw.ca> <20071209190913.GB13382@kernel.dk> <475C48EE.8020701@pianoinflames.de> <20071209200440.GC13382@kernel.dk> <475C536B.5070409@pianoinflames.de> <20071209210137.GD13382@kernel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from echo836.server4you.de ([85.25.140.112]:38497 "EHLO mail.pianoinflames.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756902AbXLJSBq (ORCPT ); Mon, 10 Dec 2007 13:01:46 -0500 In-Reply-To: <20071209210137.GD13382@kernel.dk> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Jens Axboe Cc: Linus Torvalds , Robert Hancock , Andrew Morton , IDE/ATA development list , Greg KH , Thomas Gleixner , Ingo Molnar , Jeff Garzik Jens Axboe schrieb: >>>> Hello Jens, >>>> Thanks for help. I just applied the patch. Unfortunately it doesn't work. >>> Can you try and additionally boot with iommu=off as a boot parameter? >>> >> Yes. This is the end of getting any sata devices. See screenshots for >> errors. It continued untill ata4. At the end no root device was found. > > Hmm, even though the address is set to 0xffffffff we still seem to > receive requests outside that range. Lets assume it's the scsi logic, > can you test this? IOW, patch + iommu=off + this patch. > > I probably wont see any more mails tonight, we can continue this > tomorrow (or someone else can step in, whatever comes first :-) > > diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c > index 2faced6..769ce3a 100644 > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -1572,7 +1572,9 @@ struct request_queue *__scsi_alloc_queue(struct Scsi_Host *shost, > #endif > > blk_queue_max_sectors(q, shost->max_sectors); > +#if 0 > blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost)); > +#else > blk_queue_segment_boundary(q, shost->dma_boundary); > > if (!shost->use_clustering) I applied the path. Got Hunk #1 succeeded at 1562 with fuzz 2 (offset -10 lines). I didn't compile completly. drivers/scsi/scsi_lib.c:1565:1: error: unterminated #else make[2]: *** [drivers/scsi/scsi_lib.o] Error 1 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2