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


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

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-08-04 15:50 +0200
Message-ID <yrp3z-8js-5@gated-at.bofh.it> (permalink)
References (3 earlier) <yofap-22Y-1@gated-at.bofh.it> <yoYhd-5uZ-39@gated-at.bofh.it> <ypdgd-6KM-7@gated-at.bofh.it> <ypYf7-2yV-1@gated-at.bofh.it> <yqBzQ-2jS-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 02/08/2019 à 10:58, Arnaud Patard (Rtp) a écrit :
> Hi,
>
> Martin Michlmayr <tbm@cyrius.com> writes:
>
>> * Arnaud Patard <arnaud.patard@rtp-net.org> [2019-07-29 14:45]:
>>> As promised, please fix the updated patch. Please note that there are 2
>> Can you submit it upstream for review, or if you have already, send us
>> a link.
> Sorry for the delay. I was waiting for some feedback before sending and
> then got busy with other stuff. I've now sent it:
> https://marc.info/?l=linux-netdev&m=156473570707976&w=2.
>
> Arnaud

That's awesome, thank you Arnaud :)

About the qcontrol-related issues, I have a conjecture you guys might be
experienced enough to debunk (or confirm), I also noticed that the
TS-109 fails to shutdown properly, either using systemd or sysvinit
(After "[  243.405182] qnap_tsx09_power_off: triggering power-off...",
it panic()'s with systemd getting killed, and stalls without powering
off, and with sysvinit it simply stalls)

After some quick research, it seems that both qcontrol related stuff
(buzzer, leds, ...) and shutting down are handled by the NAS PIC,
available through proprietary kernel stuff on stock QNAP kernel and
through GPIO / ttyS1,19200n8 on vanilla ones.

I get some:

---8<---

[   44.325898] synth uevent: /gpiochip0: failed to send uevent
[   44.325949] gpio gpiochip0: uevent: failed to send synthetic uevent

---8<---

In dmesg during boot, which I suspect means that something is wrong in
GPIO / PIC communication.

I tried to replicate the  way Linux shuts the NAS down (send 'A' over
ttyS1,19200n8) and nothing happened, neigher shutdown or line echo.

Are there known ways for the PIC access to be broken, is this specific
to my NAS (but QTS seems to work fine with it) or maybe a regression
specific to TS-X09 ?

Thanks for your time.

--

Matthieu CERDA

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