gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Unable to boot Linux in FS mode

ZH
Zhewen Hu
Fri, Jul 28, 2023 4:36 AM

Hello,

My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu 22
image I got error:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

Attached are the logs, could anyone help to find the problem?

Thanks in advance.

Best regards,
Zhenwen Hu

Hello, My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu 22 image I got error: *Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00* Attached are the logs, could anyone help to find the problem? Thanks in advance. Best regards, Zhenwen Hu
JL
Jason Lowe-Power
Fri, Jul 28, 2023 10:53 PM

Hi Zhenwen,

The actual error is one line higher in the kernel output:
/lib/x86_64-linux-gnu/libc.so.6: CPU ISA level is lower than required

I believe we fixed the incompatibility of gem5-x86 with newer kernels in
gem5-v22.1, but it is definitely fixed in gem5-v23.0. I suggest either
updating gem5 or downgrading your kernel and Ubuntu image to something
older.

See https://gem5-review.googlesource.com/c/public/gem5/+/64831 and
https://gem5-review.googlesource.com/c/public/gem5/+/65492

Cheers,
Jason

On Thu, Jul 27, 2023 at 9:40 PM Zhewen Hu via gem5-users <
gem5-users@gem5.org> wrote:

Hello,

My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu 22
image I got error:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

Attached are the logs, could anyone help to find the problem?

Thanks in advance.

Best regards,
Zhenwen Hu


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Zhenwen, The actual error is one line higher in the kernel output: `/lib/x86_64-linux-gnu/libc.so.6: CPU ISA level is lower than required` I believe we fixed the incompatibility of gem5-x86 with newer kernels in gem5-v22.1, but it is definitely fixed in gem5-v23.0. I suggest either updating gem5 or downgrading your kernel and Ubuntu image to something older. See https://gem5-review.googlesource.com/c/public/gem5/+/64831 and https://gem5-review.googlesource.com/c/public/gem5/+/65492 Cheers, Jason On Thu, Jul 27, 2023 at 9:40 PM Zhewen Hu via gem5-users < gem5-users@gem5.org> wrote: > Hello, > > My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu 22 > image I got error: > *Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00* > > Attached are the logs, could anyone help to find the problem? > > Thanks in advance. > > Best regards, > Zhenwen Hu > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
VA
Vincent Abraham
Sat, Jul 29, 2023 12:18 PM

Hi Zhenwen,
If you're trying to boot an x86 or risc-v image, you can find scripts for
it in gem5-resources:
https://gem5.googlesource.com/public/gem5-resources/+/refs/tags/v22.1.0.0/src/(x86-ubuntu,
riscv-ubuntu). I was also facing similar issues and this helped me.

On Fri, Jul 28, 2023 at 6:57 PM Jason Lowe-Power via gem5-users <
gem5-users@gem5.org> wrote:

Hi Zhenwen,

The actual error is one line higher in the kernel output:
/lib/x86_64-linux-gnu/libc.so.6: CPU ISA level is lower than required

I believe we fixed the incompatibility of gem5-x86 with newer kernels in
gem5-v22.1, but it is definitely fixed in gem5-v23.0. I suggest either
updating gem5 or downgrading your kernel and Ubuntu image to something
older.

See https://gem5-review.googlesource.com/c/public/gem5/+/64831 and
https://gem5-review.googlesource.com/c/public/gem5/+/65492

Cheers,
Jason

On Thu, Jul 27, 2023 at 9:40 PM Zhewen Hu via gem5-users <
gem5-users@gem5.org> wrote:

Hello,

My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu 22
image I got error:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

Attached are the logs, could anyone help to find the problem?

Thanks in advance.

Best regards,
Zhenwen Hu


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Zhenwen, If you're trying to boot an x86 or risc-v image, you can find scripts for it in gem5-resources: https://gem5.googlesource.com/public/gem5-resources/+/refs/tags/v22.1.0.0/src/(x86-ubuntu, riscv-ubuntu). I was also facing similar issues and this helped me. On Fri, Jul 28, 2023 at 6:57 PM Jason Lowe-Power via gem5-users < gem5-users@gem5.org> wrote: > Hi Zhenwen, > > The actual error is one line higher in the kernel output: > `/lib/x86_64-linux-gnu/libc.so.6: CPU ISA level is lower than required` > > I believe we fixed the incompatibility of gem5-x86 with newer kernels in > gem5-v22.1, but it is definitely fixed in gem5-v23.0. I suggest either > updating gem5 or downgrading your kernel and Ubuntu image to something > older. > > See https://gem5-review.googlesource.com/c/public/gem5/+/64831 and > https://gem5-review.googlesource.com/c/public/gem5/+/65492 > > Cheers, > Jason > > On Thu, Jul 27, 2023 at 9:40 PM Zhewen Hu via gem5-users < > gem5-users@gem5.org> wrote: > >> Hello, >> >> My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu 22 >> image I got error: >> *Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00* >> >> Attached are the logs, could anyone help to find the problem? >> >> Thanks in advance. >> >> Best regards, >> Zhenwen Hu >> _______________________________________________ >> gem5-users mailing list -- gem5-users@gem5.org >> To unsubscribe send an email to gem5-users-leave@gem5.org >> > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
HN
Hoa Nguyen
Sat, Jul 29, 2023 5:40 PM

Hi all,

As mentioned above, the problem is likely due to using KVM then switch to
another gem5 core, which doesn't support all ISA extensions that the host
supports.

I wanted to add that, if updating the gem5 version doesn't solve the
problem, you can use AtomicSimpleCPU for fast-forwarding instead of KVM.

Regards,
Hoa Nguyen

On Sat, Jul 29, 2023, 05:21 Vincent Abraham via gem5-users <
gem5-users@gem5.org> wrote:

Hi Zhenwen,
If you're trying to boot an x86 or risc-v image, you can find scripts for
it in gem5-resources:
https://gem5.googlesource.com/public/gem5-resources/+/refs/tags/v22.1.0.0/src/(x86-ubuntu,
riscv-ubuntu). I was also facing similar issues and this helped me.

On Fri, Jul 28, 2023 at 6:57 PM Jason Lowe-Power via gem5-users <
gem5-users@gem5.org> wrote:

Hi Zhenwen,

The actual error is one line higher in the kernel output:
/lib/x86_64-linux-gnu/libc.so.6: CPU ISA level is lower than required

I believe we fixed the incompatibility of gem5-x86 with newer kernels in
gem5-v22.1, but it is definitely fixed in gem5-v23.0. I suggest either
updating gem5 or downgrading your kernel and Ubuntu image to something
older.

See https://gem5-review.googlesource.com/c/public/gem5/+/64831 and
https://gem5-review.googlesource.com/c/public/gem5/+/65492

Cheers,
Jason

On Thu, Jul 27, 2023 at 9:40 PM Zhewen Hu via gem5-users <
gem5-users@gem5.org> wrote:

Hello,

My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu
22 image I got error:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

Attached are the logs, could anyone help to find the problem?

Thanks in advance.

Best regards,
Zhenwen Hu


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi all, As mentioned above, the problem is likely due to using KVM then switch to another gem5 core, which doesn't support all ISA extensions that the host supports. I wanted to add that, if updating the gem5 version doesn't solve the problem, you can use AtomicSimpleCPU for fast-forwarding instead of KVM. Regards, Hoa Nguyen On Sat, Jul 29, 2023, 05:21 Vincent Abraham via gem5-users < gem5-users@gem5.org> wrote: > Hi Zhenwen, > If you're trying to boot an x86 or risc-v image, you can find scripts for > it in gem5-resources: > https://gem5.googlesource.com/public/gem5-resources/+/refs/tags/v22.1.0.0/src/(x86-ubuntu, > riscv-ubuntu). I was also facing similar issues and this helped me. > > > On Fri, Jul 28, 2023 at 6:57 PM Jason Lowe-Power via gem5-users < > gem5-users@gem5.org> wrote: > >> Hi Zhenwen, >> >> The actual error is one line higher in the kernel output: >> `/lib/x86_64-linux-gnu/libc.so.6: CPU ISA level is lower than required` >> >> I believe we fixed the incompatibility of gem5-x86 with newer kernels in >> gem5-v22.1, but it is definitely fixed in gem5-v23.0. I suggest either >> updating gem5 or downgrading your kernel and Ubuntu image to something >> older. >> >> See https://gem5-review.googlesource.com/c/public/gem5/+/64831 and >> https://gem5-review.googlesource.com/c/public/gem5/+/65492 >> >> Cheers, >> Jason >> >> On Thu, Jul 27, 2023 at 9:40 PM Zhewen Hu via gem5-users < >> gem5-users@gem5.org> wrote: >> >>> Hello, >>> >>> My OS is Ubuntu 22 and I am using gem5 v22.0.0.1, when I boot a Ubuntu >>> 22 image I got error: >>> *Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00* >>> >>> Attached are the logs, could anyone help to find the problem? >>> >>> Thanks in advance. >>> >>> Best regards, >>> Zhenwen Hu >>> _______________________________________________ >>> gem5-users mailing list -- gem5-users@gem5.org >>> To unsubscribe send an email to gem5-users-leave@gem5.org >>> >> _______________________________________________ >> gem5-users mailing list -- gem5-users@gem5.org >> To unsubscribe send an email to gem5-users-leave@gem5.org >> > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >