From owner-freebsd-arm@FreeBSD.ORG Tue May 28 21:09:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A3DD97DF for ; Tue, 28 May 2013 21:09:07 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6A51B99B for ; Tue, 28 May 2013 21:09:07 +0000 (UTC) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1UhR8k-007Hqo-Di; Tue, 28 May 2013 23:09:06 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Ralf Wenk To: Ruben de Groot Subject: Re: NETGRAPH not working on ARM? In-reply-to: <20130528203226.GA74208@eris.bzerk.org> References: <20130528120155.GA69592@eris.bzerk.org> <20130528203226.GA74208@eris.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 May 2013 23:08:53 +0200 Message-Id: Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 21:09:07 -0000 Hi, Ruben de Groot 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@raspberry-pi:~ # kldload geom_mirror root@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@raspberry-pi:~ # Ralf