* arm64: dose arm64 support the sysfs system call?
@ 2014-11-21 7:27 wangyufen
[not found] ` <546EEFB8.10509@hisilicon.com>
2014-11-21 11:10 ` Arnd Bergmann
0 siblings, 2 replies; 5+ messages in thread
From: wangyufen @ 2014-11-21 7:27 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
I did ltp test on arm64, the sysfs testcases failed:
sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
because the __NR_sysfs didn't define in aarch64
Dose anyone know what number the sysfs system call is in aarch64?
Thanks,
Wang
^ permalink raw reply [flat|nested] 5+ messages in thread
* arm64: dose arm64 support the sysfs system call?
[not found] ` <546EEFB8.10509@hisilicon.com>
@ 2014-11-21 10:23 ` wangyufen
0 siblings, 0 replies; 5+ messages in thread
From: wangyufen @ 2014-11-21 10:23 UTC (permalink / raw)
To: linux-arm-kernel
On 2014/11/21 15:54, Wei Xu wrote:
>
>
> On 2014/11/21 15:27, wangyufen wrote:
>> Hi,
>
> Hi Yufen,
>
>> I did ltp test on arm64, the sysfs testcases failed:
>>
>> sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
>>
>> because the __NR_sysfs didn't define in aarch64
>
> Have you been enabled the *CONFIG_COMPAT* in your .config?
>
*CONFIG_COMPAT* already enabled
CONFIG_COMPAT_BRK=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_COMPAT=y
> The __NR_sysfs is defined at arch/arm64/include/asm/unistd32.h
> and arch/arm64/kernel/sys32.S is including it.
>
in arch/arm64/include/asm/unistd32.h defined :
__SYSCALL(135, sys_sysfs)
So I used 135 to test sysfs, I straced sysfs01,
the syscall called rt_sigprocmask not sysfs:
rt_sigprocmask(SIG_UNBLOCK, [], 0x8, 0) = -1 EINVAL (Invalid argument)
> Hope it will fix your issues.
>
> Best Regards,
> Wei
>
>> Dose anyone know what number the sysfs system call is in aarch64?
>>
>>
>> Thanks,
>> Wang
>>
>> _______________________________________________
>> linuxarm mailing list
>> linuxarm at huawei.com
>> http://rnd-openeuler.huawei.com/mailman/listinfo/linuxarm
>>
>>
>
> _______________________________________________
> linuxarm mailing list
> linuxarm at huawei.com
> http://rnd-openeuler.huawei.com/mailman/listinfo/linuxarm
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* arm64: dose arm64 support the sysfs system call?
2014-11-21 7:27 arm64: dose arm64 support the sysfs system call? wangyufen
[not found] ` <546EEFB8.10509@hisilicon.com>
@ 2014-11-21 11:10 ` Arnd Bergmann
2014-12-05 2:07 ` wangyufen
1 sibling, 1 reply; 5+ messages in thread
From: Arnd Bergmann @ 2014-11-21 11:10 UTC (permalink / raw)
To: linux-arm-kernel
On Friday 21 November 2014 15:27:02 wangyufen wrote:
> Hi,
>
> I did ltp test on arm64, the sysfs testcases failed:
>
> sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
>
> because the __NR_sysfs didn't define in aarch64
>
> Dose anyone know what number the sysfs system call is in aarch64?
It's disabled of course, because we don't support ancient libc
implementations. No modern Linux port has this.
Arnd
^ permalink raw reply [flat|nested] 5+ messages in thread
* arm64: dose arm64 support the sysfs system call?
2014-11-21 11:10 ` Arnd Bergmann
@ 2014-12-05 2:07 ` wangyufen
2014-12-05 2:45 ` Chanho Park
0 siblings, 1 reply; 5+ messages in thread
From: wangyufen @ 2014-12-05 2:07 UTC (permalink / raw)
To: linux-arm-kernel
On 2014/11/21 19:10, Arnd Bergmann wrote:
> On Friday 21 November 2014 15:27:02 wangyufen wrote:
>> Hi,
>>
>> I did ltp test on arm64, the sysfs testcases failed:
>>
>> sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
>>
>> because the __NR_sysfs didn't define in aarch64
>>
>> Dose anyone know what number the sysfs system call is in aarch64?
>
> It's disabled of course, because we don't support ancient libc
> implementations. No modern Linux port has this.
>
> Arnd
>
>
__NR__lchown32?__NR_lstat?__NR__sysctl?__NR_vserver have similar problems.
Dose aarch64 support those system call?
How I distinguish the ancient libc implementations.
^ permalink raw reply [flat|nested] 5+ messages in thread
* arm64: dose arm64 support the sysfs system call?
2014-12-05 2:07 ` wangyufen
@ 2014-12-05 2:45 ` Chanho Park
0 siblings, 0 replies; 5+ messages in thread
From: Chanho Park @ 2014-12-05 2:45 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
2014-12-05 11:07 GMT+09:00 wangyufen <wangyufen@huawei.com>:
>
> On 2014/11/21 19:10, Arnd Bergmann wrote:
> > On Friday 21 November 2014 15:27:02 wangyufen wrote:
> >> Hi,
> >>
> >> I did ltp test on arm64, the sysfs testcases failed:
> >>
> >> sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
> >>
> >> because the __NR_sysfs didn't define in aarch64
> >>
> >> Dose anyone know what number the sysfs system call is in aarch64?
> >
> > It's disabled of course, because we don't support ancient libc
> > implementations. No modern Linux port has this.
> >
> > Arnd
> >
> >
>
> __NR__lchown32?__NR_lstat?__NR__sysctl?__NR_vserver have similar problems.
>
> Dose aarch64 support those system call?
>
> How I distinguish the ancient libc implementations.
You can find the syscalls from include/uapi/asm-generic/unistd.h.
Please note below definitions are not defined on aarch64.
__ARCH_WANT_SYSCALL_NO_AT
__ARCH_WANT_SYSCALL_NO_FLAGS
__ARCH_WANT_SYSCALL_DEPRECATED
Best Regards,
Chanho Park
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-05 2:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-21 7:27 arm64: dose arm64 support the sysfs system call? wangyufen
[not found] ` <546EEFB8.10509@hisilicon.com>
2014-11-21 10:23 ` wangyufen
2014-11-21 11:10 ` Arnd Bergmann
2014-12-05 2:07 ` wangyufen
2014-12-05 2:45 ` Chanho Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).