Re: New MTRR fix for 2.1.120-pre3

Andy Higgins (higgins@ns.vvm.com)
Thu, 3 Sep 1998 19:37:24 -0500 (CDT)


On Fri, 4 Sep 1998, Richard Gooch wrote:

> > >
> Erm, 2.1.120-pre3 already had MTRR support. Did you get lockups when
> enabling CONFIG_MTRR?
> The patch I posted a few days ago shouldn't have any effect after
> bootup. Are you sure you needed to apply it to fix post-boot lockups?
>
Lockups both with CONFIG_MTRR and w/out on 2.1.120-pre3(minus Patch) (post
boot)..

To make sure I wasn't dreaming I pulled the patch put a fresh 2.1.120-pre3
without MTRR patch and without CONFIG_MTRR and reproduced the lockup
under the following conditions (but unable to cause lockup with
patch re-applied)

heavily loaded apache_1.3.0 (frontpage extentions..hit heavy)
heavily loaded squid_1.2 beta24 (caches spanning 2 24gb ultra's)
find / -name 'blahblah'

system:
Adaptec onboard AIC-7880 Ultra SCSI host adapter (stock 2.1.120-pre3
driver)
smp enabled.
max file descriptors upped from 256->1024
Network card: tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
Lite-On 82c168 PNIC (not stock driver..needed PNIC)
Video: Diamond Stealth PCI 4mb

thing is from what I know about mtrr (which can fit in this dot ->.
it 'should' be irrelevent whether enabled or not ..since
its just a server..never run X-apps..no high video..etc..just
disk and memory thrashing..

--- kernel boot output---

Sep 1 00:32:54 ns2 kernel: Intel MultiProcessor Specification v1.4
Sep 1 00:32:54 ns2 kernel: Virtual Wire compatibility mode.
Sep 1 00:32:54 ns2 kernel: OEM ID: INTEL Product ID: RD440LX DP APIC
at: 0xFEE00000
Sep 1 00:32:54 ns2 kernel: Processor #1 Pentium(tm) Pro APIC version 17
Sep 1 00:32:54 ns2 kernel: Processor #0 Pentium(tm) Pro APIC version 17
Sep 1 00:32:54 ns2 kernel: I/O APIC #2 Version 17 at 0xFEC00000.
Sep 1 00:32:54 ns2 kernel: Processors: 2
Sep 1 00:32:54 ns2 kernel: mapped APIC to ffffe000 (fee00000)
Sep 1 00:32:54 ns2 kernel: mapped IOAPIC to ffffd000 (fec00000)
Sep 1 00:32:54 ns2 kernel: Console: colour VGA+ 80x25
Sep 1 00:32:54 ns2 kernel: Calibrating delay loop... 299.01 BogoMIPS
Sep 1 00:32:54 ns2 kernel: Memory: 253456k/258048k available (888k kernel
code, 400k reserved, 3260k data, 44
k init)
Sep 1 00:32:54 ns2 kernel: POSIX conformance testing by UNIFIX
Sep 1 00:32:54 ns2 kernel: CPU1: Intel Pentium II (Klamath) stepping 04
Sep 1 00:32:54 ns2 kernel: calibrating APIC timer ...
Sep 1 00:32:54 ns2 kernel: ..... CPU clock speed is 299.9544 MHz.
Sep 1 00:32:54 ns2 kernel: ..... APIC bus clock speed is 66.6564 MHz.
Sep 1 00:32:54 ns2 kernel: Booting processor 0 eip 2000
Sep 1 00:32:54 ns2 kernel: Calibrating delay loop... 299.83 BogoMIPS
Sep 1 00:32:54 ns2 kernel: OK.
Sep 1 00:32:54 ns2 kernel: CPU0: Intel Pentium II (Klamath) stepping 04
Sep 1 00:32:54 ns2 kernel: Total of 2 processors activated (598.84
BogoMIPS).
Sep 1 00:32:54 ns2 kernel: enabling symmetric IO mode... ...done.
Sep 1 00:32:54 ns2 kernel: ENABLING IO-APIC IRQs
Sep 1 00:32:54 ns2 kernel: init IO_APIC IRQs
Sep 1 00:32:54 ns2 kernel: IO-APIC pin 0, 9, 11, 13, 16, 17, 20, 21, 22,
23 not connected.
Sep 1 00:32:54 ns2 kernel: number of MP IRQ sources: 16.
Sep 1 00:32:54 ns2 kernel: number of IO-APIC registers: 24.
Sep 1 00:32:54 ns2 kernel: testing the IO APIC.......................
Sep 1 00:32:54 ns2 kernel: .... register #00: 02000000
Sep 1 00:32:54 ns2 kernel: ....... : physical APIC id: 02
Sep 1 00:32:54 ns2 kernel: .... register #01: 00170011
Sep 1 00:32:54 ns2 kernel: ....... : max redirection entries: 0017
Sep 1 00:32:54 ns2 kernel: ....... : IO APIC version: 0011
Sep 1 00:32:54 ns2 kernel: .... register #02: 00000000
Sep 1 00:32:54 ns2 kernel: ....... : arbitration: 00
Sep 1 00:32:54 ns2 kernel: .... IRQ redirection table:
Sep 1 00:32:54 ns2 kernel: NR Log Phy Mask Trig IRR Pol Stat Dest Deli
Vect:

...stuff omitted...

Sep 1 00:32:54 ns2 kernel: IRQ to pin mappings:
Sep 1 00:32:54 ns2 kernel: 0->2 1->1 2->-1 3->3 4->4 5->5 6->6 7->7 8->8
9->-1 10->10 11->-1 12->12 13->-1 14
->14 15->15 16->-1 17->-1 18->18 19->19 20->-1 21->-1 22->-1 23->-1 24->-1
25->-1 26->-1 27->-1 28->-1 29->-1
30->-1 31->-1 32->-1 33->-1 34->-1 35->-1 36->-1 37->-1 38->-1 39->-1
40->-1 41->-1 42->-1 43->-1 44->-1 45->-
1 46->-1 47->-1 48->-1 49->-1 50->-1 51->-1 52->-1 53->-1 54->-1 55->-1
56->-1 57->-1 58->-1 59->-1 60->-1 61-
>-1 62->-1 63->-1
Sep 1 00:32:54 ns2 kernel: .................................... done.
Sep 1 00:32:54 ns2 kernel: Checking 386/387 coupling... OK, FPU using
exception 16 error reporting.
Sep 1 00:32:54 ns2 kernel: Checking 'hlt' instruction... OK.
Sep 1 00:32:54 ns2 kernel: Swansea University Computer Society NET3.039
for Linux 2.1
Sep 1 00:32:54 ns2 kernel: NET3: Unix domain sockets 0.16 for Linux
NET3.038.
Sep 1 00:32:54 ns2 kernel: Swansea University Computer Society TCP/IP for
NET3.037
Sep 1 00:32:54 ns2 kernel: IP Protocols: ICMP, UDP, TCP
Sep 1 00:32:54 ns2 kernel: Initializing RT netlink socket
Sep 1 00:32:54 ns2 kernel: PCI: PCI BIOS revision 2.10 entry at 0xfdaaf
Sep 1 00:32:54 ns2 kernel: PCI: Using configuration type 1
Sep 1 00:32:54 ns2 kernel: PCI: Probing PCI hardware
Sep 1 00:32:54 ns2 kernel: PCI->APIC IRQ transform: (B0,I16,P0) -> 19
Sep 1 00:32:54 ns2 kernel: Starting kswapd v 1.5
Sep 1 00:32:54 ns2 kernel: Serial driver version 4.26 with no serial
options enabled
Sep 1 00:32:54 ns2 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Sep 1 00:32:54 ns2 kernel: Real Time Clock Driver v1.09

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html