Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xocl problems on Linux 6.6 #7906

Open
goekce opened this issue Jan 25, 2024 · 2 comments
Open

xocl problems on Linux 6.6 #7906

goekce opened this issue Jan 25, 2024 · 2 comments
Assignees

Comments

@goekce
Copy link
Contributor

goekce commented Jan 25, 2024

The patch #7899 got rid of compilation errors on >= 6.6 kernels, however I get following runtime errors on Alveo U280 programmed with the standard deployment platform (xilinx_u280_gen3x16_xdma_base_1) during boot and validation (xbutil validate):

memcpy: detected field-spanning write (size 132) of single field "priv_data->data" at /var/lib/dkms/xrt-xocl/r7457.ead20617c/build/driver/xocl/mgmtpf/../xocl_subdev.c:544 (size 8)
...
RIP: 0010:__xocl_subdev_construct+0x5af/0x860 [xclmgmt]
...
memcpy: detected field-spanning write (size 32) of single field "mb_req->data" at /var/lib/dkms/xrt-xocl/r7457.ead20617c/build/driver/xocl/userpf/xocl_drv.c:869 (size 4)
...
Workqueue: xocl_wq0 xocl_work_cb [xocl]
RIP: 0010:xocl_refresh_subdevs+0x9bf/0xe50 [xocl]
...
xclmgmt 0000:a1:00.0: xclmgmt_probe: Failed to create VSEC devices
...
xocl 0000:a1:00.1: mailbox.u.9437184 ffff8d5e0cfd0010 timeout_msg: found waiting msg time'd out
...

On an 6.5 kernel I don't get these errors.

I don't have the capacity to investigate the differences between 6.5 and 6.6, however I can happily provide more details.

@maxzhen
Copy link
Collaborator

maxzhen commented Jan 25, 2024

Hi @chvamshi-xilinx , is this something your team can take a look when we move to support new version of Linux?

@chvamshi-xilinx
Copy link
Collaborator

Yes @maxzhen .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants