LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-13-2021, 05:21 PM   #1
marietto
Member
 
Registered: Aug 2010
Posts: 96

Rep: Reputation: 17
rsync: [generator] failed to set permissions on "/media/ziomario/isoarm/aosp/system-rw/bin": Operation not supported (95)


Hello.

I'm trying to create an AOSP image that I want to virtualize on the Nvidia Jetson Nano with qemu-kvm. To to this,I have tried to clone the repo from this page :


https://github.com/antmicro/kvm-aosp-jetson-nano


According with the tutorial,these are the commands that I have issued before to get the error :


Code:
root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# make clean
20:05:41 Entire build directory removed.

root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# source build/envsetup.sh

root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# lunch aosp_arm64-eng

[W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.8.0-44-generic-x86_64-Ubuntu-20.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200605.002.A1
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=external/mesa3d
============================================

....................

[ 99% 108863/109867] R8: out/target/common/obj/APPS/Shell_intermediates/dex/classes.dex
Warning: Library class android.os.BugreportManager$DumpstateListener extends program class android.os.IDumpstateListener$Stub
Warning: Library class android.os.BugreportManager$DumpstateListener extends program class android.os.IDumpstateListener$Stub
[ 99% 109639/109867] //frameworks/base/packages/SystemUI:SystemUI-core kotlinc [common]
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/PulseExpansionHandler.kt:121:38: warning: 'get(Class<T!>!): T!' is deprecated. Deprecated in Java
        mFalsingManager = Dependency.get(FalsingManager::class.java)
                                     ^
[ 99% 109808/109867] Target Java: out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar
Note: Generating a Provider for com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl. Prefer to run the dagger processor over that class instead.
Note: [1] Wrote GeneratedAppGlideModule with: []
[ 99% 109824/109867] //art/build/apex:art-check-debug-apex-gen generate art-check-debug-apex-gen.dummy
--bitness=auto, trying to autodetect. This may be incorrect!
  Detected multilib
[ 99% 109863/109867] build check-all-partition-sizes
The sum of sizes of [system vendor] is within BOARD_SUPER_PARTITION_SIZE:
1314865152+34615296 == 1349480448 <=  3229614080 == 3229614080
The sum of sizes of [system vendor] is within BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE:
1314865152+34615296 == 1349480448 <= 3221225472 == 3221225472
The sum of sizes of [emulator_dynamic_partitions] is within BOARD_SUPER_PARTITION_SIZE:
3221225472 == 3221225472 <= 3229614080 == 3229614080
[ 99% 109864/109867] Creating out/target/product/generic_arm64/VerifiedBootParams.textproto
digest is bf855b60e10e311542852c09bdf3bbdf2f343a66c133c6bf15c2e1463abde60d
output is Algorithm:                SHA256_RSA4096
"Algorithm: SHA256_RSA4096"
hash algorithm is sha256
vbmeta size 4352
[ 99% 109865/109867] Target super fs image for debug: out/target/product/generic_arm64/super.img
2021-03-13 22:17:20 - build_super_image.py - INFO    : Building super image from info dict...
2021-03-13 22:17:20 - common.py - INFO    :   Running: "lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:3229614080 --group emulator_dynamic_partitions:3221225472 --partition system:readonly:1314865152:emulator_dynamic_partitions --image system=out/target/product/generic_arm64/system.img --partition vendor:readonly:34615296:emulator_dynamic_partitions --image vendor=out/target/product/generic_arm64/vendor.img --output out/target/product/generic_arm64/super.img"
2021-03-13 22:17:21 - common.py - INFO    : lpmake I 03-13 22:17:20 585863 585863 builder.cpp:937] [liblp]Partition system will resize from 0 bytes to 1314865152 bytes
lpmake I 03-13 22:17:20 585863 585863 builder.cpp:937] [liblp]Partition vendor will resize from 0 bytes to 34615296 bytes
Invalid sparse file format at header magic
Invalid sparse file format at header magic
2021-03-13 22:17:21 - build_super_image.py - INFO    : Done writing image out/target/product/generic_arm64/super.img
[100% 109867/109867] Create system-qemu.img now
1+0 records in
2048+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00183724 s, 571 MB/s
0+1 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000774785 s, 1.4 GB/s
3080+0 records in
3080+0 records out
3229614080 bytes (3.2 GB, 3.0 GiB) copied, 23.0579 s, 140 MB/s
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000521017 s, 2.0 GB/s
Creating new GPT entries.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
Setting name!
partNum is 0
REALLY setting name!
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
Setting name!
partNum is 1
REALLY setting name!
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
out/host/linux-x86/bin/sgdisk --clear out/target/product/generic_arm64/system-qemu.img
[W][2021-03-13T20:13:12+0100][19132] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-03-13T20:13:12+0100][19132] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

#### build completed successfully (02:06:56 (hh:mm:ss)) ####

going forward with the commands,this is what happened :


Code:
root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# sudo mount system-rw.img
system-rw

root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# sudo mount out/target/product/generic_arm64/system.img system-ro -o ro

root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# sudo rsync -avxHAX system-r{o,w}/              
sending incremental file list

rsync: [generator] failed to set permissions on "/media/ziomario/isoarm/aosp/system-rw/bin": Operation not supported (95)
rsync: [generator] failed to set permissions on "/media/ziomario/isoarm/aosp/system-rw/bugreports": Operation not supported (95)

and so on...

sent 109,857 bytes  received 1,223 bytes  222,160.00 bytes/sec
total size is 1,354,488,901  speedup is 12,193.81
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
 
Old 03-14-2021, 09:23 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,372

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
This could be related to this bug report
Perhaps a patched rsync would help.
 
  


Reply

Tags
file access, file systems, permission, repo, rsync



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rsync: failed to set times on "/data/directoryname/.": Operation not permitted (1) anon091 Linux - Newbie 2 04-23-2014 05:14 PM
"SIOCGMITHY" on Eth0 failed:operation not supported rajes4india Fedora 1 09-15-2011 05:55 PM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
I cant set WEP key! "Operation not supported" ??? EcceVery Linux - Wireless Networking 3 11-19-2006 12:06 PM
SET failed on device eth0 ; Operation not supported. rickenbacherus Linux - Wireless Networking 1 04-24-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration