Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM
- To: Uwe Kleine-König <u.kleine-koenig@baylibre.com>, 1107479@bugs.debian.org, Roland Sommer <r.sommer@gmx.de>
- 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>
- Subject: Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM
- From: Ben Hutchings <benh@debian.org>
- Date: Thu, 03 Jul 2025 01:08:20 +0200
- Message-id: <[🔎] e45a49a4e9656cf892e81cc12328b0983b4ef1da.camel@debian.org>
- Reply-to: Ben Hutchings <benh@debian.org>, 1107479@bugs.debian.org
- In-reply-to: <r253lpckktygniuxobkvgozgoslccov6i5slr5lxa7oev6gtgy@ygqjea7c6xlm>
- 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>
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
Attachment:
signature.asc
Description: This is a digitally signed message part
Reply to: