Date: Fri, 31 Jan 1997 03:00:53 -0700 From: Steve Passe <smp@csn.net> To: bag@sinbin.demos.su (Alex G. Bulushev) Cc: mishania@demos.su, freebsd-smp@freebsd.org Subject: Re: troubles with smp kernel Message-ID: <199701311000.DAA22229@clem.systemsix.com> In-Reply-To: Your message of "Fri, 31 Jan 1997 12:37:39 %2B0300." <199701310937.MAA21221@sinbin.demos.su>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > >You could attempt to fix the code in sys/i386/i386/mp_machdep.c. > >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? yes, this is exactly what we wanted to see, this corresponds to the entries in the mp table: I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# INT active-lo level 1 4:A 2 19 INT active-lo level 1 5:A 2 16 INT active-lo level 2 4:A 2 16 INT active-lo level 2 5:A 2 17 you parse the dmesg lines as: int a irq 17 on pci2:5 <- pci bus #2, pci device #5, pci int pin a on IRQ 17 you parse the mp table INT association line as: 2 5:A 2 17 <- pci bus #2, pci device #5, pci int A assoc with APIC IRQ 17 so for each of the 4 controllers (ahc0-3) we picked the correct APIC IRQs. now the $64k question, is the system running any better this way? -- Steve Passe | powered by smp@csn.net | FreeBSD -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzHe7tEAAAEEAM274wAEEdP+grIrV6UtBt54FB5ufifFRA5ujzflrvlF8aoE 04it5BsUPFi3jJLfvOQeydbegexspPXL6kUejYt2OeptHuroIVW5+y2M2naTwqtX WVGeBP6s2q/fPPAS+g+sNZCpVBTbuinKa/C4Q6HJ++M9AyzIq5EuvO0a8Rr9AAUR tBlTdGV2ZSBQYXNzZSA8c21wQGNzbi5uZXQ+ =ds99 -----END PGP PUBLIC KEY BLOCK-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701311000.DAA22229>