2001-12-20 00:04:17

by Elyse M. Grasso

[permalink] [raw]
Subject: apm gpf on Inspiron2500 with 2.4.9

Please copy me on any comments, I am not subscribed to the list.

Attempts to interract with apm on Inspiron 2500 laptops produce results like
the following (KRUD/RedHat 7.2, but also occurs with 7.1).

kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)

general protection fault: e998
CPU: 0
EIP: 0050:[<00002ffb>] Not tainted
EFLAGS: 00010046
eax: 00000292 ebx: 00000001 ecx: 00000000 edx: 00000000
esi: c023149a edi: 00000014 ebp: c9f6de80 esp: c9f6de78
ds: 0058 es: 0000 ss: 0018
Process apmd (pid 781, stackpage c9f6d000)
Stack: 5319519e 0000de80 00000058 149a0292 de940050 00000001 530a0000
00000016
00485369 00000000 c9f6def8 c01109b3 00000010 c9f6def8 00000292 ffff0018
00000018 cbe50000 c0120000 c9f6df32 c023149a ffffffff c9f5c000 c0110bbf
Call Trace: [<c01109b3>] apm_bios_call [kernel] 0x43
[<c0120000>] force_sig [kernel] 0x0
[<c023149a>] .rodaata.str1.1 [kernel] 0x5c35
[<c0110bbf>] apm_get_power_status [kernel] 0x3f
[<c0126c24>] do_munmap [kernel] 0x64
[<c0111886>] apm_get_info [kernel] 0x46
[<c0153704>] proc_file_read [kernel] 0x94
[<c0106f3b>] sys_read [kernel] 0x96
[<c0106f3b>] system_call [kernel] 0x33

Please let me know if there is other information that would be helpful...
it's been about 15 years since I did device driver work on 8086 based
machines, but I can probably figure out how to get you the information you
ask for.

Thanks

Elyse Grasso


2001-12-20 00:19:38

by Dave Jones

[permalink] [raw]
Subject: Re: apm gpf on Inspiron2500 with 2.4.9

On Wed, 19 Dec 2001, Elyse Grasso wrote:

> EIP: 0050:[<00002ffb>] Not tainted

The 0050 means you went bang in BIOS context.
See if theres a BIOS upgrade available.

If this is occuring at shutdown time, try the "Use real mode APM
BIOS call to power off" option in the APM section of the kernel
configuration.

Dave,

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2001-12-20 22:15:17

by Elyse M. Grasso

[permalink] [raw]
Subject: Re: apm gpf on Inspiron2500 with 2.4.9

Thanks, I'll look into that.

The gpfs happen whenever Linux tries to do anything apm related, including
bringing up apmd at boot time, bringing up pcmcia (which evidently calls
apmd)... whenever.

On Wednesday 19 December 2001 05:19 pm, Dave Jones wrote:
> On Wed, 19 Dec 2001, Elyse Grasso wrote:
>
> > EIP: 0050:[<00002ffb>] Not tainted
>
> The 0050 means you went bang in BIOS context.
> See if theres a BIOS upgrade available.
>
> If this is occuring at shutdown time, try the "Use real mode APM
> BIOS call to power off" option in the APM section of the kernel
> configuration.
>
> Dave,
>
> --
> | Dave Jones. http://www.codemonkey.org.uk
> | SuSE Labs
>
>
>