Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2005 19:20:15 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Joe <josepha48@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SMP and networking under FreeBSD 5.3
Message-ID:  <20050615232015.GA98464@xor.obsecurity.org>
In-Reply-To: <20050614161502.1495.qmail@web41015.mail.yahoo.com>
References:  <20050614161502.1495.qmail@web41015.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050615232015.GA98464>