Hi all,
I built a ubuntu16.04 disk-image through qemu, I followed your webside. It says run 'systemctl enable gem5.service' and disable ttyS0 at last. I didn't find ttyS0-service, I disabled the 'getty@tty1.service'(maybe).
Then I run the full system. No matter I disable 'getty' or not, the terminal always says:
IR XMP protocol handler initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 17
mce: Unable to init MCE device (rc: -5)
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
random: fast init done
EXT4-fs (hda1): recovery complete
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 3:1.
devtmpfs: mounted
Freeing unused kernel memory: 1200K
Write protecting the kernel read-only data: 12288k
Freeing unused kernel memory: 2020K
Freeing unused kernel memory: 92K
rodata_test: all tests were successful
systemd[1]: System time before build time, advancing clock.
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture x86-64.
Welcome to Ubuntu 16.04.7 LTS!
systemd[1]: Set hostname to <dreamerli>.
random: systemd: uninitialized urandom read (16 bytes read)
random: systemd: uninitialized urandom read (16 bytes read)
I have been waiting for more than 1 hour. How to solve that?
By the way, I have to use a old version gem5. I don't know whether it can run a ubuntu16. Or do you still have a Ubuntu14 disk-image and kernel? The ubuntu14 image I built also have something wrong.
Thanks!