Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  3 Aug 2000 01:44:39 +0100 (BST)
From:      joe@pavilion.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/20375: APM doesn't work properly!  Suspend/resume/suspend/hang
Message-ID:  <20000803004439.3BBA89B28@genius.systems.pavilion.net>

next in thread | raw e-mail | index | archive | help

>Number:         20375
>Category:       kern
>Synopsis:       APM doesn't work properly!  Suspend/resume/suspend/hang
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 03 02:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Joe Karthauser
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD.Org
>Environment:

Sony Vaio F290 laptop.

% uname -a
FreeBSD genius.systems.pavilion.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Aug  3 01:24:23 BST 2000     root@genius.systems.pavilion.net:/usr/src/sys/compile/CUTDOWN  i386

% dmesg 
Copyright (c) 1992-2000 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 5.0-CURRENT #0: Thu Aug  3 01:24:23 BST 2000
    root@genius.systems.pavilion.net:/usr/src/sys/compile/CUTDOWN
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (397.90-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66d  Stepping = 13
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 201261056 (196544K bytes)
avail memory = 192909312 (188388K bytes)
Preloaded elf kernel "kernel" at 0xc0267000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Intel 82443BX host to PCI bridge (AGP disabled)> at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcd0-0xfcdf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 9
pci0: <Intel 82371AB Power management controller> at 7.3
pci0: <NeoMagic MagicMedia 256AV SVGA controller> at 8.0 irq 9
pci0: <NeoMagic MagicMedia 256AX Audio controller> at 8.1 irq 9
pci0: <Sony CXD1947A FireWire Host Controller> at 9.0 irq 9
pci0: <PCI to CardBus bridge (vendor=1180 device=0478)> at 10.0
pci0: <PCI to CardBus bridge (vendor=1180 device=0478)> at 10.1
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,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,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
unknown: <PNP0303> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 19077MB <IBM-DJSA-220> [38760/16/63] at ata0-master using UDMA33
Mounting root from ufs:/dev/ad0s2a

% cat /sys/i386/conf/CUTDOWN

machine		i386
cpu		I586_CPU
cpu		I686_CPU
ident		CUTDOWN
maxusers	128

hints		"CUTDOWN.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
options		DDB

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]

device		isa
device		pci
options		COMPAT_OLDISA		# compatability shims for lnc, fe, le
options		COMPAT_OLDPCI		# compatability shims for lnc, vx

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc	1
device		atkbd
device		psm

device		vga

# splash screen/screen saver
device		splash

# syscons is the default console driver, resembling an SCO console
device		sc	1
options		SC_HISTORY_SIZE=2000	# number of history buffer lines        

# Floating point support - do not disable.
device		npx

# Power management support (see LINT for more options)
device		apm

# Pseudo devices - the number indicates how many units to allocated.
device		loop		# Network loopback
device		pty		# Pseudo-ttys (telnet etc)

>Description:

	Something has recently broken APM support for me.

	If I suspend, I can resume, but the machine freezes upon
	a further suspend.

	I've tried cutting the kernel config down to remove the
	possiblity that it's a pccard or pcm problem.

>How-To-Repeat:

	Compile the supplied kernel config on a laptop and
	try suspend/resume/suspend/resume and see whether you
	get a hang or not.

>Fix:

	Don't know - I'm going to go back in time and see if I can
	work out when it broke.  It's been broken for a couple of
	weeks I believe.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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