当前位置: 首页>>技术教程>>正文


Linux内核版本控制:Debian Sid vs Ubuntu Precise

, , , ,

问题描述

我安装了两台机器:

我在一台计算机上已将Ubuntu Precise 12.04 beta和dist-upgraded安装到最新软件包。

在另一台机器上,我已将Debian Sid Unstable和dist-upgraded安装到最新软件包。

在Ubuntu计算机上,uname -a读取:

Linux 3.2.0-20-generic #32-Ubuntu SMP Thu Mar 22 02:22:46 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

在Debian机器上,uname -a读取:

Linux 3.2.0-2-amd64 #1 SMP Wed Mar 28 13:28:04 UTC 2012 x86_64 GNU/Linux

我的问题是关于内核版本的:

Ubuntu: 3.2.0-20-generic
Debian: 3.2.0-2-amd64

Linux的3.2版发布于:

linux-3.2.tar.gz         05-Jan-2012 00:40   94M

从那时起,已经发布了13个发行点,来自kernel.org的3.2.1 .. 3.2.13和3.3版本。

我的问题是关于两台机器上两个内核的源树的历史:

那两个版本的内核从哪个正式的kernel.org内核发行?

Debian Sid内核的来源与Ubuntu Precise的来源有什么关系?

在Ubuntu上的3.2.0-20-generic中是否也存在从kernel.org源进行的更改,以生成3.2.0-2-amd64?

Ubuntu的Debian Sid内核”upstream”是一个吗?

在Debian中,第四个版本号是什么(在第一个破折号之后)是什么?”2″在Ubuntu中是什么意思?”20″在Ubuntu中是什么?它与上面的内容有什么关系?

最佳方案

Ubuntu内核与上游内核不同,尽管版本号可能相似。您可以在Ubuntu Wiki中阅读有关Ubuntu内核的信息,它可以回答您的第一个和第四个问题:

Beta-2 includes the 3.2.0-20.33 Ubuntu kernel which is based on the v3.2.12 upstream stable Linux kernel.

The Ubuntu Kernel FAQ描述了以下版本编号:

Given a version like 2.6.35-6.9-generic this can be broken into four parts as below:

<base kernel version>-<ABI number>.<upload number>-<flavour> The base kernel version represents the mainline version on which the Ubuntu kernel is based. The ABI number represents significant changes in the kernel Application Binary Interface. The upload number is a monotonically increasing counter for each upload of this base version. The flavour indicates which kernel configuration variant this is

您还可以检查Ubuntu to Mainline kernel version mapping,以获取有关ubuntu内核版本与上游内核版本的更多信息。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/9562.html,未经允许,请勿转载。