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]
Date:	Thu, 23 Jul 2009 09:12:32 -0700 (PDT)
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Frans Pop <elendil@...net.nl>
cc:	linux-kernel@...r.kernel.org, Yinghai Lu <yinghai@...nel.org>,
	Jesse Barnes <jbarnes@...tuousgeek.org>
Subject: Re: Linux 2.6.31-rc4: strange change in iomem allocation



On Thu, 23 Jul 2009, Frans Pop wrote:

> On Thursday 23 July 2009, Frans Pop wrote:
> > I'm seeing the following change in dmesg between -rc3 and -rc4:
> > -system 00:0c: iomem range 0xfec00000-0xfec000ff has been reserved
> > +system 00:0c: iomem range 0xfec00000-0xfec000ff could not be reserved
> >
> > There is nothing in the earlier part of dmesg that would explain this
> > change.
> >
> > The change is also visible in /proc/iomem:
> >  fec00000-fec00fff : IOAPIC 0
> >    fec00000-fec00fff : reserved
> > -    fec00000-fec000ff : pnp 00:0c
> >
> > I somewhat suspect 857fdc53a0a90c3ba7fcf5b1fb4c7a62ae03cf82:
> >     x86/pci: insert ioapic resource before assigning unassigned resources
> 
> Reverting that commit did indeed restore the old situation.

Don't worry about the new warning. 

It is in fact _normal_ to see a number of warnings about PnP resources 
"could not be reserved", because there are a number of sources of 
resources that we trust more than the PnP stuff, so we make the IO 
reservations based on those other sources of information. And then the PnP 
layer comes along, and can't reserve things any more because they are 
already reserved.

So the only thing that changed is that now we moved the APIC reservation 
earlier, exactly because we trust our knowledge of the hardware "more" 
than some other things.

You can google for "could not be reserved" (quotes needed to make it get 
anything relevant, of course), and you'll see a lot of dmesg's. The 
warning is interesting in the sense that _if_ there are any PCI resource 
issues, it hints about the fact that we got resource information from 
different places and they overlapped, so I wouldn't want to remove it.

So think of it this way: the difference between "has been reserved" and 
"could not be reserved" is _not_ a "good" vs "bad" situation. They are 
both purely informational. They're not good-or-bad, they are information 
we leave around in case bad things happen later.

		Linus
--
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