From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 28 11:38:15 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6F521065672 for ; Wed, 28 Dec 2011 11:38:15 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B221C8FC27 for ; Wed, 28 Dec 2011 11:38:15 +0000 (UTC) Received: by iadj38 with SMTP id j38so27192166iad.13 for ; Wed, 28 Dec 2011 03:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=53cgtznTHDrbW+T/zhLVDMhgiEDNBB59ortz21oVKEw=; b=jfGEVGaVeJHIvq1fCtMUhA2aH8E/m1BsIt9qHFd89A2GlX8VgtTTuPYQKxNw1I9igV 0SWA+UJcfq3sBcGgcO3dCUOsg10J5EXVt/3pPdZZiYmLjT75c2XTaPZSjEVZXkDG4pEX rI5RgPdn1aN5Qbso5MO28/usZjTez1ia/eMlo= Received: by 10.50.155.195 with SMTP id vy3mr35245167igb.12.1325072295268; Wed, 28 Dec 2011 03:38:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.207.7 with HTTP; Wed, 28 Dec 2011 03:37:44 -0800 (PST) From: Chris Rees Date: Wed, 28 Dec 2011 11:37:44 +0000 Message-ID: To: hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Checking for other kernel modules on load X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 11:38:16 -0000 Hi all, Apologies for the noob question-- I'm trying to stop audio/oss causing panics when loaded on a system that includes DEVICE sound in its kernel config (which has been GENERIC for ~6months now :)) Is there a simple way to check for existence of a driver? I could even check for /dev/sndstat, though that doesn't seem elegant to me... Chris