From owner-freebsd-smp Sun Mar 29 19:33:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA04772 for freebsd-smp-outgoing; Sun, 29 Mar 1998 19:33:38 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from bigbrother (bigbrother.rstcorp.com [206.29.49.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA04762 for ; Sun, 29 Mar 1998 19:33:34 -0800 (PST) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by bigbrother (8.6.12/8.6.9) id LAA22276 for ; Sun, 29 Mar 1998 11:02:54 -0500 Received: from fault.rstcorp.com(206.29.49.18) by bigbrother.rstcorp.com via smap (V2.0) id xma022274; Sun, 29 Mar 98 11:02:51 -0500 Received: (from vshah@localhost) by rstcorp.com (8.8.1/8.8.1) id KAA00457; Sun, 29 Mar 1998 10:12:35 -0500 (EST) Date: Sun, 29 Mar 1998 10:12:35 -0500 (EST) Message-Id: <199803291512.KAA00457@rstcorp.com> MIME-Version: 1.0 From: "Viren R. Shah" To: freebsd-smp@FreeBSD.ORG Subject: SMP on a Compaq ProLiant 2000 X-Mailer: VM 6.40 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R. Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is an old ( ~4 years old) dual Pentium 66, which is currently running 2.2.6-RELEASE. How do I check to see whether it would run SMP on -current. [I can't just install -current, since its only hard drive is a Compaq RAID drive which needs a special driver that is only for 2.2.x] The reason I'm asking is that if there is a reasonable chance of it running SMP, I would then go ahead and make the effort to port the Compaq RAID driver to -current. BTW: this is an EISA machine, and I can't find any place in its system setup which shows what MP spec (1.1 or 1.4) it is using. I doubt it is 1.4 since it is so old. Any clues? Thanks Viren -- Viren R. Shah viren@rstcorp.com | "God made a few people perfect http://www.rstcorp.com/~vshah/ | --the rest He created right-handed" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Mar 29 19:41:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA07455 for freebsd-smp-outgoing; Sun, 29 Mar 1998 19:41:57 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from psasolar.psa.pencom.com (psasolar.colltech.com [208.229.236.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA07059 for ; Sun, 29 Mar 1998 19:40:20 -0800 (PST) (envelope-from ejon@colltech.com) From: ejon@colltech.com Received: (from ejon@localhost) by psasolar.psa.pencom.com (VER/What/1.0) id UAA16456; Sun, 29 Mar 1998 20:39:02 -0600 (CST) Message-Id: <199803300239.UAA16456@psasolar.psa.pencom.com> Subject: Re: MP config table robustness In-Reply-To: from Daniel Berlin at "Mar 18, 98 04:03:04 pm" To: root@danberlin.resnet.rochester.edu (Daniel Berlin) Date: Sun, 29 Mar 1998 20:39:02 -0600 (CST) Cc: ejon@colltech.com, Tor.Egge@idi.ntnu.no, freebsd-smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (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 So, Tor, I've been running with this patch for 11 days now and had no issues with it...any chance you could commit it? Eric Strange sunspot activity caused Daniel Berlin to write: > Hey Tor, looks like the patch does a lot of good. > Sorry i couldn't get you the other MP table earlier than I did, looks like > this patch makes a lot of people happy. > --Dan > On Wed, 18 Mar 1998 ejon@colltech.com wrote: > > > Tor, > > I could kiss you! I applied this patch on my recalcitrant > > DEC Personal Workstation 6200 and acheived my first FreeBSD-SMP > > boot! MP 1.4 is not currently an option in my BIOS (doubt if DEC > > is ever going to get around to updating it again), so this > > patch probably wins by better supporting us MP 1.1 holdouts. > > > > Anyway, thanks! I _definitely_ owe you a beer for this. Next time > > you're in the Boston area... > > > > Eric > > > > Strange sunspot activity caused Tor Egge to write: > > > > > > I see two problems with the current APIC code > > > > > > 1. Interrupts on the ISA bus are assumed to be conforming. When > > > PCI interrupts are redirected to the ISA bus, this assumption can > > > be wrong. > > > > > > 2. A PCI interrupt not specified in the MP table as a PCI interrupt > > > is treated as a ISA interrupt delivered to the same interrupt > > > pin number on the IOAPIC as the ISA interrupt number. This is > > > inconsistent with the handling if ISA devices, where the IOAPIC > > > pin number doesn't need to be the same as the ISA interrupt number. > > > > > > With a few changes, my -SMP machine (ASUS P6UP65 motherboard) can boot > > > the -SMP kernel when MP 1.4 is disabled in the BIOS (as long as it has > > > enough free interrupt to use for the PCI devices). The same kernel > > > also works with MP 1.4 enabled in the bios. > > > > > > This change also seems to help on some versions of SuperMicro motherboards. > > > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Mar 30 12:46:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17752 for freebsd-smp-outgoing; Mon, 30 Mar 1998 12:46:40 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from yalta.NL.net (yalta.NL.net [193.78.240.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17641 for ; Mon, 30 Mar 1998 12:46:14 -0800 (PST) (envelope-from benst@terminus.stuyts.nl) Received: from alushta.NL.net ([193.78.240.22]:36365 "EHLO alushta.NL.net" ident: "IDENT-NOT-QUERIED") by yalta.NL.net with ESMTP id <25152-19494>; Mon, 30 Mar 1998 22:45:58 +0200 Received: from stuyts by alushta.NL.net with UUCP id <24686-20392>; Mon, 30 Mar 1998 22:44:02 +0200 Received: from daneel.stuyts.nl (daneel.stuyts.nl [193.78.231.7]) by terminus.stuyts.nl (8.8.8/8.8.8) with ESMTP id WAA04707 for ; Mon, 30 Mar 1998 22:42:33 +0200 (MET DST) (envelope-from benst) Received: (from benst@localhost) by daneel.stuyts.nl (8.8.5/8.8.5) id WAA05032 for smp@freebsd.org; Mon, 30 Mar 1998 22:42:32 +0200 (MET DST) Message-Id: <199803302042.WAA05032@daneel.stuyts.nl> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 3.3 v118.2) X-Nextstep-Mailer: Mail 3.3 (Enhance 1.2) Received: by NeXT.Mailer (1.118.2) From: Ben Stuyts Date: Mon, 30 Mar 98 22:42:30 +0200 To: smp@FreeBSD.ORG Subject: Log messages from latest SMP kernel Reply-To: ben@stuyts.nl Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Running a kernel from about March 27, I get a lot of log messages like this: > sio2: 3 more interrupt-level buffer overflows (total 69) > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > sio2: 3 more interrupt-level buffer overflows (total 72) > forward_hardclock: checkstate 0 > sio2: 3 more interrupt-level buffer overflows (total 75) > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 > forward_hardclock: checkstate 0 An older kernel (from before the fs trouble earlier this month) didn't have this behavior. Especially the sio overflows worry me. Has the interrupt latency gone up lately? sio2 is a 230 kb line to a 64 kb ISDN modem. Here is the output of dmesg: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Fri Mar 27 01:16:00 MET 1998 benst@terminus.stuyts.nl:/usr/source/src/sys/compile/TERMINUS-SMP Timecounter "i8254" frequency 1193182 Hz cost 2527 ns CPU: Pentium (586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8003bf real memory = 67108864 (65536K bytes) avail memory = 62681088 (61212K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 de0: rev 0x11 int a irq 17 on pci0.9.0 de0: SMC 21041 [10Mb/s] pass 1.1 de0: address 00:00:c0:1f:54:e8 vga0: rev 0x02 int a irq 18 on pci0.10.0 ahc0: rev 0x00 int a irq 19 on pci0.12.0 ahc0: Using left over BIOS settings ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0: target 1 Tagged Queuing Device sd0 at scbus0 target 1 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 4134MB (8467200 512 byte sectors) sd0: with 8205 cyls, 6 heads, and an average 171 sectors/track sd1 at scbus0 target 3 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 810MB (1660299 512 byte sectors) sd1: with 3653 cyls, 4 heads, and an average 113 sectors/track cd0 at scbus0 target 4 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM can't get the size worm0 at scbus0 target 5 lun 0 worm0: type 5 removable SCSI 2 worm0: Write-Once Probing for PnP devices: CSN 1 Vendor ID: CTL0039 [0x39008c0e] Serial 0x00020ddb Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 10 on isa sio2: type 16550A sio3 at 0x2e8-0x2ef irq 9 on isa sio3: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa snd0: sbxvi0 at ? drq 5 on isa snd0: sbmidi0 at 0x330 on isa snd0: opl0 at 0x388 on isa snd0: Intel Pentium F00F detected, installing workaround APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 SMP: AP CPU #1 Launched! WARNING: / was not properly dismounted. Start pid=2 Start pid=3 Start pid=4 de0: enabling BNC port sio3: 64 events for device with no tp sio2: 2 more interrupt-level buffer overflows (total 2) forward_hardclock: checkstate 0 forward_hardclock: checkstate 0 This is a Gigabyte 586DX board with dual P166 MMX. Kind regards, Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Mar 30 15:33:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23284 for freebsd-smp-outgoing; Mon, 30 Mar 1998 15:33:24 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from pat.idi.ntnu.no (0@pat.idi.ntnu.no [129.241.103.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23192 for ; Mon, 30 Mar 1998 15:33:06 -0800 (PST) (envelope-from Tor.Egge@idi.ntnu.no) Received: from idi.ntnu.no (tegge@presis.idi.ntnu.no [129.241.111.173]) by pat.idi.ntnu.no (8.8.8/8.8.8) with ESMTP id BAA12765; Tue, 31 Mar 1998 01:32:43 +0200 (MET DST) Message-Id: <199803302332.BAA12765@pat.idi.ntnu.no> To: ben@stuyts.nl, benst@terminus.stuyts.nl Cc: smp@FreeBSD.ORG Subject: Re: Log messages from latest SMP kernel In-Reply-To: Your message of "Mon, 30 Mar 98 22:42:30 +0200" References: <199803302042.WAA05032@daneel.stuyts.nl> 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: Tue, 31 Mar 1998 01:32:41 +0200 From: Tor Egge Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Running a kernel from about March 27, I get a lot of log messages like this: > > > sio2: 3 more interrupt-level buffer overflows (total 69) > > forward_hardclock: checkstate 0 > > forward_hardclock: checkstate 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ There are two explanations for this error message 1. Failed IPI delivery. - Interrupts are disabled on the other CPU - The local apic TPR register value on the other CPU is too high, blocking the IPI 2. Successful IPI delivery not detected - Incorrect declaration of some variables (missing volatile decl.). If the second explanation is correct for your case, the following patch might help you. Index: sys/i386/include/smp.h =================================================================== RCS file: /home/ncvs/src/sys/i386/include/smp.h,v retrieving revision 1.40 diff -u -r1.40 smp.h --- smp.h 1998/03/07 21:34:59 1.40 +++ smp.h 1998/03/30 22:22:23 @@ -78,8 +78,8 @@ extern volatile u_int stopped_cpus; extern volatile u_int started_cpus; -extern unsigned int checkstate_probed_cpus; -extern unsigned int checkstate_need_ast; +extern volatile u_int checkstate_probed_cpus; +extern volatile u_int checkstate_need_ast; /* functions in apic_ipl.s */ void apic_eoi __P((void)); - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Mar 31 12:26:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15604 for freebsd-smp-outgoing; Tue, 31 Mar 1998 12:26:29 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from yalta.NL.net (yalta.NL.net [193.78.240.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA15597 for ; Tue, 31 Mar 1998 12:26:26 -0800 (PST) (envelope-from benst@terminus.stuyts.nl) Received: from alushta.NL.net ([193.78.240.22]:52489 "EHLO alushta.NL.net" ident: "IDENT-NOT-QUERIED") by yalta.NL.net with ESMTP id <16084-10362>; Tue, 31 Mar 1998 22:26:04 +0200 Received: from stuyts by alushta.NL.net with UUCP id <25201-2513>; Tue, 31 Mar 1998 22:24:02 +0200 Received: from daneel.stuyts.nl (daneel.stuyts.nl [193.78.231.7]) by terminus.stuyts.nl (8.8.8/8.8.8) with ESMTP id WAA00272; Tue, 31 Mar 1998 22:19:15 +0200 (MET DST) (envelope-from benst) Received: (from benst@localhost) by daneel.stuyts.nl (8.8.5/8.8.5) id WAA05667; Tue, 31 Mar 1998 22:19:14 +0200 (MET DST) Message-Id: <199803312019.WAA05667@daneel.stuyts.nl> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 3.3 v118.2) In-Reply-To: <199803302332.BAA12765@pat.idi.ntnu.no> X-Nextstep-Mailer: Mail 3.3 (Enhance 1.2) Received: by NeXT.Mailer (1.118.2) From: Ben Stuyts Date: Tue, 31 Mar 98 22:19:12 +0200 To: Tor Egge Subject: Re: Log messages from latest SMP kernel cc: smp@FreeBSD.ORG Reply-To: ben@stuyts.nl References: <199803302042.WAA05032@daneel.stuyts.nl> <199803302332.BAA12765@pat.idi.ntnu.no> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 31 Mar 1998, Tor Egge wrote: > > Running a kernel from about March 27, I get a lot of log messages like > this: > > > > sio2: 3 more interrupt-level buffer overflows (total 69) > > > forward_hardclock: checkstate 0 > > > forward_hardclock: checkstate 0 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >... > - Incorrect declaration of some variables (missing volatile decl.). > > If the second explanation is correct for your case, the following patch > might help you. > [patch deleted] Thank you. I have rebuilt the kernel, and I'll let you know in a few days if this solves the problem. Best regards, Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Mar 31 15:14:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21151 for freebsd-smp-outgoing; Tue, 31 Mar 1998 15:14:54 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from tagesknb.cs.uit.no (tage-ni.cs.UiT.No [129.242.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21138 for ; Tue, 31 Mar 1998 15:14:37 -0800 (PST) (envelope-from tage@tagesknb.cs.uit.no) Received: from tagesknb.cs.uit.no (localhost [[UNIX: localhost]]) by tagesknb.cs.uit.no (8.8.8/8.8.8/ACM) with ESMTP id BAA00525 for ; Wed, 1 Apr 1998 01:14:27 +0200 (CEST) Message-Id: <199803312314.BAA00525@tagesknb.cs.uit.no> To: freebsd-smp@FreeBSD.ORG Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Reply-To: tage@acm.org Subject: IPv6 and current with SMP Date: Wed, 01 Apr 1998 01:14:26 +0200 From: Tage Stabell-Kulo Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does anyone run IPv6 with a SMP kernel ? (Path to current from ftp://frmug.org/pub/ipv6/ipv6-19980326.tar.gz) //// Tage Stabell-Kuloe | e-mail: tage at ACM.org (at=@)//// /// Department of Computer Science/IMR | Phone : +47-776-44032 /// // 9037 University of Tromsoe, Norway | Fax : +47-776-44580 // / "'oe' is '\o' in TeX" | URL:http://www.cs.uit.no/~tage/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Apr 1 00:10:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA08894 for freebsd-smp-outgoing; Wed, 1 Apr 1998 00:10:44 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from firewall.ftf.dk (root@mail.ftf.dk [129.142.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA08866 for ; Wed, 1 Apr 1998 00:10:39 -0800 (PST) (envelope-from regnauld@deepo.prosa.dk) Received: from mail.prosa.dk ([192.168.100.2]) by firewall.ftf.dk (8.7.6/8.7.3) with ESMTP id MAA11847; Wed, 1 Apr 1998 12:04:06 +0200 Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.5/8.8.5/prosa-1.1) with ESMTP id KAA19282; Wed, 1 Apr 1998 10:25:07 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.7/8.8.5/prosa-1.1) id KAA21989; Wed, 1 Apr 1998 10:09:20 +0200 (CEST) Message-ID: <19980401100920.46822@deepo.prosa.dk> Date: Wed, 1 Apr 1998 10:09:20 +0200 From: Philippe Regnauld To: tage@acm.org Cc: freebsd-smp@FreeBSD.ORG Subject: Re: IPv6 and current with SMP References: <199803312314.BAA00525@tagesknb.cs.uit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.88e In-Reply-To: <199803312314.BAA00525@tagesknb.cs.uit.no>; from Tage Stabell-Kulo on Wed, Apr 01, 1998 at 01:14:26AM +0200 X-Operating-System: FreeBSD 2.2.5-RELEASE i386 Organization: PROSA Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tage Stabell-Kulo writes: > > Does anyone run IPv6 with a SMP kernel ? > > (Path to current from ftp://frmug.org/pub/ipv6/ipv6-19980326.tar.gz) Not yet, but I will soon (586DX with -current). -- -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]- «Pluto placed his bad dog at the entrance of Hades to keep the dead IN and the living OUT! The archetypical corporate firewall?» - S. Kelly Bootle, ("MYTHOLOGY", in Marutukku distrib) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Apr 1 13:26:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16869 for freebsd-smp-outgoing; Wed, 1 Apr 1998 13:26:01 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from pat.idi.ntnu.no (0@pat.idi.ntnu.no [129.241.103.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16787 for ; Wed, 1 Apr 1998 13:25:42 -0800 (PST) (envelope-from Tor.Egge@idi.ntnu.no) Received: from idi.ntnu.no (tegge@presis.idi.ntnu.no [129.241.111.173]) by pat.idi.ntnu.no (8.8.8/8.8.8) with ESMTP id XAA05890; Wed, 1 Apr 1998 23:25:15 +0200 (MET DST) Message-Id: <199804012125.XAA05890@pat.idi.ntnu.no> To: ejon@colltech.com Cc: root@danberlin.resnet.rochester.edu, freebsd-smp@FreeBSD.ORG Subject: Re: MP config table robustness In-Reply-To: Your message of "Sun, 29 Mar 1998 20:39:02 -0600 (CST)" References: <199803300239.UAA16456@psasolar.psa.pencom.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: Wed, 01 Apr 1998 23:25:14 +0200 From: Tor Egge Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > So, Tor, > I've been running with this patch for 11 days now and had > no issues with it...any chance you could commit it? It has now been committed, along with a suboptimal noisy workaround for a second kind of mp table breakage occuring when running out of available ISA interrupts for the PCI slots. - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Apr 2 15:15:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27408 for freebsd-smp-outgoing; Thu, 2 Apr 1998 15:15:54 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from yalta.NL.net (yalta.NL.net [193.78.240.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27399 for ; Thu, 2 Apr 1998 15:15:47 -0800 (PST) (envelope-from benst@terminus.stuyts.nl) Received: from alushta.NL.net ([193.78.240.22]:29961 "EHLO alushta.NL.net" ident: "IDENT-NOT-QUERIED") by yalta.NL.net with ESMTP id <24668-17222>; Fri, 3 Apr 1998 01:15:32 +0200 Received: from stuyts by alushta.NL.net with UUCP id <25549-30619>; Fri, 3 Apr 1998 01:14:01 +0200 Received: from daneel.stuyts.nl (daneel.stuyts.nl [193.78.231.7]) by terminus.stuyts.nl (8.8.8/8.8.8) with ESMTP id BAA13015; Fri, 3 Apr 1998 01:02:42 +0200 (MET DST) (envelope-from benst) Received: (from benst@localhost) by daneel.stuyts.nl (8.8.5/8.8.5) id BAA07217; Fri, 3 Apr 1998 01:02:38 +0200 (MET DST) Message-Id: <199804022302.BAA07217@daneel.stuyts.nl> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 3.3 v118.2) In-Reply-To: <199803302332.BAA12765@pat.idi.ntnu.no> X-Nextstep-Mailer: Mail 3.3 (Enhance 1.2) Received: by NeXT.Mailer (1.118.2) From: Ben Stuyts Date: Fri, 3 Apr 98 01:02:36 +0200 To: Tor Egge Subject: Re: Log messages from latest SMP kernel cc: smp@FreeBSD.ORG Reply-To: ben@stuyts.nl References: <199803302042.WAA05032@daneel.stuyts.nl> <199803302332.BAA12765@pat.idi.ntnu.no> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Tor, After a few days of testing, your patch seems to have solved the problem with forward_hardclock here. Looks good. Will it be committed? (However, the -unrelated- interrupt-level buffer overflows are still there. Anybody know what causes this?) Thanks, Ben On Tue, 31 Mar 1998, Tor Egge wrote: > > Running a kernel from about March 27, I get a lot of log messages like > this: > > > > sio2: 3 more interrupt-level buffer overflows (total 69) > > > forward_hardclock: checkstate 0 > > > forward_hardclock: checkstate 0 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > There are two explanations for this error message > > 1. Failed IPI delivery. > > - Interrupts are disabled on the other CPU > > - The local apic TPR register value on the other CPU is too high, > blocking the IPI > > 2. Successful IPI delivery not detected > > - Incorrect declaration of some variables (missing volatile decl.). > > > If the second explanation is correct for your case, the following patch > might help you. > > Index: sys/i386/include/smp.h > =================================================================== > RCS file: /home/ncvs/src/sys/i386/include/smp.h,v > retrieving revision 1.40 > diff -u -r1.40 smp.h > --- smp.h 1998/03/07 21:34:59 1.40 > +++ smp.h 1998/03/30 22:22:23 > @@ -78,8 +78,8 @@ > extern volatile u_int stopped_cpus; > extern volatile u_int started_cpus; > > -extern unsigned int checkstate_probed_cpus; > -extern unsigned int checkstate_need_ast; > +extern volatile u_int checkstate_probed_cpus; > +extern volatile u_int checkstate_need_ast; > > /* functions in apic_ipl.s */ > void apic_eoi __P((void)); > > > - Tor Egge > > 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 Fri Apr 3 03:57:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA19794 for freebsd-smp-outgoing; Fri, 3 Apr 1998 03:57:01 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from smtp.shellnet.co.uk (smtp.shellnet.co.uk [194.129.209.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA19789 for ; Fri, 3 Apr 1998 03:56:59 -0800 (PST) (envelope-from ircadmin@shellnet.co.uk) Received: from mailhost.shellnet.co.uk (mailhost.shellnet.co.uk [194.129.209.3]) by smtp.shellnet.co.uk (8.8.7/8.8.8) with SMTP id LAA03950 for ; Fri, 3 Apr 1998 11:56:54 GMT Received: by mailhost.shellnet.co.uk with MERCUR-SMTP/POP3-Server (v2.10) for at Fri, 3 Apr 98 12:56:51 +0100 From: ircadmin@shellnet.co.uk (Steven Fletcher) To: freebsd-smp@FreeBSD.ORG Subject: Is FreeBSD detecting both of my processors ? Date: Fri, 03 Apr 1998 11:58:21 GMT Message-ID: <3526ccf2.67998066@mailhost.shellnet.co.uk> X-Mailer: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id DAA19790 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings........... I've recently installed FreeBSD 3.0 and am using the SMP kernel. The machine in question is running 2 P-Pros @ 200 mhz, with 256 megs ram and a SCSI disk.. I'm a bit confused, however, as to some of the messages that I see in the kernel bootup..... Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-980311-SNAP #0: Fri Apr 3 12:39:59 BST 1998 root@www3.shellnet.co.uk:/usr/src/sys/compile/SMP-GENERIC Timecounter "i8254" frequency 1193182 Hz cost 3777 ns CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x616 Stepping=6 Features=0xfbff real memory = 268435456 (262144K bytes) avail memory = 258260992 (252208K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 16, version: 0x000f0011, at 0xfec00000 Probing for devices on PCI bus 0: What I see here is no evidence of 2 CPU's, yet I know that the SMP kernel won't work without at least 2. Is it just my imagination, or is this computer only making use of one CPU, or is there another way to find out about this ? I'd be most grateful if anyone could inform me here............ TIA, -Steven Fletcher (steven@shellnet.co.uk) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 05:16:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA01565 for freebsd-smp-outgoing; Fri, 3 Apr 1998 05:16:07 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from smtp.shellnet.co.uk (smtp.shellnet.co.uk [194.129.209.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA01556 for ; Fri, 3 Apr 1998 05:16:03 -0800 (PST) (envelope-from ircadmin@shellnet.co.uk) Received: from mailhost.shellnet.co.uk (mailhost.shellnet.co.uk [194.129.209.3]) by smtp.shellnet.co.uk (8.8.7/8.8.8) with SMTP id NAA04345 for ; Fri, 3 Apr 1998 13:15:58 GMT Received: by mailhost.shellnet.co.uk with MERCUR-SMTP/POP3-Server (v2.10) for at Fri, 3 Apr 98 14:15:51 +0100 From: ircadmin@shellnet.co.uk (Steven Fletcher) To: Yubyub Bird Cc: freebsd-smp@FreeBSD.ORG Subject: Re: Is FreeBSD detecting both of my processors ? Date: Fri, 03 Apr 1998 13:17:20 GMT Organization: Shellnet Ltd. Message-ID: <352ae0c8.73077213@mailhost.shellnet.co.uk> References: In-Reply-To: X-Mailer: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id FAA01560 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >You're right - it doesn't look like it's found your second CPU. From what >I know, the SMP kernel doesn't rely on having more than one processor. It >relies on running on an SMP motherboard, i.e. there must be an APIC (which >a "normal" uniprocessor board lacks). As long is there is an APIC, you >should be able to run SMP. > >Past that I can't help too much. > >-yubyub@j51.com >"I had to laugh like hell." - Vonnegut > This is the bit that confuses me. As NT has been installed on the machine before, it recognised both processors as seperate entities..... yet FreeBSD cant see 'em. -Steven Fletcher (steven@shellnet.co.uk) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 05:33:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA03860 for freebsd-smp-outgoing; Fri, 3 Apr 1998 05:33:13 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from j51.com (root@gorplex.j51.com [199.224.7.51]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA03850 for ; Fri, 3 Apr 1998 05:33:11 -0800 (PST) (envelope-from yubyub@j51.com) Received: from tcpc54.tcam.com ([198.115.45.103]) by j51.com (8.8.8/8.8.5) with SMTP id IAA01643; Fri, 3 Apr 1998 08:33:19 -0500 (EST) Date: Fri, 3 Apr 1998 08:32:37 -0500 (Eastern Standard Time) From: Yubyub Bird To: Steven Fletcher cc: freebsd-smp@FreeBSD.ORG Subject: Re: Is FreeBSD detecting both of my processors ? In-Reply-To: <352ae0c8.73077213@mailhost.shellnet.co.uk> Message-ID: X-X-Sender: yubyub@j51.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >You're right - it doesn't look like it's found your second CPU. From what > >I know, the SMP kernel doesn't rely on having more than one processor. It > >relies on running on an SMP motherboard, i.e. there must be an APIC (which > >a "normal" uniprocessor board lacks). As long is there is an APIC, you > >should be able to run SMP. > > This is the bit that confuses me. As NT has been installed on the > machine before, it recognised both processors as seperate > entities..... yet FreeBSD cant see 'em. Well, NT and BSD do things differently. I'm not exactly sure why BSD wouldn't pick up the second processor. I know that NT has bits of code to handle some strange machines, like Compaq and others, whereas BSD doesn't have as broad a range [yet]. You may want to check the standard things, such as making sure your board conforms to Intel's 1.1 or 1.4 spec. You may want to try changing that setting if you can (usually in the BIOS setup). Several people I know have reported problems on one setting, and have been able to cure their problems by switching the setting. Who makes the motherboard? Are there any known problems with it? Perhaps others have had similar experiences with the same brand motherboard? -yubyub@j51.com "I had to laugh like hell." - Vonnegut To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 05:50:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA06370 for freebsd-smp-outgoing; Fri, 3 Apr 1998 05:50:23 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA06363 for ; Fri, 3 Apr 1998 05:50:18 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id PAA14663; Fri, 3 Apr 1998 15:49:59 +0200 (MEST) (envelope-from sos) Message-Id: <199804031349.PAA14663@sos.freebsd.dk> Subject: Re: Is FreeBSD detecting both of my processors ? In-Reply-To: <352ae0c8.73077213@mailhost.shellnet.co.uk> from Steven Fletcher at "Apr 3, 98 01:17:20 pm" To: ircadmin@shellnet.co.uk (Steven Fletcher) Date: Fri, 3 Apr 1998 15:49:59 +0200 (MEST) Cc: yubyub@j51.com, freebsd-smp@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Steven Fletcher who wrote: > >You're right - it doesn't look like it's found your second CPU. From what > >I know, the SMP kernel doesn't rely on having more than one processor. It > >relies on running on an SMP motherboard, i.e. there must be an APIC (which > >a "normal" uniprocessor board lacks). As long is there is an APIC, you > >should be able to run SMP. > > This is the bit that confuses me. As NT has been installed on the > machine before, it recognised both processors as seperate > entities..... yet FreeBSD cant see 'em. Without telling us precicely what hardware we are talking about, there really is not much we can help with :) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 08:24:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25060 for freebsd-smp-outgoing; Fri, 3 Apr 1998 08:24:48 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from chama.eece.unm.edu (chama.eece.unm.edu [129.24.24.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA25052 for ; Fri, 3 Apr 1998 08:24:45 -0800 (PST) (envelope-from dbader@eece.unm.edu) Received: from jalapeno.eece.unm.edu by chama.eece.unm.edu (4.1/EECE/Feb-20-1997) id <9804031624.AA02126@chama.eece.unm.edu>; Fri, 3 Apr 98 09:24:43 MST Posted-Date: Fri, 3 Apr 1998 09:24:43 -0700 Received: by jalapeno.eece.unm.edu (SMI-8.6) id JAA06333; Fri, 3 Apr 1998 09:24:43 -0700 Date: Fri, 3 Apr 1998 09:24:43 -0700 Message-Id: <199804031624.JAA06333@jalapeno.eece.unm.edu> From: "David A. Bader" To: smp@FreeBSD.ORG Subject: Multi- processor FreeBSD SMP Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm looking to purchase a number of dual-Pentium II systems (e.g. Dell WorkStation 400 with dual- 333MHz Pentium II processors) to run FreeBSD SMP -current. Dell tells me that Intel makes a special motherboard just for Dell. Has anyone had luck with this, or know where I can get a nice university discount on systems which will boot FreeBSD SMP kernels? Regards, david -- David A. Bader, Ph.D. Office: 505-277-6724 Dept of Electrical and Computer Engineering FAX: 505-277-1439 EECE Building University of New Mexico dbader@eece.unm.edu Albuquerque, NM 87131 http://www.eece.unm.edu/~dbader To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 08:35:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA27462 for freebsd-smp-outgoing; Fri, 3 Apr 1998 08:35:58 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from mailhost.shellnet.co.uk (mailhost.shellnet.co.uk [194.129.209.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA27439 for ; Fri, 3 Apr 1998 08:35:47 -0800 (PST) (envelope-from ircadmin@shellnet.co.uk) ceived: by mailhost.shellnet.co.uk with MERCUR-SMTP/POP3-Server (v2.10) for at Fri, 3 Apr 98 17:35:00 +0100 From: ircadmin@shellnet.co.uk (Steven Fletcher) To: sos@FreeBSD.ORG Cc: freebsd-smp@FreeBSD.ORG Subject: Re: Is FreeBSD detecting both of my processors ? Date: Fri, 03 Apr 1998 16:36:34 GMT Organization: Shellnet Ltd. Message-ID: <35260ef3.677800@mailhost.shellnet.co.uk> References: <199804031349.PAA14663@sos.freebsd.dk> In-Reply-To: <199804031349.PAA14663@sos.freebsd.dk> X-Mailer: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id IAA27441 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 3 Apr 1998 15:49:59 +0200 (MEST), you wrote: >Without telling us precicely what hardware we are talking about, there >really is not much we can help with :) > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team > Even more code to hack -- will it ever end OK: It's a HP Vectra XU 6/200, with 256MB ECCRAM, of course with the mentioned HP motherboard (made for HP) , a 2.5 gig IBM SCSI disk. -Steven Fletcher (steven@shellnet.co.uk) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 09:40:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06965 for freebsd-smp-outgoing; Fri, 3 Apr 1998 09:40:20 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06958; Fri, 3 Apr 1998 09:40:12 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id TAA15038; Fri, 3 Apr 1998 19:39:59 +0200 (MEST) (envelope-from sos) Message-Id: <199804031739.TAA15038@sos.freebsd.dk> Subject: Re: Is FreeBSD detecting both of my processors ? In-Reply-To: <35260ef3.677800@mailhost.shellnet.co.uk> from Steven Fletcher at "Apr 3, 98 04:36:34 pm" To: ircadmin@shellnet.co.uk (Steven Fletcher) Date: Fri, 3 Apr 1998 19:39:59 +0200 (MEST) Cc: sos@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Steven Fletcher who wrote: > On Fri, 3 Apr 1998 15:49:59 +0200 (MEST), you wrote: > >Without telling us precicely what hardware we are talking about, there > >really is not much we can help with :) > > OK: It's a HP Vectra XU 6/200, with 256MB ECCRAM, of course with the > mentioned HP motherboard (made for HP) , a 2.5 gig IBM SCSI disk. Ugh! dont know that one, but I know HP, but not for anything good... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 09:46:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA07636 for freebsd-smp-outgoing; Fri, 3 Apr 1998 09:46:33 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from panzer.plutotech.com (ken@panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA07631 for ; Fri, 3 Apr 1998 09:46:31 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.8.8/8.8.5) id KAA03373; Fri, 3 Apr 1998 10:46:21 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199804031746.KAA03373@panzer.plutotech.com> Subject: Re: Multi- processor FreeBSD SMP In-Reply-To: <199804031624.JAA06333@jalapeno.eece.unm.edu> from "David A. Bader" at "Apr 3, 98 09:24:43 am" To: dbader@eece.unm.edu (David A. Bader) Date: Fri, 3 Apr 1998 10:46:21 -0700 (MST) Cc: smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (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 David A. Bader wrote... > I'm looking to purchase a number of dual-Pentium II systems > (e.g. Dell WorkStation 400 with dual- 333MHz Pentium II processors) > to run FreeBSD SMP -current. > > Dell tells me that Intel makes a special motherboard just for > Dell. Has anyone had luck with this, or know where I can get a nice > university discount on systems which will boot FreeBSD SMP kernels? Well, I haven't had any experience with those Dell systems, but I do have some advice...:) You may want to wait until April 15th, when the 350 and 400MHz Pentium II's with the 100MHz front-end bus come out. They go along with the 440BX chipset. One thing that strikes me as odd in Dell's description of those motherboards is the fact that they have an on-board 3Com ethernet chip. I would think that if Intel is making the board, they'd put an 82558 on board. In any case, the 3Com ethernet thing is something to look at, since the FreeBSD's current 3Com support supposedly isn't all that great. (Although Garrett Wollman said on -current a few days ago: ===== Someone around here has (I think) volunteered to rewrite this driver from scratch, and is in the process of obtaining all the databooks and whatnot. -GAWollman ===== ) The Intel EtherExpress support in FreeBSD, however, is just fine. The good thing about the fact that Intel makes that motherboard (if indeed that is the case) is that most folks have had good success getting the SMP kernel to work on Intel boards. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 11:50:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05104 for freebsd-smp-outgoing; Fri, 3 Apr 1998 11:50:14 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from mail.webspan.net (root@mail.webspan.net [206.154.70.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05087 for ; Fri, 3 Apr 1998 11:50:11 -0800 (PST) (envelope-from opsys@mail.webspan.net) Received: from orion.webspan.net (orion.webspan.net [206.154.70.5]) by mail.webspan.net (WEBSPAN/970608) with SMTP id OAA16310; Fri, 3 Apr 1998 14:46:15 -0500 (EST) Date: Fri, 3 Apr 1998 14:49:59 -0500 (EST) From: Open Systems Networking X-Sender: opsys@orion.webspan.net To: Steven Fletcher cc: freebsd-smp@FreeBSD.ORG Subject: Re: Is FreeBSD detecting both of my processors ? In-Reply-To: <3526ccf2.67998066@mailhost.shellnet.co.uk> 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 Steven, You can tell by looking at the bottom of the boot output, right after the line that says its considering the root fs. It will say luanching CPU #1 The line looks like this: Considering FFS root f/s. SMP: AP CPU #1 Launched! SMP: CPU1 apic_initialize(): lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff If it says luanching CPU #1 which is your second CPU your good to go :) Chris -- "I am closed minded. It keeps the rain out." ===================================| Open Systems Networking And Consulting. FreeBSD 2.2.6 is available now! | Phone: 316-326-6800 -----------------------------------| 1402 N. Washington, Wellington, KS-67152 FreeBSD: The power to serve! | E-Mail: opsys@open-systems.net http://www.freebsd.org | Consulting-Network Engineering-Security ===================================| http://open-systems.net -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQENAzPemUsAAAEH/06iF0BU8pMtdLJrxp/lLk3vg9QJCHajsd25gYtR8X1Px1Te gWU0C4EwMh4seDIgK9bzFmjjlZOEgS9zEgia28xDgeluQjuuMyUFJ58MzRlC2ONC foYIZsFyIqdjEOCBdfhH5bmgB5/+L5bjDK6lNdqD8OAhtC4Xnc1UxAKq3oUgVD/Z d5UJXU2xm+f08WwGZIUcbGcaonRC/6Z/5o8YpLVBpcFeLtKW5WwGhEMxl9WDZ3Kb NZH6bx15WiB2Q/gZQib3ZXhe1xEgRP+p6BnvF364I/To9kMduHpJKU97PH3dU7Mv CXk2NG3rtOgLTEwLyvtBPqLnbx35E0JnZc0k5YkABRO0JU9wZW4gU3lzdGVtcyA8 b3BzeXNAb3Blbi1zeXN0ZW1zLm5ldD4= =BBjp -----END PGP PUBLIC KEY BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 12:01:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08623 for freebsd-smp-outgoing; Fri, 3 Apr 1998 12:01:59 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from mail.webspan.net (root@mail.webspan.net [206.154.70.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08614 for ; Fri, 3 Apr 1998 12:01:52 -0800 (PST) (envelope-from opsys@mail.webspan.net) Received: from orion.webspan.net (orion.webspan.net [206.154.70.5]) by mail.webspan.net (WEBSPAN/970608) with SMTP id OAA18589; Fri, 3 Apr 1998 14:57:49 -0500 (EST) Date: Fri, 3 Apr 1998 15:01:33 -0500 (EST) From: Open Systems Networking X-Sender: opsys@orion.webspan.net To: "David A. Bader" cc: smp@FreeBSD.ORG Subject: Re: Multi- processor FreeBSD SMP In-Reply-To: <199804031624.JAA06333@jalapeno.eece.unm.edu> 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 On Fri, 3 Apr 1998, David A. Bader wrote: > I'm looking to purchase a number of dual-Pentium II systems > (e.g. Dell WorkStation 400 with dual- 333MHz Pentium II processors) > to run FreeBSD SMP -current. > > Dell tells me that Intel makes a special motherboard just for > Dell. Has anyone had luck with this, or know where I can get a nice > university discount on systems which will boot FreeBSD SMP kernels? One placve you might want to tray is apache digital: http://www.apache.com They build SOLID quality High End only Pentium Pro PII FreeBSD systems. Along with sparc and alapha stuff to. And I believe they have education pricing as well. I'd start there. And the support is very good. Chris -- "I am closed minded. It keeps the rain out." ===================================| Open Systems Networking And Consulting. FreeBSD 2.2.6 is available now! | Phone: 316-326-6800 -----------------------------------| 1402 N. Washington, Wellington, KS-67152 FreeBSD: The power to serve! | E-Mail: opsys@open-systems.net http://www.freebsd.org | Consulting-Network Engineering-Security ===================================| http://open-systems.net -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQENAzPemUsAAAEH/06iF0BU8pMtdLJrxp/lLk3vg9QJCHajsd25gYtR8X1Px1Te gWU0C4EwMh4seDIgK9bzFmjjlZOEgS9zEgia28xDgeluQjuuMyUFJ58MzRlC2ONC foYIZsFyIqdjEOCBdfhH5bmgB5/+L5bjDK6lNdqD8OAhtC4Xnc1UxAKq3oUgVD/Z d5UJXU2xm+f08WwGZIUcbGcaonRC/6Z/5o8YpLVBpcFeLtKW5WwGhEMxl9WDZ3Kb NZH6bx15WiB2Q/gZQib3ZXhe1xEgRP+p6BnvF364I/To9kMduHpJKU97PH3dU7Mv CXk2NG3rtOgLTEwLyvtBPqLnbx35E0JnZc0k5YkABRO0JU9wZW4gU3lzdGVtcyA8 b3BzeXNAb3Blbi1zeXN0ZW1zLm5ldD4= =BBjp -----END PGP PUBLIC KEY BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Apr 3 13:38:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA07159 for freebsd-smp-outgoing; Fri, 3 Apr 1998 13:38:12 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from bugs.us.dell.com (bugs.us.dell.com [143.166.169.147]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA07096 for ; Fri, 3 Apr 1998 13:38:01 -0800 (PST) (envelope-from tony@dell.com) Received: from ant.us.dell.com (ant.us.dell.com [143.166.12.34]) by bugs.us.dell.com (8.6.12/8.6.12) with SMTP id PAA09707; Fri, 3 Apr 1998 15:36:22 -0600 Message-Id: <3.0.3.32.19980403153619.006fa124@bugs.us.dell.com> X-Sender: tony@bugs.us.dell.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) Date: Fri, 03 Apr 1998 15:36:19 -0600 To: "Kenneth D. Merry" , dbader@eece.unm.edu (David A. Bader) From: Tony Overfield Subject: Re: Multi- processor FreeBSD SMP Cc: smp@FreeBSD.ORG In-Reply-To: <199804031746.KAA03373@panzer.plutotech.com> References: <199804031624.JAA06333@jalapeno.eece.unm.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >David A. Bader wrote... > >> I'm looking to purchase a number of dual-Pentium II systems >> (e.g. Dell WorkStation 400 with dual- 333MHz Pentium II processors) >> to run FreeBSD SMP -current. It works well, I've used the SMP FreeBSD on these systems. >> Dell tells me that Intel makes a special motherboard just for >> Dell. Has anyone had luck with this, or know where I can get a nice >> university discount on systems which will boot FreeBSD SMP kernels? The Dell Workstation 400 motherboard, BIOS, and chassis were designed completely by Dell. Dell only buys the CPU modules and some of the other chips from Intel. At 10:46 AM 4/3/98 -0700, Kenneth D. Merry wrote: > Well, I haven't had any experience with those Dell systems, but I >do have some advice...:) You may want to wait until April 15th, when the >350 and 400MHz Pentium II's with the 100MHz front-end bus come out. They >go along with the 440BX chipset. Hmm, I can't say anything about that, but I do know that the WorkStation 400 performs very well with the SMP kernel, in my own testing. > One thing that strikes me as odd in Dell's description of those >motherboards is the fact that they have an on-board 3Com ethernet chip. I >would think that if Intel is making the board, they'd put an 82558 on >board. The onboard ethernet is a 3Com 3c905, which works great with everything but the FreeBSD driver. The FreeBSD driver does work, but it doesn't work great since it uses PIO transfers instead of bus-master transfers. >(Although >Garrett Wollman said on -current a few days ago: >===== >Someone around here has (I think) volunteered to rewrite this driver >from scratch, and is in the process of obtaining all the databooks and >whatnot. > >-GAWollman >===== That's good news. >The Intel EtherExpress support in FreeBSD, however, is just fine. If you want, you can order an Intel Pro 100/B with the WorkStation 400, and Dell will install it for you. -Tony -speaking only for myself, of course To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Apr 4 22:35:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA01862 for freebsd-smp-outgoing; Sat, 4 Apr 1998 22:35:41 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA01857 for ; Sat, 4 Apr 1998 22:35:36 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id OAA06176 for ; Sun, 5 Apr 1998 14:35:31 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199804050635.OAA06176@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: smp@FreeBSD.ORG Subject: beware! -current under SMP is "not looking good". Date: Sun, 05 Apr 1998 14:35:30 +0800 From: Peter Wemm Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The latest time commit has busted -current under SMP. I'm not sure of the exact circumstances, but it causes a hang when ntpdate is run. The process sits in the "running" state but doesn't gain any cpu time. Trying to break into DDB causes a deadlock. The code just prior to this was also broken. select() wasn't working properly, although there is evidence that something _else_ is causing it and select is just the scapegoat. It looks like interruptable sleeps are not being interrupted by signals somehow. (sigalrm and siginfo at least were being blocked for the duration of the select()). Other funny things were happening too, eg: cron will not run jobs on my system when built from an april 2 kernel. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Apr 4 22:42:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02884 for freebsd-smp-outgoing; Sat, 4 Apr 1998 22:42:05 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02850; Sat, 4 Apr 1998 22:41:24 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id OAA06265; Sun, 5 Apr 1998 14:41:14 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199804050641.OAA06265@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: smp@FreeBSD.ORG cc: phk@FreeBSD.ORG Subject: more SMP stuff Date: Sun, 05 Apr 1998 14:41:14 +0800 From: Peter Wemm Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was curious about why cron was failing and tested to see what a manual SIGALRM did to cron in nanosleep to test the suspicion that signals were a problem: root@beast[2:36pm]~-103# ps -axl | grep cron 0 152 1 0 10 0 948 576 nanslp Is ?? 0:00.03 cron 0 275 245 3 -6 0 912 492 piperd S+ p0 0:00.02 grep cron root@beast[2:36pm]~-104# kill -ALRM 152Read from remote host beast: Operation timed out Connection to beast closed. ============= exit status 255 ============= ============= Sun Apr 5 14:37:48 WST 1998 ============= >>> ssh -l root beast Last login: Sun Apr 5 13:39:36 1998 from spinner.netplex. Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT (BEAST) #140: Sat Apr 4 23:02:16 WST 1998 Welcome to FreeBSD! You have new mail. Erase is backspace. root@beast[2:37pm]~-100# Hmm... interesting... Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Apr 4 23:48:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09716 for freebsd-smp-outgoing; Sat, 4 Apr 1998 23:48:04 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09542; Sat, 4 Apr 1998 23:45:52 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA27669; Sun, 5 Apr 1998 17:42:23 +1000 Date: Sun, 5 Apr 1998 17:42:23 +1000 From: Bruce Evans Message-Id: <199804050742.RAA27669@godzilla.zeta.org.au> To: peter@netplex.com.au, smp@FreeBSD.ORG Subject: Re: more SMP stuff Cc: phk@FreeBSD.ORG Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I was curious about why cron was failing and tested to see what a manual >SIGALRM did to cron in nanosleep to test the suspicion that signals were a >problem: nanosleep() is currently quite broken: - EWOULDBLOCK is returned instead of 0 in most cases when the timeout expires. - EWOULDBLOCK is returned instead of EINTR if an interrupt occurs and syscalls are not being restarted after this interrupt. - a too-large remaining time is often returned after an interrupt. - negative remaining times are sometimes returned. - the reduction to 24 hours is unnecessary and doesn't work when hz is very large or not a divisor of 1000000000, or if hz is normal and ints are much smaller than 32 bits. I'm also getting almost infinite loops in nanotime(). `delta' has an unexpected value and the while loop takes a long time to reduce it. It should be < 2000000000 and held in a `long' to unpessimise the loop. Here is my current attempt to fix nanosleep1(). It only returns the remaining time on error (nanosleep1() still wastes time copyout()ing the unusable and now always garbage value on successful completion). Bruce diff -c2 kern_time.c~ kern_time.c *** kern_time.c~ Sun Apr 5 14:58:02 1998 --- kern_time.c Sun Apr 5 15:21:31 1998 *************** *** 200,204 **** { struct timespec ts, ts2; ! int error, timo; if (rqt->tv_nsec < 0 || rqt->tv_nsec >= 1000000000) --- 205,210 ---- { struct timespec ts, ts2; ! struct timeval tv; ! int error; if (rqt->tv_nsec < 0 || rqt->tv_nsec >= 1000000000) *************** *** 206,240 **** if (rqt->tv_sec < 0 || rqt->tv_sec == 0 && rqt->tv_nsec == 0) return (0); - getnanoruntime(&ts); timespecadd(&ts, rqt); ! error = 0; ! while (1) { getnanoruntime(&ts2); ! if (timespeccmp(&ts2, &ts, >=)) ! break; ! else if (ts2.tv_sec + 60 * 60 * 24 * hz < ts.tv_sec) ! timo = 60 * 60 * 24 * hz; ! else if (ts2.tv_sec + 2 < ts.tv_sec) { ! /* Leave one second for the difference in tv_nsec */ ! timo = ts.tv_sec - ts2.tv_sec - 1; ! timo *= hz; ! } else { ! timo = (ts.tv_sec - ts2.tv_sec) * 1000000000; ! timo += ts.tv_nsec - ts2.tv_nsec; ! timo /= (1000000000 / hz); ! timo ++; } ! error = tsleep(&nanowait, PWAIT | PCATCH, "nanslp", timo); ! if (error == ERESTART) { ! error = EINTR; ! break; ! } ! } ! if (rmt) { ! *rmt = ts; ! timespecsub(rmt, &ts2); } - return(error); } --- 212,236 ---- if (rqt->tv_sec < 0 || rqt->tv_sec == 0 && rqt->tv_nsec == 0) return (0); getnanoruntime(&ts); timespecadd(&ts, rqt); ! for (;;) { ! TIMESPEC_TO_TIMEVAL(&tv, &ts); ! error = tsleep(&nanowait, PWAIT | PCATCH, "nanslp", ! tvtohz(&tv)); getnanoruntime(&ts2); ! if (error != EWOULDBLOCK) { ! if (error == ERESTART) ! error = EINTR; ! if (rmt != NULL) { ! timespecsub(&ts, &ts2); ! if (ts.tv_sec < 0) ! timespecclear(&ts); ! *rmt = ts; ! } ! return (error); } ! if (timespeccmp(&ts2, &ts, >=)) ! return (0); } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Apr 4 23:51:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA10092 for freebsd-smp-outgoing; Sat, 4 Apr 1998 23:51:00 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA10086 for ; Sat, 4 Apr 1998 23:50:56 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id PAA07051; Sun, 5 Apr 1998 15:50:50 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199804050750.PAA07051@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Wemm cc: smp@FreeBSD.ORG Subject: Re: beware! -current under SMP is "not looking good". In-reply-to: Your message of "Sun, 05 Apr 1998 14:35:30 +0800." <199804050635.OAA06176@spinner.netplex.com.au> Date: Sun, 05 Apr 1998 15:50:49 +0800 From: Peter Wemm Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Peter Wemm wrote: > The latest time commit has busted -current under SMP. I'm not sure of the > exact circumstances, but it causes a hang when ntpdate is run. The process > sits in the "running" state but doesn't gain any cpu time. Trying to break > into DDB causes a deadlock. It seems that doing a 'setpriority()' is the last thing that happens before the hang with ntpdate. I wonder if the posix4 stuff is having an effect here? > > The code just prior to this was also broken. select() wasn't working > properly, although there is evidence that something _else_ is causing it > and select is just the scapegoat. It looks like interruptable sleeps are > not being interrupted by signals somehow. (sigalrm and siginfo at least > were being blocked for the duration of the select()). > > Other funny things were happening too, eg: cron will not run jobs on my > system when built from an april 2 kernel. This was from the bug added to nanosleep() that caused it to fail and return EAGAIN/EWOULDBLOCK on a successful sleep and caused sleep(3) to fail. Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Apr 4 23:55:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA10579 for freebsd-smp-outgoing; Sat, 4 Apr 1998 23:55:22 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA10574 for ; Sat, 4 Apr 1998 23:55:20 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA27949; Sun, 5 Apr 1998 17:52:19 +1000 Date: Sun, 5 Apr 1998 17:52:19 +1000 From: Bruce Evans Message-Id: <199804050752.RAA27949@godzilla.zeta.org.au> To: peter@netplex.com.au, smp@FreeBSD.ORG Subject: Re: beware! -current under SMP is "not looking good". Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >The latest time commit has busted -current under SMP. I'm not sure of the >exact circumstances, but it causes a hang when ntpdate is run. The process >sits in the "running" state but doesn't gain any cpu time. Trying to break >into DDB causes a deadlock. This looks a bit like the loop in nanotime(). It's only in the latest commit. I can break in with ddb, but my ddb keeps interrupts disabled to prevent timers and other things changing underneath it. >The code just prior to this was also broken. select() wasn't working Only the nanosleep() bug, I hope. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message