[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: buildds: rv-osuosl-01 vs rv-mullvad-03



Hi,

在 2022/8/6 23:56, Mathieu Malaterre 写道:
> On Sat, Aug 6, 2022 at 9:25 AM Bo YU <tsu.yubo@gmail.com> wrote:
>
> What OS run on your real hardware from lab.rvperf.org?
I do the build on this machine, build is success.

There is not the ""Illegal instruction" error in the buildlog
highway_1.0.0-5_riscv64.build.

But I find there some errors on dmesg output:

[3146442.744127] image_test[165136]: unhandled signal 4 code 0x1 at
0x0000003f98785b50 in libhwy_contrib.so.1.0.1[3f98682000+104000]
[3146442.755127] CPU: 3 PID: 165136 Comm: image_test Tainted:
G            E     5.16.0-5-riscv64 #1  Debian 5.16.14-1
[3146442.765523] Hardware name: SiFive HiFive Unmatched A00 (DT)
[3146442.771252] epc : 0000003f98785b50 ra : 0000002aba2fead6 sp :
0000003fd4ab1750
[3146442.778633]  gp : 0000002aba341800 tp : 0000003f982c4ee0 t0 :
000002dc97abe53e
[3146442.786015]  t1 : 0000002aba2fbf7c t2 : 0000000000000000 s0 :
0000003fd4ab1788
[3146442.793397]  s1 : 000000000000026f a0 : 0000000000000000 a1 :
0000000000000001
[3146442.800781]  a2 : 0000000000000001 a3 : 0000000000000001 a4 :
0000000000000000
[3146442.808163]  a5 : 0000000007ef9866 a6 : 0000000000000000 a7 :
0000000000000001
[3146442.815547]  s2 : 0000000000000000 s3 : 0000000000000020 s4 :
0000000000000040
[3146442.822929]  s5 : 0000000000000004 s6 : 0000000000000000 s7 :
0000000000000001
[3146442.830312]  s8 : 0000000000000001 s9 : 0000000000000001 s10:
0000002ae3d8fe50
[3146442.837696]  s11: 0000003fd4ab2d90 t3 : 0000003f98785b0e t4 :
0000002ad9ec8a28
[3146442.845091]  t5 : 0000000000000000 t6 : ffffffffffffffff
[3146442.850555] status: 8000000200006020 badaddr: 0000000004007757
cause: 0000000000000002
[3146442.876234] image_test[165137]: unhandled signal 4 code 0x1 at
0x0000003f80a05b50 in libhwy_contrib.so.1.0.1[3f80902000+104000]
[3146442.887240] CPU: 3 PID: 165137 Comm: image_test Tainted:
G            E     5.16.0-5-riscv64 #1  Debian 5.16.14-1
[3146442.897622] Hardware name: SiFive HiFive Unmatched A00 (DT)
[3146442.903351] epc : 0000003f80a05b50 ra : 0000002ab8fbd90a sp :
0000003fd7cf3ae0
[3146442.910731]  gp : 0000002ab8fff800 tp : 0000003f80544ee0 t0 :
000002dc97ade8de
[3146442.918113]  t1 : 0000002ab8fb9f7c t2 : 0000000000000000 s0 :
0000003fd7cf3b08
[3146442.925496]  s1 : 0000002ab8fbb49e a0 : 0000000000000000 a1 :
0000000000000001
[3146442.932880]  a2 : 0000000000000001 a3 : 0000000000000001 a4 :
0000000000000000
[3146442.940262]  a5 : 0000002ab8fbad86 a6 : 0000000000000000 a7 :
0000000000000001
[3146442.947646]  s2 : 0000000000000001 s3 : 000000000000007f s4 :
0000000000000004
[3146442.955028]  s5 : 0000000000000001 s6 : 0000000000000000 s7 :
0000002ab8fc01de
[3146442.962411]  s8 : 0000000000000001 s9 : 0000000000000001 s10:
0000002ae3d8fe50
[3146442.969795]  s11: 0000003fd7cf3d90 t3 : 0000003f80a05b0e t4 :
0000002abbea3a48
[3146442.977177]  t5 : 0000000000000000 t6 : ffffffffffffffff
[3146442.982656] status: 8000000200006020 badaddr: 0000000004007757
cause: 0000000000000002
[3148502.107364] image_test[165199]: unhandled signal 4 code 0x1 at
0x0000003faf75bb50 in libhwy_contrib.so.1.0.1[3faf658000+104000]
[3148502.118356] CPU: 3 PID: 165199 Comm: image_test Tainted:
G            E     5.16.0-5-riscv64 #1  Debian 5.16.14-1
[3148502.128764] Hardware name: SiFive HiFive Unmatched A00 (DT)
[3148502.134491] epc : 0000003faf75bb50 ra : 0000002ab4e0fad6 sp :
0000003fdf9a4ac0
[3148502.141872]  gp : 0000002ab4e52800 tp : 0000003faf29aee0 t0 :
000002dd126b4bde
[3148502.149255]  t1 : 0000002ab4e0cf7c t2 : 0000000000000000 s0 :
0000003fdf9a4af8
[3148502.156638]  s1 : 000000000000026f a0 : 0000000000000000 a1 :
0000000000000001
[3148502.164020]  a2 : 0000000000000001 a3 : 0000000000000001 a4 :
0000000000000000
[3148502.171403]  a5 : 0000000007ef9866 a6 : 0000000000000000 a7 :
0000000000000001
[3148502.178786]  s2 : 0000000000000000 s3 : 0000000000000020 s4 :
0000000000000040
[3148502.186169]  s5 : 0000000000000004 s6 : 0000000000000000 s7 :
0000000000000001
[3148502.193551]  s8 : 0000000000000001 s9 : 0000000000000001 s10:
0000002afa15eca0
[3148502.200934]  s11: 0000003fdf9a6100 t3 : 0000003faf75bb0e t4 :
0000002abf992a28
[3148502.208317]  t5 : 0000000000000000 t6 : ffffffffffffffff
[3148502.213790] status: 8000000200006020 badaddr: 0000000004007757
cause: 0000000000000002
[3148510.209589] image_test[165200]: unhandled signal 4 code 0x1 at
0x0000003f8e264b50 in libhwy_contrib.so.1.0.1[3f8e161000+104000]
[3148510.220597] CPU: 1 PID: 165200 Comm: image_test Tainted:
G            E     5.16.0-5-riscv64 #1  Debian 5.16.14-1
[3148510.231008] Hardware name: SiFive HiFive Unmatched A00 (DT)
[3148510.236720] epc : 0000003f8e264b50 ra : 0000002abcd1aad6 sp :
0000003fd63e8ba0
[3148510.244100]  gp : 0000002abcd5d800 tp : 0000003f8dda3ee0 t0 :
000002dd12e6f41e
[3148510.251482]  t1 : 0000002abcd17f7c t2 : 0000000000000000 s0 :
0000003fd63e8bd8
[3148510.258865]  s1 : 000000000000026f a0 : 0000000000000000 a1 :
0000000000000001
[3148510.266271]  a2 : 0000000000000001 a3 : 0000000000000001 a4 :
0000000000000000
[3148510.273633]  a5 : 0000000007ef9866 a6 : 0000000000000000 a7 :
0000000000000001
[3148510.281014]  s2 : 0000000000000000 s3 : 0000000000000020 s4 :
0000000000000040
[3148510.288399]  s5 : 0000000000000004 s6 : 0000000000000000 s7 :
0000000000000001
[3148510.295789]  s8 : 0000000000000001 s9 : 0000000000000001 s10:
0000002ab521f858
[3148510.303166]  s11: 0000003fd63ea1e0 t3 : 0000003f8e264b0e t4 :
0000002ac8407c98
[3148510.310548]  t5 : 0000000000000000 t6 : ffffffffffffffff
[3148510.316018] status: 8000000200006020 badaddr: 0000000004007757
cause: 0000000000000002

When I build on my starfive board, build is failed, the dmesg also has
errors:

Aug  7 13:23:50 Debian-StarFive kernel: [  418.551058]
hwy_list_target[1561]: unhandled signal 4 code 0x1 at 0x0000003f97296f14
in libhwy.so.1.0.0[3f97294000+5000]
Aug  7 13:23:50 Debian-StarFive kernel: [  418.562306] CPU: 1 PID: 1561
Comm: hwy_list_target Not tainted 5.18.0-starfive-5.18 #1
Aug  7 13:23:50 Debian-StarFive kernel: [  418.570432] Hardware name:
StarFive VisionFive V1 (DT)
Aug  7 13:23:50 Debian-StarFive kernel: [  418.575676] epc :
0000003f97296f14 ra : 0000003f97295288 sp : 0000003fc5c9f120
Aug  7 13:23:50 Debian-StarFive kernel: [  418.583080]  gp :
0000002ab44d0800 tp : 0000003f96f06430 t0 : fffffffffffff000
Aug  7 13:23:50 Debian-StarFive kernel: [  418.590525]  t1 :
0000003f972950dc t2 : 0000003f9727b460 s0 : 0000003fc5ca0128
Aug  7 13:23:50 Debian-StarFive kernel: [  418.597932]  s1 :
0000003fc5c9f128 a0 : 0000000000000001 a1 : 0000003fc5ca01f8
Aug  7 13:23:50 Debian-StarFive kernel: [  418.605293]  a2 :
0000003fc5ca0208 a3 : 0000003fc5ca0128 a4 : 0000000000001000
Aug  7 13:23:50 Debian-StarFive kernel: [  418.612690]  a5 :
0000003fc5c9f928 a6 : 0000000000000000 a7 : 0000003f9727b8a0
Aug  7 13:23:50 Debian-StarFive kernel: [  418.620092]  s2 :
0000003fc5c9f928 s3 : fffffffffffff000 s4 : 0000003f972bc2c8
Aug  7 13:23:50 Debian-StarFive kernel: [  418.627492]  s5 :
0000003fc5c9f928 s6 : fffffffffffff7f8 s7 : 0000002ad307f9f0
Aug  7 13:23:50 Debian-StarFive kernel: [  418.634846]  s8 :
0000000000000000 s9 : 0000000000000008 s10: 000000000000000f
Aug  7 13:23:50 Debian-StarFive kernel: [  418.642252]  s11:
0000002ad307f990 t3 : 0000003f97296eb6 t4 : 0000003f972b5d24
Aug  7 13:23:50 Debian-StarFive kernel: [  418.649737]  t5 :
0000000000000000 t6 : fffffffffb7cb119
Aug  7 13:23:50 Debian-StarFive kernel: [  418.655159] status:
8000000200006020 badaddr: 00000000c00026f3 cause: 0000000000000002
[...]

I guess rv-mullvad-03 also has these errors in dmesg.

The different between in the lab.rvperf.org, rv-mullvad-03,
rv-osuosl-01, Bo YU's board, my starfive board, is kernel version and
hardware.

I assume all these machine meet the dmesg error "unhandled signal 4 code
0x1 ...",
some build success, and others build failed.

It's a magic thing.

Is the different kernel version has the different action for this error?

some of kernel version output to dmesg and do feedback error to build shell,
and other kernel version don't any feedback, just output to dmesg?

> I am unable to reproduce the issue on the following:
>
> $ uname -a
> Linux unmatched 5.16.0-5-riscv64 #1 SMP Debian 5.16.14-1 (2022-03-15)
> riscv64 GNU/Linux
>
> $ cat /proc/cpuinfo
> processor : 0
> hart : 2
> isa : rv64imafdc
> mmu : sv39
> uarch : sifive,bullet0
>
> processor : 1
> hart : 1
> isa : rv64imafdc
> mmu : sv39
> uarch : sifive,bullet0
>
> processor : 2
> hart : 3
> isa : rv64imafdc
> mmu : sv39
> uarch : sifive,bullet0
>
> processor : 3
> hart : 4
> isa : rv64imafdc
> mmu : sv39
> uarch : sifive,bullet0

-- 
肖盛文 xiao sheng wen
https://www.atzlinux.com 《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: