From owner-freebsd-questions@FreeBSD.ORG Sun Oct 10 20:29:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A441816A4CE for ; Sun, 10 Oct 2004 20:29:14 +0000 (GMT) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 532EE43D53 for ; Sun, 10 Oct 2004 20:29:14 +0000 (GMT) (envelope-from agerber@ncsu.edu) Received: from [127.0.0.1] (rdu57-247-216.nc.rr.com [66.57.247.216] (may be forged))i9AKT94S003509; Sun, 10 Oct 2004 16:29:11 -0400 (EDT) Message-ID: <41699C08.2070008@ncsu.edu> Date: Sun, 10 Oct 2004 16:31:04 -0400 From: Alan Gerber User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <416991D2.8070806@ncsu.edu> <20041010202657.GA69850@xor.obsecurity.org> In-Reply-To: <20041010202657.GA69850@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: questions@freebsd.org Subject: Re: Kernel modules & the 5.2.1-p9 to 5.3b7 migration? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Oct 2004 20:29:14 -0000 Kris Kennaway wrote: >On Sun, Oct 10, 2004 at 03:47:30PM -0400, Alan Gerber wrote: > > >>I recently decided to update my 5.2.1-p9 system to the latest beta to >>check out the improvements in ACPI code on my Dell Latitude D600 >>laptop. So I updated sources and went through the usual >>[build|install][world|kernel] procedure as described in the handbook: >>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >> >>I decided to go with the GENERIC kernel and rebuild it later with my >>specific options - everything built successfully and it looked like >>everything was going great, although I did note that I was updating much >>more in the mergemaster step than I was originally expecting. But I >>muddled through it and it finally came time to reboot into beta-7. >> >>When I did reboot, I got a pretty big surprise - it appears that the >>kernel can't find any of its modules. In the "Bootstrap Loader" portion >>of the startup sequence (I *think* it is boot2 - just before you get the >>beastie screen asking you if you want to start with ACPI disabled, >>verbose mode, safe mode, etc), it appears to load the snd_emu10k1.ko and >>sound.ko modules. I'd expect this since my system is equipped with that >>style sound card. >> >>However, just after the beastie screen goes away to allow the boot to >>continue, I get the message "ACPI autoload failed - no such file or >>directory" as the first line of text, before any of the other >>kernel-outputted text. A couple of other interesting messages follow. >>One tells me that kldload can't load star_saver, reporting a "No such >>file or directory" error. I also get a message saying that /dev/mixer >>doesn't exist (and indeed it doesn't -- nor is there any sign of a sound >>device in the dmesg output). >> >>When I execute kldstat, I get the entries I would expect back - kernel, >>snd_emu10k1.ko, sound.ko, and est.ko (of the enhanced speedstep driver >>fame - I was running it on 5.2.1). If I try to manually load a module, >>such as the star_saver (this is the only thing I've done since loading >>acpi.ko isn't a good idea), it works. >> >> > >Well, where are your modules? > >Kris > They all exist in /boot/kernel -- Alan Gerber