FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
fropert_FTNT
Staff
Staff
Article Id 192131

Description
The message "NP Error during initializing adapter -22" is a transient and generic message, when the XG2 card can not be detected by the system.

There are two different ways to observe that a XG2 card is not detected: 
1. On the front panel of a FortiGate unit, the switch LED matrix for the corresponding fmc module is off. 
2. By using a CLI command "diag npu spm list" - the XG2 card will not be listed in the output.

A power cycle of the FortiGate unit will restore the card status.

Possible root causes of the issue are: 

* Card is defective, and can not be detected at all, even after the system reboot.
* Card can boot, but may fail when the FortiGate unit reboots, depending on the SMC version of the FortiGate 3950B hardware. 


Scope
FortiGate 3950B hardware platform, with a XG2 card.

Workaround
Run the HQIP diagnostic test.
Problem Verification

The SMC is the hardware chip, used to know the modules status, and its revision is not dependent on the FortiOS firmware version. 
This issue is fixed starting with SMC v1.0.9. 

This means, that if the XG2 card is not defective on its shipment, and the SMC version is v1.0.9 or greater, then such an issue with XG2 cards should not occur. 
FMC-XG2 hardware can be checked using the 3950B HQIP diagnostic firmware image, available for a download from the Fortinet website. 

After booting the hqip image (FGT_3950B-HQIP.1.5.0.8021.OUT) and the initial login, following commands should be run: 

diag hqip mode fmc 
diag hqip start 


Tests performed are: card detection in FMC slot and displays his mac address, send packets of different size to test xg2 interface rx/tx and detect drop or errors. 

 

Contributors