From owner-freebsd-current Mon Aug 16 21:55:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (Postfix) with ESMTP id EE131155A6 for ; Mon, 16 Aug 1999 21:55:09 -0700 (PDT) (envelope-from kfarmer@sympatico.ca) Received: from sympatico.ca (ppp12969.on.bellglobal.com [206.172.162.168]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id AAA16484; Tue, 17 Aug 1999 00:57:13 -0400 (EDT) Message-ID: <37B8EB8F.F7DA55B1@sympatico.ca> Date: Tue, 17 Aug 1999 04:56:47 +0000 From: Kelvin Farmer X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: iwasaki@jp.FreeBSD.org, freebsd-current@freebsd.org Subject: Re: apm problems. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > My understanding on your problems is: > 1. Standby by PM timer in BIOS setting fails with the system activity. If by fails you mean enters standby mode, then yes the computer enters standby mode while the system is active, after the period of time set in the bios, as long as no keys have been pressed on the keyboard during that time. > 2. No new process can be started after resume. > Is it correct? Yes, although this doesn't happen every time, sometimes everything is ok after a resume. This seems to be very repeatable following these steps. cd /usr/bin cp * /tmp & sleep 1 && apm -z (while copy is still in progress) [hit a key] any new process started freezes, nothing happens (including logins in getty, halt etc). > 1. My laptops also fails if the console or window is updating by the > output from running commands. But standby on other unused console > (ttyv1 or something), monitor blanks. Standby usually never stop > disk activities. > 2. Do you have `calcru: negative time' messages after resume? One of No. > Another possibility is apmd configuration. Is it correctly configured? > Please try to disable apmd to make it clear whether apmd causes > your problem. It does not appear to be apmd causing the problem since it occurs without apmd running. > > Apm does not seem to be behaving correctly on my computer (running > > yesterday's CURRENT) > > Is this first time for you? Have you met the problems before or just > recently? I just recently enabled apm & apmd, I had the problem of it going to standby mode while the system was busy awhile ago so disabled apm, however the problem of not being able to start new process is new. > I'd like to have your dmesg output. Are you using desktop PC, right? Yes, this is a desktop PC. Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Mon Aug 16 21:14:53 EDT 1999 root@tristal.on.bellglobal.com:/usr/src/sys/compile/TRISTAL Timecounter "i8254" frequency 1193343 Hz CPU: AMD-K6tm w/ multimedia extensions (199.93-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x562 Stepping = 2 Features=0x8001bf AMD Features=0x400<> real memory = 67108864 (65536K bytes) avail memory = 62623744 (61156K bytes) Preloaded elf kernel "kernel" at 0xc0268000. Probing for PnP devices: CSN 1 Vendor ID: CTL0070 [0x70008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041] Add hook "pcm resume handler" Add hook "pcm suspend handler" pcm1 (SB16pnp sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags 0x15 on isa npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: APM BIOS version 0102 apm: Code16 0xc00f0000, Data 0xc0000400 apm: Code entry 0x0000ef50, Idling CPU disabled, Management enabled apm: CS_limit=0xffff, DS_limit=0xffff apm: Engaged control enabled apm: found APM BIOS v1.2, connected at v1.2 apm: Slow Idling CPU disabled Add hook "default suspend" Add hook "default resume" pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 ata-pci0: at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 vga-pci0: irq 11 at device 20.0 on pci0 isa0: on motherboard fdc0: at port 0x3f0-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-0x6f on isa0 atkbd0: irq 1 on atkbdc0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: PC87306 chipset (PS2/NIBBLE) in COMPATIBLE mode lpt0: on ppbus 0 lpt0: Interrupt-driven port ata0: master: setting up WDMA2 mode on PIIX3/4 chip OK ad0: ATA-? disk at ata0 as master ad0: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S ad0: piomode=4, dmamode=2, udmamode=-1 ad0: 16 secs/int, 0 depth queue, DMA mode ata1: master: setting up WDMA2 mode on PIIX3/4 chip OK ad1: ATA-3 disk at ata1 as master ad1: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S ad1: piomode=4, dmamode=2, udmamode=2 ad1: 16 secs/int, 0 depth queue, DMA mode atapi: piomode=3, dmamode=-1, udmamode=-1 atapi: PIO transfer mode set acd0: CDROM drive at ata0 as slave acd0: drive speed 1378KB/sec, 128KB cache acd0: supported read types: CD-R, CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked changing root device to wd1s1a APM ioctl: cmd = 0x20005005 called apm_event_enable() apmwrite: event 0x2 enabled apmwrite: event 0x3 enabled apmwrite: event 0xa enabled apmwrite: event 0xb enabled To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message