Hi Gabe: This is my cmd, but it doesn’t work well.
root@ubuntu:/home/l00515693/fs-image_fx/disks# losetup -P --find --show --offset 32256 expanded-ubuntu-18.04-arm64-docker.img /dev/loop4 root@ubuntu:/home/l00515693/fs-image_fx/disks# root@ubuntu:/home/l00515693/fs-image_fx/disks# mount -o loop,offset=32256 /home/l00515693/fs-image_fx/disks/expanded-ubuntu-18.04-arm64-docker.img /media mount: /media: wrong fs type, bad option, bad superblock on /dev/loop4, missing codepage or helper program, or other error. root@ubuntu:/home/l00515693/fs-image_fx/disks# root@ubuntu:/home/l00515693/fs-image_fx/disks# losetup -a /dev/loop1: [64768]:84935347 (/home/l00515693/fs-image_fx/disks/ubuntu-base-18.04.5-base-arm64.img (deleted)), offset 32256 /dev/loop4: [64768]:84935358 (/home/l00515693/fs-image_fx/disks/expanded-ubuntu-18.04-arm64-docker.img), offset 32256 /dev/loop2: [64768]:84935350 (/home/l00515693/fs-image_fx/disks/ubuntu-base-18.04.5-base-arm64.img), offset 32256 /dev/loop0: [64768]:84935205 (/home/l00515693/fs-image_fx/disks/expanded-aarch64-ubuntu-trusty-headless.img), offset 32256 /dev/loop3: [64768]:84935353 (/home/l00515693/fs-image_fx/disks/expanded-ubuntu-base-18.04.5-base-arm64.img), offset 32256 ________________________________ 李翼超(Charlie) 华为技术有限公司 Huawei Technologies Co., Ltd. [Company_logo] 部门:计算系统与组件开发部 [云与计算BG] 手 机:15858232899 电子邮件:liyic...@huawei.com<mailto:liyic...@huawei.com> 地址:中国(China)-杭州(Hangzhou)-滨江区江淑路360号华为杭州研发中心Z4# [3-A06] ________________________________ 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! 发件人: Gabe Black [mailto:gabe.bl...@gmail.com] 发送时间: 2020年12月2日 6:46 收件人: gem5 users mailing list <gem5-users@gem5.org> 抄送: Giacomo Travaglini <giacomo.travagl...@arm.com>; Liyichao <liyic...@huawei.com>; Choe, Jiwon <jiwon_c...@brown.edu> 主题: Re: [gem5-users] Re: 答复: Re: Looking for Linux disk image for 64-bit ARM with Ubuntu 18.04 or GLIBC 2.27 That's probably a disk image and not a file system image. You need to tell losetup to scan for the partition table with I think the -p option. Gabe On Tue, Dec 1, 2020 at 10:02 AM Choe, Jiwon via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: I'm running into the same issue as well. -Jiwon On Mon, Nov 30, 2020 at 10:32 PM Liyichao via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: Hi: I download the img you mentioned, when I mount it on /media,it's wrong: root@ubuntu:/home/l00515693/fs-image_fx/disks# mount -o loop,offset=32256 /home/l00515693/fs-image_fx/disks/ubuntu-18.04-arm64-docker.img /media/ mount: /media: wrong fs type, bad option, bad superblock on /dev/loop4, missing codepage or helper program, or other error. -----邮件原件----- 发件人: Giacomo Travaglini via gem5-users [mailto:gem5-users@gem5.org<mailto:gem5-users@gem5.org>] 发送时间: 2020年11月30日 16:47 收件人: gem5 users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> 抄送: Giacomo Travaglini <giacomo.travagl...@arm.com<mailto:giacomo.travagl...@arm.com>> 主题: [gem5-users] Re: Looking for Linux disk image for 64-bit ARM with Ubuntu 18.04 or GLIBC 2.27 Hi Jiwon We recently uploaded a prebuilt Ubuntu18.04 on gem5.org<http://gem5.org>: http://dist.gem5.org/dist/current/arm/disks/ubuntu-18.04-arm64-docker.img.bz2 Kind Regards Giacomo > -----Original Message----- > From: Choe, Jiwon via gem5-users > <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> > Sent: 29 November 2020 04:42 > To: gem5 users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> > Cc: Choe, Jiwon <jiwon_c...@brown.edu<mailto:jiwon_c...@brown.edu>> > Subject: [gem5-users] Looking for Linux disk image for 64-bit ARM with > Ubuntu > 18.04 or GLIBC 2.27 > > Hi all, > > I'm looking for a Linux disk image for 64-bit ARM that has GLIBC > version 2.27 (Ubuntu 18.04+ I think). > > I am trying to run Java JDK that has been compiled on Ubuntu 18.04 > (with GLIBC 2.27) on a gem5 ARM FS simulation. I am currently using > the disk image that I got from here: > http://dist.gem5.org/dist/current/arm/disks/aarch64- > ubuntu-trusty-headless.img.bz2 > > But when I try to run java, I get the following error within the simulated > system: > java -version java -version > > Error: dl failure on line 604 > Error: failed /usr/lib/jvm/jdk/lib/server/libjvm.so, because > /lib/aarch64-linux- > gnu/libm.so.6: version `GLIBC_2.27' not found (required by > /usr/lib/jvm/jdk/lib/server/libjvm.so) > > > I think this happens because the disk image that I am using runs > Ubuntu 14.04, which has GLIBC 2.19, but I compiled the java executable > on Ubuntu 18.04 with GLIBC 2.27. > > So, if anyone has a Linux disk image (for 64-bit ARM) that has GLIBC > 2.27, or if anyone knows how to upgrade GLIBC on the existing disk > image, I would greatly appreciate your help. > > Thanks! > Jiwon IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s