From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: Bug: get EXT3-fs error Allocating block in system zone Date: Sun, 9 Dec 2007 21:04:40 +0100 Message-ID: <20071209200440.GC13382@kernel.dk> References: <475C2C02.70001@shaw.ca> <20071209190913.GB13382@kernel.dk> <475C48EE.8020701@pianoinflames.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from brick.kernel.dk ([87.55.233.238]:9101 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754176AbXLIUEp (ORCPT ); Sun, 9 Dec 2007 15:04:45 -0500 Content-Disposition: inline In-Reply-To: <475C48EE.8020701@pianoinflames.de> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Marco Gatti Cc: Linus Torvalds , Robert Hancock , Andrew Morton , IDE/ATA development list , Greg KH , Thomas Gleixner , Ingo Molnar , Jeff Garzik On Sun, Dec 09 2007, Marco Gatti wrote: > Jens Axboe schrieb: > > > >Was just thinking that, this should do the trick. If this works, then we > >can look at whether this is a hardware or iommu or block bouncing > >(unlikely, would affect more people) bug. > > > >diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c > >index 4688dbf..cad3cbc 100644 > >--- a/drivers/ata/ahci.c > >+++ b/drivers/ata/ahci.c > >@@ -623,6 +623,9 @@ static void ahci_save_initial_config(struct pci_dev > >*pdev, > > hpriv->saved_cap = cap = readl(mmio + HOST_CAP); > > hpriv->saved_port_map = port_map = readl(mmio + HOST_PORTS_IMPL); > > > >+ hpriv->saved_cap &= ~HOST_CAP_64; > >+ cap &= ~HOST_CAP_64; > >+ > > /* some chips have errata preventing 64bit use */ > > if ((cap & HOST_CAP_64) && (hpriv->flags & AHCI_HFLAG_32BIT_ONLY)) { > > dev_printk(KERN_INFO, &pdev->dev, > > > > 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? -- Jens Axboe