Problem on re0

Arnaud Lacombe lacombar at gmail.com
Fri Dec 9 06:51:16 UTC 2011


Hi,

On Thu, Dec 8, 2011 at 4:52 PM, YongHyeon PYUN <pyunyh at gmail.com> wrote:
> On Thu, Dec 08, 2011 at 11:56:51AM +0200, Sami Halabi wrote:
>> hi,
>> i can see what it does.
>> how do i compile the driver and load it instead of the running driver
>> without restarting? its a production server.
>
> There is no such way.  You have to rebuild/install kernel and
> reboot.
>
How so ? AFAIK, you should be able to build the driver as a module,
tell the bootloader to pre-load the module so that the built-in driver
ends up being ignored. I did that some time ago with em(4). From
memory, the steps should be:

# From the source root
% cd sys/modules/re
% make
% scp if_re.ko <target>:/boot/kernel

then on the target, add in `/boot/loader.conf':

if_re_load="YES"

 - Arnaud


More information about the freebsd-net mailing list