Subject: 1.3 apm problems
To: None <port-i386@NetBSD.ORG>
From: Johan Danielsson <joda@pdc.kth.se>
List: port-i386
Date: 05/06/1998 00:12:06
--Multipart_Wed_May__6_00:12:06_1998-1
Content-Type: text/plain; charset=US-ASCII


After a resume there seems to be a short period (~26-27 seconds)
during which the IDE controller (or disk or whatever) doesn't seem
very responsive.  Specifically files read during that period are
mostly garbage, for instance /etc/apm/resume. If I put a `sleep(30)'
in apmd.c:resume(), those specific problems goes away, but this sounds
like a more serious problem.

This sounds very much like the troubles described in port-i386/4386 -
has anyone looked at that?

/Johan


--Multipart_Wed_May__6_00:12:06_1998-1
Content-Type: text/plain; charset=US-ASCII

NetBSD 1.3 (BLUBB) #17: Mon Jan 26 00:24:38 CET 1998
    root@blubb.pdc.kth.se:/usr/misc/src/netbsd/1.3/src/sys/arch/i386/compile/BLUBB
cpu0: family 4 model 8 step 0
cpu0: Intel 486DX4 (486-class)
real mem  = 20574208
avail mem = 18653184
using 276 buffers containing 1130496 bytes of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <TOSHIBA MK2101MAN>
wd0: 2067MB, 4200 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
sb0 at isa0 port 0x220-0x22f irq 5 drq 1: dsp v2.01
audio0 at sb0
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: generic, 80 col, color, 8 scr, mf2-kbd, [R3.32]
pms0 at vt0 irq 12
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic0: controller 0 (Cirrus PD672X) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
com1 at pcmcia0 function 0 port 0x2f8-0x2ff: ns16550a, working fifo
pcmcia0: card irq 9
pcmcia1 at pcic0 controller 0 socket 1
ne0 at pcmcia1 function 0 port 0x340-0x34f port 0x350-0x35f
ne0: D-Link DE-650 Ethernet
ne0: Ethernet address 00:80:c8:80:ed:23
apm0 at mainbus0: Power Management spec V1.0 (slowidle)
apm0: battery life expectancy: 100%
apm0: A/C state: on
apm0: battery charge state:high

--Multipart_Wed_May__6_00:12:06_1998-1--