Article ID: 000087143 Content Type: Error Messages Last Reviewed: 02/05/2015

ERROR: Failed to initialize the S5_CVP library: Failed to initialize the WDC library. Error 0x20000001 - Invalid handle

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

You may see this error if you are trying to configure your device using quartus_cvp on a Linux machine and the driver has failed to load.

A possible cause for the driver failing to load is that the kernel does not have a large enough virtual memory allocation.  You can confirm that there is a problem with virtual memory allocation by checking the kernel ring buffer messages using dmesg. If there is a problem with virtual memory allocation you will see the following message:   
vmap allocation for size 268439552 failed: use vmalloc=
to increase size.

Resolution

If you are using the GRUB bootlaoder (used for Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6), to pass the vmalloc= parameter to the kernel, add it to the global kopt parameter in /boot/grub/menu.lst, which will look like this:
kopt=root=UUID=1029384-7e40-ffd2-9968-7a8b9e78f9g7s ro vmalloc=192M

You will need to increase vmalloc to > 512M.

Related Products

This article applies to 15 products

Stratix® V GX FPGA
Cyclone® V ST SoC FPGA
Cyclone® V SX SoC FPGA
Cyclone® V GT FPGA
Stratix® V GS FPGA
Stratix® V GT FPGA
Cyclone® V GX FPGA
Arria® V GT FPGA
Arria® V GX FPGA
Arria® V GZ FPGA
Arria® V ST SoC FPGA
Arria® V SX SoC FPGA
Intel® Arria® 10 GT FPGA
Intel® Arria® 10 GX FPGA
Intel® Arria® 10 SX SoC FPGA