Re: [REPOST] "apm: suspend: Unable to enter requested state" after 2.5.31 (incl. 2.6.0testX)

From: Charles Lepple (clepple@ghz.cc)
Date: Tue Jul 29 2003 - 11:05:55 EST


Alan Cox said:
> Does it work any better if you change the 0x0, 0x00409200 to
>
> 0x00109300, 0x00409200 ?

Is this what you're referring to?

--- arch/i386/kernel/apm.c.orig 2003-07-27 12:57:00.000000000 -0400
+++ arch/i386/kernel/apm.c 2003-07-29 11:18:52.000000000 -0400
@@ -424,7 +424,7 @@
 static DECLARE_WAIT_QUEUE_HEAD(apm_suspend_waitqueue);
 static struct apm_user * user_list;
 static spinlock_t user_list_lock = SPIN_LOCK_UNLOCKED;
-static struct desc_struct bad_bios_desc = { 0, 0x00409200 };
+static struct desc_struct bad_bios_desc = { 0x00109300, 0x00409200 };
 static char driver_version[] = "1.16ac"; /* no
spaces */

I tried this on top of 2.6.0-test2, and it didn't work. Where does the
first number in that initializer come from?

In case it has something to do with the APM entry points:

  apm: entry fcd4:0 cseg16 f000 dseg 9f80 [...]

thanks,

-- 
Charles Lepple <clepple@ghz.cc>
http://www.ghz.cc/charles/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:41 EST