Date: Fri, 26 Oct 2001 06:45:24 -0400 From: "Paul A. Howes" <pahowes@fair-ware.com> To: <stable@FreeBSD.org> Subject: Laptop APM problems... Message-ID: <ABENJKDFOLCKBPLGACFDAELNDIAA.pahowes@fair-ware.com>
next in thread | raw e-mail | index | archive | help
All-
I updated a laptop computer (a Toshiba Protégé 3110CT) with sources from
2001/10/21. The APM, which is always worked in the past is now broken.
If I do "apm -Z", the display flickers and then I receive device reset
messages from ATA. The keyboard is then completely locked up. If I do
"apm -z" or "zzz", the computer does go completely to sleep, and the
heartbeat light on the edge of the system does pulse. But, as soon as I hit
the power switch or open the lid, the computer totally reset and starts
booting rather than resuming.
In contrast to the above, "shutdown -p now" does correctly power the
computer down.
I have checked in the BIOS, and the power switch is set to "resume" and not
to "reset", as it always have been. I have attached the output of dmesg,
apm, and my kernel configuration, below for those who would like to help me
investigate the problem.
Thanks!
--
Paul A. Howes
pahowes@fair-ware.com
If you would like my PGP key, send a blank e-mail to pgpkey@fair-ware.com
-------- 8< --------
"dmesg" output
Copyright (c) 1992-2001 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 4.4-STABLE #1: Thu Oct 25 17:05:10 EDT 2001
root@kitten.fair-ware.com:/usr/obj/usr/src/sys/KITTEN
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (299.94-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x66a Stepping = 10
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR>
real memory = 134217728 (131072K bytes)
avail memory = 127320064 (124336K bytes)
Preloaded elf kernel "kernel" at 0xc0353000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc035309c.
VESA: v2.0, 2560k memory, flags:0x0, mode table:0xc00c83dc (c00083dc)
VESA: Copyright 1997 TRIDENT MICROSYSTEMS INC.
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00f0190
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Trident model 9525 VGA-compatible display device> at 4.0 irq 11
chip1: <PCI to Other bridge (vendor=8086 device=7198)> at device 7.0 on pci0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfff0-0xffff at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
uhci0: <Intel 82443MX USB controller> port 0xff80-0xff9f irq 11 at device
7.2 on pci0
usb0: <Intel 82443MX USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip2: <PCI to Other bridge (vendor=8086 device=719b)> at device 7.3 on pci0
pci0: <unknown card> (vendor=0x1179, dev=0x0d01) at 9.0 irq 11
pcm0: <ESS Technology Maestro-2E> port 0xfc00-0xfcff irq 11 at device 12.0
on pci0
pci0: <unknown card> (vendor=0x11c1, dev=0x0441) at 13.0 irq 3
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xfb40-0xfb7f mem
0xfea00000-0xfeafffff,0xfebff000-0xfebfffff irq 11 at device 14.0 on pci0
fxp0: Ethernet address 00:00:39:f8:e5:16
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <10 virtual consoles, flags=0x300>
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
pcic0: <Intel i82365SL-A/B> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert disabled, rule-based forwarding
disabled, default to deny, logging disabled
ad0: 6194MB <TOSHIBA MK6411MAT> [13424/15/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a
-------- 8< --------
kernel configuration
#
# System type
#
machine i386
#
# The name of the machine/kernel
#
ident KERNEL
#
# Initial size for kernel structures is based on this.
#
maxusers 32
#
# CPU type and options.
#
cpu I686_CPU
options NO_F00F_HACK
#
# Compatibility options
#
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options USER_LDT #Allow user-level control of i386 ldt
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
#
# Debugging options.
#
options UCONSOLE #Allow users to grab the console
#
# Networking options.
#
options INET #InterNETworking
#
# Network interfaces:
#
pseudo-device ether #Generic Ethernet
pseudo-device loop #Network loopback device
pseudo-device bpf #Berkeley packet filter
#
# Internet family options
#
options IPFIREWALL #Firewall
options RANDOM_IP_ID #Randomize the ID field of IP packets
options ICMP_BANDLIM #Rate limit bad replies
#
# Filesystem options
#
# These are the supported filesystems
options FFS #Berkeley Fast Filesystem
options NFS #Network Filesystem
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem
# The bootable devices
options FFS_ROOT #FFS usable as root device [keep this!]
# Performance options
options SOFTUPDATES #Enable FFS soft updates support
#
# POSIX P1003.1B
#
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L
#
# Miscellaneous devices and options
pseudo-device tun #Packet tunnel.
pseudo-device pty #Pseudo-ttys (telnet etc)
pseudo-device speaker #Play IBM BASIC-style noises
pseudo-device snp #Snoop device to look at pty/vty/etc..
#
# Hardware device configuration.
#
# Mandatory ISA device
device isa #The ISA bus, itself
options AUTO_EOI_1 #Speeds interrupts, breaks suspend/res.
options MAXMEM="(128*1024)" #The amount of memory in the system.
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
# PS/2 mouse
device psm0 at atkbdc? irq 12
# The video card driver
device vga0 at isa?
options VESA
pseudo-device splash
# The console driver (SCO color console compatible).
device sc0 at isa? flags 0x100
options MAXCONS=10
# The Numeric Processing eXtension driver.
device npx0 at nexus? port IO_NPX irq 13
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
# Serial (COM) ports. COM1 can be used as a console. Boot with "-h" to
enable.
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
options CONSPEED=115200
# ISA Ethernet NICs
device ep
# Most current PCI sound cards work with this.
device pcm
# Advanced Power Management
device apm0
# PCI devices & PCI options.
device pci
# PCI Ethernet NICs that use the common MII bus controller code.
device miibus # MII bus support
device fxp # Intel EtherExpress PRO/100B
# PCMCIA Support
device pcic0 at isa?
device card
# Parallel port
options PPC_PROBE_CHIPSET #Enable chipset-specfic detection
options PERIPH_1284 #Makes your computer act as an IEEE1284
# compliant peripheral
device ppc0 at isa? irq 7 #Device driver
device ppbus #Parallel port bus (required)
device lpt #Printer
device ppi #Parallel port interface device
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device ums # Mouse
-------- 8< --------
"apm" output
APM version: 1.2
APM Managment: Enabled
AC Line status: on-line
Battery status: high
Remaining battery life: 100%
Remaining battery time: 2:19:00
Number of batteries: 1
Battery 0:
Battery status: high
Remaining battery life: 100%
Remaining battery time: 2:19:00
Resume timer: disabled
Resume on ring indicator: disabled
APM Capacities:
global standby state
global suspend state
resume timer from suspend
-------- 8< --------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ABENJKDFOLCKBPLGACFDAELNDIAA.pahowes>
