Trouble Replicating PARSEC and NPB Programs in gem5 (Kernel Panic: Unable to Mount Root FS) #1302
Unanswered
lllzy040620
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I attempted to replicate PARSEC and NPB programs following the README instructions on GitHub using gem5 version 24.0.0.0. However, both programs encountered issues when I monitored the terminal through m5.
The error I encountered is Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,0). Based on my analysis, this seems to stem from disk misconfiguration. I've followed advice from forums suggesting modifications to the booting configuration, specifically changing "root=/dev/hda1" to "root=/dev/hda2" in Line 718 of /home/leizhenyuu/opt/npb/gem5/configs/common/FSConfig.py. Unfortunately, this adjustment did not resolve the issue.
According to my m5 output, gem5 recognizes the filesystem as hda1, which aligns with its listing of hda1 and its file size. Despite this, the kernel panic persists.
Any guidance on resolving this issue or insights into correctly configuring the root filesystem in gem5 would be greatly appreciated. Thank you!
gem5
m5 terminal
Beta Was this translation helpful? Give feedback.
All reactions