Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2009 10:27:40 +0200
From:      "hexanism@gmx.de" <hexanism@gmx.de>
To:        freebsd-acpi@freebsd.org
Subject:   Resume problem (Motherboard: MSI 790GX-G65)
Message-ID:  <4A3DEEFC.4010204@gmx.de>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,<b5>,<b6>,<b7>,Prefetch,<b9>,<b10>,<b12>,<b13>>
  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 <Version 2.1> 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: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 5.0 on pci1
drm0: <ATI Radeon 3300 Graphics> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.29.0 20080528
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 5.0 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> 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: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> 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: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0
pci3: <ACPI PCI bus> 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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:10:dc:90:3b:2e
fwe0: Ethernet address: 02:10:dc:90:3b:2e
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:10:dc:00:01:90:3b:2e @ 0xfffe00000000, S400, maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x1094000
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
atapci0: <ATI IXP700 SATA300 controller> 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: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 3 ports with 3 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 6 ports with 6 removable, self powered
ohci2: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci2
usb3: USB revision 1.0
uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 3 ports with 3 removable, self powered
ohci3: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci3
usb4: USB revision 1.0
uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 3 ports with 3 removable, self powered
ehci1: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> on ehci1
usb5: USB revision 2.0
uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5
uhub5: 6 ports with 6 removable, self powered
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci1: <ATI IXP700 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
hdac0: <ATI SB600 High Definition Audio Controller> mem 0xfe7f4000-0xfe7f7fff irq 16 at device 20.2 on pci0
hdac0: HDA Driver Revision: 20090329_0131
hdac0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci4: <ACPI PCI bus> on pcib4
ohci4: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci4
usb6: USB revision 1.0
uhub6: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
uhub6: 2 ports with 2 removable, self powered
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> 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: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd0: <vendor 0x046a product 0x0001, class 0/0, rev 1.00/9.08, addr 2> on uhub0
kbd2 at ukbd0
ums0: <B16_b_02 USB-PS/2 Optical Mouse, class 0/0, rev 2.00/98.02, addr 2> 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 <SAMSUNG HD642JJ 1AA01112> at ata2-master SATA300
ad6: 476940MB <WDC WD5000AACS-00ZUB0 01.01B01> at ata3-master SATA300
acd0: DVDR <TSSTcorp CDDVDW SH-S223F/SB03> at ata4-master SATA150
hdac0: HDA Codec #3: Realtek ALC889
pcm0: <HDA Realtek ALC889 PCM #0 Analog> at cad 3 nid 1 on hdac0
pcm1: <HDA Realtek ALC889 PCM #1 Analog> at cad 3 nid 1 on hdac0
pcm2: <HDA Realtek ALC889 PCM #2 Digital> at cad 3 nid 1 on hdac0
pcm3: <HDA Realtek ALC889 PCM #3 Digital> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A3DEEFC.4010204>