Open gmipf opened 3 years ago
mount point: (null)
Perhaps, it failed to execute findmnt.
Any suggestions what to try?
Is there findmnt in your system?
yes, i can run it from command prompt.
DVDAuth executes.
_snprintf(str, nStrSize, "findmnt -m | grep %s 2>/dev/null > /tmp/DVDAuth.txt", psz_target);
system(str);
DVDAuth checks if psz_target (/dev/sr1) is really being mounted.
Plz tell me the result of "findmnt -m".
$ sudo findmnt -m
TARGET SOURCE FSTYPE OPTIONS
/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
/proc proc proc rw,nosuid,nodev,noexec,relatime
/dev udev devtmpfs rw,nosuid,noexec,relatime,size=8066592k,nr_inodes=2016648,mode=755
/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=1629484k,mode=755
/ /dev/mapper/vgkubuntu-root
ext4 rw,relatime,errors=remount-ro
/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
/dev/shm tmpfs tmpfs rw,nosuid,nodev
/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k
/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755
/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate
/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd
/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime
/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700
/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec,relatime,devices
/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio
/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpuset
/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec,relatime,blkio
/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec,relatime,freezer
/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec,relatime,memory
/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec,relatime,rdma
/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct
/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec,relatime,hugetlb
/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec,relatime,perf_event
/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids
/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1899
/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M
/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime
/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime
/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime
/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime
/snap/bare/5 /dev/loop0 squashfs ro,nodev,relatime,x-gdu.hide
/snap/chromium/1753 /dev/loop1 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core18/2128 /dev/loop2 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gnome-3-28-1804/145 /dev/loop3 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gnome-3-28-1804/161 /dev/loop4 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gtk2-common-themes/13 /dev/loop6 squashfs ro,nodev,relatime,x-gdu.hide
/snap/notepadqq/855 /dev/loop5 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gtk-common-themes/1515 /dev/loop7 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gtk-common-themes/1519 /dev/loop8 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core/11420 /dev/loop9 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core/11743 /dev/loop10 squashfs ro,nodev,relatime,x-gdu.hide
/snap/spek/59 /dev/loop11 squashfs ro,nodev,relatime,x-gdu.hide
/snap/chromium/1772 /dev/loop12 squashfs ro,nodev,relatime,x-gdu.hide
/snap/snapd/13170 /dev/loop13 squashfs ro,nodev,relatime,x-gdu.hide
/snap/snapd/12704 /dev/loop14 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core18/2074 /dev/loop15 squashfs ro,nodev,relatime,x-gdu.hide
/boot /dev/sdb2 ext4 rw,relatime
/boot/efi /dev/sdb1 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=
/media/Daten /dev/mapper/vg0-r6data
ext4 rw,relatime
/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime
/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1629480k,mode=700,uid=1000,gid=1000
/run/user/1000/doc /dev/fuse fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
There is not /dev/sr1.
Yes but it is shown in the OS and playback is possible via VLC.
Also tell me the result of "findmnt -s" and "findmnt -k".
$ sudo findmnt -s
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mapper/vgkubuntu-root ext4 errors=remount-ro
/boot UUID=3b04ac38-37a0-433b-b774-e253501f0054 ext4 defaults
/boot/efi UUID=DC4D-36D1 vfat umask=0077
none /dev/mapper/vgkubuntu-swap_1 swap sw
/media/Daten /dev/vg0/r6data ext4 defaults
$ sudo findmnt -k
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mapper/vgkubuntu-root
│ ext4 rw,relatime,errors=remount-ro
├─/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755
│ │ ├─/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate
│ │ ├─/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd
│ │ ├─/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec,relatime,devices
│ │ ├─/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio
│ │ ├─/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpuset
│ │ ├─/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec,relatime,blkio
│ │ ├─/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec,relatime,freezer
│ │ ├─/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec,relatime,memory
│ │ ├─/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec,relatime,rdma
│ │ ├─/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct
│ │ ├─/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec,relatime,hugetlb
│ │ ├─/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec,relatime,perf_event
│ │ └─/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids
│ ├─/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
│ ├─/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700
│ ├─/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime
│ └─/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime
├─/proc proc proc rw,nosuid,nodev,noexec,relatime
│ └─/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_in
│ └─/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime
├─/dev udev devtmpfs rw,nosuid,noexec,relatime,size=8066592k,nr_inodes=2016648,mode=755
│ ├─/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
│ ├─/dev/shm tmpfs tmpfs rw,nosuid,nodev
│ ├─/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M
│ └─/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
├─/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=1629484k,mode=755
│ ├─/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k
│ └─/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1629480k,mode=700,uid=1000,gid=1000
│ └─/run/user/1000/doc /dev/fuse fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
├─/snap/bare/5 /dev/loop0 squashfs ro,nodev,relatime
├─/snap/chromium/1753 /dev/loop1 squashfs ro,nodev,relatime
├─/snap/core18/2128 /dev/loop2 squashfs ro,nodev,relatime
├─/snap/gnome-3-28-1804/145 /dev/loop3 squashfs ro,nodev,relatime
├─/snap/gnome-3-28-1804/161 /dev/loop4 squashfs ro,nodev,relatime
├─/snap/gtk2-common-themes/13 /dev/loop6 squashfs ro,nodev,relatime
├─/snap/notepadqq/855 /dev/loop5 squashfs ro,nodev,relatime
├─/snap/gtk-common-themes/1515 /dev/loop7 squashfs ro,nodev,relatime
├─/snap/gtk-common-themes/1519 /dev/loop8 squashfs ro,nodev,relatime
├─/snap/spek/59 /dev/loop11 squashfs ro,nodev,relatime
├─/snap/snapd/12704 /dev/loop14 squashfs ro,nodev,relatime
├─/snap/core18/2074 /dev/loop15 squashfs ro,nodev,relatime
├─/boot /dev/sdb2 ext4 rw,relatime
│ └─/boot/efi /dev/sdb1 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shor
├─/media/Daten /dev/mapper/vg0-r6data
│ ext4 rw,relatime
├─/snap/core/11420 /dev/loop9 squashfs ro,nodev,relatime
├─/snap/core/11743 /dev/loop10 squashfs ro,nodev,relatime
├─/snap/chromium/1772 /dev/loop12 squashfs ro,nodev,relatime
└─/snap/snapd/13170 /dev/loop13 squashfs ro,nodev,relatime
Also check "cat /proc/mounts" and "df -a".
$ cat /proc/mounts
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,nosuid,noexec,relatime,size=8066592k,nr_inodes=2016648,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=1629484k,mode=755 0 0
/dev/mapper/vgkubuntu-root / ext4 rw,relatime,errors=remount-ro 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18996 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/loop0 /snap/bare/5 squashfs ro,nodev,relatime 0 0
/dev/loop1 /snap/chromium/1753 squashfs ro,nodev,relatime 0 0
/dev/loop2 /snap/core18/2128 squashfs ro,nodev,relatime 0 0
/dev/loop3 /snap/gnome-3-28-1804/145 squashfs ro,nodev,relatime 0 0
/dev/loop4 /snap/gnome-3-28-1804/161 squashfs ro,nodev,relatime 0 0
/dev/loop6 /snap/gtk2-common-themes/13 squashfs ro,nodev,relatime 0 0
/dev/loop5 /snap/notepadqq/855 squashfs ro,nodev,relatime 0 0
/dev/loop7 /snap/gtk-common-themes/1515 squashfs ro,nodev,relatime 0 0
/dev/loop8 /snap/gtk-common-themes/1519 squashfs ro,nodev,relatime 0 0
/dev/loop9 /snap/core/11420 squashfs ro,nodev,relatime 0 0
/dev/loop10 /snap/core/11743 squashfs ro,nodev,relatime 0 0
/dev/loop11 /snap/spek/59 squashfs ro,nodev,relatime 0 0
/dev/loop12 /snap/chromium/1772 squashfs ro,nodev,relatime 0 0
/dev/loop13 /snap/snapd/13170 squashfs ro,nodev,relatime 0 0
/dev/loop14 /snap/snapd/12704 squashfs ro,nodev,relatime 0 0
/dev/loop15 /snap/core18/2074 squashfs ro,nodev,relatime 0 0
/dev/sdb2 /boot ext4 rw,relatime 0 0
/dev/sdb1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/mapper/vg0-r6data /media/Daten ext4 rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=1629480k,mode=700,uid=1000,gid=1000 0 0
/dev/fuse /run/user/1000/doc fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
$ sudo df -a
Filesystem 1K-blocks Used Available Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
udev 8066592 0 8066592 0% /dev
devpts 0 0 0 - /dev/pts
tmpfs 1629484 3296 1626188 1% /run
/dev/mapper/vgkubuntu-root 484047264 400826980 58562368 88% /
securityfs 0 0 0 - /sys/kernel/security
tmpfs 8147404 61776 8085628 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 8147404 0 8147404 0% /sys/fs/cgroup
cgroup2 0 0 0 - /sys/fs/cgroup/unified
cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore 0 0 0 - /sys/fs/pstore
efivarfs 0 0 0 - /sys/firmware/efi/efivars
none 0 0 0 - /sys/fs/bpf
cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup 0 0 0 - /sys/fs/cgroup/rdma
cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup 0 0 0 - /sys/fs/cgroup/pids
systemd-1 - - - - /proc/sys/fs/binfmt_misc
hugetlbfs 0 0 0 - /dev/hugepages
mqueue 0 0 0 - /dev/mqueue
debugfs 0 0 0 - /sys/kernel/debug
tracefs 0 0 0 - /sys/kernel/tracing
fusectl 0 0 0 - /sys/fs/fuse/connections
configfs 0 0 0 - /sys/kernel/config
/dev/loop0 128 128 0 100% /snap/bare/5
/dev/loop1 146176 146176 0 100% /snap/chromium/1753
/dev/loop2 56832 56832 0 100% /snap/core18/2128
/dev/loop3 166784 166784 0 100% /snap/gnome-3-28-1804/145
/dev/loop4 168832 168832 0 100% /snap/gnome-3-28-1804/161
/dev/loop6 256 256 0 100% /snap/gtk2-common-themes/13
/dev/loop5 148480 148480 0 100% /snap/notepadqq/855
/dev/loop7 66688 66688 0 100% /snap/gtk-common-themes/1515
/dev/loop8 66816 66816 0 100% /snap/gtk-common-themes/1519
/dev/loop9 101888 101888 0 100% /snap/core/11420
/dev/loop10 101760 101760 0 100% /snap/core/11743
/dev/loop11 120064 120064 0 100% /snap/spek/59
/dev/loop12 149248 149248 0 100% /snap/chromium/1772
/dev/loop13 33152 33152 0 100% /snap/snapd/13170
/dev/loop14 33152 33152 0 100% /snap/snapd/12704
/dev/loop15 56832 56832 0 100% /snap/core18/2074
/dev/sdb2 1172288 985120 110368 90% /boot
/dev/sdb1 64511 7970 56542 13% /boot/efi
/dev/mapper/vg0-r6data 14531862536 8392328720 5407096724 61% /media/Daten
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
tmpfs 1629480 16 1629464 1% /run/user/1000
/dev/fuse 0 0 0 - /run/user/1000/doc
But if I mount it manually with gnome-disks
it shows up in all 4 commands, but still fails to dump with following:
$ sudo ./DiscImageCreator_linux.out dvd /dev/sr0 dumps/dvd_mgsmh_xsbs25241/dump.iso 16
AppVersion
x64, AnsiBuild, 20211001T120113
CurrentDirectory
/media/Daten/DiscImageCreator_linux
WorkingPath
Argument: dumps/dvd_mgsmh_xsbs25241/dump.iso
FullPath: /media/Daten/DiscImageCreator_linux/dumps/dvd_mgsmh_xsbs25241/dump.iso
Drive: /
Directory: media/Daten/DiscImageCreator_linux/dumps/dvd_mgsmh_xsbs25241/
Filename: dump
Extension: .iso
StartTime: 2021-10-02T19:34:18+0200
Block Size: 4096
Flagment Size: 4096
All Block Num: 121011816
Free Block Num: 20805004
Available Block Num: 14640525
I Node Num: 30801920
Free I Node Num: 29478553
Available I Node Num: 29478553
File System ID: 14113274811963720153
Mount Flag: 4096
Max Filename Length: 255
CurrentDriveSize
Total: 495664398336 bytes
Used: 59967590400 bytes
------------------------------------
Space: 435696807936 bytes
=> There is enough the disk space for dumping
Set the drive speed: 22160KB/sec
[F:DVDGetRegion][L:406] GetLastError: 0, Success
Reading DirectoryRecord 3/ 3
/media/Daten/DiscImageCreator_linux/./DVDAuth_linux.out /dev/sr0 css /media/Daten/DiscImageCreator_linux/dumps/dvd_mgsmh_xsbs25241/dump_CSSKey.txt
mount point: /media/user/DVD_VIDEO
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
Failed dvd_init
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Creating iso(LBA) 288/ 874560Read retry from 288
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Retry NG
EndTime: 2021-10-02T19:34:21+0200
Here the output of findmnt -m
after mounting:
$ sudo findmnt -m
TARGET SOURCE FSTYPE OPTIONS
/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
/proc proc proc rw,nosuid,nodev,noexec,relatime
/dev udev devtmpfs rw,nosuid,noexec,relatime,size=8066592k,nr_inodes=2016648,mode=755
/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=1629484k,mode=755
/ /dev/mapper/vgkubuntu-root
ext4 rw,relatime,errors=remount-ro
/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
/dev/shm tmpfs tmpfs rw,nosuid,nodev
/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k
/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755
/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate
/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd
/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime
/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700
/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec,relatime,devices
/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio
/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpuset
/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec,relatime,blkio
/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec,relatime,freezer
/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec,relatime,memory
/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec,relatime,rdma
/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct
/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec,relatime,hugetlb
/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec,relatime,perf_event
/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids
/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1899
/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M
/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime
/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime
/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime
/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime
/snap/bare/5 /dev/loop0 squashfs ro,nodev,relatime,x-gdu.hide
/snap/chromium/1753 /dev/loop1 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core18/2128 /dev/loop2 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gnome-3-28-1804/145 /dev/loop3 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gnome-3-28-1804/161 /dev/loop4 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gtk2-common-themes/13 /dev/loop6 squashfs ro,nodev,relatime,x-gdu.hide
/snap/notepadqq/855 /dev/loop5 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gtk-common-themes/1515 /dev/loop7 squashfs ro,nodev,relatime,x-gdu.hide
/snap/gtk-common-themes/1519 /dev/loop8 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core/11420 /dev/loop9 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core/11743 /dev/loop10 squashfs ro,nodev,relatime,x-gdu.hide
/snap/spek/59 /dev/loop11 squashfs ro,nodev,relatime,x-gdu.hide
/snap/chromium/1772 /dev/loop12 squashfs ro,nodev,relatime,x-gdu.hide
/snap/snapd/13170 /dev/loop13 squashfs ro,nodev,relatime,x-gdu.hide
/snap/snapd/12704 /dev/loop14 squashfs ro,nodev,relatime,x-gdu.hide
/snap/core18/2074 /dev/loop15 squashfs ro,nodev,relatime,x-gdu.hide
/boot /dev/sdb2 ext4 rw,relatime
/boot/efi /dev/sdb1 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=
/media/Daten /dev/mapper/vg0-r6data
ext4 rw,relatime
/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime
/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1629480k,mode=700,uid=1000,gid=1000
/run/user/1000/doc /dev/fuse fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
/media/user/DVD_VIDEO /dev/sr0 udf ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,uhelper=udisks2
How about sudo mount
, not gnome-disks
?
Tried now, still same:
$ sudo mount /dev/sr0 /mnt/
mount: /mnt: WARNING: device write-protected, mounted read-only.
$ sudo ./DiscImageCreator_linux.out dvd /dev/sr0 dumps/dvd_mgsmh_xsbs25241_2/dump.iso 16
AppVersion
x64, AnsiBuild, 20211001T120113
/media/Daten/DiscImageCreator_linux/dumps/dvd_mgsmh_xsbs25241_2/ doesn't exist, so create.
CurrentDirectory
/media/Daten/DiscImageCreator_linux
WorkingPath
Argument: dumps/dvd_mgsmh_xsbs25241_2/dump.iso
FullPath: /media/Daten/DiscImageCreator_linux/dumps/dvd_mgsmh_xsbs25241_2/dump.iso
Drive: /
Directory: media/Daten/DiscImageCreator_linux/dumps/dvd_mgsmh_xsbs25241_2/
Filename: dump
Extension: .iso
StartTime: 2021-10-02T20:04:56+0200
Block Size: 4096
Flagment Size: 4096
All Block Num: 121011816
Free Block Num: 20803416
Available Block Num: 14638937
I Node Num: 30801920
Free I Node Num: 29478424
Available I Node Num: 29478424
File System ID: 14113274811963720153
Mount Flag: 4096
Max Filename Length: 255
CurrentDriveSize
Total: 495664398336 bytes
Used: 59961085952 bytes
------------------------------------
Space: 435703312384 bytes
=> There is enough the disk space for dumping
Set the drive speed: 22160KB/sec
[F:DVDGetRegion][L:406] GetLastError: 0, Success
Reading DirectoryRecord 3/ 3
/media/Daten/DiscImageCreator_linux/./DVDAuth_linux.out /dev/sr0 css /media/Daten/DiscImageCreator_linux/dumps/dvd_mgsmh_xsbs25241_2/dump_CSSKey.txt
mount point: /mnt
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
Failed dvd_init
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Creating iso(LBA) 288/ 874560Read retry from 288
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Retry NG
EndTime: 2021-10-02T20:04:57+0200
I remember it being working before without mounting by hand but can't remember which OS version it was.
Does it mean this is Kubuntu 20.04 kernel 5.13.0-1010-oem specific issue?
Everything I have tried yesterday was on kernel 5.4.0-89-generic.
All same on kernel 5.13.0-1014-oem. Maybe it is a Kubuntu 20.04 thing?
So I have changed the OS completly to Fedora 35 with all updates. Still the same problem. I think you have to look into it again.
DiscImageCreator_linux_test.tar.gz Also use sudo when external exe is used.
@gmipf Was this issue solved?
No, I'm getting this:
$ sudo ./DiscImageCreator_linux.out dvd /dev/sr0 dumps/dvd_test/dump.bin 0
[sudo] password for gmipf:
AppVersion
64 bit, AnsiBuild, 20211225T131350
/home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test/ doesn't exist, so create.
CurrentDirectory
/home/gmipf/bin/DiscImageCreator_linux_test
WorkingPath
Argument: dumps/dvd_test/dump.bin
FullPath: /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test/dump.bin
Drive: /
Directory: home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test/
Filename: dump
Extension: .bin
StartTime: 2021-12-29T15:28:18+0100
szPath: /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test, pszFullPath: /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test/dump.bin
Block Size: 4096
Flagment Size: 4096
All Block Num: 124606720
Free Block Num: 81402832
Available Block Num: 81243928
I Node Num: 0
Free I Node Num: 0
Available I Node Num: 0
File System ID: 3301985163471573774
Mount Flag: 4096
Max Filename Length: 255
DiskSize of [/home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test]
Total: 510389125120 bytes
Used: 176963125248 bytes
--------------------------
Space: 333425999872 bytes
=> There is enough disk space for dumping
[F:DVDGetRegion][L:406] GetLastError: 0, Success
Reading DirectoryRecord 3/ 3
sudo /home/gmipf/bin/DiscImageCreator_linux_test/./DVDAuth_linux.out /dev/sr0 css /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test/dump_CSSKey.txt
mount point: (null)
Failed to open /dev/sr0
Failed dvd_init
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Creating iso(LBA) 288/ 874560Read retry from 288
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Retry NG
EndTime: 2021-12-29T15:28:19+0100
As I already said, please use mount.
No, still same, used this to mount:
$ sudo mount /dev/sr0 /mnt/
[sudo] password for gmipf:
mount: /mnt: WARNING: source write-protected, mounted read-only.
Here the output:
$ sudo ./DiscImageCreator_linux.out dvd /dev/sr0 dumps/dvd_test_3/dump.bin 0
[sudo] password for gmipf:
AppVersion
64 bit, AnsiBuild, 20211225T131350
/home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test_3/ doesn't exist, so create.
CurrentDirectory
/home/gmipf/bin/DiscImageCreator_linux_test
WorkingPath
Argument: dumps/dvd_test_3/dump.bin
FullPath: /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test_3/dump.bin
Drive: /
Directory: home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test_3/
Filename: dump
Extension: .bin
StartTime: 2021-12-29T15:49:16+0100
szPath: /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test_3, pszFullPath: /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test_3/dump.bin
Block Size: 4096
Flagment Size: 4096
All Block Num: 124606720
Free Block Num: 81399800
Available Block Num: 81240916
I Node Num: 0
Free I Node Num: 0
Available I Node Num: 0
File System ID: 3301985163471573774
Mount Flag: 4096
Max Filename Length: 255
DiskSize of [/home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test_3]
Total: 510389125120 bytes
Used: 176975544320 bytes
--------------------------
Space: 333413580800 bytes
=> There is enough disk space for dumping
[F:DVDGetRegion][L:406] GetLastError: 0, Success
Reading DirectoryRecord 3/ 3
sudo /home/gmipf/bin/DiscImageCreator_linux_test/./DVDAuth_linux.out /dev/sr0 css /home/gmipf/bin/DiscImageCreator_linux_test/dumps/dvd_test_3/dump_CSSKey.txt
mount point: /mnt
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
[F:ioctl_ReadTitleKey][L:198] GetLastError: 5, Input/output error
Failed dvd_init
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Creating iso(LBA) 288/ 874560Read retry from 288
LBA[000288, 0x00120]: [F:ReadDVD][L:328]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-6f-03 = ILLEGAL_REQUEST - READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION
Retry NG
EndTime: 2021-12-29T15:49:18+0100
Oh, I also wanted to mention I'm using Fedora 35 KDE spin. Maybe it is handling mounts different than Gnome?
still same
Not same. Error msg is different. But it doesn't work in your system... I always test a linux build on knoppix and it's no problem. If you can use knoppix, try it plz.
Tried knoppix in a vm, also tried to use an external usb drive with enough space. DIC always says Not enough space.
DIC always says Not enough space.
I already fixed it with the latest test version (20211225T131350).
It is working after manual mount on Knoppix. Also tried in Ubuntu 18.04.6 live mode (ubuntu-18.04.6-desktop-amd64.iso) and there it is even better. No need for mount it is working straight.
Here the ubuntu 18.04.6 output:
$ sudo ./DiscImageCreator_linux.out dvd /dev/sr1 test/dump.iso 0
AppVersion
64 bit, AnsiBuild, 20211225T131350
/media/ubuntu/4TB/DiscImageCreator_linux_test/test/ doesn't exist, so create.
CurrentDirectory
/media/ubuntu/4TB/DiscImageCreator_linux_test
WorkingPath
Argument: test/dump.iso
FullPath: /media/ubuntu/4TB/DiscImageCreator_linux_test/test/dump.iso
Drive: /
Directory: media/ubuntu/4TB/DiscImageCreator_linux_test/test/
Filename: dump
Extension: .iso
StartTime: 2021-12-29T16:08:28+0000
szPath: /media/ubuntu/4TB/DiscImageCreator_linux_test/test, pszFullPath: /media/ubuntu/4TB/DiscImageCreator_linux_test/test/dump.iso
Block Size: 32768
Flagment Size: 32768
All Block Num: 122089119
Free Block Num: 671180
Available Block Num: 671180
I Node Num: 22788480
Free I Node Num: 21656968
Available I Node Num: 21656968
File System ID: 0
Mount Flag: 4102
Max Filename Length: 255
DiskSize of [/media/ubuntu/4TB/DiscImageCreator_linux_test/test]
Total: 4000616251392 bytes
Used: 3978623025152 bytes
--------------------------
Space: 21993226240 bytes
=> There is enough disk space for dumping
[F:DVDGetRegion][L:406] GetLastError: 0, Success
Reading DirectoryRecord 3/ 3
sudo /media/ubuntu/4TB/DiscImageCreator_linux_test/./DVDAuth_linux.out /dev/sr1 css /media/ubuntu/4TB/DiscImageCreator_linux_test/test/dump_CSSKey.txt
mount point: /media/ubuntu/DVD_VIDEO
Creating iso(LB^C 74624/ 874560
Knoppix -> 〇 Ubuntu 18.04.6 live mode -> 〇 Fedora 35 KDE spin -> × Kubuntu 20.04 kernel 5.13.0-1010-oem -> ×
Live disc is only accepted? Why...
I don't think the reason is live mode? I had an old Ubuntu installation before and there it was also working. I think something has changed on newer Linux distros. You should try to avoid Knoppix and use something modern for testing.
Something really weird is happening. Somehow it is working on my Fedora install but only on certain conditions I have no control of. Here what I found out: If the DVD-Video is properly shown in the OS and gnome-disks, it will not work on DIC, doesn't make any difference if you not mount, mount with gnome-disks or mount command. Screenshot: https://pichoster.adbt2.ath.cx/viewpic/Screenshot_20211229_180448png1D4qOQe.png
And now the 2nd scenario where the DVD isn't detected. Mounting through gnome-disks isn't possible, I have to use the mount command. After that it is working in DIC. Screenshot: https://pichoster.adbt2.ath.cx/viewpic/Screenshot_20211229_180904pngOMgrBlJ.png "Inhalt (Content/filesystem): Unbekannt (unknown)"
The problem is, whether a DVD is properly detected or not is pretty random, the first drive always detects the filesystem but second drive sometimes and sometimes not. On 20211101T132455 it's the same behaviour.
The problem is, whether a DVD is properly detected or not is pretty random, the first drive always detects the filesystem but second drive sometimes and sometimes not.
It's your drive or pc problem, not OS?
I think it is an OS problem. Dumping works fine, content is shown after manual mount when OS didn't detects the filesystem. The OS just randomly detects filesystems, sometimes and sometimes not. I remember having the same problem on Kubuntu 20.04. But still your tool also does have a problem. If the OS detects filesystem properly (which is how it should work), DIC isn't working on CSS DVDs.
You should try to avoid Knoppix and use something modern for testing.
I installed ubuntu-20.04.3-desktop-amd64 on HDD and test. As a result, DVD with CSS dumping is no problem. I don't check Fedora yet. But its distro is a short time to support, so I don't use it.
You reported #91 using PX-716A before.
Screenshot: https://pichoster.adbt2.ath.cx/viewpic/Screenshot_20211229_180904pngOMgrBlJ.png
And this drive is also PX-716A... It's known that 716A is easy to die. I recommend that you make it retire.
I think we have a little misunderstanding here. The only drives where the CSS dump is working on Linux are the PX-716, I have two and both of them working. I think it is a KDE problem.
I think it is a KDE problem.
Then, this issue won't fix, OK?
Dumping a CSS protected DVD Video results the following error:
dvd_mgsmh_xsbs25241_3.zip
But after playing back for some seconds with VLC or SMPlayer and closing the Video player it will dump. Ejecting and reloading the disc will result to the same error from above again until I play back the DVD in a DVD player. I think the player does some sort of CSS unlocking by accessing the DVD drive. But I think this is not the right behavior. It was working before but can't remember on which version. Or maybe something changed in Ubuntu? My distro is Kubuntu 20.04 kernel 5.13.0-1010-oem.
I'm not sure if the dump created is valid, here is the output after playback:
dvd_mgsmh_xsbs25241_4.zip