From owner-freebsd-stable@FreeBSD.ORG Sat Jan 20 18:03:30 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3003E16A404 for ; Sat, 20 Jan 2007 18:03:30 +0000 (UTC) (envelope-from nhockey@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.freebsd.org (Postfix) with ESMTP id C97D013C428 for ; Sat, 20 Jan 2007 18:03:29 +0000 (UTC) (envelope-from nhockey@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so607428wri for ; Sat, 20 Jan 2007 10:03:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer; b=GdDOhCgutrtYkVTzzVw1PXLQuVXXdvEB6uGayjeoIB0Mv54D+V5rKUD7vKdavYH/oNEatGHmamgKAjPjpewDk7oCGqG2oNLKlTmr9pu6qWMUpX5HNVrK1o/CwjqNplmDhMYAQXi+OEzwLYkDNCeAxAhjj+omc2UR8H25kd21Vgc= Received: by 10.90.105.20 with SMTP id d20mr4415985agc.1169314555124; Sat, 20 Jan 2007 09:35:55 -0800 (PST) Received: from ?192.168.1.116? ( [24.58.198.224]) by mx.google.com with ESMTP id 7sm4098969agd.2007.01.20.09.35.54; Sat, 20 Jan 2007 09:35:54 -0800 (PST) From: Nicholas Hockey To: freebsd-stable@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3ukdHGtDG0F2z759sB0h" Date: Sat, 20 Jan 2007 12:34:44 -0500 Message-Id: <1169314484.7140.20.camel@core> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Subject: kldload issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 18:03:30 -0000 --=-3ukdHGtDG0F2z759sB0h Content-Type: text/plain Content-Transfer-Encoding: quoted-printable i ran into an interesting problem last night. I was attempting to load mac_seeotheruids into the running kernel, forgetting that i had not set "options MAC" in the kernel and received a kind of misleading error. instead of saying that i did not have the required components compiled into the kernel, i was told that the file didn't exist, instead of being told that i lacked mac support in my kernel. However i did receive the error in my syslog. I don't see this as an error, or even problematic, however i do believe that the error that kldload echo's should be more intuitive as to the actual problem. nebula# kldload /boot/kernel/mac_seeotheruids.ko=20 kldload: can't load /boot/kernel/mac_seeotheruids.ko: No such file or directory nebula# ls -al /boot/kernel/mac_seeotheruids.ko=20 -r-xr-xr-x 1 root wheel 7465 Jan 19 16:51 /boot/kernel/mac_seeotheruids.ko nebula# dmesg | grep -i mac_seeotheruids | uniq KLD mac_seeotheruids.ko: depends on kernel_mac_support - not available --=20 Nicholas Hockey --=-3ukdHGtDG0F2z759sB0h Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFslK0ocaaLAbJFykRApzCAJwKd8vvVN/b7FWdLEGwwgS3z3k7IQCfZvRP LML11fBK6NbQnZWueHYQjzc= =1rLU -----END PGP SIGNATURE----- --=-3ukdHGtDG0F2z759sB0h--