Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2020 15:08:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 249395] Regression in 12.stable/12.2-beta: sg driver not working for makemkv
Message-ID:  <bug-249395-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249395

            Bug ID: 249395
           Summary: Regression in 12.stable/12.2-beta: sg driver not
                    working for makemkv
           Product: Base System
           Version: 12.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: trueos@norwegianrockcat.com

The Linux-compatible "scsi-generic" driver is not working
in 12-stable when using multimedia/makemkv (a binary-only Linux program); it
never finds a drive/disc, which it does on 12.1.

The problem seems to be MFCs in base r361038.

Steps to reproduce:

0. Build a custom kernel with "device sg" and reboot
1. Install multimedia/makemkv
2. run update-makemkv-drives
3. Insert a blu-ray or DVD film in your DVD/blu-ray drive
4. run (probably as root) makemkvcon info disc:0=20

When running on 12.1 with base r361038 or later:

sudo makemkvcon info disc:0
MakeMKV v1.15.2 linux(x64-release) started
The program can't find any usable optical drives.
Failed to open disc
Total 0 titles
zsh: segmentation fault  sudo makemkvcon info disc:0


What is expected:

When running on a scsi_sc.c before base r361038

sudo makemkvcon info disc:0
MakeMKV v1.15.2 linux(x64-release) started
Using direct disc access mode
Evaluation version, 28 day(s) out of 30 remaining
Loaded content hash table, will verify integrity of M2TS files.
[snip output]
Operation successfully completed
Total 14 titles
Title  0
[snip output]

Title 13
0 Video Mpeg4 AVC High@L4.1
1 Audio DTS-HD High resolution audio
2 Audio DTS
3 Subtitles HDMV PGS Subtitles
4 Subtitles HDMV PGS Subtitles
5 Subtitles HDMV PGS Subtitles
6 Subtitles HDMV PGS Subtitles

zsh: segmentation fault  sudo makemkvcon info disc:0


Note:
makemkvcon always segfaults on exit. That is another issue.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249395-227>