From owner-freebsd-smp@FreeBSD.ORG  Wed Nov  3 19:59:02 2004
Return-Path: <owner-freebsd-smp@FreeBSD.ORG>
Delivered-To: freebsd-smp@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 088A316A4CE
	for <freebsd-smp@freebsd.org>; Wed,  3 Nov 2004 19:59:02 +0000 (GMT)
Received: from mail109.messagelabs.com (mail109.messagelabs.com
	[216.82.255.131])
	by mx1.FreeBSD.org (Postfix) with SMTP id 5C55F43D41
	for <freebsd-smp@freebsd.org>; Wed,  3 Nov 2004 19:59:01 +0000 (GMT)
	(envelope-from jklotzer@nycedc.com)
X-VirusChecked: Checked
X-Env-Sender: jklotzer@nycedc.com
X-Msg-Ref: server-5.tower-109.messagelabs.com!1099511940!945601!1
X-StarScan-Version: 5.4.2; banners=-,-,-
X-Originating-IP: [69.64.218.23]
Received: (qmail 1052 invoked from network); 3 Nov 2004 19:59:00 -0000
Received: from unknown (HELO vwall.nycedc.com) (69.64.218.23)
  by server-5.tower-109.messagelabs.com with SMTP; 3 Nov 2004 19:59:00 -0000
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 3 Nov 2004 14:56:50 -0500
Message-ID: <0F479715C3CB0449B2E9C5E368BB6CB9078A67E4@EXPLORER1.nycedc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Compaq Proliant 5500 Rebooting ?!
Thread-Index: AcTB30HSCsWsiHBWR/eb8slHABwO/w==
From: "Jason Klotzer" <jklotzer@nycedc.com>
To: <freebsd-smp@freebsd.org>
Subject: Compaq Proliant 5500 Rebooting ?!
X-BeenThere: freebsd-smp@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD SMP implementation group <freebsd-smp.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-smp>
List-Post: <mailto:freebsd-smp@freebsd.org>
List-Help: <mailto:freebsd-smp-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Nov 2004 19:59:02 -0000

Hi,

I recently installed 5.2.1 on a newly purchased (off of ebay) 2x 500mhz =
Compaq Proliant 5500 w/ stock parts. As mentioned by a few lists, I got =
a copy of the SmartStart 5.50 CD, booted off of that, setup the machine =
as a "Unixy" machine, then installed FreeBSD.=20

Everything went smoothly, until I start cvsup'ing my ports and the =
machine reboots. Not only does the machine reboot under that condition, =
but it reboots ever so many minutes (~30-45 minutes). What could the =
problem be? I read another list subscribers similar problem and he =
solved it by changing the Software Recovery option in his bios or =
something of this sort? My problem is I can't find a way to directly =
access the BIOS config... anyone have anything?=20

Also, in my dmesg, the output only displays one processor? Is this =
because the default kernel does not include SMP support? I was =
attempting to rebuild the kernel, yet the default listed smp as an =
option...? What's up?!

--jason=20

From owner-freebsd-smp@FreeBSD.ORG  Wed Nov  3 22:39:59 2004
Return-Path: <owner-freebsd-smp@FreeBSD.ORG>
Delivered-To: freebsd-smp@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3CABA16A507
	for <freebsd-smp@FreeBSD.org>; Wed,  3 Nov 2004 22:39:59 +0000 (GMT)
Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1190E43D48
	for <freebsd-smp@FreeBSD.org>; Wed,  3 Nov 2004 22:39:59 +0000 (GMT)
	(envelope-from jhb@FreeBSD.org)
Received: (qmail 27371 invoked from network); 3 Nov 2004 22:39:58 -0000
Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx)
	([216.27.160.63])          (envelope-sender <jhb@FreeBSD.org>)
	encrypted SMTP
	for <jklotzer@nycedc.com>; 3 Nov 2004 22:39:58 -0000
