[ovs-discuss] OpenvSwitch kernel module

Valentin Bud valentin at hackaserver.com
Mon Sep 10 15:21:57 UTC 2012


Hello World once again,

On Mon, Sep 10, 2012 at 3:58 PM, Valentin Bud <valentin at hackaserver.com>wrote:

> Hello World again,
>
> Inline response follows.
>
> On Mon, Sep 10, 2012 at 3:33 PM, Valentin Bud <valentin at hackaserver.com>wrote:
>
>> Hello World,
>>
>> Since this is my first post on this list I'd like to start it by thanking
>> you for all the hard work you've put in this useful and beautiful
>> technology.
>>
>> I have just installed openvswitch 1.8 from source on a Debian Squeeze
>> 6.0.5. I have followed the well documented
>> procedure available in INSTALL.Linux. Everything worked like a charm.
>>
>> The kernel module is now in $OVS_SRC/datapath/linux/openvswitch.ko. I can
>> load it just fine using insmod. Maybe the question that follows is more
>> related to Debian rather than OpenvSwitch and I apologize if that's the
>> case.
>>
>> How will the OS know to load openvswitch.ko at reboot. Shouldn't the make
>> install step install the module in /lib/modules? I think I can copy the
>> module to
>> /lib/modules/2.6.32-5-amd64/kernel/net/openvswitch/openvswitch.ko and
>> this would work. Is this correct? And also copy the brcompat.ko if I need
>> it.
>>
>> The INSTALL.Linux mentions that I can build a Debian package, I think
>> that would install everything where it belongs. Haven't tried that yet to
>> be perfectly honest. That's the next step.
>>
>
> I have just tried to build the *.deb package but I get the following error:
>
> dpkg-source: error: can't build with source format '3.0 (quilt)': no
> orig.tar file found
> dpkg-buildpackage: error: dpkg-source -b openvswitch gave error exit
> status 255
>
> Exact steps I have made:
>
> # git clone git://openvswitch.org/openvswitch
>
> Installed build-essential, python-* dependencies, gcc, autoconf,
> linux-headers-`uname -r` using apt-get.
>
> # cd openvswitch ; ./boot.sh; ./configure --prefix=/usr
> --localstatedir=/var --with-linux=/lib/modules/`uname -r`/build
> # make ; make install
> # dpkg-buildpackage
>
> Good Will,
> v
>
>
I have found
http://openvswitch.org/pipermail/discuss/2012-February/006476.html so I
have used fakeroot to build the packages, it worked.

Sorry for the noise.

Good Will,
v
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120910/475e7f8e/attachment.html>


More information about the discuss mailing list