Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

after upgrade packages hung #4

Open
d51r3verse opened this issue Apr 28, 2020 · 1 comment
Open

after upgrade packages hung #4

d51r3verse opened this issue Apr 28, 2020 · 1 comment

Comments

@d51r3verse
Copy link

d51r3verse commented Apr 28, 2020

Installed https://github.com/songchenwen/nanopi-r2s/releases/download/FwF-2020-04-28-29cf7e9/FwF-2020-04-28-29cf7e9-ROM.zip

opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade then reboot,

Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.865417] phy phy-ff450000.syscon:[email protected]: charger = USB_CDP_CHARGER
[    8.867518] urandom_read: 2 callbacks suppressed
[    8.867534] random: procd: uninitialized urandom read (4 bytes read)
[    9.919914] mount_root: mounting /dev/root
[    9.958287] urandom-seed: Seeding with /etc/urandom.seed
[    9.996799] procd: - early -
[    9.997218] procd: - watchdog -
Failed to connect to ubus
grep: /sys/class/sunxi_info/sys_info: No such file or directory



reset switch not works at all, no luck with fail-safe mode[f] then firstboot[ I don't know how full reset( configurations still alives ) ]
Manually enabled interface then reflash again.

ip link set dev eth0 up
udhcpc -i eth0
echo 'nameserver 8.8.8.8' >> /etc/resolv.conf
wget --no-check-certificate https://raw.githubusercontent.com/songchenwen/nanopi-r2s/master/scripts/fw_update.sh
chmod +x fw_update.sh
./fw_update.sh https://github.com/songchenwen/nanopi-r2s/releases/download/FwF-2020-04-28-29cf7e9/FwF-2020-04-28-29cf7e9-ROM.zip
#add `--no-check-certificate` in `fw_update.sh`
  1. opkg upgrade prohibitted? ( I think one of following updated package causing issue : procd or rpcd or uhttpd or uhttpd-mod-ubus)
  2. sometimes debug stty weird( can't Ctrl+C , 'Ctrl+D' or Ctrl+Z , Ctrl+\ in both xterm, linux TERM ) : eg ping, after 'vim' terminal size back to 24x80
  3. If I install luci-app-ttyd in this ROM, I can not access luci until remove ttyd.
@songchenwen
Copy link
Owner

Ooooops, I don't have any clue. I think we should avoid opkg upgrade for now. So many weird issues. Maybe I'll try Chuck's new kernel when I have time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants