public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* S3 problem: No PCI-interrupts after resume
@ 2004-06-19 21:47 Carsten Rietzschel
       [not found] ` <200406192347.27053.cr7-IG//nw+yl+iQIjdd1DhZXWfrygkm6VTR@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Rietzschel @ 2004-06-19 21:47 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 2117 bytes --]

Hi,

I'm trying to get S3 Suspend to RAM running on my KT333CF-Board.
But after resuming: USB, soundcard, firewire + eth don't work (read as: no 
PCI-devices except IDE) . In proc/interrupts I saw no interrupts for these 
devices were incremented after resume. 
Kernel version is 2.6.7 with acpi update from len 
(acpi-20040326-2.6.7.diff.gz), but same for older versions of 2.6.x.

I've read the howto (http://forums.gentoo.org/viewtopic.php?t=122145), and 
tried to fix my DTSD. I extracted the DSDT and iasl gave me these warnings 
and my fixes:

dsdt.dsl-org   294:     Method (\_WAK, 1, NotSerialized)
Warning  2026 -                     ^ Reserved method must return a value 
(_WAK)

my fix:
        Return(Package(0x02){0x00, 0x00})

dsdt.dsl-org   324:             Store (Local0, Local0)
Error    1013 -                             ^ Method local variable is not 
initialized (Local0)
dsdt.dsl-org   332:             Store (Local0, Local0)
Error    1013 -                             ^ Method local variable is not 
initialized (Local0)

fixed with:
        Method (_MSG, 1, NotSerialized)
        {
            /* Store (Local0, Local0) */
        }

        Method (_SST, 1, NotSerialized)
        {
            If (LEqual (Arg0, 0x03)) {}
            If (LEqual (Arg0, 0x01)) {}
            If (LEqual (Arg0, Zero)) {}
            /* Store (Local0, Local0) */
        }
    }


dsdt.dsl-org  1571:                 Method (STM, 0, Serialized)
Warning  2019 -                               ^ Not all control paths return a 
value (STM_)

fix:  
                    Return (TMD0)
<--- I don't know what to return here....

Full dsdt-files are attached. Just search for "cr7" to find my fixes.  I don't 
know if these fixes are correct, I expect they aren't. Iasl now accepted my 
fixes. I recompiled and tested (with  acpi-dsdt-initrd-patch). No luck.

I also tried acpi_os_name="Microsoft Windows" or "Microsoft Windows NT"  (as I 
could read in the dsl-file, search "_OS"). No success.

Please could you have a look at my "fixes" and tell me what to try next or 
which infos you need ?

Sincerally,
Carsten

[-- Attachment #2: lspci.log --]
[-- Type: text/x-log, Size: 3927 bytes --]

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] (rev 80)
	Subsystem: Giga-byte Technology: Unknown device 5000
	Flags: bus master, 66Mhz, medium devsel, latency 0
	Memory at c0000000 (32-bit, prefetchable)
	Capabilities: [a0] AGP version 2.0
	Capabilities: [c0] Power Management version 2

0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] (prog-if 00 [Normal decode])
	Flags: bus master, 66Mhz, medium devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Memory behind bridge: d8000000-d9ffffff
	Prefetchable memory behind bridge: d0000000-d7ffffff
	Capabilities: [80] Power Management version 2

0000:00:0b.0 Ethernet controller: Intel Corp. 82541GI Gigabit Ethernet Controller
	Subsystem: Intel Corp.: Unknown device 1176
	Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
	Memory at db020000 (32-bit, non-prefetchable)
	Memory at db000000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at d000 [size=64]
	Capabilities: [dc] Power Management version 2
	Capabilities: [e4] PCI-X non-bridge device.
	Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

0000:00:0c.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46) (prog-if 10 [OHCI])
	Subsystem: VIA Technologies, Inc. IEEE 1394 Host Controller
	Flags: bus master, medium devsel, latency 32, IRQ 10
	Memory at db040000 (32-bit, non-prefetchable)
	I/O ports at d400 [size=128]
	Capabilities: [50] Power Management version 2

0000:00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-7VAX Mainboard
	Flags: bus master, medium devsel, latency 32, IRQ 10
	I/O ports at d800 [size=32]
	Capabilities: [80] Power Management version 2

0000:00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-7VAX Mainboard
	Flags: bus master, medium devsel, latency 32, IRQ 11
	I/O ports at dc00 [size=32]
	Capabilities: [80] Power Management version 2

0000:00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-7VAX Mainboard
	Flags: bus master, medium devsel, latency 32, IRQ 7
	I/O ports at e000 [size=32]
	Capabilities: [80] Power Management version 2

0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
	Subsystem: Giga-byte Technology GA-7VAX Mainboard
	Flags: bus master, medium devsel, latency 32, IRQ 11
	Memory at db041000 (32-bit, non-prefetchable)
	Capabilities: [80] Power Management version 2

0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
	Subsystem: Giga-byte Technology GA-7VAX Mainboard
	Flags: bus master, stepping, medium devsel, latency 0
	Capabilities: [c0] Power Management version 2

0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
	Subsystem: Giga-byte Technology GA-7VAX Mainboard
	Flags: bus master, medium devsel, latency 32, IRQ 10
	I/O ports at e400 [size=16]
	Capabilities: [c0] Power Management version 2

0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 50)
	Subsystem: Giga-byte Technology GA-7VAX Onboard Audio (Realtek ALC650)
	Flags: medium devsel, IRQ 7
	I/O ports at e800
	Capabilities: [c0] Power Management version 2

0000:01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti 200] (rev a3) (prog-if 00 [VGA])
	Subsystem: LeadTek Research Inc.: Unknown device 2861
	Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
	Memory at d8000000 (32-bit, non-prefetchable)
	Memory at d0000000 (32-bit, prefetchable) [size=64M]
	Memory at d4000000 (32-bit, prefetchable) [size=512K]
	Capabilities: [60] Power Management version 2
	Capabilities: [44] AGP version 2.0


[-- Attachment #3: cr7-dsdt.tar.bz2 --]
[-- Type: application/x-tbz, Size: 8319 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: S3 problem: No PCI-interrupts after resume
       [not found] ` <200406192347.27053.cr7-IG//nw+yl+iQIjdd1DhZXWfrygkm6VTR@public.gmane.org>
