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

contrib/edac-fake-inject does not exist in tarball #179

Open
vt-alt opened this issue Sep 1, 2024 · 1 comment
Open

contrib/edac-fake-inject does not exist in tarball #179

vt-alt opened this issue Sep 1, 2024 · 1 comment

Comments

@vt-alt
Copy link

vt-alt commented Sep 1, 2024

You suggest to use contrib/edac-fake-inject to test rasdaemon but you do not package it into release tarball. Can you package it? This would be useful for users using tarballs to build rasdaemon (and also for downstream distributions that package from tarballs).

Perhaps, you just need to add it into EXTRA_DIST (and maybe other useful contrib scripts too).

@vt-alt
Copy link
Author

vt-alt commented Sep 1, 2024

ps. Btw, I also try to test it under qemu and it does not work:

root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# modprobe edac_core
[   25.735461] EDAC MC: Ver: 3.0.0
[   25.735926] EDAC DEBUG: edac_mc_sysfs_init: device mc created
root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# modprobe i7core_edac
[   56.616752] EDAC DEBUG: i7core_init:
root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# ls -la  /sys/devices/system/edac/mc /sys/kernel/debug/edac/
/sys/devices/system/edac/mc:
total 0
drwxr-xr-x 3 root root    0 Sep  1 04:22 .
drwxr-xr-x 4 root root    0 Sep  1 04:22 ..
drwxr-xr-x 2 root root    0 Sep  1 04:22 power
lrwxrwxrwx 1 root root    0 Sep  1 04:22 subsystem -> ../../../../bus/edac
-rw-r--r-- 1 root root 4096 Sep  1 04:22 uevent

/sys/kernel/debug/edac/:
total 0
drwxr-xr-x  2 root root 0 Sep  1 04:20 .
drwx------ 36 root root 0 Sep  1 04:20 ..
root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# ~/edac-fake-inject
ls: cannot access '/sys/devices/system/edac/mc/mc?': No such file or directory

pps. Well, perhaps it's not possible to test fake inject in VM.

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

1 participant