Hi,

I've done some testing with acpi:
S1 level -> does not blank the display.
S2 level -> unsupported by the BIOS
S3/S4 level -> reboot the machine, with at best a print_cpu debug statement[1]
s5 level -> works as expected

[1] I've pressed 'pause' and copied it for anybody that wants the register 
dump

I've set the dump device and dumpdir, but no dumps are created - it's a reboot 
without a panic apparently.

Attached are:
* dmesg.boot
* Kernel config
* acpidump output
* loader.conf
* S1 run output (the only way to wake-up is to 'open the lid')
* oids.start: relevant oids

Setting of 'os_name' does not make any difference whatsoever. I've also 
disabled any firewall and usb devices, but it doesn't make a difference as 
well.

If anything else is needed, let me know.

-- 
Melvyn

=======================================================
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #2: Mon Dec  1 
17:58:47 CET 2003     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
=======================================================
Copyright (c) 1992-2003 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.2-BETA #2: Mon Dec  1 17:58:47 CET 2003
    [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOFW_DBG
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0923000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1400MHz (1398.82-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  
Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 536535040 (511 MB)
avail memory = 511508480 (487 MB)
Pentium Pro MTRR support enabled
acpi0: <DELL   CPi R  > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fc590
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 29 INTA is routed to irq 11
pcib0: slot 29 INTB is routed to irq 11
pcib0: slot 29 INTC is routed to irq 11
pcib0: slot 29 INTD is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
agp0: <Intel 82855 host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xfaffe000-0xfaffffff irq 11 at device 0.0 
on pci2
bfe0: Ethernet address: 00:0d:56:3c:1c:37
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: <TI4510 PCI-CardBus Bridge> at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib2: slot 1 INTA is routed to irq 11
cbb0: [MPSAFE]
pci2: <serial bus, FireWire> at device 1.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 
0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pcm0: <Intel ICH4 (82801DB)> port 0xbc40-0xbc7f,0xb800-0xb8ff mem 
0xf4fff400-0xf4fff4ff,0xf4fff800-0xf4fff9ff irq 11 at device 31.5 on pci0
pcm0: <SigmaTel STAC9750/51 AC97 Codec>
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xcf800-0xcffff,0xc0000-0xcf7ff on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 1398819120 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acpi_cpu0: Performance states changed
GEOM: create disk ad0 dp=0xc48fa760
ad0: 38154MB <IC25N040ATMR04-0> [77520/16/63] at ata0-master UDMA100
acd0: CDRW <HL-DT-STCD-RW/DVD-ROM GCC-4241N> at ata1-master PIO4
GEOM: create disk cd0 dp=0xc47cd600
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST RW/DVD GCC-4241N A100> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /usr/local was not properly dismounted
WARNING: /var was not properly dismounted
# vim600: tw=78 ts=8 sw=8 ai noet
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.393 2003/11/03 22:48:25 jhb Exp $

machine         i386
cpu             I686_CPU
ident           SAREVOK

#To statically compile in device wiring instead of /boot/device.hints
hints           "SAREVOK.hints"         #Default places to look for devices.

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

options         SCHED_4BSD              #4BSD scheduler
options         INET                    #InterNETworking
options         INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_ACL                 #Support for access control lists
options         UFS_DIRHASH             #Improve performance on big directories
options         MD_ROOT                 #MD is a potential root device
options         NFSCLIENT               #Network Filesystem Client
options         NFSSERVER               #Network Filesystem Server
options         NFS_ROOT                #NFS usable as /, requires NFSCLIENT
options         NTFS                    #NT File System
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         PSEUDOFS                #Pseudo-filesystem framework
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~215k to driver.

# Debugging for use in -current
options         DDB                     #Enable the kernel debugger
options         INVARIANTS              #Enable calls of extra sanity checking
options         INVARIANT_SUPPORT       #Extra sanity checks of internal structures, 
required by INVARIANTS
options         WITNESS                 #Enable checks to detect deadlocks and cycles
options         WITNESS_DDB             #Causes the witness code to drop into
                                        #the kernel debugger if a lock
                                        #hierarchy violation occurs or if
                                        #locks are held when going to sleep.
options         WITNESS_SKIPSPIN        #Don't run witness on spinlocks for speed

# To make an SMP kernel, the next two are needed
#options        SMP                     # Symmetric MultiProcessor Kernel
#device         apic                    # I/O APIC

device          acpi
device          isa
device          eisa
device          pci

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapicam                # emulate ATAPI devices as SCSI ditto
                                        # via CAM
                                        # needs CAM to be present (scbus &
                                        # pass)
options         ATA_STATIC_ID           #Static device numbering

# SCSI Controllers
device          ahb             # EISA AHA1742 family
device          ahc             # AHA2940 and onboard AIC7xxx devices
device          ahd             # AHA39320/29320 and onboard AIC79xx devices
device          mpt             # LSI-Logic MPT-Fusion
device          aha             # Adaptec 154x SCSI adapters

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          ch              # SCSI media changers
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)
device          ses             # SCSI Environmental Services (and SAF-TE)

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

device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc

# Enable this for the pcvt (VT220 compatible) console driver
#device         vt
#options        XSERVER                 # support for X server on a vt console
#options        FAT_CURSOR              # start with block cursor

device          agp                     # support several AGP chipsets

# Floating point support - do not disable.
device          npx

# Power management support (see NOTES for more options)
# device                apm
# Add suspend/resume support for the i8254.
# device                pmtimer

# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
device          cbb                     # cardbus (yenta) bridge
#device         pcic                    # ExCA ISA and PCI bridges
device          pccard                  # PC Card (16-bit) bus
device          cardbus                 # CardBus (32-bit) bus

# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports

# Parallel port
device          ppc
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device         puc

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          bfe             # Broadcom BCM440x 10/100 ethernet
device          bge             # Broadcom BCM570xx Gigabit Ethernet
device          xe              # Xircom pccard ethernet

# ISA devices that use the old ISA shims
#device         le

# Wireless NIC cards
device          wlan            # 802.11 support
device          an              # Aironet 4500/4800 802.11 wireless NICs. 
device          awi             # BayStack 660 and others
device          wi              # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device         wl              # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices - the number indicates how many units to allocate.
device          random          # Entropy device
device          loop            # Network loopback
device          ether           # Ethernet support
device          sl              # Kernel SLIP
device          ppp             # Kernel PPP
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4 tunneling
device          faith           # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device          bpf             # Berkeley packet filter

# USB support
#device         uhci            # UHCI PCI->USB interface
#device         ohci            # OHCI PCI->USB interface
#device         usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
#device         ugen            # Generic
#device         uhid            # "Human Interface Devices"
#device         ukbd            # Keyboard
#device         ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da
#device         ums             # Mouse
#device         uscanner        # Scanners
# USB Ethernet, requires mii
#device         aue             # ADMtek USB ethernet
#device         axe             # ASIX Electronics USB ethernet
#device         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet

# FireWire support
#device         firewire        # FireWire bus code
#device         sbp             # SCSI over FireWire (Requires scbus and da)
#device         fwe             # Ethernet over FireWire (non-standard!)

# Audio support
device          pcm
device          midi
device          seq
device          gusc
Dec  1 17:15:22 sarevok kernel: pcib0: slot 29 INTA is routed to irq 11
Dec  1 17:15:32 sarevok kernel: pcib0: slot 29 INTB is routed to irq 11
Dec  1 17:15:32 sarevok kernel: pcib0: slot 29 INTC is routed to irq 11
Dec  1 17:15:33 sarevok kernel: pcib0: slot 29 INTD is routed to irq 11
Dec  1 17:15:33 sarevok kernel: pcib0: slot 31 INTB is routed to irq 11
Dec  1 17:15:33 sarevok kernel: pcib1: slot 0 INTA is routed to irq 11
Dec  1 17:15:33 sarevok kernel: pcib2: slot 0 INTA is routed to irq 11
Dec  1 17:15:33 sarevok kernel: pcib2: slot 1 INTA is routed to irq 11
Dec  1 17:15:33 sarevok kernel: pcib2: slot 1 INTA is routed to irq 11
Dec  1 17:15:33 sarevok kernel: wakeup from sleeping state (slept 00:01:41)
Dec  1 17:15:33 sarevok kernel: ata0: resetting devices ..
Dec  1 17:15:33 sarevok kernel: acpi_acad0: Notify 0x80
Dec  1 17:15:33 sarevok kernel: acpi_cmbat0: battery initialization start
Dec  1 17:15:33 sarevok kernel: acpi_cmbat0: battery initialization done, tried 1 times
Dec  1 17:15:33 sarevok kernel: acpi_cmbat1: battery initialization start
Dec  1 17:15:33 sarevok kernel: acpi_lid0: Lid opened
Dec  1 17:15:33 sarevok kernel: acpi_button1: sleep button pressed
Dec  1 17:15:33 sarevok kernel: ad0: WARNING - WRITE_DMA recovered from missing 
interrupt
Dec  1 17:15:33 sarevok kernel: done
Dec  1 17:15:33 sarevok kernel: ata1: resetting devices ..
Dec  1 17:15:33 sarevok kernel: done
Dec  1 17:16:22 sarevok kernel: acpi_cmbat1: battery initialization failed, giving up
hw.acpi.supported_sleep_state: S1 S3 S4 S5 
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 5
hw.acpi.s4bios: 1
hw.acpi.verbose: 1
hw.acpi.disable_on_poweroff: 1
hw.acpi.reset_video: 1
hw.acpi.cpu.max_speed: 8
hw.acpi.cpu.current_speed: 8
hw.acpi.cpu.performance_speed: 8
hw.acpi.cpu.economy_speed: 4
hw.acpi.cpu.cx_supported: C1/1 C2/1 C3/85 C3/185
hw.acpi.cpu.cx_lowest: 0
hw.acpi.cpu.cx_history: 170762/0 0/0 0/0 0/0
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3227
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3632
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.acline: 1
hw.acpi.battery.life: 100
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
debug.acpi.acpi_ca_version: 0x20030619
debug.acpi.semaphore_debug: 1
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1040128

Attachment: pgp00000.pgp
Description: signature

Reply via email to