From owner-freebsd-stable Mon Dec 24 9:42:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 5ED1437B419 for ; Mon, 24 Dec 2001 09:42:30 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fBOHgOD29815; Mon, 24 Dec 2001 12:42:28 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 24 Dec 2001 12:42:24 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Roger Savard Cc: freebsd-stable@freebsd.org Subject: Re: sysctl In-Reply-To: <1009149673.338.6.camel@JSBach.henocoffice.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If the sysctl's are set before the linux emulator is loaded, that could explain what you saw. A similar problem was bumped into with regards to nfs recently, actually. Try setting them in rc.local and see if that improves things. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On 23 Dec 2001, Roger Savard wrote: > Hi, > > I usually use /etc/sysctl.conf to modify two parameters > > compat.linux.osname=FreeBSD > compat.linux.osrelease=4.4-Stable > > The reason behind this is to be accounted for FreeBSD instead of Linux > ... some day will have native freebsd code... > > I get this result now: > %sysctl -a | grep os > ... > > pcib0: on motherboard > <118>unknown oid 'compat.linux.osname' > <118>unknown oid 'compat.linux.osrelease' > <118> hostname > <118> media: Ethernet autoselect (100baseTX ) > user.posix2_version: 199212 > user.posix2_c_bind: 0 > user.posix2_c_dev: 0 > user.posix2_char_term: 0 > user.posix2_fort_dev: 0 > user.posix2_fort_run: 0 > user.posix2_localedef: 0 > user.posix2_sw_dev: 0 > user.posix2_upe: 0 > jail.set_hostname_allowed: 1 > compat.linux.osname: Linux > compat.linux.osrelease: 2.4.2 > compat.linux.oss_version: 198144 > > No changes !! > > Thanks again. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message