Received: from [10.50.41.235] (gw1.twc.weather.com [216.133.140.1])
	(authenticated bits=0)
	by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iA3Mdjc4080119;
	Wed, 3 Nov 2004 17:39:50 -0500 (EST)
	(envelope-from jhb@FreeBSD.org)
From: John Baldwin <jhb@FreeBSD.org>
To: freebsd-smp@FreeBSD.org
Date: Wed, 3 Nov 2004 17:16:11 -0500
User-Agent: KMail/1.6.2
References: <0F479715C3CB0449B2E9C5E368BB6CB9078A67E4@EXPLORER1.nycedc.com>
In-Reply-To: <0F479715C3CB0449B2E9C5E368BB6CB9078A67E4@EXPLORER1.nycedc.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411031716.11652.jhb@FreeBSD.org>
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx
cc: Jason Klotzer <jklotzer@nycedc.com>
Subject: Re: Compaq Proliant 5500 Rebooting ?!
X-BeenThere: freebsd-smp@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD SMP implementation group <freebsd-smp.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-smp>
List-Post: <mailto:freebsd-smp@freebsd.org>
List-Help: <mailto:freebsd-smp-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Nov 2004 22:39:59 -0000

On Wednesday 03 November 2004 02:56 pm, Jason Klotzer wrote:
> Hi,
>
> I recently installed 5.2.1 on a newly purchased (off of ebay) 2x 500mhz
> Compaq Proliant 5500 w/ stock parts. As mentioned by a few lists, I got a
> copy of the SmartStart 5.50 CD, booted off of that, setup the machine as a
> "Unixy" machine, then installed FreeBSD.
>
> Everything went smoothly, until I start cvsup'ing my ports and the machine
> reboots. Not only does the machine reboot under that condition, but it
> reboots ever so many minutes (~30-45 minutes). What could the problem be? I
> read another list subscribers similar problem and he solved it by changing
> the Software Recovery option in his bios or something of this sort? My
> problem is I can't find a way to directly access the BIOS config... anyone
> have anything?
>
> Also, in my dmesg, the output only displays one processor? Is this because
> the default kernel does not include SMP support? I was attempting to
> rebuild the kernel, yet the default listed smp as an option...? What's up?!

Does your dmesg contain a line with 'MPTable' or 'MADT' in it?  You may have 
to tweak the BIOS so that it provides the table listing the CPUs for FreeBSD 
to find.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

From owner-freebsd-smp@FreeBSD.ORG  Thu Nov  4 04:40:52 2004
Return-Path: <owner-freebsd-smp@FreeBSD.ORG>
Delivered-To: freebsd-smp@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0643816A4CE
	for <freebsd-smp@freebsd.org>; Thu,  4 Nov 2004 04:40:52 +0000 (GMT)
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.198])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A800643D49
	for <freebsd-smp@freebsd.org>; Thu,  4 Nov 2004 04:40:51 +0000 (GMT)
	(envelope-from joseph.koshy@gmail.com)
Received: by rproxy.gmail.com with SMTP id a41so207730rng
        for <freebsd-smp@freebsd.org>; Wed, 03 Nov 2004 20:40:51 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
	s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
	b=GjaH5fWW3UiihtP6kISLwYh1NN39JJ++7xkjxsii0G9YPySBHhNd3yjtKPBRaAUrHpsJU//10o4AJfeJ+ui2wWLgThYUJf79vmfQLGY9JH/s7CauYpcPiNQ29LN26uI7BtxFHJwoDUN5W7RCnqJb+URlLongPLFfqeVFCjgfyeE=
Received: by 10.38.208.46 with SMTP id f46mr744692rng;
        Wed, 03 Nov 2004 20:40:50 -0800 (PST)
Received: by 10.38.13.37 with HTTP; Wed, 3 Nov 2004 20:40:50 -0800 (PST)
Message-ID: <84dead72041103204074e8bece@mail.gmail.com>
Date: Thu, 4 Nov 2004 10:10:50 +0530
From: Joseph Koshy <joseph.koshy@gmail.com>
To: freebsd-smp@freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Is there a way to defer a device init unless all cpus are running?
X-BeenThere: freebsd-smp@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Joseph Koshy <joseph.koshy@gmail.com>
List-Id: FreeBSD SMP implementation group <freebsd-smp.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-smp>
List-Post: <mailto:freebsd-smp@freebsd.org>
List-Help: <mailto:freebsd-smp-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Nov 2004 04:40:52 -0000

I'd like to defer complete initialization of a driver till all CPUs on a system
have been initialized.  Is this possible today?  Right now I'm forced to use
a KLD that gets loaded after the system is booted since the driver needs
to set up per-cpu structures.

From owner-freebsd-smp@FreeBSD.ORG  Thu Nov  4 20:49:15 2004
Return-Path: <owner-freebsd-smp@FreeBSD.ORG>
Delivered-To: freebsd-smp@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 9991016A4CE; Thu,  4 Nov 2004 20:49:15 +0000 (GMT)
Received: from dante.zefram.net (dante.zefram.net [66.92.77.109])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 2210843D1D; Thu,  4 Nov 2004 20:49:15 +0000 (GMT)
	(envelope-from zefram@zefram.net)
Received: by dante.zefram.net (Postfix, from userid 1000)
	id 3B73F141; Thu,  4 Nov 2004 15:49:15 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
	by dante.zefram.net (Postfix) with ESMTP id 31F0313C;
	Thu,  4 Nov 2004 15:49:15 -0500 (EST)
Date: Thu, 4 Nov 2004 15:49:15 -0500 (EST)
From: John Gillis <zefram@zefram.net>
To: John Baldwin <jhb@FreeBSD.org>
In-Reply-To: <200411031716.11652.jhb@FreeBSD.org>
Message-ID: <20041104154752.J79342@dante.zefram.net>
References: <0F479715C3CB0449B2E9C5E368BB6CB9078A67E4@EXPLORER1.nycedc.com>
 <200411031716.11652.jhb@FreeBSD.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: Jason Klotzer <jklotzer@nycedc.com>
cc: freebsd-smp@FreeBSD.org
Subject: Re: Compaq Proliant 5500 Rebooting ?!
X-BeenThere: freebsd-smp@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD SMP implementation group <freebsd-smp.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-smp>
List-Post: <mailto:freebsd-smp@freebsd.org>
List-Help: <mailto:freebsd-smp-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Nov 2004 20:49:15 -0000

> Does your dmesg contain a line with 'MPTable' or 'MADT' in it?

	Also, selecting Linux on smaller numbered Proliant systems will
allow SMP to work with FreeBSD, in my experience... never worked with a
5500, however.
		John

From owner-freebsd-smp@FreeBSD.ORG  Thu Nov  4 20:55:09 2004
Return-Path: <owner-freebsd-smp@FreeBSD.ORG>
Delivered-To: freebsd-smp@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E8AF516A4CE
	for <freebsd-smp@FreeBSD.org>; Thu,  4 Nov 2004 20:55:09 +0000 (GMT)
Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C263B43D48
	for <freebsd-smp@FreeBSD.org>; Thu,  4 Nov 2004 20:55:09 +0000 (GMT)
	(envelope-from jhb@FreeBSD.org)
Received: (qmail 2349 invoked from network); 4 Nov 2004 20:55:09 -0000
Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx)
	([216.27.160.63])          (envelope-sender <jhb@FreeBSD.org>)
	encrypted SMTP
	for <joseph.koshy@gmail.com>; 4 Nov 2004 20:55:07 -0000
Received: from [10.50.41.235] (gw1.twc.weather.com [216.133.140.1])
	(authenticated bits=0)
	by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iA4KsIlJ088385;
	Thu, 4 Nov 2004 15:54:51 -0500 (EST)
	(envelope-from jhb@FreeBSD.org)
From: John Baldwin <jhb@FreeBSD.org>
To: freebsd-smp@FreeBSD.org, Joseph Koshy <joseph.koshy@gmail.com>
Date: Thu, 4 Nov 2004 15:28:25 -0500
User-Agent: KMail/1.6.2
References: <84dead72041103204074e8bece@mail.gmail.com>
In-Reply-To: <84dead72041103204074e8bece@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411041528.25929.jhb@FreeBSD.org>
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx
Subject: Re: Is there a way to defer a device init unless all cpus are
	running?
X-BeenThere: freebsd-smp@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD SMP implementation group <freebsd-smp.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-smp>
List-Post: <mailto:freebsd-smp@freebsd.org>
List-Help: <mailto:freebsd-smp-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Nov 2004 20:55:10 -0000

On Wednesday 03 November 2004 11:40 pm, Joseph Koshy wrote:
> I'd like to defer complete initialization of a driver till all CPUs on a
> system have been initialized.  Is this possible today?  Right now I'm
> forced to use a KLD that gets loaded after the system is booted since the
> driver needs to set up per-cpu structures.

You can setup per-cpu structures on the BSP for one, but you can also use a 
SI_SUB_SMP sysinit with an order of SI_ORDER_SECOND or greater.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

From owner-freebsd-smp@FreeBSD.ORG  Fri Nov  5 17:00:08 2004
Return-Path: <owner-freebsd-smp@FreeBSD.ORG>
Delivered-To: freebsd-smp@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 7BC7516A4CE; Fri,  5 Nov 2004 17:00:08 +0000 (GMT)
Received: from mail108.messagelabs.com (mail108.messagelabs.com
	[216.82.255.115])	by mx1.FreeBSD.org (Postfix) with SMTP
	id 18D6843D5C; Fri,  5 Nov 2004 17:00:08 +0000 (GMT)
	(envelope-from jklotzer@nycedc.com)
X-VirusChecked: Checked
X-Env-Sender: jklotzer@nycedc.com
X-Msg-Ref: server-11.tower-108.messagelabs.com!1099673995!1029387!1
X-StarScan-Version: 5.4.2; banners=-,-,-
X-Originating-IP: [69.64.218.23]
Received: (qmail 1922 invoked from network); 5 Nov 2004 16:59:56 -0000
Received: from unknown (HELO vwall.nycedc.com) (69.64.218.23)
  by server-11.tower-108.messagelabs.com with SMTP; 5 Nov 2004 16:59:56 -0000
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 5 Nov 2004 11:58:30 -0500
Message-ID: <0F479715C3CB0449B2E9C5E368BB6CB9079DC944@EXPLORER1.nycedc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Compaq Proliant 5500 Rebooting ?!
Thread-Index: AcTCr8M9GlyI19aVRx2UiUfMWQPvjgApYvWw
From: "Jason Klotzer" <jklotzer@nycedc.com>
To: "John Gillis" <zefram@zefram.net>,
	"John Baldwin" <jhb@FreeBSD.org>
cc: freebsd-smp@FreeBSD.org
Subject: RE: Compaq Proliant 5500 Rebooting ?!
X-BeenThere: freebsd-smp@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD SMP implementation group <freebsd-smp.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-smp>
List-Post: <mailto:freebsd-smp@freebsd.org>
List-Help: <mailto:freebsd-smp-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-smp>,
	<mailto:freebsd-smp-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Nov 2004 17:00:08 -0000

That did it! I simply selected the system type as 'Linux' in the =
SmartStart configuration and now the system identifies the two CPU's AND =
it no longer reboots at will. Thanks.

--jason

-----Original Message-----
From: John Gillis [mailto:zefram@zefram.net]
Sent: Thursday, November 04, 2004 3:49 PM
To: John Baldwin
Cc: freebsd-smp@FreeBSD.org; Jason Klotzer
Subject: Re: Compaq Proliant 5500 Rebooting ?!


> Does your dmesg contain a line with 'MPTable' or 'MADT' in it?

	Also, selecting Linux on smaller numbered Proliant systems will
allow SMP to work with FreeBSD, in my experience... never worked with a
5500, however.
		John