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

SOS_LTP_syscalls result is different with native #3503

Closed
lirui34 opened this issue Jul 31, 2019 · 2 comments
Closed

SOS_LTP_syscalls result is different with native #3503

lirui34 opened this issue Jul 31, 2019 · 2 comments
Labels
priority: P2-High type: bug Something isn't working

Comments

@lirui34
Copy link
Contributor

lirui34 commented Jul 31, 2019

Environment:

  • Board: KBL NUC
  • Clear Linux version: 29880
  • ACRN Tag: acrn-2019w23.4-140000p
  • Test Scenario: Zephyr + SOS + Laag.

Reproduce step:

  • Prepare the LTP tool
  1. Boot to SOS
  2. tar -zxf ltp0515installedoptltp.tar.gz -C /
  3. cd /opt/ltp
  4. ./runltp -p -l syscalls -g syscalls.html -f syscalls.

result:
SOS_LTP_syscalls result is different with native

Repetition rate

  • 100%
@lirui34
Copy link
Contributor Author

lirui34 commented Jul 31, 2019

[External_System_ID] ACRN-4112

@lirui34 lirui34 added priority: P2-High type: bug Something isn't working labels Jul 31, 2019
liuygzhuli added a commit to liuygzhuli/acrn-kernel that referenced this issue Aug 15, 2019
The process_vm_readv01,process_vm_readv02,process_vm_readv03,process_vm_writev01
and process_vm_writev02 files execute fail on SOS kernel.Root cause is that
process_vm_readv&process_vm_writev syscall wasn't implemented is SOS kernel.
add "CONFIG_CROSS_MEMORY_ATTACH=y" into kernel_config_uefi_sos and rebuild
SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
liuygzhuli added a commit to liuygzhuli/acrn-kernel that referenced this issue Aug 15, 2019
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
acrnsi pushed a commit to projectacrn/acrn-kernel that referenced this issue Aug 26, 2019
The process_vm_readv01,process_vm_readv02,process_vm_readv03,process_vm_writev01
and process_vm_writev02 files execute fail on SOS kernel.Root cause is that
process_vm_readv&process_vm_writev syscall wasn't implemented is SOS kernel.
add "CONFIG_CROSS_MEMORY_ATTACH=y" into kernel_config_uefi_sos and rebuild
SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
acrnsi pushed a commit to projectacrn/acrn-kernel that referenced this issue Aug 26, 2019
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
yakuizhao pushed a commit to projectacrn/acrn-kernel that referenced this issue Sep 5, 2019
The process_vm_readv01,process_vm_readv02,process_vm_readv03,process_vm_writev01
and process_vm_writev02 files execute fail on SOS kernel.Root cause is that
process_vm_readv&process_vm_writev syscall wasn't implemented is SOS kernel.
add "CONFIG_CROSS_MEMORY_ATTACH=y" into kernel_config_uefi_sos and rebuild
SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
yakuizhao pushed a commit to projectacrn/acrn-kernel that referenced this issue Sep 5, 2019
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
acrnsi pushed a commit to projectacrn/acrn-kernel that referenced this issue Sep 25, 2019
The process_vm_readv01,process_vm_readv02,process_vm_readv03,process_vm_writev01
and process_vm_writev02 files execute fail on SOS kernel.Root cause is that
process_vm_readv&process_vm_writev syscall wasn't implemented is SOS kernel.
add "CONFIG_CROSS_MEMORY_ATTACH=y" into kernel_config_uefi_sos and rebuild
SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
acrnsi pushed a commit to projectacrn/acrn-kernel that referenced this issue Sep 25, 2019
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
@Mingyuan18
Copy link

sendfile09 is caused by no memory, won't fixed this issue.

gaojunhao0504 pushed a commit to projectacrn/acrn-kernel that referenced this issue Mar 11, 2020
The process_vm_readv01,process_vm_readv02,process_vm_readv03,process_vm_writev01
and process_vm_writev02 files execute fail on SOS kernel.Root cause is that
process_vm_readv&process_vm_writev syscall wasn't implemented is SOS kernel.
add "CONFIG_CROSS_MEMORY_ATTACH=y" into kernel_config_uefi_sos and rebuild
SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
gaojunhao0504 pushed a commit to projectacrn/acrn-kernel that referenced this issue Mar 11, 2020
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
gaojunhao0504 pushed a commit to projectacrn/acrn-kernel that referenced this issue Mar 13, 2020
The process_vm_readv01,process_vm_readv02,process_vm_readv03,process_vm_writev01
and process_vm_writev02 files execute fail on SOS kernel.Root cause is that
process_vm_readv&process_vm_writev syscall wasn't implemented is SOS kernel.
add "CONFIG_CROSS_MEMORY_ATTACH=y" into kernel_config_uefi_sos and rebuild
SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
gaojunhao0504 pushed a commit to projectacrn/acrn-kernel that referenced this issue Mar 13, 2020
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
gaojunhao0504 pushed a commit to projectacrn/acrn-kernel that referenced this issue Apr 30, 2020
The process_vm_readv01,process_vm_readv02,process_vm_readv03,process_vm_writev01
and process_vm_writev02 files execute fail on SOS kernel.Root cause is that
process_vm_readv&process_vm_writev syscall wasn't implemented is SOS kernel.
add "CONFIG_CROSS_MEMORY_ATTACH=y" into kernel_config_uefi_sos and rebuild
SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
gaojunhao0504 pushed a commit to projectacrn/acrn-kernel that referenced this issue Apr 30, 2020
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
shuox pushed a commit to projectacrn/acrn-kernel that referenced this issue May 7, 2020
The process_vm_readv01, process_vm_readv02, process_vm_readv03,
process_vm_writev01 and process_vm_writev02 files execute fail on SOS
kernel.Root cause is that process_vm_readv&process_vm_writev syscall
wasn't implemented is SOS kernel.  add "CONFIG_CROSS_MEMORY_ATTACH=y"
into kernel_config_uefi_sos and rebuild SOS kernel,the function is
normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
shuox pushed a commit to projectacrn/acrn-kernel that referenced this issue May 7, 2020
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
sys-oak pushed a commit to intel/linux-intel-lts that referenced this issue May 20, 2020
The process_vm_readv01, process_vm_readv02, process_vm_readv03,
process_vm_writev01 and process_vm_writev02 files execute fail on SOS
kernel.Root cause is that process_vm_readv&process_vm_writev syscall
wasn't implemented is SOS kernel.  add "CONFIG_CROSS_MEMORY_ATTACH=y"
into kernel_config_uefi_sos and rebuild SOS kernel,the function is
normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
sys-oak pushed a commit to intel/linux-intel-lts that referenced this issue May 20, 2020
to run LTP test tool on sos.

The ioctl08 file excute fail on SOS kernel,because SOS is short of
"/dev/btrfs-control" device file.Root cause is that btrfs filesystem
configuration option was disable.Add "CONFIG_BTRFS_FS=y" into
kernel_config_uefi_sos and rebuild SOS kernel,the function is normal.

Tracked-On:projectacrn/acrn-hypervisor#3503
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P2-High type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants