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:	Fri, 31 Dec 2010 14:10:48 -0800
From:	Avery Pennarun <apenwarr@...mnit.ca>
To:	yotam.medini@...il.com
Cc:	Randy Dunlap <rdunlap@...otime.net>, linux-kernel@...r.kernel.org
Subject: Re: APM_CONFIG on x86 - Is it possible?

On Fri, Dec 31, 2010 at 2:05 PM, Yotam Medini <yotam.medini@...il.com> wrote:
> On Fri, 31 Dec 2010 13:54:59 -0800
> Avery Pennarun <apenwarr@...mnit.ca> wrote:
>> > I do get:
>> >
>> >  $ sudo modprobe apm
>> >  FATAL: Error inserting apm
>> >    (/lib/modules/2.6.32.yumax/kernel/arch/x86/kernel/apm.ko): No such device
>>
>> The output of 'dmesg' might be revealing here.  However, it's likely
>> that your PC doesn't actually support APM unless it's *very* old.  You
>> might want to try ACPI instead.
>
> Indeed:
>    $ dmesg  | grep -i apm
>    [   52.897795] apm: BIOS not found.
> I will try to investigate this.
>
> But I clearly remember that a few years ago, I could issue:
>    $ cat /proc/apm
> and see the battery status.
> Then, I believe, the kernel tree used to have arch/i386.

arch/i386 is named arch/x86 nowadays.

It might be interesting to try an older kernel and see if you get
different results.  Since APM is so rare nowadays, I wouldn't be
surprised to find out that the kernel has accumulated some bugs there
in the intervening years.

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