Re: FBSD 5.1b2 Inst. Results on Dell i8500

2003-05-27 Thread Mark Santcroos
On Thu, May 22, 2003 at 11:05:03PM +0200, Mark Santcroos wrote:
 The same here, that's what I mentioned earlier, that I need to investigate
 this. Hope to have that fixed before 'de haan kraait' tomorrow morning ;-)
 Can you send me your whole asl, I'm curious how close it is to mine.

Hrm, a bit later than anticipated, got ill after skipping too many nights,
had to take a break :-)

However, with the following patch, fdc, sio, and ppc attach under acpi
instead of isa again!

With a stock kernel and patched dsdt I have a fully working system again.
All Dell laptop users with problems might want to give this a look as at
least Stijn's Inspirion 8500 has exactly the same dsdt as mine (Latitude
C640).

Mark

ps. Bob, sorry for arguing that it might be acpica, I come from a world
where I assume hardware is not the first thing to look at when things
break ...


--- c640.aslWed May 14 02:07:27 2003
+++ c640_custom.asl Tue May 27 22:18:14 2003
@@ -120,9 +120,9 @@
 
 Method (SXX5, 2, NotSerialized)
 {
-If (LLess (Arg1, SizeOf (Arg0)))
+If (LLess (Arg1, SizeOf (DerefOf(Arg0
 {
-CreateByteField (Arg0, Arg1, SX20)
+CreateByteField (DerefOf(Arg0), Arg1, SX20)
 SXX6 (0x7C, SX20)
 }
 }
@@ -133,16 +133,16 @@
 Store (0x00, Local0)
 While (LLess (Local0, SXX2))
 {
-SXX5 (SXX0, Local0)
+SXX5 (RefOf(SXX0), Local0)
 Increment (Local0)
 }
 }
 
 Method (SXX8, 2, NotSerialized)
 {
-If (LLess (Arg1, SizeOf (Arg0)))
+If (LLess (Arg1, SizeOf (DerefOf (Arg0
 {
-CreateByteField (Arg0, Arg1, SX20)
+CreateByteField (DerefOf(Arg0), Arg1, SX20)
 Store (SXX6 (0x7D, 0x00), SX20)
 }
 }
@@ -153,7 +153,7 @@
 While (LLess (Local0, SXX3))
 {
 Add (SXX2, Local0, Local1)
-SXX8 (SXX0, Local1)
+SXX8 (RefOf (SXX0), Local1)
 Increment (Local0)
 }
 }
@@ -217,9 +217,9 @@
 
 Method (SX43, 2, NotSerialized)
 {
-If (LLess (Arg1, SizeOf (Arg0)))
+If (LLess (Arg1, SizeOf (DerefOf(Arg0
 {
-CreateByteField (Arg0, Arg1, SX20)
+CreateByteField (DerefOf(Arg0), Arg1, SX20)
 Store (SX40 (), SX20)
 }
 }
@@ -238,7 +238,7 @@
 {
 Store (SX40 (), Local0)
 Name (SX23, Buffer (Local0) {})
-SX44 (SX23, Local0)
+SX44 (Refof(SX23), Local0)
 Return (SX23)
 }
 
@@ -277,7 +277,7 @@
 SX30 (Arg0)
 SX11 ()
 Name (PGET, Buffer (SXX3) {})
-SX44 (PGET, SXX3)
+SX44 (RefOf(PGET), SXX3)
 SX12 ()
 Return (PGET)
 }

-- 
Mark SantcroosRIPE Network Coordination Centre
http://www.ripe.net/home/mark/New Projects Group/TTM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 5.1b2 Inst. Results on Dell i8500

2003-05-27 Thread Stijn Hoop
On Tue, May 27, 2003 at 10:28:32PM +0200, Mark Santcroos wrote:
 On Thu, May 22, 2003 at 11:05:03PM +0200, Mark Santcroos wrote:
  The same here, that's what I mentioned earlier, that I need to investigate
  this. Hope to have that fixed before 'de haan kraait' tomorrow morning ;-)
  Can you send me your whole asl, I'm curious how close it is to mine.
 
 Hrm, a bit later than anticipated, got ill after skipping too many nights,
 had to take a break :-)
 
 However, with the following patch, fdc, sio, and ppc attach under acpi
 instead of isa again!

Great work! I'm off to test this right now!

 With a stock kernel and patched dsdt I have a fully working system again.
 All Dell laptop users with problems might want to give this a look as at
 least Stijn's Inspirion 8500 has exactly the same dsdt as mine (Latitude
 C640).

It's in Inspiron 4150 FWIW, but there is enough reason to believe that
most Dell laptops use the same code, yes.

I'll report back ASAP.

--Stijn

-- 
Oh good, my dog found the chainsaw.
-- Lilo, Disney's Lilo  Stitch


pgp0.pgp
Description: PGP signature


Re: FBSD 5.1b2 Inst. Results on Dell i8500

2003-05-27 Thread Stijn Hoop
On Tue, May 27, 2003 at 10:55:11PM +0200, Stijn Hoop wrote:
 On Tue, May 27, 2003 at 10:28:32PM +0200, Mark Santcroos wrote:
  With a stock kernel and patched dsdt I have a fully working system again.
  All Dell laptop users with problems might want to give this a look as at
  least Stijn's Inspirion 8500 has exactly the same dsdt as mine (Latitude
  C640).
 
 I'll report back ASAP.

Success on my Inspiron 4150. After unsuccesfully trying to apply the patch
to the asl dumped by acpidump I got to my senses and tried to apply it to
the iasl disassembled version. That worked in one shot.

Thanks for all the hard work, Mark!

--Stijn

-- 
In the force if Yoda's so strong, construct a sentence with words in
the proper order then why can't he?


pgp0.pgp
Description: PGP signature