From owner-freebsd-current@FreeBSD.ORG Mon Jun 21 16:54:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89D9116A4CE for ; Mon, 21 Jun 2004 16:54:57 +0000 (GMT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E33543D46 for ; Mon, 21 Jun 2004 16:54:57 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.11) with ESMTP id i5LGsu2d003089; Mon, 21 Jun 2004 09:54:56 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i5LGsrDL003087; Mon, 21 Jun 2004 09:54:53 -0700 (PDT) (envelope-from obrien) Date: Mon, 21 Jun 2004 09:54:53 -0700 From: "David O'Brien" To: Tai-hwa Liang , freebsd-current@freebsd.org Message-ID: <20040621165453.GB2544@dragon.nuxi.com> References: <040620234141A.22488@www.mmlab.cse.yzu.edu.tw> <20040621091654.GA1167@isis.wad.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040621091654.GA1167@isis.wad.cz> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Subject: Re: kldload random.ko panics -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 16:54:57 -0000 On Mon, Jun 21, 2004 at 11:16:54AM +0200, Roman Neuhauser wrote: > # avatar@mmlab.cse.yzu.edu.tw / 2004-06-21 00:01:04 +0800: > > Apparently, loading the module random.ko in -CURRENT always panics the > > kernel unless the random device was not compiled in the kernel. > > ... > > > I'm wondering about why this module loading panicked instead of > > bailing out with something like "kldload: can't load random: File > > exists?" Because it isn't well written. > When I asked about the same thing not so long ago, the answer was > "don't do it": > http://marc.theaimsgroup.com/?l=freebsd-hackers&m=108113056524926&w=2 Yes it is a very well know problem with devrandom. No, other drivers don't panic when loaded and also statically compiled into the kernel. -- -- David (obrien@FreeBSD.org)