Re: 4.19 oopses on socfpga


Takuo Koguchi
 

Iwamatsu-san,

-----Original Message-----
From: cip-dev@... <cip-dev@...> On Behalf
Of Nobuhiro Iwamatsu
Sent: Sunday, May 1, 2022 7:37 AM
To: cip-dev@...
Cc: Chris Paterson <Chris.Paterson2@...>;
alice.ferrazzi@...; Nobuhiro Iwamatsu
<nobuhiro1.iwamatsu@...>
Subject: [!]Re: [cip-dev] 4.19 oopses on socfpga

Hi,

2022年4月29日(金) 15:07 Nobuhiro Iwamatsu <iwamatsu@...>:

Hi,

2022年4月29日(金) 8:57 Masami Ichikawa <masami256@...>:

Hello.

On Fri, Apr 29, 2022 at 2:35 AM Pavel Machek <pavel@...> wrote:

Hi!


There's oops during boot on socfpga:

4.19.240-cip72-00010-g0ffbb4b1066 --
https://secure-web.cisco.com/1jOfbkhAUdCz4mo_YgK84zAC5ffFZ9KzMin
8BNNUdhQIx6Hrly24tfgtFgWgKCijx3qeXp71JLjo7Rmpu_IwilMXdaLGXPImDXY
voBqMHK4Y9plWRw2jBxopiWvlvg7iX9mpdqvVU0jS16P2V9_aGIyr3dAMDKsbFg
_
wvYdlQdRnNIcRWOG0K49tdixTN9BxlsMdpHMJtxTs2SR1t6IFW_vVAj99XXTqZab
BsqHykkcdft2cAnMIBIqlvKMd1aWily5NH8HKrd93MWrgpF0_Ky8ZhmWn1mMw
mGJ
SR_z4rQTYUEVDmJ4l4xslRv-YKwqVT/https%3A%2F%2Flava.ciplatform.org
%2Fscheduler%2Fjob%2F669893
4.19.240-rc1-g5e5c9d690926 --
https://secure-web.cisco.com/16pAhVK6fBCFbfXvcMmuJrzhLUlKDpKQ4ca
dquSiRHleedrp6gMEuV7GU68R9y_jKFbMKTMTzp__T2GziUzr9vCYDvFQU1fwfx
q
8JyMtzLF3VcBWtZRG_lADpGlM44gTWbpGLCoRhCUgGb_n9WbXH_GUV7VfUV
D0kL4
0gRECOYpMq_vsL1lct3WZUHyKCt3I7tYBGlyh7t8UTUKQkKNehHlj5F47ud8ElVi
MQjBxKlaF9na3flHA6Qb5XsgKYYgQnsrPCWf6ixjkod6E2cSBD00wPDnVp0PWV
6s
s3_n4hiUleclye_88ynPk5VYPa8PGJ/https%3A%2F%2Flava.ciplatform.org
%2Fscheduler%2Fjob%2F669259

This commit may be relevant:

commit e2423aa174e6c3e9805e96db778245ba73cdd88c
net: ethernet: stmmac: fix altr_tse_pcs function when using a
fixed-link
[ Upstream commit
a6aaa00324240967272b451bfa772547bd576ee6 ]

Let me investigate a bit more.
I tried to do some testing, but it fails on two targets:

https://secure-web.cisco.com/1i3aTbv6J7f-CwAS1j7J6eSciyhrD1xxeOgs6
HWkBPlbreVMAXnm7m3NB4XP02FJ44P6gb3eC8y-4atP0IPwiVnyKmvZuPM7dM
yv3Eo
IfyrlI6lzG5f3agR_zkIX7MFdsLrOpC7fjUzsiA3nU4qIBKE43MEkUWBe3B-S6Vuya
jh9XDxFGwZjrbYCcLg5KenRKzEY9D3fnBSv6zEskWiTArr6HqHzcThqiuQvjesAm
lO
QNf5-O9GO1orFh9aHALU-gg-UxDZQuRvlaWK9W8rUknQ-IuOocywYul70bww6
bF9bO
1sOzxvhVK0W-Nfch7cuF/https%3A%2F%2Fgitlab.com%2Fcip-project%2Fcip-
kernel%2Flinux-cip%2F-%2Fpipelines%2F522211501

And failed test says:

https://secure-web.cisco.com/1osB1u3XwFWfEVdNTDFt8PFk3VQn3lsJny4Dt
ytDWi_4uGjB0ILyQqN5BQjlB7Igd11fBZ2NiU3nzq6umHnyp2vo0WC3BafS4faC4_
4
ESKeyjPyg8H_OctweeK2EAqJdYY3MaFxML9YfE9uwskFKJuYaECNLOPTWdBB
QWWPIN
9LoTg3y_3Vf1SXiABLgy6vKph4tpMehAOOS8k_0fbSVXhdqpgI95WLSjKKQ_4iTu
Eg
lH6axQ2dRBEjSi1631jcilAugrSadnSFqmZdjo6xPCyXqplqwmHgZ5rjEguk7NJRXb
JtUwiyNCM9u_MVtuG4fo/https%3A%2F%2Flava.ciplatform.org%2Fscheduler
%2Fjob%2F670508

ob error: Invalid job data: ["Resource unavailable at
'https://secure-web.cisco.com/1rmmxEhS_emdbxkeY7BMSkhhKd2LpA6ygwed
S3KiFTTEKaDdBsB5GrNFn9NQK8qkji2BmfaT9KVD57mLTfZWvHST3ZKst89z
MgcvEL_gUyDRRQUYq_CySuyBILBZv1B1ZxxRHVPdxYUoB0mzOZvhhApJmalcu
mYEJIgFUkJOid3xp-3_R6RVh2dXA0eckky10qnkYAln5dqlDfZUXBjNYBVMB1l8VT
qqOjBX4IuETWqS-NxC51TuZTJW6jahSNdBXBZ43B1WXrHeiQPRQYVKNeq57K
UPyviIUI6iAw-tKjHvHgLjCHzSQ1tYQxvx3SKqy/https%3A%2F%2Fs3.eu-central
-1.amazonaws.com%2Fdownload2.cip-project.org%2Fcip-testing%2Flinux-cip
%2FzImage_siemens_de0-nano-soc_defconfig_4.19.239_e5e741fbf%2Farm%2F
siemens_de0-nano-soc_defconfig%2Fdtb%2Fsocfpga_cyclone5_de0_nano_soc
.dtb'
(404)"]

which sounds like a test problem, not kernel problem.

Any ideas?
It looks like the pipeline 522211501's build job didn't build
socfpga_cyclone5_de0_nano_soc.dtb.
https://secure-web.cisco.com/1A642org3Qm5HN30l_4ROLIGL5W2Ab88JM0Ha
Ij
mjHVUNECJy4KkZJ9kQwpwJeNcB2zuVQJUodYZvM7Rmt03MBCOUB7HQcfpjN
odhosbBC1
I9IewJWYRRxG8Dmc2tyfdlfuSPosWN1jUtN1ymWINJeaJBkK6xPh6VD6v0rYNiBY
n9Ue
05j1-GRyAeKZUOoBd6PPk433wDVueaHS98VHasCDJpFpznvorpwl_3_a2zuk1fip
VJWh
FIZCue1eSDc_EKpa-3_EJiSLnhMc3gl0c2iB4sed22i4rn_8Qx6vF5yhc4LjydIQEu
K9
7AT9jZoiI1/https%3A%2F%2Fgitlab.com%2Fcip-project%2Fcip-kernel%2Flin
ux-cip%2F-%2Fjobs%2F2364180684%23L2417

An old build job(pipeline #523704627 . kernel 4.19.239-cip72) builds
the dtb file.
https://secure-web.cisco.com/1VU4bPqh7VgbVJP9jU93GuJlHMPpDNQiepTxed
k
bBE9YF1SRM0dNMe07in9Bc87ce9qxhLC3Vjfm4Du65tIP6lQy7EOvKO64xpQOEu
SqCYb
gCbJp9_InjkaIdUOVG9ESgt-bE75fKnblDG1hvYbjyI4pjat8kMpXhajYlS3DKc17Wx
H
MoarFjEGeYYN5BWNq2BlRBlFsGD-iF_QuBZaEhNi0InwishFl98a6q8QPGDLo83
vESJp
s3AfYymY1dbmEztJ4QyxsoHH91ZJ1ECNKQ-aLGYVdcDKWyQEEzdzDRatgblVqS
HJSezm
JNr5h7EJax/https%3A%2F%2Fgitlab.com%2Fcip-project%2Fcip-kernel%2Flin
ux-cip%2F-%2Fjobs%2F2371451342%23L2907
This is the backport patch is imported into the CIP kernel.

https://secure-web.cisco.com/1ApuiGL_0xOwfNNZcvULWOERf-s4HL6xZzlZ8t
zOY
eaV9h1EfF5R7PUodJJz0QzKqnf8CWLe0HgfxAbDYCxJQS9CaymOLUSxwNCadU
6EyGM-2g8
cml5kl9T_1EF43sJNlBumX4QCQe4me1yZp4gV7iszMA-0OjWcNUOpEEthuARXe
8uVhR4IN
3mPrq1qxkkVwcmLv8esU0mFU6QSuMF-y6WRxoPKHKFhSgknCr9Hdj3i-T4IZ2
RQdMrKiww
awNUyqjZZ9aFpY3MPYs1ygrZyq3_w5IoT-klGU7OgGiN_TuL9xpojOXZKN-yruHr
RdUbPw
/https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2F
cip
%2Flinux-cip.git%2Fcommit%2F%3Fh%3Dlinux-4.19.y-cip%26id%3D64729dc
0be4
847961550cdcca4ddc66adf556aaa

I was revert E2423AA174E6 with a CIP kernel and confirmed. I think
this is the cause.
https://secure-web.cisco.com/1ZTiYQ1MlKN8-SRgBNnYLLSDw5yArMWHWW
MZdAmylKtYlap7PTxOBUlyqxkPH94yM8jKYiaO2CcmXSGchP_Q-nuLLfRWWXV
GOetLFf5d9hTpPOtRJw47SlicuiJGwXG1pg1RCwr8xI0idTaNChyacjoKxttcWGVB
YaRVXU3Yn6qNFcKHBxdu5WfD0uIdnmq2XD1So8rtvuKnim0__v35HUCAzHmU7
YA0okYZ0oKt5jairZG4c0hRW3sjFlSwX2A2wp9U6qtKw_D29aSv5xa9z_yfouO8n
Ty4qbZXo8uHk63rDk00sp_rRNanm-wP3DHjI/https%3A%2F%2Fgitlab.com%2F
cip-project%2Fcip-kernel%2Flinux-cip%2F-%2Fcommit%2F009b7940a6ca52f2
b39099c2c4d10bab337829b5

https://secure-web.cisco.com/1tK76i_ga9LliaGRryilcwTYWTMd2i-p3ZlQy_g5
0
qQVX_0IbwD9lubuPagOHOEK9napv3cu6BrVkN372e7-ryX63dyFyxXLpVqBB4jfo
AQo-Ka
MAo8SnlV--XsCRjJaeLiNMGF7K3LKuxvAAN-9QO5RxcwxJ3KrErvnygSk6wfNifn
K_L2XP
YNLaHINjNbBJm2MyB8Q_9F2aRfMblpRjftg4NL_8dZj8aHWwswhTX4tOYrJoV0P
RmP6BFK
DYyMp3Sit0-uuPtLRb995hq15CgzZH1YzWU7VQd7YImNJF64YptC_uhZlod-gJrX
wnDBqy
/https%3A%2F%2Fgitlab.com%2Fcip-project%2Fcip-kernel%2Flinux-cip%2F-%
2
Fjobs%2F2392927535

I will check the board supported by LTS.
This was also reproduced on other SOCFPGA boards.
And as you know, this commit has already been Revert in LTS.

Best regards,
Nobuhiro
One of my customer has reported to me the same issue(oops) and the same remedy(revert) for v5.10.112-cip6.
Is it not recognized yet by the upstream or CIP?

Best regards,

Takuo Koguchi

Join cip-dev@lists.cip-project.org to automatically receive all group messages.