Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 03, 2023 11:03PM |
Registered: 11 months ago Posts: 7 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 04, 2023 12:27AM |
Admin Registered: 13 years ago Posts: 18,900 |
Quote
Note 6 (Optional):
To enable the network dynamic IP to stay consistent after each reboot, and also for faster boot. In this rootfs, a script is executed during kernel booting (in /etc/rc.local), to detect if a local MAC address was assigned during boot, and then set the persistent MAC address to what is currently defined in u-boot env ethaddr.
/root/set_persistent_mac_address
To keep using the kernel generated local MAC address (if local MAC address was generated in your box) then remove or rename this script.
fw_printenv ethaddr
dmesg ifconfig -a fw_printenv
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 05, 2023 01:28AM |
Registered: 11 months ago Posts: 7 |
login as: root root@192.168.2.7's password: Linux NAS-NICO 6.5.7-mvebu-tld-1 #1 SMP PREEMPT Wed Oct 18 19:13:54 PDT 2023 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Nov 4 23:55:51 2023 from 192.168.2.41 NAS-NICO 192.168.2.7 Zyxel NAS326 Linux version 6.5.7-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Wed Oct 18 19:13:54 PDT 2023 Debian 11.8 Sun Nov 5 00:15:10 PDT 2023 up 3 minutes root@NAS-NICO:~# fw_printenv ethaddr Configuration file wrong or corrupted
root@NAS-NICO:~# ifconfig -a eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.2.7 netmask 255.255.0.0 broadcast 192.168.255.255 inet6 2a02:a03f:2db:b800:c090:9aff:feb0:fdb6 prefixlen 64 scopeid 0x0<global> inet6 fe80::c090:9aff:feb0:fdb6 prefixlen 64 scopeid 0x20<link> ether c2:90:9a:b0:fd:b6 txqueuelen 1024 (Ethernet) RX packets 188302 bytes 18566304 (17.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 11573 bytes 1402370 (1.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 42 ip6tnl0: flags=128<NOARP> mtu 1452 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 517 bytes 33409 (32.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 517 bytes 33409 (32.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 sit0: flags=128<NOARP> mtu 1480 sit txqueuelen 1000 (IPv6-in-IPv4) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@NAS-NICO:~#
root@NAS-NICO:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.5.7-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Wed Oct 18 19:13:54 PDT 2023 [ 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] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000] percpu: Embedded 14 pages/cpu s25364 r8192 d23788 u57344 [ 0.000000] pcpu-alloc: s25364 r8192 d23788 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=armada-nand:2m(u-boot),2m(env),2m(config),15m(kernel1),110m(rootfs1),15m(kernel2),-(rootfs2) earlyprintk=serial [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 490428K/524288K available (10240K kernel code, 870K rwdata, 3460K rodata, 1024K init, 464K bss, 33860K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 D prefetch enabled, offset 1 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB [ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000001] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns [ 0.008681] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns [ 0.020388] Switching to timer-based delay loop, resolution 1ns [ 0.027206] Ignoring duplicate/late registration of read_current_timer delay [ 0.034923] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns [ 0.046795] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval) [ 0.056295] Console: colour dummy device 80x30 [ 0.061446] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000) [ 0.072724] CPU: Testing write buffer coherency: ok [ 0.078319] CPU0: Spectre v2: using BPIALL workaround [ 0.084045] pid_max: default: 32768 minimum: 301 [ 0.092486] LSM: initializing lsm=capability,integrity [ 0.099138] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.107123] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.119364] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.126411] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.134232] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.142577] Setting up static identity map for 0x100000 - 0x100060 [ 0.149560] mvebu-soc-id: MVEBU SoC ID=0x6810, Rev=0xA [ 0.155493] mvebu-pmsu: Initializing Power Management Service Unit [ 0.162479] rcu: Hierarchical SRCU implementation. [ 0.167963] rcu: Max phase no-delay instances is 1000. [ 0.174476] smp: Bringing up secondary CPUs ... [ 0.179727] smp: Brought up 1 node, 1 CPU [ 0.184416] SMP: Total of 1 processors activated (1332.00 BogoMIPS). [ 0.191491] CPU: All CPU(s) started in SVC mode. [ 0.197510] devtmpfs: initialized [ 0.205828] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.214444] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.224950] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.234532] prandom: seed boundary self test passed [ 0.241687] prandom: 100 self tests passed [ 0.246460] pinctrl core: initialized pinctrl subsystem [ 0.253675] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.260930] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.270753] audit: initializing netlink subsys (disabled) [ 0.277402] thermal_sys: Registered thermal governor 'step_wise' [ 0.277462] cpuidle: using governor ladder [ 0.288925] audit: type=2000 audit(0.230:1): state=initialized audit_enabled=0 res=1 [ 0.297364] cpuidle: using governor menu [ 0.302090] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.310767] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.317435] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling [ 0.326190] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling [ 0.336333] platform soc: Fixed dependency cycle(s) with /soc/internal-regs/interrupt-controller@d000 [ 0.517102] raid6: int32x8 gen() 266 MB/s [ 0.687120] raid6: int32x4 gen() 277 MB/s [ 0.857078] raid6: int32x2 gen() 458 MB/s [ 1.027077] raid6: int32x1 gen() 498 MB/s [ 1.032025] raid6: using algorithm int32x1 gen() 498 MB/s [ 1.207099] raid6: .... xor() 187 MB/s, rmw enabled [ 1.212651] raid6: using intx1 recovery algorithm [ 1.219111] SCSI subsystem initialized [ 1.223684] libata version 3.00 loaded. [ 1.223858] usbcore: registered new interface driver usbfs [ 1.230073] usbcore: registered new interface driver hub [ 1.236084] usbcore: registered new device driver usb [ 1.242079] pps_core: LinuxPPS API ver. 1 registered [ 1.247728] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.257536] PTP clock support registered [ 1.263505] vgaarb: loaded [ 1.267326] clocksource: Switched to clocksource arm_global_timer [ 1.277540] VFS: Disk quotas dquot_6.6.0 [ 1.282307] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.297258] NET: Registered PF_INET protocol family [ 1.302985] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 1.311876] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 1.321039] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 1.329505] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 1.337962] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 1.345832] TCP: Hash tables configured (established 4096 bind 4096) [ 1.353158] MPTCP token hash table entries: 512 (order: 1, 8192 bytes, linear) [ 1.361154] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.368396] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.376329] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 1.383062] RPC: Registered named UNIX socket transport module. [ 1.389696] RPC: Registered udp transport module. [ 1.395075] RPC: Registered tcp transport module. [ 1.400461] RPC: Registered tcp-with-tls transport module. [ 1.406618] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.413739] PCI: CLS 0 bytes, default 64 [ 1.418506] Trying to unpack rootfs image as initramfs... [ 1.427858] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 1.449174] Initialise system trusted keyrings [ 1.454346] Key type blacklist registered [ 1.467556] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.474745] zbud: loaded [ 1.508145] NFS: Registering the id_resolver key type [ 1.513903] Key type id_resolver registered [ 1.527400] Key type id_legacy registered [ 1.532227] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.547434] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.731395] xor: measuring software checksum speed [ 1.747415] arm4regs : 2172 MB/sec [ 1.777474] 8regs : 1669 MB/sec [ 1.788255] 32regs : 1733 MB/sec [ 1.793291] xor: using function: arm4regs (2172 MB/sec) [ 1.817428] async_tx: api initialized (async) [ 1.822479] Key type asymmetric registered [ 1.827254] Asymmetric key parser 'x509' registered [ 1.847752] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.856022] io scheduler bfq registered [ 1.880880] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver [ 1.899414] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 1.917925] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present! [ 1.938039] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 1.957893] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present! [ 1.979216] mv_xor f1060800.xor: Marvell shared XOR driver [ 2.058607] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 2.079785] mv_xor f1060900.xor: Marvell shared XOR driver [ 2.145548] Freeing initrd memory: 9932K [ 2.158575] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 2.308911] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 2.319704] printk: console [ttyS0] disabled [ 2.349267] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 39, base_baud = 12500000) is a 16550A [ 2.358990] printk: console [ttyS0] enabled [ 2.368909] printk: bootconsole [earlycon0] disabled [ 2.399031] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator [ 2.408864] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator [ 2.417152] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator [ 2.425958] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode [ 2.435814] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 2.447636] scsi host0: ahci-mvebu [ 2.452861] scsi host1: ahci-mvebu [ 2.457193] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 40 [ 2.466394] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 40 [ 2.476345] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda [ 2.484604] nand: Macronix MX30LF2G18AC [ 2.489208] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 2.497800] Bad block table found at page 131008, version 0x01 [ 2.504680] Bad block table found at page 130944, version 0x01 [ 2.511556] nand_read_bbt: bad block at 0x00000e400000 [ 2.517499] nvmem user-otp0: nvmem: invalid reg on /soc/internal-regs/nand-controller@d0000/nand@0 [ 2.527231] marvell-nfc f10d0000.nand-controller: error -EINVAL: Failed to register OTP NVMEM device [ 2.537133] marvell-nfc f10d0000.nand-controller: failed to register mtd device: -22 [ 2.545650] marvell-nfc: probe of f10d0000.nand-controller failed with error -22 [ 2.554723] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 2.563892] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 2.592426] hwmon hwmon0: temp1_input not attached to any thermal zone [ 2.604876] mvneta f1070000.ethernet eth0: Using random mac address 6e:17:d1:17:e9:8f [ 2.616645] usbcore: registered new interface driver smsc75xx [ 2.624105] orion-ehci f1058000.usb: EHCI Host Controller [ 2.630650] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 [ 2.639219] orion-ehci f1058000.usb: irq 43, io mem 0xf1058000 [ 2.667335] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 [ 2.674213] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 2.683241] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.691240] usb usb1: Product: EHCI Host Controller [ 2.696865] usb usb1: Manufacturer: Linux 6.5.7-mvebu-tld-1 ehci_hcd [ 2.703980] usb usb1: SerialNumber: f1058000.usb [ 2.709929] hub 1-0:1.0: USB hub found [ 2.714734] hub 1-0:1.0: 1 port detected [ 2.720512] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 2.727198] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 [ 2.735564] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000000010 [ 2.745695] xhci-hcd f10f0000.usb3: irq 44, io mem 0xf10f0000 [ 2.752422] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 2.758556] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3 [ 2.766819] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed [ 2.774042] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 2.783081] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.791068] usb usb2: Product: xHCI Host Controller [ 2.796690] usb usb2: Manufacturer: Linux 6.5.7-mvebu-tld-1 xhci-hcd [ 2.803818] usb usb2: SerialNumber: f10f0000.usb3 [ 2.809838] hub 2-0:1.0: USB hub found [ 2.814639] hub 2-0:1.0: 1 port detected [ 2.819773] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.829003] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05 [ 2.838077] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.846042] usb usb3: Product: xHCI Host Controller [ 2.851761] usb usb3: Manufacturer: Linux 6.5.7-mvebu-tld-1 xhci-hcd [ 2.858952] usb usb3: SerialNumber: f10f0000.usb3 [ 2.864909] hub 3-0:1.0: USB hub found [ 2.869734] hub 3-0:1.0: 1 port detected [ 2.875122] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 2.881782] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 [ 2.890129] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000000010 [ 2.900246] xhci-hcd f10f8000.usb3: irq 45, io mem 0xf10f8000 [ 2.906882] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 2.913071] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5 [ 2.921354] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed [ 2.928586] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 2.937717] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.945681] usb usb4: Product: xHCI Host Controller [ 2.951297] usb usb4: Manufacturer: Linux 6.5.7-mvebu-tld-1 xhci-hcd [ 2.958398] usb usb4: SerialNumber: f10f8000.usb3 [ 2.964363] hub 4-0:1.0: USB hub found [ 2.969228] hub 4-0:1.0: 1 port detected [ 2.974325] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.983227] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.990581] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.997851] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05 [ 3.006868] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.014874] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 3.022492] usb usb5: Product: xHCI Host Controller [ 3.028165] ata1.00: ATA-10: TOSHIBA HDWT840, KQ0C0L, max UDMA/100 [ 3.035085] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32) [ 3.042598] usb usb5: Manufacturer: Linux 6.5.7-mvebu-tld-1 xhci-hcd [ 3.049718] usb usb5: SerialNumber: f10f8000.usb3 [ 3.055748] hub 5-0:1.0: USB hub found [ 3.060655] hub 5-0:1.0: 1 port detected [ 3.066201] usbcore: registered new interface driver usblp [ 3.072478] ata1.00: configured for UDMA/100 [ 3.078506] usbcore: registered new interface driver usb-storage [ 3.085897] mousedev: PS/2 mouse device common for all mice [ 3.092522] scsi 0:0:0:0: Direct-Access ATA TOSHIBA HDWT840 0L PQ: 0 ANSI: 5 [ 3.103626] armada38x-rtc f10a3800.rtc: registered as rtc0 [ 3.111580] sd 0:0:0:0: [sda] Drive-managed SMR disk [ 3.117287] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB) [ 3.127828] armada38x-rtc f10a3800.rtc: setting system clock to 2023-11-05T07:11:17 UTC (1699168277) [ 3.138027] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 3.144021] sd 0:0:0:0: [sda] Write Protect is off [ 3.150479] i2c_dev: i2c /dev entries driver [ 3.156741] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported [ 3.165220] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 3.165278] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.175938] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported [ 3.184996] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes [ 3.196299] orion_wdt: Initial timeout 171 sec [ 3.203911] device-mapper: uevent: version 1.0.3 [ 3.210168] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 3.219898] device-mapper: multipath round-robin: version 1.2.0 loaded [ 3.227291] device-mapper: multipath queue-length: version 0.2.0 loaded [ 3.234950] device-mapper: multipath service-time: version 0.3.0 loaded [ 3.242729] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 3.249966] sdhci: Secure Digital Host Controller Interface driver [ 3.257255] sdhci: Copyright(c) Pierre Ossman [ 3.262480] usb 1-1: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00 [ 3.272136] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.279075] sda: sda1 [ 3.282757] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 3.289047] ata2.00: ATA-10: TOSHIBA HDWT840, KQ0C0L, max UDMA/100 [ 3.295977] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32) [ 3.304478] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.318230] marvell-cesa f1090000.crypto: CESA device successfully registered [ 3.326969] usb 1-1: Product: SanDisk 3.2Gen1 [ 3.332734] hid: raw HID events driver (C) Jiri Kosina [ 3.338657] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA [ 3.347632] usb 1-1: Manufacturer: USB [ 3.352222] ata2.00: configured for UDMA/100 [ 3.357566] usbcore: registered new interface driver usbhid [ 3.363873] usbhid: USB HID core driver [ 3.368676] usb 1-1: SerialNumber: 04011f36b5c74e46778deee320fea92442b0525cbba4541e6d5f75483960108a0fc900000000000000000000220af610008b17188355810781ac7aa6 [ 3.385470] NET: Registered PF_INET6 protocol family [ 3.392214] usb-storage 1-1:1.0: USB Mass Storage device detected [ 3.399424] scsi 1:0:0:0: Direct-Access ATA TOSHIBA HDWT840 0L PQ: 0 ANSI: 5 [ 3.409860] Segment Routing with IPv6 [ 3.414367] RPL Segment Routing with IPv6 [ 3.420176] sd 1:0:0:0: [sdb] Drive-managed SMR disk [ 3.427154] scsi host2: usb-storage 1-1:1.0 [ 3.432337] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB) [ 3.441199] In-situ OAM (IOAM) with IPv6 [ 3.445940] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.454544] sd 1:0:0:0: [sdb] 4096-byte physical blocks [ 3.461972] NET: Registered PF_PACKET protocol family [ 3.468641] sd 1:0:0:0: [sdb] Write Protect is off [ 3.474364] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 3.474411] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.484339] 8021q: 802.1Q VLAN Support v1.8 [ 3.489409] Key type dns_resolver registered [ 3.494625] ThumbEE CPU extension supported. [ 3.499720] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes [ 3.506765] Registering SWP/SWPB emulation handler [ 3.570341] sdb: sdb1 [ 3.573882] sd 1:0:0:0: [sdb] Attached SCSI removable disk [ 3.589634] registered taskstats version 1 [ 3.594753] Loading compiled-in X.509 certificates [ 3.608979] Key type .fscrypt registered [ 3.613670] Key type fscrypt-provisioning registered [ 3.619511] Key type big_key registered [ 3.639168] Key type encrypted registered [ 3.648597] usb_phy_generic usb2_phy: dummy supplies not allowed for exclusive requests [ 3.661294] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 3.670830] clk: Disabling unused clocks [ 3.678272] Freeing unused kernel image (initmem) memory: 1024K [ 3.688011] Checked W+X mappings: passed, no W+X pages found [ 3.694415] Run /init as init process [ 3.698833] with arguments: [ 3.698840] /init [ 3.698844] with environment: [ 3.698848] HOME=/ [ 3.698852] TERM=linux [ 4.466597] usbcore: registered new interface driver uas [ 4.518857] scsi 2:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6 [ 4.535276] sd 2:0:0:0: [sdc] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB) [ 4.550999] sd 2:0:0:0: [sdc] Write Protect is off [ 4.556530] sd 2:0:0:0: [sdc] Mode Sense: 43 00 00 00 [ 4.561391] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 4.589318] sdc: sdc1 [ 4.594109] sd 2:0:0:0: [sdc] Attached SCSI removable disk [ 15.565892] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem [ 15.670148] EXT4-fs (sdc1): mounted filesystem 63e7d7bb-2d97-48df-a398-bff88aa46d71 ro with ordered data mode. Quota mode: none. [ 17.868000] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 17.913241] sd 1:0:0:0: Attached scsi generic sg1 type 0 [ 17.989625] sd 2:0:0:0: Attached scsi generic sg2 type 0 [ 19.416192] EXT4-fs (sdc1): re-mounted 63e7d7bb-2d97-48df-a398-bff88aa46d71 r/w. Quota mode: none. [ 20.337376] random: crng init done [ 20.605350] EXT4-fs (sda1): mounted filesystem 211a4f7e-965a-44ed-aa34-168a5638ee86 r/w with ordered data mode. Quota mode: none. [ 20.910863] EXT4-fs (sdb1): mounted filesystem e7e6f9aa-ff37-4f27-a5b4-579a010f70ad r/w with ordered data mode. Quota mode: none. [ 21.110807] Adding 524284k swap on /swapfile1. Priority:-2 extents:13 across:10359276k FS [ 21.839047] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510] (irq=POLL) [ 21.853349] mvneta f1070000.ethernet eth0: configuring for phy/rgmii-id link mode [ 23.957929] mvneta f1070000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 95.183520] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:f8:08:4f:1e:5d:7e:08:00 SRC=192.168.2.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 [ 220.321613] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:f8:08:4f:1e:5d:7e:08:00 SRC=192.168.2.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 root@NAS-NICO:~#
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 05, 2023 01:23PM |
Admin Registered: 13 years ago Posts: 18,900 |
cat etc/fw_env.configIt should show:
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd1 0x0000 0x80000 0x20000 4After making sure that the content of fw_env.config is correct. Do
fw_printenv
cat /etc/rc.local
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 05, 2023 11:17PM |
Registered: 11 months ago Posts: 7 |
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd1 0x0000 0x80000 0x20000 4
root@NAS-NICO:/# fw_printenv Configuration file wrong or corrupted
root@NAS-NICO:/# cat /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # generate SSH key and start SSH on 1st boot ssh-keygen -A if ! pgrep -x sshd >/dev/null ; then /etc/init.d/ssh start fi # Work around to set persistent MAC address in Armada boxes if [ -f /root/set_persistent_mac_address ]; then /root/set_persistent_mac_address fi # Zyxel NAS326 if [ -d /sys/class/leds/nsa326:white:sys ]; then echo default-on > /sys/class/leds/nsa326:white:sys/trigger echo none > /sys/class/leds/nsa326:red:sys/trigger echo ide-disk1 > /sys/class/leds/nsa326:white:sata1/trigger echo ide-disk2 > /sys/class/leds/nsa326:white:sata2/trigger echo usb-host > /sys/class/leds/nsa326:white:usb/trigger fi # Thecus N2350 if [ -d /sys/class/leds/n2350:white:sys ]; then echo default-on > /sys/class/leds/n2350\:blue\:pwr/trigger echo none > /sys/class/leds/n2350\:red\:pwr/trigger echo default-on > /sys/class/leds/n2350\:white\:sys/trigger echo none > /sys/class/leds/n2350\:red\:sys/trigger echo ide-disk1 > /sys/class/leds/n2350:white:sata1/trigger echo ide-disk2 > /sys/class/leds/n2350:white:sata2/trigger echo usb-host > /sys/class/leds/n2350\:white\:usb/trigger fi exit 0
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 05, 2023 11:40PM |
Admin Registered: 13 years ago Posts: 18,900 |
root@NAS-NICO:/# fw_printenv Configuration file wrong or corrupted
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd1 0x0000 0x80000 0x20000 16
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 06, 2023 11:42PM |
Registered: 11 months ago Posts: 7 |
login as: root root@192.168.2.244's password: Linux debian 5.13.8-mvebu-tld-1 #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Nov 6 21:31:39 2023 from 192.168.2.51 debian 192.168.2.244 Zyxel NAS326 Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021 Debian 11.0 Mon Nov 6 21:32:00 PST 2023 up 13 minutes root@debian:~# fw_printenv ethaddr ethaddr=7C:77:16:DD:B0:15
login as: root root@192.168.2.244's password: Linux debian 6.5.7-mvebu-tld-1 #1 SMP PREEMPT Wed Oct 18 19:13:54 PDT 2023 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Nov 6 21:32:00 2023 from 192.168.2.51 debian 192.168.2.244 Zyxel NAS326 Linux version 6.5.7-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Wed Oct 18 19:13:54 PDT 2023 Debian 11.0 Mon Nov 6 21:38:52 PST 2023 up 4 minutes root@debian:~# fw_printenv ethaddr Configuration file wrong or corrupted
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 07, 2023 03:42AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 07, 2023 10:18AM |
Registered: 11 months ago Posts: 7 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 07, 2023 02:18PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 07, 2023 02:49PM |
Admin Registered: 13 years ago Posts: 18,900 |
Quote
Updated 21 Aug 2023:
Kernel 6.4.11-mvebu-tld-1 package has been uploaded.
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 08, 2023 01:06AM |
Registered: 11 months ago Posts: 7 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 08, 2023 12:39PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 12, 2023 05:31PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 22, 2023 12:49AM |
Admin Registered: 13 years ago Posts: 18,900 |
Quote
Updated 21 Oct 2023:
Kernel 6.6.2-mvebu-tld-1 package has been uploaded.
New/Updated in this release:
- General kernel upgrade.
- Fixed NAND driver problem for ZyXEL NAS326. This was the indirect cause for the random MAC address issue.
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 24, 2023 08:54PM |
Registered: 11 months ago Posts: 7 |
Re: Issues after Linux Kernel 6.5.7 MVEBU (Zyxel 326) November 25, 2023 12:20AM |
Admin Registered: 13 years ago Posts: 18,900 |