[1] 2 >>> MLD-5.x / Systems / Raspberry PI / [MLD-5.5 testing] RPI4 - Docker
 

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« on: November 15, 2021, 16:52:31 »
Hi,

There's a problem in Rpi4 docker package,
in order to fix it i replaced the following files from cgroupfs-mount debian package
cgroupfs-mount
cgroupfs-umount

The following files are missing as well
containerd-shim-runc-v1
containerd-shim-runc-v2

I got them from containerd debian package

Best Regards.

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #1 on: November 17, 2021, 13:45:56 »
Du you use the default MLD kernel config? And Du you build the kernel package with the MLD build system (make file)?
Do you update also all depended packages (do a "make all_depends" in the kernel folder)?
Do you also install all kernel depended packages?
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #2 on: November 17, 2021, 19:15:29 »
The kernel has no dependencies.
And if you build and install all kernel depended packages by apt, it should work. If you use dpkg therefor, some pre- and post-install hooks are missing. But they are necessary to change the kernel and initramfs
You can add the "develserver" package to you build environment, to setup a lite package server. Have a look on the MLD Wiki for more infos therefore.
« Last Edit: November 17, 2021, 19:17:53 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #3 on: November 18, 2021, 13:39:08 »
The "root" is the user, who build the package. This is actual only an information to see where the package from.
It's normally not a good ide to run the build as root user. But I'm not sure if it's the default in the MLD dev container.
Your problem should not be the "root", but the "Permission denied". There are wrong permissions on some files ()maybe in the folder /lib/modules/...
If you remove the root from the package version. your new packages would no longer prefered on installation. In this case until installation some old packages will be used and not all new.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #4 on: November 18, 2021, 16:39:14 »
I don't know if the kernel package is OK, but it is installed.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #5 on: November 18, 2021, 17:41:54 »
You must set a
DEVELOPER = ""
in your Makefile.config

But then you can not use the develserver any more. So it's not recemented.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #6 on: November 18, 2021, 19:55:15 »
You must set a
DEVELOPER = ""
in your Makefile.config

Now conrol file looks as follows:

Code: [Select]
Package: kernel
Version: 5.12.6.203-204+""
Section: system
Priority: required
Essential: yes
Maintainer: Claus Muus <mld@clausmuus.de>
Architecture: armhf-rpi4
Multi-Arch: foreign
Homepage: http://www.minidvblinux.de
Installed-Size: 5224
Description: The Linux Kernel

I used DEVELOPER = instead.

Now i have to delete package folder from all packages  :o

I'd better wait till you fix the patches to be working with kernel 5.12.6 then will start from scratch.

Are you going to fix it soon?

Best Regards.




Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #7 on: November 18, 2021, 20:54:28 »
You must set a
DEVELOPER = ""
in your Makefile.config

But then you can not use the develserver any more. So it's not recemented.

If i set DEVELOPER = in Makefile.config it will remove +root from the package name only.
However if i downloaded any package from the develserver +root will be in the control file.

Best Regards.
« Last Edit: November 19, 2021, 12:10:21 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #8 on: November 19, 2021, 14:24:47 »
Then the packages would not be rebuilded. The option is for both, the filename and the control file.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #9 on: November 24, 2021, 17:37:55 »
We use the kernel config file, that is part of the kernel package.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20415
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #10 on: November 25, 2021, 13:51:05 »
You must specify the audio device (plug:iec958) you want to use, like we do for the sofhddrm. It is not configured in the asound.conf, since it needs a other syntax than the devices for all other platforms.
If I remember right, the vc4-kms-v3d-pi4 is an old syntax, that are not supportet any more.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #11 on: November 25, 2021, 16:34:17 »
Hi Claus,

I think the audio problem i have is different than sofhddrm.



On a working MLD kernel 5.12.6

There is vc4-hdmi-0, vc4-hdmi-1 sound cards.



On MLD kernel 5.12.6.203 i build in dev container

There is no sound cards.

I can't see vc4 module in lsmod.

It seems that vc4 module isn't configured properly , even if i run modprobe vc4
There is no sound cards.

Should i build the kernel again with vc4 built-in?

Bdw: i'm using pulseaudio.

Best Regards.
« Last Edit: November 25, 2021, 16:36:44 by gr4vity »

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1498
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #12 on: November 25, 2021, 21:00:09 »
Hi,

can you teste with

dtoverlay=vc4-kms-v3d,noaudio

in the config.txt

best regrads,
  Roland
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #13 on: November 25, 2021, 22:51:28 »


Hi Roland,

I tested that, unfortunately it didn't work.



I think the problem is due a missing module, i have checked a working alsa package and the package i build.
There is a missing seq folder and snd-seq-device.ko
Could that be the reason?
How to enable it in the config file?

Best Regards.
« Last Edit: November 25, 2021, 23:08:19 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #14 on: November 26, 2021, 00:20:19 »
Hi,

I have checked a working MLD system, kernel v5.12.6

If i used dtoverlay=vc4-kms-v3d in config.txt then i'll have no sound cards.

So, it's not related to snd-seq-device module.

You guys can try that too.

Best Regards.


[1] 2 >>> MLD-5.x / Systems / Raspberry PI / [MLD-5.5 testing] RPI4 - Docker
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.