[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backporting 2.6.38 from unstable to squeeze




Hi Ben,

Thanks for the helpful reply.

On Sat, 16 Apr 2011, Ben Hutchings wrote:

On Sat, 2011-04-16 at 04:03 +0530, Faheem Mitha wrote:

I just compiled the 2.6.38 linux-image Debian package from source on
squeeze, per the instructions in
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s4.2.4.

I don't know if that was actually necessary, as the linux-image package
from unstable seems to install directly.

It should work, yes.

Good to know.

Regardless, both the backported and original linux-image packages have two dependencies which are not in squeeze. These are linux-base (>= 3~) and firmware-linux-free (>= 3~). See the apt-get error message below. The versions of these in squeeze are both 2.6.32-31. So, my main question is, is it safe to upgrade these ie. can I upgrade them without breaking my current 2.6.32 (default) kernel?

Yes.  They have to be kept backward-compatible, so that upgrades from
'squeeze' to 'wheezy' will work.

Thanks, that's very helpful.

Also, I just tried to run 2.6.26 (still installed from when I was running
lenny) but it crashed and dropped down to the initramfs prompt. I don't
have the error message handy right now, but could get it. I just want to
know if I am missing something obvious. Should 2.6.26 continue to work on
squeeze without problems, or not?
[...]

No, see
<http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#upgrading-udev>.

Ok. Is the only problem with the lenny 2.6.26 that it has CONFIG_SYSFS_DEPRECATED enabled? Or are there other problems?

I am seeing some failures in the 2.6.38 installation. See output below. Specifically, some problems with nvidia and virtualbox. I tried booting with .38, and it does boot, but compiling the nvidia module fails, and m-a is not particularly helpful when outputting errors. Should I upgrade the nvidia stuff to that in unstable? Would the unstable nvidia compile Ok with 2.6.32? Ie. is it backward compatible?

I don't know what to think about virtualbox. I didn't try compiling the modules. If I need to use the unstable version on squeeze, it will need backporting from unstable. There are some C++ incompatabilities with the version in unstable.

Additionally, I was seeing the following errors thrown on the console.

"No human readable MCE decoding support on this CPU type
Run the message through 'mcelog --ascii' to decode."

Should I file bugs against any of this?

                                                       Regards, Faheem

**********************************************************************

orwell:/home/faheem# apt-get install linux-image-2.6.38-2-686-bigmem/unstable linux-base/unstable firmware-linux-free/unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.6.38-3' (Debian:unstable [i386]) for 'linux-image-2.6.38-2-686-bigmem'
Selected version '3.2' (Debian:unstable [all]) for 'linux-base'
Selected version '3' (Debian:unstable [all]) for 'firmware-linux-free'
Suggested packages:
  linux-doc-2.6.38
The following NEW packages will be installed:
  linux-image-2.6.38-2-686-bigmem
The following packages will be upgraded:
  firmware-linux-free linux-base
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.5 MB of archives.
After this operation, 81.2 MB of additional disk space will be used.
Get:1 http://debian.csail.mit.edu/debian/ unstable/main linux-base all 3.2 [32.1 kB] Get:2 http://debian.csail.mit.edu/debian/ unstable/main linux-image-2.6.38-2-686-bigmem i386 2.6.38-3 [28.4 MB] Get:3 http://debian.csail.mit.edu/debian/ unstable/main firmware-linux-free all 3 [8,618 B]
Fetched 28.5 MB in 7min 40s (61.9 kB/s)
Reading changelogs...
apt-listchanges: Mailing faheem@localhost: apt-listchanges: changelogs for orwell
Preconfiguring packages ...
(Reading database ... 289023 files and directories currently installed.)
Preparing to replace linux-base 2.6.32-31 (using .../linux-base_3.2_all.deb) ...
Unpacking replacement linux-base ...
Selecting previously deselected package linux-image-2.6.38-2-686-bigmem.
Unpacking linux-image-2.6.38-2-686-bigmem (from .../linux-image-2.6.38-2-686-bigmem_2.6.38-3_i386.deb) ...
Preparing to replace firmware-linux-free 2.6.32-31 (using .../firmware-linux-free_3_all.deb) ...
Unpacking replacement firmware-linux-free ...
Processing triggers for man-db ...
Setting up linux-base (3.2) ...
Setting up linux-image-2.6.38-2-686-bigmem (2.6.38-3) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.38-2-686-bigmem
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.38-2-686-bigmem /boot/vmlinuz-2.6.38-2-686-bigmem
dkms: running auto installation service for kernel 2.6.38-2-686-bigmem:
      nvidia (195.36.31)...failed.
      virtualbox-ose (3.2.10)...failed.
dkms: WARNING: linux headers are missing, which may explain the above failures.
      please install the linux-headers-2.6.38-2-686-bigmem package to fix this.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-2-686-bigmem /boot/vmlinuz-2.6.38-2-686-bigmem run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-2-686-bigmem /boot/vmlinuz-2.6.38-2-686-bigmem run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-2-686-bigmem /boot/vmlinuz-2.6.38-2-686-bigmem
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-2.6.38-2-686-bigmem
Found initrd image: /boot/initrd.img-2.6.38-2-686-bigmem
Found linux image: /boot/vmlinuz-2.6.32-5-vserver-686-bigmem
Found initrd image: /boot/initrd.img-2.6.32-5-vserver-686-bigmem
Found linux image: /boot/vmlinuz-2.6.26-2-vserver-686-bigmem
Found initrd image: /boot/initrd.img-2.6.26-2-vserver-686-bigmem
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
Found Grml ISO image: /boot/grml/grml-small_sid_latest.iso
Found Grml ISO image: /boot/grml/grml-small_squeeze_latest.iso
Found Plop Boot Manager
done
Setting up firmware-linux-free (3) ...
orwell:/home/faheem# apt-get install linux-headers-2.6.38-2-686-bigmem/unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.6.38-3' (Debian:unstable [i386]) for 'linux-headers-2.6.38-2-686-bigmem'
The following extra packages will be installed:
  linux-headers-2.6.38-2-686-bigmem linux-headers-2.6.38-2-common linux-kbuild-2.6.38
The following NEW packages will be installed:
  linux-headers-2.6.38-2-686-bigmem linux-headers-2.6.38-2-common linux-kbuild-2.6.38
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,168 kB of archives.
After this operation, 32.0 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://debian.csail.mit.edu/debian/ unstable/main linux-headers-2.6.38-2-common i386 2.6.38-3 [4,338 kB] Get:2 http://debian.csail.mit.edu/debian/ unstable/main linux-kbuild-2.6.38 i386 2.6.38-1 [236 kB] Get:3 http://debian.csail.mit.edu/debian/ unstable/main linux-headers-2.6.38-2-686-bigmem i386 2.6.38-3 [594 kB]
Fetched 5,168 kB in 2min 25s (35.6 kB/s)
Selecting previously deselected package linux-headers-2.6.38-2-common.
(Reading database ... 292339 files and directories currently installed.)
Unpacking linux-headers-2.6.38-2-common (from .../linux-headers-2.6.38-2-common_2.6.38-3_i386.deb) ...
Selecting previously deselected package linux-kbuild-2.6.38.
Unpacking linux-kbuild-2.6.38 (from .../linux-kbuild-2.6.38_2.6.38-1_i386.deb) ...
Selecting previously deselected package linux-headers-2.6.38-2-686-bigmem.
Unpacking linux-headers-2.6.38-2-686-bigmem (from .../linux-headers-2.6.38-2-686-bigmem_2.6.38-3_i386.deb) ...
Setting up linux-headers-2.6.38-2-common (2.6.38-3) ...
Setting up linux-kbuild-2.6.38 (2.6.38-1) ...
Setting up linux-headers-2.6.38-2-686-bigmem (2.6.38-3) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.38-2-686-bigmem
dkms: running auto installation service for kernel 2.6.38-2-686-bigmem:
      nvidia (195.36.31)...failed.
      virtualbox-ose (3.2.10)...failed.


Reply to: