fpgasystems / Coyote

Framework providing operating system abstractions and a range of shared networking (RDMA, TCP/IP) and memory services to common modern heterogeneous platforms.
MIT License
207 stars 62 forks source link

Segmentation fault #22

Open qiuhaojie opened 1 year ago

qiuhaojie commented 1 year ago

After I finished compiling the hw section and burning the bit flow through the jtag interface into vcu118, I executed insmod coyote_drv.ko A segment error has occurred, as shown below image And the printed kernel information is as follows: Screenshot from 2022-11-18 10-50-01 The read configuration information is all 1. I do not know the cause

d-kor commented 1 year ago

Did your rescan the PCIe bus?

qiuhaojie commented 1 year ago

Yes, restart the host after burning the bitstream. After restart, check the device before loading the driver and input instructions lspci -vv -d 10EE: image However, insmod coyote_drv.ko will still appear Segmentation fault.

qiuhaojie commented 1 year ago

All the information is as follows: image

d-kor commented 1 year ago

What is the benchmark you are running and what is the config?

qiuhaojie commented 1 year ago

The instructions I entered were:

cmake -DFDEV_NAME=vcu118 -DEXAMPLE=gbm_dtrees ..

make shell compile

Then load the bitstream to vcu118, restart the host, and load the driver to produce this error