From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 22 15:07:55 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23ADC16A401 for ; Thu, 22 Mar 2007 15:07:55 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id 1E7D913C46A for ; Thu, 22 Mar 2007 15:07:54 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from [172.24.145.69] (endor.vindaloo.com [172.24.145.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id 60ABA5CBE; Thu, 22 Mar 2007 10:48:24 -0400 (EDT) Message-ID: <46029737.9070802@vindaloo.com> Date: Thu, 22 Mar 2007 10:48:23 -0400 From: Christopher Hilton User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ACPI suspend/resume on HP Compaq nc6230 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: Thu, 22 Mar 2007 15:07:55 -0000 I'm having a problem getting my HP nc6230 to Suspend/Resume under ACPI on FreeBSD. I've tried 6.1-STABLE, 6.2-RELEASE, and 7.0-CURRENT-200703. I've written about this before and always come up to a dead end. Under 6.1 I got as far as this as pulling messages from the serial console for a suspend/resume cycle. I'd love to get this working and I think that with a little guidance I might be able to. If anyone can lend a hand that would be great. Here's a Console dump of a suspend/resume cycle on 6.1-STABLE. to get this I had to enable comconsoles and log the messages in a terminal emulator. -------- Copyright (c) 1992-2006 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 6.1-STABLE #1: Wed Aug 30 09:53:34 EDT 2006 chris at dagobah:/usr/src/sys/i386/compile/HP6230 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.86GHz (1862.07-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff Features2=0x180 AMD Features=0x100000 real memory = 1073545216 (1023 MB) avail memory = 1041588224 (993 MB) ACPI APIC Table: ACPI: Overriding _OS definition with "Windows 2001" ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci16: on pcib2 pci16: at device 0.0 (no driver attached) pcib3: irq 17 at device 28.1 on pci0 pci32: on pcib3 uhci0: port 0x3000-0x301f irq 20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x3020-0x303f irq 17 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x3040-0x305f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xc8500000-0xc85003ff irq 20 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: wrong number of companions (4 != 3) usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 8 ports with 8 removable, self powered pcib4: at device 30.0 on pci0 pci2: on pcib4 pci2: at device 4.0 (no driver attached) cbb0: mem 0xc8101000-0xc8101fff irq 18 at device 6.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci2: at device 6.5 (no driver attached) pcm0: port 0x3100-0x31ff,0x3200-0x323f mem 0xc8501000-0xc85011ff,0xc8502000-0xc85020ff irq 21 at device 30.2 on pci0 pcm0: isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3240-0x324f irq 16 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 battery0: on acpi0 battery1: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 acpi_tz3: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: port 0x3e8-0x3ef,0x100-0x10f irq 3 drq 3 on acpi0 sio1: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1862065314 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata0-slave PIO4 Trying to mount root from ufs:/dev/ad0s4a cpu0: Cx states changed bge0: mem 0xc8000000-0xc800ffff irq 16 at device 0.0 on pci16 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:15:60:b1:78:ae bge0: link state changed to DOWN bge0: link state changed to UP acpi_video0: port 0x2000-0x20ff mem 0xc0000000-0xc7ffffff,0xc8400000-0xc840ffff irq 16 at device 0.0 on pci1 vga0: failed to save state (nbytes=4) ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ACPI-1304: *** Error: Method execution failed [\\_SB_.C002.C0EE] (Node 0xc4aea700), AE_AML_BUFFER_LIMIT ACPI-1304: *** Error: Method execution failed [\\_SB_.C002.C0F3._SRS] (Node 0xc4aed180), AE_AML_BUFFER_LIMIT pci_link7: Unable to route IRQs: AE_AML_BUFFER_LIMIT bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: PHY read timed out bge0: RX CPU self-diagnostics failed! bge0: flow-through queue init failed bge0: initialization failure wakeup from sleeping state (slept 00:00:27) subdisk0: detached ad0: detached Fatal trap 12: page fault while in kernel mode fault virtual address = 0x3b0 fault code = supervisor read, page not present instruction pointer = 0x20:0xc046ecee stack pointer = 0x28:0xe35aacc8 frame pointer = 0x28:0xe35aacd8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) trap number = 12 panic: page fault Uptime: 26m11s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Copyright (c) 1992-2006 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 6.1-STABLE #1: Wed Aug 30 09:53:34 EDT 2006 chris at dagobah:/usr/src/sys/i386/compile/HP6230 /* ---- Kernel Config ------------------------------------- */ # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.11 2006/07/13 08:11:46 delphij Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident HP6230 # To statically compile in device wiring instead of /boot/device.hints # hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #options SCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. device eisa device pci # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! ## device miibus # MII bus support ## device bge # Broadcom BCM570xx Gigabit Ethernet # Wireless NIC cards ## device wlan # 802.11 support ## device wlan_wep # 802.11 WEP support ## device wlan_ccmp # 802.11 CCMP support ## device wlan_tkip # 802.11 TKIP support ## device ath # Atheros pci/cardbus NIC's ## device ath_hal # Atheros HAL (Hardware Access Layer) ## device ath_rate_sample # SampleRate tx rate control for ath # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse ## device ural # Ralink Technology RT2500USB wireless NICs device urio # Diamond Rio 500 MP3 player device uscanner # Scanners device uvisor device ucom # USB Ethernet, requires miibus ## device aue # ADMtek USB Ethernet ## device axe # ASIX Electronics USB Ethernet ## device cdce # Generic USB over Ethernet ## device cue # CATC USB Ethernet ## device kue # Kawasaki LSI USB Ethernet ## device rue # RealTek RTL8150 USB Ethernet -- Chris -- __o "All I was doing was trying to get home from work." _`\<,_ -Rosa Parks ___(*)/_(*)___________________________________________________________ Christopher Sean Hilton pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14