Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2007 12:34:44 -0500
From:      Nicholas Hockey <nhockey@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   kldload issue
Message-ID:  <1169314484.7140.20.camel@core>

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

--=-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 <nhockey@gmail.com>

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




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