Date: Fri, 9 Dec 2011 01:51:14 -0500 From: Arnaud Lacombe <lacombar@gmail.com> To: pyunyh@gmail.com Cc: freebsd-net@freebsd.org, Sami Halabi <sodynet1@gmail.com> Subject: Re: Problem on re0 Message-ID: <CACqU3MVyDD=Vj1wK%2BNmrjjauzq85JSqrj2WEjLj878fSqhzT%2BQ@mail.gmail.com> In-Reply-To: <20111208215256.GB13605@michelle.cdnetworks.com> References: <CAEW%2BogauicnjsNdMCBBtoYzOLKVQoxP92Lw9Q_YgYPAe96dS5g@mail.gmail.com> <20111205022730.GE1729@michelle.cdnetworks.com> <CAEW%2BogbPwPY8r=uHhpkkp9-_K_gNsAVzKhVmgWScAMsHt2SJKQ@mail.gmail.com> <20111207005958.GE5825@michelle.cdnetworks.com> <CAEW%2BogZ7wivLcNm8rpcDR-ekP7Z6iEBZ0DtExhg5NVGfho0Ckw@mail.gmail.com> <20111207235810.GB9211@michelle.cdnetworks.com> <CAEW%2BogZKetpmwuCuyQo-g5DVZ4jCFM0L-mRApV9RTQ4S=Yi3hg@mail.gmail.com> <20111208215256.GB13605@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Thu, Dec 8, 2011 at 4:52 PM, YongHyeon PYUN <pyunyh@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. =A0You 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=3D"YES" - Arnaud
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MVyDD=Vj1wK%2BNmrjjauzq85JSqrj2WEjLj878fSqhzT%2BQ>