Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 18:41:00 -0800
From:      "Gustavo A. Baratto" <gbaratto@superb.net>
To:        <freebsd-current@freebsd.org>
Subject:   module_path
Message-ID:  <008a01c4d105$e99f4f30$9c01a8c0@chivas>

next in thread | raw e-mail | index | archive | help
hello there,

Since I have seen it in the errata, here it goes:

I have upgraded from 5.1 to 5.3, and the newly installed 
/boot/defaults/loader.conf has this set:
module_path="/boot/modules"

so, whenever I try to load ipfw or ipf, or even use kldload, I get this 
error:
---
/etc/rc.d/ipfw start
kldload: can't load ipfw: No such file or directory
/etc/rc.d/ipfw: WARNING: unable to load firewall module.
---

# sysctl kern.module_path
kern.module_path: /boot/modules

I know that I can override that by adding module_path="/boot/kernel" in 
/boot/loader.conf, but I think the default file should be fixed to add at 
least /boot/kernel, right?

cheers 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008a01c4d105$e99f4f30$9c01a8c0>