@ 2004-06-19 22:02   ` Matthew Garrett
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Garrett @ 2004-06-19 22:02 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sat, 2004-06-19 at 23:47 +0200, Carsten Rietzschel wrote:

> I'm trying to get S3 Suspend to RAM running on my KT333CF-Board.
> But after resuming: USB, soundcard, firewire + eth don't work (read as: no 
> PCI-devices except IDE) . In proc/interrupts I saw no interrupts for these 
> devices were incremented after resume. 
> Kernel version is 2.6.7 with acpi update from len 
> (acpi-20040326-2.6.7.diff.gz), but same for older versions of 2.6.x.

Do you have APIC support in your kernel? If so, try disabling it. I get
no interrupts if I use APIC support, but everything is fine otherwise.
What should be setting up the APIC on resume?

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: S3 problem: No PCI-interrupts after resume
@ 2004-06-20 10:41 Carsten Rietzschel
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Rietzschel @ 2004-06-20 10:41 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: mjg59-1xO5oi07KQx4cg9Nei1l7Q

Hello,

thanks for your answer - I tried your suggestion, but it doesn't work:

without APIC: resumes, but no PCI-interrupts
with APIC: resumes, but no PCI-interrupts
with APIC+IOAPIC: does not resume (can't read anything, blank screen)

Also I tried "pci=noacpi" without success. Still no interrupts.

Regards,
Carsten


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-20 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-19 21:47 S3 problem: No PCI-interrupts after resume Carsten Rietzschel
     [not found] ` <200406192347.27053.cr7-IG//nw+yl+iQIjdd1DhZXWfrygkm6VTR@public.gmane.org>
2004-06-19 22:02   ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2004-06-20 10:41 Carsten Rietzschel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox