The same happened to me and a backup saved me. I guess the best is starting a fresh new install but it takes longer time to have it working as it is now. Anyhow I will do it on a new disk from front USB.by miazza - Debian
I think this is the right discussion where to continue my little issue. I see that netconsole makes 5 ping waiting for nc to connect: preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi In my NSA 325 with latest 2023.04 U-Boot Kirkwood (but also with the previouby miazza - uBoot
Smej Wrote: ------------------------------------------------------- > Hello , > > i am trying to convert my NSA325v2 to Debian > system. > So in order to be sure i would like to test if the > system can handle > > uboot.2023.04-tld-1.nsa325.kwb > > unfortunately if i use > > sudo kwboot -t -B 115200 /dev/ttyUSB0 -b > uboot.2023.04-tld-1by miazza - uBoot
Thank you bodhi. New u-boot now flashed and working. I have now a dedicated PI close to the NAS that I can switch on only when I need the Serial Console (quite expensive serial console :)). netconsole is easier and cheaper :)by miazza - uBoot
OK. Now it boots correctly: NSA325> boot Initializing devices... starting USB... Bus ehci@50000: USB EHCI 1.00 Bus xhci_pci: Register 4000820 NbrPorts 4 Starting the controller USB XHCI 0.96 scanning bus ehci@50000 for devices... 2 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Loaby miazza - uBoot
Ok. I powerd off 192.168.1.19 and now: U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 Model: ZyXEL NSA325 DRAM: 512 MiB Core: 19 devices, 15 uclasses, devicetree: separate NAND: 128 MiB Loading Environment from NAND... OK Resetting console stdin/stdout/stderr to serial... In: serial Out: serial Err: seby miazza - uBoot
The netconsole at 192.168.1.19 is on a different pi from the one where I have the serial consol (192.168.1.254). I have started the netconsole as you said but I cannot see any countdown: pi@Raspberrypy-4:~ $ nc.traditional -lup 6666 192.168.1.200 6666 U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700) ZyXEL NSA325 2-Bay Power Media Server It remains stuck at this point and I cannot dby miazza - uBoot
I have tried this new U-Boot with the UART serial kwboot. The result is this: SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Using egiga0 device host 192.168.1.19 is alive Using egiga0 device host 192.168.1.19 is alive Using egiga0 device host 192.168by miazza - uBoot
Hello all, my 325 is running Debian as below debian 192.168.1.5 ZyXEL NSA325 Linux version 6.6.3-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2 .0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Tue Nov 28 23:25:58 PST 20by miazza - Debian
As far as I remeber the 325 fan has only two wires so I don't think it can be controlled in RPM. I think the only way is to change the supply voltage via its controller board as a function of the internal temperature.by miazza - Debian
Every time I write something on this forum I learn something. Thank you !by miazza - Debian
bodhi Wrote: ------------------------------------------------------- > You could also create a folder and move them > there > > > cd /boot > mkdir -p kernel > mv -i linux-image-*.deb *.tar *.bz2 ./kernel > Why not. the point here is that at every kernel update the mess inceases :)by miazza - Debian
Thank you. I supposed it was like that but I wanted to be sure. Everything went smooth. In the boot folder now I have a mess of files: config-5.17.4-kirkwood-tld-1 linux-5.17.4-kirkwood-tld-1.patch uEnv.txt zImage-5.13.6-kirkwood-tld-1 .. dts linux-dtb-5.17.4-kirby miazza - Debian
By default in rootfs the function to shutdown when pressing the power button is present (I did not do anything and this feature is present since the beginning). I tried to find out where this is coming and I found the button-switch.sh that is ecactly this script. However I cannot manage to have the halt or the reboot (I tried different timing for the pressing but it always shutdown and never rby miazza - Debian
I'm trying to update my kernel following the instructions Updated 27 Apr 2022. At the point 3 I get the error that flash-kernel is not installed: root@debian:/boot# apt-get remove flash-kernel Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'flash-kernel' is not installed, so not removed 0 upgraded, 0 newly instaby miazza - Debian
Thank you to all. I tried both and they both have worked fine. miazzaby miazza - Debian
I've seen you anwer too late, I forgot to tick the e-mail for reply :) Yes, of course I need to manually mount sata-rootfs before to tar. I'm doing it right now and it seems to work... tar process running and bz2 file is growing in the destination. Indeed can I make a live tar as for your post without having any problem during the tar process ?by miazza - Debian
Hollo everyody. I have read all the wiky for the back-up but I have not found a wicky for a Backup rootfs using tar command from SATA to USB without dismounting the HD (there is a similar one for cloning but I would prefer a tar file). Before to make the wrong thing I would like to ask if this will work: 1) boot as normal with last u-boot from SATA rootfs 2) change rootfs LABEL to SATA_roby miazza - Debian
My net console seems to be no properly working. I've sent the following: fw_setenv serverip 192.168.1.19 (my pi fixe IP) fw_setenv ipaddr 192.168.1.200 (free IP in the dhcp) I sent the command: nc -l -u -p 6666 I made a reboot and I only get the following: root@Raspberrypy-4:/home/pi# nc -l -u -p 6666 U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700) ZyXEL NSA325by miazza - uBoot
bodhi Wrote: ------------------------------------------------------- > miazza, > > As I mentioned, > > > If you had installed u-boot to NAND, you would not have this problem. > > I think it is time to flash it for real. Just make sure you save the stock mtd0 as instructed, so you can restore back to stock when and if you > > decide to do that.. Yes ,by miazza - Debian
Hello bodhi, I have tried to modify uEnv.txt as from you suggested: root@debian:~# cat /boot/uEnv.txt devices=ide usb disks=0 1 2 3 4 5 6 7 ethaddr=EC:43:F6:40:84:91 custom_params=init=/bin/systemd load_dtb_addr=0x2c00000 But it seems u-boot still looks only at USB for loading uEnv.txt loading envs from usb 0 ... ** Bad device usb 0 ** Here the full boot log: U-Boot 20by miazza - Debian
And finally I found the trick: It seems that the u-boot is not automatically loading the uEnv.txt from the IDE drive. I made: setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd' and now systemd is back working as well as all the other stuff. Now the question is why uEnv.txt is not loaded automaticcally from u-boby miazza - Debian
Thank you bodhi... also for your patience :) Now I have no access to the NAS (I'll be away few days for Easer). I will apply all your advise when come back. The tricky point is the systemd initialization. For the USB rootfs I relied in the uEnv.txt that is loaded during UART Boot : custom_params=init=/bin/systemd The same uEnv. txt is saved in the SATA rootfs (it is a back-upby miazza - Debian
bodhi Wrote: ------------------------------------------------------- > =============== > > This rootfs is a very small rootfs, with only > necessary packages installed. It's a learning > vehicle for beginners, and a minimal rootfs for > advanced users to configure as they like. It is > not a full and heavy system like Ubuntu. If you > don't like gettinby miazza - Debian
Hello bodhi, when booting from USB rootf is perfectly working with systemd installed according to intruction from the forum and everything works smooth, buttons, led, samba , systemd. See attached log. U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB *** Warninby miazza - Debian
This is the full log: pi@Raspberrypy-4:~ $ sudo su root@Raspberrypy-4:/home/pi# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................]by miazza - Debian
I made a system back-up with the tar procedure of the USB rootfs and installed it in the first partition of the SATA HD in bay 2. SATA HD is made of two partitions: . 1 ext3 15 G for the rootf - 2 ext 3 52 G for data storage I restored the tar in partition 1 above and I labelled it as rootf- I unplugged the usb rootfs I rebooted in UART mode System started as expected but several probleby miazza - Debian
This is what happened: root@debian:~# e2fsck /dev/md0 e2fsck 1.46.2 (28-Feb-2021) /dev/md0 has been mounted 291 times without being checked, check forced. Pass 1: Checking inodes, blocks, and sizes Inode 78121674 extent tree (at level 1) could be shorter. Optimize<y>? yes Inode 78122555 extent tree (at level 1) could be shorter. Optimize<y>? yes Inode 78122582 extent treeby miazza - Debian
It seems that the MAC is correct now: ifconfig -a eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.104 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::ee43:f6ff:fe40:8491 prefixlen 64 scopeid 0x20<link> ether ec:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) RX packets 298 bytes 33624 (32.8 KiB) RX eby miazza - uBoot
habibie Wrote: ------------------------------------------------------- > Do you see the above last line with a warning? It > recommends you to manually clean your partition > table (that may already be dirty). Just run > e2fsck device where the device is the > partition. Do a man e2fsck to find out more > information what this utility can do. For me, I > just usuallyby miazza - Debian