From owner-freebsd-smp Thu Jan 30 10:01:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA22491 for smp-outgoing; Thu, 30 Jan 1997 10:01:17 -0800 (PST) Received: from kremvax.demos.su (kremvax.demos.su [194.87.0.20]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id KAA22486 for ; Thu, 30 Jan 1997 10:01:12 -0800 (PST) Received: by kremvax.demos.su (8.6.13/D) from 0@megillah.demos.su [194.87.0.21] with ESMTP id UAA14946; Thu, 30 Jan 1997 20:59:28 +0300 Received: by megillah.demos.su id UAA25356; (8.8.3/D) Thu, 30 Jan 1997 20:59:39 +0300 (MSK) Message-Id: <199701301759.UAA25356@megillah.demos.su> Subject: Re: troubles with smp kernel To: smp@csn.net (Steve Passe) Date: Thu, 30 Jan 1997 20:59:39 +0300 (MSK) Cc: bag@sinbin.demos.su, mishania@demos.su, freebsd-smp@FreeBSD.ORG In-Reply-To: <199701301739.KAA17552@clem.systemsix.com> from "Steve Passe" at Jan 30, 97 10:39:57 am From: "Mikhail A. Sokolov" X-Class: Fast Organization: Demos Company, Ltd. Reply-To: mishania@demos.su X-Mailer: ELM [version 2.4 PL24 ME7a] Content-Type: text Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > Current Pentium Pro CPU Cards only support PIIX3 SMI so leave JP5 on default > > settings (don't swith to APIC SMI) until future update ... > what is J5 described to do? we have several people using this board with > APIC_IO enabled, so I know its possible. Fine Manual says we should leave JP5 to handle PIIX3 SMI, never turning APIC ON. We turned it on, of course, and it works only from then. > is this area really missing or did you truncate the output? there should be > a long list of INTerrupt associations here!!! > note that while answering this letter another mailing came in from the same > site with more detail on some of the above issues so I will continue > this with an answer to that mailing. I will be refering to the above > mptable line showing "NINTR=16" in it... Seems like it was my letter, but I didn't include mptable output then, here we all have it. But, I see it lies, - I _have_ APIC_IO uncommented ... Since it was truncated, here comes nowadays variant: {fyllefrossa}/home/mishania> ./mptable =============================================================================== MPTable, version 2.0.4 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f60b0 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x8b mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f5caa signature: 'PCMP' base table length: 268 version: 1.4 checksum: 0xf9 OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 25 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 1 6 0xfbff 0 0x11 AP, usable 6 1 7 0xfbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 PCI 3 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 3 0 2 0 INT conforms conforms 3 1 2 1 INT conforms conforms 3 0 2 2 INT conforms conforms 3 3 2 3 INT conforms conforms 3 4 2 4 INT conforms conforms 3 5 2 5 INT conforms conforms 3 6 2 6 INT conforms conforms 3 7 2 7 INT conforms conforms 3 8 2 8 INT conforms conforms 3 14 2 14 INT conforms conforms 3 15 2 15 INT active-lo level 1 4:A 2 19 INT active-lo level 1 5:A 2 16 INT active-lo level 0 10:A 2 18 INT active-lo level 2 4:A 2 16 INT active-lo level 2 5:A 2 17 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT active-hi edge 3 0 255 0 NMI active-hi edge 3 0 255 1 ------------------------------------------------------------------------------- # SMP kernel config file options: options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O options NCPU=2 # number of CPUs options NBUS=4 # number of busses options NAPIC=1 # number of IO APICs options NINTR=16 # number of INTs > -- > Steve Passe | powered by > smp@csn.net | FreeBSD Thanks! -mishania P.S. kernel 'config': {fyllefrossa}/home/mishania> more /sys/i386/conf/FYLLEFROSSA # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD$ machine "i386" cpu "I686_CPU" ident FYLLEFROSSA maxusers 32 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller ahc0 controller scbus0 device sd0 # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver # Mandatory, don't remove device npx0 at isa? port "IO_NPX" irq 13 vector npxintr # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device de0 pseudo-device loop pseudo-device ether pseudo-device log pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing options "MAXMEM=(1024*256)" options SMP #mishania options NCPU=2 # number of CPUs #mishania options NBUS=4 # number of busses #mishania options NAPIC=1 # number of IO APICs #mishania options NINTR=16 # number of INTsA #mishania options APIC_IO # Steven. options SMP_INVLTBL # Steven.