Score:1

Ubuntu 20.04, 3 machines, 3 different kernel versions, often missing headers and module-extra

ธง mx

Using Ubuntu 20.04 on 3 different desktops with rather old CPU (Core2 Q9650, AMD FX-8320, Xeon E5-2678 v3).

The installation was made from Ubuntu Desktop ISO. The machines are updated regularly. I didn't remember doing anything special. But the kernel on these machines are upgraded from 5.4, then 5.8 and now currently Ubuntu 20.04.3 with kernel 5.11. This is OK as long as the machines run stable.

However uname -rs show different kernel versions on each machine, even if they are all up to date

Linux 5.11.0-27-generic # on Xeon machine
Linux 5.11.0-38-generic # on Core2 machine
Linux 5.11.0-40-generic # on AMD-FX machine

In particular, each time the minor version of kernel is updated, eg from 5.11.0-aa to 5.11.0-bb. The Core2 and AMD-FX machines almost always failed to get the corresponding linux-headers and linux-modules-extra. Resulting in a loss of network when rebooted. In such a case, I reboot to Grub menu, select to start with previous kernel version. Then sudo apt install the missing parts. Reboot and the machine is back to normal operation.

The Xeon machine seems to stick with 5.11.0-27-generic regardless of sudo apt upgrade I run from times to times. And this whether with secure boot enabled or not.

QUESTION 1: What is the criteria Ubuntu uses to decide which kernel version to install?

QUESTION 2: Any reason Ubuntu updater consistently failed to fetch linux-headers and linux-modules-extra when the kernel minor version is updated?

Thanks

guiverc avatar
cn flag
การเปิดตัว Ubuntu LTS มีตัวเลือกเคอร์เนลสแต็กสองตัว (1) GA หรือสแต็กทั่วไปซึ่ง *เสถียรที่สุด* และเป็นค่าเริ่มต้นสำหรับการติดตั้งเซิร์ฟเวอร์ รวมถึง *รสชาติ* ที่ใช้สื่อ 20.04 หรือ 20.04.1 เพื่อติดตั้ง หรือ (2) HWE หรือการเปิดใช้งานฮาร์ดแวร์สแต็กที่อัปเกรดตลอดอายุการใช้งาน ของผลิตภัณฑ์ เช่น. ใช้ 5.4 GA จากนั้น 5.8 จาก 20.10 (20.04.2) จากนั้น 5.11 จาก 21.04 (20.04.3) และ 5.13 ถัดไปจาก 21.10 (20.04.4) ก่อนที่มันจะสิ้นสุด... HWE เป็นสแต็กเริ่มต้นสำหรับ *flavors* ด้วย 20.04 การติดตั้งสื่อ .2 หรือใหม่กว่า และการติดตั้งเดสก์ท็อป Ubuntu 20.04 LTS เซิร์ฟเวอร์ติดตั้ง ISO ให้คุณเลือกสแต็กในขณะติดตั้ง
guiverc avatar
cn flag
สื่อการติดตั้งจะกำหนดค่าเริ่มต้น (ด้วย 20.04 & 20.04.1 เทียบกับ 20.04.2 และใหม่กว่าตามความเห็นก่อนหน้าที่สร้างความแตกต่าง) สามารถเลือกได้ในขณะติดตั้ง (GA หรือ HWE stack) ใน ISO บางตัว (Ubuntu Server ISO ที่มี `subiquity') แม้ว่า Ubuntu Desktop ISO ที่ใช้ 'ubiquity' ยังสามารถเลือกใช้เคอร์เนล OEM หากตรวจพบว่าดีกว่าสำหรับฮาร์ดแวร์ของคุณซึ่ง เปลี่ยนสิ่งที่ฉันได้กล่าวไปแล้ว ... ทั้งหมดนี้สามารถลบล้างได้ด้วยตัวเลือกผู้ใช้เช่นกัน - https://wiki.ubuntu.com/Kernel/LTSEnablementStack แต่นั่นจะไม่ส่งผลกระทบต่อ -27, -38 หรือ -40 คุณ ยังกล่าวถึง.
Polymerase avatar
mx flag
@guirc ขอบคุณสำหรับคำอธิบาย ทั้ง 3 เครื่องถูกติดตั้งโดยใช้ Ubuntu Desktop ISO เครื่อง Xeon ใช้การบูท UEFI ส่วนอีก 2 เครื่องใช้การบูทแบบ Legacy ดังนั้นฉันคิดว่านี่คือสาเหตุที่เคอร์เนลได้รับการอัปเดตทุก ๆ การเปิดตัว 20.04.x กำลังทำ `dpkg -l 'linux*' | grep hwe ` ฉันเห็น ` linux-hwe-5.11-headers-5.11.0-xx` มีอยู่ในเครื่องเหล่านั้น ฉันจะทราบได้อย่างไรว่าเคอร์เนลนั้นเป็นของ HWE หรือ OEM?
guiverc avatar
cn flag
คุณไม่ได้ใช้เมล็ด OEM ตามที่คุณวาง ฉันเห็นเฉพาะเมล็ด HWE (5.11) ไม่ใช่ GA (5.4) และที่สำคัญเห็นคำว่า *ทั่วไป* (ไม่ใช่ OEM)

โพสต์คำตอบ

คนส่วนใหญ่ไม่เข้าใจว่าการถามคำถามมากมายจะปลดล็อกการเรียนรู้และปรับปรุงความสัมพันธ์ระหว่างบุคคล ตัวอย่างเช่น ในการศึกษาของ Alison แม้ว่าผู้คนจะจำได้อย่างแม่นยำว่ามีคำถามกี่ข้อที่ถูกถามในการสนทนา แต่พวกเขาไม่เข้าใจความเชื่อมโยงระหว่างคำถามและความชอบ จากการศึกษาทั้ง 4 เรื่องที่ผู้เข้าร่วมมีส่วนร่วมในการสนทนาด้วยตนเองหรืออ่านบันทึกการสนทนาของผู้อื่น ผู้คนมักไม่ตระหนักว่าการถามคำถามจะมีอิทธิพลหรือมีอิทธิพลต่อระดับมิตรภาพระหว่างผู้สนทนา