Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #88235

Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Ben Hutchings <benh@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM
Date Thu, 03 Jul 2025 01:20:01 +0200
Message-ID <L4eU9-eOR8-1@gated-at.bofh.it> (permalink)
References <L4eU9-eOR8-3@gated-at.bofh.it> <L4eU9-eOR8-5@gated-at.bofh.it> <KVikh-94jn-1@gated-at.bofh.it> <L4eU9-eOR8-7@gated-at.bofh.it> <L4eU9-eOR8-9@gated-at.bofh.it> <L4eU9-eOR8-11@gated-at.bofh.it> <L4eU9-eOR8-13@gated-at.bofh.it> <L4eU9-eOR8-15@gated-at.bofh.it> <L4eU9-eOR8-17@gated-at.bofh.it> <L4eU9-eOR8-19@gated-at.bofh.it> <KVikh-94jn-1@gated-at.bofh.it> <L4eU9-eOR8-21@gated-at.bofh.it> <KVikh-94jn-1@gated-at.bofh.it> <L4eU9-eOR8-21@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Jul 2 23:11:07 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.999
Reply-To Ben Hutchings <benh@debian.org>, 1107479@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1107479
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords sid upstream trixie bookworm experimental
X-Debian-Pr-Source linux
Organization Debian
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-fZQJ67eJRUEZGuzERXWr"
User-Agent Evolution 3.56.1-1
MIME-Version 1.0
X-Debian-User benh
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1912252
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 65
Sender robomod@news.nic.it
X-Original-Cc Chris Hofstaedtler <zeha@debian.org>, linux-block@vger.kernel.org, Jens Axboe <axboe@kernel.dk>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Salvatore Bonaccorso <carnil@debian.org>
X-Original-Date Thu, 03 Jul 2025 01:08:20 +0200
X-Original-Message-ID <e45a49a4e9656cf892e81cc12328b0983b4ef1da.camel@debian.org>
X-Original-References <zdclth6piuowqyvx4bn6es5s3zzcwbs6h2hheuswosbn4wty5a@blhozid4bx6q> <1MGQnP-1uY1yz0lQr-00EvjN@mail.gmx.net> <174936596275.4210.3207965727369251912.reportbug@pc14.home.lan> <fxg6dksau4jsk3u5xldlyo2m7qgiux6vtdrz5rywseotsouqdv@urcrwz6qtd3r> <whjbzs4o3zjgnvbr2p6wkafrqllgfmyrd63xlanhodhtklrejk@pnuxnfxvlwz5> <1N4hzj-1uuA3Z1OEh-00rhJD@mail.gmx.net> <iry3mdm2bpp2mvteytiiq3umfwfdaoph5oe345yxjx4lujym2f@2p4raxmq2f4i> <1MSc1L-1uKBoQ15kv-00Qx9T@mail.gmx.net> <aif2stfl4o6unvjn7rqwbqam2v2ntr35ik5e24jdkwvixm3hj4@d3equy4z4xjk> <1ML9yc-1uEpgp2oMs-00Se3k@mail.gmx.net> <174936596275.4210.3207965727369251912.reportbug@pc14.home.lan> <r253lpckktygniuxobkvgozgoslccov6i5slr5lxa7oev6gtgy@ygqjea7c6xlm> <174936596275.4210.3207965727369251912.reportbug@pc14.home.lan> <r253lpckktygniuxobkvgozgoslccov6i5slr5lxa7oev6gtgy@ygqjea7c6xlm>
Xref csiph.com linux.debian.bugs.dist:1251700 linux.debian.kernel:88235

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, 2025-06-29 at 12:26 +0200, Uwe Kleine-König wrote:
> Hello Roland,
> 
> On Sun, Jun 29, 2025 at 11:46:00AM +0200, Roland Sommer wrote:
> > [correcting CC recipients]
> 
> Huh, how did I manage that (rhetorical question)? Thanks
> 
> > > Ahh, now that makes sense. pktsetup calls `/sbin/modprobe pktcdvd`
> > > explicitly, the blacklist entry doesn't help for that. Without the
> > > kernel module renamed, does the 2nd DVD-RAM result in the blocking
> > > behaviour?
> > 
> > Yes.
> 
> OK, that makes sense. So udev does in this order:
> 
>  - auto-load the module (which is suppressed with the backlist entry)
>  - call blkid (which blocks if the module is loaded)
>  - call pktsetup (which loads the module even in presence of the
>    blacklist entry).
[...]

I tested with a CD-RW, and the behaviour was slightly different:

- Nothing automtically created a pktcdvd device, so blkid initially
worked with a CD-RW inserted and the pktcdvd modules loaded.
- After running pktsetup to create the block device /dev/pktcdvd/0,
blkid and any other program attempting to open that device hung.

My conslusion is that pktcdvd is eqaully broken for CD-RWs.

Ben.

-- 
Ben Hutchings - Debian developer, member of kernel, installer and LTS
teams

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM Ben Hutchings <benh@debian.org> - 2025-07-03 01:20 +0200
  Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM Christoph Hellwig <hch@infradead.org> - 2025-07-03 12:20 +0200
  Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM Andy Shevchenko <andriy.shevchenko@intel.com> - 2025-07-08 13:50 +0200
    Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM Andy Shevchenko <andriy.shevchenko@intel.com> - 2025-07-09 11:10 +0200

csiph-web