From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 21 08:27:45 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 639DD106564A for ; Sun, 21 Jun 2009 08:27:45 +0000 (UTC) (envelope-from hexanism@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id A5AA58FC0C for ; Sun, 21 Jun 2009 08:27:44 +0000 (UTC) (envelope-from hexanism@gmx.de) Received: (qmail invoked by alias); 21 Jun 2009 08:27:42 -0000 Received: from koln-4db4ec1a.pool.einsundeins.de (EHLO phenom.home.network) [77.180.236.26] by mail.gmx.net (mp045) with SMTP; 21 Jun 2009 10:27:42 +0200 X-Authenticated: #12668306 X-Provags-ID: V01U2FsdGVkX19WDkcadalWUuiB5lY9VZSQE0RTiPD6V+oN63pfUj X3DhUaBGZlSkyr Message-ID: <4A3DEEFC.4010204@gmx.de> Date: Sun, 21 Jun 2009 10:27:40 +0200 From: "hexanism@gmx.de" User-Agent: Thunderbird 2.0.0.21 (X11/20090605) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: multipart/mixed; boundary="------------050505060708020706010100" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53,0.47,0.78,0.77,0.7 Subject: Resume problem (Motherboard: MSI 790GX-G65) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2009 08:27:45 -0000 This is a multi-part message in MIME format. --------------050505060708020706010100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I am using suspend/resume (S3) a lot in Linux. Unfortunately I could not get it to work with FreeBSD. I wanted to solve the Problem by trying the hints in the FreeBSD manual. I could not get it to work. Maybe someone can point me in the right direction, I do not have any experience with ACPI/dsdt debugging. The motherboard I am using is a MSI 790GX-G65 featuring the AMD 790 Chipset. This model is quite a new AM3 board. It has an onboard 3D-accelerated AMD graphics card. The Bios is up to date (Revision 1.3). I am using FreeBSD 7.2-RC2 with the generic kernel (I also did all the testing with another hardrive using FreeBSD 7.2-RELEASE). Suspend and resume work with Linux (Ubuntu 9.04) and Windows XP 64 flawlessly. S1 freezes the screen about two seconds after calling "acpiconf -s 1". Then I have to press the reset button. S3/suspend seems to work. The Fans and drives turn off and the power led acts exactly the same way as it acts under Linux and Windows. Under Linux/Windows I can resume by Keyboard. Under FreeBSD that does not work, I have to press the power button to get the computer to react. Unfortunately the screen stays black (drives and fans do get turned on). I have to press the reset button. I inspected the dsdt of my motherboard: http://innoits.de/chris-msi790gx65.asl There are a lot of errors when recompiling with iasl (about 180 Errors, most of them "Object does not exist"). I downloaded the ACPI specifications (3.0a, 3.0b and 4.0) but could not fix the Errors (I started with the first one ;)) due to my lack of knowledge concerning ACPI. What can I do now? Most of the errors are of the same type. I hope that ther is a simple solution that I just can't solve by myself. Is there a good beginner friendly dsdt tutorial around? Is it possible that the dsdt of my motherboard uses a newer ACPI revision (4.0) and thus is incompatible with the current version of iasl? Thank you very much for reading this... Chris --------------050505060708020706010100 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RC2 #0: Fri Jun 5 09:46:42 CEST 2009 root@phenom.home.network:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Phenom(tm) II X3 720 Processor (2807.08-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f42 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff,,,Prefetch,,,,> TSC: P-state invariant Cores per package: 3 real memory = 3489202176 (3327 MB) avail memory = 3409829888 (3251 MB) ACPI APIC Table: <7576MS A7576100> FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 ACPI Warning (tbfadt-0505): Optional field "Pm2ControlBlock" has zero address or length: 0 0/1 [20070320] ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <7576MS A7576100> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fec10000, 20 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cff00000 (3) failed ACPI HPET table warning: Sequence is non-zero (2) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc0ff mem 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 5.0 on pci1 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 pcib2: irq 17 at device 5.0 on pci0 pci2: on pcib2 re0: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff,0xfdffc000-0xfdffffff irq 17 at device 0.0 on pci2 re0: Using 1 MSI messages re0: Chip rev. 0x28000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:24:21:26:7e:45 re0: [FILTER] pcib3: irq 18 at device 6.0 on pci0 pci3: on pcib3 fwohci0: <1394 Open Host Controller Interface> port 0xe800-0xe8ff mem 0xfebff800-0xfebfffff irq 18 at device 0.0 on pci3 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:10:dc:00:01:90:3b:2e fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:10:dc:90:3b:2e fwe0: Ethernet address: 02:10:dc:90:3b:2e fwip0: on firewire0 fwip0: Firewire address: 00:10:dc:00:01:90:3b:2e @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x1094000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode atapci0: port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfe7ffc00-0xfe7fffff irq 22 at device 17.0 on pci0 atapci0: [ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] ohci0: mem 0xfe7fe000-0xfe7fefff irq 16 at device 18.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfe7fd000-0xfe7fdfff irq 16 at device 18.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xfe7ff800-0xfe7ff8ff irq 17 at device 18.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 6 ports with 6 removable, self powered ohci2: mem 0xfe7fc000-0xfe7fcfff irq 18 at device 19.0 on pci0 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb3: OHCI version 1.0, legacy support usb3: SMM does not respond, resetting usb3: on ohci2 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 3 ports with 3 removable, self powered ohci3: mem 0xfe7fb000-0xfe7fbfff irq 18 at device 19.1 on pci0 ohci3: [GIANT-LOCKED] ohci3: [ITHREAD] usb4: OHCI version 1.0, legacy support usb4: SMM does not respond, resetting usb4: on ohci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 3 ports with 3 removable, self powered ehci1: mem 0xfe7ff400-0xfe7ff4ff irq 19 at device 19.2 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb5: EHCI version 1.0 usb5: companion controllers, 3 ports each: usb3 usb4 usb5: on ehci1 usb5: USB revision 2.0 uhub5: on usb5 uhub5: 6 ports with 6 removable, self powered pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] hdac0: mem 0xfe7f4000-0xfe7f7fff irq 16 at device 20.2 on pci0 hdac0: HDA Driver Revision: 20090329_0131 hdac0: [ITHREAD] isab0: at device 20.3 on pci0 isa0: on isab0 pcib4: at device 20.4 on pci0 pci4: on pcib4 ohci4: mem 0xfe7fa000-0xfe7fafff irq 18 at device 20.5 on pci0 ohci4: [GIANT-LOCKED] ohci4: [ITHREAD] usb6: OHCI version 1.0, legacy support usb6: SMM does not respond, resetting usb6: on ohci4 usb6: USB revision 1.0 uhub6: on usb6 uhub6: 2 ports with 2 removable, self powered acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 cpu2: on acpi0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub0 kbd2 at ukbd0 ums0: on uhub4 ums0: 4 buttons and Z dir. Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad4: 610480MB at ata2-master SATA300 ad6: 476940MB at ata3-master SATA300 acd0: DVDR at ata4-master SATA150 hdac0: HDA Codec #3: Realtek ALC889 pcm0: at cad 3 nid 1 on hdac0 pcm1: at cad 3 nid 1 on hdac0 pcm2: at cad 3 nid 1 on hdac0 pcm3: at cad 3 nid 1 on hdac0 SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider acd0 is iso9660/COD2DVD. GEOM_LABEL: Label for provider ad6s1 is ufsid/47bfa940baa976b0. GEOM_LABEL: Label for provider ad4s2a is ufsid/4a0421dbf6c33b7f. GEOM_LABEL: Label for provider ad4s2d is ufsid/4a0421de783ef232. GEOM_LABEL: Label for provider ad4s2e is ufsid/4a0421db6fb07dcc. GEOM_LABEL: Label for provider ad4s2f is ufsid/4a0421db9ffdbb73. Trying to mount root from ufs:/dev/ad4s2a GEOM_LABEL: Label ufsid/4a0421dbf6c33b7f removed. GEOM_LABEL: Label for provider ad4s2a is ufsid/4a0421dbf6c33b7f. GEOM_LABEL: Label ufsid/4a0421db6fb07dcc removed. GEOM_LABEL: Label ufsid/47bfa940baa976b0 removed. GEOM_LABEL: Label for provider ad4s2e is ufsid/4a0421db6fb07dcc. GEOM_LABEL: Label for provider ad6s1 is ufsid/47bfa940baa976b0. GEOM_LABEL: Label ufsid/4a0421db9ffdbb73 removed. GEOM_LABEL: Label for provider ad4s2f is ufsid/4a0421db9ffdbb73. GEOM_LABEL: Label ufsid/4a0421de783ef232 removed. GEOM_LABEL: Label for provider ad4s2d is ufsid/4a0421de783ef232. GEOM_LABEL: Label ufsid/4a0421dbf6c33b7f removed. GEOM_LABEL: Label ufsid/4a0421db6fb07dcc removed. GEOM_LABEL: Label ufsid/4a0421db9ffdbb73 removed. GEOM_LABEL: Label ufsid/4a0421de783ef232 removed. GEOM_LABEL: Label ufsid/47bfa940baa976b0 removed. vgapci0: child drm0 requested pci_disable_busmaster drm0: detached kldunload: attempt to unload file that was loaded by the kernel pcm0: detached pcm1: detached pcm2: detached pcm3: detached hdac0: detached --------------050505060708020706010100 Content-Type: text/plain; name="kldstat.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kldstat.txt" Id Refs Address Size Name 1 3 0xc0400000 9fab28 kernel 6 1 0xc0ed9000 6a45c acpi.ko --------------050505060708020706010100 Content-Type: text/plain; name="sysctl_hw_acpi.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sysctl_hw_acpi.txt" hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 --------------050505060708020706010100 Content-Type: text/plain; name="uname_a.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="uname_a.txt" FreeBSD phenom.home.network 7.2-RC2 FreeBSD 7.2-RC2 #0: Fri Jun 5 09:46:42 CEST 2009 root@phenom.home.network:/usr/obj/usr/src/sys/GENERIC i386 --------------050505060708020706010100 Content-Type: text/plain; name="acpidump_warning.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="acpidump_warning.txt" acpidump: RSDT entry 3 (sig OEMB) is corrupt --------------050505060708020706010100--