Ubuntu 24.04, kernel 6.6 for N2/N2L

Post Reply
mdrjr
Site Admin
Posts: 12143
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 10 times
Been thanked: 167 times
Contact:

Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by mdrjr »

Hello everyone!

This is Ubuntu 24.04 with Kernel 6.6 for ODROID-N2/N2Plus/N2L
Mate images runs with Panfrost GPU acceleration!

Download links: https://odroid.in/ubuntu_24.04lts/

Its known that in some cases after first boot it won't resize the filesystem by itself.
It happens to you, run this command:
sudo /bin/bash -c "$(curl -sL https:/deb.odroid.in/resize.sh)"
Screenshot at 2024-06-18 16-53-41.png
Screenshot at 2024-06-18 16-53-41.png (2.14 MiB) Viewed 620 times
These users thanked the author mdrjr for the post (total 2):
odroid (Wed Jun 19, 2024 9:17 am) • zyssai (Sun Jun 23, 2024 10:52 pm)

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

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by odroid »

Great!
Are you using this branch for the Linux kernel sources?
https://github.com/hardkernel/linux/com ... oid-6.6.y/

I have one more question. How long does it take to boot from power on until the Mate desktop GUI comes up?
I would like to know the boot time based on disabling Petitboot and using eMMC as a boot media.

mdrjr
Site Admin
Posts: 12143
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 10 times
Been thanked: 167 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by mdrjr »

Yes, that's the correct place for the kernel sources.

First boot is ~90 seconds to desktop.

Normal boot time ~50 seconds to desktop.

usual user
Posts: 143
Joined: Sat Sep 10, 2022 10:47 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 55 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by usual user »

odroid wrote:
Wed Jun 19, 2024 9:27 am
How long does it take to boot from power on until the Mate desktop GUI comes up?
Sorry, can't really compete, see
boot-analyze-odroid-n2+.pdf
(23.4 KiB) Downloaded 11 times
for reference.
Was too lazy to set up the firewalld properly, it slows down the startup significantly, and I'm running on micro-SD.

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

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by odroid »

mdrjr wrote:
Wed Jun 19, 2024 10:44 am
Normal boot time ~50 seconds to desktop.
A boot time of about 50 seconds seems to be acceptable for embedded system applications such as kiosks and control equipment.
However, it would be great if you could reduce it to about 30 seconds later when you have time.

jwilson
Posts: 84
Joined: Tue Feb 27, 2018 2:00 pm
languages_spoken: english
ODROIDs: C2, XU4, N2, N2+
Has thanked: 4 times
Been thanked: 4 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by jwilson »

Is Panfrost GPU acceleration supported for Gnome desktop? If I setup minimal 24.04, then

Code: Select all

apt install ubuntu-desktop
will the resulting desktop environment utilize Panfrost GPU acceleration automatically? Thanks.

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

Hi!

Don't know if I've done something wrong, I have no space left error on a 32gb emmc after first boot, while trying to apt update && apt upgrade.

Code: Select all

root@odroid:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           361M  1.4M  360M   1% /run
/dev/mmcblk0p2  6.6G  6.6G   12K 100% /
tmpfs           1.8G     0  1.8G   0% /dev/shm
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
/dev/mmcblk0p1  128M   21M  108M  16% /media/boot
tmpfs           361M  164K  361M   1% /run/user/119
tmpfs           361M  156K  361M   1% /run/user/0
Also, there's a strange fdisk -l

Code: Select all

