lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201001061319.54436.bjorn.helgaas@hp.com>
Date:	Wed, 6 Jan 2010 13:19:54 -0700
From:	Bjorn Helgaas <bjorn.helgaas@...com>
To:	Alex Brooks <a.brooks@...athon-robotics.com>
Cc:	linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: BAR 0: can't allocate resource

On Tuesday 05 January 2010 07:16:21 pm Alex Brooks wrote:
> > I don't see any indication that this is a software problem (I know
> > nothing about PC/104, so let me know if you disagree, and why).
> 
> I don't have a smoking gun that points at software, it was just my guess
>  based on:
>  a) all the pieces of hardware work in certain combinations
>  b) there's a nasty-looking error message in dmesg

You mentioned two messages.  Here's the first:
  PCI: BIOS Bug: MCFG area at e0000000 is not reserved in ACPI motherboard resources
  PCI: Not using MMCONFIG.

and the second:
  PCI: Cannot allocate resource region 0 of device 0000:01:04.0
  PCI: Error while updating region 0000:01:04.0/0 (feb00002 != 00000000)

The "Error while updating region" message is because we wrote something
to a BAR, read it back, and they didn't match.  I suppose this could be
some kind of config space problem related to the fact that we're not
using MMCONFIG.

Can you try removing the MCFG reservation check, so we do try to use
MMCONFIG?  If you do this on a current kernel, we'll also get a little
more debug output about the subsequent resource allocation failure.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