[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] Unable to configure the linux kernel module
From:       blp () nicira ! com (Ben Pfaff)
Date:       2012-04-17 23:46:34
Message-ID: 20120417234634.GE4824 () nicira ! com
[Download RAW message or body]

I think you should get some help from some other local person who can
show you what to do.

On Tue, Apr 17, 2012 at 07:44:39PM -0400, ANAND AKELLA wrote:
> Hi Ben,
> I'm trying to install the kernel 3.3 package on Utah Emulab  Ubuntu
> 11.04 node. Is there any specific kernel package we need to install or
> else we have to install the complete kernel 3.3. The reason I'm asking
> is it takes more than 1 hour to compile the kernel package.
> 
> Thanks,
> Anand
> 
> On Wed, Apr 4, 2012 at 5:44 PM, Ben Pfaff <blp at nicira.com> wrote:
> > Well, then you need to install the kernel headers. ?Whatever you think
> > you've got, isn't there.
> >
> > On Wed, Apr 04, 2012 at 05:41:33PM -0400, ANAND AKELLA wrote:
> >> Hi Ben,
> >> The folder is empty.
> >>
> >> ubuntu3:/mnt# ls -la
> >> total 8
> >> drwxr-xr-x ?2 root root 4096 2010-04-23 04:23 .
> >> drwxr-xr-x 28 root root 4096 2012-04-04 10:09 ..
> >> ubuntu3:/mnt#
> >>
> >> Thanks,
> >> Anand
> >>
> >> On Wed, Apr 4, 2012 at 5:32 PM, Ben Pfaff <blp at nicira.com> wrote:
> >>
> >> > On Wed, Apr 04, 2012 at 05:23:31PM -0400, ANAND AKELLA wrote:
> >> > > I using the latest openvswitch-1.4.0 software on ubuntu v11.10 Utah
> >> > emulab
> >> > > node. When I try to configure the Linux kernel module it gives the
> >> > > following error
> >> > >
> >> > > ubuntu3:~/openvswitch-1.4.0# sudo ./configure
> >> > > --with-linux=/lib/modules/`uname -r`/build
> >> > > checking build number... none
> >> > > checking for a BSD-compatible install... /usr/bin/install -c
> >> > > !
> >> > > !
> >> > > checking target hint for cgcc... x86_64
> >> > > checking whether make has GNU make $(if) extension... yes
> >> > > checking for Linux build directory... no
> >> > > configure: error: source dir /lib/modules/2.6.38.7-1.0emulab/build
> >> > doesn't
> >> > > exist
> >> > >
> >> > > ubuntu3:~/openvswitch-1.4.0# ls -l ?/lib/modules/2.6.38.7-1.0emulab/build
> >> > > lrwxrwxrwx 1 root root 24 2011-08-24 12:51
> >> > > /lib/modules/2.6.38.7-1.0emulab/build -> /mnt/linux-source-2.6.38
> >> > >
> >> > > I went through couple of threads in openvswitch archive,as per the
> >> > > discussion I tried to run the following command but I'm facing the same
> >> > > issue.
> >> > >
> >> > > ubuntu3:~/openvswitch-1.4.0# sudo apt-get install linux-headers-`uname
> >> > -r`
> >> > > Reading package lists... Done
> >> > > Building dependency tree
> >> > > Reading state information... Done
> >> > > linux-headers-2.6.38.7-1.0emulab is already the newest version.
> >> > > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> >> > >
> >> > > ubuntu3:~/openvswitch-1.4.0# sudo ./configure
> >> > > --with-linux=/lib/modules/`uname -r`/build
> >> > > checking build number... none
> >> > > checking for a BSD-compatible install... /usr/bin/install -c
> >> > > !
> >> > > !
> >> > > checking target hint for cgcc... x86_64
> >> > > checking whether make has GNU make $(if) extension... yes
> >> > > checking for Linux build directory... no
> >> > > configure: error: source dir /lib/modules/2.6.38.7-1.0emulab/build
> >> > doesn't
> >> > > exist
> >> > >
> >> > > Please let me know if I'm missing something.
> >> >
> >> > The kernel source code, apparently.
> >> >
> >> > What's in /mnt/linux-source-2.6.38?
> >> >

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic