Jump to content


Photo

kernel-module-udf support on OpenPLi 9.0


  • Please log in to reply
13 replies to this topic

#1 aromboli

  • Member
  • 5 posts

0
Neutral

Posted 10 April 2024 - 15:48

Hello,

it seems that the kernel-module-udf is no longer available on OpenPLi 9.0 so I cannot use an external USB DVD reader.

The reader is recognized as /dev/sr0 by the kernel, but system cannot recognize the DVD media due to the lack of UDF kernel module.

 

The WiKi guide is outdated:

https://wiki.openpli...n_your_receiver

 

Can someone help me to make DVD player work on OpenPLi 9.0 ?

 

Thanks

 



Re: kernel-module-udf support on OpenPLi 9.0 #2 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 10 April 2024 - 17:03

Whether or not a kernel module is available depends on the kernel version in use, and the kernel defconfig the manufacturer has created for your specific box.

 

In general these things never change, so if it isn't available now, it was probably never available.

 

What box are we talking about?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kernel-module-udf support on OpenPLi 9.0 #3 aromboli

  • Member
  • 5 posts

0
Neutral

Posted 11 April 2024 - 09:38

Hi,

my box is Zgemma H7.S.

At the moment I see a kernel version 4.10.12.

 

Thanks



Re: kernel-module-udf support on OpenPLi 9.0 #4 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 April 2024 - 13:14

For the Zgemma H7, the CD filesystem drivers are built-in, not external as kernel-modules: https://github.com/O...defconfig#L3824

 

So you should skip the installation of the kernel module, it should still work.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kernel-module-udf support on OpenPLi 9.0 #5 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 11 April 2024 - 13:15

you may try to install it manually, the binary udf.ko is armhf for kernel 4.10.12, should be ok for your box

copy to /lib/modules/4.10.12/kernel/fs and restart the box

 

Attached Files



Re: kernel-module-udf support on OpenPLi 9.0 #6 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 11 April 2024 - 14:08

I forgot to mention, the whole path should be

/lib/modules/4.10.12/kernel/fs/udf/udf.ko



Re: kernel-module-udf support on OpenPLi 9.0 #7 aromboli

  • Member
  • 5 posts

0
Neutral

Posted 11 April 2024 - 15:17

maybe I miss something...

Just put the ko into the folder, restarted the box, but when I try to load it with "modprobe udf", I get:

modprobe: FATAL: Module udf not found in directory /lib/modules/4.10.12



Re: kernel-module-udf support on OpenPLi 9.0 #8 aromboli

  • Member
  • 5 posts

0
Neutral

Posted 11 April 2024 - 15:41

No, it doesn't work.

root@zgemma:/lib/modules/4.10.12/kernel# insmod /lib/modules/4.10.12/kernel/fs/udf/udf.ko
insmod: ERROR: could not insert module /lib/modules/4.10.12/kernel/fs/udf/udf.ko: Device or resource busy

 

Maybe the issue is different.

If I force a mount:

 

root@zgemma:/lib/modules/4.10.12/kernel# mount  /dev/sr0 /media/cdrom/
mount: /media/cdrom: no medium found on /dev/sr0.

and on /var/log/messages:
Apr 11 16:38:20 zgemma user.info kernel: [ 2006.894619] sr 2:0:0:0: [sr0] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Apr 11 16:38:20 zgemma user.info kernel: [ 2006.902830] sr 2:0:0:0: [sr0] tag#0 Sense Key : 0x6 [current]
Apr 11 16:38:20 zgemma user.info kernel: [ 2006.908683] sr 2:0:0:0: [sr0] tag#0 ASC=0x29 ASCQ=0x0
Apr 11 16:38:20 zgemma user.info kernel: [ 2006.913847] sr 2:0:0:0: [sr0] tag#0 CDB: opcode=0x28 28 00 00 07 ff fc 00 00 02 00
Apr 11 16:38:20 zgemma user.err kernel: [ 2006.921437] blk_update_request: I/O error, dev sr0, sector 2097136
Apr 11 16:38:20 zgemma user.notice kernel: [ 2006.928894] sr 2:0:0:0: [sr0] unaligned transfer
Apr 11 16:38:20 zgemma user.notice kernel: [ 2006.933582] sr 2:0:0:0: [sr0] unaligned transfer
Apr 11 16:38:20 zgemma user.notice kernel: [ 2006.938307] sr 2:0:0:0: [sr0] unaligned transfer

 



Re: kernel-module-udf support on OpenPLi 9.0 #9 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 April 2024 - 15:44

Offcourse it doesn't work, as I already said, udf is already available in the kernel, so you can't load it again.

 

You can verify built-in's on the box with

cat /lib/modules/$(uname -r)/modules.builtin | grep udf

Edited by WanWizard, 11 April 2024 - 15:48.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kernel-module-udf support on OpenPLi 9.0 #10 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 April 2024 - 15:50

Apr 11 16:38:20 zgemma user.err kernel: [ 2006.921437] blk_update_request: I/O error, dev sr0, sector 2097136
Apr 11 16:38:20 zgemma user.notice kernel: [ 2006.928894] sr 2:0:0:0: [sr0] unaligned transfer
Apr 11 16:38:20 zgemma user.notice kernel: [ 2006.933582] sr 2:0:0:0: [sr0] unaligned transfer
Apr 11 16:38:20 zgemma user.notice kernel: [ 2006.938307] sr 2:0:0:0: [sr0] unaligned transfer

 

this means the CD or DVD is unreadable at that point. Damaged, or a (re)writable that has deteriorated.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kernel-module-udf support on OpenPLi 9.0 #11 aromboli

  • Member
  • 5 posts

0
Neutral

Posted 11 April 2024 - 16:17

The message seems that, but I'm not so convinced.

This happens with every DVD I try to load into the reader: it continues to spin and try to read, never stop.

If I take the USB DVD reader with the same disk and I connect it to my Windows laptop, it reads the disk immediately !

 

I'm thinking about the USB power supply: maybe it's not enough for the DVD reader to work fine.

No more ideas...



Re: kernel-module-udf support on OpenPLi 9.0 #12 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 April 2024 - 16:56

That is a possibility, a USB port can only supply 500mA, and most USB ports of STB's don't even get to that. I've always had to externally power USB harddisks, apart from when connected to a VU+ 4K box.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kernel-module-udf support on OpenPLi 9.0 #13 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 11 April 2024 - 17:13

 

Offcourse it doesn't work, as I already said, udf is already available in the kernel, so you can't load it again.

 

You can verify built-in's on the box with

cat /lib/modules/$(uname -r)/modules.builtin | grep udf

you are right, I checked it on my H7

root@h7:~# cat /lib/modules/$(uname -r)/modules.builtin | grep udf
kernel/fs/udf/udf.ko

there is no fs/udf/udf.ko, I see only fs/nfsd/nfsd.ko, seems nfsd is not in the kernel



Re: kernel-module-udf support on OpenPLi 9.0 #14 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 April 2024 - 17:46

You can't find the physical file on your box, it is a built-in module, it is compiled into the kernel.

 

the defconfig options have 3 possible states, n (not compiled), y (compiled) and m (compiled as external kernel module).

 

In general m is used for optional modules, to prevent the kernel from growing to big. hardware drivers or iptables modules are a prime example of modules that are usually compiled as external modules.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users