From owner-freebsd-bugs Thu Aug 3 2: 0:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B89F37B844 for ; Thu, 3 Aug 2000 02:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA31409; Thu, 3 Aug 2000 02:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from genius.systems.pavilion.net (genius.systems.pavilion.net [212.74.1.100]) by hub.freebsd.org (Postfix) with ESMTP id AC4B437B596 for ; Thu, 3 Aug 2000 01:49:59 -0700 (PDT) (envelope-from joe@pavilion.net) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 3BBA89B28; Thu, 3 Aug 2000 01:44:39 +0100 (BST) Message-Id: <20000803004439.3BBA89B28@genius.systems.pavilion.net> Date: Thu, 3 Aug 2000 01:44:39 +0100 (BST) From: joe@pavilion.net Reply-To: joe@pavilion.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/20375: APM doesn't work properly! Suspend/resume/suspend/hang Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20375 >Category: kern >Synopsis: APM doesn't work properly! Suspend/resume/suspend/hang >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 03 02:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Joe Karthauser >Release: FreeBSD 5.0-CURRENT i386 >Organization: FreeBSD.Org >Environment: Sony Vaio F290 laptop. % uname -a FreeBSD genius.systems.pavilion.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Aug 3 01:24:23 BST 2000 root@genius.systems.pavilion.net:/usr/src/sys/compile/CUTDOWN i386 % dmesg Copyright (c) 1992-2000 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.0-CURRENT #0: Thu Aug 3 01:24:23 BST 2000 root@genius.systems.pavilion.net:/usr/src/sys/compile/CUTDOWN Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (397.90-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66d Stepping = 13 Features=0x183f9ff real memory = 201261056 (196544K bytes) avail memory = 192909312 (188388K bytes) Preloaded elf kernel "kernel" at 0xc0267000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: on motherboard pci0: on pcib0 pci0: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcd0-0xfcdf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 9 pci0: at 7.3 pci0: at 8.0 irq 9 pci0: at 8.1 irq 9 pci0: at 9.0 irq 9 pci0: at 10.0 pci0: at 10.1 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources ata1-slave: ata_command: timeout waiting for intr ata1-slave: identify failed ad0: 19077MB [38760/16/63] at ata0-master using UDMA33 Mounting root from ufs:/dev/ad0s2a % cat /sys/i386/conf/CUTDOWN machine i386 cpu I586_CPU cpu I686_CPU ident CUTDOWN maxusers 128 hints "CUTDOWN.hints" #Default places to look for devices. makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options DDB options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] device isa device pci options COMPAT_OLDISA # compatability shims for lnc, fe, le options COMPAT_OLDPCI # compatability shims for lnc, vx # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc 1 device atkbd device psm device vga # splash screen/screen saver device splash # syscons is the default console driver, resembling an SCO console device sc 1 options SC_HISTORY_SIZE=2000 # number of history buffer lines # Floating point support - do not disable. device npx # Power management support (see LINT for more options) device apm # Pseudo devices - the number indicates how many units to allocated. device loop # Network loopback device pty # Pseudo-ttys (telnet etc) >Description: Something has recently broken APM support for me. If I suspend, I can resume, but the machine freezes upon a further suspend. I've tried cutting the kernel config down to remove the possiblity that it's a pccard or pcm problem. >How-To-Repeat: Compile the supplied kernel config on a laptop and try suspend/resume/suspend/resume and see whether you get a hang or not. >Fix: Don't know - I'm going to go back in time and see if I can work out when it broke. It's been broken for a couple of weeks I believe. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message