Date: Mon, 19 Jul 1999 21:40:02 -0700 (PDT) From: John Grzesiak <johng@pcrd.net> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/10411: top, vmstat, iostat show 0% cpu idle & usage on SMP system Message-ID: <199907200440.VAA41125@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/10411; it has been noted by GNATS.
From: John Grzesiak <johng@pcrd.net>
To: freebsd-gnats-submit@freebsd.org, bob@pmr.com
Cc:
Subject: Re: kern/10411: top, vmstat, iostat show 0% cpu idle & usage on SMP
system
Date: Tue, 20 Jul 1999 00:30:55 -0400
Here are a couple of items I left out... (I had a bit more time to look
at it)..
When systat is started after rebooting the kernel (systat -v 1) the
clk0 interupt variable (IRQ 2) clocks at about 100 per second.
(It varies by one - up or down, every so often), but when I switch to
another VTY and start a recompile of the kernel the clk0 will rise up to
between 160 and 180!!. After the abnormalnumber shows up the systat
clock dies and the subject line symptoms are then present.
The symptoms will remain until reboot....
I will spend some more time this week on this one....
Here is my MPTABLE output if it helps. (edited for formatting reasons)
===============================================================================
MPTable, version 2.0.15
looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00
searching CMOS 'top of mem' @ 0x0009f800 (638K)
searching default 'top of mem' @ 0x0009fc00 (639K)
searching BIOS @ 0x000f0000
MP FPS found in BIOS @ physical addr: 0x000f6e60
-------------------------------------------------------------------------------
MP Floating Pointer Structure:
location: BIOS
physical address: 0x000f6e60
signature: '_MP_'
length: 16 bytes
version: 1.4
checksum: 0xd7
mode: Virtual Wire
-------------------------------------------------------------------------------
MP Config Table Header:
physical address: 0x000f6a50
signature: 'PCMP'
base table length: 268
version: 1.4
checksum: 0xdb
OEM ID: 'OEM00000'
Product ID: 'PROD00000000'
OEM table pointer: 0x00000000
OEM table size: 0
entry count: 25
local APIC address: 0xfee00000
extended table length: 124
extended table checksum: 37
-------------------------------------------------------------------------------
MP Config Base Table Entries:
--
Processors: APIC ID Version State Family Model Step
Flags
1 0x11 BSP, usable 6 5 1
0x183fbff
0 0x11 AP, usable 6 5 1
0x183fbff
--
Bus: Bus ID Type
0 PCI
1 PCI
2 ISA
--
I/O APICs: APIC ID Version State Address
2 0x11 usable 0xfec00000
--
I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID
PIN#
ExtINT conforms conforms 2 0
2 0
INT conforms conforms 2 1
2 1
INT conforms conforms 2 0
2 2
INT conforms conforms 2 3
2 3
INT conforms conforms 2 4
2 4
INT conforms conforms 2 5
2 5
INT conforms conforms 2 6
2 6
INT conforms conforms 2 7
2 7
INT conforms conforms 2 8
2 8
INT conforms conforms 2 10 2
10
INT conforms conforms 2 12 2
12
INT active-lo level 1 0:A 2
16
INT active-lo level 0 4:D 2
19
INT active-lo level 0 6:A 2
19
INT active-lo level 0 10:A 2
18
INT active-lo level 0 10:A 2
18
INT active-lo level 0 11:A 2
17
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID
PIN#
ExtINT active-hi edge 2 0
255 0
NMI active-hi edge 2 0
255 1
-------------------------------------------------------------------------------
MP Config Extended Table Entries:
--
bus ID: 0 address type: I/O address
address base: 0x0
address range: 0x10000
--
bus ID: 0 address type: memory address
address base: 0x8000000
address range: 0xd97c0000
--
bus ID: 0 address type: prefetch address
address base: 0xe17c0000
address range: 0x6840000
--
bus ID: 0 address type: memory address
address base: 0xe8000000
address range: 0x18000000
--
bus ID: 0 address type: memory address
address base: 0xa0000
address range: 0x20000
--
bus ID: 2 bus info: 0x01 parent bus ID: 0--
bus ID: 0 address modifier: add
predefined range: 0x00000000--
bus ID: 0 address modifier: add
predefined range: 0x00000001
-------------------------------------------------------------------------------
# SMP kernel config file options:
# Required:
options SMP # Symmetric MultiProcessor
Kernel
options APIC_IO # Symmetric (APIC) I/O
# Optional (built-in defaults will work in most cases):
#options NCPU=2 # number of CPUs
#options NBUS=3 # number of busses
#options NAPIC=1 # number of IO APICs
#options NINTR=24 # number of INTs
-------------------------------------------------------------------------------
dmesg output:
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
FreeBSD 3.2-RELEASE #2: Mon Jul 19 15:12:32 EDT 1999
root@smplab:/usr/src/sys/compile/SMP-L
Timecounter "i8254" frequency 1193173 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
Origin = "GenuineIntel" Id = 0x651 Stepping=1
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,MMX,<b24>>
real memory = 134217728 (131072K bytes)
avail memory = 127365120 (124380K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc030d000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x02 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x02 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
uhci0: <Intel 82371AB/EB USB Host Controller> rev 0x01 int d irq 19 on
pci0.4.2
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> rev 0x00 int a irq 19 on
pci0.6.0
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
bktr0: <BrookTree 878> rev 0x02 int a irq 18 on pci0.10.0
bti2c0: <bt848 Hard/Soft I2C controller>
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
smbus1: <System Management Bus> on bti2c0
smb1: <SMBus general purpose I/O> on smbus1
Warning - card vendor 10b4 unknown. This can cause poor performance
Miro TV, Temic NTSC tuner, dbx stereo.
pn0: <82c169 PNIC 10/100BaseTX> rev 0x21 int a irq 17 on pci0.11.0
pn0: Ethernet address: 00:a0:cc:3f:cc:66
pn0: autoneg complete, link status good (half-duplex, 100Mbps)
Probing for devices on PCI bus 1:
vga0: <ATI model 4742 graphics accelerator> rev 0x5c int a irq 16 on
pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <4 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
ppc0 at 0x378 irq 7 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
pcf0 at 0x320 irq 5 on isa
vga0 at 0x3c0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 10 drq 1 on isa
snd0: <SoundBlaster 16 4.13>
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.13>
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401>
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM>
usb0: <Intel 82371AB/EB USB Host Controller>
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcf0: <PCF8584 I2C bus controller>
iicbus1: <Philips I2C bus> on pcf0 addr 0xaa
iicsmb1: <I2C to SMB bridge> on iicbus1
smbus2: <System Management Bus> on iicsmb1
smb2: <SMBus general purpose I/O> on smbus2
iic1: <I2C general purpose I/O> on iicbus1
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
changing root device to da0s1a
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST118273W 5958> Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
cd0 at ahc0 bus 0 target 6 lun 0
cd0: <NEC CD-ROM DRIVE:500 2.5> Removable CD-ROM SCSI-2 device
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM VIKING II 4.5WSE 4110> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
===============================================================================
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907200440.VAA41125>
