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

[Tests] fallocate system call is failing on /tmp filesystem. #734

Open
vamsikrishna935 opened this issue Aug 6, 2020 · 1 comment
Open
Labels
p2 Important but non-urgent priority

Comments

@vamsikrishna935
Copy link
Contributor

Testcase : fallocate01

Logs:

Thread 6 "ENCLAVE" hit Breakpoint 2, runtest (mode=mode@entry=0, fd=4, expected_size=53248) at fallocate01.c:232
232     in fallocate01.c
(gdb) bt
#0  runtest (mode=mode@entry=0, fd=4, expected_size=53248) at fallocate01.c:232
#1  0x00007fe03da5f5d1 in main (ac=<optimized out>, av=<optimized out>) at fallocate01.c:206
#2  0x00007fe00052e56c in libc_start_main_stage2 (main=0x7fe03da5f590 <main>, argc=1, argv=0x7fe040afef80)
    at src/env/__libc_start_main.c:168
#3  0x00007fe00052e4c6 in __libc_start_main (main=0x7fe03da5f590 <main>, argc=1, argv=0x7fe040afef80)
    at src/env/__libc_start_main.c:153
#4  0x00007fe03da5f643 in _start_c (p=<optimized out>) at crt/crt1.c:17
#5  0x00007fe03da5f61b in _start ()
#6  0x00007fe040afefa0 in ?? ()
#7  0x0000000000000001 in ?? ()
#8  0x00007fe000b007a0 in ?? ()
#9  0x0000000000000000 in ?? ()
(gdb) n
fallocate01    1  TCONF  :  fallocate01.c:233: fallocate system call is not implemented
fallocate01    2  TCONF  :  fallocate01.c:233: Remaining cases not appropriate for configuration
@github-actions github-actions bot added the needs-triage Bug does not yet have a priority assigned label Aug 6, 2020
@paulcallen paulcallen added p2 Important but non-urgent priority and removed needs-triage Bug does not yet have a priority assigned labels Aug 6, 2020
@SeanTAllen
Copy link
Contributor

I believe this error is that fallocate doesn't work on the given filesystem, but it should work on tmpfs as of Linux 3.5.

I wonder if LKL is lacking such support for tmpfs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 Important but non-urgent priority
Projects
None yet
Development

No branches or pull requests

3 participants