songchenwen / nanopi-r2s

Openwrt for Nanopi R2S 固件编译
373 stars 92 forks source link

after upgrade packages hung #4

Open d51r3verse opened 4 years ago

d51r3verse commented 4 years ago

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:usb2-phy@100.0: 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 commented 4 years ago

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.