Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2011 15:56:41 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Chris Rees <utisoft@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: Checking for other kernel modules on load
Message-ID:  <20111228135641.GV50300@deviant.kiev.zoral.com.ua>
In-Reply-To: <CADLo8382uPC6YmreCz8irVuiOhSwc2axJTgQRpVJk-%2B0Win8rQ@mail.gmail.com>
References:  <CADLo838QjrUunABB=3R_d6NO9bnNAcKXM%2BZt3DRam3RnOGnxGw@mail.gmail.com> <B8D5A1B2-4790-48CA-AAC3-D4333D52ECEB@gsoft.com.au> <CADLo8382uPC6YmreCz8irVuiOhSwc2axJTgQRpVJk-%2B0Win8rQ@mail.gmail.com>

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

--kfDFKqcrHLBvkXCZ
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 28, 2011 at 12:23:58PM +0000, Chris Rees wrote:
> On 28 December 2011 12:21, Daniel O'Connor <doconnor@gsoft.com.au> wrote:
> >
> > On 28/12/2011, at 22:07, Chris Rees wrote:
> >> Is there a simple way to check for existence of a driver? =9AI could
> >> even check for /dev/sndstat, though that doesn't seem elegant to me...
> >
> > kldstat -v, but really /dev/sndstat seems simpler and just as effective.
> >
>=20
> Cheers-- I was thinking of a kernel-level function though.
>=20
> cognet@ suggested using modfind("sound"), I'll go with that.
Obvious question is what the panic is. Checking for modules loaded is
papering over some issue.

--kfDFKqcrHLBvkXCZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk77IBkACgkQC3+MBN1Mb4h/6QCgjo5nLrCT3ZHMWXokC1zEt2DE
LOYAoIcgcJXyrjFDs9mhLvBzMLOuCkQM
=Jg97
-----END PGP SIGNATURE-----

--kfDFKqcrHLBvkXCZ--



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