执行内核二分法时缺少的构建文件在哪里?

执行内核二分法时缺少的构建文件在哪里?

我正在尝试进行第一次内核二分法,以尝试帮助调试回归发生在 13.04 和 13.10 之间。我正在尝试按照https://wiki.ubuntu.com/Kernel/KernelBisection#Bisecting_Ubuntu_kernel_versions,但我无法找到安装内核版本所需的所有构建文件。

例如,我正在尝试安装适用于 amd64 的 Saucy 3.8.0-19.29 内核上面链接的 wiki 页面说我应该找到类似这样的文件:

linux-headers-2.6.35-32-generic-pae_2.6.35-32.68_i386.deb (793.3 KiB)
linux-headers-2.6.35-32_2.6.35-32.68_all.deb (9.9 MiB)
linux-image-2.6.35-32-generic-pae_2.6.35-32.68_i386.deb (32.5 MiB)

但是,从链接的构建页面,我能找到最接近的只有这些:

linux-headers-3.8.0-19-generic_3.8.0-19.29_amd64.deb (973.7 KiB)
linux-image-3.8.0-19-generic_3.8.0-19.29_amd64.deb (11.8 MiB)

如果我尝试下载这些并运行sudo dpkg -i *.deb,我会得到以下输出,并出现安装标题的错误:

christopher@SaucyBisectionTest:~/Downloads/3.8.0-19.29$ sudo dpkg -i *.deb
[sudo] password for christopher: 
Selecting previously unselected package linux-headers-3.8.0-19-generic.
(Reading database ... 193537 files and directories currently installed.)
Unpacking linux-headers-3.8.0-19-generic (from linux-headers-3.8.0-19-generic_3.8.0-19.29_amd64.deb) ...
Selecting previously unselected package linux-image-3.8.0-19-generic.
Unpacking linux-image-3.8.0-19-generic (from linux-image-3.8.0-19-generic_3.8.0-19.29_amd64.deb) ...
Done.
dpkg: dependency problems prevent configuration of linux-headers-3.8.0-19-generic:
 linux-headers-3.8.0-19-generic depends on linux-headers-3.8.0-19; however:
  Package linux-headers-3.8.0-19 is not installed.

dpkg: error processing linux-headers-3.8.0-19-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-image-3.8.0-19-generic (3.8.0-19.29) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
update-initramfs: Generating /boot/initrd.img-3.8.0-19-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-14-generic
Found initrd image: /boot/initrd.img-3.11.0-14-generic
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
Found linux image: /boot/vmlinuz-3.8.0-19-generic
Found initrd image: /boot/initrd.img-3.8.0-19-generic
Found memtest86+ image: /boot/memtest86+.bin
done
Errors were encountered while processing:
 linux-headers-3.8.0-19-generic

我该如何解决这个问题?

答案1

我找到了答案。我仍需要的缺失“全部”软件包位于 i386 版本的构建页面下。

相关内容