Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

nick793
Posts: 60
Joined: Mon Jun 24, 2019 9:35 pm
languages_spoken: english
ODROIDs: N2, GO
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by nick793 »

tobetter wrote:
Fri Dec 18, 2020 9:13 am
I am testing the installation almost everyday and have not issue the conflict issue of Panfrost at all. If your kernel installed version is still 5.9, don't borther with Panfrost driver and do nothing with it. Just install mali-bifrost-wayland-dirver and share the log when it's being installed.

Also, as I said, you have two different problems. Other than GPU issue, you should solve out the initramfs issue and I wish you to focus on this first to see if your N2 is faulty or not.
Agreed it's definitely two separate issues. The problem with the Panfrost issue is that it's preventing me from seeing what's wrong. After installing mali-bifrost-wayland-driver I am stuck at a black screen - no SSH, no way of knowing what went wrong. That's why I'm so focused on it. That's really odd though that you're not seeing it as well. All this said, I am currently able to get to an ubuntu desktop by blacklisting the panfrost driver and installing mali-bifrost-wayland-driver. I also can confirm I'm on kernel 5.9.14 from your ppa.

The weird thing is that on a fresh install, immediately after boot, running dmesg | grep mali returns nothing. If I run dmesg | grep panfrost instead, I see the panfrost driver attempting to initialize the GPU, like how in my previous logs you can see mali trying to do the same. I think this might have something to do with the drm module, but I'm not sure. In the previous logs I posted after blacklisting panfrost and installing mali-bifrost-wayland-driver I see systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.

Now, I'm thinking the initramfs issue might be related to the USB ports unfortunately - the boot drive is on an SSD in a USB3 enclosure. It's a bit slow to be recognized by the N2 and I think that after petitboot loads the kernel there's a lag between when the kernel expects to find a rootfs and when one actually appears to the host.

I'm working on isolating any possible noise that might be causing issues (i.e. from any WiFi antennas or anything nearby), I'll see if that helps a bit

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

nick793 wrote:
Fri Dec 18, 2020 2:07 pm
tobetter wrote:
Fri Dec 18, 2020 9:13 am
I am testing the installation almost everyday and have not issue the conflict issue of Panfrost at all. If your kernel installed version is still 5.9, don't borther with Panfrost driver and do nothing with it. Just install mali-bifrost-wayland-dirver and share the log when it's being installed.

Also, as I said, you have two different problems. Other than GPU issue, you should solve out the initramfs issue and I wish you to focus on this first to see if your N2 is faulty or not.
Agreed it's definitely two separate issues. The problem with the Panfrost issue is that it's preventing me from seeing what's wrong. After installing mali-bifrost-wayland-driver I am stuck at a black screen - no SSH, no way of knowing what went wrong. That's why I'm so focused on it. That's really odd though that you're not seeing it as well. All this said, I am currently able to get to an ubuntu desktop by blacklisting the panfrost driver and installing mali-bifrost-wayland-driver. I also can confirm I'm on kernel 5.9.14 from your ppa.
You should not black list the Panfrost driver by yourself, since mali-bifrost-wayland-driver does it when it's installed. No borthered about the Panfrost with 5.9 / 5.10 kernel from my PPA.
The weird thing is that on a fresh install, immediately after boot, running dmesg | grep mali returns nothing. If I run dmesg | grep panfrost instead, I see the panfrost driver attempting to initialize the GPU, like how in my previous logs you can see mali trying to do the same. I think this might have something to do with the drm module, but I'm not sure. In the previous logs I posted after blacklisting panfrost and installing mali-bifrost-wayland-driver I see systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
If you are not able to mali driver after installing mali-bifrost-wayland-driver, you must check if you have an error while installing. Also please do check if you have installed the Linux header package, for sure please try these commands.

Code: Select all

$ sudo apt install linux-headers-$(uname -r)
$ sudo apt install --reinstall mali-bifrost-dkms
Now, I'm thinking the initramfs issue might be related to the USB ports unfortunately - the boot drive is on an SSD in a USB3 enclosure. It's a bit slow to be recognized by the N2 and I think that after petitboot loads the kernel there's a lag between when the kernel expects to find a rootfs and when one actually appears to the host.

I'm working on isolating any possible noise that might be causing issues (i.e. from any WiFi antennas or anything nearby), I'll see if that helps a bit
If you have a chance to set up again, please share the command history with history what you've run in the command line.

nick793
Posts: 60
Joined: Mon Jun 24, 2019 9:35 pm
languages_spoken: english
ODROIDs: N2, GO
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by nick793 »

tobetter wrote:
Fri Dec 18, 2020 2:25 pm
You should not black list the Panfrost driver by yourself, since mali-bifrost-wayland-driver does it when it's installed. No borthered about the Panfrost with 5.9 / 5.10 kernel from my PPA.
Got it so I should remove my line from blacklist.conf then and reinstall mali-bifrost-wayland-driver again? Also sorry I just wanted to mention which kernel I'm on (5.9.14)
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
If you have a chance to set up again, please share the command history with history what you've run in the command line.
Ok I can do that if I encounter any more issues. However I think I might have found my initramfs issue. I realized after checking /proc/cmdline that the default bootargs don't pass a root, or rootwait arg. I added "root=PARTUUID=xxxxxxxx rw rootwait" to flash-kernel, updated the boot.scr and just had my first smooth boot in a long time :)

I'll keep an eye on the system and see if I have any crashes but dmesg looks clean now at least. I might reinstall though just to clean everything up from all this tinkering.

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

nick793 wrote:
Fri Dec 18, 2020 3:13 pm
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
You should not black list the Panfrost driver by yourself, since mali-bifrost-wayland-driver does it when it's installed. No borthered about the Panfrost with 5.9 / 5.10 kernel from my PPA.
Got it so I should remove my line from blacklist.conf then and reinstall mali-bifrost-wayland-driver again? Also sorry I just wanted to mention which kernel I'm on (5.9.14)
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
If you have a chance to set up again, please share the command history with history what you've run in the command line.
Ok I can do that if I encounter any more issues. However I think I might have found my initramfs issue. I realized after checking /proc/cmdline that the default bootargs don't pass a root, or rootwait arg. I added "root=PARTUUID=xxxxxxxx rw rootwait" to flash-kernel, updated the boot.scr and just had my first smooth boot in a long time :)

I'll keep an eye on the system and see if I have any crashes but dmesg looks clean now at least. I might reinstall though just to clean everything up from all this tinkering.
For the root=PARTUUID, can you let me know the version of flash-kernel installed now?

Code: Select all

$ sudo dpkg -l flash-kernel
What's the version of the Petitboot now?

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

20201218

FYI, new package with Linux kernel v5.10 is uploaded but v5.10 kernel is not switched as default yet. Still v5.9 kernel is the default kernel for the new fresh installation.

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.10.0-odroid-arm64
This command will install new kernel package along with current 5.9 kernel, so your system will have two version of Linux kernel will be installed and can be switched and 5.9 kernel package can be removed once you ensure that it's no longer required.

User avatar
CoolGames
Posts: 112
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 18 times
Been thanked: 14 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by CoolGames »

tobetter wrote:
Sun Dec 13, 2020 9:45 pm
New documentation site has been published.

A document site has been published and the instruction in the documentation is to help the users whose Debian/Ubuntu Linux is installed and its package update is going through my package server http://ppa.linuxfactory.or.kr.

https://docs.linuxfactory.or.kr

The contents in the document is uploaded to my personal Github and I appreciate any contribution to improve the documentation.
https://github.com/tobetter/tobetter.github.io


Prebuilt images links do not expand to get images for N2.

@tobetter - Also,
How can I add the PPA to sources by command line.
I am using the N2 these days via SSH and locally on a 720P DVD / TV player with sound bar of TV headphones (via HDMI).
I may have to use the 1080P HDMI TV during image install and petiboot updates.
I plan to start over with fresh install of 20201218 - Linux kernel v5.10 once link is fixed.

BTW for comparison,
Pure Ubuntu 20.04 Ubuntu Studio System 76 laptop (2nd screen is the 1080P HDMI) is now daily driver upgrades with 20.04 LTS (5.4 low latency and 5.8 generic kernels)
and fresh 20.10 Plasma on separate boot partition on HP Sprout V1 INTEL server / workstation that still has updates maintained for Windows 10 for separate boot.

nick793
Posts: 60
Joined: Mon Jun 24, 2019 9:35 pm
languages_spoken: english
ODROIDs: N2, GO
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by nick793 »

tobetter wrote:
Fri Dec 18, 2020 3:16 pm
nick793 wrote:
Fri Dec 18, 2020 3:13 pm
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
You should not black list the Panfrost driver by yourself, since mali-bifrost-wayland-driver does it when it's installed. No borthered about the Panfrost with 5.9 / 5.10 kernel from my PPA.
Got it so I should remove my line from blacklist.conf then and reinstall mali-bifrost-wayland-driver again? Also sorry I just wanted to mention which kernel I'm on (5.9.14)
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
If you have a chance to set up again, please share the command history with history what you've run in the command line.
Ok I can do that if I encounter any more issues. However I think I might have found my initramfs issue. I realized after checking /proc/cmdline that the default bootargs don't pass a root, or rootwait arg. I added "root=PARTUUID=xxxxxxxx rw rootwait" to flash-kernel, updated the boot.scr and just had my first smooth boot in a long time :)

