linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0-test1: CPUFreq not working, can't find sysfs interface
@ 2003-07-20 15:02 textshell
  2003-07-20 17:45 ` Henrik Persson
  0 siblings, 1 reply; 12+ messages in thread
From: textshell @ 2003-07-20 15:02 UTC (permalink / raw)
  To: linux-kernel

[please CC your replies, because i'm not subscribed]

I'm testing 2.6.0-test1 on my HP nx9005 Laptop (using a Mobile AMD Athlon XP)

But i can't get the sysfs interface of CPUFreq part to show up. I then
recomplied the kernel with both old (obsolete) /proc interfaces enabled. The old
interfaces both show up, but seem to be not working (but the is my first try to
get CPUFreq working with any kernel version). I googled around for hours
without finding any useful information for this case.

Anyway, /proc/sys/cpu/0/{speed,speed-max,speed-min} are all 0 when i cat them.

If i cat /proc/cpufreq i get:
Badness in kobject_get at lib/kobject.c:378
Call Trace:
 [<c01f775c>] kobject_get+0x4c/0x50
 [<c0135e85>] cpufreq_cpu_get+0x85/0x100
 [<c0136e13>] cpufreq_get_policy+0x23/0xa0
 [<c01f962f>] sprintf+0x1f/0x30
 [<c02a6bf0>] cpufreq_proc_read+0x50/0x170
 [<c0161ff8>] real_lookup+0xc8/0xf0
 [<c013e011>] buffered_rmqueue+0xd1/0x170
 [<c016b6a2>] dput+0x22/0x200
 [<c013e140>] __alloc_pages+0x90/0x300
 [<c02a6ba0>] cpufreq_proc_read+0x0/0x170
 [<c0184805>] proc_file_read+0xc5/0x280
 [<c0154b48>] vfs_read+0xd8/0x140
 [<c0154df2>] sys_read+0x42/0x70
 [<c010b29b>] syscall_call+0x7/0xb
          minimum CPU frequency  -  maximum CPU frequency  -  policy

The last line output by cat, the rest are kernel messages.

/sys/devices/system/cpu/cpu0/ is just an empty directory, it even does not
contain a 'name' file.

I can echo > to /proc/cpufreq and /proc/sys/cpu/0/speed without any
result (i.e. no speed change as far as i can tell).

The powernow driver detects the CPU.

Martin H.



Form bootup messages:
powernow: AMD K7 CPU detected.
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: Found PSB header at c00f18c0
powernow: Table version: 0x12
powernow: Flags: 0x0 (Mobile voltage regulator)
powernow: Settling Time: 100 microseconds.
powernow: Has 14 PST tables. (Only dumping ones relevant to this CPU).

Hopefully relevant parts from my .config:
CONFIG_X86_PC=y
CONFIG_MK7=y
CONFIG_X86_USE_3DNOW=y
CONFIG_PREEMPT=y
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y

#
# ACPI Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_TABLE=y

#
# CPUFreq processor drivers
#
CONFIG_X86_POWERNOW_K7=y
# [every thing else not set]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-20 15:02 2.6.0-test1: CPUFreq not working, can't find sysfs interface textshell
@ 2003-07-20 17:45 ` Henrik Persson
  2003-07-20 21:12   ` textshell
  0 siblings, 1 reply; 12+ messages in thread
From: Henrik Persson @ 2003-07-20 17:45 UTC (permalink / raw)
  To: textshell; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

On Sun, 20 Jul 2003 17:02:43 +0200
textshell@neutronstar.dyndns.org wrote:

> [please CC your replies, because i'm not subscribed]
> 
> I'm testing 2.6.0-test1 on my HP nx9005 Laptop (using a Mobile AMD
> Athlon XP)
> 
> But i can't get the sysfs interface of CPUFreq part to show up. I then
> recomplied the kernel with both old (obsolete) /proc interfaces enabled.
> The old interfaces both show up, but seem to be not working (but the is
> my first try to get CPUFreq working with any kernel version). I googled
> around for hours without finding any useful information for this case.

My .config attached.. Hope that will help you..

With this setup I have /sys/devices/system/cpu/cpu0/cpufreq/ and it's all
working perfectly. I am also using a Mobile AMD Athlon XP.

-- 
Henrik Persson  nix@syndicalist.net  http://nix.badanka.com

[-- Attachment #2: .config --]
[-- Type: application/octet-stream, Size: 21537 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_24_API is not set
CONFIG_CPU_FREQ_TABLE=y

#
# CPUFreq processor drivers
#
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_POWERNOW_K6 is not set
CONFIG_X86_POWERNOW_K7=y
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG is not set

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Generic Driver Options
#
# CONFIG_FW_LOADER is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_NAMES is not set
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_BLK_DEV_IDE_MODES=y

#
# SCSI device support
#
CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
CONFIG_SCSI_SYM53C8XX=y
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
# CONFIG_SCSI_NCR53C8XX_PQS_PDS is not set
# CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=m
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
CONFIG_VIA_RHINE=y
# CONFIG_VIA_RHINE_MMIO is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices (depends on LLC=y)
#
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256

#
# I2C support
#
# CONFIG_I2C is not set

#
# I2C Hardware Sensors Mainboard support
#

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD_8151 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=y
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFSD is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
# CONFIG_EXPORTFS is not set
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_GSS is not set
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
CONFIG_SND_VIA82XX=y
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_AX8817X is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GADGET is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_BIOS_REBOOT=y

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-20 17:45 ` Henrik Persson
@ 2003-07-20 21:12   ` textshell
  2003-07-22 12:08     ` Dominik Brodowski
  0 siblings, 1 reply; 12+ messages in thread
From: textshell @ 2003-07-20 21:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: Henrik Persson

[please CC your replies, because i'm not subscribed]

On Sun, Jul 20, 2003 at 07:45:37PM +0200, Henrik Persson wrote:
> On Sun, 20 Jul 2003 17:02:43 +0200
> textshell@neutronstar.dyndns.org wrote:
> 
> > [please CC your replies, because i'm not subscribed]
> > 
> > I'm testing 2.6.0-test1 on my HP nx9005 Laptop (using a Mobile AMD
> > Athlon XP)
> > 
> > But i can't get the sysfs interface of CPUFreq part to show up. I then
> > recomplied the kernel with both old (obsolete) /proc interfaces enabled.
> > The old interfaces both show up, but seem to be not working (but the is
> > my first try to get CPUFreq working with any kernel version). I googled
> > around for hours without finding any useful information for this case.
> 
> My .config attached.. Hope that will help you..
> 
> With this setup I have /sys/devices/system/cpu/cpu0/cpufreq/ and it's all
> working perfectly. I am also using a Mobile AMD Athlon XP.
> 

I tried your config (with just one change, i enabled reiserfs, i use it for my
root fs) but It's the same. /sys/devices/system/cpu/cpu0/ is just empty, no
change.

I tried with gcc 2.95.4 (as shipped with debian testing) and gcc 3.3.1 (same)
but neither solved to problem.
What else could be the Problem? I assume problems loading modules or such
userspace problems can't cause this behaviour?

Any help diagnosing the problem appricatied,

Martin H.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-20 21:12   ` textshell
@ 2003-07-22 12:08     ` Dominik Brodowski
  2003-07-22 14:18       ` textshell
  0 siblings, 1 reply; 12+ messages in thread
From: Dominik Brodowski @ 2003-07-22 12:08 UTC (permalink / raw)
  To: textshell; +Cc: linux-kernel, Henrik Persson

> I tried your config (with just one change, i enabled reiserfs, i use it for my
> root fs) but It's the same. /sys/devices/system/cpu/cpu0/ is just empty, no
> change.
> 
> I tried with gcc 2.95.4 (as shipped with debian testing) and gcc 3.3.1 (same)
> but neither solved to problem.
> What else could be the Problem? I assume problems loading modules or such
> userspace problems can't cause this behaviour?
> 
> Any help diagnosing the problem appricatied,
> 
> Martin H.

What's the output [if any] in "dmesg" starting with either "cpufreq" or
"powernow"?

I guess it's yet another BIOS problem... [as seen quite often wrt AMD
PowerNow, unfortunately]

	Dominik

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-22 12:08     ` Dominik Brodowski
@ 2003-07-22 14:18       ` textshell
  2003-07-22 14:23         ` Dominik Brodowski
  0 siblings, 1 reply; 12+ messages in thread
From: textshell @ 2003-07-22 14:18 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: linux-kernel, Henrik Persson

On Tue, Jul 22, 2003 at 02:08:11PM +0200, Dominik Brodowski wrote:
> 
> What's the output [if any] in "dmesg" starting with either "cpufreq" or
> "powernow"?

I included some more information about my system in my first mail, but anyway.
the IMHO relevant dmesg messages are:
Machine check exception polling timer started.
powernow: AMD K7 CPU detected.
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: Found PSB header at c00f17f0
powernow: Table version: 0x12
powernow: Flags: 0x0 (Mobile voltage regulator)
powernow: Settling Time: 100 microseconds.
powernow: Has 14 PST tables. (Only dumping ones relevant to this CPU).
Enabling SEP on CPU 0

I did a little bit of investigation in the kernel source (powernow-k7.c) and
downloaded x86info. The Output of x86info --pm --bios with the following
clueless little patch.
--- AMD/dumppsb.c       16 Jan 2003 19:46:52 -0000      1.4
+++ AMD/dumppsb.c       22 Jul 2003 13:47:59 -0000
@@ -81,8 +81,10 @@
                        for (i = 0 ; i <psb->numpst; i++) {
                                pst = (struct pst_s *) p;
                                numpstates = pst->numpstates;
-
-                               if ((etuple(cpu) == pst->cpuid) && (maxfid==pst->maxfid) && (startvid==pst->startvid))
+                               printf(" --DEBUG: %x ?= %x && %d ?= %d, %d ?= %d\n",
+                               etuple(cpu),pst->cpuid, maxfid,pst->maxfid, startvid, pst->startvid);
+                               //if ((etuple(cpu) == pst->cpuid) && (maxfid==pst->maxfid) && (startvid==pst->startvid))
+                               if (1)
                                {
                                        printf (" PST:%d (@%p)\n", i, pst);
                                        printf ("  cpuid: 0x%x\t", pst->cpuid);


Output:
x86info v1.12.  Dave Jones 2001-2003
Feedback to <davej@suse.de>.

Found 1 CPU
--------------------------------------------------------------------------
Family: 6 Model: 10 Stepping: 0
CPU Model : Mobile Athlon XP (Barton)
PowerNOW! Technology information
Available features:
	Temperature sensing diode present.
	Bus divisor control
	Voltage ID control

MSR: 0xc0010041=0x0000000000130b15 : 00000000 00000000 00000000 00000000
           00000000 00010011 00001011 00010101
MSR: 0xc0010042=0x000b0b0b00150615 : 00000000 00001011 00001011 00001011
           00000000 00010101 00000110 00010101

FID changes will happen
VID changes will happen
Current VID multiplier code: 1.450
Current FSB multiplier code: 13.5
Voltage ID codes: Maximum=1.450V Startup=1.450V Currently=1.450V
Frequency ID codes: Maximum=13.5x Startup=6.0x Currently=13.5x
Decoding BIOS PST tables (maxfid=15, startvid=b)
Found PSB header at 0x4017d7f0
Table version: 0x12
Flags: 0x0 (Mobile voltage regulator)
Settling Time: 100 microseconds.
Has 14 PST tables. (Only dumping ones relevant to this CPU).
 --DEBUG: 7a0 ?= 780 && 21 ?= 12, 11 ?= 11
 PST:0 (@0x4017d800)
  cpuid: 0x780	  fsb: 133	  maxFID: 0xc	  startvid: 0xb
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0x8 (7.0x [931MHz])	VID: 0xe (1.300V)
    FID: 0xc (9.0x [1197MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 780 && 21 ?= 14, 11 ?= 11
 PST:1 (@0x4017d812)
  cpuid: 0x780	  fsb: 133	  maxFID: 0xe	  startvid: 0xb
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0x8 (7.0x [931MHz])	VID: 0x11 (1.250V)
    FID: 0xe (10.0x [1330MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 780 && 21 ?= 15, 11 ?= 9
 PST:2 (@0x4017d824)
  cpuid: 0x780	  fsb: 133	  maxFID: 0xf	  startvid: 0x9
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xa (8.0x [1064MHz])	VID: 0xc (1.400V)
    FID: 0xf (10.5x [1396MHz])	VID: 0x9 (1.550V)

 --DEBUG: 7a0 ?= 780 && 21 ?= 0, 11 ?= 9
 PST:3 (@0x4017d836)
  cpuid: 0x780	  fsb: 133	  maxFID: 0x0	  startvid: 0x9
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xc (9.0x [1197MHz])	VID: 0xc (1.400V)
    FID: 0x0 (11.0x [1463MHz])	VID: 0x9 (1.550V)

 --DEBUG: 7a0 ?= 780 && 21 ?= 1, 11 ?= 9
 PST:4 (@0x4017d848)
  cpuid: 0x780	  fsb: 133	  maxFID: 0x1	  startvid: 0x9
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xc (9.0x [1197MHz])	VID: 0xd (1.350V)
    FID: 0x1 (11.5x [1530MHz])	VID: 0x9 (1.550V)

 --DEBUG: 7a0 ?= 780 && 21 ?= 2, 11 ?= 10
 PST:5 (@0x4017d85a)
  cpuid: 0x780	  fsb: 133	  maxFID: 0x2	  startvid: 0xa
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xc (9.0x [1197MHz])	VID: 0x11 (1.250V)
    FID: 0x2 (12.0x [1596MHz])	VID: 0xa (1.500V)

 --DEBUG: 7a0 ?= 780 && 21 ?= 3, 11 ?= 10
 PST:6 (@0x4017d86c)
  cpuid: 0x780	  fsb: 133	  maxFID: 0x3	  startvid: 0xa
  num of p states in this table: 6
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xa (8.0x [1064MHz])	VID: 0x13 (1.200V)
    FID: 0xe (10.0x [1330MHz])	VID: 0xe (1.300V)
    FID: 0x3 (12.5x [1662MHz])	VID: 0xa (1.500V)

 --DEBUG: 7a0 ?= 781 && 21 ?= 15, 11 ?= 11
 PST:7 (@0x4017d880)
  cpuid: 0x781	  fsb: 133	  maxFID: 0xf	  startvid: 0xb
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xa (8.0x [1064MHz])	VID: 0xe (1.300V)
    FID: 0xf (10.5x [1396MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 781 && 21 ?= 0, 11 ?= 11
 PST:8 (@0x4017d892)
  cpuid: 0x781	  fsb: 133	  maxFID: 0x0	  startvid: 0xb
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xc (9.0x [1197MHz])	VID: 0xd (1.350V)
    FID: 0x0 (11.0x [1463MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 781 && 21 ?= 1, 11 ?= 11
 PST:9 (@0x4017d8a4)
  cpuid: 0x781	  fsb: 133	  maxFID: 0x1	  startvid: 0xb
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xc (9.0x [1197MHz])	VID: 0xd (1.350V)
    FID: 0x1 (11.5x [1530MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 781 && 21 ?= 2, 11 ?= 11
 PST:10 (@0x4017d8b6)
  cpuid: 0x781	  fsb: 133	  maxFID: 0x2	  startvid: 0xb
  num of p states in this table: 5
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xc (9.0x [1197MHz])	VID: 0xd (1.350V)
    FID: 0x2 (12.0x [1596MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 781 && 21 ?= 3, 11 ?= 11
 PST:11 (@0x4017d8c8)
  cpuid: 0x781	  fsb: 133	  maxFID: 0x3	  startvid: 0xb
  num of p states in this table: 6
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0xa (8.0x [1064MHz])	VID: 0x11 (1.250V)
    FID: 0xe (10.0x [1330MHz])	VID: 0xd (1.350V)
    FID: 0x3 (12.5x [1662MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 781 && 21 ?= 21, 11 ?= 11
 PST:12 (@0x4017d8dc)
  cpuid: 0x781	  fsb: 133	  maxFID: 0x15	  startvid: 0xb
  num of p states in this table: 6
    FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
    FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
    FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
    FID: 0x8 (7.0x [931MHz])	VID: 0x13 (1.200V)
    FID: 0xe (10.0x [1330MHz])	VID: 0xe (1.300V)
    FID: 0x15 (13.5x [1796MHz])	VID: 0xb (1.450V)

 --DEBUG: 7a0 ?= 781 && 21 ?= 22, 11 ?= 11
 PST:13 (@0x4017d8f0)
  cpuid: 0x781	  fsb: 133	  maxFID: 0x16	  startvid: 0xb
  num of p states in this table: 5
    FID: 0xb (8.5x [1130MHz])	VID: 0x13 (1.200V)
    FID: 0xf (10.5x [1396MHz])	VID: 0xe (1.300V)
    FID: 0x1 (11.5x [1530MHz])	VID: 0xd (1.350V)
    FID: 0x3 (12.5x [1662MHz])	VID: 0xc (1.400V)
    FID: 0x16 (14.0x [1862MHz])	VID: 0xb (1.450V)

So it seems to me that the BIOS doesn't have the tables for my Athlon
model/stepping. I tried to get a new bios from hp, but it didn't change anything
relevant (they changed something in the PSTs but did not add a new one for my
processor)

> 
> I guess it's yet another BIOS problem... [as seen quite often wrt AMD
> PowerNow, unfortunately]

I think it would be a good thing to display a Message explaining why powernow
isn't working to the user in the case that no relevant PST is found.

Can you suggest any workaround for this problem, or is my only option to
complain to HP do supply an updated BIOS. 

I very much would like to have a way to override (or add to) the bios provided
values. BTW windows XP somehow manages to use powernow on this laptop anyway.

Martin H.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-22 14:18       ` textshell
@ 2003-07-22 14:23         ` Dominik Brodowski
  2003-07-22 14:42           ` Dave Jones
  2003-07-22 14:53           ` textshell
  0 siblings, 2 replies; 12+ messages in thread
From: Dominik Brodowski @ 2003-07-22 14:23 UTC (permalink / raw)
  To: textshell, davej; +Cc: linux-kernel, Henrik Persson

On Tue, Jul 22, 2003 at 04:18:39PM +0200, textshell@neutronstar.dyndns.org wrote:
> So it seems to me that the BIOS doesn't have the tables for my Athlon
> model/stepping. I tried to get a new bios from hp, but it didn't change anything
> relevant (they changed something in the PSTs but did not add a new one for my
> processor)

Indeed, that's the BUG().

> > I guess it's yet another BIOS problem... [as seen quite often wrt AMD
> > PowerNow, unfortunately]
> 
> I think it would be a good thing to display a Message explaining why powernow
> isn't working to the user in the case that no relevant PST is found.

Patch appended at the end.

> Can you suggest any workaround for this problem, or is my only option to
> complain to HP do supply an updated BIOS. 

Well, you could try using the PST which mostly matches your system except
the CPUID [PST #12, see below] -- if the values used are similar to the ones
Windows XP uses. But this might be risky!!!

> I very much would like to have a way to override (or add to) the bios provided
> values.

AFAIK, Dave Jones will add support to override the BIOS-provided tables.

>  --DEBUG: 7a0 ?= 781 && 21 ?= 21, 11 ?= 11
>  PST:12 (@0x4017d8dc)
>   cpuid: 0x781	  fsb: 133	  maxFID: 0x15	  startvid: 0xb
>   num of p states in this table: 6
>     FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
>     FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
>     FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
>     FID: 0x8 (7.0x [931MHz])	VID: 0x13 (1.200V)
>     FID: 0xe (10.0x [1330MHz])	VID: 0xe (1.300V)
>     FID: 0x15 (13.5x [1796MHz])	VID: 0xb (1.450V)

	Dominik

diff -ruN linux-original/arch/i386/kernel/cpu/cpufreq/powernow-k7.c linux/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
--- linux-original/arch/i386/kernel/cpu/cpufreq/powernow-k7.c	2003-07-11 14:12:35.000000000 +0200
+++ linux/arch/i386/kernel/cpu/cpufreq/powernow-k7.c	2003-07-22 16:16:00.000000000 +0200
@@ -345,6 +345,7 @@
 						p+=2;
 				}
 			}
+			dprintk (KERN_INFO PFX "Did not find any PST table for this CPU -- exiting\n");
 			return -EINVAL;
 		}
 		p++;

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-22 14:23         ` Dominik Brodowski
@ 2003-07-22 14:42           ` Dave Jones
  2003-07-22 14:53           ` textshell
  1 sibling, 0 replies; 12+ messages in thread
From: Dave Jones @ 2003-07-22 14:42 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: textshell, linux-kernel, Henrik Persson

On Tue, Jul 22, 2003 at 04:23:53PM +0200, Dominik Brodowski wrote:
 > On Tue, Jul 22, 2003 at 04:18:39PM +0200, textshell@neutronstar.dyndns.org wrote:
 > > So it seems to me that the BIOS doesn't have the tables for my Athlon
 > > model/stepping. I tried to get a new bios from hp, but it didn't change anything
 > > relevant (they changed something in the PSTs but did not add a new one for my
 > > processor)
 > Indeed, that's the BUG().

Can you also mail the output of dmidecode, and the model of the laptop.
This is a 'beat up BIOS vendor' case, which AMD are actively trying to do.
I'll forward the info on to the right people..


 > > I think it would be a good thing to display a Message explaining why powernow
 > > isn't working to the user in the case that no relevant PST is found.
 > Patch appended at the end.

Looks fine. I'll apply it when I get back from KS/OLS.
 
 > > I very much would like to have a way to override (or add to) the bios provided
 > > values.
 > AFAIK, Dave Jones will add support to override the BIOS-provided tables.

There's been some sysfs discussion with Pat in the last few days
(not specifically cpufreq related, but its going to become easier
 to add this aparently..).

		Dave


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-22 14:23         ` Dominik Brodowski
  2003-07-22 14:42           ` Dave Jones
@ 2003-07-22 14:53           ` textshell
  2003-07-23 11:13             ` Pavel Machek
  2003-07-23 16:36             ` Dominik Brodowski
  1 sibling, 2 replies; 12+ messages in thread
From: textshell @ 2003-07-22 14:53 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: davej, linux-kernel, Henrik Persson

On Tue, Jul 22, 2003 at 04:23:53PM +0200, Dominik Brodowski wrote:
> On Tue, Jul 22, 2003 at 04:18:39PM +0200, textshell@neutronstar.dyndns.org wrote:
> > So it seems to me that the BIOS doesn't have the tables for my Athlon
> > model/stepping. I tried to get a new bios from hp, but it didn't change anything
> > relevant (they changed something in the PSTs but did not add a new one for my
> > processor)
> 
> Indeed, that's the BUG().

I'll complain to HP about that.

> 
> > > I guess it's yet another BIOS problem... [as seen quite often wrt AMD
> > > PowerNow, unfortunately]
> > 
> > I think it would be a good thing to display a Message explaining why powernow
> > isn't working to the user in the case that no relevant PST is found.
> 
> Patch appended at the end.

Yes that patch would IMHO point users with broken BIOS tables in the right
direction.

> 
> > Can you suggest any workaround for this problem, or is my only option to
> > complain to HP do supply an updated BIOS. 
> 
> Well, you could try using the PST which mostly matches your system except
> the CPUID [PST #12, see below] -- if the values used are similar to the ones
> Windows XP uses. But this might be risky!!!
> 

I think you know a bit more about these matters than me, so please allow me this
question:
How much risk do you think that would be (with the usual 'you are not responible
for any damages' stuff as usual) to just use that entry? At with the performance
governour it is exactly the same as displayed as currently by x86info so that
shouldn't be a problem. Do you think that lower frequencies and voltages can
kill the processor? [I can cope with instabilities]

Thank you for your help.

Martin H.


> >  --DEBUG: 7a0 ?= 781 && 21 ?= 21, 11 ?= 11
> >  PST:12 (@0x4017d8dc)
> >   cpuid: 0x781	  fsb: 133	  maxFID: 0x15	  startvid: 0xb
> >   num of p states in this table: 6
> >     FID: 0x12 (4.0x [532MHz])	VID: 0x13 (1.200V)
> >     FID: 0x4 (5.0x [665MHz])	VID: 0x13 (1.200V)
> >     FID: 0x6 (6.0x [798MHz])	VID: 0x13 (1.200V)
> >     FID: 0x8 (7.0x [931MHz])	VID: 0x13 (1.200V)
> >     FID: 0xe (10.0x [1330MHz])	VID: 0xe (1.300V)
> >     FID: 0x15 (13.5x [1796MHz])	VID: 0xb (1.450V)
> 
> 	Dominik
> 
> diff -ruN linux-original/arch/i386/kernel/cpu/cpufreq/powernow-k7.c linux/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
> --- linux-original/arch/i386/kernel/cpu/cpufreq/powernow-k7.c	2003-07-11 14:12:35.000000000 +0200
> +++ linux/arch/i386/kernel/cpu/cpufreq/powernow-k7.c	2003-07-22 16:16:00.000000000 +0200
> @@ -345,6 +345,7 @@
>  						p+=2;
>  				}
>  			}
> +			dprintk (KERN_INFO PFX "Did not find any PST table for this CPU -- exiting\n");
>  			return -EINVAL;
>  		}
>  		p++;

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-22 14:53           ` textshell
@ 2003-07-23 11:13             ` Pavel Machek
  2003-07-23 11:28               ` Richard B. Johnson
  2003-07-23 16:36             ` Dominik Brodowski
  1 sibling, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2003-07-23 11:13 UTC (permalink / raw)
  To: textshell; +Cc: Dominik Brodowski, davej, linux-kernel, Henrik Persson

Hi!

> I think you know a bit more about these matters than me, so please allow me this
> question:
> How much risk do you think that would be (with the usual 'you are not responible
> for any damages' stuff as usual) to just use that entry? At with the performance
> governour it is exactly the same as displayed as currently by x86info so that
> shouldn't be a problem. Do you think that lower frequencies and voltages can
> kill the processor? [I can cope with instabilities]
> 

You are not likely to kill cpu (BTDT). 
-- 
				Pavel
Hardware that lets software kill it deserved that.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-23 11:13             ` Pavel Machek
@ 2003-07-23 11:28               ` Richard B. Johnson
  2003-07-23 12:30                 ` Pavel Machek
  0 siblings, 1 reply; 12+ messages in thread
From: Richard B. Johnson @ 2003-07-23 11:28 UTC (permalink / raw)
  To: Pavel Machek
  Cc: textshell, Dominik Brodowski, davej, Linux kernel, Henrik Persson

On Wed, 23 Jul 2003, Pavel Machek wrote:
[SNIPPED...]

> 				Pavel
> Hardware that lets software kill it deserved that.

Don't touch the Motorola 56xxx DSP, then. There are several
"insane instructions" that will smoke the device (programming
a pin for both input and output at the same time). There are
many other chips, often used on Motherboards, that have
programmable pins (even the AMD SC520)... These can be destroyed
by software.

Also, the bits for setting the power supply voltages to be
applied to your CPU are available in I/O space on many motherboards.
Try your 2.5 volt CPU on 5.0 volts. It will melt the solder that
holds the socket to the board!

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-23 11:28               ` Richard B. Johnson
@ 2003-07-23 12:30                 ` Pavel Machek
  0 siblings, 0 replies; 12+ messages in thread
From: Pavel Machek @ 2003-07-23 12:30 UTC (permalink / raw)
  To: Richard B. Johnson
  Cc: textshell, Dominik Brodowski, davej, Linux kernel, Henrik Persson

Hi!

> > 				Pavel
> > Hardware that lets software kill it deserved that.
> 
> Don't touch the Motorola 56xxx DSP, then. There are several
> "insane instructions" that will smoke the device (programming
> a pin for both input and output at the same time). There are

Well, if motorola was so stupid that you can kill it by mistake... I
don't want to touch _that_.

> Also, the bits for setting the power supply voltages to be
> applied to your CPU are available in I/O space on many motherboards.
> Try your 2.5 volt CPU on 5.0 volts. It will melt the solder that
> holds the socket to the board!

On mainboards I saw it was in 'reasonable' range. I trust it not to
melt cpu before thermal diode does its job.

AMD's PowerNow at least will not let you overclock and/or
overvoltage. You are free to undervoltage, but that's crash-only.

Its true that HP Omnibook xe3 probably can be damaged, provided that
its CPU fan fails and there's just enough airflow to keep thermal
protection from kicking in. Its harddrive overheats in such case.
I guess that's uncommon enough.
								Pavel
-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: 2.6.0-test1: CPUFreq not working, can't find sysfs interface
  2003-07-22 14:53           ` textshell
  2003-07-23 11:13             ` Pavel Machek
@ 2003-07-23 16:36             ` Dominik Brodowski
  1 sibling, 0 replies; 12+ messages in thread
From: Dominik Brodowski @ 2003-07-23 16:36 UTC (permalink / raw)
  To: textshell; +Cc: davej, linux-kernel, Henrik Persson

On Tue, Jul 22, 2003 at 04:53:52PM +0200, textshell@neutronstar.dyndns.org wrote:
> > Well, you could try using the PST which mostly matches your system except
> > the CPUID [PST #12, see below] -- if the values used are similar to the ones
> > Windows XP uses. But this might be risky!!!
> > 
> 
> I think you know a bit more about these matters than me, so please allow me this
> question:
> How much risk do you think that would be (with the usual 'you are not responible
> for any damages' stuff as usual) to just use that entry? At with the performance
> governour it is exactly the same as displayed as currently by x86info so that
> shouldn't be a problem. Do you think that lower frequencies and voltages can
> kill the processor? [I can cope with instabilities]

I really can't answer on that as I do neither know the hardware nor the BIOS
implementation well enough. Sorry.
BTW, it's no surprise that the x86info and cpufreq output are the same --
they use the same code. It'd be more interesting if Window$ uses the same
values [just mentioning it as you said PowerNow works on it, so....]

	Dominik

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-07-23 16:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 15:02 2.6.0-test1: CPUFreq not working, can't find sysfs interface textshell
2003-07-20 17:45 ` Henrik Persson
2003-07-20 21:12   ` textshell
2003-07-22 12:08     ` Dominik Brodowski
2003-07-22 14:18       ` textshell
2003-07-22 14:23         ` Dominik Brodowski
2003-07-22 14:42           ` Dave Jones
2003-07-22 14:53           ` textshell
2003-07-23 11:13             ` Pavel Machek
2003-07-23 11:28               ` Richard B. Johnson
2003-07-23 12:30                 ` Pavel Machek
2003-07-23 16:36             ` Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).