Broken symlinks in kernel headers

Post Reply
rohezalzal
Posts: 28
Joined: Mon Apr 15, 2024 10:13 pm
languages_spoken: english
ODROIDs: odroid ultra go
Has thanked: 3 times
Been thanked: 1 time
Contact:

Broken symlinks in kernel headers

Post by rohezalzal »

/mnt/ssd/odroid-gou/github.linux does not exist. how can i fix this?

Code: Select all

odroid@gou:/lib/modules/4.9.277+$ file build 
build: broken symbolic link to /mnt/ssd/odroid-gou/github.linux

Code: Select all

lrwxrwxrwx 1 odroid odroid     32 Jan  9  2023 build -> /mnt/ssd/odroid-gou/github.linux
drwxrwxr-x 8 odroid odroid   4096 Jan  9  2023 kernel
-rw-r--r-- 1 root   root   459873 Apr 24 14:16 modules.alias
-rw-r--r-- 1 root   root   469162 Apr 24 14:16 modules.alias.bin
-rw-rw-r-- 1 odroid odroid  20641 Jan  9  2023 modules.builtin
-rw-r--r-- 1 root   root        0 Apr 24 14:16 modules.builtin.alias.bin
-rw-r--r-- 1 root   root    21743 Apr 24 14:16 modules.builtin.bin
-rw-r--r-- 1 root   root   102705 Apr 24 14:16 modules.dep
-rw-r--r-- 1 root   root   158595 Apr 24 14:16 modules.dep.bin
-rw-r--r-- 1 root   root      211 Apr 24 14:16 modules.devname
-rw-rw-r-- 1 odroid odroid  50864 Jan  9  2023 modules.order
-rw-r--r-- 1 root   root       82 Apr 24 14:16 modules.softdep
-rw-r--r-- 1 root   root   159518 Apr 24 14:16 modules.symbols
-rw-r--r-- 1 root   root   200362 Apr 24 14:16 modules.symbols.bin
lrwxrwxrwx 1 odroid odroid     32 Jan  9  2023 source -> /mnt/ssd/odroid-gou/github.linux

User avatar
odroid
Site Admin
Posts: 42478
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3705 times
Been thanked: 2079 times
Contact:

Re: Broken symlinks in kernel headers

Post by odroid »

Which OS image have you flashed?
Did you build a custom kernel by yourself?

rohezalzal
Posts: 28
Joined: Mon Apr 15, 2024 10:13 pm
languages_spoken: english
ODROIDs: odroid ultra go
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Broken symlinks in kernel headers

Post by rohezalzal »

I think the standard 1.2 image from the wiki. Kernel is afaik kernel 4.922, so I assume Ubuntu 18.04. Since the eemc space is limit, I can understand that the headers were move to somewhere extern. But where can I download them? I want to use an RTL8811AU usb nano wifi stick (TP-Link Archer T2UB Nano AC600 Nano Wi-Fi Bluetooth) and I assume i will need aircrack ng for it.

rohezalzal
Posts: 28
Joined: Mon Apr 15, 2024 10:13 pm
languages_spoken: english
ODROIDs: odroid ultra go
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Broken symlinks in kernel headers

Post by rohezalzal »

Btw. can these images work, since they are SD card only?

https://sd-card-images.johang.se/boards ... ultra.html

rohezalzal
Posts: 28
Joined: Mon Apr 15, 2024 10:13 pm
languages_spoken: english
ODROIDs: odroid ultra go
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Broken symlinks in kernel headers

Post by rohezalzal »

It is this kernel:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 4.9.277+ aarch64)

But since this stick works out of the box, I am fine: TP-Link Archer T2U Nano AC600 USB

User avatar
odroid
Site Admin
Posts: 42478
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3705 times
Been thanked: 2079 times
Contact:

Re: Broken symlinks in kernel headers

Post by odroid »

rohezalzal wrote:
Tue May 14, 2024 11:19 pm
Btw. can these images work, since they are SD card only?

https://sd-card-images.johang.se/boards ... ultra.html
I have no idea since normally we don't try 3rd party OSes.

crashoverride
Posts: 5874
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 651 times
Contact:

Re: Broken symlinks in kernel headers

Post by crashoverride »

rohezalzal wrote:
Sun May 12, 2024 5:09 pm
/mnt/ssd/odroid-gou/github.linux does not exist. how can i fix this?
This is not a path that is used during image production or kernel packaging. It appears a custom kernel was installed (make install) and the resulting symlinked path was created.

rohezalzal
Posts: 28
Joined: Mon Apr 15, 2024 10:13 pm
languages_spoken: english
ODROIDs: odroid ultra go
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Broken symlinks in kernel headers

Post by rohezalzal »

Hmmm, maybe i flashed the wrong image? But since the wifi stick is working out of the box, I am fine with no kernel headers :)

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest