UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant carwer
Participant
14,662 Views
Registered: ‎12-05-2010

Windrvr6 not found in Sci Linux

Hi,

 

Running Sci Linux 5.5 I try to get the cable in Impact running. It complains about windrvr6 not loaded. I followed instructions and ran the install_drivers script. Please see the bottom of its output. It says something about not finding kernel source for winrdvr6.

 

Any ideas?

 

Thanks, Carl

 

 

-bash: --Installing: command not found [teuser@trackeng install_drivers]$ --Checking version. -bash: --Checking: command not found [teuser@trackeng install_drivers]$ --File /lib/modules/2.6.18-194.3.1.el5/kernel/drivers/misc/windrvr6.ko does not exist. -bash: --File: command not found [teuser@trackeng install_drivers]$ --File LINUX.2.6.18-194.3.1.el5.x86_64/windrvr6.ko does not exist. -bash: --File: command not found [teuser@trackeng install_drivers]$ --Setting source version to 900. -bash: --Setting: command not found [teuser@trackeng install_drivers]$ --File LINUX.2.6.18-194.3.1.el5.x86_64/windrvr6.ko is newer than the destination file. -bash: --File: command not found checking for cpu architecture... x86_64 [teuser@trackeng install_drivers]$ checking for cpu architecture... x86_64 -bash: checking: command not found [teuser@trackeng install_drivers]$ checking for WinDriver root directory... /home/teuser/carl/install_drivers/linux_drivers/windriver64 -bash: checking: command not found [teuser@trackeng install_drivers]$ checking for linux kernel source... not found -bash: checking: command not found configure: error: please install the kernel source or specify alternate location [teuser@trackeng install_drivers]$ configure: error: please install the kernel source or specify alternate location -bash: configure:: command not found [teuser@trackeng install_drivers]$ make: *** No rule to make target `clean'. Stop. > make: *** No targets specified and no makefile found. Stop. > make: *** No rule to make target `install'. Stop. > --make windrvr install rc= 2 > --install_windrvr6 rc = 2 > --Module windrvr6 is not running. > --Module xpc4drvr is not running. > --Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only > and must be changed to allow access to other users. > > --Return code = 2 > [teuser@trackeng install_drivers]$ ll /dev/windrvr6 > ls: /dev/windrvr6: No such file or directory

0 Kudos
15 Replies
Participant carwer
Participant
14,661 Views
Registered: ‎12-05-2010

Re: Windrvr6 not found in Sci Linux

Sorry for the output without line breaks, here it is again:

 

