From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 17:10:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38B1C16A4CE for ; Mon, 11 Oct 2004 17:10:06 +0000 (GMT) Received: from mail.sci.brooklyn.cuny.edu (mail.sci.brooklyn.cuny.edu [146.245.250.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FA6B43D4C for ; Mon, 11 Oct 2004 17:10:05 +0000 (GMT) (envelope-from dayton@brooklyn.cuny.edu) Received: (from root@localhost) by mail.sci.brooklyn.cuny.edu (8.12.11/8.12.8) id i9BHA4pt024040 for ; Mon, 11 Oct 2004 13:10:04 -0400 Received: from hurt.theclones.net (w244.z064002068.nyc-ny.dsl.cnc.net [64.2.68.244])i9BH9r2S023765; Mon, 11 Oct 2004 13:09:53 -0400 Received: from hurt.theclones.net (localhost [127.0.0.1]) by hurt.theclones.net (Postfix) with ESMTP id 6DEAE64; Mon, 11 Oct 2004 13:09:54 -0400 (EDT) Date: Mon, 11 Oct 2004 13:09:54 -0400 Message-ID: From: dayton@brooklyn.cuny.edu To: freebsd-questions@freebsd.org In-Reply-To: <20041011101614.9BABC16A4F1@hub.freebsd.org> References: <20041011101614.9BABC16A4F1@hub.freebsd.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) cc: freebsd-questions-request@freebsd.org cc: Dayton Clark Subject: Tecra M1/5.2.1 Suspend problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 17:10:06 -0000 Folks, I upgraded to 5.2.1 (from 4.9) a few weeks ago. When I suspend and then resume, the screen is blank. At first I thought the system was hanging, but it turns out that the system is still alive but the screen is blank. I assumed that XFree/kde was the culprit, but it happens even if I boot to the console prompt and do not start X. My only work around now is to reboot (which pretty much defeats the purpose of suspending). I searched the lists and found some similar problems and a recommendation to use apm instead of acpi. No change. Detailed information is attached, including a dmesg made after resume while the screen was blank. Note that I use the ipw driver for my internal wireless card. The version is ipw-freedbsd-1.2.1. You'll also see that I now have both apm and apci loaded. As far as I can tell this does not make things any better or worse. For what its worth, I run apache2, mysqld, and postfix. Any help would be appreciated. A fix. Some way to jolt the console/video driver after resuming (I've tried 'stty sane' and jumping between the pseudo consoles). dayton Attachments: ============ Here is uname -a: FreeBSD hurt.theclones.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 Here is kldstat: Id Refs Address Size Name 1 11 0xc0400000 5e16d8 kernel 2 1 0xc09e2000 91b0 if_ipw.ko 3 1 0xc09ec000 5944 apm.ko 4 1 0xc09f2000 51ac8 acpi.ko 5 1 0xc4b0f000 19000 linux.ko Here is dmesg before suspend: Copyright (c) 1992-2004 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 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel.GENERIC/kernel" at 0xc0a45000. Preloaded elf module "/boot/kernel.GENERIC/if_ipw.ko" at 0xc0a452ec. Preloaded elf module "/boot/kernel.GENERIC/apm.ko" at 0xc0a453a0. Preloaded elf module "/boot/kernel.GENERIC/acpi.ko" at 0xc0a45450. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1400MHz (1396.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf real memory = 536674304 (511 MB) avail memory = 511635456 (487 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00f01a0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xd808-0xd80b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTA is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 agp0: mem 0xc0000000-0xcfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) uhci0: port 0xefe0-0xefff irq 11 at device 29.0 on pci0 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 0xef80-0xef9f irq 11 at device 29.1 on pci0 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 0xef60-0xef7f irq 11 at device 29.2 on pci0 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 pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 7 INTA is routed to irq 11 pcib2: slot 10 INTA is routed to irq 11 pcib2: slot 13 INTA is routed to irq 11 fwohci0: mem 0xdfdf8000-0xdfdfbfff,0xdfdff800-0xdfdfffff irq 11 at device 7.0 on pci2 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:00:39:00:00:3b:cf:6a 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:00:39:3b:cf:6a sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ipw0: mem 0xdfdf7000-0xdfdf7fff irq 11 at device 10.0 on pci2 ipw0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps cbb0: at device 11.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: slot 11 INTA is routed to irq 11 cbb0: [MPSAFE] cbb1: at device 11.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib2: slot 11 INTB is routed to irq 11 cbb1: [MPSAFE] pci2: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xef30-0xef3f,0xef44-0xef47,0xef48-0xef4f,0xef54-0xef57,0xef58-0xef5f irq 11 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: