* Gericom Supersonic ACPI hang (smi_cmd)
@ 2002-10-11 15:52 Ulrich Dobramysl
[not found] ` <000b01c27163$927d6e70$6600a8c0@rolilaptop>
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Dobramysl @ 2002-10-11 15:52 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hello there again!
I posted some days ago, that I have problems getting ACPI up and running
on my Gericom Laptop. The Kernel just hangs without any error message.
Arndt Schoenewald suggested some Kernel Configurations to me (thanks
again!) , but none of them did work. It seems like I have a very rare
Version of this laptop model, with a (very) broken BIOS.
So I tried to debug that myself. I'm not a very good C Programmer and
have no clue about the ACPI specifications, so I cannot solve this
problem myself.
I was able to trace down the hang where acpi_enable gets called and
itself calls acpi_hw_set_mode. This goes into the function
acpi_os_write_port(acpi_gbl_FADT->smi_cmd, (acpi_integer)
acpi_gbl_FADT->acpi_enable, 8), where outb gets called with port
acpi_gbl_FADT->smi_cmd and value acpi_gbl_FADT->acpi_enable.
I think there is something wrong with the address smi_cmd. I could not
find the part in the code where it gets set.
Tell me if I can provide more information about this problem or something.
Ulrich Dobramysl
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <000b01c27163$927d6e70$6600a8c0@rolilaptop>]
* Re: Gericom Supersonic ACPI hang (smi_cmd) [not found] ` <000b01c27163$927d6e70$6600a8c0@rolilaptop> @ 2002-10-12 11:47 ` Ulrich Dobramysl 0 siblings, 0 replies; 2+ messages in thread From: Ulrich Dobramysl @ 2002-10-12 11:47 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Success! Thanks a lot! Now it works. I had to tweak some things in the source file arch/i386/kernel/mpparse.c because FIX_APIC_BASE, Dprintk, and apic_read aren't defined when APIC is disabled, but needed by ACPI? I got a lot of compiler errors when trying to build the kernel. I just commented some things out, and made some real bad hacks, but it compiles and works now. I don't think that this is the normal way of doing this? ;-) S1 just works fine, MUCH better than with APM. Now I have problems putting the laptop in S4 (swsusp) state. It seems like swsusp goes into an endless loop, with many warnings that he is scheduling in atomic state or something. Sometimes, when trying to read some state files in /proc/acpi (the battery state and some other things too), the reading process (cat in my case) hangs and I have to kill it with STRG-C. The Lid fires no event when closed or opened. I'm using kernel 2.5.40 and acpi patch 20021002, sorry I forgot to write that in my last mail. Ulrich Dobramysl Roland Moser wrote: > hi > > Try deactivating APIC (yes APIC not ACPI!). There are 2 or 3 options with > APIC. > Select everywhere no. Then it should boot (at least it does for me). > > hope that helps > > Roland Moser > > PS: > APIC is the Advanced Programmable Interrupt Controller AFAIK > Don't know why you have to deactivate it. > > >>Hello there again! >> >>I posted some days ago, that I have problems getting ACPI up and running >> on my Gericom Laptop. The Kernel just hangs without any error message. >>Arndt Schoenewald suggested some Kernel Configurations to me (thanks >>again!) , but none of them did work. It seems like I have a very rare >>Version of this laptop model, with a (very) broken BIOS. >>So I tried to debug that myself. I'm not a very good C Programmer and >>have no clue about the ACPI specifications, so I cannot solve this >>problem myself. >>I was able to trace down the hang where acpi_enable gets called and >>itself calls acpi_hw_set_mode. This goes into the function >>acpi_os_write_port(acpi_gbl_FADT->smi_cmd, (acpi_integer) >>acpi_gbl_FADT->acpi_enable, 8), where outb gets called with port >>acpi_gbl_FADT->smi_cmd and value acpi_gbl_FADT->acpi_enable. >>I think there is something wrong with the address smi_cmd. I could not >>find the part in the code where it gets set. >>Tell me if I can provide more information about this problem or something. >> >>Ulrich Dobramysl >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Acpi-devel mailing list >>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>https://lists.sourceforge.net/lists/listinfo/acpi-devel >> > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-12 11:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-11 15:52 Gericom Supersonic ACPI hang (smi_cmd) Ulrich Dobramysl
[not found] ` <000b01c27163$927d6e70$6600a8c0@rolilaptop>
2002-10-12 11:47 ` Ulrich Dobramysl
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox