Re: Debian on Zyxel NAS326 September 28, 2017 05:22PM |
Admin Registered: 13 years ago Posts: 18,998 |
musv
Re: Debian on Zyxel NAS326 October 18, 2017 03:00PM |
Okt 18 21:34:23 nas kernel: rpc-srv/tcp: nfsd: sent only 56968 when sending 65644 bytes - shutting down socket
Re: Debian on Zyxel NAS326 October 19, 2017 09:43PM |
Admin Registered: 13 years ago Posts: 18,998 |
Okt 18 21:34:23 nas kernel: rpc-srv/tcp: > nfsd: sent only 56968 when sending 65644 bytes - > shutting down socket>
musv
Re: Debian on Zyxel NAS326 October 20, 2017 08:23AM |
Re: Debian on Zyxel NAS326 October 20, 2017 03:47PM |
Admin Registered: 13 years ago Posts: 18,998 |
kralan
Re: Debian on Zyxel NAS326 October 30, 2017 11:45AM |
Re: Debian on Zyxel NAS326 October 30, 2017 02:15PM |
Admin Registered: 13 years ago Posts: 18,998 |
musv
Re: Debian on Zyxel NAS326 October 31, 2017 10:47AM |
Re: Debian on Zyxel NAS326 October 31, 2017 04:00PM |
Admin Registered: 13 years ago Posts: 18,998 |
musv
Re: Debian on Zyxel NAS326 November 22, 2017 12:49PM |
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 64a04975bcf8..bc93b69cfd1e 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -816,11 +816,14 @@ static void mvneta_txq_pend_desc_add(struct mvneta_port *pp, { u32 val; - /* Only 255 descriptors can be added at once ; Assume caller - * process TX desriptors in quanta less than 256 - */ - val = pend_desc + txq->pending; - mvreg_write(pp, MVNETA_TXQ_UPDATE_REG(txq->id), val); + pend_desc += txq->pending; + + /* Only 255 Tx descriptors can be added at once */ + do { + val = min(pend_desc, 255); + mvreg_write(pp, MVNETA_TXQ_UPDATE_REG(txq->id), val); + pend_desc -= val; + } while (pend_desc > 0); txq->pending = 0; }
Re: Debian on Zyxel NAS326 November 22, 2017 04:27PM |
Admin Registered: 13 years ago Posts: 18,998 |
musv
Re: Debian on Zyxel NAS326 June 04, 2018 08:56AM |
Quote
This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
The Armada 37xx PMU supports 4 frequency and VDD levels.
Depends on: CPU_FREQ [=y] && (ARM [=y] || ARM64) && ARCH_MVEBU [=y] && CPUFREQ_DT [=y]
Re: Debian on Zyxel NAS326 June 04, 2018 05:17PM |
Admin Registered: 13 years ago Posts: 18,998 |
musv
Re: Debian on Zyxel NAS326 September 30, 2018 03:18AM |
[ 0.933092] WARNING: CPU: 0 PID: 1 at drivers/mtd/nand/raw/nand_base.c:2773 nand_subop_get_data_len+0x50/0x94 [ 0.943051] Modules linked in: [ 0.946126] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.18.9-gentoo #2 [ 0.952674] Hardware name: Marvell Armada 380/385 (Device Tree) [ 0.958625] [<c01115a0>] (unwind_backtrace) from [<c010cea4>] (show_stack+0x10/0x14) [ 0.966399] [<c010cea4>] (show_stack) from [<c07bbaf8>] (dump_stack+0x88/0x9c) [ 0.973651] [<c07bbaf8>] (dump_stack) from [<c01299e8>] (__warn.part.3+0xbc/0xd8) [ 0.981163] [<c01299e8>] (__warn.part.3) from [<c0129ad4>] (warn_slowpath_null+0x44/0x4c) [ 0.989371] [<c0129ad4>] (warn_slowpath_null) from [<c05b95e0>] (nand_subop_get_data_len+0x50/0x94) [ 0.998452] [<c05b95e0>] (nand_subop_get_data_len) from [<c05c0138>] (marvell_nfc_parse_instructions+0x58/0x238) [ 1.008664] [<c05c0138>] (marvell_nfc_parse_instructions) from [<c05c2774>] (marvell_nfc_naked_access_exec+0x28/0x1ac) [ 1.019397] [<c05c2774>] (marvell_nfc_naked_access_exec) from [<c05b93c4>] (nand_op_parser_exec_op+0x200/0x278) [ 1.029521] [<c05b93c4>] (nand_op_parser_exec_op) from [<c05b6d70>] (nand_reset_op+0x10c/0x15c) [ 1.038250] [<c05b6d70>] (nand_reset_op) from [<c05b9674>] (nand_reset+0x50/0xa8) [ 1.045760] [<c05b9674>] (nand_reset) from [<c05ba8c4>] (nand_scan_ident+0x228/0x1218) [ 1.053706] [<c05ba8c4>] (nand_scan_ident) from [<c05c0ce4>] (marvell_nand_chip_init+0x1a4/0x864) [ 1.062610] [<c05c0ce4>] (marvell_nand_chip_init) from [<c05c1680>] (marvell_nfc_probe+0x2dc/0x458) [ 1.071690] [<c05c1680>] (marvell_nfc_probe) from [<c05438ac>] (platform_drv_probe+0x48/0x98) [ 1.080246] [<c05438ac>] (platform_drv_probe) from [<c0542588>] (driver_probe_device+0x228/0x31c) [ 1.089149] [<c0542588>] (driver_probe_device) from [<c0542758>] (__driver_attach+0xdc/0xe0) [ 1.097617] [<c0542758>] (__driver_attach) from [<c054089c>] (bus_for_each_dev+0x74/0xb4) [ 1.105822] [<c054089c>] (bus_for_each_dev) from [<c05412a0>] (bus_add_driver+0x1c0/0x204) [ 1.114115] [<c05412a0>] (bus_add_driver) from [<c0542ebc>] (driver_register+0x74/0x108) [ 1.122234] [<c0542ebc>] (driver_register) from [<c0102cf8>] (do_one_initcall+0x54/0x208) [ 1.130443] [<c0102cf8>] (do_one_initcall) from [<c0a010cc>] (kernel_init_freeable+0x254/0x2e4) [ 1.139176] [<c0a010cc>] (kernel_init_freeable) from [<c07cfbbc>] (kernel_init+0x8/0x110) [ 1.147384] [<c07cfbbc>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 1.154977] Exception stack(0xdf499fb0 to 0xdf499ff8) [ 1.160044] 9fa0: 00000000 00000000 00000000 00000000 [ 1.168249] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.176455] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 1.183111] ---[ end trace 21eeae4e2d71e798 ]--- [ 1.187752] ------------[ cut here ]------------ [ 1.192388] WARNING: CPU: 0 PID: 1 at drivers/mtd/nand/raw/nand_base.c:2773 nand_subop_get_data_len+0x50/0x94
mtdparts=mtdparts=pxa3xx_nand-0:2m(u-boot),2m(env),2m(config),15m(kernel1),110m(rootfs1),15m(kernel2),-(rootfs2)
Re: Debian on Zyxel NAS326 September 30, 2018 03:53AM |
Admin Registered: 13 years ago Posts: 18,998 |
Marvell>> boot NAND read: device 0 whole chip Attempt to read outside the flash area 0 bytes read: ERROR Booting Gentoo from sda1 AHCI init for unit0 Target spinup took 0 ms. Target spinup took 0 ms. Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found scanning bus for devices... ... Device 1: (1:0) Vendor: ATA Prod.: ST9500325AS Rev: 0001 Type: Hard Disk Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Found 2 device(s). 4787801 bytes read in 125 ms (36.5 MiB/s) * kernel: cmdline image address = 0x02000000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.18.9-gentoo (root@nas) (gcc version 8.2.0 (Gentoo 8.2.0-r2 p1.2)) #2 SMP Wed Sep 26 14:01:03 CEST 2018 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Zyxel NAS326 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x464 with crng_init=0 [ 0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s36812 r8192 d20532 u65536 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 init=/lib/systemd/systemd
Re: Debian on Zyxel NAS326 September 30, 2018 04:46AM |
Admin Registered: 13 years ago Posts: 18,998 |
Re: Debian on Zyxel NAS326 November 10, 2018 08:02PM |
Registered: 5 years ago Posts: 20 |
Re: Debian on Zyxel NAS326 November 10, 2018 11:10PM |
Admin Registered: 13 years ago Posts: 18,998 |
Re: Debian on Zyxel NAS326 November 12, 2018 11:06PM |
Registered: 5 years ago Posts: 20 |
Re: Debian on Zyxel NAS326 November 12, 2018 11:37PM |
Admin Registered: 13 years ago Posts: 18,998 |
+----+----+ | | | +----+----+----+----+----+ |3.3V| TX | RX | | GND| +----+----+----+ +----+
Re: Debian on Zyxel NAS326 November 13, 2018 09:10PM |
Registered: 5 years ago Posts: 20 |
Re: Debian on Zyxel NAS326 November 13, 2018 10:23PM |
Admin Registered: 13 years ago Posts: 18,998 |
Re: Debian on Zyxel NAS326 November 13, 2018 11:21PM |
Registered: 5 years ago Posts: 20 |
Re: Debian on Zyxel NAS326 November 14, 2018 03:28AM |
Admin Registered: 13 years ago Posts: 18,998 |
Re: Debian on Zyxel NAS326 November 14, 2018 07:36AM |
Registered: 5 years ago Posts: 20 |
Re: Debian on Zyxel NAS326 November 14, 2018 02:08PM |
Admin Registered: 13 years ago Posts: 18,998 |
Quote
Zyxel NAS326 Installation
Updated 25 Mar 2017 (added Section C - Installation for SATA rootfs, no serial console)
Updated 18 Feb 2017 (added Section B - Installation for USB rootfs, no serial console)
Updated 05 Feb 2017 (Section A - Installation for USB rootfs, with serial console)
Installation for NAS326 box can be done with serial console connected (section A), or inside stock OS and without serial console (section B for USB rootfs, section C for SATA rootfs). Note: for section A and B, the USB rootfs must be inserted to the front USB port (USB 2.0).
Re: Debian on Zyxel NAS326 November 17, 2018 06:02AM |
Registered: 5 years ago Posts: 20 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 25, 2019 03:05AM |
Registered: 9 years ago Posts: 1 |
apt-get -y install esekeyd
# Defaults for esekeyd initscript
# Start esekeyd on boot (set it to "true" to enable)
START_ESEKEYD=true
# Daemon options, at last config location must be present
DAEMON_OPTS=/etc/esekeyd.conf
# ESE Key Deamon 1.2.7 config file
#
#POWER BUTTON
KEY_116(release):/sbin/shutdown -h now
#COPY BUTTON
KEY_133(release):/usr/bin/logger -s -i "test message"
DAEMON_OPTS=" /dev/input/event0"
/usr/bin/keytest, dont affraid to execute it, it will help You
man esekeyd + googling + keytesthelped...
Re: Zyxel NAS326 - Debian / Boot from USB? March 25, 2019 03:52AM |
Admin Registered: 13 years ago Posts: 18,998 |
> KEY_133:shutdown -h now > KEY_116:<what You need or wish>
Re: Zyxel NAS326 - Debian / Boot from USB? September 28, 2019 01:06PM |
Registered: 5 years ago Posts: 4 |