jason1, > The issue is resolved. > I indeed did what the log suggested, logged in as > root in emergency mode, changed rootfs to > writable, opened /etc/fstab and commented out the > line with the uuid of old drive, saved the file, > and after a reboot the system booted up normally > and I had access to ssh. :-) Cool! > For future stability when replacingby bodhi - Debian
Roger, > Thank you very much for your reply. I tried your > tip to create USB rootfs using > Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 > and method 1, but unfortunately the output hangs > again at Kernel: Note this step in the rootfs installation Quotehttps://forum.doozan.com/read.php?2,12096 4. (Stock u-boot only) Create uImage with embedded DTB for bootingby bodhi - uBoot
Also try, Bring the USB rootfs to another Linux box and check the file system. If the USB drive is assigned /dev/sdb, e2fsck /dev/sdb1by bodhi - Debian
jason1, Your system has booted OK. The USB rootfs has been mounted > Welcome to Debian GNU/Linux 12 (bookworm)! Debian is running. But systemd has some problem. > You are in emergency mode. After logging in, type > "journalctl -xb" to view > system logs, "systemctl reboot" to reboot, > "systemctl default" or "exit" > to booby bodhi - Debian
Joe, > If I move /var/log to an ext3 formatted usb > drive will it reduce the sata drive access and > allow it to sleep after long periods of > inactivity? It's hard to completely eliminate all disk activity on the rootfs. Even with /var/log mounted on another disk, there might be read access to the rootfs while the system is running. You could try, but it's noby bodhi - Debian
jason1, > I have a NAS326 running > Debian-6.6.2-mvebu-tld-1-rootfs-bodhi.tar.bz2 (16 > Dec 2023) on USB, and a 2TB HDD drive in slot one. > My plan is to replace the 2TB drive with two 12TB > drives and run Raid1 on it. > > A few days ago I added a second disk in slot 2, to > prepare for Raid. After I copied all the data from > disk1 to disk2, I replaced dby bodhi - Debian
Roger, You don't really need another u-boot to boot from the USB rootfs. You just need to follow the instruction here: QuoteBooting Kirkwood SoC NAS with stock u-boot https://forum.doozan.com/read.php?2,139998 Create USB rootfs using Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 from the release thread. And use method 1 Quote1. Booting with stock u-boot that supports usb, exby bodhi - uBoot
Maarten, Sounds like a good plan. BTW, please convert your log files to .txt before posting here.by bodhi - Debian
Roger, > For my HMEZ, I need a file such as: > • u-boot-ix2-200.kwb > • u-boot-ix1-spi.kwb > • u-boot-hmnhd.kwb > • or, more generally, an SPI boot loader for > 88F6282 > Can you provide me with one? I don't have any of the u-boots listed above. You can try these u-boots from the release thread: Quotehttps://forum.doozan.com/read.php?3,12381 2by bodhi - uBoot
Roger, Sounds like you need to connect serial console and try to boot as described here: Booting Kirkwood SoC NAS with stock u-boot https://forum.doozan.com/read.php?2,139998 ====== That specific kernel you are looking for is here: https://forum.doozan.com/read.php?2,12096by bodhi - uBoot
> so this should also view on 115200 baud? Of course, this box only works with 115200.by bodhi - uBoot
Sash, I'm not "expecting" but hoping to see if we can trick the BootROM. As mentioned, if somehow the strapping register was corrupted, it could be stuck trying to read an unsuported source.by bodhi - uBoot
MaartenJD, > Might the cause of this issue have something to do > with the link-down fix (at 4.92 seconds, hardware > or driver related) > > ifupdown-pre.serv… synchronize boot up for > ifupdown > > at 40.53 seconds or is it systemd-related (e.g > wrong commands, dependencies or sequences)? It's systemd. Looks like the init sequence has a lot moreby bodhi - Debian
@tmcatalin, > I see on some tutorials the move/install of rootfs > into HDD. Doesn't this prevent HDD to spin-down? Yes. When the rootfs is on an HDD, you can't spin down that HDD. Logging and other activities will bring it back active frequently, so there is no point to put it to sleep. HDD rootfs is for systems that actively running applications and optimum performane isby bodhi - Debian
Jader, > 1) How / where should I run the commands > 2) what exactly they will do. > > on separated folder, download > https://forum.doozan.com/file.php?2,file=6518,filename=uboot.2022.04-tld-1.m300.bodhi.tar > uncompress to get > uboot.2022.04-tld-1.m300.mtd0.kwb file Yes. Also the Linux host OS usually already has its own kwboot which can be used too. Theseby bodhi - Debian
> I installed systemd earlier. And th question is > does this installation process (with sysv init > remove step) save for my system? I'm not so > qualified, so could you help me with that > question? I'm not using systemd for any of these small embedded devices, and therefore not using cockpit. So I'm not the best person to answer this question.by bodhi - Debian
> Thank you for the detailed explanation. One more > thing, is it possible to create 2 partitions on > one USB drive? Like this, first one - /boot, and > the second one is / ? Indeed. 2 partition USB drive is the ideal set up. After you've create 2 partitions, the process is basically the same, but with the following requirements. - The BOOT (or whatever name you chooseby bodhi - Debian
To boot with kernel on and Ext3/Ext4 drive and rootfs on F2FS rootfs. Assuming you've already booted the USB drive on the NAS (with instruction in this forum). Shutdown. On another Linux host. Attach both USB drives. Assuming the USB rootfs is assigned /dev/sdc, and the F2FS rootfs drive is assigned /dev/sdb. 1. Create new rootfs on the F2FS drive /dev/sdb1 (like you did for the USBby bodhi - Debian
Jader, Run kwboot as described in this example: https://forum.doozan.com/read.php?3,51739,51919#msg-51919 Use the latest M300 u-boot image (uboot.2022.04-tld-1.m300.mtd0.kwb) here: https://forum.doozan.com/read.php?2,61344,131916#msg-131916by bodhi - Debian
> WRT USB stick it is just a plain usb stick, flash > drive, no HDD. > > I didn't use the 12TB as a boot drive, just as > storage. I still use the USB for boot and rootfs > drive. Cool! I think the USB rootfs is quite versatile. Easier to make backup, and easier to administer your box remotely (if you do).by bodhi - uBoot
Ivan, > Great! I have flashed the last uBoot. > Is there anything else to investigate for DS211? I think we can declare victory here! > For the USB it seems that a specific USB stick I > was using was not being detected properly during > uBoot, others are fine. But as you mentioned it is > not the best idea to use the USB stick / drive for > swap. In the log,by bodhi - uBoot
Ivan, Ah OK. Looks good. Thanks!by bodhi - uBoot
> Or you want to say, that CPU is too weak? RAM is the reason. > Could you at least specify, at which topic should > I look for the info about Samba? The one I've just posted above should improve Samba performance. The default for vm.min_free_kbytes in Debian is usually the lowest common denominator. And how much you can allocate is depending on the amount of RAM. Rby bodhi - Debian
See this Wiki tutorials. QuoteMemory & Swap Settings Tuning for low RAM boxes - System and HDD performance.by bodhi - Debian
> 1) What do you think about zram? Should I > configure it for N2350 ? It 's really depending on what you'll use the box for. > 2) Is it possible to enable LAN LEDs ? LAN LEDs > don't work on the front panel and on LAN port > also. I configured other leds, but can't find out > how to enable LAN LED. I've not paid any attention to LAN LEDs (nby bodhi - Debian
Sash, Try this test. Connect serial console, but don't run kwboot. Run a normal serial console (i.e. minicom/picocom). Don't power up yet. - On the NSA325 header, unplug the RX pin, and keep the TX and GND connected. - Power up and within 0.5 - 1.0 second, plug in the RX pin. - If nothing came out of serial console, power down. Try again with a different wait time, e.g. 0.2by bodhi - uBoot
tiaderosa, > I am trying to enable the power button on my > Netgear Stora MS2000. The kernel already has support for this Stora key (i.e. button) control. See the tutorial in the Wiki thread for how to set up esekeyd. Quotehttps://forum.doozan.com/read.php?2,23630 Key daemon (button control) Multimedia keyboard daemon for Linux How to use set up button to reboot or shuby bodhi - Rescue System
Ivan, > > > That's great, can I have btrfs support please? > It will indeed take a while. There is a problem in u-boot that should be fixed before we can build with BRTFS for this DS211 and other Kirkwood boxes. The DS116 and N2350 which is Armada 38x, can be built with BTRFS, no problem.by bodhi - uBoot
> I tried everything - filesystems from ext2 till > ext4, and volume size from 32Gb till 4Gb. But it > didn't help. > > fdisk /dev/sdd > n > p > 1 > Enter > Enter > w We usually do the "O" command to wipe the disk partition(s) first. And this wipe resets the partition table. fdisk /dev/sdd o n p 1 Enter Enter w > Nowby bodhi - Debian
Nikola204, > Sooooo....I made it! Now I'm looking at the > Debian's console, but the problem was in USB > Drive! I changed USB 3 to USB 2 drive and did the > same steps according to the manual. And now > everything works! You must have some misstep somewhere. If I had set the env to use USB 3.0 then it did work for me. How did you create the partiton on theby bodhi - Debian