Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 1997 12:37:39 +0300 (MSK)
From:      bag@sinbin.demos.su (Alex G. Bulushev)
To:        smp@csn.net (Steve Passe)
Cc:        mishania@demos.su, freebsd-smp@freebsd.org
Subject:   Re: troubles with smp kernel
Message-ID:  <199701310937.MAA21221@sinbin.demos.su>
In-Reply-To: <199701301934.MAA18162@clem.systemsix.com> from "Steve Passe" at Jan 30, 97 12:34:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help

 Hi,

> >static electricity killed mishania and now there is no PARITY ERROR !!
> >why ?
> 
> in america we have a saying: don't look a gift horse in the mouth.
> 
> I guess the translation is, it works now, so don't complain!
> 

1. it works fine with one CPU, no PARITY ERROR
2. with two CPU's after all BIOS messages and before booting from disk
   it write about PARITY ERROR
3. there is no PARITY ERROR message when we switch to ECC in BIOS
   but i think that ECC simply correct this error ...

i think: this is hardware problem, and we need to change matheboard
(CPU's and SIMM's changed already)

> I'm not sure I understand, if you mean that you ran mptable with a kernel
> that has APIC_IO enabled, but you got the mptable output that was
> missing the INT section, this is explainable.  You need to understand

missing INT section in mptable output with JP5 in PIIX3 position

> >ahc0 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 19 on pci1:4
> >ahc1 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci1:5
> >ahc2 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 19 on pci2:4
> >ahc3 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci2:5
>                                                              ^^
>                                                              ||
> here is your major problem, ahc2 and ahc3 are getting the wrong INTs
> assigned to them. ahc2 should get IRQ16, and ahc3 should get IRQ17

> You could attempt to fix the code in sys/i386/i386/mp_machdep.c.  The following

ahc0 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 19 on pci1:4
ahc1 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci1:5
ahc2 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci2:4
ahc3 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 17 on pci2:5
							    ^^^ is it correct?
i recompile kernel with mp_matchdep.c patch and got this result ^

This is dmesg output with mp_matchdep.c patch:

Copyright (c) 1992-1996 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
   The Regents of the University of California.  All rights reserved.

FreeBSD 3.0-SMP #0: Fri Jan 31 11:12:51 MSK 1997
    bag@fyllefrossa.demos.su:/arc1/src/sys-SMP/compile/FYLLEFROSSA
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id: 1, version: 0x00040011
 cpu1 (AP):  apic id: 0, version: 0x00040011
 io0 (APIC): apic id: 2, version: 0x00170011
Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193157 Hz
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x616  Stepping=6
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 268435456 (262144K bytes)
avail memory = 257298432 (251268K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:1:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:1:1
chip3 <DEC 21050 PCI-PCI bridge> rev 2 on pci0:9
de0 <Digital 21041 Ethernet> rev 17 int a irq 18 on pci0:10
Freeing (NOT implimented) irq 12 for ISA cards.
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:74:8c:dc
chip4 <DEC 21050 PCI-PCI bridge> rev 2 on pci0:12
Freeing (NOT implimented) irq 12 for ISA cards.
Probing for devices on PCI bus 1:
ahc0 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 19 on pci1:4
Freeing (NOT implimented) irq 9 for ISA cards.
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "SEAGATE ST32550W 0016" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2047MB (4194058 512 byte sectors)
(ahc0:1:0): "SEAGATE ST19171W 0017" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 8683MB (17783112 512 byte sectors)
(ahc0:2:0): "SEAGATE ST19171W 0017" type 0 fixed SCSI 2
sd2(ahc0:2:0): Direct-Access 8683MB (17783112 512 byte sectors)
ahc1 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci1:5
Freeing (NOT implimented) irq 11 for ISA cards.
ahc1: aic7880 Wide Channel B, SCSI Id=7, 16 SCBs
ahc1 waiting for scsi devices to settle
ahc1: Someone reset channel A
Probing for devices on PCI bus 2:
ahc2 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci2:4
Freeing (NOT implimented) irq 11 for ISA cards.
ahc2: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs
ahc2 waiting for scsi devices to settle
ahc2: Someone reset channel A
ahc3 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 17 on pci2:5
Freeing (NOT implimented) irq 10 for ISA cards.
ahc3: aic7880 Wide Channel B, SCSI Id=7, 16 SCBs
ahc3 waiting for scsi devices to settle
ahc3: Someone reset channel A
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
npx0 on motherboard
npx0: INT 16 interface
changing root device to sd0a
Enabled INTs: 1, 2, 6, 8, 16, 17, 18, 19, imen: 0x00f0feb9
de0: enabling 10baseT port
SMP: All idle procs online.
SMP: Starting 1st AP!
SMP: AP CPU #1 LAUNCHED!!  Starting Scheduling...
SMP: TADA! CPU #1 made it into the scheduler!.
SMP: All 2 CPU's are online!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701310937.MAA21221>