-bash: --Installing: command not found
[teuser@trackeng install_drivers]$ --Checking version.
-bash: --Checking: command not found
[teuser@trackeng install_drivers]$ --File /lib/modules/2.6.18-194.3.1.el5/kernel/drivers/misc/windrvr6.ko does not exist.
-bash: --File: command not found
[teuser@trackeng install_drivers]$ --File LINUX.2.6.18-194.3.1.el5.x86_64/windrvr6.ko does not exist.
-bash: --File: command not found
[teuser@trackeng install_drivers]$ --Setting source version to 900.
-bash: --Setting: command not found
[teuser@trackeng install_drivers]$ --File LINUX.2.6.18-194.3.1.el5.x86_64/windrvr6.ko is newer than the destination file.
-bash: --File: command not found
checking for cpu architecture... x86_64
[teuser@trackeng install_drivers]$ checking for cpu architecture... x86_64
-bash: checking: command not found
[teuser@trackeng install_drivers]$ checking for WinDriver root directory... /home/teuser/carl/install_drivers/linux_drivers/windriver64
-bash: checking: command not found
[teuser@trackeng install_drivers]$ checking for linux kernel source... not found
-bash: checking: command not found
configure: error: please install the kernel source or specify alternate location
[teuser@trackeng install_drivers]$ configure: error: please install the kernel source or specify alternate location
-bash: configure:: command not found
[teuser@trackeng install_drivers]$ make: *** No rule to make target `clean'.  Stop.
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> --make windrvr install rc= 2
> --install_windrvr6 rc = 2
> --Module windrvr6 is not running.
> --Module xpc4drvr is not running.
> --Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only
>   and must be changed to allow access to other users.
>
> --Return code = 2
> [teuser@trackeng install_drivers]$ ll /dev/windrvr6
> ls: /dev/windrvr6: No such file or directory

0 Kudos
Adventurer
Adventurer
14,260 Views
Registered: ‎03-16-2010

Re: Windrvr6 not found in Sci Linux

A bit late but perhaps it helps: the errors you see are from the 'setup_pcusb' script which form some reason only detect if udev is available and then blindly installs the drivers somewhere (on unsupported systems this is undesirable at best). On my Ubuntu system that didn't work at all so I emptied the script to make sure it stopped installing stuff everywhere.

 

iMPACT from ISE 12 should be using the libusb drivers. Check in the log if it starts with those. If it does, but still fails, try to run iMPACT as root - that was the only way I got it to work.

0 Kudos
14,228 Views
Registered: ‎04-16-2011

Re: Windrvr6 not found in Sci Linux

Did you ever get this working carwer?

I have pretty much the same problem.

I'm not really sure where to even start with cyberwizard's suggestion.

0 Kudos
Visitor jn84a
Visitor
14,219 Views
Registered: ‎04-10-2011

Re: Windrvr6 not found in Sci Linux

0 Kudos
Adventurer
Adventurer
11,228 Views
Registered: ‎02-04-2014

Re: Windrvr6 not found in Sci Linux

I'm having the same problem, when I tried to install the drivers for the jtag cable (pg 15 ug344:Xilinx USB cable installation guide) in my ubuntu 10.04LTS. Any idea to overcome the problem.

 

Here is the log

 

--Driver versions in this package: windrvr=900, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = test-desktop
--Current working dir = /home/test/Downloads/install_drivers
--Script location = /home/test/Downloads/install_drivers
--Kernel version = 2.6.32-55-generic.
--Arch = i686.
--Installer version = 1053
--Unsetting ARCH environment variable.
--User does not have root privileges.
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only
  and must be changed to allow access to other users.

--Return code = 2

0 Kudos
Observer r2d290
Observer
11,017 Views
Registered: ‎09-18-2013

Re: Windrvr6 not found in Sci Linux

Same with me. Would be nice with a solution.

0 Kudos
Xilinx Employee
Xilinx Employee
11,013 Views
Registered: ‎04-16-2012

Re: Windrvr6 not found in Sci Linux

Hi,

In the error, it states that "User does not have root privileges". so try with sudo permissions.

Thanks
--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Observer r2d290
Observer
11,012 Views
Registered: ‎09-18-2013

Re: Windrvr6 not found in Sci Linux

Thank you, but still the same issue.

 

root@eirik-desktop:/home/eirik/Documents/usbDriver/install_drivers# sudo ./install_drivers 
--Driver versions in this package: windrvr=900, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = eirik-desktop
--Current working dir = /home/eirik/Documents/usbDriver/install_drivers
--Script location = /home/eirik/Documents/usbDriver/install_drivers
--Kernel version = 3.11.0-17-generic.
--Arch = x86_64.
--Installer version = 1053
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex exists.
./setup_pcusb: 94: ./setup_pcusb: Bad substitution
--File /sbin/fxload does not exist.

--The fxload package is not installed. The package has to be installed to be able to use the Xilinx USB Cable.

--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/3.11.0-17-generic/kernel/drivers/misc/windrvr6.ko does not exist.
--File LINUX.3.11.0-17-generic.x86_64/windrvr6.ko does not exist.
--Setting source version to 900.
--File LINUX.3.11.0-17-generic.x86_64/windrvr6.ko is newer than the destination file.
checking for cpu architecture... x86_64
checking for WinDriver root directory... /home/eirik/Documents/usbDriver/install_drivers/linux_drivers/windriver64
checking for linux kernel source... found at /lib/modules/3.11.0-17-generic/build
checking for lib directory... ln -sf $(ROOT_DIR)/lib/$(SHARED_OBJECT)_32.so /usr/lib/$(SHARED_OBJECT).so; ln -sf $(ROOT_DIR)/lib/$(SHARED_OBJECT).so /usr/lib64/$(SHARED_OBJECT).so
checking which directories to include... -I/lib/modules/3.11.0-17-generic/build/include
checking linux kernel version... hello.c:1:30: fatal error: linux/utsrelease.h: No such file or directory
 #include <linux/utsrelease.h>
                              ^
compilation terminated.
not found
configure: error: can't find kernel version
make: *** No rule to make target `clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only
  and must be changed to allow access to other users.

--Return code = 2

 

0 Kudos
Xilinx Employee
Xilinx Employee
11,009 Views
Registered: ‎04-16-2012

Re: Windrvr6 not found in Sci Linux

Hi,

 

From the error message, its clear that the issue is due to fxload package.

See the answer records 29310 and 22648 mentioned in the earlier post.

 

Also go through the following answer record for fxload: http://www.xilinx.com/support/answers/54381.htm

 

Thanks

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Observer r2d290
Observer
6,085 Views
Registered: ‎09-18-2013

Re: Windrvr6 not found in Sci Linux

Thank you!

 

I tried the tutorial in 29310 but found these steps difficult to follow:

1. Open a shell or terminal console.
2. Run the script to set the ISE settings (settings.sh or settings.csh).
3. Set the environment variable that enables the use of libusb. See the "Setting of the XIL_IMPACT_USE_LIBUSB environment variable" section below. This environment variable is not needed for iMPACT 11.1 as it is on by default.
4. Run iMPACT and open the Platform Cable USB. If the iMPACT log shows "Using libusb" and the cable open operation is successful, the required cable driver components are already present in the user's machine and the user effort is complete. 

 

I opened the terminal, but not sure what they mean with point 2. Usually when I start ISE I write: source [path to settings64.sh] and then ise. But what am I supposed to do in step 2?

Also, what am I supposed to do in step 3 and step4?

 

 

 

I then tried the Full sudo -s access way in the 54381.

 

Copied the folder to /opt, and ran the ./install_drivers with sudo -s.

 

Got a new error message this time though:

 

root@eirik-desktop:/opt/install_script/install_drivers# ./install_drivers 
--Install log = ./install_drivers
--Installing cable drivers.
--Driver versions in this package: windrvr=1301, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = eirik-desktop
--Current working dir = /opt/install_script/install_drivers
--Script location = /opt/install_script/install_drivers
--No script argument.
--Kernel version = 3.11.0-17-generic.
--Arch = x86_64.
--Installer version = 1100
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex version = 1030
--File xusbdfwu.hex exists.
--File xusbdfwu.hex version = 1030
--File xusbdfwu.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex version = 1028
--File xusb_xlp.hex exists.
--File xusb_xlp.hex version = 1028
--File xusb_xlp.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex version = 1028
--File xusb_emb.hex exists.
--File xusb_emb.hex version = 1028
--File xusb_emb.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex version = 2004
--File xusb_xpr.hex exists.
--File xusb_xpr.hex version = 2004
--File xusb_xpr.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex version = 1030
--File xusb_xup.hex exists.
--File xusb_xup.hex version = 1030
--File xusb_xup.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex version = 2300
--File xusb_xp2.hex exists.
--File xusb_xp2.hex version = 2300
--File xusb_xp2.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex version = 2006
--File xusb_xse.hex exists.
--File xusb_xse.hex version = 2006
--File xusb_xse.hex is already updated.
--Product ID 0007 is already in the usermap.
--Product ID 0009 is already in the usermap.
--Product ID 000d is already in the usermap.
--Product ID 000f is already in the usermap.
--Product ID 0013 is already in the usermap.
--Product ID 0015 is already in the usermap.
--Product ID 0008 is already in the usermap.
--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/3.11.0-17-generic/kernel/drivers/misc/windrvr6.ko does not exist.
--File LINUX.3.11.0-17-generic.x86_64/windrvr6.ko does not exist.
--Setting source version to 1301.
--File LINUX.3.11.0-17-generic.x86_64/windrvr6.ko is newer than the destination file.
USE_KBUILD = no
hello.c:1:26: fatal error: linux/config.h: No such file or directory
 #include <linux/config.h>
                          ^
compilation terminated.
checking for cpu architecture... x86_64
checking for WinDriver root directory... /opt/install_script/install_drivers/linux_drivers/windriver64
checking for linux kernel source... found at /lib/modules/3.11.0-17-generic/build
not found
configure.wd: error: please install the kernel source or specify alternate location
make -f makefile.wd clean
make[1]: Entering directory `/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr'
make[1]: makefile.wd: No such file or directory
make[1]: *** No rule to make target `makefile.wd'.  Stop.
make[1]: Leaving directory `/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr'
make: *** [clean] Error 2
make -f makefile.wd
make[1]: Entering directory `/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr'
make[1]: makefile.wd: No such file or directory
make[1]: *** No rule to make target `makefile.wd'.  Stop.
make[1]: Leaving directory `/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr'
make: *** [all] Error 2
make -f makefile.wd
make[1]: Entering directory `/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr'
make[1]: makefile.wd: No such file or directory
make[1]: *** No rule to make target `makefile.wd'.  Stop.
make[1]: Leaving directory `/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr'
make: *** [all] Error 2
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only
  and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Digilent Return code = 0
--Xilinx Return code = 1
--Return code = 1

 

Thanks!

0 Kudos
Scholar dwisehart
Scholar
6,081 Views
Registered: ‎06-23-2013

Re: Windrvr6 not found in Sci Linux

Your answer is right here:

please install the kernel source or specify alternate location

I do not know SCI Linux, but on Centos you would need to:

 

sudo yum install kernel-devel -y

 

Does SCI Linux use yum or apt-get?

 

Daniel

 

 

0 Kudos
Observer r2d290
Observer
6,073 Views
Registered: ‎09-18-2013

Re: Windrvr6 not found in Sci Linux

I don't know about SCI Linux. I'm using Ubuntu, and Ubuntu uses apt-get

 

Tried the following with no luck.

 

root@eirik-desktop:/media/eirik/LittleBig/Programmer/Xilinx/ISE/XilinxISE/14.7/ISE_DS/ISE/bin/lin64# sudo apt-get install kernel-devel -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package kernel-devel

 

0 Kudos
Xilinx Employee
Xilinx Employee
6,066 Views
Registered: ‎04-16-2012

Re: Windrvr6 not found in Sci Linux

Hi,

 

Check this thread: http://forums.xilinx.com/t5/Installation-and-Licensing/Driver-installation-fails-for-ISE-13-4-on-Ubuntu-11-10-and/td-p/208561

 

Thanks

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Scholar dwisehart
Scholar
6,065 Views
Registered: ‎06-23-2013

Re: Windrvr6 not found in Sci Linux

I don't think Ubuntu gets kernel sources in a single command: https://help.ubuntu.com/community/Kernel/Compile/

 

0 Kudos
Highlighted
Observer r2d290
Observer
6,057 Views
Registered: ‎09-18-2013

Re: Windrvr6 not found in Sci Linux

Thank you guys, but I think it is a bit too much job.

 

Goin' back to Windows now :P

0 Kudos