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


Groups > linux.debian.bugs.dist > #1251700

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

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 2025-07-03 01:20 +0200
Message-ID <L4eU9-eOR8-1@gated-at.bofh.it> (permalink)
References (9 earlier) <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>
Organization Debian

Cross-posted to 2 groups.

Show all headers | 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.bugs.dist | 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