I'll keep an eye on the system and see if I have any crashes but dmesg looks clean now at least. I might reinstall though just to clean everything up from all this tinkering.
For the root=PARTUUID, can you let me know the version of flash-kernel installed now?

Code: Select all

$ sudo dpkg -l flash-kernel
What's the version of the Petitboot now?
Ok so flashkernel is at version 5:3.99+202012061943~focal

Code: Select all

~ $ sudo dpkg -l flash-kernel
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                   Architecture Description
+++-==============-=========================-============-=================================================
ii  flash-kernel   5:3.99+202012061943~focal arm64        utility to make certain embedded devices bootable
Also, I may have spoken too soon - had the system crash overnight with some odd errors (including the RTC, USB and finally the clock PLL)

Code: Select all

Dec 18 00:48:19 odroid kernel: [  191.017500] NFSD: starting 90-second grace period (net f0000041)
Dec 18 00:57:15 odroid kernel: [  726.452923] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=15
Dec 18 00:57:15 odroid kernel: [  726.968889] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:16 odroid kernel: [  727.480862] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:16 odroid kernel: [  727.988880] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=16
Dec 18 00:57:17 odroid kernel: [  728.500892] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:17 odroid kernel: [  729.012901] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:19 odroid kernel: [  730.484931] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=19
Dec 18 00:57:19 odroid kernel: [  730.996905] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:20 odroid kernel: [  731.508900] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:20 odroid kernel: [  732.024913] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=20
Dec 18 00:57:21 odroid kernel: [  732.536913] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:21 odroid kernel: [  733.048908] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 01:09:29 odroid kernel: [ 1461.015046] xhci-hcd xhci-hcd.0.auto: ERROR Unknown event condition 34 for slot 5 ep 6 , HC probably busted
Dec 18 01:09:59 odroid kernel: [ 1491.101024] sd 2:0:0:1: [sdd] tag#6 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD
Dec 18 01:09:59 odroid kernel: [ 1491.101034] sd 2:0:0:1: [sdd] tag#6 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
Dec 18 01:09:59 odroid kernel: [ 1491.101043] sd 2:0:0:0: [sdc] tag#5 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
Dec 18 01:09:59 odroid kernel: [ 1491.101047] sd 2:0:0:0: [sdc] tag#5 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
Dec 18 01:10:01 odroid kernel: [ 1493.404876] sd 2:0:0:0: [sdc] tag#24 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT
Dec 18 01:10:01 odroid kernel: [ 1493.404889] sd 2:0:0:0: [sdc] tag#24 CDB: opcode=0x2a 2a 00 00 06 0a 98 00 00 08 00
Dec 18 01:10:01 odroid kernel: [ 1493.404957] sd 2:0:0:1: [sdd] tag#25 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT
Dec 18 01:10:01 odroid kernel: [ 1493.404964] sd 2:0:0:1: [sdd] tag#25 CDB: opcode=0x2a 2a 00 00 06 0a 98 00 00 08 00
Dec 18 01:10:04 odroid kernel: [ 1496.225017] sd 2:0:0:1: [sdd] tag#7 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT
Dec 18 01:10:04 odroid kernel: [ 1496.225030] sd 2:0:0:1: [sdd] tag#7 CDB: opcode=0x2a 2a 00 00 06 0a a0 00 00 08 00
Dec 18 01:10:04 odroid kernel: [ 1496.225107] sd 2:0:0:0: [sdc] tag#4 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT
Dec 18 01:10:04 odroid kernel: [ 1496.225113] sd 2:0:0:0: [sdc] tag#4 CDB: opcode=0x2a 2a 00 00 06 0a a0 00 00 08 00
Dec 18 01:10:09 odroid kernel: [ 1501.340453] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT
Dec 18 01:10:09 odroid kernel: [ 1501.340499] sd 2:0:0:0: [sdc] tag#2 CDB: opcode=0x2a 2a 00 00 06 0a a8 00 00 08 00
Dec 18 01:10:09 odroid kernel: [ 1501.340737] sd 2:0:0:1: [sdd] tag#3 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT
Dec 18 01:10:09 odroid kernel: [ 1501.340773] sd 2:0:0:1: [sdd] tag#3 CDB: opcode=0x2a 2a 00 00 06 0a a8 00 00 08 00
Dec 18 01:10:19 odroid kernel: [ 1511.323681] sd 2:0:0:1: [sdd] tag#11 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323694] sd 2:0:0:1: [sdd] tag#11 CDB: opcode=0x2a 2a 00 00 06 0a b8 00 00 10 00
Dec 18 01:10:19 odroid kernel: [ 1511.323772] sd 2:0:0:1: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323778] sd 2:0:0:1: [sdd] tag#1 CDB: opcode=0x2a 2a 00 00 06 0a b0 00 00 08 00
Dec 18 01:10:19 odroid kernel: [ 1511.323825] sd 2:0:0:0: [sdc] tag#10 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323831] sd 2:0:0:0: [sdc] tag#10 CDB: opcode=0x2a 2a 00 00 06 0a b8 00 00 10 00
Dec 18 01:10:19 odroid kernel: [ 1511.323878] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323884] sd 2:0:0:0: [sdc] tag#0 CDB: opcode=0x2a 2a 00 00 06 0a b0 00 00 08 00
Dec 18 01:10:32 odroid kernel: [ 1523.615118] sd 2:0:0:0: [sdc] tag#26 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN
Dec 18 01:10:32 odroid kernel: [ 1523.615158] sd 2:0:0:0: [sdc] tag#26 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:42 odroid kernel: [ 1533.599121] sd 2:0:0:0: [sdc] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD IN
Dec 18 01:10:42 odroid kernel: [ 1533.599225] sd 2:0:0:0: [sdc] tag#9 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:52 odroid kernel: [ 1543.842597] sd 2:0:0:0: [sdc] tag#8 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD IN
Dec 18 01:10:52 odroid kernel: [ 1543.842625] sd 2:0:0:0: [sdc] tag#8 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:52 odroid kernel: [ 1543.863344] scsi host2: uas_eh_device_reset_handler start
Dec 18 01:10:52 odroid kernel: [ 1543.863437] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.863548] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.863984] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.864100] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.864757] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.865845] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.868132] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.875322] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877080] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877161] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877225] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877278] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877331] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877384] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877433] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.962058] usb 2-1.3: reset SuperSpeed Gen 1 USB device number 5 using xhci-hcd
Dec 18 01:10:52 odroid kernel: [ 1543.993524] scsi host2: uas_eh_device_reset_handler success
Dec 18 01:10:52 odroid kernel: [ 1543.993683] scsi host2: uas_eh_device_reset_handler start
Dec 18 01:10:52 odroid kernel: [ 1544.078295] usb 2-1.3: reset SuperSpeed Gen 1 USB device number 5 using xhci-hcd
Dec 18 01:10:52 odroid kernel: [ 1544.100331] scsi host2: uas_eh_device_reset_handler success
Dec 18 01:10:52 odroid kernel: [ 1544.100580] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.100583] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.100755] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.136459] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.141378] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.194707] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:47:28 odroid kernel: [ 3739.830676] rc rc0: nonsensical timing event of duration 0
Dec 18 02:32:13 odroid kernel: [ 6424.608335] meson_clk_pll_set_rate: pll did not lock, trying to restore old rate 3216000000
Dec 18 02:18:32 odroid kernel: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

nick793 wrote:
Fri Dec 18, 2020 10:39 pm
tobetter wrote:
Fri Dec 18, 2020 3:16 pm
nick793 wrote:
Fri Dec 18, 2020 3:13 pm
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
You should not black list the Panfrost driver by yourself, since mali-bifrost-wayland-driver does it when it's installed. No borthered about the Panfrost with 5.9 / 5.10 kernel from my PPA.
Got it so I should remove my line from blacklist.conf then and reinstall mali-bifrost-wayland-driver again? Also sorry I just wanted to mention which kernel I'm on (5.9.14)
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
If you have a chance to set up again, please share the command history with history what you've run in the command line.
Ok I can do that if I encounter any more issues. However I think I might have found my initramfs issue. I realized after checking /proc/cmdline that the default bootargs don't pass a root, or rootwait arg. I added "root=PARTUUID=xxxxxxxx rw rootwait" to flash-kernel, updated the boot.scr and just had my first smooth boot in a long time :)

I'll keep an eye on the system and see if I have any crashes but dmesg looks clean now at least. I might reinstall though just to clean everything up from all this tinkering.
For the root=PARTUUID, can you let me know the version of flash-kernel installed now?

Code: Select all

$ sudo dpkg -l flash-kernel
What's the version of the Petitboot now?
Ok so flashkernel is at version 5:3.99+202012061943~focal

Code: Select all

~ $ sudo dpkg -l flash-kernel
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                   Architecture Description
+++-==============-=========================-============-=================================================
ii  flash-kernel   5:3.99+202012061943~focal arm64        utility to make certain embedded devices bootable
Also, I may have spoken too soon - had the system crash overnight with some odd errors (including the RTC, USB and finally the clock PLL)

Code: Select all

Dec 18 00:48:19 odroid kernel: [  191.017500] NFSD: starting 90-second grace period (net f0000041)
Dec 18 00:57:15 odroid kernel: [  726.452923] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=15
Dec 18 00:57:15 odroid kernel: [  726.968889] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:16 odroid kernel: [  727.480862] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:16 odroid kernel: [  727.988880] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=16
Dec 18 00:57:17 odroid kernel: [  728.500892] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:17 odroid kernel: [  729.012901] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:19 odroid kernel: [  730.484931] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=19
Dec 18 00:57:19 odroid kernel: [  730.996905] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:20 odroid kernel: [  731.508900] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:20 odroid kernel: [  732.024913] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=20
Dec 18 00:57:21 odroid kernel: [  732.536913] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:21 odroid kernel: [  733.048908] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 01:09:29 odroid kernel: [ 1461.015046] xhci-hcd xhci-hcd.0.auto: ERROR Unknown event condition 34 for slot 5 ep 6 , HC probably busted
Dec 18 01:09:59 odroid kernel: [ 1491.101024] sd 2:0:0:1: [sdd] tag#6 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD
Dec 18 01:09:59 odroid kernel: [ 1491.101034] sd 2:0:0:1: [sdd] tag#6 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
Dec 18 01:09:59 odroid kernel: [ 1491.101043] sd 2:0:0:0: [sdc] tag#5 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
Dec 18 01:09:59 odroid kernel: [ 1491.101047] sd 2:0:0:0: [sdc] tag#5 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
Dec 18 01:10:01 odroid kernel: [ 1493.404876] sd 2:0:0:0: [sdc] tag#24 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT
Dec 18 01:10:01 odroid kernel: [ 1493.404889] sd 2:0:0:0: [sdc] tag#24 CDB: opcode=0x2a 2a 00 00 06 0a 98 00 00 08 00
Dec 18 01:10:01 odroid kernel: [ 1493.404957] sd 2:0:0:1: [sdd] tag#25 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT
Dec 18 01:10:01 odroid kernel: [ 1493.404964] sd 2:0:0:1: [sdd] tag#25 CDB: opcode=0x2a 2a 00 00 06 0a 98 00 00 08 00
Dec 18 01:10:04 odroid kernel: [ 1496.225017] sd 2:0:0:1: [sdd] tag#7 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT
Dec 18 01:10:04 odroid kernel: [ 1496.225030] sd 2:0:0:1: [sdd] tag#7 CDB: opcode=0x2a 2a 00 00 06 0a a0 00 00 08 00
Dec 18 01:10:04 odroid kernel: [ 1496.225107] sd 2:0:0:0: [sdc] tag#4 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT
Dec 18 01:10:04 odroid kernel: [ 1496.225113] sd 2:0:0:0: [sdc] tag#4 CDB: opcode=0x2a 2a 00 00 06 0a a0 00 00 08 00
Dec 18 01:10:09 odroid kernel: [ 1501.340453] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT
Dec 18 01:10:09 odroid kernel: [ 1501.340499] sd 2:0:0:0: [sdc] tag#2 CDB: opcode=0x2a 2a 00 00 06 0a a8 00 00 08 00
Dec 18 01:10:09 odroid kernel: [ 1501.340737] sd 2:0:0:1: [sdd] tag#3 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT
Dec 18 01:10:09 odroid kernel: [ 1501.340773] sd 2:0:0:1: [sdd] tag#3 CDB: opcode=0x2a 2a 00 00 06 0a a8 00 00 08 00
Dec 18 01:10:19 odroid kernel: [ 1511.323681] sd 2:0:0:1: [sdd] tag#11 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323694] sd 2:0:0:1: [sdd] tag#11 CDB: opcode=0x2a 2a 00 00 06 0a b8 00 00 10 00
Dec 18 01:10:19 odroid kernel: [ 1511.323772] sd 2:0:0:1: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323778] sd 2:0:0:1: [sdd] tag#1 CDB: opcode=0x2a 2a 00 00 06 0a b0 00 00 08 00
Dec 18 01:10:19 odroid kernel: [ 1511.323825] sd 2:0:0:0: [sdc] tag#10 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323831] sd 2:0:0:0: [sdc] tag#10 CDB: opcode=0x2a 2a 00 00 06 0a b8 00 00 10 00
Dec 18 01:10:19 odroid kernel: [ 1511.323878] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323884] sd 2:0:0:0: [sdc] tag#0 CDB: opcode=0x2a 2a 00 00 06 0a b0 00 00 08 00
Dec 18 01:10:32 odroid kernel: [ 1523.615118] sd 2:0:0:0: [sdc] tag#26 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN
Dec 18 01:10:32 odroid kernel: [ 1523.615158] sd 2:0:0:0: [sdc] tag#26 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:42 odroid kernel: [ 1533.599121] sd 2:0:0:0: [sdc] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD IN
Dec 18 01:10:42 odroid kernel: [ 1533.599225] sd 2:0:0:0: [sdc] tag#9 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:52 odroid kernel: [ 1543.842597] sd 2:0:0:0: [sdc] tag#8 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD IN
Dec 18 01:10:52 odroid kernel: [ 1543.842625] sd 2:0:0:0: [sdc] tag#8 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:52 odroid kernel: [ 1543.863344] scsi host2: uas_eh_device_reset_handler start
Dec 18 01:10:52 odroid kernel: [ 1543.863437] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.863548] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.863984] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.864100] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.864757] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.865845] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.868132] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.875322] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877080] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877161] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877225] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877278] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877331] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877384] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877433] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.962058] usb 2-1.3: reset SuperSpeed Gen 1 USB device number 5 using xhci-hcd
Dec 18 01:10:52 odroid kernel: [ 1543.993524] scsi host2: uas_eh_device_reset_handler success
Dec 18 01:10:52 odroid kernel: [ 1543.993683] scsi host2: uas_eh_device_reset_handler start
Dec 18 01:10:52 odroid kernel: [ 1544.078295] usb 2-1.3: reset SuperSpeed Gen 1 USB device number 5 using xhci-hcd
Dec 18 01:10:52 odroid kernel: [ 1544.100331] scsi host2: uas_eh_device_reset_handler success
Dec 18 01:10:52 odroid kernel: [ 1544.100580] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.100583] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.100755] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.136459] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.141378] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.194707] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:47:28 odroid kernel: [ 3739.830676] rc rc0: nonsensical timing event of duration 0
Dec 18 02:32:13 odroid kernel: [ 6424.608335] meson_clk_pll_set_rate: pll did not lock, trying to restore old rate 3216000000
Dec 18 02:18:32 odroid kernel: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
This is not good signal, I think you should start your own thread to fix this issue. I wish this is not hardware issue.

nick793
Posts: 60
Joined: Mon Jun 24, 2019 9:35 pm
languages_spoken: english
ODROIDs: N2, GO
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by nick793 »

tobetter wrote:
Fri Dec 18, 2020 10:46 pm
nick793 wrote:
Fri Dec 18, 2020 10:39 pm
tobetter wrote:
Fri Dec 18, 2020 3:16 pm
nick793 wrote:
Fri Dec 18, 2020 3:13 pm
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
You should not black list the Panfrost driver by yourself, since mali-bifrost-wayland-driver does it when it's installed. No borthered about the Panfrost with 5.9 / 5.10 kernel from my PPA.
Got it so I should remove my line from blacklist.conf then and reinstall mali-bifrost-wayland-driver again? Also sorry I just wanted to mention which kernel I'm on (5.9.14)
tobetter wrote:
Fri Dec 18, 2020 2:25 pm
If you have a chance to set up again, please share the command history with history what you've run in the command line.
Ok I can do that if I encounter any more issues. However I think I might have found my initramfs issue. I realized after checking /proc/cmdline that the default bootargs don't pass a root, or rootwait arg. I added "root=PARTUUID=xxxxxxxx rw rootwait" to flash-kernel, updated the boot.scr and just had my first smooth boot in a long time :)

I'll keep an eye on the system and see if I have any crashes but dmesg looks clean now at least. I might reinstall though just to clean everything up from all this tinkering.
For the root=PARTUUID, can you let me know the version of flash-kernel installed now?

Code: Select all

$ sudo dpkg -l flash-kernel
What's the version of the Petitboot now?
Ok so flashkernel is at version 5:3.99+202012061943~focal

Code: Select all

~ $ sudo dpkg -l flash-kernel
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                   Architecture Description
+++-==============-=========================-============-=================================================
ii  flash-kernel   5:3.99+202012061943~focal arm64        utility to make certain embedded devices bootable
Also, I may have spoken too soon - had the system crash overnight with some odd errors (including the RTC, USB and finally the clock PLL)

Code: Select all

Dec 18 00:48:19 odroid kernel: [  191.017500] NFSD: starting 90-second grace period (net f0000041)
Dec 18 00:57:15 odroid kernel: [  726.452923] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=15
Dec 18 00:57:15 odroid kernel: [  726.968889] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:16 odroid kernel: [  727.480862] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:16 odroid kernel: [  727.988880] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=16
Dec 18 00:57:17 odroid kernel: [  728.500892] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:17 odroid kernel: [  729.012901] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:19 odroid kernel: [  730.484931] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=19
Dec 18 00:57:19 odroid kernel: [  730.996905] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:20 odroid kernel: [  731.508900] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:20 odroid kernel: [  732.024913] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-110 addr=02, data=20
Dec 18 00:57:21 odroid kernel: [  732.536913] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 00:57:21 odroid kernel: [  733.048908] rtc-pcf8563 1-0051: pcf8563_read_block_data: read error
Dec 18 01:09:29 odroid kernel: [ 1461.015046] xhci-hcd xhci-hcd.0.auto: ERROR Unknown event condition 34 for slot 5 ep 6 , HC probably busted
Dec 18 01:09:59 odroid kernel: [ 1491.101024] sd 2:0:0:1: [sdd] tag#6 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD
Dec 18 01:09:59 odroid kernel: [ 1491.101034] sd 2:0:0:1: [sdd] tag#6 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
Dec 18 01:09:59 odroid kernel: [ 1491.101043] sd 2:0:0:0: [sdc] tag#5 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
Dec 18 01:09:59 odroid kernel: [ 1491.101047] sd 2:0:0:0: [sdc] tag#5 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
Dec 18 01:10:01 odroid kernel: [ 1493.404876] sd 2:0:0:0: [sdc] tag#24 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT
Dec 18 01:10:01 odroid kernel: [ 1493.404889] sd 2:0:0:0: [sdc] tag#24 CDB: opcode=0x2a 2a 00 00 06 0a 98 00 00 08 00
Dec 18 01:10:01 odroid kernel: [ 1493.404957] sd 2:0:0:1: [sdd] tag#25 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT
Dec 18 01:10:01 odroid kernel: [ 1493.404964] sd 2:0:0:1: [sdd] tag#25 CDB: opcode=0x2a 2a 00 00 06 0a 98 00 00 08 00
Dec 18 01:10:04 odroid kernel: [ 1496.225017] sd 2:0:0:1: [sdd] tag#7 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT
Dec 18 01:10:04 odroid kernel: [ 1496.225030] sd 2:0:0:1: [sdd] tag#7 CDB: opcode=0x2a 2a 00 00 06 0a a0 00 00 08 00
Dec 18 01:10:04 odroid kernel: [ 1496.225107] sd 2:0:0:0: [sdc] tag#4 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT
Dec 18 01:10:04 odroid kernel: [ 1496.225113] sd 2:0:0:0: [sdc] tag#4 CDB: opcode=0x2a 2a 00 00 06 0a a0 00 00 08 00
Dec 18 01:10:09 odroid kernel: [ 1501.340453] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT
Dec 18 01:10:09 odroid kernel: [ 1501.340499] sd 2:0:0:0: [sdc] tag#2 CDB: opcode=0x2a 2a 00 00 06 0a a8 00 00 08 00
Dec 18 01:10:09 odroid kernel: [ 1501.340737] sd 2:0:0:1: [sdd] tag#3 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT
Dec 18 01:10:09 odroid kernel: [ 1501.340773] sd 2:0:0:1: [sdd] tag#3 CDB: opcode=0x2a 2a 00 00 06 0a a8 00 00 08 00
Dec 18 01:10:19 odroid kernel: [ 1511.323681] sd 2:0:0:1: [sdd] tag#11 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323694] sd 2:0:0:1: [sdd] tag#11 CDB: opcode=0x2a 2a 00 00 06 0a b8 00 00 10 00
Dec 18 01:10:19 odroid kernel: [ 1511.323772] sd 2:0:0:1: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323778] sd 2:0:0:1: [sdd] tag#1 CDB: opcode=0x2a 2a 00 00 06 0a b0 00 00 08 00
Dec 18 01:10:19 odroid kernel: [ 1511.323825] sd 2:0:0:0: [sdc] tag#10 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323831] sd 2:0:0:0: [sdc] tag#10 CDB: opcode=0x2a 2a 00 00 06 0a b8 00 00 10 00
Dec 18 01:10:19 odroid kernel: [ 1511.323878] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT
Dec 18 01:10:19 odroid kernel: [ 1511.323884] sd 2:0:0:0: [sdc] tag#0 CDB: opcode=0x2a 2a 00 00 06 0a b0 00 00 08 00
Dec 18 01:10:32 odroid kernel: [ 1523.615118] sd 2:0:0:0: [sdc] tag#26 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN
Dec 18 01:10:32 odroid kernel: [ 1523.615158] sd 2:0:0:0: [sdc] tag#26 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:42 odroid kernel: [ 1533.599121] sd 2:0:0:0: [sdc] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD IN
Dec 18 01:10:42 odroid kernel: [ 1533.599225] sd 2:0:0:0: [sdc] tag#9 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:52 odroid kernel: [ 1543.842597] sd 2:0:0:0: [sdc] tag#8 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD IN
Dec 18 01:10:52 odroid kernel: [ 1543.842625] sd 2:0:0:0: [sdc] tag#8 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Dec 18 01:10:52 odroid kernel: [ 1543.863344] scsi host2: uas_eh_device_reset_handler start
Dec 18 01:10:52 odroid kernel: [ 1543.863437] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.863548] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.863984] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.864100] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.864757] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.865845] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.868132] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.875322] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877080] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877161] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877225] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877278] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877331] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877384] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.877433] xhci-hcd xhci-hcd.0.auto: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Dec 18 01:10:52 odroid kernel: [ 1543.962058] usb 2-1.3: reset SuperSpeed Gen 1 USB device number 5 using xhci-hcd
Dec 18 01:10:52 odroid kernel: [ 1543.993524] scsi host2: uas_eh_device_reset_handler success
Dec 18 01:10:52 odroid kernel: [ 1543.993683] scsi host2: uas_eh_device_reset_handler start
Dec 18 01:10:52 odroid kernel: [ 1544.078295] usb 2-1.3: reset SuperSpeed Gen 1 USB device number 5 using xhci-hcd
Dec 18 01:10:52 odroid kernel: [ 1544.100331] scsi host2: uas_eh_device_reset_handler success
Dec 18 01:10:52 odroid kernel: [ 1544.100580] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.100583] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.100755] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.136459] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.141378] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:10:52 odroid kernel: [ 1544.194707] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 18 01:47:28 odroid kernel: [ 3739.830676] rc rc0: nonsensical timing event of duration 0
Dec 18 02:32:13 odroid kernel: [ 6424.608335] meson_clk_pll_set_rate: pll did not lock, trying to restore old rate 3216000000
Dec 18 02:18:32 odroid kernel: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
This is not good signal, I think you should start your own thread to fix this issue. I wish this is not hardware issue.
Sounds good - I'll make a new thread. Thanks again tobetter for all your hard work! I've learned so much about Linux working with your ubuntu image/kernels and just wanted to make sure I said that this work is so so so appreciated!

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

CoolGames wrote:
Fri Dec 18, 2020 9:51 pm
tobetter wrote:
Sun Dec 13, 2020 9:45 pm
New documentation site has been published.

A document site has been published and the instruction in the documentation is to help the users whose Debian/Ubuntu Linux is installed and its package update is going through my package server http://ppa.linuxfactory.or.kr.

https://docs.linuxfactory.or.kr

The contents in the document is uploaded to my personal Github and I appreciate any contribution to improve the documentation.
https://github.com/tobetter/tobetter.github.io


Prebuilt images links do not expand to get images for N2.

@tobetter - Also,
How can I add the PPA to sources by command line.
You can use the command add-apt-repository.
I am using the N2 these days via SSH and locally on a 720P DVD / TV player with sound bar of TV headphones (via HDMI).
I may have to use the 1080P HDMI TV during image install and petiboot updates.
I plan to start over with fresh install of 20201218 - Linux kernel v5.10 once link is fixed.
Please check the download page again.
BTW for comparison,
Pure Ubuntu 20.04 Ubuntu Studio System 76 laptop (2nd screen is the 1080P HDMI) is now daily driver upgrades with 20.04 LTS (5.4 low latency and 5.8 generic kernels)
and fresh 20.10 Plasma on separate boot partition on HP Sprout V1 INTEL server / workstation that still has updates maintained for Windows 10 for separate boot.
Sorry, I don't get this...

User avatar
CoolGames
Posts: 112
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 18 times
Been thanked: 14 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by CoolGames »

tobetter wrote:
Fri Dec 18, 2020 10:49 pm
CoolGames wrote:
Fri Dec 18, 2020 9:51 pm
BTW for comparison,
Pure Ubuntu 20.04 Ubuntu Studio System 76 laptop (2nd screen is the 1080P HDMI) is now daily driver upgrades with 20.04 LTS (5.4 low latency and 5.8 generic kernels)
and fresh 20.10 Plasma on separate boot partition on HP Sprout V1 INTEL server / workstation that still has updates maintained for Windows 10 for separate boot.
Sorry, I don't get this...
Sorry about causing you confusion.
I wanted you to know what alternatives I am comparing to the N2 after using these alternatives with Ubuntu desktop for last 5 years.
I am looking at Odroid N2 replacement Ubuntu desktop on HDMI TV but it is not yet fully comparable to laptop it will replace.
HP system was bleeding edge experimental that is a funky HP Sprout design that never worked the way it was supposed to when running desktop program on touch screen running Windows 8 then 10.
Even with generic Ubuntu this HP as a workstation is slow due to lack of enough ram for all the desktop programs it would be running and not worth upgrading the hardware.

Therefore the HP server is configured hardwired with Ubuntu 20.04 LTS for NFS to hardwired N2 desktop and wifi laptop.

Again, thanks for all you efforts as it makes me happy to be part of the Odroid solution by regularly testing the fresh images and latest builds.

User avatar
CoolGames
Posts: 112
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 18 times
Been thanked: 14 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by CoolGames »

