On Wed, Feb 14, 2018 at 2:21 PM, Jeff Andich <[email protected]> wrote: > Nuking sysctl -n vm.min_free_kbytes in functions.sh::prepare_environment() > gets rid of that problem, but script chokes on the next step, determining > root drive, apparently due to issues with presence of proc at this point.. > > # echo_broadcast "==> Preparing sysctl" > # value_min_free_kbytes=$(sysctl -n vm.min_free_kbytes) > # echo_broadcast "==> sysctl: > vm.min_free_kbytes=[${value_min_free_kbytes}]" > # echo_broadcast "==> sysctl: setting: [sysctl -w > vm.min_free_kbytes=16384]" > # sysctl -w vm.min_free_kbytes=16384 > # generate_line 40
This now checks for: /proc/sys/vm/min_free_kbytes https://github.com/RobertCNelson/boot-scripts/commit/89f2e9309c2322c15e2bb6b55afd214313d94842#diff-c483633eab46489e55e2e391823018ad > > ================================================================================ > Checking running system > ==> Copying: [/dev/mmcblk0] -> [/dev/mmcblk1] > ==> lsblk: > ---------------------------------------- > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > mmcblk1boot0 179:16 0 4M 1 disk > mmcblk1boot1 179:24 0 4M 1 disk > mmcblk0 179:0 0 29G 0 disk > `-mmcblk0p1 179:1 0 846M 0 part / > mmcblk1 179:8 0 3.6G 0 disk > `-mmcblk1p1 179:9 0 3.6G 0 part > ---------------------------------------- > ==> df -h | grep rootfs: > ---------------------------------------- > modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not > open moddep' > ==> Giving you time to check... Humm.. Maybe you need to boot once.. Run: sudo depmod -a might as well run, this too... sudo update-initramfs -ck `uname -r` or sudo update-initramfs -uk `uname -r` then, shutdown and try to flash it.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhYsMvkJxZnfwr4fDae4r7yG4C9DWaSfJZ1t6H6cG36Vw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
