* [Bug 1858046] [NEW] qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
@ 2020-01-01 22:15 Ryan Lahfa
2020-01-02 15:40 ` [Bug 1858046] " Ryan Lahfa
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Ryan Lahfa @ 2020-01-01 22:15 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
First, thank you for this incredible project.
While following this guide to build my own image of NixOS:
https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU on ARM
Aarch64.
I encountered a very strange behavior, qemu is correctly used and build
most of the binaries until it executes this exact line over qemu:
https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-
ext4-fs.nix#L55
At this step, the qemu process goes to 100 % of CPU, hangs in a certain
syscall I don't know which one (according to strace & gdb which has no
symbols so breaking and looking the backtrace was useless).
According to iotop, no I/O was done.
And it spent all its time in this syscall during more than 10 hours,
which looks anomalous to me.
I attach some of my CPU info:
model : 142
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping : 10
microcode : 0x96
cpu MHz : 3107.071
cache size : 8192 KB
I'm using a ThinkPad T480 to perform those builds, I'm uncertain of how
to debug further this issue, I discussed this with some people over
#nixos-aarch64 and they told me they didn't know how to debug it further
too.
I tried all with this package: https://aur.archlinux.org/packages/qemu-
arm-static/ — I'm currently compiling qemu-git to see if it happens on
upstream too. Will comment when it's done.
Thank you in advance!
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1858046
Title:
qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
Status in QEMU:
New
Bug description:
First, thank you for this incredible project.
While following this guide to build my own image of NixOS:
https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU on ARM
Aarch64.
I encountered a very strange behavior, qemu is correctly used and
build most of the binaries until it executes this exact line over
qemu: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-
ext4-fs.nix#L55
At this step, the qemu process goes to 100 % of CPU, hangs in a
certain syscall I don't know which one (according to strace & gdb
which has no symbols so breaking and looking the backtrace was
useless).
According to iotop, no I/O was done.
And it spent all its time in this syscall during more than 10 hours,
which looks anomalous to me.
I attach some of my CPU info:
model : 142
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping : 10
microcode : 0x96
cpu MHz : 3107.071
cache size : 8192 KB
I'm using a ThinkPad T480 to perform those builds, I'm uncertain of
how to debug further this issue, I discussed this with some people
over #nixos-aarch64 and they told me they didn't know how to debug it
further too.
I tried all with this package: https://aur.archlinux.org/packages
/qemu-arm-static/ — I'm currently compiling qemu-git to see if it
happens on upstream too. Will comment when it's done.
Thank you in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1858046/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 1858046] Re: qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
2020-01-01 22:15 [Bug 1858046] [NEW] qemu-aarch64 hangs on cptofs during a build of NixOS SD card image Ryan Lahfa
@ 2020-01-02 15:40 ` Ryan Lahfa
2020-01-07 10:50 ` Philippe Mathieu-Daudé
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Ryan Lahfa @ 2020-01-02 15:40 UTC (permalink / raw)
To: qemu-devel
Update: compiling qemu upstream & using the latest version didn't change
anything.
I don't know if this is an instance of user emulation limitations due to missing syscalls.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1858046
Title:
qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
Status in QEMU:
New
Bug description:
First, thank you for this incredible project.
While following this guide to build my own image of NixOS:
https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU on ARM
Aarch64.
I encountered a very strange behavior, qemu is correctly used and
build most of the binaries until it executes this exact line over
qemu: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-
ext4-fs.nix#L55
At this step, the qemu process goes to 100 % of CPU, hangs in a
certain syscall I don't know which one (according to strace & gdb
which has no symbols so breaking and looking the backtrace was
useless).
According to iotop, no I/O was done.
And it spent all its time in this syscall during more than 10 hours,
which looks anomalous to me.
I attach some of my CPU info:
model : 142
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping : 10
microcode : 0x96
cpu MHz : 3107.071
cache size : 8192 KB
I'm using a ThinkPad T480 to perform those builds, I'm uncertain of
how to debug further this issue, I discussed this with some people
over #nixos-aarch64 and they told me they didn't know how to debug it
further too.
I tried all with this package: https://aur.archlinux.org/packages
/qemu-arm-static/ — I'm currently compiling qemu-git to see if it
happens on upstream too. Will comment when it's done.
Thank you in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1858046/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 1858046] Re: qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
2020-01-01 22:15 [Bug 1858046] [NEW] qemu-aarch64 hangs on cptofs during a build of NixOS SD card image Ryan Lahfa
2020-01-02 15:40 ` [Bug 1858046] " Ryan Lahfa
@ 2020-01-07 10:50 ` Philippe Mathieu-Daudé
2021-05-02 18:19 ` Thomas Huth
2021-07-02 4:17 ` Launchpad Bug Tracker
3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-01-07 10:50 UTC (permalink / raw)
To: qemu-devel
** Tags added: linux-user
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1858046
Title:
qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
Status in QEMU:
New
Bug description:
First, thank you for this incredible project.
While following this guide to build my own image of NixOS:
https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU on ARM
Aarch64.
I encountered a very strange behavior, qemu is correctly used and
build most of the binaries until it executes this exact line over
qemu: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-
ext4-fs.nix#L55
At this step, the qemu process goes to 100 % of CPU, hangs in a
certain syscall I don't know which one (according to strace & gdb
which has no symbols so breaking and looking the backtrace was
useless).
According to iotop, no I/O was done.
And it spent all its time in this syscall during more than 10 hours,
which looks anomalous to me.
I attach some of my CPU info:
model : 142
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping : 10
microcode : 0x96
cpu MHz : 3107.071
cache size : 8192 KB
I'm using a ThinkPad T480 to perform those builds, I'm uncertain of
how to debug further this issue, I discussed this with some people
over #nixos-aarch64 and they told me they didn't know how to debug it
further too.
I tried all with this package: https://aur.archlinux.org/packages
/qemu-arm-static/ — I'm currently compiling qemu-git to see if it
happens on upstream too. Will comment when it's done.
Thank you in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1858046/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 1858046] Re: qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
2020-01-01 22:15 [Bug 1858046] [NEW] qemu-aarch64 hangs on cptofs during a build of NixOS SD card image Ryan Lahfa
2020-01-02 15:40 ` [Bug 1858046] " Ryan Lahfa
2020-01-07 10:50 ` Philippe Mathieu-Daudé
@ 2021-05-02 18:19 ` Thomas Huth
2021-07-02 4:17 ` Launchpad Bug Tracker
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-05-02 18:19 UTC (permalink / raw)
To: qemu-devel
The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.
If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.
Thank you and sorry for the inconvenience.
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1858046
Title:
qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
Status in QEMU:
Incomplete
Bug description:
First, thank you for this incredible project.
While following this guide to build my own image of NixOS:
https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU on ARM
Aarch64.
I encountered a very strange behavior, qemu is correctly used and
build most of the binaries until it executes this exact line over
qemu: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-
ext4-fs.nix#L55
At this step, the qemu process goes to 100 % of CPU, hangs in a
certain syscall I don't know which one (according to strace & gdb
which has no symbols so breaking and looking the backtrace was
useless).
According to iotop, no I/O was done.
And it spent all its time in this syscall during more than 10 hours,
which looks anomalous to me.
I attach some of my CPU info:
model : 142
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping : 10
microcode : 0x96
cpu MHz : 3107.071
cache size : 8192 KB
I'm using a ThinkPad T480 to perform those builds, I'm uncertain of
how to debug further this issue, I discussed this with some people
over #nixos-aarch64 and they told me they didn't know how to debug it
further too.
I tried all with this package: https://aur.archlinux.org/packages
/qemu-arm-static/ — I'm currently compiling qemu-git to see if it
happens on upstream too. Will comment when it's done.
Thank you in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1858046/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 1858046] Re: qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
2020-01-01 22:15 [Bug 1858046] [NEW] qemu-aarch64 hangs on cptofs during a build of NixOS SD card image Ryan Lahfa
` (2 preceding siblings ...)
2021-05-02 18:19 ` Thomas Huth
@ 2021-07-02 4:17 ` Launchpad Bug Tracker
3 siblings, 0 replies; 5+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-02 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1858046
Title:
qemu-aarch64 hangs on cptofs during a build of NixOS SD card image
Status in QEMU:
Expired
Bug description:
First, thank you for this incredible project.
While following this guide to build my own image of NixOS:
https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU on ARM
Aarch64.
I encountered a very strange behavior, qemu is correctly used and
build most of the binaries until it executes this exact line over
qemu: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-
ext4-fs.nix#L55
At this step, the qemu process goes to 100 % of CPU, hangs in a
certain syscall I don't know which one (according to strace & gdb
which has no symbols so breaking and looking the backtrace was
useless).
According to iotop, no I/O was done.
And it spent all its time in this syscall during more than 10 hours,
which looks anomalous to me.
I attach some of my CPU info:
model : 142
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping : 10
microcode : 0x96
cpu MHz : 3107.071
cache size : 8192 KB
I'm using a ThinkPad T480 to perform those builds, I'm uncertain of
how to debug further this issue, I discussed this with some people
over #nixos-aarch64 and they told me they didn't know how to debug it
further too.
I tried all with this package: https://aur.archlinux.org/packages
/qemu-arm-static/ — I'm currently compiling qemu-git to see if it
happens on upstream too. Will comment when it's done.
Thank you in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1858046/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-07-02 4:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 22:15 [Bug 1858046] [NEW] qemu-aarch64 hangs on cptofs during a build of NixOS SD card image Ryan Lahfa
2020-01-02 15:40 ` [Bug 1858046] " Ryan Lahfa
2020-01-07 10:50 ` Philippe Mathieu-Daudé
2021-05-02 18:19 ` Thomas Huth
2021-07-02 4:17 ` Launchpad Bug Tracker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).