Did you ever figure this out? have you tried running depmod? 

Adam


On Thu, Feb 27, 2014 at 6:16 AM, bianchirick [via Gumstix] <[hidden email]> wrote:
Even if I modprobe with the underscore in the name it still throws the same error.


On Wed, Feb 26, 2014 at 10:09 PM, Grahame Jordan <[hidden email]> wrote:
I think that this is the case. Modules do not like hyphens in the name.



On 27/02/14 01:27, Rick Bianchi wrote:
No dice, it still is looking for the module with the underscore instead of the hyphen.


On Wed, Feb 26, 2014 at 6:21 AM, senob senob <[hidden email]> wrote:

Hello,
maybe try without the .ko extension ...

Le 26 févr. 2014 00:05, "Rick Bianchi" <[hidden email]> a écrit :
Okay. I got it to make the usbip-core.ko and usbip-host.ko. Now when I do a "modprobe usbip-host.ko" I get the error of "FATAL: Module usbip_host.ko not found.", if you notice the error has and underscore between usbip and host or core.

Anyone know a work around for this?


On Tue, Feb 25, 2014 at 1:24 PM, Rick Bianchi <[hidden email]> wrote:
I am using the script below to compile the kernel modules for usbip for the gumstix linux 3.5 kernel.

1. I do a "make menuconfig" in the /usr/src/linux-omap-3.5 and put "M" next to "staging" and the "usbip" options and save it.

2. Then I make sure /lib/modules/3.5.0-2-linaro-omap/build points to /usr/src/linux-headers-3.5.0-2-linaro-omap and that /usr/src/linux-headers-3.5.0-2-linaro-omap/source -> /usr/build/linux-omap-3.5

3. Then run the script below, but I am not getting  the either of the usbip-core.ko or usbip-host.ko files.

I have successfully built usbip against the 3.11 kernel on Ubuntu 12.04.4 without any issues. Is there something I am missing?



#!/bin/bash

# Requires a linux kernel higher than 3.2.0-22.25

# Determine the current kernel version and relevant directories
kernelver=`uname -r | cut -d '-' -f 1`
builddir=~/build/
kernelloc=drivers/staging/usbip/userspace/

# Setting up the build directory
if [ -d ${builddir} ]
then
        echo "E: Directory ${buiddir} would be used for building but already exists."
        echo "   Please remove this directory in order to build cleanly."
        exit 1
fi

mkdir -p ${builddir}

# Getting the source code into the build directory
#sudo apt-get install linux-source-${kernelver}
#tar -x -f /usr/src/linux-source-${kernelver}.tar.bz2 -C ${builddir}
#cd ${builddir}/linux-source-${kernelver}

# Install required packages for building
sudo apt-get install sysfsutils libwrap0-dev gcc libglib2.0-dev libtool automake autoconf pkg-config libsysfs-dev libltdl-dev

# Do the actual build
cd ${kernelloc}
./autogen.sh
./configure --with-usbids-dir=/usr/share/misc/
sudo make install

# Create a soft-link so the client space tools find the libraries
sudo ln -s /usr/local/lib/libusbip.so.0 /usr/lib/libusbip.so.0

# Make the modules. You will need to change the path to the correct source files /usr/src/linux-omap-xxxx.
cd /usr/src/linux-omap-3.5
sudo make modules


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users




------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk


_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


--
Glass Expansion
15 Batman Street
West Melbourne
Victoria 3003
AUSTRALIA
T: <a href="tel:%2B61%203%209320%201111" value="<a href="tel:%2B61393201111" value="+61393201111" target="_blank">+61393201111" target="_blank"><a href="tel:%2B61%203%209320%201111" value="+61393201111" target="_blank">+61 3 9320 1111
F: <a href="tel:%2B61%203%209320%201112" value="<a href="tel:%2B61393201112" value="+61393201112" target="_blank">+61393201112" target="_blank"><a href="tel:%2B61%203%209320%201112" value="+61393201112" target="_blank">+61 3 9320 1112
www.geicp.com



------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



Not Found

The requested URL /site/dbimages/TruFlo.jpg was not found on this server.


Apache/2.2.22 (Debian) Server at geicp.com Port 80

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.x6.nabble.com/usbip-modules-tp4968816p4968841.html
To start a new topic under Gumstix, email [hidden email]
To unsubscribe from Gumstix, click here.
NAML



View this message in context: Re: usbip modules
Sent from the Gumstix mailing list archive at Nabble.com.