Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gem5-buildroot build fails on Ubuntu 16.04 with "E: Unable to locate package lld" and gem5 boot fails on 20.04 with "system.pc.south_bridge.io_apic does not have any port named int_requestor" #138

Open
hgedek opened this issue Nov 30, 2020 · 3 comments

Comments

@hgedek
Copy link

hgedek commented Nov 30, 2020

os: ubuntu 16.04

I'm getting this error message after I enter:

./build --download-dependencies gem5-buildroot

...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
E: Unable to locate package lld
E: Unable to locate package python-is-python3
Traceback (most recent call last):
File "./build", line 679, in
Main().cli()
File "/home/ubuntu/linux-kernel-module-cheat/cli_function.py", line 267, in cli
exit_status = self.cli_noexit(*args, **kwargs)
File "/home/ubuntu/linux-kernel-module-cheat/cli_function.py", line 258, in cli_noexit
return self._do_main(vars(args))
File "/home/ubuntu/linux-kernel-module-cheat/cli_function.py", line 152, in _do_main
return self.main(**self._get_args(kwargs))
File "/home/ubuntu/linux-kernel-module-cheat/common.py", line 1533, in main
ret = self.timed_main()
File "./build", line 567, in timed_main
self.sh.add_newlines(sorted(apt_get_pkgs))
File "/home/ubuntu/linux-kernel-module-cheat/shell_helpers.py", line 457, in run_cmd
raise e
Exception: Command exited with status: 100

@hgedek
Copy link
Author

hgedek commented Nov 30, 2020

When I tried to build on WSL2 - Ubuntu 20.04

It's exiting with this log:

Global frequency set at 1000000000000 ticks per second
warn: No dot file generated. Please install pydot to generate the dot file and pdf.
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes)
info: kernel located at: /home/hgedek/linux-kernel-module-cheat/out/linux/default/x86_64/vmlinux
system.pc.com_1.device: Listening for connections on port 3456
fatal: system.pc.south_bridge.io_apic does not have any port named int_requestor
Memory Usage: 899944 KBytes
time 00:00:02

@cirosantilli
Copy link
Owner

Hakan,

About 16.04, I haven't tested with it for a long time, so it could have broken. I think it would likely be easy to fix though. If you manage, do share the solution, and feel free to send a patch that generalizes the build to muiltiple hosts.

I haven't tested x86 gem5 boot in a while. Can you check on gem5 develop as well? If it fails, let's open a ticket upstream.

@cirosantilli cirosantilli changed the title gem5 build error on ubuntu 16.04 gem5 build error on ubuntu 16.04 "E: Unable to locate package lld" and gem5 boot fails on 20.04 with "system.pc.south_bridge.io_apic does not have any port named int_requestor" Nov 30, 2020
@cirosantilli cirosantilli changed the title gem5 build error on ubuntu 16.04 "E: Unable to locate package lld" and gem5 boot fails on 20.04 with "system.pc.south_bridge.io_apic does not have any port named int_requestor" gem5-buildroot build fails on Ubuntu 16.04 with "E: Unable to locate package lld" and gem5 boot fails on 20.04 with "system.pc.south_bridge.io_apic does not have any port named int_requestor" Nov 30, 2020
@cirosantilli
Copy link
Owner

x86 gem5 boot worked for me on gem5 develop 937241101fae2cd0755c43c33bab2537b47596a2 LKMC 5057032 let me now if you don't manage to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants