dattobd icon indicating copy to clipboard operation
dattobd copied to clipboard

datto: failed to locate system call table, persistence disabled

Open pskaurav opened this issue 5 years ago • 7 comments

Hi,

On Centos 8 and Rhel 8, driver is failing with error "datto: failed to locate system call table, persistence disabled". I have seen this error for both ext4 and xfs root file system. Due to this bug, reload-incremental is not working after reboot.

Please help us on this issue?

Thanks Pushpraj Kaurav

pskaurav avatar Jan 04 '21 07:01 pskaurav

Hi Pushpraj Kaurav, Do you have correct /lib/modules/${KERNEL_VERSION}/System.map ?? (${KERNEL_VERSION} is $(uname -r)) Dattobd will find system call table on that path. installing it will fix this problem. (or /boot/System.map-${KERNEL_VERSION} if previous one not found)

Further more, check if configure-tests/symbol-tests matches with kernel-config.h, If it matches you will find the correct system call table.

Once you setup well, make clean && make again. Nick

nickchen-cpu avatar Jan 04 '21 08:01 nickchen-cpu

Hi Nick,

Thanks for reply.

Kernel version is 4.18.0-193.19.1.el8_2.x86_64 and Os version is Centos 8. System.map file is present at /lib/modules/4.18.0-193.19.1.el8_2.x86_64 and also /boot/System.map-4.18.0-193.19.1.el8_2.x86_64 is present.

Contents of the symbol-tests are following:

[pskaurav@pcentos8 configure-tests]$ cat symbol-tests sys_mount sys_umount sys_oldumount sys_call_table printk

Could not find out kernel-config.h, where is this file?

Thanks Pushpraj

pskaurav avatar Jan 06 '21 04:01 pskaurav

Hi pskaurav, kernel-config.h records what kernel functions you can use without redefinition and the system call tables address. kernel-config.h is in the src directory, I think that's why datto: failed to locate system call table, persistence disabled, on the other hand, kernel-config.h was produced during "make" by genconfig.sh Try to make again correctly.

Nick

nickchen-cpu avatar Jan 06 '21 07:01 nickchen-cpu

Duplicate of https://github.com/datto/dattobd/issues/144. Mount hooks can't be found because the kernel restructured how the mount/umount syscalls are organized. Kernel mount and userspace mount don't follow the same trace. It would require a whole new mechanism to bring this functionality into 4.18+

dakotarwilliams avatar Jan 07 '21 17:01 dakotarwilliams

Hi,

Thanks Williams.

Any idea when fix will be available?

Thanks Pushpraj

pskaurav avatar Jan 11 '21 06:01 pskaurav

I really don't have a good estimate for you at this time.

dakotarwilliams avatar Jan 14 '21 21:01 dakotarwilliams

Thanks. Pushpraj

pskaurav avatar Jan 18 '21 06:01 pskaurav