I was able to PB-UPDATE petitboot to 20201218 but the installed OS is not found.
I switched off SPI and OS booted.
OS is from 20.04 updated to 20.04.1 with 5.9 now 5.10 with wayland on 1360x768 HDMI DVD TV.

Code: Select all

leetdavy@cooldroidn2:~$ uname -a
Linux cooldroidn2 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.0-202012161718~focal (2020-12-16) aarch64 aarch64 aarch64 GNU/Linux
leetdavy@cooldroidn2:~$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
leetdavy@cooldroidn2:~$ dpkg -l *mali*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version                    Architecture Description
+++-=================================-==========================-============-========================================================
ii  mali-bifrost-dkms                 24.0+202012161941~focal    arm64        Mali kernel driver for bifrost hardware in DKMS format.
ii  mali-bifrost-wayland-driver:arm64 5:0.1-5+202011120418~focal arm64        The Wayland userspace binary driver for Mali GPU G31/G52
leetdavy@cooldroidn2:~$ 


PREBUILT image still not accessible directly even with open in new tab so assume the byt.ly is crashing in chrome somehow.
I was able to copy link and use pasted in manually opened new tab to download ubuntu-20.10-server-odroidn2plus-20201218.img.xz
Partial area showing need to copy link and open tab to get image file.
Partial area showing need to copy link and open tab to get image file.
Bit.Ly - Screenshot_2020-12-18_11-21-47.png (150.7 KiB) Viewed 1248 times




Next week I will try petitboot netboot_default and image burn using Balena Etcher then when 20201218 is in
Odroid etcher on laptop
Latest netinst image is not available in list !
Latest netinst image is not available in list !
Odroid Etcher - Screenshot_2020-12-18_11-16-25.png (71.61 KiB) Viewed 1248 times

User avatar
squidd
Posts: 79
Joined: Thu Jul 30, 2020 11:41 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 36 times
Been thanked: 8 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by squidd »

Is OMV the best option for network storage? I only have a couple folders I want shared across my network. SFTP seems to work pretty well, but I do like being able to mount samba shares on my other devices and virtual machines in fstab. OMV is cool but it breaks very easily.

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

squidd wrote:
Mon Dec 21, 2020 10:56 pm
Is OMV the best option for network storage? I only have a couple folders I want shared across my network. SFTP seems to work pretty well, but I do like being able to mount samba shares on my other devices and virtual machines in fstab. OMV is cool but it breaks very easily.
What about NextCloud?
https://nextcloud.com/

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

Note

I've just realized that 5.9 kernel is tagged as EOL which is expected since Linux kernel maintainer officially announced that 5.10 will be LTS kernel. So it's about time to switch to 5.10 from 5.9 sometime soon before 2021.
Screenshot from 2020-12-22 05-25-52.png
Screenshot from 2020-12-22 05-25-52.png (19.68 KiB) Viewed 1129 times
Many of you may know that Linux kernel 5.10 is already packaged and uploaded to my package server, specifically Panfrost is started to support with 5.10 kernel. IMO, if you are not eager to use Panfrost instead of ARM Mali Bifrost Wayland, I highly recommend to stay with Bifrost Wayland. Panfrost is working greatly much more than I expected, appreciate the dev team again, but it's still not smooth enough and the update could be broken any time. Unfortunately, I have not found out the method to switch between ARM Mali Bifrost Wayland and Panfrost. So you need a fresh installation with Ubuntu 20.10 which I am updating in another thread if you like to run with Panfrost.

Let me update you again when the default kernel is switched to 5.10. :)

trwn2p
Posts: 25
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 2 times
Been thanked: 5 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by trwn2p »

I just installed Debian 11 bullseye and it went ok. I upgraded to 5.10.0 kernel after. Now I try to do apt install mali-bifrost-dkms and it wants to pull in 5.9 and downgrade me. Can that be fixed pls.

I also get error about swrast running glxinfo. Ideally I'd like to install 5.10 and panfrost. I don't see a 5.10 panfrost kernel or a mesa higher than 20.2 :(

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

trwn2p wrote:
Tue Dec 22, 2020 3:11 pm
I just installed Debian 11 bullseye and it went ok. I upgraded to 5.10.0 kernel after. Now I try to do apt install mali-bifrost-dkms and it wants to pull in 5.9 and downgrade me. Can that be fixed pls.
How did you install Bullseye and how did you install 5.10 kernel?
Can you share the log with apt install mali-bifrost-dkms?
I also get error about swrast running glxinfo. Ideally I'd like to install 5.10 and panfrost. I don't see a 5.10 panfrost kernel or a mesa higher than 20.2 :(
I guess you missed another thread I made for Panfrost support, please visit the link and keep posting your queries if you like to go for Panfrost. :D
viewtopic.php?f=52&t=40761

trwn2p
Posts: 25
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 2 times
Been thanked: 5 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by trwn2p »

How did I install bullseye? I'm in the debian/ubuntu netboot installer thread so I used the netboot installer.
kernel upgrade: sudo apt install linux-image-5.10.0-odroid-arm64

apt log for mali-bifrost-dkms: sudo apt install mali-bifrost-dkms

Code: Select all

        sudo apt install mali-bifrost-dkms
[sudo] password for duser: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  build-essential dkms dpkg-dev fakeroot g++ g++-10 gcc libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libfakeroot libstdc++-10-dev linux-headers-5.9.0-odroid-arm64
  linux-headers-5.9.0-odroid-common linux-headers-generic linux-kbuild-5.9 make patch
Suggested packages:
  menu debian-keyring gcc-10-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc
  libstdc++-10-doc make-doc ed diffutils-doc
The following NEW packages will be installed:
  build-essential dkms dpkg-dev fakeroot g++ g++-10 gcc libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libfakeroot libstdc++-10-dev linux-headers-5.9.0-odroid-arm64
  linux-headers-5.9.0-odroid-common linux-headers-generic linux-kbuild-5.9 make mali-bifrost-dkms patch
0 upgraded, 19 newly installed, 0 to remove and 1 not upgraded.
Need to get 55.2 MB of archives.
After this operation, 253 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
For panfrost you pointed me to a thread about Ubuntu that's 3 pages long. I'm asking about Debian bullseye.
Last edited by trwn2p on Tue Dec 22, 2020 5:01 pm, edited 1 time in total.

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

trwn2p wrote:
Tue Dec 22, 2020 4:48 pm
How did I install bullseye? I'm in the debian/ubuntu netboot installer thread so I used the netboot installer.
apt log for mali-bifrost-dkms: sudo apt install mali-bifrost-dkms

Code: Select all

        sudo apt install mali-bifrost-dkms
[sudo] password for duser: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  build-essential dkms dpkg-dev fakeroot g++ g++-10 gcc libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libfakeroot libstdc++-10-dev linux-headers-5.9.0-odroid-arm64
  linux-headers-5.9.0-odroid-common linux-headers-generic linux-kbuild-5.9 make patch
Suggested packages:
  menu debian-keyring gcc-10-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc
  libstdc++-10-doc make-doc ed diffutils-doc
The following NEW packages will be installed:
  build-essential dkms dpkg-dev fakeroot g++ g++-10 gcc libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libfakeroot libstdc++-10-dev linux-headers-5.9.0-odroid-arm64
  linux-headers-5.9.0-odroid-common linux-headers-generic linux-kbuild-5.9 make mali-bifrost-dkms patch
0 upgraded, 19 newly installed, 0 to remove and 1 not upgraded.
Need to get 55.2 MB of archives.
After this operation, 253 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
For panfrost you pointed me to a thread about Ubuntu that's 3 pages long. I'm asking about Debian bullseye.
Ok, I see...
I have no package linux-image-5.10.0-odroid-panfrost-arm64 for Bullseye since it's not tested as much as Ubuntu 20.10 yet. Let me put the build for the kernel for Bullseye anyway. Please do run sudo apt install linux-image-5.10.0-odroid-panfrost-arm64 after 3-4 hours. I am not sure how Debian Bullseye will run with Panfrost, it's not only the issue of Panfrost driver and kernel version. It's more about Gnome libraries and Mesa version. So I am still checking them whenever I have time.

Also for Panfrost support, please use the thread I shared in the previous post since I do not have Debian thread...I do like to manage this thread for Ubuntu 20.04 with ARM Mali Bifrost Wayland driver until we have Ubuntu 20.10.

trwn2p
Posts: 25
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 2 times
Been thanked: 5 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by trwn2p »

Great...will try it later today.
I am not sure how Debian Bullseye will run with Panfrost, it's not only the issue of Panfrost driver and kernel version. It's more about Gnome libraries and Mesa version. So I am still checking them whenever I have time.
Ok. I'm running LXQT on this and it's an experiment to see how bullseye does with panfrost vs mali-bifrost on X with it. If getting the kernel and mesa right for this isn't interesting to you I'll nuke it and call it an unsupported idea. Having a thread for netboot and one for img installs as it is would be my choice. Net boot saved me the hassle of creating/burning sdcard img and wear/tear. It's nifty. Thanks.

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

trwn2p wrote:
Tue Dec 22, 2020 5:09 pm
Great...will try it later today.
I am not sure how Debian Bullseye will run with Panfrost, it's not only the issue of Panfrost driver and kernel version. It's more about Gnome libraries and Mesa version. So I am still checking them whenever I have time.
Ok. I'm running LXQT on this and it's an experiment to see how bullseye does with panfrost vs mali-bifrost on X with it. If getting the kernel and mesa right for this isn't interesting to you I'll nuke it and call it an unsupported idea. Having a thread for netboot and one for img installs as it is would be my choice. Net boot saved me the hassle of creating/burning sdcard img and wear/tear. It's nifty. Thanks.
Sure, just let you know that I am not spending much effort to Debian Buster/Bullseye due to low demand but my build server is running for all Debian/Ubuntu. Just their versions are not well arranged to use. :) Let me have more time for Bullseye, its packages are started to upload my package server from before last week. :D

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

trwn2p wrote:
Tue Dec 22, 2020 5:09 pm
Great...will try it later today.
I am not sure how Debian Bullseye will run with Panfrost, it's not only the issue of Panfrost driver and kernel version. It's more about Gnome libraries and Mesa version. So I am still checking them whenever I have time.
Ok. I'm running LXQT on this and it's an experiment to see how bullseye does with panfrost vs mali-bifrost on X with it. If getting the kernel and mesa right for this isn't interesting to you I'll nuke it and call it an unsupported idea. Having a thread for netboot and one for img installs as it is would be my choice. Net boot saved me the hassle of creating/burning sdcard img and wear/tear. It's nifty. Thanks.
Please refer to the link and let's keep talking about Panfrost support for Debian Bullseye in this thread... :D
viewtopic.php?p=315723#p315723

User avatar
squidd
Posts: 79
Joined: Thu Jul 30, 2020 11:41 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 36 times
Been thanked: 8 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by squidd »

tobetter wrote:
Tue Dec 22, 2020 5:24 am
What about NextCloud?
https://nextcloud.com/

I need to do a fresh install, my debian install is borked, but I am going to use that next time. I only have a few folders I need to access over the network/remotely.

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

20201224

Finally, the default Linux kernel version from 5.9.16 to the LTS version 5.10. In order to update to the Linux kernel 5.10, please do the commands.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
$ sudo reboot
......
$ uname -a
Linux ubuntu 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.2-202012220702~focal (2020-12-21) aarch64 aarch64 aarch64 GNU/Linux
Also, if you are running Ubuntu Gnome Desktop with ARM Mali Bifrost Wayland, you need to do a couple of commands in order to recompile the driver otherwise your Gnome Desktop won't be accelerated.

Code: Select all

$ sudo apt install --reinstall mali-bifrost-dkms
$ sudo reboot
For GPU Panfrost support, as I've mentioned a couple of times in the forum, I would not update the packages to support Panfrost for Ubuntu 20.04 (Focal Fossa) but will keep updating for Ubuntu 20.10 (Groovy Gorilla) for sometime since personally ARM Mali Bifrost driver is more stable and responsive although its feature is limited and only Gnome Desktop can be accerated. So please follow up this thread, if you like to go for Panfrost with Ubuntu 20.10 or Debian 11. Since ODROID-N2/N2Plus support multiple OS booting with the Petitboot, it would be a good option to install Ubuntu 20.04 and Ubuntu 20.10 to two different storages so select one of them on booting.
viewtopic.php?f=52&t=40761&p=315963&hilit=20.10#p315963

Happy Chrismas!!
These users thanked the author tobetter for the post:
m_ueberall (Thu Dec 24, 2020 11:13 pm)

odroidn2user
Posts: 355
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 105 times
Been thanked: 95 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by odroidn2user »

Installed the prebuilt N2 image with kernel 5.10 from: https://docs.linuxfactory.or.kr/
Lovely image, works right out of the box. Starts up Quick! Installed the ubuntu-desktop

Good stuff:
- Nice, a working image, ready to flash
- The docs site is an awesome addition! Very nice.
- Brand new kernel!
- audio works, including the audio jack on the front, without any additional config.
- Awesome bootsplash! Pressing esc switches between the bootsplash and the scrolling text stuff.
- Ubuntu looks good

Stuff that could improve:
- The cpufreq trick to prevent glitching seems to have disappeared from the standard line-up. So there was some glitching again. Which is a little unusual. Perhaps I missed an update/upgrade somewhere?
- This trick works: viewtopic.php?f=182&t=37109&p=290058&hi ... ls#p290058
- No green line! But still some noticable artifacts around bright colors on my monitor.
- The mali bifrost driver does not want to get installed?
- Strange enough, ubuntu still comes without an adblocker installed by default. :)

