From owner-freebsd-acpi@FreeBSD.ORG Mon May 12 20:48:00 2008 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 E4B4B106564A for ; Mon, 12 May 2008 20:47:59 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.185]) by mx1.freebsd.org (Postfix) with ESMTP id 7023E8FC21 for ; Mon, 12 May 2008 20:47:59 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by rn-out-0910.google.com with SMTP id j40so603365rnf.12 for ; Mon, 12 May 2008 13:47:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Bhp8iTDoi9xXA9skattCAbPRc1mlN6zhxsGdP5iSeGY=; b=L9A+Ty3QwDk6bnFWObredsh9UHsTaW93j+WNuqDCnFchNKMU7hLiNLfiAweQ8S1rJ+b6/7brjjtvp0bBYsxv5yQ31g+3wM/rnDtIIoCgECn7qa2zWd/G2w/+hVQtQpZsca1ACTOb1tDWW08yy6iwutJAmbXjluQRWnRYbBWd4BU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=OLfifLKT32yBLArhbFXktzGI8Z4mZSuDN49LVL+k56oleuECFd7yq2aTia05o0TCgYNOVPq2EEuOEnc94O8nxatBuJBY14VZNonu4dLOSxipQep9PKCdg9IF7+eE8ZdBskQ1Akdyhz74C3naFkQkS3YYVpozyvbVX68l5vLh5h8= Received: by 10.101.67.15 with SMTP id u15mr8915693ank.66.1210625278284; Mon, 12 May 2008 13:47:58 -0700 (PDT) Received: by 10.100.239.17 with HTTP; Mon, 12 May 2008 13:47:57 -0700 (PDT) Message-ID: <539c60b90805121347l4835d558w95666aeb10755600@mail.gmail.com> Date: Mon, 12 May 2008 13:47:57 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "Rui Paulo" In-Reply-To: <481A3333.6070407@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90804301105x7658d95eo6bb265420f85140c@mail.gmail.com> <4819BEAE.2060307@FreeBSD.org> <539c60b90805011339l2d3c300cl6a5ea3af76f97539@mail.gmail.com> <539c60b90805011341i22d9f85ci7e6d20f925720698@mail.gmail.com> <481A3333.6070407@FreeBSD.org> X-Google-Sender-Auth: 7f656e5877eeaaa1 Cc: freebsd-acpi@freebsd.org Subject: Re: Biostar 945GC-M7 TE - won't suspend ("oper not supported"), even though sysctl's say S1 S3 supported X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 20:48:00 -0000 On Thu, May 1, 2008 at 2:16 PM, Rui Paulo wrote: > Steve Franks wrote: > > > Ok, I admit, I had a ucom plugged in in the dmesg I sent, but I assure > > you, that isn't the issue. I even just double-checked. > > > > I think your best bet is boot with ACPI debug turned on. > Try adding: > options ACPI_DEBUG > to your kernel config file, and: > debug.acpi.layer=ACPI_ALL_DRIVERS > debug.acpi.level=ACPI_LV_ALL_EXCEPTIONS > > If that doesn't show anything particularly interesting, try increasing the > debugging level. > For more information, see the acpi(4) man page. > > Good luck, > -- > Rui Paulo > Finally got around to rebuilding my kernel with options acpi debug. Not everyone recognizes blah.foo.bar=somestring as an input to sysctl, and the acpi manpage is less than explicit about it also, by the way, saying only "some of these things have equivalent sysctl's". Not having much luck, other than a shiny new kernel, though: Steve [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$ sudo sysctl debug.acpi.layer=ACPI_ALL_DRIVERS debug.acpi.layer: NONE -> ACPI_AC_ADAPTER ACPI_BATTERY ACPI_BUS ACPI_BUTTON ACPI_EC ACPI_FAN ACPI_POWERRES ACPI_PROCESSOR ACPI_THERMAL ACPI_TIMER ACPI_ALL_DRIVERS [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$ sudo sysctl debug.acpi.level=ACPI_LV_ALL_EXCEPTIONS debug.acpi.level: NONE -> ACPI_LV_ERROR ACPI_LV_WARN ACPI_LV_INIT ACPI_LV_DEBUG_OBJECT ACPI_LV_INFO ACPI_LV_ALL_EXCEPTIONS [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$ sudo sysctl hw.acpi.verbose=1 hw.acpi.verbose: 0 -> 1 [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$ sudo acpiconf -s3 acpiconf: request sleep type (3) failed: Operation not supported [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$ [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$ dmesg Copyright (c) 1992-2008 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.0-RELEASE-p1 #0: Mon May 12 11:27:26 MST 2008 root@dystant.franks-development.dyndns.biz:/usr/obj/usr/src/sys/DYSTANT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 430 @ 1.80GHz (1799.99-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10661 Stepping = 1 Features=0xafebfbff Features2=0xe31d AMD Features=0x20100800 AMD Features2=0x1 usable memory = 1051373568 (1002 MB) avail memory = 1012994048 (966 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 kqemu version 0x00010300 kqemu: KQEMU installed, max_locked_mem=513364kB. ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (May 12 2008 11:27:11) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3f6f0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 cpu0: on acpi0 p4tcc0: on cpu0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xff00-0xff07 mem 0xfde80000-0xfdefffff,0xc0000000-0xcfffffff,0xfdf00000-0xfdf3ffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M pcm0: mem 0xfdff8000-0xfdffbfff irq 16 at device 27.0 on pci0 pcm0: [ITHREAD] pcib1: irq 16 at device 28.0 on pci0 pci1: on pcib1 pcib2: irq 17 at device 28.1 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) uhci0: port 0xfe00-0xfe1f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] uhci0: LegSup = 0x003a usb0: on uhci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xfd00-0xfd1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] uhci1: LegSup = 0x0010 usb1: on uhci1 usb1: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xfc00-0xfc1f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] uhci2: LegSup = 0x0010 usb2: on uhci2 usb2: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xfb00-0xfb1f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] uhci3: LegSup = 0x0010 usb3: on uhci3 usb3: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfdfff000-0xfdfff3ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci3: on pcib3 vr0: port 0xde00-0xdeff mem 0xfdaff000-0xfdaff0ff irq 16 at device 2.0 on pci3 vr0: Quirks: 0x0 miibus0: on vr0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: using obsoleted if_watchdog interface vr0: Ethernet address: 00:1b:11:b0:ec:1d vr0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xf900-0xf907,0xf800-0xf803,0xf700-0xf707,0xf600-0xf603,0xf500-0xf50f mem 0xfdffe000-0xfdffe3ff irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 ppc0: cannot reserve I/O port range 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 ums0: on uhub1 ums0: 4 buttons and Z dir. ugen0: on uhub1 ugen1: on uhub2 Timecounter "TSC" frequency 1799986311 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: DVDR at ata0-master UDMA33 ad4: 152627MB at ata2-master SATA150 pcm0: pcm0: Trying to mount root from ufs:/dev/ad4s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted tap0: Ethernet address: 00:bd:bc:16:00:00 tap1: Ethernet address: 00:bd:cd:16:00:01 tap2: Ethernet address: 00:bd:d0:16:00:02 tap3: Ethernet address: 00:bd:d4:16:00:03 tap4: Ethernet address: 00:bd:d7:16:00:04 tap5: Ethernet address: 00:bd:db:16:00:05 tap6: Ethernet address: 00:bd:e0:16:00:06 tap7: Ethernet address: 00:bd:e5:16:00:07 tap8: Ethernet address: 00:bd:e9:16:00:08 tap9: Ethernet address: 00:bd:ef:16:00:09 drm0: on vgapci0 info: [drm] AGP at 0xc0000000 256MB info: [drm] Initialized i915 1.5.0 20060119 drm0: [ITHREAD] ACPI set debug layer 'ACPI_ALL_DRIVERS' ACPI set debug layer 'ACPI_ALL_DRIVERS' level 'ACPI_LV_ALL_EXCEPTIONS' [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$