Date: Wed, 11 Mar 1998 10:52:54 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: "Jordan K. Hubbard" <jkh@FreeBSD.ORG> Cc: Pomegranate <daver@flag.blackened.net>, smp@FreeBSD.ORG Subject: Re: my linux box never did that Message-ID: <2517.889609974@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 10 Mar 1998 17:07:48 PST." <22908.889578468@time.cdrom.com>
index | next in thread | previous in thread | raw e-mail
I think so, Dave just checked the IRQ rates in systat and found
clk0: 153-157 (over a minute or so)
rtc0: 64 very steady
And this is wrong, they should hold a ratio of 100:128, and this is
clearly not the case (SMP shows 50:64 for some reason, UP 100:128).
I will probably have to hand this over to the real SMP wizards, (I've
CC'ed smp), because this looks like something related to the APIC/
MPTABLE and all that junk.
Dave, is ther by any chance a newer BIOS you could flash into the MB ?
SMP wizards, any good ideas ? hardclock gets called about three times too
often on this motherboard. Mptable & dmesg included:
Poul-Henning
===============================================================================
MPTable, version 2.0.15
-------------------------------------------------------------------------------
MP Floating Pointer Structure:
location: BIOS
physical address: 0x000fb8b0
signature: '_MP_'
length: 16 bytes
version: 1.1
checksum: 0x0a
mode: Virtual Wire
-------------------------------------------------------------------------------
MP Config Table Header:
physical address: 0x000f7a10
signature: 'PCMP'
base table length: 284
version: 1.1
checksum: 0x72
OEM ID: 'INTEL '
Product ID: '440FX '
OEM table pointer: 0x00000000
OEM table size: 0
entry count: 27
local APIC address: 0xfee00000
extended table length: 0
extended table checksum: 0
-------------------------------------------------------------------------------
MP Config Base Table Entries:
--
Processors: APIC ID Version State Family Model Step Flags
1 0x11 BSP, usable 6 3 3 0x80fbff
0 0x11 AP, usable 6 3 3 0x80fbff
--
Bus: Bus ID Type
0 PCI
1 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 1 0 2 0
INT conforms conforms 1 1 2 1
INT conforms conforms 1 0 2 2
INT conforms conforms 1 3 2 3
INT conforms conforms 1 4 2 4
INT conforms conforms 1 5 2 5
INT conforms conforms 1 6 2 6
INT conforms conforms 1 7 2 7
INT active-hi edge 1 8 2 8
INT conforms conforms 1 9 2 9
INT conforms conforms 1 10 2 10
INT conforms conforms 1 11 2 11
INT conforms conforms 1 12 2 12
INT conforms conforms 1 13 2 13
INT conforms conforms 1 14 2 14
INT conforms conforms 1 15 2 15
INT active-lo level 0 10:A 2 16
INT active-lo level 0 13:A 2 17
INT active-lo level 0 11:A 2 19
SMI conforms conforms 1 0 2 23
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
ExtINT conforms conforms 0 0:A 255 0
NMI conforms conforms 0 0:A 255 1
-------------------------------------------------------------------------------
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.0-980309-SNAP #1: Tue Mar 10 15:12:50 PST 1998
root@speedy.vicor-nb.com:/usr/src/sys/compile/SPEEDY
Calibrating clock(s) ... TSC clock: 209550067 Hz, i8254 clock: 1193091 Hz
Timecounter "i8254" frequency 1193091 Hz cost 3791 ns
CPU: Pentium Pro (686-class CPU)
Origin = "GenuineIntel" Id = 0x633 Stepping=3
Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory = 50331648 (49152K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x002be000 - 0x02ffdfff, 47448064 bytes (11584 pages)
avail memory = 46026752 (44948K bytes)
SMP: CPU0 apic_initialize():
lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
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
Found BIOS32 Service Directory header at 0xf00fdb70
Entry = 0xfdb80 (0xf00fdb80) Rev = 0 Len = 1
PCI BIOS entry at 0xdba1
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000f8250
SMP: CPU0 bsp_apic_configure():
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
pci_open(1): mode 1 addr port (0x0cf8) is 0x80000090
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=12378086)
Probing for devices on PCI bus 0:
found-> vendor=0x8086, dev=0x1237, revid=0x02
class=06-00-00, hdrtype=0x00, mfdev=0
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0
found-> vendor=0x8086, dev=0x7000, revid=0x01
class=06-01-00, hdrtype=0x00, mfdev=1
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks
Extended BIOS: disabled
Lower BIOS: enabled
Coprocessor IRQ13: enabled
Mouse IRQ12: enabled
Interrupt Routing: A: IRQ10, B: IRQ11, C: disabled, D: IRQ9
MB0: disabled, MB1:
found-> vendor=0x8086, dev=0x7010, revid=0x00
class=01-01-80, hdrtype=0x00, mfdev=0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
intel_piix_status: primary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: primary master fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
intel_piix_status: primary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
ide_pci: busmaster 0 status: 04 from port: 0000ffa2
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000ffaa
Freeing (NOT implemented) redirected PCI irq 10.
found-> vendor=0x9004, dev=0x8178, revid=0x00
class=01-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=16
map[0]: type 4, range 32, base 0000ec00, size 8
map[1]: type 1, range 32, base febef000, size 12
ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x00 int a irq 16 on pci0.10.0
ahc0: Reading SEEPROM...done.
internal50 cable not present
internal68 cable is present
brdctl == 0x6c
external cable not present
eprom is present
brdctl == 0xec
low byte termination enabled, high byte termination enabled
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0: Resetting Channel A
ahc0: Downloading Sequencer Program...ahc0: 373 instructions downloaded
Done
ahc0: Probing channel A
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
ahc0: target 4 synchronous at 10.0MHz, offset = 0xf
sd0 at scbus0 target 4 lun 0
sd0: <SEAGATE ST51080N 0958> type 0 fixed SCSI 2
sd0: Direct-Access 1030MB (2109840 512 byte sectors)
sd0: with 4826 cyls, 4 heads, and an average 109 sectors/track
Freeing (NOT implemented) redirected PCI irq 9.
found-> vendor=0x8086, dev=0x1229, revid=0x02
class=02-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=19
map[0]: type 3, range 32, base ffaff000, size 12
map[1]: type 4, range 32, base 0000ef80, size 5
map[2]: type 1, range 32, base fea00000, size 20
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 19 on pci0.11.0
fxp0: Ethernet address 00:a0:c9:69:04:72
Freeing (NOT implemented) redirected PCI irq 11.
found-> vendor=0x5333, dev=0x8a01, revid=0x01
class=03-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=17
map[0]: type 1, range 32, base f8000000, size 26
vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 17 on pci0.13.0
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0065
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: video mode:24
sc0: VGA registers in BIOS for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: VGA registers to be used for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: rows_offset:1
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
ed1 not found at 0x300
fe0 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found
mse0: wrong signature ff
mse0 not found at 0x23c
psm0: disabled, not probed.
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 not found at 0x170
bt0 not found at 0x330
uha0 not found at 0x330
aha0 not found at 0x330
aic0 not found at 0x340
nca0 not found at 0x1f88
nca1 not found at 0x350
sea0 not found
wt0 not found at 0x300
mcd0: timeout getting status
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0: unknown board_id: f000
ie0 not found at 0x300
ie1: unknown board_id: f000
ie1 not found at 0x360
ep0 not found at 0x300
ex0 not found
le0 not found at 0x300
lnc0 not found at 0x280
ze0 not found at 0x300
zp0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.
imasks: bio c8010040, tty c708009a, net c708009a
SMP: enabled INTs: 1, 3, 4, 6, 7, 16, 19, apic_imen: 0x00f6ff25
BIOS Geometries:
0:0082fe3f 0..130=131 cylinders, 0..254=255 heads, 1..63=63 sectors
1:01300311 0..304=305 cylinders, 0..3=4 heads, 1..17=17 sectors
0 accounted for
Device configuration finished.
APIC_IO: routing 8254 via 8259 on pin 0
Considering FFS root f/s.
changing root device to sd0s2a
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff
sd0s1: type 0xa5, start 63, end = 2104514, size 2104452 : OK
In message <22908.889578468@time.cdrom.com>, "Jordan K. Hubbard" writes:
>I guess this is a hardware problem?
>
>> Dave, for now I'm lost, I cannot reproduce this :-( I have brought a
>> boot floppy with a current SMP kernel on it, and booted it on all
>> the SMP boxes I could get away with hi-jacking for 5 minutes, none
>> of them does it :-(
>>
>> Poul-Henning
>>
>> In message <199802272017.MAA11560@flag.blackened.net>, Pomegranate writes:
>> >
>> >aye, the thing clicks off at least 2+ seconds for every real time second.
>> >
>> >not bad, since when i first started playing around with it i'd say it was
>> >6 or 7 seconds for every real time second.
>> >
>> >the way i see it, in smp mode, 466 mhz at 2x clock speed is a booming
>> >932 mhz! do that on a ISI buddy
>> >
>>
>> --
>> Poul-Henning Kamp FreeBSD coreteam member
>> phk@FreeBSD.ORG "Real hackers run -current on their laptop."
>> "Drink MONO-tonic, it goes down but it will NEVER come back up!"
>
--
Poul-Henning Kamp FreeBSD coreteam member
phk@FreeBSD.ORG "Real hackers run -current on their laptop."
"Drink MONO-tonic, it goes down but it will NEVER come back up!"
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2517.889609974>
