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

Kernel quirks on QNAP TS-109 (Marvell orion)



Greetings,

I recently got lent a spare QNAP TS-109, that I intend to run on Debian for backup purpose.

Installation went well (thanks https://www.cyrius.com/debian/orion/qnap/ts-109/) using the stretch installer, however I noticed some quirks:

  • 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.
  • 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)

Are those errors that someone here as encountered before ? (so I do not create duplicate bug reports somewhere, just in case...)

Thank you in advance !

--

Matthieu CERDA

Jul 25 23:51:10 vault kernel: [   34.627646] synth uevent: /gpiochip0: failed to send uevent
Jul 25 23:51:10 vault kernel: [   34.627698] gpio gpiochip0: uevent: failed to send synthetic uevent
Jul 25 23:51:10 vault kernel: [   35.295554] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
Jul 25 23:51:10 vault kernel: [   35.334188] libphy: PHY orion-mdio-mii:08 not found
Jul 25 23:51:10 vault kernel: [   35.535699] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
Jul 25 23:51:10 vault kernel: [   35.544074] pgd = 0c4dca44
Jul 25 23:51:10 vault kernel: [   35.546879] [0000000c] *pgd=00000000
Jul 25 23:51:10 vault kernel: [   35.550570] Internal error: Oops: 5 [#1] ARM
Jul 25 23:51:10 vault kernel: [   35.554837] Modules linked in: mvmdio(+) des_generic mv643xx_eth evdev nfsd auth_rpcgss nfs_acl lockd gpio_keys grace sunrpc ip_tables x_tables sha256_generic hmac ipv6 autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb sd_mod sata_mv libata scsi_mod rtc_s35390a
Jul 25 23:51:10 vault kernel: [   35.578960] CPU: 0 PID: 178 Comm: systemd-udevd Not tainted 4.19.0-0.bpo.5-marvell #1 Debian 4.19.37-4~bpo9+1
Jul 25 23:51:10 vault kernel: [   35.588848] Hardware name: QNAP TS-109/TS-209
Jul 25 23:51:10 vault kernel: [   35.593233] PC is at of_clk_get+0x14/0x54
Jul 25 23:51:10 vault kernel: [   35.597279] LR is at orion_mdio_probe+0x118/0x2b8 [mvmdio]
Jul 25 23:51:10 vault kernel: [   35.602764] pc : [<c026b368>]    lr : [<bf354428>]    psr: a0000013
Jul 25 23:51:10 vault kernel: [   35.609019] sp : c09c9cc0  ip : c056df58  fp : c0a56264
Jul 25 23:51:10 vault kernel: [   35.614237] r10: 00000000  r9 : c097a2a4  r8 : c056de80
Jul 25 23:51:10 vault kernel: [   35.619461] r7 : c056de70  r6 : c097a000  r5 : c056dfa0  r4 : c09c9cc8
Jul 25 23:51:10 vault kernel: [   35.625983] r3 : c0a56480  r2 : bf354f00  r1 : 00000000  r0 : 00000000
Jul 25 23:51:10 vault kernel: [   35.632510] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Jul 25 23:51:10 vault kernel: [   35.639633] Control: a005317f  Table: 1681c000  DAC: 00000051
Jul 25 23:51:10 vault kernel: [   35.645380] Process systemd-udevd (pid: 178, stack limit = 0xb23576d7)
Jul 25 23:51:10 vault kernel: [   35.651901] Stack: (0xc09c9cc0 to 0xc09ca000)
Jul 25 23:51:10 vault kernel: [   35.656274] 9cc0: 00000024 006080c0 c022fad4 c00198e8 00000000 000f1072 c0a564a0 00000084
Jul 25 23:51:10 vault kernel: [   35.664456] 9ce0: c0a56480 c02a6eec a0000013 c0a564a0 00000084 00000000 c056de80 c02a6fd0
Jul 25 23:51:10 vault kernel: [   35.672639] 9d00: fe072004 c022fb2c c097a2a0 c056dfa0 c097a000 c097a2a0 c056dfa0 bf354428
Jul 25 23:51:10 vault kernel: [   35.680820] 9d20: d685da20 d685dea0 d78f5f60 c049ed7f d685da20 c097a2a4 00000124 c056de80
Jul 25 23:51:10 vault kernel: [   35.689000] 9d40: bf354ca8 00000000 00000000 c05eb764 00000124 0000000e c0a56264 c02a59bc
Jul 25 23:51:10 vault kernel: [   35.697185] 9d60: c056de80 bf354ca8 00000000 c02a3e20 c056de80 bf354ca8 c056de80 c056deb4
Jul 25 23:51:10 vault kernel: [   35.705365] 9d80: bf354ca8 00000000 00000001 00000124 c09c9f4c c02a42f4 c056de80 bf354ca8
Jul 25 23:51:10 vault kernel: [   35.713550] 9da0: c02a425c c02a1f98 d788cd0c d7804ed0 bf354ca8 d6cb3c00 c0599cd8 c02a321c
Jul 25 23:51:10 vault kernel: [   35.721732] 9dc0: bf354c30 bf354c31 0000006f bf354ca8 c0565028 bf357000 00000000 c02a4a98
Jul 25 23:51:10 vault kernel: [   35.729914] 9de0: bf354d00 c0565028 bf357000 c000ab20 d7fd2540 c012e0b4 d6834e40 d6cec000
Jul 25 23:51:10 vault kernel: [   35.738095] 9e00: d78eca20 00000001 d78e0000 c012e274 d6cec000 c012112c 00000000 d6caae80
Jul 25 23:51:10 vault kernel: [   35.746277] 9e20: c01223c8 c012eff8 c0a56264 c012f004 d7801e60 006000c0 bf354d00 7b0135c9
Jul 25 23:51:10 vault kernel: [   35.754461] 9e40: bf354d00 bf354d48 c09cf500 c0a56240 00000001 c007bd24 bf354d00 d7fd2540
Jul 25 23:51:10 vault kernel: [   35.762642] 9e60: bf354d00 bf354d48 00000001 c007aeb8 bf354d0c 00007fff bf354d00 c007864c
Jul 25 23:51:10 vault kernel: [   35.770824] 9e80: c09c9f40 c0078178 c03ed5cc 00000077 d8dbfe88 bf354ed4 b6ec53a0 0000001a
Jul 25 23:51:10 vault kernel: [   35.779002] 9ea0: c0a5b960 c09c9f3c 00000000 00000000 00000000 00000000 00000000 00000000
Jul 25 23:51:10 vault kernel: [   35.787174] 9ec0: 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000
Jul 25 23:51:10 vault kernel: [   35.795347] 9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 7b0135c9
Jul 25 23:51:10 vault kernel: [   35.803524] 9f00: 7fffffff 00000000 b6ec53a0 00000007 0000017b c00091e4 c09c8000 00000080
Jul 25 23:51:10 vault kernel: [   35.811705] 9f20: 007a6e48 c007b5c0 7fffffff 00000000 00000003 c010aa14 00000002 d8dbd000
Jul 25 23:51:10 vault kernel: [   35.819880] 9f40: 00002f00 00000000 c09c9f58 d8dbdb83 d8dbe560 d8dbd000 00002f00 d8dbf8e8
Jul 25 23:51:10 vault kernel: [   35.828060] 9f60: d8dbf760 d8dbef6c 00000f00 000010b0 00000000 00000000 00000000 00000c7c
Jul 25 23:51:10 vault kernel: [   35.836235] 9f80: 00000024 00000025 0000001b 00000018 00000013 00000000 4c8f3e00 007a25a0
Jul 25 23:51:10 vault kernel: [   35.844416] 9fa0: 00000000 c00091b8 4c8f3e00 007a25a0 00000007 b6ec53a0 00000000 b6ec5eb4
Jul 25 23:51:10 vault kernel: [   35.852590] 9fc0: 4c8f3e00 007a25a0 00000000 0000017b 00020000 004f9110 00000000 007a6e48
Jul 25 23:51:10 vault kernel: [   35.860772] 9fe0: be9d88a8 be9d8898 b6ebc610 b6d96800 60000010 00000007 00000000 00000000
Jul 25 23:51:10 vault kernel: [   35.869002] [<c026b368>] (of_clk_get) from [<bf354428>] (orion_mdio_probe+0x118/0x2b8 [mvmdio])
Jul 25 23:51:10 vault kernel: [   35.877748] [<bf354428>] (orion_mdio_probe [mvmdio]) from [<c02a59bc>] (platform_drv_probe+0x40/0x74)
Jul 25 23:51:10 vault kernel: [   35.886976] [<c02a59bc>] (platform_drv_probe) from [<c02a3e20>] (really_probe+0x218/0x3ac)
Jul 25 23:51:10 vault kernel: [   35.895253] [<c02a3e20>] (really_probe) from [<c02a42f4>] (__driver_attach+0x98/0x118)
Jul 25 23:51:10 vault kernel: [   35.903198] [<c02a42f4>] (__driver_attach) from [<c02a1f98>] (bus_for_each_dev+0x5c/0x80)
Jul 25 23:51:10 vault kernel: [   35.911387] [<c02a1f98>] (bus_for_each_dev) from [<c02a321c>] (bus_add_driver+0x1b8/0x230)
Jul 25 23:51:10 vault kernel: [   35.919658] [<c02a321c>] (bus_add_driver) from [<c02a4a98>] (driver_register+0xbc/0x100)
Jul 25 23:51:10 vault kernel: [   35.927773] [<c02a4a98>] (driver_register) from [<c000ab20>] (do_one_initcall+0x48/0x178)
Jul 25 23:51:10 vault kernel: [   35.935974] [<c000ab20>] (do_one_initcall) from [<c007bd24>] (do_init_module+0x60/0x1d4)
Jul 25 23:51:10 vault kernel: [   35.944079] [<c007bd24>] (do_init_module) from [<c007aeb8>] (load_module.constprop.15+0x1b90/0x2088)
Jul 25 23:51:10 vault kernel: [   35.953221] [<c007aeb8>] (load_module.constprop.15) from [<c007b5c0>] (sys_finit_module+0x94/0xc0)
Jul 25 23:51:10 vault kernel: [   35.962186] [<c007b5c0>] (sys_finit_module) from [<c00091b8>] (__sys_trace_return+0x0/0x10)
Jul 25 23:51:10 vault kernel: [   35.970526] Exception stack(0xc09c9fa8 to 0xc09c9ff0)
Jul 25 23:51:10 vault kernel: [   35.975594] 9fa0:                   4c8f3e00 007a25a0 00000007 b6ec53a0 00000000 b6ec5eb4
Jul 25 23:51:10 vault kernel: [   35.983770] 9fc0: 4c8f3e00 007a25a0 00000000 0000017b 00020000 004f9110 00000000 007a6e48
Jul 25 23:51:10 vault kernel: [   35.991934] 9fe0: be9d88a8 be9d8898 b6ebc610 b6d96800
Jul 25 23:51:10 vault kernel: [   35.997000] Code: e24dd054 e52de004 e8bd4000 e28d4008 (e590500c) 
Jul 25 23:51:10 vault kernel: [   36.003258] ---[ end trace 5dc002776cc6f2bd ]---
Jul 25 23:51:10 vault kernel: [   36.137560] marvell-cesa mv_crypto: CESA device successfully registered
Jul 25 23:51:10 vault kernel: [   36.157818] libphy: PHY orion-mdio-mii:08 not found

Reply to: