NETGRAPH not working on ARM?
Ralf Wenk
iz-rpi03 at hs-karlsruhe.de
Tue May 28 21:09:07 UTC 2013
Hi,
Ruben de Groot <fbsd-arm at bzerk.org> wrote:
> There is no GENERIC kernel ;). Unfortunately, on arm, my understanding is that loadable modules are not (yet?) supported. They are surely not being build. Therefore I am not stripping down, I'm trying to find the necessary modules to include in my monolithic freebsd-arm kernel to get this to work. At least yours and others remarks gives me hope my problem can be resolved without patches :)
> So I will now build another kernel with NETGRAPH_SOCKET. I will also check on an i386 system where modules are available to see which need to be loaded.
The default kernel configuration for RPi disable the building of modules.
That is caused by the statement
makeoptions MODULES_OVERRIDE=""
in sys/arm/conf/RPI-B. If you change it e.g. to
makeoptions MODULES_OVERRIDE="geom/geom_mirror"
the named module will be build and installed into /boot/kernel/.
root at raspberry-pi:~ # kldload geom_mirror
root at raspberry-pi:~ # kldstat -v
Id Refs Address Size Name
1 3 0xc0100000 4d6394 kernel (/boot/kernel/kernel)
...
2 1 0xc2db0000 19000 geom_mirror.ko (/boot/kernel/geom_mirror.ko)
Contains modules:
Id Name
89 g_mirror
root at raspberry-pi:~ #
Ralf
More information about the freebsd-arm
mailing list