Created on
‎09-30-2024
12:35 AM
Edited on
‎06-12-2025
07:40 AM
By
Jean-Philippe_P
Description | The article describes an issue related to NP7 drivers that causes a Kernel Panic on FortiGate and results in continuous device reboots. |
Scope | FortiGate with NP7 chip and setting 'config system npu' -> 'set default-qos-type policing'. |
Solution |
The kernel crash log can be collected through a console session to the FortiGate while kernel debugging is enabled. Alternatively, the COMLog feature can be enabled on some devices. For instructions on enabling COMLog on a supported device, refer to Technical Tip: How to use the COMLog feature. Kernel debugging or the COMLog feature needs to be enabled before the kernel panic is observed.
The following setting may trigger the Kernel panic:
config system npu
A Kernel Panic, as listed below, may occur with this setting enabled:
(Press 'a' to accept):kernel BUG at drivers/net/np7/./qos/np7_sys_qtm.c:303! For additional information about the 'default-qos-type' configuration on FortiGate, refer to the following documents: Configuring NP7 traffic shaping Configuring default-qos-type {policing | shaping}
The issue is resolved in v7.4.8 and v7.6.1.
Workaround: As a workaround, configure the NP7 traffic shaping to use 'Policing' instead of 'Shaping'. The FortiGate restarts after changing this setting. config system npu set default-qos-type policing end
If the device is rebooting frequently and does not allow for the configuration change, follow these steps:
If further information is needed, open a ticket with TAC. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.