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> 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> 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] >> 发送时间: 2020年11月30日 16:47 >> 收件人: gem5 users mailing list <gem5-users@gem5.org> >> 抄送: Giacomo Travaglini <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://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> >> > Sent: 29 November 2020 04:42 >> > To: gem5 users mailing list <gem5-users@gem5.org> >> > Cc: Choe, Jiwon <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 To unsubscribe send an >> email to 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 > > _______________________________________________ > 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
_______________________________________________ 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