Unable to open USRP-E100

Hi,

I recently got the USRP E100. Read the wiki page at
http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ.
I decided to compile the latest version of UHD.
But after following the steps listed in the wiki page I’am able to find
the
USRP using uhd_find_devices but when I try to run uhd_usrp_probe I get
error
saying there is an IOError.

Here is the screen dump:

root@usrp-e1xx:~# uhd_find_devices
linux; GNU C++ version 4.5.2 20101204 (prerelease); Boost_104100;
UHD_003.001.002-b9280e8


– UHD Device 0

Device Address:
type: usrp-e
node: /dev/usrp_e0
name:
serial:

root@usrp-e1xx:~# uhd_usrp_probe
linux; GNU C++ version 4.5.2 20101204 (prerelease); Boost_104100;
UHD_003.001.002-b9280e8

– Opening USRP-E on /dev/usrp_e0
Error: EnvironmentError: IOError: Failed to open /dev/usrp_e0

Also when I tried running ldconfig after compiling and installing UHD
from
git it gave me the following error:
root@usrp-e1xx:~# ldconfig
ldconfig: /usr/lib/libstdc++.so.6.0.14-gdb.py is not an ELF file - it
has
the wrong magic bytes at the start.

I also updated to the latest firmware.

Any help will be appreciated. Do I have to use opkg and revert to the
uhd
packages?

Thanks,
Praveen

Update:

I tried recompiling after git pull next.
Now, uhd_find_devices lists my E100 with a serial number but when I
try to
probe it gives me the following error:

root@usrp-e1xx:~/Work/code/uhd/host/build# uhd_usrp_probe
linux; GNU C++ version 4.5.2 20101204 (prerelease); Boost_104100;
UHD_003.001.002-f312ceb

– Opening device node /dev/usrp_e0…
Error: RuntimeError: Expected module compatibility number 0x1, but got
0xffffffff:
The module build is not compatible with the host code build.

-Praveen

Thanks Josh and Thomas,

I followed the current instructions on the wiki and updated the kernel
modules (for my current 2.6.35 kernel).
Now I’am able to run uhd_usrp_probe with this image
http://www.ettus.com/downloads/uhd_images/usrp_e100_fpga5.bin.

Thomas,
I didn’t realise the instructions to update the kernel to 2.6.38 was in
the
OpenBTS section, thanks for pointing it out.

-Praveen

On Tue, Jun 28, 2011 at 2:57 PM, Praveen Vikram
[email protected] wrote:

Thanks Josh and Thomas,
I followed the current instructions on the wiki and updated the kernel
modules (for my current 2.6.35 kernel).
Now I’am able to run uhd_usrp_probe with this image
http://www.ettus.com/downloads/uhd_images/usrp_e100_fpga5.bin.
Thomas,
I didn’t realise the instructions to update the kernel to 2.6.38 was in the
OpenBTS section, thanks for pointing it out.

I’ve been updating the general E100 wiki throughout the day. Pardon me
if some links are broken in the meantime. The OpenBTS image
instructions were initially written as a special case, but the
procedure is general enough to apply to other cases.

Thomas