Re: APM panics

From: Marc van Kempen <marc_at_bowtie.nl>
Date: Mon, 02 Feb 2004 14:35:35 +0100
Jake Khuon wrote:

>I've been wrestling with this since last week and have tried to use ACPI but
>I really do need to be able to suspend... something which ACPI doesn't
>support on my IBM T30.  I get the following when I issue the apm command
>with the apm module loaded:
>
>	kernel trap 9 with interrupts disabled
>
>
>	Fatal trap 9: general protection fault while in kernel mode
>	cpuid = 0; apic id = 00
>	instruction pointer	= 0x8:0xc067d0cb
>	stack pointer		= 0x10:0xd4758a38
>	frame pointer		= 0x10:0xd4758a44
>	code segment		= base 0x0, limit 0xfffff, type 0x1b
>				= DPL 0, pres 1, def32 1, gran 1
>	processor eflags	= resume, IOPL = 0
>	current process		= 64 (apm)
>	trap number		= 9
>	panic: general protection fault
>	at line 821 in file /usr/src/sys/i386/i386/trap.c
>	cpuid = 0;
>
>  
>
Hi Jake,

I have an IBM R40 and got ACPI (sort of) running by doing the following:

I got suspend/resume (with X running) working with ACPI by disabling glx 
in /etc/XF86Config and setting the following sysctl variables:

hw.acpi.sleep_button_state=S3
hw.acpi.lid_switch_state=S3

However, after suspending and resuming, the ethernetcard hangs after 
transmitting several hundred kBs. Suspending/resuming resets the 
interface and makes it work again, however for the same short period of 
time as after the first suspend/resume.

Regards,
Marc.
Received on Mon Feb 02 2004 - 04:36:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC