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


Groups > linux.debian.ports.arm > #11718

Re: Kernel quirks on QNAP TS-109 (Marvell orion)

From Matthieu CERDA <kegeruneku+debianarm@ironflake.org>
Newsgroups linux.debian.ports.arm
Subject Re: Kernel quirks on QNAP TS-109 (Marvell orion)
Date 2019-07-28 22:50 +0200
Message-ID <yoYhd-5uZ-39@gated-at.bofh.it> (permalink)
References <ynUpj-53R-1@gated-at.bofh.it> <yo3LX-2r5-3@gated-at.bofh.it> <yo4RI-34Q-11@gated-at.bofh.it> <yofap-22Y-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello again !

Le 26/07/2019 à 22:36, Matthieu CERDA a écrit :
> Le 26/07/2019 à 11:29, Arnaud Patard (Rtp) a écrit :
>> Martin Michlmayr <tbm@cyrius.com> writes:
>>> * Matthieu CERDA <kegeruneku+debianarm@ironflake.org> [2019-07-26 00:17]:
>>>>   * On stretch stock kernel (4.9.0-9-marvell), qcontrol does not work:
>>>>     calling it with "qcontrol --direct buzzer" outputs no error, but
>>>>     does nothing, and the status led stays red/green after system has
>>>>     booted.
>>> There are different potential causes for this but I think I've seen
>>> this before myself and this particular issue hasn't been reported.
> I'll open a bug report on the Debian package to discuss the issue there.
Done: https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=qcontrol
>>>>   * On stretch backports kernel (4.19.0-0.bpo.5-marvell), qcontrol does
>>>>     not work as well, and more annoyingly, no Ethernet interface gets
>>>>     initialized. dmesg shows a kernel oops. (copy attached)
>>> This sounds like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908712
> Yep, I looks like the exact same issue. I'll be happy to help if I can,
> at least by testing the fix that Arnaud proposed below :)
>> As noted in the bug, might worth reporting to Andrew. iirc ts109 are
>> devices without device tree and I'm curious to see how the kernel handle
>> things like of_clk_get(pdev->dev.of_node, i) on a system without DT.
>> of_clk_get() is coded like this:
>> (...)
>>
>> Arnaud.
> All right, I'll try to build a 4.19.0-0.bpo.5-marvell-based kernel with
> the patch.
>
> I will also try building a linux master-based kernel, to test if
> https://github.com/torvalds/linux/commit/433a06d7d74e677c40b1148c70c48677ff62fb6b
> solves the issue.
>
> Thank you for the help to both of you :) (and also, thank you Martin for
> the highly detailed website and instructions about QNAP devices)

Well, good news. the fix Arnaud proposed seems to work! (cf patch joined
to this mail)

---8<---
[   35.281494] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   35.348374] libphy: PHY orion-mdio-mii:08 not found
[   35.696124] libphy: PHY orion-mdio-mii:08 not found
(...)
[   35.780513] libphy: orion_mdio_bus: probed
(...)
[   35.998946] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC
address 00:08:9b:ac:e2:f4
(...)
[   46.105299] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   49.537051] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000
Mb/s, full duplex, flow control enabled
---8<---

I'll send a copy to Andrew, if that's okay with you Arnaud ?

Back to linux.debian.ports.arm | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Kernel quirks on QNAP TS-109 (Marvell orion) Martin Michlmayr <tbm@cyrius.com> - 2019-07-26 10:30 +0200
  Re: Kernel quirks on QNAP TS-109 (Marvell orion) Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> - 2019-07-26 11:40 +0200
    Re: Kernel quirks on QNAP TS-109 (Marvell orion) Matthieu CERDA <kegeruneku+debianarm@ironflake.org> - 2019-07-26 22:40 +0200
      Re: Kernel quirks on QNAP TS-109 (Marvell orion) Matthieu CERDA <kegeruneku+debianarm@ironflake.org> - 2019-07-28 22:50 +0200
        Re: Kernel quirks on QNAP TS-109 (Marvell orion) Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> - 2019-07-29 10:40 +0200
        Re: Kernel quirks on QNAP TS-109 (Marvell orion) Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> - 2019-07-29 14:50 +0200
          Re: Kernel quirks on QNAP TS-109 (Marvell orion) Martin Michlmayr <tbm@cyrius.com> - 2019-07-31 17:00 +0200
            Re: Kernel quirks on QNAP TS-109 (Marvell orion) Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> - 2019-08-02 11:00 +0200
              Re: Kernel quirks on QNAP TS-109 (Marvell orion) Matthieu CERDA <kegeruneku+debianarm@ironflake.org> - 2019-08-04 15:50 +0200
                Re: Kernel quirks on QNAP TS-109 (Marvell orion) Martin Michlmayr <tbm@cyrius.com> - 2019-08-04 16:00 +0200
                Bug#933294: Kernel quirks on QNAP TS-109 (Marvell orion) Martin Michlmayr <tbm@cyrius.com> - 2019-08-07 14:40 +0200
                Bug#933294: Kernel quirks on QNAP TS-109 (Marvell orion) Ian Campbell <ijc@debian.org> - 2019-08-07 15:00 +0200
              Re: Kernel quirks on QNAP TS-109 (Marvell orion) Martin Michlmayr <tbm@cyrius.com> - 2019-08-18 12:20 +0200

csiph-web