Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64608

Bug#908712: linux-image-4.17.0-0.bpo.3-marvell: stretch-backports kernel 4.17 breaks QNAP TS-209

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news.unit0.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Stefan Langanke <stefan@langanke-online.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#908712: linux-image-4.17.0-0.bpo.3-marvell: stretch-backports kernel 4.17 breaks QNAP TS-209
Date Mon, 29 Jul 2019 20:10:02 +0200
Message-ID <ypifU-1GP-5@gated-at.bofh.it> (permalink)
References <yimoh-1Gj-5@gated-at.bofh.it> <yimoh-1Gj-1@gated-at.bofh.it> <yimoh-1Gj-1@gated-at.bofh.it> <wxmqJ-4Xs-1@gated-at.bofh.it> <yimoh-1Gj-1@gated-at.bofh.it>
X-Original-To 908712@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Mon Jul 29 18:03:11 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.951
Reply-To Stefan Langanke <stefan@langanke-online.de>, 908712@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 908712
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 78; hammy, 149; neutral, 91; spammy, 1. spammytokens:0.987-1--HX-Filter-ID:sk:WGcw8Ls hammytokens:0.000-+--H*u:60.0, 0.000-+--exp1, 0.000-+--netdev, 0.000-+--H*u:x86_64, 0.000-+--UD:github.com
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Content-Language en-US
X-Originating-IP 46.243.88.56
X-Securemailgate-Domain mailproxy.dogado.net
X-Securemailgate-Username 46.243.88.56
Authentication-Results secure-mailgate.com; auth=pass smtp.auth=46.243.88.56@mailproxy.dogado.net
X-Securemailgate-Outgoing-Class ham
X-Securemailgate-Outgoing-Evidence Combined (0.15)
X-Recommended-Action accept
X-Filter-ID Mvzo4OR0dZXEDF/gcnlw0QR3kh8pms4IGrDTloUGIkypSDasLI4SayDByyq9LIhVUZbR67CQ7/vm /hHDJU4RXkTNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGD8EGBHFaOTgLx3YMsPMGJ8svj WGcw8LswZ2MbFfxKss4eeZRdiwOTvXDfNnL87eDdBMmyNbDn7R5kilAhwr3KtPRgtEKbbJiCf5yI 2Oixqpv29K3Gp8HBKlhPMU/wySsmN625CvdkEKhFOLv5y3XNhbM5VcI9Z9iQLx1EhkIGnvcwFR42 J7UfXpcz2r2kQsBELXlmC60tmJRRpwzLoIbf5aX/hNNbTkGSVR0FIfUtaojscKIMrvEydEntPHGM DOmOsWSUiBVT5FVQCz0Sq5R5TEYg9B0ZTYAGSXVvojJKo3K2FtUE6RBMWaDK53b+2RulES8H9wC2 /n9h8zWxlBqR+yr1k1CLsAD/gXukKjMfziukvLbtilQSO/VLn77KeCVbGMuF3pGCYtuGFpSAs35f Rwswr0cL6lRAEDJHTf5jN3yeKBLhW+/eldf55d2G6sFP1T2+medQFkAFLwFEG1d6KhGjI345l2ga JNiMgBKa3IetI4g+l6rCWbY0MZcgnbHsb3ZX81ufNeLsYnZ7w5S7BRgX04hVIDLrmuuuWTWaJW3e 2tbsugTC5GnFlzeNEL/poLhTGJk5+YiWkrnajv99If6UouLKTlUh8UAAUPrSLj+3Qqd2XfXJT/ME oiWVmyQoEcd17I9OK+5IV5JfTCzzWiEf4RfGOFzuGJZiFCPbj/V4mH9KqLu8UXOrKjeK4AFSPAlb DjazCbhs7qBpykynMmNfi3Rs1hutOTCHXLGGSdO7wzyo9Gz2/ffsJKlQSNOJxdhc0ltlnDopZ7+P j+JuhjXsi6ppHbhvc/+RkINTlroGZSRfFChkHKSxfJuMuXzUXeRDG9rdGdUFoyhQ03kgvjoF1cwb ZEcJthebTJehPr2iyp3o135iOKTFnvMmyCguxHspmxBcnyFR1tNfmXzefPrfJnO9sKEwyGObzd4b zvk=
X-Report-Abuse-To spam@node01.secure-mailgate.com
X-Greylist delayed 1942 seconds by postgrey-1.36 at buxtehude; Mon, 29 Jul 2019 18:00:46 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1548572
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 29 Jul 2019 19:26:52 +0200
X-Original-Message-ID <91b8dc1a-fee2-0e37-b75c-348af1b1c526@langanke-online.de>
X-Original-References <<em8a10bf6e-5273-44cb-bfb0-c5605e0406ab@kaffeetasse> <em6d58da3e-0515-4c2d-a4de-58c42f277621@kaffeetasse> <em6d58da3e-0515-4c2d-a4de-58c42f277621@kaffeetasse> <153679301768.8917.15621590777789996369.reportbug@ts209.rhemberger.de> <em6d58da3e-0515-4c2d-a4de-58c42f277621@kaffeetasse>
Xref csiph.com linux.debian.bugs.dist:967114 linux.debian.kernel:64608

Cross-posted to 2 groups.

Show key headers only | View raw


Hello,
the links in Marco's email are leading to the right changes in upstream 
kernel that lead to the problem.

I have the same issue debugged this on my TS-109. The so called fix at 
[1] does not do the trick. There is an uncaught NULL pointer exception, 
that seems to be thrown, if the device does not provide a valid clk.

The function of_clk_get(pdev->dev.of_node, i) does not respond very well 
to pdev->dev.of_node beeing NULL.
I fixed the issue on my device by adding a NULL check right before the 
for-loop.

I am going to adress this issue and my solution to the kernel 
maintainers to fix it there.

Cheers

Stefan

On Wed, 10 Jul 2019 15:05:20 +0000 "Marco Genise" <marco@genise.de> wrote:

 > I just tested experimental, same issue there with
 > linux-image-5.0.0-trunk-marvell (5.0.2-1~exp1).
 >
 > After digging around I assume this problem is related to changes in
 > drivers/net/ethernet/marvell/mvmdio.c in Version 4.12, which extended
 > the number of possible clock sources, see [1].
 >
 > Just a couple of days ago there was a "fix" posted in [2], which checks
 > the array introduced above, before accessing it.
 >
 > [1]
 > 
https://github.com/torvalds/linux/commit/96cb4342382290c935d933a08feb57d6d0183071#diff-9f818fed5204c3b34d954ad48e607789
 > [2] https://www.spinics.net/lists/netdev/msg584257.html
 >
 >
 >

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#908712: linux-image-4.17.0-0.bpo.3-marvell: stretch-backports kernel 4.17 breaks QNAP TS-209 "Marco Genise" <marco@genise.de> - 2019-07-10 17:10 +0200
  Bug#908712: linux-image-4.17.0-0.bpo.3-marvell: stretch-backports kernel 4.17 breaks QNAP TS-209 Stefan Langanke <stefan@langanke-online.de> - 2019-07-29 20:10 +0200

csiph-web