- How To Use
- Customer Support
- Clone this repo to local machine.
# git clone https://github.com/chelsiocudbg/SW_Patches.git /home/SW_Patches
- Patch the kernel source. Apply all the patches in the order of patch numbering.
# cd <path to kernel source>
# for i in /home/SW_Patches/patches/upstream/*.patch; do patch -p1 < $i; done
# for i in /home/SW_Patches/patches/cudbg/*.patch; do patch -p1 < $i; done
-
Ensure that all the Chelsio driver modules are selected in the kernel configuration file.
-
Build and install the kernel.
-
Install the Firmware and the configuration files.
# cp /home/SW_Patches/firmware/* /lib/firmware/cxgb4/
- Install CUDBG and chdebug.
# cp /home/SW_Patches/tools/* /sbin/
- Reboot your machine into the newly installed kernel.
The firmware (v1.16.33.0) is installed on the system, typically in
/lib/firmware/cxgb4
, and the driver will auto-load the firmware if an update
is required. The kernel must be configured to enable userspace firmware loading
support:
Device Drivers -> Generic Driver Options -> Userspace firmware loading support
The firmware version can be verified using ethtool:
# ethtool -i <iface>
Chelsio Unified Debug (CUDBG) Library is a platform independent library developed to provide hassle free debug log collection. To collect all the logs,
# cudbg_app --collect all ethX <outfilename>
where ethX is the Chelsio Interface.
NOTE: To know more options of cudbg, refer cudbg help by typing
# cudbg_app -h
Please contact Chelsio support at support@chelsio.com for any issues regarding the product.