Nearly done
This commit is contained in:
parent
4762326e5f
commit
007bc2682e
|
|
@ -148,7 +148,6 @@ The server boots fine after installing the 6.14 kernel and selecting it manually
|
||||||
Running <b>proxmox-boot-tool kernel list</b> command gives the following results:
|
Running <b>proxmox-boot-tool kernel list</b> command gives the following results:
|
||||||
|
|
||||||
<code>
|
<code>
|
||||||
<b>
|
|
||||||
<pre>
|
<pre>
|
||||||
<hr>
|
<hr>
|
||||||
Manually selected kernels:
|
Manually selected kernels:
|
||||||
|
|
@ -160,37 +159,102 @@ Running <b>proxmox-boot-tool kernel list</b> command gives the following results
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
</pre>
|
</pre>
|
||||||
</b>
|
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
|
|
||||||
Running <b>proxmox-boot-tool kernel pin 6.14.11-8-bpo12-pve</b> outputs:
|
Running <b>proxmox-boot-tool kernel pin 6.14.11-8-bpo12-pve</b> outputs:
|
||||||
|
|
||||||
|
<pre>
|
||||||
<hr>
|
<hr>
|
||||||
E: no kernel image found in /boot for '6.14.11-8-bpo12-pve', not setting default.
|
E: no kernel image found in /boot for '6.14.11-8-bpo12-pve', not setting default.
|
||||||
|
|
||||||
Possible Proxmox kernel versions are:
|
|
||||||
6.14.11-8-bpo12-pve
|
|
||||||
6.8.12-23-pve
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
Possible Proxmox kernel versions are:
|
||||||
|
6.14.11-8-bpo12-pve
|
||||||
|
6.8.12-23-pve
|
||||||
|
</pre>
|
||||||
|
<hr><br>
|
||||||
|
|
||||||
|
|
||||||
Assuming the Automatically selected kernels from kernel list means the new kernels are already pinned.
|
Assuming the Automatically selected kernels from kernel list means the new kernels are already pinned.
|
||||||
|
<b>uname -r gives</b> 6.8.12-23-pve which is good enough for me for now. I would like to make sure the kernel updates arent done without approval though, so I still need to figure out how to do that.
|
||||||
|
|
||||||
uname -r gives 6.8.12-23-pve which is good enough for me for now. I would like to make sure the kernel updates arent done without approval though, so I still need to figure out how to do that.
|
In the meantime, I ran these commands which hopefully works well to stop the kernel from updating.<br>
|
||||||
|
|
||||||
|
<b>
|
||||||
|
<pre>
|
||||||
|
<hr>
|
||||||
|
apt-mark hold proxmox-kernel-6.14.11-8-bpo12-pve-signed
|
||||||
|
proxmox-kernel-6.14.11-8-bpo12-pve-signed set on hold.
|
||||||
|
|
||||||
|
apt-mark hold proxmox-kernel-6.14
|
||||||
|
proxmox-kernel-6.14 set on hold.
|
||||||
|
|
||||||
|
apt-mark hold proxmox-kernel-6.8.12-23-pve-signed
|
||||||
|
proxmox-kernel-6.8.12-23-pve-signed set on hold.
|
||||||
|
|
||||||
|
apt-mark hold proxmox-kernel-6.8.12-9-pve-signed
|
||||||
|
proxmox-kernel-6.8.12-9-pve-signed set on hold.
|
||||||
|
|
||||||
|
apt-mark hold proxmox-kernel-6.8
|
||||||
|
proxmox-kernel-6.8 set on hold.
|
||||||
|
|
||||||
|
</pre>
|
||||||
|
</b>
|
||||||
|
<hr><br>
|
||||||
|
|
||||||
|
|
||||||
|
Running <b>apt list --installed|grep kernel</b> then results in:
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
<hr>
|
||||||
|
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
||||||
|
|
||||||
|
proxmox-default-kernel/stable,now 1.1.0 all [installed]
|
||||||
|
proxmox-kernel-6.14.11-8-bpo12-pve-signed/stable,now 6.14.11-8~bpo12+1 amd64 [installed,automatic]
|
||||||
|
proxmox-kernel-6.14/stable,now 6.14.11-8~bpo12+1 all [installed,upgradable to: 6.14.11-9~bpo12+1]
|
||||||
|
proxmox-kernel-6.8.12-23-pve-signed/stable,now 6.8.12-23 amd64 [installed,automatic]
|
||||||
|
proxmox-kernel-6.8.12-9-pve-signed/stable,now 6.8.12-9 amd64 [installed]
|
||||||
|
proxmox-kernel-6.8/stable,now 6.8.12-23 all [installed,upgradable to: 6.8.12-25]
|
||||||
|
proxmox-kernel-helper/stable,now 8.1.4 all [installed]
|
||||||
|
</pre>
|
||||||
|
<hr><br>
|
||||||
|
|
||||||
|
|
||||||
|
The bug seems to have been identified in this Proxmox forum thread:<br>
|
||||||
|
<a href="https://forum.proxmox.com/threads/pve-8-2-kernel-6-8-4-2-does-not-boot-cannot-find-root-device.145764/">https://forum.proxmox.com/threads/pve-8-2-kernel-6-8-4-2-does-not-boot-cannot-find-root-device.145764/</a><br>
|
||||||
|
By pschneider1968 (Peter Schneider) who submitted it to Proxmox Bugzilla (and to the Linux mailing list?) with the author of the offending patch (member of the kernel SCSI team) in CC. They then spent time troubleshooting the issue on Peters machine.<br>
|
||||||
|
|
||||||
|
The offending code is at the bottom of this commit I believe: <a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6d20acbf3e3a32d331947dbc3802cf2d1a399e7d">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6d20acbf3e3a32d331947dbc3802cf2d1a399e7d</a>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
|
||||||
|
drivers/scsi/scsi.c | 7 +++++++
|
||||||
|
1 file changed, 7 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
|
||||||
|
index 3e0c0381277a..f0464db3f9de 100644
|
||||||
|
--- a/drivers/scsi/scsi.c
|
||||||
|
+++ b/drivers/scsi/scsi.c
|
||||||
|
@@ -350,6 +350,13 @@ static int scsi_get_vpd_size(struct scsi_device *sdev, u8 page)
|
||||||
|
if (result < SCSI_VPD_HEADER_SIZE)
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
+ if (result > sizeof(vpd)) {
|
||||||
|
+ dev_warn_once(&sdev->sdev_gendev,
|
||||||
|
+ "%s: long VPD page 0 length: %d bytes\n",
|
||||||
|
+ __func__, result);
|
||||||
|
+ result = sizeof(vpd);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
result -= SCSI_VPD_HEADER_SIZE;
|
||||||
|
if (!memchr(&vpd[SCSI_VPD_HEADER_SIZE], page, result))
|
||||||
|
return 0;
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
</pre>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -201,11 +265,42 @@ uname -r gives 6.8.12-23-pve which is good enough for me for now. I would like t
|
||||||
|
|
||||||
<h1 id="Conclusion"><font color="Blue">Conclusion</font></h1>
|
<h1 id="Conclusion"><font color="Blue">Conclusion</font></h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
I believe that an update to the kernel probably caused the issue. Reading online seems to indicate that this is somewhat common with older cards like mine. I did not have good backups in place yet, they were automatically done but on the same RAID as the read of the data, which is of course bad practice, but I was planning on sending these to my other server automatically eventually.
|
||||||
|
For now, I have an external USB drive connected where the VM backups are stored.
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
|
||||||
<h1 id="OtherPotentialFixes"><font color="Blue">Other potential fixes</font></h1>
|
<h1 id="OtherPotentialFixes"><font color="Blue">Other potential fixes</font></h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<a href="https://forum.proxmox.com/threads/timed-out-for-waiting-for-udev-queue-being-empty.129481/">https://forum.proxmox.com/threads/timed-out-for-waiting-for-udev-queue-being-empty.129481/</a>
|
||||||
|
<ul>
|
||||||
|
<li>Chroot then modify the thin_check_options in /etc/lvm/lvm.conf near line 1120</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 id="References"><Font color="Blue">References</Font></h1>
|
<h1 id="References"><Font color="Blue">References</Font></h1>
|
||||||
|
|
||||||
|
|
||||||
|
Other threads with similar issues:
|
||||||
|
<ol>
|
||||||
|
<li><a href="https://forum.proxmox.com/threads/q-weird-problem-after-upgrade-prox7-8-boot-newer-kernel-alert-dev-mapper-pve-root-does-not-exist-not-bootable.164002/">https://forum.proxmox.com/threads/q-weird-problem-after-upgrade-prox7-8-boot-newer-kernel-alert-dev-mapper-pve-root-does-not-exist-not-bootable.164002/</a></li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
|
General Proxmox/Linux help:
|
||||||
|
<ol>
|
||||||
|
<li><a href="https://cr0x.net/en/proxmox-disks-not-detected-checklist/">https://cr0x.net/en/proxmox-disks-not-detected-checklist/</a></li>
|
||||||
|
<li><a href="https://oneuptime.com/blog/post/2026-03-02-how-to-check-hardware-information-with-lshw-dmidecode-and-lspci-on-ubuntu/view">https://oneuptime.com/blog/post/2026-03-02-how-to-check-hardware-information-with-lshw-dmidecode-and-lspci-on-ubuntu/view</a></li>
|
||||||
|
<li>How to chroot<a href="https://support.scc.suse.com/s/kb/How-to-Chroot-in-Rescue-Mode?language=en_US">https://support.scc.suse.com/s/kb/How-to-Chroot-in-Rescue-Mode?language=en_US</a></li>
|
||||||
|
<li>How to chroot: <a href="https://www.turnkeylinux.org/docs/chroot-to-repair-system">https://www.turnkeylinux.org/docs/chroot-to-repair-system</a></li>
|
||||||
|
<li>Manually pin kernel <a href="https://dannyda.com/2023/11/07/proxmox-ve-pve-boot-tool-kernel-tools-how-to-change-kernel-manually-pin-kernel/">https://dannyda.com/2023/11/07/proxmox-ve-pve-boot-tool-kernel-tools-how-to-change-kernel-manually-pin-kernel/</a></li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue