Hi bodhi, that looks like the problem. Moving the swap to the location below seems to boot slightly faster also # <file system> <mount point> <type> <options> <dump> <pass> LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0 UUID=a5d66be4-4057-43e9-9e70-d0e5by Rhodess - Debian
I have 2 SanDisk Cruzer Fit USB's. I use an 8Gb as the rootfs, and the second (16Gb) where I have the swapfile and logs. I made all those changes for swappiness and vm.min_free_kbytes, per the previous post. I assume this is the usb with the swapfile (device number 2) that's causing the issue [ 445.258441][ T98] usb 1-1: reset high-speed USB device number 2 using orion-ehciby Rhodess - Debian
Hi bodhi, Occasionally, I try to ssh to Debian and find it locked up for some reason. When I reboot and monitor the boot sequence using screen over the serial input, I see its frozen. Below is from a frozen boot. U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: MVEBU_MMC: 0by Rhodess - Debian
Thanks, i'll try that for now, and maybe later look at mounting on the other USB and use logrotate. I was thinking doing something like this: mkdir -p /media/data/log/ cp -aR /var/log/* /media/data/log mount -o bind /media/data/log /var/log cp /var/webmin/miniserv.log /media/data/log/ mount -o bind /media/data/log/miniserv.log /var/webmin/miniserv.log and then adding something inby Rhodess - Debian
Thanks bodhi, I did all that and it's much better. I have one more question, I have webmin installed and the gui is pretty slow at loading, also when I try to look at the log file, everything gets garbled as shown below: root@debian:~# cat /var/webmin/miniserv.log 10.0.1.126 - - [22/Jan/2021:23:35:03 -0800] "¸H4ò5tâ“ "GET / HTTP/1.1" 401 4853 10.0.1.126 - - [22/Jaby Rhodess - Debian
All seems to be good now bodhi, I assume that I need to add the vm.min_free_kbytes = 16384 to the /etc/sysctl.conf to survive reboots correct?by Rhodess - Debian
Hi bodhi, Here is what I currently have: root@debian:~# free -h total used free shared buff/cache available Mem: 112Mi 94Mi 1.0Mi 0.0Ki 16Mi 13Mi Swap: 1.0Gi 73Mi 950Mi root@debian:~# swapon NAME TYPE SIZE USED PRIO /media/data/swapfile.img file 1024M 91M -2 rootby Rhodess - Debian
Thanks bodhi. I just made another post regarding memory limitations. I think I'll restore my original image and then spend time setting up the swapfile and the udev mounts first, and ensure I have a stable system with optimized memory. I think the issues I'm seeing are trying to run before I can walk, trying to do too much too fast. Essentially, all I want is to be able to plug iby Rhodess - Debian
Hi bodhi, Are there practical limits on these upgrades for things like the PopoPlug E04 due to the memory size? When I go through the forum posts, memory issues never seem to be mentioned, as though it's never an issue. However, I see on this device, even with a swap file, that all the memory is consumed on some occasions. A typical example, even after enabling a swapfile and movingby Rhodess - Debian
What's the best way to make a mount point? I'm booting Debian from sda and created my swapfile on sdb1, everything seems fine except it doesn't survive a reboot. It's probably a misunderstanding on my part, but I assumed that once Debian booted up, that I wouldn't have to manually create mount points for anything mounted in the USB ports. I thought Debian would take cby Rhodess - Debian
I didn't have the swap in /etc/fstab, so I just added it (and mounted the USB that it sits on): root@debian:/# echo "/media/data/swapfile.img none swap sw,nofail 0 0" >> /etc/fstab root@debian:/# cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> LABEby Rhodess - Debian
WOW! What a difference that makes, It's running great now. I imaged my SD card to a USB and then extended the partition also. Here's my dmesg, it looks like I was running out of memory root@debian:/# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #by Rhodess - Debian
Thanks bodhi, I created a swapfile on another USB using this post Swapfile on disk, so I may try and log to that later, in the meantime I will create in /tmp as per your suggestionby Rhodess - Debian
Are there any caveats to this? I'm booting my pogo from a 4Gb SD card and webmin seems to just grind everything to a halt almost. I had to set ssl=0 in the /etc/webmin/miniserv.conf file before it would even start. When it does start it's really slow, I can count the seconds between command and response to ssh commands while it's running. If I issue a top command it doesn'tby Rhodess - Debian
awesome, thanks for all your help. It's been a good learning experienceby Rhodess - uBoot
One further question bodhi, Assuming all goes well, does that mean I should stay on version 5.2.9, or would I be free to upgrade to the latest 5.9.12? I'm not planning to get too far ahead of myself, just curious as to the limitations with the current hardware and u-boot and also a little confused on the opening post statement in Linux Kernel 5.9.12 Kirkwood package and Debian rootfs sincby Rhodess - uBoot
Hi bodhi, I have restored my original uImage, so I'm ready to reboot and just wanted to ensure I'm good. I don't think I need to setup netconsole if I have my serial connection and for uenvs.txt in step C, I can add that later if needed correct? I see the pogo options are gone from the boot cmd, so does that mean it will not boot at all without anything plugged in? Beloby Rhodess - uBoot
Thanks bodhi, I have no preference really, either Arch or Debian. My main goal was to boot from the sd card, the assumption being that the port is less likely to be used vs the USB ports. so once I have it all running properly I intend to image the flash card for recovery/backup incase my sd card gets damaged, and also have it boot native, but without all the pogo services running. Readingby Rhodess - uBoot
I'm in! The changes you gave me allowed it to boot up, so I'm now into Debian. Heres my print_env: arcNumber=3960 baudrate=115200 bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot bootcmd_pogo=if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtdby Rhodess - uBoot
Hi bodhi, Its currently stuck at booting the kernel: U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 MMC rescan: current device # 0 initialized OK 4973642 bytes read in 1699 mby Rhodess - uBoot
Hi bodhi, I just read through your post and to ensure I don't mess anything up, do I need to flash back to factory first, or am I OK to do this with my existing uboot?by Rhodess - uBoot
Thanks bodhi, I’ll read up on what I need to do to go that route then. Thanks for your patienceby Rhodess - uBoot
No luck bodhi, I used a SanDisk USB and a PNY 4GB full-size flash card, and I booted from both. I get a kernel panic in both cases but both look to be different issues. The flash card gives the VFS read error, but the USB gives the same error as the SanDisk flash card I used the other day Here is the USB log: U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45) Pogoplug V4 SoC: Kirkwood 88by Rhodess - uBoot
Hi bodhi, I’m using an 8Gb SanDisk micro SD with adapter. I do have a Kingston 4Gb full size card though, so I can try that and also USB. Thanks for the updateby Rhodess - uBoot
Well I thought I had it bodhi, It started to load up the kernel and then crashed. Once it hits this point it just hangs in a loop "40.219591] Exception stack(0xc7841d10 to 0xc7841d58)" Here's my serial output: U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdioby Rhodess - uBoot
bodhi Wrote: ------------------------------------------------------- > Rhodess, > > > Mount the SD card rootfs on another Linux box like > you did. Assuming it is mounted at > /media/rhodess/rootfs. > > > cd /media/rhodess/rootfs/boot > > > > Get the file name of this Pogolug V4 DTB file > > ls -l ./dtbs/*pogo* > > Assumingby Rhodess - uBoot
Hi bodhi, Almost there! It looks like its loading, but now I'm getting a kernel panic and it crashes U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 MMC rescan: curby Rhodess - uBoot
Thanks bodhi, I will try that tomorrow night after workby Rhodess - uBoot
Thanks bodhi, I appreciate the helpby Rhodess - uBoot
Here is what I get from that: rhodess-HP rhodess # cd /media/rhodess/rootfs rhodess-HP rootfs # ls -lart ./rootfs ls: cannot access './rootfs': No such file or directory rhodess-HP rootfs # ls -lart ./boot total 12876 drwxr-xr-x 18 root root 4096 Dec 31 1969 .. -rwxr-xr-x 1 root root 4955992 Aug 8 23:27 zImage drwxr-xr-x 3 root root 4096 Aug 9 13:54 . -rw-r--r-- 1by Rhodess - uBoot