From owner-freebsd-smp Sun Aug 30 09:47:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08369 for freebsd-smp-outgoing; Sun, 30 Aug 1998 09:47:55 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from pth.com (pault.dca.primenet.com [206.165.112.189]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA08362 for ; Sun, 30 Aug 1998 09:47:51 -0700 (PDT) (envelope-from paul@pth.com) Received: by pth.com (NX5.67g/NX3.0M) id AA19702; Sun, 30 Aug 98 13:01:19 -0400 From: "Paul T. Haddad" Message-Id: <9808301701.AA19702@pth.com> Subject: Re: Problem with spl0() IFCPL_LOCK/ss_lock To: Tor.Egge@fast.no Date: Sun, 30 Aug 1998 13:01:14 -0400 (EDT) Cc: freebsd-smp@FreeBSD.ORG In-Reply-To: <199808300334.FAA15781@midten.fast.no> from "Tor.Egge@fast.no" at Aug 30, 98 05:34:02 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tor, > > There are three different interpretations of how to configure the > IOAPIC interrupt pins 9, 10, 11 and 15 with the given mptable. > > I suggest temporarily reverting to revision 1.28 of mpapic.c. > > - Tor Egge This helped out a little, it got further then before, but still not far enough. Anything else you can think of? Paul npx0 on motherboard npx0: INT 16 interface Intel Pentium F00F detected, installing workaround APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 changing root device to sd0s1a SMP: AP CPU #2 Launched! SMP: AP panic: apic_ipi was stuck mp_lock = 01000002; cpuid = 1; lapic.id = 02000000 Debugger("panic") panic: apic_ipi was stuck mp_lock = 01000003; cpuid = 1; lapic.id = 02000000 boot() called on cpu#1 Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... cpu_reset called on cpu#1 cpu_reset: Stopping other CPUs panic: apic_ipi was stuck mp_lock = 01000003; cpuid = 1; lapic.id = 02000000 boot() called on cpu#1 Automatic reboot in 15 seconds - press a key on the console to abort To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Aug 31 09:14:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11100 for freebsd-smp-outgoing; Mon, 31 Aug 1998 09:14:07 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from trs80.e1.com (b161-2.futuris.net [206.183.161.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11094 for ; Mon, 31 Aug 1998 09:14:05 -0700 (PDT) (envelope-from brent@vivid.net) Received: from home (dhcp193.e1.com [206.183.161.193]) by trs80.e1.com (8.9.0/8.9.0) with SMTP id MAA10988 for ; Mon, 31 Aug 1998 12:11:39 -0400 (EDT) Message-ID: <008601bdd4fa$1d5d2cc0$c1a1b7ce@home.vivid.net> From: "Brent Wiese" To: Subject: What would it take? Date: Mon, 31 Aug 1998 12:12:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings, I've been using FreeBSD for years and love it. Great great product. I'm now in a situation where I have to put together some extremely powerful web servers. The site that it is for is in the top 10 of all visited sites (no, its not a porno site). :) Currently, we have 4 single cpu boxes, 2 running linux and 2 running 2.2.6. The 2 running FreeBSD are dual pII 300's. The plan is to get 2 more of the dual cpu boxes and kill off the 2 single cpu linux boxes. What I want to know is, what is it going to take to make the SMP code usable in a stressed environment? We have a definate interest in this. I know that FreeBSD using SMP, running apache, could *seriously* outperfom the same box running NT and IIS (boo hiss!). Let me know what you'd want from me to make this happen (money, test computers, etc) and I'll see what I do. Things like the client doing a press release about how awesome FreeBSD is serving their website, letting you use their name on your website as a "huge traffic" client, etc are possibilities too. Brent Wiese brent@vivid.net brent@e1.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Aug 31 19:48:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA03610 for freebsd-smp-outgoing; Mon, 31 Aug 1998 19:48:28 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from newsguy.com (perry.co.pathlink.com [207.211.168.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA03597 for ; Mon, 31 Aug 1998 19:48:23 -0700 (PDT) (envelope-from reyesf@newsguy.com) Received: (from reyesf@localhost) by newsguy.com (8.8.7/8.8.7) id TAA07763; Mon, 31 Aug 1998 19:47:24 -0700 (PDT) Message-Id: <199809010247.TAA07763@newsguy.com> From: "Francisco Reyes" To: "Brent Wiese" , "freebsd-smp@FreeBSD.ORG" Date: Mon, 31 Aug 1998 22:47:12 -0400 Reply-To: "Francisco Reyes" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 95 (4.0.1111) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: What would it take? Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 31 Aug 1998 12:12:12 -0400, Brent Wiese wrote: >I'm now in a situation where I have to put together some extremely powerful >web servers. The site that it is for is in the top 10 of all visited sites >(no, its not a porno site). :) > >Currently, we have 4 single cpu boxes, 2 running linux and 2 running 2.2.6. >The 2 running FreeBSD are dual pII 300's. For starters how about giving some specs of your current setup and their utilization (i.e. bandwith, HD specs, memory, load etc....). Also mention what are your goals. What are you running on these servers? FTP, mail, HTTP??? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Aug 31 23:45:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA29348 for freebsd-smp-outgoing; Mon, 31 Aug 1998 23:45:37 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from word.smith.net.au (castles231.castles.com [208.214.165.231]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29343 for ; Mon, 31 Aug 1998 23:45:34 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id XAA01358; Mon, 31 Aug 1998 23:42:10 GMT (envelope-from mike@word.smith.net.au) Message-Id: <199808312342.XAA01358@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: "Brent Wiese" cc: freebsd-smp@FreeBSD.ORG Subject: Re: What would it take? In-reply-to: Your message of "Mon, 31 Aug 1998 12:12:12 -0400." <008601bdd4fa$1d5d2cc0$c1a1b7ce@home.vivid.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 31 Aug 1998 23:42:09 +0000 From: Mike Smith Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I'm now in a situation where I have to put together some extremely powerful > web servers. The site that it is for is in the top 10 of all visited sites > (no, its not a porno site). :) > > Currently, we have 4 single cpu boxes, 2 running linux and 2 running 2.2.6. > The 2 running FreeBSD are dual pII 300's. > > The plan is to get 2 more of the dual cpu boxes and kill off the 2 single > cpu linux boxes. > > What I want to know is, what is it going to take to make the SMP code usable > in a stressed environment? We have a definate interest in this. I know that > FreeBSD using SMP, running apache, could *seriously* outperfom the same box > running NT and IIS (boo hiss!). The first question you have to ask is whether you actually *need* the extra CPU in the first place. Are you CPU bound? Unless you're doing *heavy* CGI stuff, that's quite likely not the case. If it's clear that you really need more CPU muscle, then the next step is to set up a test server using the -current code, and start pounding it. It's not unlikely that the SMP in -current is actually capable of handling your work profile already, but there are also some known problems, and having an actively prodded test system will help locate these. At this point, it may be possible to move forward chasing the bugs that bite your specific application(s) until the system is suitably stable for your uses. This is the "low effort, slow return" path. > Let me know what you'd want from me to make this happen (money, test > computers, etc) and I'll see what I do. Things like the client doing a press > release about how awesome FreeBSD is serving their website, letting you use > their name on your website as a "huge traffic" client, etc are possibilities > too. The key to SMP development is development talent. SMP is complex stuff, and people with the requisite skills are hard to find. You might want to ask around a little outside the strictly FreeBSD community, and see if you can't find someone interested in taking it on as paywork. You'd quite possibly be able to find co-sponsors for such a venture, and I would expect that the Project would be more than happy to work with you on this. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 1 01:17:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA10494 for freebsd-smp-outgoing; Tue, 1 Sep 1998 01:17:00 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from www.nbcnet.com.au (www.nbcnet.com.au [203.37.210.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA10484 for ; Tue, 1 Sep 1998 01:16:46 -0700 (PDT) (envelope-from boarsai@nbcnet.com.au) Received: from noosanet.com (dialup-18.nbcnet.com.au [203.37.210.167]) by www.nbcnet.com.au (8.8.8/8.8.5) with ESMTP id SAA03205 for ; Tue, 1 Sep 1998 18:17:57 +1000 Message-ID: <35EBAC43.F09D669E@noosanet.com> Date: Tue, 01 Sep 1998 18:11:48 +1000 From: "William \"Boarsai\" Savage" X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-smp@FreeBSD.ORG Subject: huh :) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Heya's, Whats the go with heavygear.com? is it ever going to culminate in an "actual" site? or is it one of those adds? cheers, -- William "Boarsai" Savage TEAM 3TRi: EMiNENCE GRiSE -=|KiSMET|=- For the latest in Heavy Gear 1 & 2 News & Clan information. NOTE: Don't click away the pop-up dammit, its the Quizlet!! http://heavygear.gotgames.com If its clan its -=|CLANWORLD|=- And ohmygod we're REDOING this sad site... and when its done it will rock, the ultmate multiplayer network. http://clanworld.gotgames.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 1 08:08:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24873 for freebsd-smp-outgoing; Tue, 1 Sep 1998 08:08:46 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24860 for ; Tue, 1 Sep 1998 08:08:43 -0700 (PDT) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.8.8) with SMTP id LAA02649; Tue, 1 Sep 1998 11:07:50 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Tue, 1 Sep 1998 11:07:50 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: "William \"Boarsai\" Savage" cc: freebsd-smp@FreeBSD.ORG Subject: Re: huh :) (YUCK!) In-Reply-To: <35EBAC43.F09D669E@noosanet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org cute site, it's great how java-"enabled" buttons which take so long to load anyhow make the site inaccessable to me because netscape segfaults on it. how irritating. (even went from linux-netscape to freebsd-netscape in case it was the emulator) Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current On Tue, 1 Sep 1998, William "Boarsai" Savage wrote: > Heya's, > > Whats the go with heavygear.com? is it ever going to culminate in an > "actual" site? or is it one of those adds? > > cheers, > -- > William "Boarsai" Savage > > TEAM 3TRi: EMiNENCE GRiSE > > -=|KiSMET|=- > For the latest in Heavy Gear 1 & 2 News & Clan information. > NOTE: Don't click away the pop-up dammit, its the Quizlet!! > > http://heavygear.gotgames.com > > > If its clan its -=|CLANWORLD|=- And ohmygod we're REDOING this sad > site... > and when its done it will rock, the ultmate multiplayer network. > > http://clanworld.gotgames.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 1 09:40:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA07630 for freebsd-smp-outgoing; Tue, 1 Sep 1998 09:40:03 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA07574 for ; Tue, 1 Sep 1998 09:39:47 -0700 (PDT) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.9.1/8.9.1) id SAA08198; Tue, 1 Sep 1998 18:34:53 +0200 (CEST) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199809011634.SAA08198@ocean.campus.luth.se> Subject: Re: What would it take? In-Reply-To: <008601bdd4fa$1d5d2cc0$c1a1b7ce@home.vivid.net> from Brent Wiese at "Aug 31, 98 12:12:12 pm" To: brent@vivid.net (Brent Wiese) Date: Tue, 1 Sep 1998 18:34:52 +0200 (CEST) Cc: freebsd-smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Brent Wiese: > Currently, we have 4 single cpu boxes, 2 running linux and 2 running 2.2.6. > The 2 running FreeBSD are dual pII 300's. Just checking... but you ARE aware that anyt 2.X.X release has no SMP support and would only use one processor in a dual machine. Right? /Mikael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 1 10:41:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA19625 for freebsd-smp-outgoing; Tue, 1 Sep 1998 10:41:35 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from pobox.com (port23.prairietech.net [208.141.230.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA19599 for ; Tue, 1 Sep 1998 10:41:30 -0700 (PDT) (envelope-from alk@pobox.com) Received: (from alk@localhost) by pobox.com (8.8.8/8.7.3) id MAA20217; Tue, 1 Sep 1998 12:42:10 -0500 (CDT) From: Tony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 1 Sep 1998 12:42:07 -0500 (CDT) X-Face: O9M"E%K;(f-Go/XDxL+pCxI5*gr[=FN@Y`cl1.Tn Reply-To: alk@pobox.com To: bright@hotjobs.com Cc: boarsai@nbcnet.com.au, freebsd-smp@FreeBSD.ORG Subject: Re: huh :) (YUCK!) References: <35EBAC43.F09D669E@noosanet.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13804.12717.75772.264567@compound.east> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoth Alfred Perlstein on Tue, 1 September: : cute site, it's great how java-"enabled" buttons which take so long to : load anyhow make the site inaccessable to me because netscape segfaults on : it. : : how irritating. : : (even went from linux-netscape to freebsd-netscape in case it was the : emulator) Netscape <= 4.05 has a way buggy JVM. Netscape >= 4.06 has a working JVM. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 1 23:15:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA21068 for freebsd-smp-outgoing; Tue, 1 Sep 1998 23:15:06 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from www.nbcnet.com.au (www.nbcnet.com.au [203.37.210.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA21037 for ; Tue, 1 Sep 1998 23:15:01 -0700 (PDT) (envelope-from boarsai@nbcnet.com.au) Received: from noosanet.com (dialup-7.nbcnet.com.au [203.37.210.156]) by www.nbcnet.com.au (8.8.8/8.8.5) with ESMTP id QAA10981; Wed, 2 Sep 1998 16:15:33 +1000 Message-ID: <357396F6.75C2CB5A@noosanet.com> Date: Tue, 02 Jun 1998 16:08:55 +1000 From: "William \"Boarsai\" Savage" X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: alk@pobox.com CC: bright@hotjobs.com, boarsai@nbcnet.com.au, freebsd-smp@FreeBSD.ORG Subject: Re: huh :) (YUCK!) References: <35EBAC43.F09D669E@noosanet.com> <13804.12717.75772.264567@compound.east> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org So there is actually a site there???? I thought that java thingy was supposed to only have one link? heh Will Tony Kimball wrote: > Quoth Alfred Perlstein on Tue, 1 September: > : cute site, it's great how java-"enabled" buttons which take so long to > : load anyhow make the site inaccessable to me because netscape segfaults on > : it. > : > : how irritating. > : > : (even went from linux-netscape to freebsd-netscape in case it was the > : emulator) > > Netscape <= 4.05 has a way buggy JVM. Netscape >= 4.06 has a working JVM. -- William "Boarsai" Savage TEAM 3TRi: EMiNENCE GRiSE -=|KiSMET|=- For the latest in Heavy Gear 1 & 2 News & Clan information. NOTE: Don't click away the pop-up dammit, its the Quizlet!! http://heavygear.gotgames.com If its clan its -=|CLANWORLD|=- And ohmygod we're REDOING this sad site... and when its done it will rock, the ultmate multiplayer network. http://clanworld.gotgames.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Sep 3 14:50:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29386 for freebsd-smp-outgoing; Thu, 3 Sep 1998 14:50:11 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA29360 for ; Thu, 3 Sep 1998 14:50:09 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id RAA20695 for smp@freebsd.org; Thu, 3 Sep 1998 17:49:01 -0400 (EDT) (envelope-from luoqi) Date: Thu, 3 Sep 1998 17:49:01 -0400 (EDT) From: Luoqi Chen Message-Id: <199809032149.RAA20695@lor.watermarkgroup.com> To: smp@FreeBSD.ORG Subject: Why forward_irq is still disabled? Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org While I was reading forward_irq's implementation in apic_vector.s, I noticed that it's permanently disabled irrespective of the setting of sysctl variable forward_irq_enable. The assembly code is reproduced below. Please pay attention to the emphasized `jmp' statement, the real forwarding code is actually bypassed. I'm wondering if this is intentional, or the author forgot to take the line out. -lq .text SUPERALIGN_TEXT .globl _Xforward_irq _Xforward_irq: PUSH_FRAME movl $KDSEL, %eax movl %ax, %ds /* use KERNEL data segment */ movl %ax, %es movl $0, lapic_eoi /* End Of Interrupt to APIC */ FAKE_MCOUNT(12*4(%esp)) ISR_TRYLOCK testl %eax,%eax /* Did we get the lock ? */ jz 1f /* No */ lock incl CNAME(forward_irq_hitcnt) cmpb $4, _intr_nesting_level jae 2f jmp 3f ^^^^^^^^^^ <= this bypasses the real forwarding code AVCPL_LOCK #ifdef CPL_AND_CML movl _cml, %eax #else movl _cpl, %eax #endif pushl %eax AVCPL_UNLOCK lock incb _intr_nesting_level sti pushl $0 MEXITCOUNT jmp _doreti /* Handle forwarded interrupt */ 4: lock decb _intr_nesting_level ISR_RELLOCK MEXITCOUNT addl $8, %esp POP_FRAME iret 1: lock incl CNAME(forward_irq_misscnt) call forward_irq /* Oops, we've lost the isr lock */ MEXITCOUNT POP_FRAME iret 2: lock incl CNAME(forward_irq_toodeepcnt) 3: ISR_RELLOCK MEXITCOUNT POP_FRAME iret To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Sep 3 15:49:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA10678 for freebsd-smp-outgoing; Thu, 3 Sep 1998 15:49:09 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA10659 for ; Thu, 3 Sep 1998 15:49:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA01951 for ; Thu, 3 Sep 1998 15:45:59 GMT (envelope-from mike@dingo.cdrom.com) Message-Id: <199809031545.PAA01951@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: smp@FreeBSD.ORG Subject: Re: Why forward_irq is still disabled? In-reply-to: Your message of "Thu, 03 Sep 1998 17:49:01 -0400." <199809032149.RAA20695@lor.watermarkgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 Sep 1998 15:45:59 +0000 From: Mike Smith Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > While I was reading forward_irq's implementation in apic_vector.s, I noticed > that it's permanently disabled irrespective of the setting of sysctl variable > forward_irq_enable. The assembly code is reproduced below. Please pay > attention to the emphasized `jmp' statement, the real forwarding code is > actually bypassed. I'm wondering if this is intentional, or the author forgot > to take the line out. This does appear to defeat the changes in r1.27, yes. More to the point, does it work without it? 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 07:05:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA25710 for freebsd-smp-outgoing; Fri, 4 Sep 1998 07:05:39 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA25703 for ; Fri, 4 Sep 1998 07:05:33 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id KAA26947; Fri, 4 Sep 1998 10:03:47 -0400 (EDT) (envelope-from luoqi) Date: Fri, 4 Sep 1998 10:03:47 -0400 (EDT) From: Luoqi Chen Message-Id: <199809041403.KAA26947@lor.watermarkgroup.com> To: mike@smith.net.au, smp@FreeBSD.ORG Subject: Re: Why forward_irq is still disabled? Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > While I was reading forward_irq's implementation in apic_vector.s, I noticed > > that it's permanently disabled irrespective of the setting of sysctl variable > > forward_irq_enable. The assembly code is reproduced below. Please pay > > attention to the emphasized `jmp' statement, the real forwarding code is > > actually bypassed. I'm wondering if this is intentional, or the author forgot > > to take the line out. > > This does appear to defeat the changes in r1.27, yes. More to the > point, does it work without it? 8) > It does. My SMP box survived a `make -j4 buildworld' with the new kernel last night. Here are some statistics, lily-286# /tmp/gdb -k /kernel.dbg /dev/mem GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc...(no debugging symbols found)... IdlePTD 2453504 initial pcb at ffffffff panic messages: --- --- #0 0xfdf0 in ?? () (kgdb) p forward_irq_hitcnt $1 = 213021 (kgdb) p forward_irq_misscnt $2 = 1434 (kgdb) p forward_irq_toodeepcnt $3 = 0 (kgdb) q > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > > -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 07:15:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA27060 for freebsd-smp-outgoing; Fri, 4 Sep 1998 07:15:00 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from midten.fast.no (midten.fast.no [195.139.251.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA27055 for ; Fri, 4 Sep 1998 07:14:56 -0700 (PDT) (envelope-from tegge@fast.no) Received: from fast.no (IDENT:tegge@midten.fast.no [195.139.251.11]) by midten.fast.no (8.9.1/8.9.1) with ESMTP id QAA27507; Fri, 4 Sep 1998 16:13:24 +0200 (CEST) Message-Id: <199809041413.QAA27507@midten.fast.no> To: mike@smith.net.au Cc: smp@FreeBSD.ORG Subject: Re: Why forward_irq is still disabled? From: Tor.Egge@fast.no In-Reply-To: Your message of "Thu, 03 Sep 1998 15:45:59 +0000" References: <199809031545.PAA01951@dingo.cdrom.com> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 04 Sep 1998 16:13:23 +0200 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > While I was reading forward_irq's implementation in apic_vector.s, I noticed > > that it's permanently disabled irrespective of the setting of sysctl variable > > forward_irq_enable. The assembly code is reproduced below. Please pay > > attention to the emphasized `jmp' statement, the real forwarding code is > > actually bypassed. I'm wondering if this is intentional, or the author forgot > > to take the line out. I forgot to remove that jmp statement when I fixed the code following it (about 9.5 months ago). > This does appear to defeat the changes in r1.27, yes. More to the > point, does it work without it? 8) The code should work without that jump. I've tested it on my development machine, using 3.0-CURRENT from Jul 30 1998 and 3.0CAM-19980716. - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 08:40:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07448 for freebsd-smp-outgoing; Fri, 4 Sep 1998 08:40:45 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from word.smith.net.au (castles315.castles.com [208.214.167.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07441 for ; Fri, 4 Sep 1998 08:40:42 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (LOCALHOST [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id IAA03471; Fri, 4 Sep 1998 08:37:15 GMT (envelope-from mike@word.smith.net.au) Message-Id: <199809040837.IAA03471@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Luoqi Chen cc: mike@smith.net.au, smp@FreeBSD.ORG Subject: Re: Why forward_irq is still disabled? In-reply-to: Your message of "Fri, 04 Sep 1998 10:03:47 -0400." <199809041403.KAA26947@lor.watermarkgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Sep 1998 08:37:14 +0000 From: Mike Smith Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > While I was reading forward_irq's imple> > This does appear to defeat the changes in r1.27, yes. More to the > > point, does it work without it? 8) > > > It does. My SMP box survived a `make -j4 buildworld' with the new kernel > last night. Here are some statistics, Sounds good. Unless Tor is going to splat it, I say it ought to go. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 17:00:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA00663 for freebsd-smp-outgoing; Fri, 4 Sep 1998 17:00:18 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA00658; Fri, 4 Sep 1998 17:00:11 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id XAA01844; Fri, 4 Sep 1998 23:59:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809050659.XAA01844@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: smp@FreeBSD.ORG cc: richard.cownie@pobox.com, bde@FreeBSD.ORG Subject: Big new SMP challenge (4x Xeon, 450NX) Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_13003384100" Date: Fri, 04 Sep 1998 23:59:04 -0700 From: Mike Smith Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multipart MIME message. --==_Exmh_13003384100 Content-Type: text/plain; charset=us-ascii Courtesy of the nice folks at Intel, FreeBSD Test Labs is currently home to an engineering test system featuring a B0 "Bear" 450NX-based motherboard, 4 X 450MHz Intel Xeon processors, and all the regular trimmings. We'd obviously benefit from supporting systems like this as they will be coming to market ascendancy during the life of FreeBSD-3.0. The 'mptable' output is attached below. At the moment, the most pressing issue is the inability to deal with the assignment of the internal SCSI controller to IRQ 58. The system will come up all the way until it fails to mount the root filesystem, so it seems that almost everything else is working. So, this is an open invitation to anyone interested in working on this; we can arrange a serial console, login access to the system, test your patches/kernels, whatever. You name it, we'll do our best to do it. (Richard, I've taken the liberty of copying you on this because I suspect you faced similar problems with your work on the Axil platform. Bruce, I don't think I need to explain why you're on the list. 8) Regards, Mike Smith FreeBSD Test Labs --==_Exmh_13003384100 Content-Type: text/plain ; name="mptable.out"; charset=us-ascii Content-Description: mptable.out Content-Disposition: attachment; filename="mptable.out" =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f67e0 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x52 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x0009e560 signature: 'PCMP' base table length: 324 version: 1.4 checksum: 0x29 OEM ID: 'INTEL ' Product ID: 'AD450NX ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 29 local APIC address: 0xfee00000 extended table length: 236 extended table checksum: 25 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 3 0x11 BSP, usable 6 5 2 0x183fbff 0 0x11 AP, usable 6 5 2 0x183fbff 1 0x11 AP, usable 6 5 2 0x183fbff 2 0x11 AP, usable 6 5 2 0x183fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 PCI 3 ISA -- I/O APICs: APIC ID Version State Address 4 0x13 usable 0xfec10000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 3 0 4 0 INT active-hi edge 3 1 4 1 INT active-hi edge 3 0 4 2 INT active-hi edge 3 3 4 3 INT active-hi edge 3 4 4 4 INT active-hi edge 3 5 4 5 INT active-hi edge 3 6 4 6 INT active-hi edge 3 7 4 7 INT active-lo edge 3 8 4 8 INT active-hi edge 3 9 4 9 INT active-lo level 0 10:A 4 58 INT active-lo level 0 11:A 4 57 INT active-hi edge 3 12 4 12 INT active-hi edge 3 13 4 13 INT active-hi edge 3 14 4 14 INT active-hi edge 3 15 4 15 INT active-lo level 0 12:A 4 48 INT active-lo level 0 15:D 4 49 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 3 0 255 0 NMI active-hi edge 0 0:A 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: -- bus ID: 0 address type: I/O address address base: 0x0 address range: 0x3000 -- bus ID: 2 address type: I/O address address base: 0x3000 address range: 0x1000 -- bus ID: 2 address type: I/O address address base: 0x4000 address range: 0xc000 -- bus ID: 0 address type: memory address address base: 0xfc000000 address range: 0x400000 -- bus ID: 0 address type: prefetch address address base: 0xfc400000 address range: 0x1c00000 -- bus ID: 1 address type: memory address address base: 0xfec10000 address range: 0x100000 -- bus ID: 0 address type: memory address address base: 0xffe00000 address range: 0x200000 -- bus ID: 0 address type: memory address address base: 0xa0000 address range: 0x20000 -- bus ID: 0 address type: memory address address base: 0xd0000 address range: 0x14000 -- bus ID: 3 bus info: 0x01 parent bus ID: 0--  bus ID: 0 address modifier: add predefined range: 0x00000000--  bus ID: 0 address modifier: add predefined range: 0x00000001--  bus ID: 1 address modifier: subtract predefined range: 0x00000000--  bus ID: 1 address modifier: subtract predefined range: 0x00000001--  bus ID: 2 address modifier: subtract predefined range: 0x00000000--  bus ID: 2 address modifier: subtract predefined range: 0x00000001 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=4 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs =============================================================================== --==_Exmh_13003384100 Content-Type: text/plain; charset=us-ascii \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com --==_Exmh_13003384100-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 20:18:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA00753 for freebsd-smp-outgoing; Fri, 4 Sep 1998 20:18:07 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA00741 for ; Fri, 4 Sep 1998 20:18:04 -0700 (PDT) (envelope-from fbsd@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost.StevesCafe.com [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.8/8.8.5) with ESMTP id VAA16952; Fri, 4 Sep 1998 21:16:36 -0600 (MDT) Message-Id: <199809050316.VAA16952@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0.2 2/24/98 From: Steve Passe To: Mike Smith cc: smp@FreeBSD.ORG Subject: Re: Big new SMP challenge (4x Xeon, 450NX) In-reply-to: Your message of "Fri, 04 Sep 1998 23:59:04 PDT." <199809050659.XAA01844@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Sep 1998 21:16:36 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > Courtesy of the nice folks at Intel, FreeBSD Test Labs is currently > home to an engineering test system featuring a B0 "Bear" 450NX-based > motherboard, 4 X 450MHz Intel Xeon processors, and all the regular > trimmings. I want one. > -- > I/O APICs: APIC ID Version State Address > 4 0x13 usable 0xfec10000 > ... > INT active-lo level 0 10:A 4 58 > INT active-lo level 0 11:A 4 57 > .. > INT active-lo level 0 12:A 4 48 > INT active-lo level 0 15:D 4 49 one APIC but pin#s higher than 24, some piece of the puzzle is missing. Where can docs on the hardware be found? -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 20:25:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA01651 for freebsd-smp-outgoing; Fri, 4 Sep 1998 20:25:41 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01646 for ; Fri, 4 Sep 1998 20:25:40 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id DAA03074; Sat, 5 Sep 1998 03:23:56 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809051023.DAA03074@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Steve Passe cc: smp@FreeBSD.ORG Subject: Re: Big new SMP challenge (4x Xeon, 450NX) In-reply-to: Your message of "Fri, 04 Sep 1998 21:16:36 MDT." <199809050316.VAA16952@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 05 Sep 1998 03:23:56 -0700 From: Mike Smith Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, G'day! > > Courtesy of the nice folks at Intel, FreeBSD Test Labs is currently > > home to an engineering test system featuring a B0 "Bear" 450NX-based > > motherboard, 4 X 450MHz Intel Xeon processors, and all the regular > > trimmings. > > I want one. Do you have a forklift? 8) > > -- > > I/O APICs: APIC ID Version State Address > > 4 0x13 usable 0xfec10000 > > ... > > INT active-lo level 0 10:A 4 58 > > INT active-lo level 0 11:A 4 57 > > .. > > INT active-lo level 0 12:A 4 48 > > INT active-lo level 0 15:D 4 49 > > one APIC but pin#s higher than 24, some piece of the puzzle is missing. > Where can docs on the hardware be found? I don't know if they can; they're quite possibly still being written. I'll ask our source and see what they can come up with. Is it possible that this might be a new APIC? Any suggestions on part numbers to look for on the board? Anything in the SMP kernel output to look for that would identify it? The inference here is of course that if there's more than one APIC, we have trouble because we run out of room in the interrupt mask, correct? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 20:32:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA02528 for freebsd-smp-outgoing; Fri, 4 Sep 1998 20:32:54 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA02521 for ; Fri, 4 Sep 1998 20:32:50 -0700 (PDT) (envelope-from smp@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost.StevesCafe.com [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.8/8.8.5) with ESMTP id VAA17025; Fri, 4 Sep 1998 21:31:36 -0600 (MDT) Message-Id: <199809050331.VAA17025@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0.2 2/24/98 From: Steve Passe To: Mike Smith cc: smp@FreeBSD.ORG Subject: Re: Big new SMP challenge (4x Xeon, 450NX) In-reply-to: Your message of "Sat, 05 Sep 1998 03:23:56 PDT." <199809051023.DAA03074@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Sep 1998 21:31:36 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike, > > I want one. > > Do you have a forklift? 8) I could get one! > > > -- > > > I/O APICs: APIC ID Version State Address > > > 4 0x13 usable 0xfec10000 > > > ... > > > INT active-lo level 0 10:A 4 58 > > > INT active-lo level 0 11:A 4 57 > > > .. > > > INT active-lo level 0 12:A 4 48 > > > INT active-lo level 0 15:D 4 49 > > > > one APIC but pin#s higher than 24, some piece of the puzzle is missing. > > Where can docs on the hardware be found? > > I don't know if they can; they're quite possibly still being written. > I'll ask our source and see what they can come up with. > > Is it possible that this might be a new APIC? Any suggestions on part > numbers to look for on the board? Anything in the SMP kernel output to > look for that would identify it? The IO APIC is traditionally part of the motherboard chipset. So the place to start would be to get a set of docs on the 450NX chipset. > The inference here is of course that if there's more than one APIC, we > have trouble because we run out of room in the interrupt mask, correct? Correct to the extent that we have a completely "plug-n-play" kernel, but to get things rolling a simple hard-coded hack somewhere in mpapic.c would probably get this beast to boot. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 20:41:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA03655 for freebsd-smp-outgoing; Fri, 4 Sep 1998 20:41:48 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA03645 for ; Fri, 4 Sep 1998 20:41:47 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id UAA05745; Fri, 4 Sep 1998 20:46:50 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809050346.UAA05745@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Steve Passe cc: smp@FreeBSD.ORG Subject: Re: Big new SMP challenge (4x Xeon, 450NX) In-reply-to: Your message of "Fri, 04 Sep 1998 21:31:36 MDT." <199809050331.VAA17025@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Sep 1998 20:46:50 -0700 From: Mike Smith Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Mike, > > > > I want one. > > > > Do you have a forklift? 8) > > I could get one! As long as having the bits of Jordan that didn't stick to the forklift smeared all over the side of the machine doesn't faze you, then I guess it's yours. 8) > > > > -- > > > > I/O APICs: APIC ID Version State Address > > > > 4 0x13 usable 0xfec10000 > > > > ... > > > > INT active-lo level 0 10:A 4 58 > > > > INT active-lo level 0 11:A 4 57 > > > > .. > > > > INT active-lo level 0 12:A 4 48 > > > > INT active-lo level 0 15:D 4 49 > > > > > > one APIC but pin#s higher than 24, some piece of the puzzle is missing. > > > Where can docs on the hardware be found? > > > > I don't know if they can; they're quite possibly still being written. > > I'll ask our source and see what they can come up with. > > > > Is it possible that this might be a new APIC? Any suggestions on part > > numbers to look for on the board? Anything in the SMP kernel output to > > look for that would identify it? > > The IO APIC is traditionally part of the motherboard chipset. So the place > to start would be to get a set of docs on the 450NX chipset. That would explain why I've never seen anything suspiciously APIC-like on any other board. What I get for not reading more I guess. Anyway, the 450NX datasheet is available as: ftp://download.intel.com/design/pcisets/datashts/24377101.pdf and there's a specification update at ftp://download.intel.com/design/pcisets/SPECUPDT/24384803.pdf > > The inference here is of course that if there's more than one APIC, we > > have trouble because we run out of room in the interrupt mask, correct? > > Correct to the extent that we have a completely "plug-n-play" kernel, > but to get things rolling a simple hard-coded hack somewhere in mpapic.c > would probably get this beast to boot. Sounds good to me. What now? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 20:47:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA04478 for freebsd-smp-outgoing; Fri, 4 Sep 1998 20:47:21 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA04472 for ; Fri, 4 Sep 1998 20:47:11 -0700 (PDT) (envelope-from smp@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost.StevesCafe.com [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.8/8.8.5) with ESMTP id VAA17088; Fri, 4 Sep 1998 21:45:43 -0600 (MDT) Message-Id: <199809050345.VAA17088@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0.2 2/24/98 From: Steve Passe To: Mike Smith cc: smp@FreeBSD.ORG Subject: Re: Big new SMP challenge (4x Xeon, 450NX) In-reply-to: Your message of "Fri, 04 Sep 1998 20:46:50 PDT." <199809050346.UAA05745@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Sep 1998 21:45:43 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike, > Anyway, the 450NX datasheet is available as: > > ftp://download.intel.com/design/pcisets/datashts/24377101.pdf I'm already half-way thru a download of this... > and there's a specification update at > > ftp://download.intel.com/design/pcisets/SPECUPDT/24384803.pdf thanx, hadn't found that one yet. > Sounds good to me. What now? after I read the datasheet I'll get back to you. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Sep 4 21:04:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA07336 for freebsd-smp-outgoing; Fri, 4 Sep 1998 21:04:38 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from uruk.org (ns.uruk.org [198.145.95.253]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA07330 for ; Fri, 4 Sep 1998 21:04:35 -0700 (PDT) (envelope-from erich@uruk.org) Received: from uruk.org [127.0.0.1] by uruk.org with esmtp (Exim 0.53 #1) id E0zF9Xv-0007o5-00; Fri, 4 Sep 1998 21:01:55 -0700 To: Mike Smith cc: smp@FreeBSD.ORG Subject: Re: Big new SMP challenge (4x Xeon, 450NX) In-reply-to: Your message of "Sat, 05 Sep 1998 03:23:56 PDT." <199809051023.DAA03074@dingo.cdrom.com> Date: Fri, 04 Sep 1998 21:01:55 -0700 From: Erich Boleyn Message-Id: Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith wrote: > > > -- > > > I/O APICs: APIC ID Version State Address > > > 4 0x13 usable 0xfec10000 > > > ... > > > INT active-lo level 0 10:A 4 58 > > > INT active-lo level 0 11:A 4 57 > > > .. > > > INT active-lo level 0 12:A 4 48 > > > INT active-lo level 0 15:D 4 49 > > > > one APIC but pin#s higher than 24, some piece of the puzzle is missing. > > Where can docs on the hardware be found? > > I don't know if they can; they're quite possibly still being written. > I'll ask our source and see what they can come up with. > > Is it possible that this might be a new APIC? Any suggestions on part > numbers to look for on the board? Anything in the SMP kernel output to > look for that would identify it? This is indeed a new APIC. Every time Intel has reved the APIC version in the past, they've changed something (the whole point of revving the version, I think). The I/O APIC version here is 0x13, which is new (the previous max version, 0x11, has been around a while now). -- Erich Stefan Boleyn \_ Mad Scientist -- CyberMuffin \__ http://www.uruk.org/ Motto: "I'll live forever or die trying" --------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message