From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: "Ben Hutchings" <benh@debian.org>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
1107479@bugs.debian.org, "Roland Sommer" <r.sommer@gmx.de>,
"Chris Hofstaedtler" <zeha@debian.org>,
linux-block@vger.kernel.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Salvatore Bonaccorso" <carnil@debian.org>
Subject: Re: Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM
Date: Wed, 9 Jul 2025 12:04:37 +0300 [thread overview]
Message-ID: <aG4wpd_afBxEXjjA@smile.fi.intel.com> (raw)
In-Reply-To: <ce06bf7b-d916-4ee8-af4c-3af5f7959b42@kernel.dk>
On Tue, Jul 08, 2025 at 09:32:19AM -0600, Jens Axboe wrote:
> On 7/8/25 5:35 AM, Andy Shevchenko wrote:
> > On Wed, Jul 02, 2025 at 05:13:45PM -0600, Jens Axboe wrote:
> >> On 7/2/25 5:08 PM, Ben Hutchings wrote:
> >>> On Sun, 2025-06-29 at 12:26 +0200, Uwe Kleine-K?nig wrote:
> >>>> On Sun, Jun 29, 2025 at 11:46:00AM +0200, Roland Sommer wrote:
> >>>>
> >>>> 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.
> >>
> >> Not surprising. Maybe we should take another stab at killing it
> >> from the kernel.
> >
> > In the commit 4b83e99ee709 ("Revert "pktcdvd: remove driver."") you
> > wrote that we would wait for better user space solution is developed.
> > Any news there?
> >
> > Just asking (I'm in favour to kill the old fart) as you haven't
> > mentioned that in a new attempt.
>
> No work has been done there, to my knowledge. But as the current driver
> is totally broken and people aren't even complaining about that (outside
> of running into that for unrelated reasons), I don't think there's any
> reason for keeping the driver in-tree.
Sure, thanks for clarifications!
--
With Best Regards,
Andy Shevchenko
prev parent reply other threads:[~2025-07-09 9:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <aEVzB6qYlMoViGMh@per.namespace.at>
[not found] ` <aEaMawE-Nn8QSjgS@eldamar.lan>
[not found] ` <1M9Wyy-1uRqo614XE-00Glyf@mail.gmx.net>
[not found] ` <gbw7aejkbspiltkswpdtjimuzaujmzhdqpjir2t4rbvft5o777@faodorf33bev>
[not found] ` <174936596275.4210.3207965727369251912.reportbug@pc14.home.lan>
[not found] ` <1MmlXK-1v85592aXe-00ciKz@mail.gmx.net>
[not found] ` <zdclth6piuowqyvx4bn6es5s3zzcwbs6h2hheuswosbn4wty5a@blhozid4bx6q>
[not found] ` <1MGQnP-1uY1yz0lQr-00EvjN@mail.gmx.net>
2025-06-19 23:26 ` Bug#1107479: util-linux: blkid hangs forever after inserting a DVD-RAM Uwe Kleine-König
2025-06-26 15:12 ` Uwe Kleine-König
2025-06-27 10:32 ` Roland Sommer
2025-06-27 14:43 ` Uwe Kleine-König
2025-06-28 8:52 ` Roland Sommer
2025-06-28 19:22 ` Uwe Kleine-König
2025-06-29 9:46 ` Roland Sommer
2025-06-29 10:26 ` Uwe Kleine-König
2025-06-29 15:44 ` Jens Axboe
2025-07-02 23:08 ` Ben Hutchings
2025-07-02 23:13 ` Jens Axboe
2025-07-03 5:31 ` Uwe Kleine-König
2025-07-03 9:13 ` Christoph Hellwig
2025-07-08 11:35 ` Andy Shevchenko
2025-07-08 15:32 ` Jens Axboe
2025-07-09 9:04 ` Andy Shevchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aG4wpd_afBxEXjjA@smile.fi.intel.com \
--to=andriy.shevchenko@intel.com \
--cc=1107479@bugs.debian.org \
--cc=axboe@kernel.dk \
--cc=benh@debian.org \
--cc=carnil@debian.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-block@vger.kernel.org \
--cc=r.sommer@gmx.de \
--cc=u.kleine-koenig@baylibre.com \
--cc=zeha@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.