Jump to content


Photo

Physical CD/DVD support enigma2.

DVD UDF AUDIO CD ISO CDIO

  • Please log in to reply
162 replies to this topic

#1 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 28 August 2015 - 14:42

I'm currently bussy with DVD/CD support problems in enigma2 , most of problems are cause the modern kernels and c/c++ do not support the old ways off working still used into enigma2.

Also the modern hardware does require the modern kernels and are not compatible any more or at least very buggy with the old working ways.

 

What is the goal, Well for some stb's the internal cd/dvd rom (slim drive micro at type) is possible. The dm8000 is such one do not know if there are others ...

But on a lot of others(high range boxes) You can use external usb dvd/cd writers and it works if the needed kernel modules are installed.

 

Some facts about use of cd and dvd's.

 

First I start with the yes ... problematic audio cd. But why is it problematic ?

 

 - An audio cd can't be mounted . Never could be mounted and never will be able to mount as a file system.

   But what about the cdfs file system ? Well actually cdfs was never a real file system mount .

   What did it do, It created a visual representation off the audiotracks on the cd and announced like off it was a non writeable file system mount, but it was not a real mount.

   The libcdfs is completely deprecated in all linux kernels 3 and above. There are some very hack-is patches applied to the initial source of it to make it applicable to kernels 3 and above.

   But they are hack-is and unstable.

 

The data cd/dvd no problem it's an iso9660 file type sytem and is pretty basic to mount (as an non writeable file system) so ok here.

 

The standard movie dvd (the one You buy in shops ). No problem att all . However required is :

  - On the modern kernels c/c++ removal off the unstable cdfs kernel module (if used). At least by dreambox. Result audio cd playing impossible in enigma2.

  - The Dreambox extra stuff none all is installed works fine by default.

  - The vuduo2 ha ???.. I really can't follow the vu+ dev team , but instead of making it default they made it module based. (see vu+ defconfig of linux kernel)

     It means that You have to install manually : kernel-module-udf , kernel-module-cdrom , kernel-module-sr-mod.

     Reboot the box. Then You can plugin You're usb drive and the sr0 required block dev will be made nased on the sg<x> scsi base device.

    Insert dvd and yes it plays ok 100 % I tested 20 different dvd's with an asus slim external usb drive (model SDRW-08D2S-U LITE).

 

General result as soon all the required libs are installed for DVD all ok.

For cd only data cd ok.

 

Audio cd big big problem. Ok here dm8000 situation. (sata dvd and usbdvd ok)

 

I'm now working and testing with only gst-1.0 image. What is required at base:

 - libcdio needs upgrade to version 0.93. As a result of this upgrade cdtextinfo needs to be patched with  libcdio090.patch posted here.

 - unfortunatelly kernel-module-cdfs needs to remain installed (which on it makes DVD udf support very very unstable)

 - gstreamer1.0-plugins-ugly-cdio needs to be installed also.

 Then working ok for audio cd but standard video udf dvd's broken.

 

Vuduo 2 audio cd support completely broken (and its i known problem). Even there version of cdfs plugin does not work anymore.

DVD udf support 100 % ok

 

What must be done. Well first modification off enigma2 mediaplayer to use audio cd's whitout the visual mount presentation from deprecated cdfs module. (libcdio needs to be used for that).

 

For DVD do the mount of the udf file sytem to the media lable if avbl.

 

 

 

Attached Files


Edited by christophecvr, 28 August 2015 - 14:44.


Re: Physical CD/DVD support enigma2. #2 littlesat

  • PLi® Core member
  • 57,083 posts

+698
Excellent

Posted 28 August 2015 - 15:44

Why do we need this check and differences at all? Is this due to the (drivers) kernels???

 

#if CDIO_API_VERSION >= 6


Edited by littlesat, 28 August 2015 - 15:44.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Physical CD/DVD support enigma2. #3 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 28 August 2015 - 16:44

Why do we need this check and differences at all? Is this due to the (drivers) kernels???

 

#if CDIO_API_VERSION >= 6

 

Yes it's the linux kernels upgrade who required this all.

 

At least for the audio cd's which are non mountable (and never where) actually the old cdfs file sytem support was only a kernel utility (eighter  hack ) to let think the other modules that it was a file system.

The use off mount -t cdfs  did actually never really mount the audio cd as a file sytem but let it look as a file system in linux.

 

This way of work is deprecated for all linux kernels 3 and above. Now an audio cd does not need to be mounted. The end audio cd player application must do the job now and use in linux libcdio for that.

 

libcddb does pas the cd track info to cdtextinfo. If the cd does not contain detailed track date it will look it up trough net if avbl.

 

The full implementation is not really easy and actually it has been a problem on all linux based devices. (I do mean with that stb's , pc's, and ....)

 

But the like for example ubuntu pc's has solved this issues. They do not use mount anymore for audio cd's. The applications must do it. For an ubuntu pc for example now rhythmox is the default used. But there are other players avbl which do the same.

They use all libcdio (for kernels above 3 version 9  or above must be used).

 

Enigma 2 is not adapted yet actually it's mediaplayer off enigma2 which needs to be adapted. But how , I don't know, and it will not be an easy task.

 

I well did a lot of testing with modified codes (nothing what i did was stable generally and was only based for one specific situation) However I could make it all work if i limited the code to one specific media type.

 

The current state is research yet. But al is wel possible in enigma2



Re: Physical CD/DVD support enigma2. #4 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 28 August 2015 - 17:16

#if CDIO_API_VERSION >= 6


It is not possible to check on kernel features compile-time. All boxes (currently) use the 3.19 kernel headers. If you need specific features (and glib doesn't emulate them) you'll have to use a runtime test.
Real musicians never die - they just decompose

Re: Physical CD/DVD support enigma2. #5 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 28 August 2015 - 19:38

CDIO_API_VERSION can be found in include/cdio/cdio.h so no kernel related issue.

So most probably there is a mess in headers. File src/cdtextinfo.c should be align with include/cdio/cdio.h.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Physical CD/DVD support enigma2. #6 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 30 August 2015 - 13:43

I made a patch to hotplug-e2-helper (bdpoll.c)

 

Now working with with audio cd support (cdfs is still needed) . The audio cd's are working fine.

Before it did break the dvd support. With this patch dvd support is not broken anymore.

 

The audio cd will always be mounted to /media/<devname> required for media player.

An symlink to block device /dev/sr0 will be made called cdrom (required for gst-1).

 

The data cd/dvd will be mounted to there partition volume label if avbl .

If the label is not compatible to /media/UNTITLED-DISC.

If there is no lable to /media/<devname>

When cd/dvd is removed the created mountpoint will be removed as well.

 

Polling interval has been changed to 1 seconds instead of two which is more stable up on media change.

 

 

 

Attached Files



Re: Physical CD/DVD support enigma2. #7 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 30 August 2015 - 14:18

The only hickup is when You insert a dvd , You receive the menu play dvd.

 

If You press ok it exits. But then selcet menu , You find DVD PLAYER in main menu. Just pres ok on DVD PLAYER and it starts.

 

Gues enigma2 hard targets to /dev/sr0 for that



Re: Physical CD/DVD support enigma2. #8 littlesat

  • PLi® Core member
  • 57,083 posts

+698
Excellent

Posted 30 August 2015 - 14:25

Basically I think a good idea....

 

+static char volume_name[33]; should be avoided... what if volume name is longer?

 

And why change the time???


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Physical CD/DVD support enigma2. #9 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 30 August 2015 - 14:27

And the vuduo2 no audio cd support with usb dvd writer. But its' a known problem and works nowhere anymore on the duo2/solo2. (in despit the fact kernel-module-cdfs is installed) . It's generally broken since the two last kernel updates.

 

The same usb writer on dm8000 does play all just like the sata cd writer.

 

The udf dvd or all data types cd/dvd are working fine.



Re: Physical CD/DVD support enigma2. #10 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 30 August 2015 - 14:29

Basically I think a good idea....

 

+static char volume_name[33]; should be avoided... what if volume name is longer?

 

And why change the time???

Volume name can't be longer. Max 32 lenght 33 (for the 0 end string). But even if it's longer no problem since only the first 32 are readed.


Edited by christophecvr, 30 August 2015 - 14:29.


Re: Physical CD/DVD support enigma2. #11 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 30 August 2015 - 14:33

The polling time from 2 seconds or more can create problems on with cd writers types wich are a bit slower. However with it works well (a bit less stable)



Re: Physical CD/DVD support enigma2. #12 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 30 August 2015 - 18:28

To all note that the patch is really experimentall and actually just a start.

 

It is wel in the current state applicable for gst-0.10. images. And on a dreambox it works 100 % ok.

Vuduo2 no audio cd support. (whats not working for vuduo2 will also not work for solo2)

 

That audio cd support anyway needs to be changed like they had to do on very linux kernel when kernel migrated to 3.0 or above. I just do not know how yet.

Some hints from experts always welcome.

 

Further enigma2 has at this time hard targeting to /media/sr0 which is wrong. mdev.conf also.

 

In future evolution its normal that more sr block devices maybe expected (I think about for example blu ray reader).

Then for the high rank boxes such as vuduo2/solo2 and etxxx and ... the use of two usb readres is possible.

Result the dvdrom reader will stick to sr<x> and the blu reader to antother sr<x>

 

This means wel will have at base change the mdev.conf rule from

sr0		 		0:0 	664 	*/usr/bin/bdpoll sr0 -c

to :

sr0[o-9]		 		0:0 	664 	*/usr/bin/bdpoll ${MDEV} -c

Also hard targettng in e2 not possible any more (or it will be erratic)

 

And yes the link I made cdrom to sr0 will have be adapted to cdrom<0-9>

 

But that's future. I would really appreciate if an python expert checks the base e2 about the hard targeting issues.

Then we can evaluate to a modern e2 which takes care of the real mountpoints and base device names.



Re: Physical CD/DVD support enigma2. #13 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 31 August 2015 - 07:51

I also just discovered a general core problem.

 

When You try to mount a dvd with the -t auto  or without option , it tries to mount as ntfs file system. That's a bug.

root@vuduo2:~# mount /dev/sr0 /media/test
Can only open '/dev/sr0' as read-only
NTFS signature is missing.
Failed to mount '/dev/sr0': Invalid argument
The device '/dev/sr0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount: mounting /dev/sr0 on /media/test failed: Invalid argument
root@vuduo2:~# mount -t udf /dev/sr0 /media/test
root@vuduo2:~#

I just checked since actually voor a data cd/dvd it would have been better to use

 

mount /dev/sr0 /media/volume instead off using specific file system (the error for audio cd is covered by media type so that type off media will still only use cdfs.)

 

On a standard linux system it works

mount /dev/sr0 /media/test
mount: blok-apparaat /dev/sr0 is schrijfbeveiligd en wordt als alleen-lezen aangekoppeld


Re: Physical CD/DVD support enigma2. #14 littlesat

  • PLi® Core member
  • 57,083 posts

+698
Excellent

Posted 31 August 2015 - 08:39

I think this needs more investigation before we should consider a final 'patch'...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Physical CD/DVD support enigma2. #15 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 31 August 2015 - 08:56

Yes , I also thaught about the fact that by vuduo the udf is module based , (with m in kernel defconfig) And You have use opkg install kernel-module-udf before You can mount dvd's. But it's not the cause. Since dm8000 has same problem and there The kernel defconfig is with y . udf is installed by default.



Re: Physical CD/DVD support enigma2. #16 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 31 August 2015 - 09:06

Here maybe valuable info, I made on purpose an error by dev location :

mount /sr0 /media/test
ntfs-3g: Failed to access volume '/sr0': No such file or directory

ntfs-3g 2013.1.13 integrated FUSE 27 - Third Generation NTFS Driver
                Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2012 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information:  http://tuxera.com
mount: mounting /sr0 on /media/test failed: No such file or directory


Re: Physical CD/DVD support enigma2. #17 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 31 August 2015 - 10:44

Use strace, everything seems ok. Mount command reads the /etc/filesystems and tries one by one unitl ntfs-3g is executed with more "noise"...
 
root@formuler1:~# opkg install strace
Package strace (4.9-r0.9) installed in root is up to date.
root@formuler1:~# strace mount /sr0 /media/test
execve("/bin/mount", ["mount", "/sr0", "/media/test"], [/* 12 vars */]) = 0
brk(0)                                  = 0x4bf000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77533000
uname({sys="Linux", node="formuler1", ...}) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=10245, ...}) = 0
mmap(NULL, 10245, PROT_READ, MAP_PRIVATE, 3, 0) = 0x77530000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\240\t\0\0004\0\0\0"..., 512) = 512
lseek(3, 620, SEEK_SET)                 = 620
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0 \0\0\0", 32) = 32
fstat64(3, {st_mode=S_IFREG|0755, st_size=39860, ...}) = 0
mmap(NULL, 262716, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x774c2000
mprotect(0x774cb000, 61440, PROT_NONE)  = 0
mmap(0x774da000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x774da000
mmap(0x774dc000, 156220, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x774dc000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0D\225\1\0004\0\0\0"..., 512) = 512
lseek(3, 700, SEEK_SET)                 = 700
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0 \0\0\0", 32) = 32
fstat64(3, {st_mode=S_IFREG|0755, st_size=1537564, ...}) = 0
mmap(NULL, 1515440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x77350000
mprotect(0x774aa000, 65536, PROT_NONE)  = 0
mmap(0x774ba000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15a000) = 0x774ba000
mmap(0x774c0000, 8112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x774c0000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7752f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7752e000
set_thread_area(0x77536920)             = 0
mprotect(0x774ba000, 12288, PROT_READ)  = 0
mprotect(0x774da000, 4096, PROT_READ)   = 0
mprotect(0x77534000, 4096, PROT_READ)   = 0
munmap(0x77530000, 10245)               = 0
getuid()                                = 0
brk(0)                                  = 0x4bf000
brk(0x4e0000)                           = 0x4e0000
getuid()                                = 0
geteuid()                               = 0
stat64("/sr0", 0x7fc11268)              = -1 ENOENT (No such file or directory)
open("/etc/filesystems", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=40, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77340000
read(3, "ext4\next3\next2\nvfat\nfat\nbtrfs\nnt"..., 4096) = 40
read(3, "", 4096)                       = 0
open("/proc/filesystems", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77330000
read(4, "nodev\tsysfs\nnodev\trootfs\nnodev\tr"..., 1024) = 324
read(4, "", 1024)                       = 0
mount("/sr0", "/media/test", "ext4", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19603
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19603, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19603, NULL, 0)                 = 19603
mount("/sr0", "/media/test", "ext3", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19604
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19604, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19604, NULL, 0)                 = 19604
mount("/sr0", "/media/test", "ext2", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19605
waitpid(19605, NULL, 0)                 = 19605
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19605, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
mount("/sr0", "/media/test", "vfat", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19606
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19606, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19606, NULL, 0)                 = 19606
mount("/sr0", "/media/test", "fat", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19607
waitpid(19607, NULL, 0)                 = 19607
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19607, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
mount("/sr0", "/media/test", "btrfs", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19608
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19608, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19608, NULL, 0)                 = 19608
mount("/sr0", "/media/test", "ntfs-3g", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19609
waitpid(19609, ntfs-3g: Failed to access volume '/sr0': No such file or directory

ntfs-3g 2013.1.13 integrated FUSE 27 - Third Generation NTFS Driver
                Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2012 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information:  http://tuxera.com
[{WIFEXITED(s) && WEXITSTATUS(s) == 11}], 0) = 19609
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19609, si_uid=0, si_status=11, si_utime=0, si_stime=0} ---
mount("/sr0", "/media/test", "ext4", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19610
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19610, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19610, NULL, 0)                 = 19610
mount("/sr0", "/media/test", "vfat", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19611
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19611, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19611, NULL, 0)                 = 19611
mount("/sr0", "/media/test", "msdos", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19612
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19612, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19612, NULL, 0)                 = 19612
mount("/sr0", "/media/test", "iso9660", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19613
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19613, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19613, NULL, 0)                 = 19613
mount("/sr0", "/media/test", "hfsplus", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19614
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19614, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19614, NULL, 0)                 = 19614
mount("/sr0", "/media/test", "hfs", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19615
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19615, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19615, NULL, 0)                 = 19615
mount("/sr0", "/media/test", "fuseblk", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19616
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19616, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19616, NULL, 0)                 = 19616
mount("/sr0", "/media/test", "udf", MS_SILENT, NULL) = -1 ENOENT (No such file or directory)
clone(child_stack=0x7fc11198, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 19617
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19617, si_uid=0, si_status=111, si_utime=0, si_stime=0} ---
waitpid(19617, NULL, 0)                 = 19617
write(2, "mount: mounting /sr0 on /media/t"..., 70mount: mounting /sr0 on /media/test failed: No such file or directory
) = 70
exit_group(-1)                          = ?
+++ exited with 255 +++

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Physical CD/DVD support enigma2. #18 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 31 August 2015 - 12:21

oh hail busybox



Re: Physical CD/DVD support enigma2. #19 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 31 August 2015 - 12:41

Well I did found some strange isue.

 

First they open in bdpoll with

fd = open(device_file, O_RDONLY | O_NONBLOCK | O_EXCL);

That's one off the reasons it the auto does not work anymore on the device , gues the auto fs polling also tries to open with EXCL option. Then You receive errno == EBUSY .

 

So opening whitout O_EXCL then automount works but only if first a mount with -t udf has been used once. Very weird.



Re: Physical CD/DVD support enigma2. #20 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 31 August 2015 - 13:02

oh hail busybox

No it has nothing to do with bussybox the standard mount command has same problem. (I tried it by removing the busybox moun and installed manually the mount command and associated library)





Also tagged with one or more of these keywords: DVD, UDF, AUDIO CD, ISO, CDIO

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users