Package: util-linux
Version: 2.38.1-5+deb12u3
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

blkid works all the time as expected but hangs forever after inserting any DVD-
RAM in the drive. dmesg then reports every approx. 120s (up to 10 times):

[  363.635218] INFO: task blkid:2224 blocked for more than 120 seconds.
[  363.635232]       Tainted: P           OE      6.1.0-37-amd64 #1 Debian
6.1.140-1
[  363.635235] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[  363.635238] task:blkid           state:D stack:0     pid:2224  ppid:2216
flags:0x00004002
[  363.635245] Call Trace:
[  363.635247]  <TASK>
[  363.635252]  __schedule+0x34d/0x9e0
[  363.635266]  schedule+0x5a/0xd0
[  363.635271]  schedule_preempt_disabled+0x11/0x20
[  363.635276]  __mutex_lock.constprop.0+0x399/0x700
[  363.635283]  pkt_ioctl+0x42/0x120 [pktcdvd]
[  363.635294]  pkt_ioctl+0xce/0x120 [pktcdvd]
[  363.635302]  ? do_syscall_64+0x61/0xb0
[  363.635308]  ? do_filp_open+0xaf/0x160
[  363.635313]  blkdev_ioctl+0x133/0x270
[  363.635318]  __x64_sys_ioctl+0x90/0xd0
[  363.635324]  do_syscall_64+0x55/0xb0
[  363.635328]  ? kmem_cache_free+0x15/0x310
[  363.635336]  ? __rseq_handle_notify_resume+0xa9/0x4a0
[  363.635341]  ? mntput_no_expire+0x4a/0x250
[  363.635345]  ? exit_to_user_mode_prepare+0x40/0x1e0
[  363.635351]  ? syscall_exit_to_user_mode+0x1e/0x40
[  363.635354]  ? do_syscall_64+0x61/0xb0
[  363.635369]  ? handle_mm_fault+0xdb/0x2d0
[  363.635379]  ? do_user_addr_fault+0x1b0/0x550
[  363.635384]  ? exit_to_user_mode_prepare+0x40/0x1e0
[  363.635387]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[  363.635391] RIP: 0033:0x7fdb30633d1b
[  363.635394] RSP: 002b:00007ffda9123850 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[  363.635397] RAX: ffffffffffffffda RBX: 0000561da2fd0830 RCX:
00007fdb30633d1b
[  363.635399] RDX: 00007ffda91238d0 RSI: 0000000000005395 RDI:
0000000000000006
[  363.635400] RBP: 0000000000000006 R08: 0000000000000007 R09:
0000561da2fe3290
[  363.635402] R10: 8044f69e8533263d R11: 0000000000000246 R12:
0000000000000000
[  363.635403] R13: 0000000000000000 R14: 0000000000000000 R15:
800000006845269f
[  363.635406]  </TASK>
...
[  484.469750] INFO: task blkid:2224 blocked for more than 241 seconds.
...

The DVD-RAM can then no longer be accessed nor mounted nor formatted. STRG-C
does not help and the process cannot be killed at all. Only reboot (which takes
more than 5min. due to some timeouts) eliminates this issue.

I've tried it on another machine (almost same package versions) and blkid works
as expected until udftools (2.3-1) is installed and a DVD-RAM is inserted.


-- System Information:
Debian Release: 12.11
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-37-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages util-linux depends on:
ii  libblkid1         2.38.1-5+deb12u3
ii  libc6             2.36-9+deb12u12
ii  libcap-ng0        0.8.3-1+b3
ii  libcrypt1         1:4.4.33-2
ii  libmount1         2.38.1-5+deb12u3
ii  libpam0g          1.5.2-6+deb12u1
ii  libselinux1       3.4-1+b6
ii  libsmartcols1     2.38.1-5+deb12u3
ii  libsystemd0       254.26-1~bpo12+1
ii  libtinfo6         6.4-4
ii  libudev1          254.26-1~bpo12+1
ii  libuuid1          2.38.1-5+deb12u3
ii  util-linux-extra  2.38.1-5+deb12u3
ii  zlib1g            1:1.2.13.dfsg-1

Versions of packages util-linux recommends:
ii  sensible-utils  0.0.17+nmu1

Versions of packages util-linux suggests:
ii  dosfstools          4.2-1
ii  kbd                 2.5.1-1+b1
pn  util-linux-locales  <none>

-- no debconf information

Reply via email to