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: <cfc555d1-c9d6-102f-2e7b-dc6a53f84b3c@infradead.org>
Date:   Mon, 5 Jun 2017 11:25:00 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     David Kastrup <dak@....org>, linux-kernel@...r.kernel.org
Subject: Re: What would cause /proc/ioports do be zeroed out?

On 06/05/17 02:08, David Kastrup wrote:
> 
> Hi,
> 
> I am trying to pinpoint a problem I am having with current Ubuntu
> Artful, likely after some recent attempts of getting rid of some package
> incompatibilities.  More likely than not the ultimate culprit is
> somewhere in the Debian package management, however I am really puzzled
> at figuring out where exactly things go wrong and since my current
> configuration is "valid" according to the package manager, it might help
> in other situations if I manage to get the problem located.
> 
> The current symptom is that I cannot load some ACPI modules (compiled
> via DKMS for x86_64 architecture) without io_force option, with the
> kernel stating:
> 
> [  248.145348] thinkpad_ec: cannot claim IO ports 0x1600-0x161f... 
> [  248.145350] consider using force_io=1.
> 
> Now here is the really fishy thing:
> 
> cat /proc/ioports
> 0000-0000 : PCI Bus 0000:00
>   0000-0000 : dma1
>   0000-0000 : pic1
>   0000-0000 : timer0
>   0000-0000 : smapi
>   0000-0000 : timer1
>   0000-0000 : keyboard
>   0000-0000 : PNP0800:00
>   0000-0000 : PNP0C09:00
>     0000-0000 : EC data
>   0000-0000 : keyboard
>   0000-0000 : PNP0C09:00
>     0000-0000 : EC cmd
> 
> [...]
> 
>   0000-0000 : PCI Bus 0000:0d
>   0000-0000 : PCI Bus 0000:15
>     0000-0000 : PCI CardBus 0000:16
>     0000-0000 : PCI CardBus 0000:16

Hi,

Does /proc/iomem show the same thing (i.e., zeros)?

How about if you do the test while logged in as root?


-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