Date: Thu, 23 Oct 2008 00:20:37 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Jung-uk Kim <jkim@FreeBSD.org> Cc: freebsd-acpi@FreeBSD.org, peter@FreeBSD.org, freebsd-amd64@FreeBSD.org Subject: Re: Semi-working patch for amd64 suspend/resume Message-ID: <48FF9925.4090007@FreeBSD.org> In-Reply-To: <200810221623.09613.jkim@FreeBSD.org> References: <1224616985.00027652.1224606603@10.7.7.3> <48FF78F0.2090801@FreeBSD.org> <200810221623.09613.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jung-uk Kim wrote: > When you do 'sysctl debug.acpi.suspend_bounce=1' and 'acpiconf -s 3', > does it bounce back? If it does not, there are other problems, e.g., > device drivers. On my desktop, for example, vga(4) tries to restore > previous state while resuming but it hangs system. In fact, I > believe ISA-era EGA/VGA save/restore routines do not work for modern > graphics cards at all. :-( Test passed from both console and XOrg. I have integrated i965GM video. Here is verbose messages from that trip "there and back again": Oct 23 00:11:55 mavbook acpi: suspend at 20081023 00:11:55 Oct 23 00:11:59 mavbook kernel: bge0: Disabling fastboot Oct 23 00:11:59 mavbook kernel: bge0: link DOWN Oct 23 00:11:59 mavbook kernel: pci0:4:0:0: Transition from D0 to D3 Oct 23 00:11:59 mavbook kernel: iwn0: iwn_mem_lock: could not lock memory Oct 23 00:11:59 mavbook last message repeated 17 times Oct 23 00:11:59 mavbook kernel: pci0:5:0:0: Transition from D0 to D3 Oct 23 00:11:59 mavbook kernel: usb4: interrupt while not operating ignored Oct 23 00:11:59 mavbook last message repeated 3 times Oct 23 00:11:59 mavbook kernel: fwohci0: fwohci_pci_suspend Oct 23 00:11:59 mavbook kernel: pci0:10:9:0: Transition from D0 to D3 Oct 23 00:11:59 mavbook kernel: usb4: interrupt while not operating ignored Oct 23 00:11:59 mavbook last message repeated 3 times Oct 23 00:12:00 mavbook kernel: vga0: saving 68 bytes of video state Oct 23 00:12:00 mavbook kernel: pci0:0:2:0: Transition from D0 to D3 Oct 23 00:12:00 mavbook kernel: pci0:0:2:1: Transition from D0 to D3 Oct 23 00:12:00 mavbook kernel: pci0:0:26:7: Transition from D0 to D3 Oct 23 00:12:00 mavbook kernel: acpi: bad write to port 0x080 (32), val 0xbb Oct 23 00:12:06 mavbook kernel: pci0:0:27:0: Transition from D0 to D3 Oct 23 00:12:06 mavbook kernel: pci0:0:31:2: Transition from D0 to D3 Oct 23 00:12:06 mavbook kernel: pci0:0:2:0: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: pci0:0:2:1: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: acpi: bad write to port 0x080 (32), val 0xaa Oct 23 00:12:06 mavbook kernel: pci0:0:26:7: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: pci0:0:27:0: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: pci0:0:31:2: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: hdac0: GPIO init: data=0x00000000 mask=0x00000000 dir=0x00000000 Oct 23 00:12:06 mavbook kernel: hdac0: GPIO commit: data=0x00000001 mask=0x00000001 dir=0x00000001 Oct 23 00:12:06 mavbook kernel: hdac0: Enabling headphone/speaker audio routing switching: Oct 23 00:12:06 mavbook kernel: hdac0: as=0 sense nid=20 [UNSOL] Oct 23 00:12:06 mavbook kernel: hdac0: Pin sense: nid=20 res=0x80000000 Oct 23 00:12:06 mavbook kernel: pci0:4:0:0: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: bge0: link UP Oct 23 00:12:06 mavbook kernel: bge0: Disabling fastboot Oct 23 00:12:06 mavbook kernel: bge0: link DOWN Oct 23 00:12:06 mavbook kernel: bge0: Disabling fastboot Oct 23 00:12:06 mavbook kernel: pci0:5:0:0: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: pci0:10:9:0: Transition from D3 to D0 Oct 23 00:12:06 mavbook kernel: fwohci0: Phy 1394a available S400, 3 ports. Oct 23 00:12:06 mavbook kernel: fwohci0: Link S400, max_rec 2048 bytes. Oct 23 00:12:06 mavbook kernel: fwohci0: Initiate bus reset Oct 23 00:12:06 mavbook kernel: fwohci0: BUS reset Oct 23 00:12:06 mavbook kernel: fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode Oct 23 00:12:06 mavbook kernel: ata0: reiniting channel .. Oct 23 00:12:06 mavbook kernel: ata0: reset tp1 mask=03 ostat0=50 ostat1=00 Oct 23 00:12:06 mavbook kernel: ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb Oct 23 00:12:06 mavbook kernel: ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 Oct 23 00:12:06 mavbook kernel: ata0: reset tp2 stat0=00 stat1=00 devices=0x10000 Oct 23 00:12:06 mavbook kernel: iwn0: RF switch: radio fdiisraebwlierde Oct 23 00:12:06 mavbook kernel: 0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) Oct 23 00:12:06 mavbook kernel: firewire0: bus manager 0 (me) Oct 23 00:12:06 mavbook kernel: fwohci0: phy int Oct 23 00:12:06 mavbook kernel: ugen0: at uhub2 port 3 (addr 2) disconnected Oct 23 00:12:06 mavbook kernel: bge0: link UP Oct 23 00:12:06 mavbook kernel: bge0: 2 link states coalesced Oct 23 00:12:06 mavbook kernel: bge0: link state changed to UP Oct 23 00:12:06 mavbook kernel: ugen1: at uhub0 port 1 (addr 2) disconnected Oct 23 00:12:06 mavbook kernel: ugen1: detached Oct 23 00:12:06 mavbook kernel: ums0: at uhub3 port 2 (addr 2) disconnected Oct 23 00:12:06 mavbook kernel: acd0: setting PIO4 on ICH8M chip Oct 23 00:12:06 mavbook kernel: ugen0: detached Oct 23 00:12:06 mavbook kernel: ukbd0: at uhub4 port 1 (addr 2) disconnected Oct 23 00:12:06 mavbook kernel: ums0: detached Oct 23 00:12:06 mavbook kernel: ukbd0: detached Oct 23 00:12:06 mavbook kernel: uhid0: at uhub4 port 1 (addr 2) disconnected Oct 23 00:12:06 mavbook kernel: uhid0: detached Oct 23 00:12:06 mavbook kernel: acd0: setting UDMA33 on ICH8M chip Oct 23 00:12:06 mavbook kernel: ata0: reinit done .. Oct 23 00:12:06 mavbook kernel: ata2: reiniting channel .. Oct 23 00:12:06 mavbook kernel: ata2: SATA connect time=0ms Oct 23 00:12:06 mavbook kernel: ata2: BUSY wait time=1ms Oct 23 00:12:06 mavbook kernel: ata2: SIGNATURE: 00000101 Oct 23 00:12:06 mavbook kernel: ata2: ahci_reset devices=00000001 Oct 23 00:12:06 mavbook kernel: ata2: reinit done .. Oct 23 00:12:06 mavbook kernel: ata3: reiniting channel .. Oct 23 00:12:06 mavbook kernel: ata3: SATA connect status=00000004 Oct 23 00:12:06 mavbook kernel: ata3: phy reset found no device Oct 23 00:12:06 mavbook kernel: ata3: reinit done .. Oct 23 00:12:06 mavbook kernel: ata4: reiniting channel .. Oct 23 00:12:06 mavbook kernel: ata4: SATA connect status=00000000 Oct 23 00:12:06 mavbook kernel: ata4: phy reset found no device Oct 23 00:12:06 mavbook kernel: ata4: reinit done .. Oct 23 00:12:06 mavbook kernel: atkbd: the current kbd controller command byte 0047 Oct 23 00:12:06 mavbook kernel: atkbd: keyboard ID 0x41ab (2) Oct 23 00:12:06 mavbook kernel: kbdc: RESET_KBD return code:00fa Oct 23 00:12:06 mavbook kernel: kbdc: RESET_KBD status:00aa Oct 23 00:12:06 mavbook kernel: battery0: battery initialization start Oct 23 00:12:06 mavbook kernel: battery0: battery initialization done, tried 1 times Oct 23 00:12:07 mavbook kernel: drm0: [MPSAFE] Oct 23 00:12:07 mavbook kernel: drm0: [ITHREAD] Oct 23 00:12:07 mavbook kernel: ugen0: <SuYin Acer CrystalEye webcam, class 239/2, rev 2.00/1.00, addr 2> on uhub2 Oct 23 00:12:07 mavbook kernel: ugen1: <TouchStrip Fingerprint Sensor, class 0/0, rev 1.00/0.01, addr 2> on uhub0 Oct 23 00:12:07 mavbook kernel: ums0: <Logitech USB RECEIVER, class 0/0, rev 1.10/25.10, addr 2> on uhub3 Oct 23 00:12:07 mavbook kernel: ums0: 16 buttons and Z dir. Oct 23 00:12:07 mavbook acpi: resumed at 20081023 00:12:07 Oct 23 00:12:07 mavbook root: Unknown USB device: vendor 0x064e product 0xa101 bus uhub2 Oct 23 00:12:07 mavbook root: Unknown USB device: vendor 0x147e product 0x2016 bus uhub0 Oct 23 00:12:07 mavbook root: Unknown USB device: vendor 0x046d product 0xc50e bus uhub3 Oct 23 00:12:09 mavbook root: Unknown USB device: vendor 0x046d product 0xc313 bus uhub4 Oct 23 00:12:09 mavbook kernel: ukbd0: <BTC USB Multimedia Keyboard, class 0/0, rev 1.10/1.00, addr 2> on uhub4 Oct 23 00:12:09 mavbook kernel: kbd2 at ukbd0 Oct 23 00:12:09 mavbook kernel: kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000 Oct 23 00:12:09 mavbook kernel: uhid0: <BTC USB Multimedia Keyboard, class 0/0, rev 1.10/1.00, addr 2> on uhub4 -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48FF9925.4090007>