-
Notifications
You must be signed in to change notification settings - Fork 139
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
CXL emulation: cxl devices are shown in cxl list but they are not accessible in SYSRAM mode or DAX mode #272
Comments
@hextag look at the |
@stellarhopper Thanks, I'm now able to create a /dev/daxX.Y node and mmap() on it.
|
Hi @stellarhopper, I exited qemu and launched qemu CXL VM again. However, I get error this time as shown below when trying to create namespace after creating region0.
I used same command to create region as above from previous qemu launch which is succesful
This is command I use to launch qemu,
Can you please help me how to fix the 'failed to create namespace: No space left on device' error when trying to create namespace. I'm using exact same commands as last qemu launch. I'm retrying to launch qemu with --rebuild wipe to see if it helps to resolve this error Update: I don't see this error with --rebuild wipe passed to run_qemu.sh |
@hextag Without actually trying it, I'm guessing the ndctl namespace is auto-reassembled when you create the cxl region again. |
'cxl list' lists the following devices. I also verified using lspci -t that these devices are present in PCIe hierarchy. However, these devices cannot be accessed in DAX mode or SysRAM mode.
There are two issues which I'm facing,
daxctl list doesn't list any devices. There are also no dax nodes in /dev/ when I did ls
cxl list, no matching device found #246 (comment) which asks to tweek bios/firmware settings to check if EFI_SP_MEMORY is configured properly in firmware.
I expected these devices to be in SysRam mode if they are not in dax mode because of above issue. But, these devices are not in SysRAM mode based on the output of lsmem.
Following are the logs.
I can't use the following command of daxctl reconfigure to reconfigure the devices since I don't see daxx.y nodes in /dev/ as of now,
Is the issue of not seeing these nodes in SysRam mode also related to Issue 1 of not seeing dax nodes in /dev/ ?
System Configuration
Kernel: Linux fedora 6.8.0-rc6 #2 SMP PREEMPT_DYNAMIC Fri Oct 11 17:04:26 CDT 2024 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: