Re: powerd problem on ASUS T9400 with 6.0RC1

2005-10-22 Thread Tijl Coosemans
On Friday 21 October 2005 08:54, Petr Holub wrote:
 Dear all,

 I've encountered a problem with powerd which seems to be specific
 to ASUS T9400 laptop. Powerd crashes after arbitrary amount of
 time  saying that its impossible to configure (usually, but not
 necessarily) the maximum processor speed:

You'll probably get a far better response if you report this on 
[EMAIL PROTECTED] All I can tell is that acpi_perf is causing problems for 
you (probably because you seem to have an ordinary pentium 3, not the 
mobile version), so try to disable it by adding the following line 
to /boot/device.hints.

hint.acpi_perf.0.disabled=1
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


powerd problem on ASUS T9400 with 6.0RC1

2005-10-21 Thread Petr Holub
Dear all,

I've encountered a problem with powerd which seems to be specific
to ASUS T9400 laptop. Powerd crashes after arbitrary amount of
time  saying that its impossible to configure (usually, but not
necessarily) the maximum processor speed:

# powerd -v -p 200
idle time  90%, decreasing clock speed from 787 MHz to 700 MHz
idle time  90%, decreasing clock speed from 787 MHz to 700 MHz
idle time  90%, decreasing clock speed from 612 MHz to 525 MHz
idle time  65%, increasing clock speed from 700 MHz to 900 MHz
idle time  90%, decreasing clock speed from 787 MHz to 700 MHz
idle time  90%, decreasing clock speed from 700 MHz to 612 MHz
idle time  90%, decreasing clock speed from 612 MHz to 525 MHz
idle time  65%, increasing clock speed from 787 MHz to 900 MHz
idle time  65%, increasing clock speed from 787 MHz to 900 MHz
idle time  90%, decreasing clock speed from 612 MHz to 525 MHz
idle time  65%, increasing clock speed from 525 MHz to 700 MHz
idle time  90%, decreasing clock speed from 612 MHz to 525 MHz
idle time  65%, increasing clock speed from 612 MHz to 787 MHz
idle time  90%, decreasing clock speed from 612 MHz to 525 MHz
idle time  65%, increasing clock speed from 612 MHz to 787 MHz
idle time  90%, decreasing clock speed from 700 MHz to 612 MHz
idle time  65%, increasing clock speed from 700 MHz to 900 MHz
powerd: error setting CPU frequency 900: Device not configured

and dmesg shows:
acpi_perf0: Px transition to 900 failed
acpi_perf0: set freq failed, err 6

Interesting thing is it looks like sometimes it succeeds setting
the frequency 900 MHz and sometimes not.

Kernel config and dmesg is below. (BTW, there is also another
problem obvious from the dmesg:
Interrupt storm detected on irq11: cbb0 cbb1+; throttling interrupt
source
wi0: Lucent Technologies WaveLAN/IEEE at port 0xd000-0xd03f irq 11
function 0 
however, I will perhaps describe this in another mail).

Thanks,
Petr

Kernel config:
machine i386
cpu I686_CPU
ident   KLOBOLD

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

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

options SCHED_ULE   # ULE scheduler
# options   SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread
preemption
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 MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # 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.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device