linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /proc/stat's intr field looks odd, although /proc/interrupts seems correct
@ 2003-08-11  3:33 Chris Rivera
  2003-08-11  3:48 ` Randy.Dunlap
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Rivera @ 2003-08-11  3:33 UTC (permalink / raw)
  To: linux-kernel

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

Hi,

I am running 2.6.0-test2-mm4 on an SMP machine with dual Athlon MP
2000+s.  

/proc/stat displays:

cpu  13261 0 2603 887671 4399
cpu0 6936 0 1571 443183 2285
cpu1 6325 0 1031 444488 2113
intr 5021986 4539589 5476 0 0 0 0 0 0 0 0 0 0 73888 0 16345 11 379144 0
7533 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 1677244
btime 1060567182
processes 1286
procs_running 1
procs_blocked 0

/proc/interrupts:

           CPU0       CPU1
  0:      26530    4875571    IO-APIC-edge  timer
  1:       6035          0    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
 12:      77657       3869    IO-APIC-edge  i8042
 14:      16560          1    IO-APIC-edge  ide0
 15:         11          0    IO-APIC-edge  ide1
 16:     409959          1   IO-APIC-level  radeon@PCI:1:5:0
 17:          0          0   IO-APIC-level  EMU10K1
 18:       7942          0   IO-APIC-level  eth0
NMI:          0          0
LOC:    4902124    4902123
ERR:          0
MIS:          0

I am not sure why the intr line contains all those zeros.  Is this
normal behavior?

Thanks,
	Chris Rivera

[-- Attachment #2: config-2.6.0-test2-mm4 --]
[-- Type: text/plain, Size: 15133 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=15
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# 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_X86_4G is not set
# CONFIG_X86_SWITCH_PAGETABLES is not set
# CONFIG_X86_4G_VM_LAYOUT is not set
# CONFIG_X86_UACCESS_INDIRECT is not set
# CONFIG_X86_HIGH_ENTRY is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_SMP=y
CONFIG_NR_CPUS=2
CONFIG_PREEMPT=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_X86_MCE_P4THERMAL is not set
# 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 is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
CONFIG_HAVE_DEC_LOCK=y

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

#
# ACPI Support
#
# CONFIG_ACPI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
CONFIG_PCI_GODIRECT=y
# CONFIG_PCI_GOANY is not set
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=y
# CONFIG_PNP_DEBUG is not set

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

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# 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 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=y

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
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_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDEFLOPPY 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_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# 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=y
# 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_CS5530 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_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW 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 is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_SCSI is not set

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

#
# Fusion MPT device support
#

#
# 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 is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# 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_ARPD is not set
# CONFIG_INET_ECN is not set
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_IPV6 is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETFILTER is not set
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC 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=y
CONFIG_VORTEX=y
# CONFIG_TYPHOON is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_NET_PCI 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_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 is not set
# 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_PS2_SYNAPTICS is not set
# 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 is not set
# CONFIG_GEN_RTC is not set
# 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=y
# 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 is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
# CONFIG_DRM_MGA 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 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 is not set

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

#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
# CONFIG_TMPFS is not set
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_NFS_DIRECTIO=y
# 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 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=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_EFI_PARTITION is not set

#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=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_VERBOSE_PRINTK=y
# 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=y
# 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 is not set
# CONFIG_SND_VX222 is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
# CONFIG_USB 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_INFO=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set
CONFIG_X86_EXTRA_IRQS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y

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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  3:33 /proc/stat's intr field looks odd, although /proc/interrupts seems correct Chris Rivera
@ 2003-08-11  3:48 ` Randy.Dunlap
  2003-08-11  4:07   ` Robert Love
  0 siblings, 1 reply; 10+ messages in thread
From: Randy.Dunlap @ 2003-08-11  3:48 UTC (permalink / raw)
  To: cmrivera; +Cc: linux-kernel

> Hi,
>
> I am running 2.6.0-test2-mm4 on an SMP machine with dual Athlon MP 2000+s.
>
> /proc/stat displays:
>
> cpu  13261 0 2603 887671 4399
> cpu0 6936 0 1571 443183 2285
> cpu1 6325 0 1031 444488 2113
> intr 5021986 4539589 5476 0 0 0 0 0 0 0 0 0 0 73888 0 16345 11 379144 0 7533
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> ctxt 1677244
> btime 1060567182
> processes 1286
> procs_running 1
> procs_blocked 0
>
> /proc/interrupts:
>
>            CPU0       CPU1
>   0:      26530    4875571    IO-APIC-edge  timer
>   1:       6035          0    IO-APIC-edge  i8042
>   2:          0          0          XT-PIC  cascade
>  12:      77657       3869    IO-APIC-edge  i8042
>  14:      16560          1    IO-APIC-edge  ide0
>  15:         11          0    IO-APIC-edge  ide1
>  16:     409959          1   IO-APIC-level  radeon@PCI:1:5:0
>  17:          0          0   IO-APIC-level  EMU10K1
>  18:       7942          0   IO-APIC-level  eth0
> NMI:          0          0
> LOC:    4902124    4902123
> ERR:          0
> MIS:          0
>
> I am not sure why the intr line contains all those zeros.  Is this normal
> behavior?

Yes, for most architectures, it prints interrupts from 0 thru NR_IRQS:
	for (i = 0 ; i < NR_IRQS ; i++)
		len += sprintf(page + len, " %u", kstat_irqs(i));
and NR_IRQS varies depending on the kernel build options, but (for x86)
is usually either 16 or 224.

~Randy




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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  3:48 ` Randy.Dunlap
@ 2003-08-11  4:07   ` Robert Love
  2003-08-11  4:33     ` Randy.Dunlap
  0 siblings, 1 reply; 10+ messages in thread
From: Robert Love @ 2003-08-11  4:07 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: cmrivera, linux-kernel

On Sun, 2003-08-10 at 20:48, Randy.Dunlap wrote:

> Yes, for most architectures, it prints interrupts from 0 thru NR_IRQS:
> 	for (i = 0 ; i < NR_IRQS ; i++)
> 		len += sprintf(page + len, " %u", kstat_irqs(i));
> and NR_IRQS varies depending on the kernel build options, but (for x86)
> is usually either 16 or 224.

Eww. So I guess on SMP, it is 224.

Might be nice to only print lines that are registered, like
/proc/interrupts. But then you have no way of knowing which field is
which interrupt line.  Ugh.

How can we expect anything to parse that line?

	Robert Love



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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  4:07   ` Robert Love
@ 2003-08-11  4:33     ` Randy.Dunlap
  2003-08-11  4:35       ` Robert Love
  0 siblings, 1 reply; 10+ messages in thread
From: Randy.Dunlap @ 2003-08-11  4:33 UTC (permalink / raw)
  To: rml; +Cc: cmrivera, linux-kernel

> On Sun, 2003-08-10 at 20:48, Randy.Dunlap wrote:
>
>> Yes, for most architectures, it prints interrupts from 0 thru NR_IRQS:
>> 	for (i = 0 ; i < NR_IRQS ; i++)
>> 		len += sprintf(page + len, " %u", kstat_irqs(i));
>> and NR_IRQS varies depending on the kernel build options, but (for x86) is
>> usually either 16 or 224.
>
> Eww. So I guess on SMP, it is 224.

Yes.

> Might be nice to only print lines that are registered, like
> /proc/interrupts. But then you have no way of knowing which field is which
> interrupt line.  Ugh.
>
> How can we expect anything to parse that line?

Ugh-ly?  We can move it to sysfs and then change the file format
to intnum:count pairs (e.g.).

~Randy




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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  4:33     ` Randy.Dunlap
@ 2003-08-11  4:35       ` Robert Love
  2003-08-11  4:41         ` Randy.Dunlap
  0 siblings, 1 reply; 10+ messages in thread
