[Bug 1202534] New: After 5.19 upgrade, system does not shutdown to reboot complaining about blkdev_get_no_open
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 Bug ID: 1202534 Summary: After 5.19 upgrade, system does not shutdown to reboot complaining about blkdev_get_no_open Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: David.Boyd49@twc.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After 5.19 kernel upgrade, system does not shutdown to reboot Console is flooded with two messages: blkdev_get_no_open xxx callbacks suppressed and block device autoloading is deprecated and will be removed This message is repeated a dozen or more times. This sequence repeats forever (actually, for at least twenty minutes ... I hit reset). Problem was not detected through the 5.18 series of kernels -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- AFAIK, the error message from blkdev_get_no_open() itself should be present already in 5.18, at least. There no significant change around that code in 5.19. Maybe the problem is rather what triggers this. Something about the loop device setup? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c2 Giuseppe Stoduto <gstoduto@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gstoduto@gmail.com --- Comment #2 from Giuseppe Stoduto <gstoduto@gmail.com> --- Created attachment 860911 --> http://bugzilla.opensuse.org/attachment.cgi?id=860911&action=edit Error shutdown kernel 5.19 I have the same problem. It is not possible to make a debug because it seems that the error takes place after the closure of all the hard disc. I noticed that after several minutes the kernel goes to Timeout and the system stops in a normal way. This situation does not always happen seems to be a random thing after 12 hours of work. In the image the error I found. But I'm not sure that the problem -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c3 Alessandro Sturniolo <alessandro.sturniolo@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alessandro.sturniolo@gmail. | |com --- Comment #3 from Alessandro Sturniolo <alessandro.sturniolo@gmail.com> --- I've encountered the same issue after I've updated my workstation when I come back from my vacations, so I don't know, effectively, when this issue has begin to appear. My previuos updates are dated July 29, and previously the issue is not present. Now, when I shutdown my workstation, some times it shutdown in seconds, some times in minutes, and some times I have to force power off with magic sysrq keys. It not seems related to the uptime of the workstation. I've encountered this issue also after only a few minutes of uptime. Every times that the workstation doesn't shut down immediately, I can see a flood of messages on the Virtual Terminal 10 (CTRL+Alt+F10). The message is "block device autoloading is deprecated and will be removed" repeated continuosly. My setup have some software RAID-1 (on SSD disks) and RAID-6 disks (on mechanical disks), some NFS shares mounted via autofs, some paths as /tmp, /var/log, /var/cache, and others, binded from the SSD to the HDD to preserve SSD lifespan, Docker, VirtualBox, and a lot of other services, that I don't know if they can be relevants or not. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c4 Daniel Wagner <daniel.wagner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.wagner@suse.com --- Comment #4 from Daniel Wagner <daniel.wagner@suse.com> --- I found this: https://lore.kernel.org/linux-block/20220225181440.1351591-1-hch@lst.de/ Was the BLOCK_LEGACY_AUTOLOAD always enabled? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c5 --- Comment #5 from Takashi Iwai <tiwai@suse.com> --- (In reply to Daniel Wagner from comment #4)
I found this:
https://lore.kernel.org/linux-block/20220225181440.1351591-1-hch@lst.de/
This is the upstream commit 451f0b6f4c44, which is already in 5.18 kernel.
Was the BLOCK_LEGACY_AUTOLOAD always enabled?
The kconfig was introduced in 5.18 (commit fbdee71bb5d8). And the behavior before that version was same as CONFIG_BLOCK_LEGACY_AUTOLOAD=y but it was without spewing the message. So, the message is new, but the behavior is same. (And note that those bdev changes were already in 5.18, not new in 5.19.) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c6 --- Comment #6 from Takashi Iwai <tiwai@suse.com> --- Can anyone verify whether it's really a regression in the kernel side? That is, can anyone test to boot with the old 5.18.x kernel (still found in TW history repo) and confirm that the problem is gone with that kernel? http://download.opensuse.org/history/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c7 --- Comment #7 from David Boyd <David.Boyd49@twc.com> --- I have booted with 5.18.15 kernel and the reported behavior is not present. I have also booted with 5.19.0, 5.19.1 and, most recently, 5.19.2 and each kernel version show the reported problem. Hope that helps. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c8 --- Comment #8 from David Boyd <David.Boyd49@twc.com> --- I forgot to mention that this problem behavior is only present on Tumbleweed installed on real hardware ... the problem is not seen on Tumbleweed as a VirtualBox guest. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c10 --- Comment #10 from David Boyd <David.Boyd49@twc.com> --- Created attachment 861146 --> http://bugzilla.opensuse.org/attachment.cgi?id=861146&action=edit VirtualBox snapshot of trace output Jan, I applied the patched kernel that you posted. The output flooded the screen. I don't have a good method available to capture the output to submit back to you. But, I noticed that each trace section was checking md devices. That got me to thinking. I created a Tumbleweed VirtualBox VM with mirrored disks to determine if that was a factor. The VM with your kernel does, in fact, exhibit the same behaviour as the "real machine". I have included this snapshot of part of the trace output. Please let me know if this helps and also if there is anything else that I can do to assist. David. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c13 --- Comment #13 from David Boyd <David.Boyd49@twc.com> --- It appears that this bug has made its way to the LKML. I guess that means there is not much more that I/we can do but wait. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c14 --- Comment #14 from Frank Kr�ger <fkrueger@mailbox.org> --- (In reply to David Boyd from comment #13)
It appears that this bug has made its way to the LKML. I guess that means there is not much more that I/we can do but wait.
Presumably one of the kernel experts will provide a kernel with the reverted commit in their home repo for testing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c20 --- Comment #20 from David Boyd <David.Boyd49@twc.com> --- The systems here are working, as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202534 http://bugzilla.opensuse.org/show_bug.cgi?id=1202534#c22 --- Comment #22 from Walter Haidinger <walter.haidinger@gmx.at> --- *** Bug 1202589 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com