Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 1999 04:56:47 +0000
From:      Kelvin Farmer <kfarmer@sympatico.ca>
To:        iwasaki@jp.FreeBSD.org, freebsd-current@freebsd.org
Subject:   Re: apm problems.
Message-ID:  <37B8EB8F.F7DA55B1@sympatico.ca>

next in thread | raw e-mail | index | archive | help
> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=0x400<<b10>>
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 <SB16 PnP> sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags
0x15 on isa
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> 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: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
ata-pci0: <Intel PIIX3 IDE controller> 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: <S3 ViRGE VX graphics accelerator> irq 11 at device 20.0 on
pci0
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> 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: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> 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: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ata0: master: setting up WDMA2 mode on PIIX3/4 chip OK
ad0: <QUANTUM FIREBALL_TM1280A/A6B.2D00> 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: <QUANTUM FIREBALL ST2.1A/A0F.0800> 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: <MATSHITA CR-583/AS10> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B8EB8F.F7DA55B1>