Rock64 no longer boots after dist-upgrade
#10
(06-16-2018, 07:10 AM)evilbunny Wrote:
(06-16-2018, 06:12 AM)KernelPanic Wrote: mmcblk1 = sdcard
mmcblk0 = emmc

So am I right in saying it mounts the wrong efi by default?


That happens because images use the same partition titles, you could try changing the fstab to which ever device you want mounted.

Quote:Everything is working as before except for openvpn which can't initiate a connection anymore
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)


try apt-get --reinstall install openvpn

If that doesn't work, it may be your openvpn config loading from the wrong partition


I think I figured it out after some more digging.  I'll post what I did here in case it might help someone else.

I think because I copied a kernel from the SDcard that I wasn't using before on emmc I am still missing some files I would've gotten with a normal install of the kernel. (In this case the modules in /lib/moduiles). 
Code:
sudo modprobe tun
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.120-rockchip-ayufan-209/modules.dep.bin'
modprobe: FATAL: Module tun not found in directory /lib/modules/4.4.120-rockchip-ayufan-209
                                                                                                                                                                                                                                        -ayufan-209
cd /lib/modules/
/lib/modules$ ls -l
total 16
drwxr-xr-x 3 root root 4096 May 13 13:54 4.4.120-rockchip-ayufan-213
drwxr-xr-x 3 root root 4096 Jun 16 01:41 4.4.126-rockchip-ayufan-239
drwxr-xr-x 3 root root 4096 Jun 12 21:37 4.4.126-rockchip-ayufan-260
drwxr-xr-x 3 root root 4096 Apr 11 14:27 4.4.77-rockchip-ayufan-136

So I purged all the kernels and reinstalled the 213 kernel. After a reboot modprobe now doesn't return any more errors and OpenVPN works again.

Thanks!
  Reply


Messages In This Thread
RE: Rock64 no longer boots after dist-upgrade - by KernelPanic - 06-16-2018, 11:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 - not booting after Armbian update helpmerock 6 1,270 03-27-2025, 08:26 AM
Last Post: wdt
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 8 2,994 01-25-2025, 12:57 PM
Last Post: mara
  can rock64 4gb ram run entirely on free software? heocb 1 682 01-07-2025, 05:47 AM
Last Post: KC9UDX
  Upgrading ancient Rock64 timxjr1300 1 754 11-26-2024, 09:47 AM
Last Post: dmitrymyadzelets
  arch rock64 does not boot nemnob 1 1,690 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 57,298 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 91,147 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 2,681 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 1,122 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,806 11-21-2023, 08:33 AM
Last Post: as365n4

Forum Jump:


Users browsing this thread: 1 Guest(s)