From: Robert Love @ 2003-08-11  4:35 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: cmrivera, linux-kernel

On Sun, 2003-08-10 at 21:33, Randy.Dunlap wrote:

> Ugh-ly?  We can move it to sysfs and then change the file format
> to intnum:count pairs (e.g.).

But then how is it different from /proc/interrupts ?

	Robert Love



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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  4:35       ` Robert Love
@ 2003-08-11  4:41         ` Randy.Dunlap
  2003-08-11  4:45           ` Robert Love
  0 siblings, 1 reply; 10+ messages in thread
From: Randy.Dunlap @ 2003-08-11  4:41 UTC (permalink / raw)
  To: rml; +Cc: cmrivera, linux-kernel

> On Sun, 2003-08-10 at 21:33, Randy.Dunlap wrote:
>
>> Ugh-ly?  We can move it to sysfs and then change the file format to
>> intnum:count pairs (e.g.).
>
> But then how is it different from /proc/interrupts ?

Um, your turn.

~Randy




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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  4:41         ` Randy.Dunlap
@ 2003-08-11  4:45           ` Robert Love
  2003-08-11  5:23             ` Zwane Mwaikambo
  0 siblings, 1 reply; 10+ messages in thread
From: Robert Love @ 2003-08-11  4:45 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: cmrivera, linux-kernel

On Sun, 2003-08-10 at 21:41, Randy.Dunlap wrote:

> Um, your turn.

Hahaha. I don't know, Randy. :)

	Robert Love



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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  4:45           ` Robert Love
@ 2003-08-11  5:23             ` Zwane Mwaikambo
  2003-08-11  5:55               ` Zwane Mwaikambo
  0 siblings, 1 reply; 10+ messages in thread
From: Zwane Mwaikambo @ 2003-08-11  5:23 UTC (permalink / raw)
  To: Robert Love; +Cc: Randy.Dunlap, cmrivera, linux-kernel

On Sun, 10 Aug 2003, Robert Love wrote:

> On Sun, 2003-08-10 at 21:41, Randy.Dunlap wrote:
> 
> > Um, your turn.
> 
> Hahaha. I don't know, Randy. :)

On i386 you can find out the last irq line number during MP table parsing 
(ACPI bits are also in mpparse.c), for the hotplug case i suppose the 
hotplug code could bump this up as devices get attached. But unless we do 
dynamic NR_IRQs its all just too much effort.


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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  5:23             ` Zwane Mwaikambo
@ 2003-08-11  5:55               ` Zwane Mwaikambo
  2003-08-11  6:12                 ` Zwane Mwaikambo
  0 siblings, 1 reply; 10+ messages in thread
From: Zwane Mwaikambo @ 2003-08-11  5:55 UTC (permalink / raw)
  To: Robert Love; +Cc: Randy.Dunlap, cmrivera, linux-kernel

On Mon, 11 Aug 2003, Zwane Mwaikambo wrote:

> On i386 you can find out the last irq line number during MP table parsing 
> (ACPI bits are also in mpparse.c), for the hotplug case i suppose the 
> hotplug code could bump this up as devices get attached. But unless we do 
> dynamic NR_IRQs its all just too much effort.

Boring weekend...

Index: linux-2.6.0-test3-huge_kpage/fs/proc/proc_misc.c
===================================================================
RCS file: /build/cvsroot/linux-2.6.0-test3/fs/proc/proc_misc.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 proc_misc.c
--- linux-2.6.0-test3-huge_kpage/fs/proc/proc_misc.c	10 Aug 2003 08:42:45 -0000	1.1.1.1
+++ linux-2.6.0-test3-huge_kpage/fs/proc/proc_misc.c	11 Aug 2003 05:49:54 -0000
@@ -411,8 +411,19 @@ static int kstat_read_proc(char *page, c
 	len += sprintf(page + len, "intr %u", sum);
 
 #if !defined(CONFIG_PPC64) && !defined(CONFIG_ALPHA)
-	for (i = 0 ; i < NR_IRQS ; i++)
+{
+	static int last_irq = 0;
+	
+	for (i = last_irq; i < NR_IRQS; i++) {
+		if (irq_desc[i].action) {
+			if (i > last_irq)
+				last_irq = i;
+		}
+	}
+
+	for (i = 0 ; i <= last_irq ; i++)
 		len += sprintf(page + len, " %u", kstat_irqs(i));
+}
 #endif
 
 	len += sprintf(page + len,

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

* Re: /proc/stat's intr field looks odd, although /proc/interrupts seems correct
  2003-08-11  5:55               ` Zwane Mwaikambo
@ 2003-08-11  6:12                 ` Zwane Mwaikambo
  0 siblings, 0 replies; 10+ messages in thread
From: Zwane Mwaikambo @ 2003-08-11  6:12 UTC (permalink / raw)
  To: Robert Love; +Cc: Randy.Dunlap, cmrivera, linux-kernel

Now that it's booted;

This box has 20 irq lines and NR_IRQS = 224
Linux har-01.mastecende.com 2.6.0-test3 #12 SMP Mon Aug 11 01:56:51 EDT 2003 i686 i686 i386 GNU/Linux
root@har-01 ~ {0, 0} cat /proc/interrupts
           CPU0
  0:     386488    IO-APIC-edge  timer
  1:         98    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
  8:          1    IO-APIC-edge  rtc
  9:          0   IO-APIC-level  acpi
 12:         57    IO-APIC-edge  i8042
 14:         10    IO-APIC-edge  ide0
 17:       2343   IO-APIC-level  BusLogic BT-958
 18:        190   IO-APIC-level  PCnet/PCI II 79C970A
 19:          0   IO-APIC-level  uhci-hcd
NMI:          0
LOC:     383054
ERR:          0
MIS:          0
root@har-01 ~ {0, 0} cat /proc/stat
cpu  13420 48 19886 4865 384
cpu0 13420 48 19887 4865 384
intr 391995 389245 98 0 0 0 0 3 0 1 0 0 0 57 0 10 0 0 2345 237 0
ctxt 20591
btime 1058859909
processes 1097
procs_running 1
procs_blocked 0

And this one has 16 irq lines and NR_IRQS = 224
Linux mondecino.mastecende.com 2.6.0-test3 #11 SMP Mon Aug 11 01:50:37 EDT 
2003 i686 i686 i386 GNU/Linux
root@mondecino ~ {0, 0} cat /proc/interrupts
           CPU0
  0:    1071356          XT-PIC  timer
  1:         12          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  4:        830          XT-PIC  serial
  5:       1281          XT-PIC  uhci-hcd, uhci-hcd, eth0
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  acpi
 12:         60          XT-PIC  i8042
 14:       1490          XT-PIC  ide0
 15:         42          XT-PIC  ide1
NMI:          0
LOC:    1070561
ERR:          0
MIS:          0
root@mondecino ~ {0, 0} cat /proc/stat
cpu  27374 0 1642 77426 1230
cpu0 27374 0 1642 77426 1230
intr 1080473 1076701 12 0 0 830 1334 0 1 1 0 0 0 60 0 1492 42
ctxt 16348
btime 1060581831
processes 1218
procs_running 2
procs_blocked 0

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

end of thread, other threads:[~2003-08-11  6:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-11  3:33 /proc/stat's intr field looks odd, although /proc/interrupts seems correct Chris Rivera
2003-08-11  3:48 ` Randy.Dunlap
2003-08-11  4:07   ` Robert Love
2003-08-11  4:33     ` Randy.Dunlap
2003-08-11  4:35       ` Robert Love
2003-08-11  4:41         ` Randy.Dunlap
2003-08-11  4:45           ` Robert Love
2003-08-11  5:23             ` Zwane Mwaikambo
2003-08-11  5:55               ` Zwane Mwaikambo
2003-08-11  6:12                 ` Zwane Mwaikambo

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).