From owner-freebsd-sparc64@FreeBSD.ORG Tue Nov 16 23:02:02 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5150216A4CE for ; Tue, 16 Nov 2004 23:02:02 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B89E643D54 for ; Tue, 16 Nov 2004 23:02:01 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 20620 invoked from network); 16 Nov 2004 23:02:01 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Nov 2004 23:02:01 -0000 Received: from hydrogen.funkthat.com (dqfmhm@localhost.funkthat.com [127.0.0.1])iAGN1xB6010949; Tue, 16 Nov 2004 15:02:00 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id iAGN1wB2010948; Tue, 16 Nov 2004 15:01:58 -0800 (PST) Date: Tue, 16 Nov 2004 15:01:58 -0800 From: John-Mark Gurney To: Ben Kirkpatrick Message-ID: <20041116230158.GP57546@funkthat.com> Mail-Followup-To: Ben Kirkpatrick , freebsd-sparc64@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-sparc64@freebsd.org Subject: Re: kldload and kldconfig on 5.2.1-RELEASE / Ultra5 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 23:02:02 -0000 Ben Kirkpatrick wrote this message on Tue, Nov 16, 2004 at 08:03 -0800: > I'm having a problem with kldload always saying it can't find a .ko > file. I check kldconfig and it seems confused. > > This is immediately after a reboot, there are no paths: > > ebola# kldconfig -r > ; > ebola# kldconfig /boot/kernel > ebola# kldconfig -r > > ebola# kldconfig -m /boot/modules > ebola# kldconfig -r > ; > ebola# > > Any ideas what to do to get a .ko loaded? I'm on a custom kernel, did I > remove something necessary for LKMs? Hmmm. maybe this is your problem? 20040806: Module loading has been fixed. Some older installations will drop proper module_path initialization and modules will fail to load properly. If you have a line in /boot/loader.rc that says: "initialize drop", do (i386 only): cp /usr/src/sys/boot/i386/loader/loader.rc /boot/loader.rc chown root:wheel /boot/loader.rc chmod 444 /boot/loader.rc -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."