root@odroid:~# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 28.91 GiB, 31037849600 bytes, 60620800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x03823826

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        2048   264191   262144  128M  c W95 FAT32 (LB/dev/mmcblk0p2      264192 14579711 14315520  6.8G 83 Linux


Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 122096646 sectors
Disk model: USB 3.0 device
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 268431360 bytes
Disklabel type: dos
Disk identifier: 0x627a1fea

Device     Boot Start       End   Sectors   Size Id Type
/dev/sda1         256 122096645 122096390 465.8G  7 HPFS/NTFS/exFAT

Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 69.22 MiB, 72581120 bytes, 141760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 246.07 MiB, 258023424 bytes, 503952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 483.33 MiB, 506810368 bytes, 989864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 33.71 MiB, 35344384 bytes, 69032 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Is it because I flashed with balenaetcher using petitboot ums /dev/mmcblk0 ?

Any help appreciated.
Last edited by zyssai on Mon Jun 24, 2024 3:16 am, edited 1 time in total.

User avatar
joerg
Posts: 2125
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4, M1, M1S
Location: Germany
Has thanked: 222 times
Been thanked: 492 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by joerg »

I think /dev/mmcblk0p2 6.6G needs to be resized?

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

joerg wrote:
Mon Jun 24, 2024 3:14 am
I think /dev/mmcblk0p2 6.6G needs to be resized?
Thanks, I tried with cli gparted but seems I cannot expand.

User avatar
joerg
Posts: 2125
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4, M1, M1S
Location: Germany
Has thanked: 222 times
Been thanked: 492 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by joerg »

Where you have tried it. On the N2 itself, or removed from N2 on your host pc?

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

joerg wrote:
Mon Jun 24, 2024 3:19 am
Where you have tried it. On the N2 itself, or removed from N2 on your host pc?
From N2 itself with ssh, will try while removing emmc tomorrow.

Actually ending with this:

Code: Select all

root@odroid:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           361M   34M  327M  10% /run
/dev/mmcblk0p2  6.6G  6.6G     0 100% /
tmpfs           1.8G     0  1.8G   0% /dev/shm
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
/dev/mmcblk0p1  128M   21M  108M  16% /media/boot
tmpfs           361M  156K  361M   1% /run/user/0
root@odroid:~# sudo parted /dev/mmcblk0p2
GNU Parted 3.6
Using /dev/mmcblk0p2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: Unknown (unknown)
Disk /dev/mmcblk0p2: 29.9GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system  Flags
 1      0.00B  29.9GB  29.9GB  ext4
I managed to expand to 30Gb with parted but does not seems applied.

Edit: oh I'm crazy, trying to resize a partition in use :D

Moan
Posts: 157
Joined: Fri Feb 01, 2019 11:51 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 26 times
Been thanked: 7 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by Moan »

Out of curiosity, is this version with kernel 6.6 stable when it comes to USB devices?
I'm referring to: viewtopic.php?p=386492#p386492

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

So I resolved by flashing again from scratch and expand with gparted before rebooting N2, sorry for notice some weird issues when the problem is between the chair and the keyboard :D

Code: Select all

root@odroid:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           361M  1.4M  360M   1% /run
/dev/mmcblk0p2   29G  6.0G   23G  22% /
tmpfs           1.8G     0  1.8G   0% /dev/shm
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
/dev/mmcblk0p1  128M   21M  108M  16% /media/boot
tmpfs           361M  164K  361M   1% /run/user/119
tmpfs           361M  156K  361M   1% /run/user/0
That's just a different behavior as official Ubuntu expand partition automatically at first start.

mdrjr
Site Admin
Posts: 12143
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 10 times
Been thanked: 167 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by mdrjr »

Its a known issue at this time that auto-resize isn't working.
I will provide updated images to address that and also a small script to do that if you already flashed.
Expect the script to be released on this thread today.
These users thanked the author mdrjr for the post:
zyssai (Tue Jun 25, 2024 4:00 am)

mdrjr
Site Admin
Posts: 12143
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 10 times
Been thanked: 167 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by mdrjr »

Updated op with instructions.
The resize can be done running:
sudo /bin/bash -c "$(curl -sL https:/deb.odroid.in/resize.sh)"
No need to reboot as it uses the kernel online resize feature.
These users thanked the author mdrjr for the post (total 2):
odroid (Tue Jun 25, 2024 9:25 am) • zyssai (Tue Jun 25, 2024 8:45 pm)

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

Thanks for your support.

While trying to get working a docker container, I am facing this issue.

Code: Select all

modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/6.6.32-109
ip6tables v1.8.10 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
Warning: Extension CONNMARK is not supported, missing kernel module?
It seems it worked before with 4.9.
Is this a normal behavior?

Edit: oh after switching back to 4.9 problem still occurs.

mdrjr
Site Admin
Posts: 12143
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 10 times
Been thanked: 167 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by mdrjr »

Take a read here: https://github.com/tailscale/tailscale/issues/3996
Does that help you?

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

Thanks.
Unfortunately that doesn't help, I did not found what to do at the end of this page.
I tried a lot of things from my Google search but cannot get ride of this.

mdrjr
Site Admin
Posts: 12143
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 10 times
Been thanked: 167 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by mdrjr »

Can you provide steps for me to reproduce it?
I will try to find a fix.

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

Thank you mdrjr.

After more investigation it appears that it is not especially related to this Ubuntu image as I have this problem also with official and armbian so I will keep searching.

I have partially resolved it by mounting /lib/modules to container.

But now I am facing DNS failure :lol:

I'm trying to get working binhex/arch-qbittorrentvpn with wireguard.

I will keep searching tomorrow.

EDIT:

- this is definitely not related to this Ubuntu release.
I opened a new post.

- Your script is working perfectly, thanks!

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by zyssai »

Hi!

Can you please give it a try?

Code: Select all

root@odroid:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
ERROR: problem running ufw-init
Warning: Extension limit revision 0 not supported, missing kernel module?
iptables-restore v1.8.10 (nf_tables):
line 63: RULE_APPEND failed (No such file or directory): rule in chain ufw-not-local
Warning: Extension LOG revision 0 not supported, missing kernel module?
Warning: Extension limit revision 0 not supported, missing kernel module?
iptables-restore v1.8.10 (nf_tables):
line 25: RULE_APPEND failed (No such file or directory): rule in chain ufw-after-logging-input
line 26: RULE_APPEND failed (No such file or directory): rule in chain ufw-after-logging-forward
line 27: RULE_INSERT failed (No such file or directory): rule in chain ufw-logging-deny
line 28: RULE_APPEND failed (No such file or directory): rule in chain ufw-logging-deny
line 29: RULE_APPEND failed (No such file or directory): rule in chain ufw-logging-allow
Warning: Extension rt revision 0 not supported, missing kernel module?
Warning: Extension hl revision 0 not supported, missing kernel module?
ip6tables-restore v1.8.10 (nf_tables):
line 24: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 25: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-forward
line 26: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-output
line 50: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 51: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 52: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 53: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 55: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 57: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 67: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 69: RULE_APPEND failed (No such file or directory): rule in chain ufw6-before-input
line 111: RULE_APPEND failed (No such fi
Warning: Extension LOG revision 0 not supported, missing kernel module?
Warning: Extension limit revision 0 not supported, missing kernel module?
ip6tables-restore v1.8.10 (nf_tables):
line 25: RULE_APPEND failed (No such file or directory): rule in chain ufw6-after-logging-input
line 26: RULE_APPEND failed (No such file or directory): rule in chain ufw6-after-logging-forward
line 27: RULE_INSERT failed (No such file or directory): rule in chain ufw6-logging-deny
line 28: RULE_APPEND failed (No such file or directory): rule in chain ufw6-logging-deny
line 29: RULE_APPEND failed (No such file or directory): rule in chain ufw6-logging-allow

Problem running '/etc/ufw/before.rules'
Problem running '/etc/ufw/user.rules'
Problem running '/etc/ufw/before6.rules'
Problem running '/etc/ufw/user6.rules'

root@odroid:~#
Don't know if I broke something.
Thanks in advance :)

Edit: I resolved it, thanks tho!

jwilson
Posts: 84
Joined: Tue Feb 27, 2018 2:00 pm
languages_spoken: english
ODROIDs: C2, XU4, N2, N2+
Has thanked: 4 times
Been thanked: 4 times
Contact:

Re: Ubuntu 24.04, kernel 6.6 for N2/N2L

Post by jwilson »

Hi, I downloaded the minimal image from

Code: Select all

https://odroid.in/ubuntu_24.04lts/N2_N2Plus/
and wrote it on an external nvme drive. I then attached the nvme drive (via USB) to an N2+, booted via Petitboot, then resized the root partition, followed by an

Code: Select all

apt update && apt upgrade -y
Rebooted, then ran

Code: Select all

apt install ubuntu-desktop-minimal
The installation went through fine until right at the end, it crapped out with the following error:

Code: Select all

Processing triggers for flash-kernel (3.107ubuntu8) ...
Using DTB: amlogic/meson-g12b-odroid-n2-plus.dtb
Couldn't find DTB meson-g12b-odroid-n2-plus.dtb on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image- /lib/firmware//device-tree/
Installing  into /boot/dtbs//amlogic/meson-g12b-odroid-n2-plus.dtb
cp: cannot stat '': No such file or directory
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 flash-kernel
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I fix this error?

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest