From owner-freebsd-current Sun Aug 22 9:39:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id DD73814F84 for ; Sun, 22 Aug 1999 09:39:08 -0700 (PDT) (envelope-from kfarmer@sympatico.ca) Received: from sympatico.ca (ppp12987.on.bellglobal.com [206.172.162.186]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id MAA07361; Sun, 22 Aug 1999 12:42:04 -0400 (EDT) Message-ID: <37C027DF.6338FEDA@sympatico.ca> Date: Sun, 22 Aug 1999 16:39:59 +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: Mitsuru IWASAKI , freebsd-current@freebsd.org Subject: Re: apm problems. References: <37B8EB8F.F7DA55B1@sympatico.ca> <199908211908.EAA24374@tasogare.imasy.or.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mitsuru IWASAKI wrote: > Ah, If you want to reject the standby request from BIOS while the > system is active, then apmd would be useful. You can configure it like > this: > in /etc/apmd.conf: > apm_event PMEV_STANDBYREQ { > reject; Thanks. > I guess your disks are still in a SLEEP after a resume or > I/O interrupts were lost during suspend/resume or something. > Anyone suggestions? > > > 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 > > If your problem is related with disks, have you tried wd device driver > instead of ata? wdc0 at port 0x1f0-0x1f7 irq 14 on isa0 wdc0: unit 0 (wd0): wd0: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, accel, dma, iordis wcd0: drive speed 1378KB/sec, 128KB cache wcd0: supported read types: CD-R, CD-DA wcd0: Audio: play, 256 volume levels wcd0: Mechanism: ejectable tray wcd0: Medium: no/blank disc inside, unlocked wdc1 at port 0x170-0x177 irq 15 on isa0 wdc1: unit 0 (wd2): wd2: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S now, after resuming from apm -z, theres a pause then the message: wd2: interrupt timeout (status 58 ) wd2: timeout () DMA status 4 and things seem to work ok again. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message