Code: Select all

The following packages have unmet dependencies:
 mali-bifrost-wayland-driver : Depends: mali-bifrost-dkms but it is not installable
Is it still possible to install the mali-bifrost driver on kernel 5.10?

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

odroidn2user wrote:
Thu Dec 24, 2020 11:33 pm
Installed the prebuilt N2 image with kernel 5.10 from: https://docs.linuxfactory.or.kr/
Installed the ubuntu-desktop

Good stuff:
- The docs site is an awesome addition! Very nice.
- Brand new kernel!
- audio works, including the audio jack on the front, without any config.
- Ubuntu looks good

Stuff that could improve:
- The cpufreq trick to prevent glitching seems to have disappeared from the standard line-up. So there was some glitching again. Which is a little unusual.
Let me check what I made wrong with the image for CPUFREQUTILS. It could be just a missing package from the prebuilt image.
- No green line! But still some noticable artifacts around bright colors on my monitor.
- The mali bifrost driver does not want to get installed?

Code: Select all

The following packages have unmet dependencies:
 mali-bifrost-wayland-driver : Depends: mali-bifrost-dkms but it is not installable
Sorry, I should add to the doc or should update the image what to do.
Please add one line to /etc/apt/sources.d/ppa_linuxfactory_or_kr.list and do install mali-bifrost-wayland-driver after sudo apt update.

Code: Select all

deb http://ppa.linuxfactory.or.kr focal contrib

odroidn2user
Posts: 355
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 105 times
Been thanked: 95 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by odroidn2user »

tobetter wrote:
Thu Dec 24, 2020 11:40 pm
Sorry, I should add to the doc or should update the image what to do.
Please add one line to /etc/apt/sources.d/ppa_linuxfactory_or_kr.list and do install mali-bifrost-wayland-driver after sudo apt update.

Code: Select all

deb http://ppa.linuxfactory.or.kr focal contrib
I imagine that would be: /etc/apt/sources.list.d ?
Last edited by odroidn2user on Fri Dec 25, 2020 1:26 am, edited 2 times in total.

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

odroidn2user wrote:
Thu Dec 24, 2020 11:45 pm
tobetter wrote:
Thu Dec 24, 2020 11:40 pm
odroidn2user wrote:
Thu Dec 24, 2020 11:33 pm
Installed the prebuilt N2 image with kernel 5.10 from: https://docs.linuxfactory.or.kr/
Installed the ubuntu-desktop

Good stuff:
- The docs site is an awesome addition! Very nice.
- Brand new kernel!
- audio works, including the audio jack on the front, without any config.
- Ubuntu looks good

Stuff that could improve:
- The cpufreq trick to prevent glitching seems to have disappeared from the standard line-up. So there was some glitching again. Which is a little unusual.
Let me check what I made wrong with the image for CPUFREQUTILS. It could be just a missing package from the prebuilt image.
- No green line! But still some noticable artifacts around bright colors on my monitor.
- The mali bifrost driver does not want to get installed?

Code: Select all

The following packages have unmet dependencies:
 mali-bifrost-wayland-driver : Depends: mali-bifrost-dkms but it is not installable
Sorry, I should add to the doc or should update the image what to do.
Please add one line to /etc/apt/sources.d/ppa_linuxfactory_or_kr.list and do install mali-bifrost-wayland-driver after sudo apt update.

Code: Select all

deb http://ppa.linuxfactory.or.kr focal contrib
I imagine that would be: /etc/apt/sources.list.d ?
Sorry, this one. /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list

odroidn2user
Posts: 355
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 105 times
Been thanked: 95 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by odroidn2user »

There was a package I didn't yet upgrade, the odroid-base. Perhaps the cpufrequtils were linked to that one?

And with the extra ppa line, the mali-bifrost driver is available. Nice :)

By the way, I am trying the 20.04 image.
Last edited by odroidn2user on Thu Dec 24, 2020 11:58 pm, edited 2 times in total.

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

