Mailinglist Archive: opensuse-bugs (6588 mails)

< Previous Next >
[Bug 1143027] New: mount(2) system call failed: Function not implemented.
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 26 Jul 2019 11:46:20 +0000
  • Message-id: <>

Bug ID: 1143027
Summary: mount(2) system call failed: Function not implemented.
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 15.0
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: carlos.e.r@xxxxxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

I'm creating encrypted blue Ray Disks, following a procedure I used years ago
with DVDs, and reading

Basic procedure:

# truncate -s 50050629632 image_1_50.img
# losetup -f image_1_50.img
# cryptsetup luksFormat --type luks2 --label blueray50img /dev/loop0
# cryptsetup luksOpen /dev/loop0 cr_nombre

# mkfs.xfs -L ANameUnseen -s size=2048 /dev/mapper/cr_nombre
meta-data=/dev/mapper/cr_nombre isize=512 agcount=4, agsize=3054592 blks
= sectsz=2048 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0, rmapbt=0
= reflink=0
data = bsize=4096 blocks=12218368, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=5966, version=2
= sectsz=2048 sunit=1 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0

This produces an image file (image_1_50.img), encrypted with LUKS, mountable

# mount -v /dev/mapper/cr_nombre /mnt
mount: /dev/mapper/cr_nombre mounted on /mnt.
# df /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/cr_nombre 48849608 66192 48783416 1% /mnt
Telcontar:/home_aux/BLUERAY_OPS #

This image was burnt to a 50 G Blue Ray disk by K3B (just burn image, so no UDF

I recovered the image with dd and compared it. Matches, and is mountable:

dd if=/dev/dvd of=out.img bs=16M
Telcontar:/home_aux/BLUERAY_OPS # losetup -f out.img
Telcontar:/home_aux/BLUERAY_OPS # losetup -a
/dev/loop1: [2087]:1209048961 (/home_aux/BLUERAY_OPS/out.img)
/dev/loop0: [2087]:1209048958 (/home_aux/BLUERAY_OPS/image_1_50.img)
Telcontar:/home_aux/BLUERAY_OPS # cryptsetup luksOpen /dev/loop1 cr_dvdimage
Enter passphrase for /dev/loop1:
Telcontar:/home_aux/BLUERAY_OPS # md mnt2
Telcontar:/home_aux/BLUERAY_OPS # mount -v /dev/mapper/cr_dvdimage
mount: /dev/mapper/cr_dvdimage: can't find in /etc/fstab.
Telcontar:/home_aux/BLUERAY_OPS # mount -v /dev/mapper/cr_dvdimage ./mnt2
mount: /dev/mapper/cr_dvdimage mounted on /home_aux/BLUERAY_OPS/mnt2.
Telcontar:/home_aux/BLUERAY_OPS # file out.img
out.img: LUKS encrypted file, ver 2 [, , sha256] UUID:
Telcontar:/home_aux/BLUERAY_OPS # file -s /dev/mapper/cr_dvdimage
/dev/mapper/cr_dvdimage: symbolic link to ../dm-3
Telcontar:/home_aux/BLUERAY_OPS # file -s /dev/dm-3
/dev/dm-3: SGI XFS filesystem data (blksz 2048, inosz 512, v2 dirs)
Telcontar:/home_aux/BLUERAY_OPS # file -s /dev/dm-2
/dev/dm-2: SGI XFS filesystem data (blksz 2048, inosz 512, v2 dirs)
Telcontar:/home_aux/BLUERAY_OPS #

However, the DVD or Blue Ray itself is not mountable.

file /etc/crypttab contains:

crmm_dvd.l /dev/dvd.l none
noauto,loop /dev/ none
crmm_dvd.lx /dev/dvd.lx none

(tried also without "loop")
/dev/dvd.lx is a symlink to /dev/dvd


/dev/mapper/crmm_dvd.l /mnt/dvd.crypta.l auto
ro,noauto,user,lazytime 0 0
/dev/mapper/ /mnt/ reiserfs
ro,noauto,user,lazytime,barrier=flush 0 0
/dev/mapper/crmm_dvd.lx /mnt/dvd.crypta.lx xfs
ro,noauto,user,lazytime 0 0

(I have a script to automate decoding and mount, but this time I'm doing
manually to show the steps)

I'm getting a problem on mount, though :

... # cryptsetup luksOpen /dev/dvd crmm_dvd.lx
Enter passphrase for /dev/dvd:
... # l /dev/mapper/
total 0
drwxr-xr-x 2 root root 120 Jul 25 18:17 ./
drwxr-xr-x 22 root root 7580 Jul 25 18:16 ../
crw------- 1 root root 10, 236 Jul 23 11:41 control
lrwxrwxrwx 1 root root 7 Jul 25 18:17 crmm_dvd.lx -> ../dm-2
... #

... # mount -v /dev/mapper/crmm_dvd.lx /mnt/dvd.crypta.lx
mount: /mnt/dvd.crypta.lx: mount(2) system call failed: Function not
implemented. <=============== HERE ==============

Possible related to this log entry:

<0.4> 2019-07-25 18:19:19 Telcontar kernel - - - [127181.795181] XFS (dm-2):
device supports 2048 byte sectors (not 512)

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages