Nondeterministic errors with bitbake
Hi all and best wishes for the new year.
I recently worked with nanbield on Ubuntu 22.04.3 in a VirtualBox machine.
I added layers meta-intel and meta-realtime and, with a couple of small modifications to core-image-rt-extended.bb and to rt-app.bb, as suggested by some kind reader (see https://lists.yoctoproject.org/g/yocto/topic/103135158 ), and after a couple of restarts, I could obtain the image, prepare a .vdi from the .wic and boot a virtual machine with that disk.
Now I moved to a physical machine with Ubuntu 22.04.3. Here is the build configuration:
BB_VERSION = "2.6.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "x86_64-poky-linux"
MACHINE = "genericx86-64"
DISTRO = "poky"
DISTRO_VERSION = "4.3+snapshot-b92406d2313234dccd77b05fe74c09ba9617a738" TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "master:b92406d2313234dccd77b05fe74c09ba9617a738" meta-oe = "master:10f1890af03dbb804bffd4fa7eda7729e08f12cb" meta-intel = "master:5cfefd9a8ff1f5a3534c1ba9d7d7f6971ed5d56f" meta-realtime = "master:489e1d6b34e46f845a4bfe6461a39c6a4bcb7794"
I am using exactly the same configuration as in the virtual Ubuntu and I have also applied the suggested modifications to core-image-rt-extended.bb and to rt-app.bb. So the situation should be the same.
I cannot understand why I am getting error messages which look random: when, after the error, I rerun bitbake, I get a different error.
As an instance, in the first run of bitbake core-image-extended.bb I get:
| /home/daniele/poky/build/tmp/work/x86_64-linux/cmake-native/3.27.7/cmake-3.27.7/Source/cmComputeComponentGraph.cxx:139:1: internal compiler error: Segmentation fault | 139 | } | | ^ | 0x7fc36ca4251f ??? | ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 | 0x7fc36ca29d8f __libc_start_call_main | ../sysdeps/nptl/libc_start_call_main.h:58 | 0x7fc36ca29e3f __libc_start_main_impl | ../csu/libc-start.c:392 | Please submit a full bug report, | with preprocessed source if appropriate.
...
Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/cmake/cmake-native_3.27.7.bb:do_compile
Second attempt, without any modification. I get a different error:
ERROR: Task (virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_install) failed with exit code '139'
NOTE: Tasks Summary: Attempted 3568 tasks of which 3518 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.
Third attempt, always without modifications. Still different:
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6049 tasks of which 3567 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
And so on. Fourth attempt:
ERROR: Task (/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6700 tasks of which 6052 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs
Summary: There was 1 ERROR message, returning a non-zero exit code.
How is this possible? Problems in the communication with the server, or what?
Thank you in advance and best regards
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
Italy
tel +39 329 3933041
www.general-logic.com ( http://www.general-logic.com/ ) www.linkedin.com/in/daniele- lugli ( http://www.linkedin.com/in/daniele-lugli )
Quoted 65 lines · daniele.lugli via lists.yoctoproject.org
Hi all and best wishes for the new year.
I recently worked with nanbield on Ubuntu 22.04.3 in a VirtualBox machine.
I added layers meta-intel and meta-realtime and, with a couple of small modifications to core-image-rt-extended.bb and to rt-app.bb, as suggested by some kind reader (see https://lists.yoctoproject.org/g/yocto/topic/103135158), and after a couple of restarts, I could obtain the image, prepare a .vdi from the .wic and boot a virtual machine with that disk.Now I moved to a physical machine with Ubuntu 22.04.3. Here is the build configuration:
BB_VERSION = "2.6.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "x86_64-poky-linux"
MACHINE = "genericx86-64"
DISTRO = "poky"
DISTRO_VERSION = "4.3+snapshot-b92406d2313234dccd77b05fe74c09ba9617a738" TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "master:b92406d2313234dccd77b05fe74c09ba9617a738" meta-oe = "master:10f1890af03dbb804bffd4fa7eda7729e08f12cb" meta-intel = "master:5cfefd9a8ff1f5a3534c1ba9d7d7f6971ed5d56f" meta-realtime = "master:489e1d6b34e46f845a4bfe6461a39c6a4bcb7794"I am using exactly the same configuration as in the virtual Ubuntu and I have also applied the suggested modifications to core-image-rt-extended.bb and to rt-app.bb. So the situation should be the same.
I cannot understand why I am getting error messages which look random: when, after the error, I rerun bitbake, I get a different error.
As an instance, in the first run of bitbake core-image-extended.bb I get:
| /home/daniele/poky/build/tmp/work/x86_64-linux/cmake-native/3.27.7/cmake-3.27.7/Source/cmComputeComponentGraph.cxx:139:1: internal compiler error: Segmentation fault | 139 | } | | ^ | 0x7fc36ca4251f ??? | ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 | 0x7fc36ca29d8f __libc_start_call_main | ../sysdeps/nptl/libc_start_call_main.h:58 | 0x7fc36ca29e3f __libc_start_main_impl | ../csu/libc-start.c:392 | Please submit a full bug report, | with preprocessed source if appropriate....
Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/cmake/cmake-native_3.27.7.bb:do_compileSecond attempt, without any modification. I get a different error:
ERROR: Task (virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_install) failed with exit code '139'
NOTE: Tasks Summary: Attempted 3568 tasks of which 3518 didn't need to be rerun and 1 failed.Summary: 1 task failed:
virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.Third attempt, always without modifications. Still different:
| ERROR:
oe_runmakefailed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6049 tasks of which 3567 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.And so on. Fourth attempt:
Quoted 8 lines
ERROR: Task (/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6700 tasks of which 6052 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs
Summary: There was 1 ERROR message, returning a non-zero exit code.How is this possible? Problems in the communication with the server, or what?
I doubt it. Did you look in the system logs?
I'd guess that the memory sub-system on your bare-metal ubu-22.04.3 machine is bad.
Try another machine with exactly the same software if you can.
To test the memory on the original machine, you can try use memtest86+ as noted here:
https://askubuntu.com/questions/343114/how-to-check-for-errors-in-ram-via-ubuntu
If there's no indication that the memory is bad, do the problems also happen with the an older, more widely tested branch like kirkstone ?
../Randy
Quoted 21 lines
Thank you in advance and best regards
Signature · 16 lines
Daniele Lugli General Logic srl Viale Curreno, 41 10133 Torino Italy tel +39 329 3933041 www.general-logic.com <http://www.general-logic.com/> www.linkedin.com/in/daniele-lugli <http://www.linkedin.com/in/daniele-lugli> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62072):https://lists.yoctoproject.org/g/yocto/message/62072 Mute This Topic:https://lists.yoctoproject.org/mt/103491090/3616765 Group Owner:[email protected] Unsubscribe:https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
# Randy MacLeod # Wind River Linux
What is the configuration of this system ? CPU and memory specifically one likely reason is that you have oom hitting the system because it’s overloaded so check the system logs for any indication of this
Quoted 128 lines · On Tue, Jan 2, 2024 at 1:49 PM <[email protected]> wrote:
Hi all and best wishes for the new year.
I recently worked with nanbield on Ubuntu 22.04.3 in a VirtualBox machine. I added layers meta-intel and meta-realtime and, with a couple of small modifications to core-image-rt-extended.bb and to rt-app.bb, as suggested by some kind reader (see
https://lists.yoctoproject.org/g/yocto/topic/103135158), and after a couple of restarts, I could obtain the image, prepare a .vdi from the .wic and boot a virtual machine with that disk.Now I moved to a physical machine with Ubuntu 22.04.3. Here is the build configuration:
BB_VERSION = "2.6.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "x86_64-poky-linux" MACHINE = "genericx86-64" DISTRO = "poky" DISTRO_VERSION ="4.3+snapshot-b92406d2313234dccd77b05fe74c09ba9617a738"
TUNE_FEATURES= "m64 core2"TARGET_FPU= ""
meta
meta-pokymeta-yocto-bsp = "master:b92406d2313234dccd77b05fe74c09ba9617a738" meta-oe = "master:10f1890af03dbb804bffd4fa7eda7729e08f12cb" meta-intel = "master:5cfefd9a8ff1f5a3534c1ba9d7d7f6971ed5d56f" meta-realtime = "master:489e1d6b34e46f845a4bfe6461a39c6a4bcb7794"I am using exactly the same configuration as in the virtual Ubuntu and I have also applied the suggested modifications to core-image-rt-extended.bb and to rt-app.bb. So the situation should be the same.
I cannot understand why I am getting error messages which look random:
when, after the error, I rerun bitbake, I get a different error.As an instance, in the first run of bitbake core-image-extended.bb I get:
|
/home/daniele/poky/build/tmp/work/x86_64-linux/cmake-native/3.27.7/cmake-3.27.7/Source/cmComputeComponentGraph.cxx:139:1:
internal compiler error: Segmentation fault| 139 | } | | ^ | 0x7fc36ca4251f ??? | ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 | 0x7fc36ca29d8f __libc_start_call_main | ../sysdeps/nptl/libc_start_call_main.h:58 | 0x7fc36ca29e3f __libc_start_main_impl | ../csu/libc-start.c:392 | Please submit a full bug report, | with preprocessed source if appropriate....
Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/cmake/cmake-native_3.27.7.bb:do_compileSecond attempt, without any modification. I get a different error:
ERROR: Task (virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_install) failed with exit code '139'
NOTE: Tasks Summary: Attempted 3568 tasks of which 3518 didn't need to be rerun and 1 failed.Summary: 1 task failed:
virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.
Third attempt, always without modifications. Still different:
| ERROR:
oe_runmakefailed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6049 tasks of which 3567 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.And so on. Fourth attempt:
ERROR: Task (/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6700 tasks of which 6052 didn't need to be
rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs
Summary: There was 1 ERROR message, returning a non-zero exit code.How is this possible? Problems in the communication with the server, or what?
Thank you in advance and best regards
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g><https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
10133 Torino
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
Italy
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
tel +39 329 3933041
www.general-logic.com
www.linkedin.com/in/daniele-lugli-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#62072):
https://lists.yoctoproject.org/g/yocto/message/62072
Mute This Topic: https://lists.yoctoproject.org/mt/103491090/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Thank you for your replies,
memtest86+ reports a couple of failing memory addresses, so this is probably the reason why. Must replace the RAM of this old beast and, while I am at it, expand it to 64 Gb.
Apart from that, dmesg says
[ 18.608897] kernel: resource: resource sanity check: requesting [mem
0x000000
00000e0000-0x00000000000fffff], which spans more than PCI Bus 0000:00 [mem 0x000
d0000-0x000e7fff window]
[ 18.608909] kernel: caller os_map_kernel_space.part.0+0x135/0x1b0 [nvidia] mapping multiple BARs [ 18.619097] kernel: ACPI Warning: \_SB.PCI0.PEG0.GFX0._DSM: Argument #4
type mismatch - Found [Buffer], ACPI requires [Package] (20221020/nsarguments-61)
but somebody in an NVIDIA forum says this should be harmless.
In syslog I see several disconnections/reconnections of the WLAN, don't know if this is normal, hope it won't affect the dialog with the server.
Thank you again & best regards
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
tel 329 3933041
www.general-logic.com
www.linkedin.com/in/daniele-lugli
Il giorno mer 3 gen 2024 alle ore 02:42 Khem Raj <[email protected]> ha scritto:
Quoted 136 lines
What is the configuration of this system ? CPU and memory specifically one likely reason is that you have oom hitting the system because it’s overloaded so check the system logs for any indication of this
Quoted 130 lines · On Tue, Jan 2, 2024 at 1:49 PM <[email protected]> wrote:
Hi all and best wishes for the new year.
I recently worked with nanbield on Ubuntu 22.04.3 in a VirtualBox machine.
I added layers meta-intel and meta-realtime and, with a couple of small modifications to core-image-rt-extended.bb and to rt-app.bb, as suggested by some kind reader (see
https://lists.yoctoproject.org/g/yocto/topic/103135158), and after a couple of restarts, I could obtain the image, prepare a .vdi from the .wic and boot a virtual machine with that disk.Now I moved to a physical machine with Ubuntu 22.04.3. Here is the build configuration:
BB_VERSION = "2.6.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "x86_64-poky-linux" MACHINE = "genericx86-64" DISTRO = "poky" DISTRO_VERSION ="4.3+snapshot-b92406d2313234dccd77b05fe74c09ba9617a738"
TUNE_FEATURES= "m64 core2"TARGET_FPU= ""
meta
meta-pokymeta-yocto-bsp = "master:b92406d2313234dccd77b05fe74c09ba9617a738" meta-oe = "master:10f1890af03dbb804bffd4fa7eda7729e08f12cb" meta-intel = "master:5cfefd9a8ff1f5a3534c1ba9d7d7f6971ed5d56f" meta-realtime = "master:489e1d6b34e46f845a4bfe6461a39c6a4bcb7794"I am using exactly the same configuration as in the virtual Ubuntu and I have also applied the suggested modifications to core-image-rt-extended.bb and to rt-app.bb. So the situation should be the same.
I cannot understand why I am getting error messages which look random:
when, after the error, I rerun bitbake, I get a different error.As an instance, in the first run of bitbake core-image-extended.bb I get:
|
/home/daniele/poky/build/tmp/work/x86_64-linux/cmake-native/3.27.7/cmake-3.27.7/Source/cmComputeComponentGraph.cxx:139:1:
internal compiler error: Segmentation fault| 139 | } | | ^ | 0x7fc36ca4251f ??? | ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 | 0x7fc36ca29d8f __libc_start_call_main | ../sysdeps/nptl/libc_start_call_main.h:58 | 0x7fc36ca29e3f __libc_start_main_impl | ../csu/libc-start.c:392 | Please submit a full bug report, | with preprocessed source if appropriate....
Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/cmake/cmake-native_3.27.7.bb:do_compileSecond attempt, without any modification. I get a different error:
ERROR: Task (virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_install) failed with exit code '139'
NOTE: Tasks Summary: Attempted 3568 tasks of which 3518 didn't need to be rerun and 1 failed.Summary: 1 task failed:
virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.
Third attempt, always without modifications. Still different:
| ERROR:
oe_runmakefailed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6049 tasks of which 3567 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.And so on. Fourth attempt:
ERROR: Task (/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6700 tasks of which 6052 didn't need to be
rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs
Summary: There was 1 ERROR message, returning a non-zero exit code.How is this possible? Problems in the communication with the server, or what?
Thank you in advance and best regards
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g><https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
10133 Torino
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
Italy
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
tel +39 329 3933041
www.general-logic.com
www.linkedin.com/in/daniele-lugli-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#62072):
https://lists.yoctoproject.org/g/yocto/message/62072
Mute This Topic: https://lists.yoctoproject.org/mt/103491090/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Sorry, I forgot to say that
$ cat /proc/meminfo MemTotal: 16342772 kB MemFree: 487528 kB MemAvailable: 12466660 kB Buffers: 99088 kB Cached: 10992948 kB SwapCached: 193252 kB Active: 5830636 kB Inactive: 7700572 kB Active(anon): 750184 kB Inactive(anon): 1771264 kB Active(file): 5080452 kB Inactive(file): 5929308 kB Unevictable: 36 kB Mlocked: 36 kB SwapTotal: 2097148 kB SwapFree: 665396 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 336 kB Writeback: 0 kB AnonPages: 2245872 kB Mapped: 892664 kB Shmem: 82276 kB KReclaimable: 1304956 kB Slab: 1595468 kB SReclaimable: 1304956 kB SUnreclaim: 290512 kB KernelStack: 23440 kB PageTables: 45896 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 10268532 kB Committed_AS: 10681620 kB VmallocTotal: 34359738367 kB VmallocUsed: 69392 kB VmallocChunk: 0 kB Percpu: 13440 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB FileHugePages: 0 kB FilePmdMapped: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Hugetlb: 0 kB DirectMap4k: 1545776 kB DirectMap2M: 15208448 kB
and
$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz stepping : 7 microcode : 0x2f cpu MHz : 2801.749 cache size : 6144 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bogomips : 4389.92 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
processor : 1vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x2f
cpu MHz : 2793.518
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 4389.92
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x2f
cpu MHz : 2793.722
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 4389.92
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x2f
cpu MHz : 2849.795
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 4389.92
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 4vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x2f
cpu MHz : 2977.541
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 4389.92
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 5vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x2f
cpu MHz : 2793.309
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 4389.92
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 6vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x2f
cpu MHz : 2793.570
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 5
initial apicid : 5
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 4389.92
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 7vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x2f
cpu MHz : 2977.566
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 4389.92
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
I didn't consider the possibility of RAM failure because, before installing Ubuntu, the PC was (seemingly) working fine with Windows 10.
Thank you again & best regards
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
tel 329 3933041
www.general-logic.com
www.linkedin.com/in/daniele-lugli
Il giorno mer 3 gen 2024 alle ore 13:09 Daniele Lugli < [email protected]> ha scritto:
Quoted 176 lines
Thank you for your replies,
memtest86+ reports a couple of failing memory addresses, so this is probably the reason why. Must replace the RAM of this old beast and, while I am at it, expand it to 64 Gb.
Apart from that, dmesg says
[ 18.608897] kernel: resource: resource sanity check: requesting [mem
0x000000
00000e0000-0x00000000000fffff], which spans more than PCI Bus 0000:00 [mem0x000
d0000-0x000e7fff window][ 18.608909] kernel: caller os_map_kernel_space.part.0+0x135/0x1b0 [nvidia] mapping multiple BARs [ 18.619097] kernel: ACPI Warning: \_SB.PCI0.PEG0.GFX0._DSM: Argument #4type mismatch - Found [Buffer], ACPI requires [Package] (20221020/nsarguments-61)
but somebody in an NVIDIA forum says this should be harmless.
In syslog I see several disconnections/reconnections of the WLAN, don't know if this is normal, hope it won't affect the dialog with the server.
Thank you again & best regards
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
tel 329 3933041
www.general-logic.com
www.linkedin.com/in/daniele-lugliIl giorno mer 3 gen 2024 alle ore 02:42 Khem Raj <[email protected]> ha scritto:
Quoted 137 lines
What is the configuration of this system ? CPU and memory specifically one likely reason is that you have oom hitting the system because it’s overloaded so check the system logs for any indication of this
Quoted 131 lines · On Tue, Jan 2, 2024 at 1:49 PM <[email protected]> wrote:
Hi all and best wishes for the new year.
I recently worked with nanbield on Ubuntu 22.04.3 in a VirtualBox machine.
I added layers meta-intel and meta-realtime and, with a couple of small modifications to core-image-rt-extended.bb and to rt-app.bb, as suggested by some kind reader (see
https://lists.yoctoproject.org/g/yocto/topic/103135158), and after a couple of restarts, I could obtain the image, prepare a .vdi from the .wic and boot a virtual machine with that disk.Now I moved to a physical machine with Ubuntu 22.04.3. Here is the build configuration:
BB_VERSION = "2.6.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "x86_64-poky-linux" MACHINE = "genericx86-64" DISTRO = "poky" DISTRO_VERSION ="4.3+snapshot-b92406d2313234dccd77b05fe74c09ba9617a738"
TUNE_FEATURES= "m64 core2"TARGET_FPU= ""
meta
meta-pokymeta-yocto-bsp = "master:b92406d2313234dccd77b05fe74c09ba9617a738" meta-oe = "master:10f1890af03dbb804bffd4fa7eda7729e08f12cb" meta-intel = "master:5cfefd9a8ff1f5a3534c1ba9d7d7f6971ed5d56f" meta-realtime = "master:489e1d6b34e46f845a4bfe6461a39c6a4bcb7794"I am using exactly the same configuration as in the virtual Ubuntu and I have also applied the suggested modifications to core-image-rt-extended.bb and to rt-app.bb. So the situation should be the same.
I cannot understand why I am getting error messages which look random:
when, after the error, I rerun bitbake, I get a different error.As an instance, in the first run of bitbake core-image-extended.bb I get:
|
/home/daniele/poky/build/tmp/work/x86_64-linux/cmake-native/3.27.7/cmake-3.27.7/Source/cmComputeComponentGraph.cxx:139:1:
internal compiler error: Segmentation fault| 139 | } | | ^ | 0x7fc36ca4251f ??? | ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 | 0x7fc36ca29d8f __libc_start_call_main | ../sysdeps/nptl/libc_start_call_main.h:58 | 0x7fc36ca29e3f __libc_start_main_impl | ../csu/libc-start.c:392 | Please submit a full bug report, | with preprocessed source if appropriate....
Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/cmake/cmake-native_3.27.7.bb:do_compileSecond attempt, without any modification. I get a different error:
ERROR: Task (virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_install) failed with exit code '139'
NOTE: Tasks Summary: Attempted 3568 tasks of which 3518 didn't need to
be rerun and 1 failed.Summary: 1 task failed:
virtual:native:/home/daniele/poky/meta/recipes-devtools/python/python3_3.11.5.
Third attempt, always without modifications. Still different:
| ERROR:
oe_runmakefailed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6049 tasks of which 3567 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.And so on. Fourth attempt:
ERROR: Task (/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6700 tasks of which 6052 didn't need to
be rerun and 1 failed.Summary: 1 task failed:
/home/daniele/poky/meta-realtime/recipes-extended/images/core-image-rt-extended.bb:do_rootfs
Summary: There was 1 ERROR message, returning a non-zero exit code.How is this possible? Problems in the communication with the server, or what?
Thank you in advance and best regards
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g><https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
10133 Torino
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
Italy
<https://www.google.com/maps/search/Viale+Curreno,+41+%0D%0A+10133+Torino+Italy?entry=gmail&source=g>
tel +39 329 3933041
www.general-logic.com
www.linkedin.com/in/daniele-lugli-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#62072):
https://lists.yoctoproject.org/g/yocto/message/62072
Mute This Topic: https://lists.yoctoproject.org/mt/103491090/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-