odroidn2user wrote:
Thu Dec 24, 2020 11:55 pm
There was a package I didn't yet upgrade, the odroid-base. Perhaps the cpufrequtils were linked to that one?
Yes, odroid-base will load other fundmental packages. But it should be...already... ;(

EDIT: Ubuntu 20.04 is fine to run Bifrost Wayland driver.

odroidn2user
Posts: 355
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 105 times
Been thanked: 95 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by odroidn2user »

tobetter wrote:
Thu Dec 24, 2020 11:56 pm
odroidn2user wrote:
Thu Dec 24, 2020 11:55 pm
There was a package I didn't yet upgrade, the odroid-base. Perhaps the cpufrequtils were linked to that one?
Yes, odroid-base will load other fundmental packages. But it should be...already... ;(

EDIT: Ubuntu 20.04 is fine to run Bifrost Wayland driver.
Yeah, maybe I reported to early, and a normal upgrade cycle would have fixed the cpufrequtils package? The good news is, it works after the cpufrequtils get installed.

Also:
- The reboot didn't take? I had to pull the plug. (Update: that works correctly now!)
- And during boot, I have to wait two minutes at the end for the network to get configured, before the bootsplash makes way to the login window... Which is a new thing for me!

It says 'Wait for Network to be Configured'... And then a time counting up.
I tend to get restless and switch around and somewhere at the 2 minute point, the normal login window shows.

Bifrost driver install works! :) Pretty sweet. And big improvement for Firefox performance.
Do have to remind to choose the Wayland session at login, because the normal non-wayland session doesn't go anymore after the Bifrost driver install.

Also, note to self:
- The audio plops when the audio starts. Have to disable the auto suspend, will have to look up the exact config for pulseaudio.
- Configure the wayland firefox setting.
- Also, the h264ify addon seems to break video playback in Firefox, probably have to install the extra's to get that going again.

Code: Select all

     sudo apt-get install ubuntu-restricted-extras
Update: Crashes
- The tracker-extract / tracker-miners package seems to crash, generating the ubuntu crash popup.
I've disabled the tracker miner using the settings program, the search panel, disabling the search option from the top of the panel / menu bar.
- The same now for 'Passwords and Keys', being it appears: /usr/bin/seahorse

You can install LibreOffice 7 on Ubuntu 20.04 ARM, using this guide, it works with ARM as well:
https://tecadmin.net/install-libreoffic ... ntu-20-04/

odroidn2user
Posts: 355
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 105 times
Been thanked: 95 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by odroidn2user »

Any idea how to setup the language?

I keep getting this "Permission Denied" error using the settings tool using "Manage Installed Languages":
It says:

Code: Select all

org.freedesktop.DBus.Error.Span.ExecFailed: Failed to execute program org.debian.apt: Permission denied
Messing around a little from the command prompt, I also see this:

Code: Select all

Home directory not accessible: Permission denied
I've managed setting the correct timezone by giving the root user a passwd.
But the language tool just does not allow me to install a new language.

I've also managed to change the locale using the command prompt, but the ubuntu/gnome desktop language refuses.
Last edited by odroidn2user on Sat Dec 26, 2020 1:50 am, edited 1 time in total.

User avatar
istanbulls
Posts: 446
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 278 times
Been thanked: 65 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by istanbulls »

odroidn2user wrote:
Fri Dec 25, 2020 11:58 pm
Any idea how to setup the language?

I keep getting this "Permission Denied" error using the settings tool using "Manage Installed Languages":

Messing around a little from the command prompt, I see this:

Code: Select all

Home directory not accessible: Permission denied
I've managed setting the correct timezone by giving the root user a passwd.
But the language tool just does not allow me to install a new language.

I've also managed to change the locale using the command prompt, but the ubuntu/gnome desktop language refuses.
That's why I'm installing with Netboot-installer. I have never succeeded either.

viewtopic.php?f=177&t=40972 : I haven't tried the method here, I don't know if it will work.

odroidn2user
Posts: 355
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 105 times
Been thanked: 95 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by odroidn2user »

istanbulls wrote:
Sat Dec 26, 2020 12:29 am
That's why I'm installing with Netboot-installer. I have never succeeded either.

viewtopic.php?f=177&t=40972 : I haven't tried the method here, I don't know if it will work.
Yeah, that didn't work. Keeps complaining about apt and permissions...

You probably do have to set the root passwd, with 'sudo passwd root', but that doesn't solve it.

Found this though:
https://askubuntu.com/questions/149876/ ... mmand-line

The accepted answer works.

Set the locale using:

Code: Select all

sudo dpkg-reconfigure locales
Log out and log in. It will ask about changing folder names.

Then install the primary language packs manually

Code: Select all

sudo apt-get install language-pack-[cod] language-pack-gnome-[cod] language-pack-[cod]-base language-pack-gnome-[cod]-base 
Change the '[cod]' into the two letter language code of choice.

Then find the additional language packages to install for firefox, libreoffice, etc.

Code: Select all

check-language-support -l [cod]
Replace '[cod]' again with the two letter code of the language you want.
It gives the names of the packages you want/need for your language.

And you can then 'apt install' those with a copy/paste of those package names:

Code: Select all

sudo apt install [paste the package names]
Replace the '[paste...names]' with the names of the packages in the output of check-language-support as found above.

You can then select the language in the gnome settings app as normal.
Does the trick.

Not quite user friendly though.

Clearly there is something wrong with the prepared image, as the settings panel should work but doesn't...
(Perhaps an issue with an _apt sandbox user or something?)
These users thanked the author odroidn2user for the post:
istanbulls (Sat Dec 26, 2020 2:37 am)

User avatar
squidd
Posts: 79
Joined: Thu Jul 30, 2020 11:41 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 36 times
Been thanked: 8 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by squidd »

tobetter,

Nextcloud is cool for sure. My only issue is that my internet connection's upload speed is abysmal.

I fooled around with the nextcloud past couple days, and found that my install on ubuntu 20.04.1 became pretty unresponsive. I thought it had to do with Nextcloud being a pretty heavy install with lots of processes needed. I restarted my install from scratch last night. And it was running fine at first, but it's even taking 30+ seconds to accept my password when I SSH in to the system. I am running qbittorrent-nox, plex (no transcoding except audio from time to time, and that is working fine) and a VPN connection via Wireguard. Wireguard gives me much better speedtest-cli speeds, but seems to be way more inconsistent than openvpn for torrent speeds. It seems like maybe Wireguard is the cause of my CPU being bogged down. I thought that was one of the reasons you would want to use Wireguard over openvpn, though.

Should I, or is there a way to increase my min processor clock speed? In bashtop, my processor clock speed is only showing 1000Mhz.

Image

I also am thinking about picking up another SSD to use with this board. Right now I have a Crucial BX500 that works fine with my desktop with a SATA to USB adapter. But with the odroid, petitboot has a hard time picking up the drive and my installs get borked when I use it. I believe it to be the adapter, though. Anyone have a suggestion for what adapter I can pick up from Amazon (got a couple gift cards for Christmas 8-))?

Any thoughts or suggestions are appreciated.

User avatar
m_ueberall
Posts: 30
Joined: Thu Jul 23, 2020 6:13 pm
languages_spoken: english, german
ODROIDs: N2+
Location: Hanau, Germany
Has thanked: 23 times
Been thanked: 10 times
Contact:

Forum links: SATA to USB adapters/enclosures

Post by m_ueberall »

squidd wrote:
Sun Dec 27, 2020 12:33 am
I also am thinking about picking up another SSD to use with this board. Right now I have a Crucial BX500 that works fine with my desktop with a SATA to USB adapter. But with the odroid, petitboot has a hard time picking up the drive and my installs get borked when I use it. I believe it to be the adapter, though. Anyone have a suggestion for what adapter I can pick up from Amazon (got a couple gift cards for Christmas 8-))?
I haven't checked whether the below can be ordered from Amazon, but there are a few recommendations/known-to-work combinations (the links below will take you to associated forum topics): (You might also want to ensure that fstrim works, see e.g. here.)
These users thanked the author m_ueberall for the post:
tobetter (Sun Dec 27, 2020 6:52 am)

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

@squidd, how did you check the CPU clock and see why it's 1000MHz? By default, 1000MHz is the minium clock and it will be reached only when you do not use the performance governor which set the max CPU freq always. But regardless the cpu frequencency, I don't think Nextcloud is that slow on N2?

For SATA to USB, I remember @superpowter77 has many test with many USB-to-SATA bridge adapters. I hope he can share his experience on top of the products from @m_ueberall. :)

User avatar
istanbulls
Posts: 446
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 278 times
Been thanked: 65 times
Contact:

Re: Forum links: SATA to USB adapters/enclosures

Post by istanbulls »

m_ueberall wrote:
Sun Dec 27, 2020 5:16 am
squidd wrote:
Sun Dec 27, 2020 12:33 am
I also am thinking about picking up another SSD to use with this board. Right now I have a Crucial BX500 that works fine with my desktop with a SATA to USB adapter. But with the odroid, petitboot has a hard time picking up the drive and my installs get borked when I use it. I believe it to be the adapter, though. Anyone have a suggestion for what adapter I can pick up from Amazon (got a couple gift cards for Christmas 8-))?
I haven't checked whether the below can be ordered from Amazon, but there are a few recommendations/known-to-work combinations (the links below will take you to associated forum topics): (You might also want to ensure that fstrim works, see e.g. here.)
What is your experience with SSD in N2.
I have a few USB-to-SATA bridge adapters.
I'm having a boot problem with petitboot. Sometimes it boots on the first try, sometimes it never boots without changing the USB3 port.

odroidn2user
Posts: 355
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 105 times
Been thanked: 95 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by odroidn2user »

OK, so I experienced the fact that the image does not come with zram swap enabled, it basically comes down to a halt.

I am trying this:
https://www.cnx-software.com/2018/05/14 ... able-zram/

Which is:

Code: Select all

sudo apt install zram-config
That gives me some zram swap, but it appears to be completely different from the way it works for me on Manjaro.
Hmm...

Also, if you get plops every time sound starts playing, that's because of the Pulse Audio suspend.
You can prevent the audio suspend, by editing the file: /etc/pulse/default.pa

Code: Select all

### Automatically suspend sinks/sources that become idle for too long
# load-module module-suspend-on-idle
You have to add the # to comment out the 'load-module module-suspend-on-idle', as shown above.
That way audio doesn't suspend and you won't get the audible plop on continue/resume.

@tobetter: Aside from fixing the language pack installer, could you add a good zram config to the image?
Last edited by odroidn2user on Sun Dec 27, 2020 8:30 pm, edited 2 times in total.

User avatar
m_ueberall
Posts: 30
Joined: Thu Jul 23, 2020 6:13 pm
languages_spoken: english, german
ODROIDs: N2+
Location: Hanau, Germany
Has thanked: 23 times
Been thanked: 10 times
Contact:

Re: Forum links: SATA to USB adapters/enclosures

Post by m_ueberall »

istanbulls wrote:
Sun Dec 27, 2020 7:38 am
What is your experience with SSD in N2.
I have a few USB-to-SATA bridge adapters.
I'm having a boot problem with petitboot. Sometimes it boots on the first try, sometimes it never boots without changing the USB3 port.
I've answered this here.
These users thanked the author m_ueberall for the post:
istanbulls (Sun Dec 27, 2020 7:23 pm)

mad_ady
Posts: 9067
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 596 times
Been thanked: 578 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by mad_ady »

Yey! I've installed tobetter's ubuntu 20.04 with wayland, and things look great (for the 5 minutes I've played with it). If/when I have time I plan on poking it with a stick for longer :D
Any idea if XFCE would work on wayland? I'm guessing not?

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

Notice

I found one bug recently regarding to the performance, the default maximum CPU frequency is not set properly. In case if the file /etc/default/cpufrequtils has like this, your N2 won't run at its maximum performance.

Code: Select all

$ cat /etc/default/cpufrequtils
GOVERNOR="performance"
MIN_SPEED="1000MHz"
MAX_SPEED="1000MHz"
In case you have "1000MHz" for MAX_SPEED, please do run these commands and check the same file if it's changed or not.

Code: Select all

$ sudo rm /etc/default/cpufrequtils
$ sudo dpkg-reconfigure odroid-base
$ sudo service cpufrequtils restart
These users thanked the author tobetter for the post:
privacyfan (Fri Jan 01, 2021 2:50 am)

privacyfan
Posts: 3
Joined: Fri Jan 01, 2021 2:18 am
languages_spoken: english, german
ODROIDs: N2+
Has thanked: 4 times
Been thanked: 0
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by privacyfan »

Hi

good point, that helped for a better usability. I have installed my N2+ before a few days with the netboot installer and was disappointed about the performance. But even after fixing that it still has issues to play YouTube videos. There is also no sound device with HDMI. I find only a dummy device entry for sound. Is that expected? But Bluetooth connection with a headset works.

Is there currently an issue with the repository? I have noticed the Wayland driver is not activated which might cause the video play issues and if I try it manually or run at the terminal sudo apt update it shows repository linuxfactory is not reachable.

Happy New Year and thank you for all your work! I appreciate that very much!

mad_ady
Posts: 9067
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 596 times
Been thanked: 578 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by mad_ady »

sudo apt update it shows repository linuxfactory is not reachable.
Make sure your ipv4 internet works. It happens to me when I don't get a default route on ipv4.
These users thanked the author mad_ady for the post:
privacyfan (Fri Jan 01, 2021 9:28 pm)

User avatar
istanbulls
Posts: 446
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 278 times
Been thanked: 65 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by istanbulls »

privacyfan wrote:
Fri Jan 01, 2021 2:46 am
Hi

good point, that helped for a better usability. I have installed my N2+ before a few days with the netboot installer and was disappointed about the performance. But even after fixing that it still has issues to play YouTube videos. There is also no sound device with HDMI. I find only a dummy device entry for sound. Is that expected? But Bluetooth connection with a headset works.

Is there currently an issue with the repository? I have noticed the Wayland driver is not activated which might cause the video play issues and if I try it manually or run at the terminal sudo apt update it shows repository linuxfactory is not reachable.

Happy New Year and thank you for all your work! I appreciate that very much!
I would like to share the experiments I made with my own experiences.
Maybe it will work for you too.
After completing the setup and doing all the updates, I'm doing the following:

Code: Select all

sudo apt install ubuntu-desktop mali-bifrost-wayland-driver
sudo reboot
audio should be working again and video performance should be better.
If the sound still does not work:

Code: Select all

sudo apt install --reinstall odroid-alsa
For YouTube, you should use Firefox and for a good video streaming:

Code: Select all

sudo apt install ubuntu-restricted-extras
and then:
You should run

Code: Select all

sudo nano /etc/environment
nano editor and add

Code: Select all

MOZ_ENABLE_WAYLAND=1
, no matter bottom line or top line.

Code: Select all

sudo reboot
Also, every time I reboot N2 I do this.
I open the System Monitor,
I find evolution-calendar-factory and kill it, sometimes it dies the first time, sometimes it takes 3-5 times. I'm trying until it doesn't show up again. Thanks to this, I get a very smooth video performance without stuttering.

To make Ubuntu more useful:

Code: Select all

sudo apt-get install chrome-gnome-shell
sudo apt install gnome-tweak-tool
I think there was a problem with the server yesterday, I could not update with 20.10 and 20.04, but today everything is fine.
These users thanked the author istanbulls for the post (total 3):
tobetter (Fri Jan 01, 2021 6:34 pm) • Payano (Fri Jan 01, 2021 6:36 pm) • privacyfan (Fri Jan 01, 2021 9:28 pm)

privacyfan
Posts: 3
Joined: Fri Jan 01, 2021 2:18 am
languages_spoken: english, german
ODROIDs: N2+
Has thanked: 4 times
Been thanked: 0
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by privacyfan »

PPA is now available, updates are made and Wayland at drivers window downloaded and activated.

@istanbulls

I followed your different steps
The wayland driver was because of the first thing I did before I saw your answer shown as already installed but apt install ubuntu-desktop did install 4 additional packages and one of them was odroid-alsa which did fix my sound issues. I was able to configure it and get now sound from the loudspeakers :-)

I did also install ubuntu-restricted-extras and the two Gnome packages.

"sudo nano /etc/environment" might be wrong?
I already have updated before /usr/bin/firefox and added "export MOZ_ENABLE_WAYLAND=1"
Did you mean that or did I something wrong?

So far looks 1080p screen resolution pretty good but 2160p is still stuttering even if the displayed video is only 1080p. At a UHD video I see a freeze frame. Maybe I expect too much?
I do not really notice a difference if evolution-calendar-factory is still nunning or is killed.

Thanks a lot for your help!

User avatar
tobetter
Posts: 7134
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1045 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by tobetter »

privacyfan wrote:
Fri Jan 01, 2021 10:34 pm
"sudo nano /etc/environment" might be wrong?
I already have updated before /usr/bin/firefox and added "export MOZ_ENABLE_WAYLAND=1"
Did you mean that or did I something wrong?
You can add export MOZ_ENABLE_WAYLAND=1 to /usr/bin/firefox or /etc/environment, either way will work. Don't you?
So far looks 1080p screen resolution pretty good but 2160p is still stuttering even if the displayed video is only 1080p. At a UHD video I see a freeze frame. Maybe I expect too much?
Actually 2160p true 4K UI is the resolution not officially recommened by Amlogic due to the hardware limit. So comparing FHD, it's very choppy also video decoding capability is not as good as you expected...open source developers are working to improve it.
These users thanked the author tobetter for the post (total 2):
istanbulls (Fri Jan 01, 2021 11:14 pm) • privacyfan (Sat Jan 02, 2021 2:02 am)

privacyfan
Posts: 3
Joined: Fri Jan 01, 2021 2:18 am
languages_spoken: english, german
ODROIDs: N2+
Has thanked: 4 times
Been thanked: 0
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by privacyfan »

Thank you for the explaination. Then I do not need to make myself crazy :-)

User avatar
istanbulls
Posts: 446
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 278 times
Been thanked: 65 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by istanbulls »

Ubuntu-Wayland
I can't get into the desktop after the last update.
The system boots, the ubuntu text appears at the bottom, the clock starts to appear in oled diplay, the ubunyu text disappears after about a minute, it is expected to return to the desktop as normal behavior, but a horizontal dash appears in the upper left and just stays. Oled display also shows the correct time and continues to work. ALT + CTRL F2-F3 -F4 and ALT + CTRL-Del are not responding to calls.
For your information!

Note: tested with SSD only

MamkinHacker
Posts: 36
Joined: Wed Aug 19, 2020 8:56 pm
languages_spoken: english
ODROIDs: N2 4gb
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop with Wayland)

Post by MamkinHacker »

istanbulls wrote:
Sat Jan 02, 2021 6:43 am
Ubuntu-Wayland
I can't get into the desktop after the last update.
The system boots, the ubuntu text appears at the bottom, the clock starts to appear in oled diplay, the ubunyu text disappears after about a minute, it is expected to return to the desktop as normal behavior, but a horizontal dash appears in the upper left and just stays. Oled display also shows the correct time and continues to work. ALT + CTRL F2-F3 -F4 and ALT + CTRL-Del are not responding to calls.
For your information!

Note: tested with SSD only
viewtopic.php?p=317058&sid=f4ea6ea7b98d ... 9d#p317058
Looks like we have the same problem. You could install the previous kernel until we get the new one.
These users thanked the author MamkinHacker for the post:
istanbulls (Sun Jan 03, 2021 6:48 pm)

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 2 guests