From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 23:20:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEF4316A41C for ; Wed, 15 Jun 2005 23:20:19 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8696243D1D for ; Wed, 15 Jun 2005 23:20:19 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 807425124F; Wed, 15 Jun 2005 19:20:15 -0400 (EDT) Date: Wed, 15 Jun 2005 19:20:15 -0400 From: Kris Kennaway To: Joe Message-ID: <20050615232015.GA98464@xor.obsecurity.org> References: <20050614161502.1495.qmail@web41015.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20050614161502.1495.qmail@web41015.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: SMP and networking under FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 23:20:19 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2005 at 09:15:01AM -0700, Joe wrote: > Hello,=20 >=20 > Not sure if this is the place to ask this. But this is a > freebsd question. >=20 > I've been running FreeBSD since about 4.6. I have 2 > machines running FreeBSD. One is used as a router, its an SMP > machine, and the other is used to build the source code. =20 >=20 > I'm having a problem with the SMP machine. When the machine > boots, dmesg shows two messages, that the UP does not show. >=20 > WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant > WARNING: MPSAFE network stack disabled, expect reduced > performance. >=20 > In v52a I did not get these messages. After doing some > research, I understand that this has to do with the kernel > locking. =20 >=20 > It seems that now my networking is not working on the SMP > machine. I know others have asked about this, and saw the > release notes, about setting debug.mpsafenet=3D0, but my > networking is still not working right. =20 This does not indicate a bug. Rather, the situation is *exactly the same as it was in every previous version of FreeBSD* -- there was just not point in mentioning the condition specifically because it applied to every system. If you remove IPSEC from your kernel (e.g. use FAST_IPSEC instead), you will be able to benefit from improved SMP performance relative to previous versions (actually, you should upgrade to 5.4 which has much better performance than 5.3). > Also /dev/kmem and /dev/mem are missing so netstat -ar does > not work either. =20 You probably omitted them from your kernel. Kris --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCsLevWry0BWjoQKURAg5ZAJ0WQ4M4VhlLTMunhMsBX3Km0seWwQCg4Tsm 0qaPkSI5hQ8X9eipdtS2/sg= =kVB0 -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--