From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 18 01:36:26 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EC65106566C for ; Sun, 18 Apr 2010 01:36:26 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (ns.mahan.org [67.116.10.138]) by mx1.freebsd.org (Postfix) with ESMTP id F12AF8FC08 for ; Sun, 18 Apr 2010 01:36:25 +0000 (UTC) Received: from Gypsy.mahan.org (crowTrobot [67.116.10.140]) by ns.mahan.org (8.13.6/8.13.6) with ESMTP id o3I1ch0N073228 for ; Sat, 17 Apr 2010 18:38:44 -0700 (PDT) (envelope-from mahan@mahan.org) Message-ID: <4BCA6218.5020308@mahan.org> Date: Sat, 17 Apr 2010 18:36:24 -0700 From: Patrick Mahan User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Loading a KLM at boot time (issues) 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: Sun, 18 Apr 2010 01:36:26 -0000 I am looking for some guidance and perhaps a method to debug an issue I am having with a KLM. For various reasons, I have to make use of random.ko instead of having it built as part of the kernel. As a result, I am adding the following line to /boot/loader.conf - random_load=yes # I have also tried random_load="YES" On some platforms (Intel Xeon L5518 running FBSD 8.0-release-p2) this works as expected and a kldstat shows random.ko as loaded. However, on other platforms (Intel Xeon E5440 running FBSD 8.0-release-p2) this is not working. random.ko does not get loaded and as a result SSHD will not start which causes havoc with QA/Release engineering. I cannot figure this one out. I don't see any messages on the console indicating that it has failed to load. But sshd complains about not finding the /dev/random and logging in and doing a kldstat shows that random.ko is not there. However, it is there because I can do a 'kldload random; /etc/rc.d/sshd start' and I get SSHD up and running. Nothing popped up when I tried "debugging loader.conf" in Google. Any suggestions? Thanks, Patrick