UP5 upgrade to kernel >= 3.2.21-3?

Archived topics about LMDE 1 and LMDE 2
Locked
TomRoche

UP5 upgrade to kernel >= 3.2.21-3?

Post by TomRoche »

UP5 upgrade to kernel >= 3.2.21-3?

To what kernel will the allegedly imminent UP5 upgrade? and how soon will that occur? Why I ask:

Since upgrading UP3->UP4, I've been having a problem with sleep/suspend/wake/resume and USB drives. I finally got off my a**, configured `reportbug`, and filed this bug on kernel version=3.2.9-1. The response was

Code: Select all

> This is long outdated, please upgrade to 3.2.21-3.
I note cmost's claim that
cmost wrote:I have it on good authority that update Pack 5 for LMDE is imminent and will probably contain the latest Gnome 3.4.x and an updated Cinnamon version.
but am wondering
  1. When is UP5 scheduled to arrive? (Links to official pronouncements or channels for same appreciated.)
  2. To what kernel version is UP5 planning to upgrade?
  3. If that kernel version < 3.2.21-3, what is my best alternate option for upgrading? (I.e., least likely to break many currently-installed packages.)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
squeezy

Re: UP5 upgrade to kernel >= 3.2.21-3?

Post by squeezy »

Can't help you with the UP5 availability question, but the current kernel version in Wheezy is 3.2.21-3. Since the UPs are pulled from testing (wheezy) it looks like you're OK on the kernel upgrade.
TomRoche

upgrade to kernel == 3.2.21-3 from UP4 + testing

Post by TomRoche »

(link added)
squeezy wrote:the current kernel version in Wheezy is 3.2.21-3.
Note that (just to make life more interesting ?-) the version of the headers and image packages==3.2.0-3 for kernel version==3.2.21-3: see link above (as of 22 Jul 2012)
squeezy wrote:Since the UPs are pulled from testing (wheezy) it looks like you're OK on the kernel upgrade.
So if I wanted to try upgrading my kernel now, would the following be A Good Way To Do This(tm)? (And would upgrading the kernel now complicate my life when time comes to move UP4->UP5?)

Code: Select all

me@it:~$ sudo aptitude search ~Dlinux- | grep -e '^i'
i   alsa-base                       - ALSA driver configuration files 
i   alsa-utils                      - Utilities for configuring and using ALSA 
i   firmware-linux                  - Binary firmware for various drivers in the
i   gcc-multilib                    - GNU C compiler (multilib files)
i   libc6-dev                       - Embedded GNU C Library: Development Librar
i   linux-headers-2.6-amd64         - Header files for Linux amd64 configuration
i   linux-headers-2.6.39-2-amd64    - Header files for Linux 2.6.39-2-amd64 
i A linux-headers-3.0.0-1-amd64     - Header files for Linux 3.0.0-1-amd64 
i A linux-headers-3.2.0-2-amd64     - Header files for Linux 3.2.0-2-amd64 
i   linux-headers-amd64             - Header files for Linux amd64 configuration
i   linux-image-2.6-amd64           - Linux for 64-bit PCs (dummy package)
i   linux-image-2.6.32-5-amd64      - Linux 2.6.32 for 64-bit PCs 
i   linux-image-2.6.39-2-amd64      - Linux 2.6.39 for 64-bit PCs 
i A linux-image-3.0.0-1-amd64       - Linux 3.0.0 for 64-bit PCs 
i A linux-image-3.2.0-2-amd64       - Linux 3.2 for 64-bit PCs 
i   linux-image-amd64               - Linux for 64-bit PCs (meta-package)
i A syslinux                        - collection of boot loaders 
i A syslinux-themes-debian          - collection of boot loaders (theme metapack
i A syslinux-themes-debian-squeeze  - collection of boot loaders (debian-squeeze

me@it:~$ sudo emacs -nw -q /etc/apt/sources.list
me@it:~$ diff -wB /etc/apt/sources.list~ /etc/apt/sources.list
20c20
< #deb http://ftp.debian.org/debian/ testing main contrib non-free
---
> deb http://ftp.debian.org/debian/ testing main contrib non-free

me@it:~$ sudo aptitude update
...
me@it:~$ sudo aptitude search ~Dlinux-image
i   linux-image-2.6-amd64             - Linux for 64-bit PCs (dummy package)
p   linux-image-3.2.0-2-amd64-dbg     - Debugging infos for Linux 3.2.0-2-amd64 
p   linux-image-3.2.0-2-rt-amd64-dbg  - Debugging infos for Linux 3.2.0-2-rt-amd64 
p   linux-image-3.2.0-3-amd64-dbg     - Debugging infos for Linux 3.2.0-3-amd64 
p   linux-image-3.2.0-3-rt-amd64-dbg  - Debugging infos for Linux 3.2.0-3-rt-amd64 
i   linux-image-amd64                 - Linux for 64-bit PCs (meta-package)
p   linux-image-rt-amd64              - Linux for 64-bit PCs (meta-package), PREEMPT_RT 
p   nvidia-kernel-3.2.0-3-amd64       - NVIDIA binary kernel module for Linux 3.2.0-3-amd64 
p   nvidia-kernel-3.2.0-3-rt-amd64    - NVIDIA binary kernel module for Linux 3.2.0-3-rt-amd64 
p   xen-linux-system-3.2.0-2-amd64    - Xen system with Linux 3.2 on 64-bit PCs (meta-package)
p   xen-linux-system-3.2.0-3-amd64    - Xen system with Linux 3.2 on 64-bit PCs (meta-package)
me@it:~$ sudo aptitude search ~Dlinux-headers
p   blcr-dkms                         - DKMS support for BLCR kernel module                                
p   blktap-dkms                       - Xen API blktap kernel component DKMS package                       
i   linux-headers-2.6-amd64           - Header files for Linux amd64 configuration (dummy package)         
i   linux-headers-2.6.39-2-amd64      - Header files for Linux 2.6.39-2-amd64                              
i A linux-headers-3.0.0-1-amd64       - Header files for Linux 3.0.0-1-amd64                               
p   linux-headers-3.2.0-2-all         - All header files for Linux 3.2 (meta-package)                      
p   linux-headers-3.2.0-2-all-amd64   - All header files for Linux 3.2 (meta-package)                      
i A linux-headers-3.2.0-2-amd64       - Header files for Linux 3.2.0-2-amd64                               
p   linux-headers-3.2.0-2-rt-amd64    - Header files for Linux 3.2.0-2-rt-amd64                            
p   linux-headers-3.2.0-3-all         - All header files for Linux 3.2 (meta-package)                      
p   linux-headers-3.2.0-3-all-amd64   - All header files for Linux 3.2 (meta-package)                      
p   linux-headers-3.2.0-3-amd64       - Header files for Linux 3.2.0-3-amd64                               
p   linux-headers-3.2.0-3-rt-amd64    - Header files for Linux 3.2.0-3-rt-amd64                            
i   linux-headers-amd64               - Header files for Linux amd64 configuration (meta-package)          
p   linux-headers-rt-amd64            - Header files for Linux rt-amd64 configuration (meta-package)       
p   oss4-dkms                         - Open Sound System - DKMS module sources                            
p   sl-modem-dkms                     - SmartLink software modem driver - module building source           
p   sl-modem-source                   - SmartLink software modem driver (dummy transitional package)       
p   west-chamber-dkms                 - iptable extension for bypassing content filtering firewall (dkms)  

me@it:~$ sudo aptitude -s install linux-image-3.2.0-3-amd64 linux-headers-3.2.0-3-amd64
> The following NEW packages will be installed:
>  linux-headers-3.2.0-3-amd64 linux-headers-3.2.0-3-common{a} linux-image-3.2.0-3-amd64 
> 0 packages upgraded, 3 newly installed, 0 to remove and 1406 not upgraded.
Last edited by TomRoche on Sun Jul 22, 2012 5:52 pm, edited 1 time in total.
squeezy

Re: UP5 upgrade to kernel >= 3.2.21-3?

Post by squeezy »

You should be able to add the wheezy main source to your sources.list file and upgrade the kernel, then disable wheezy. Don't upgrade anything else.
killer de bug

Re: UP5 upgrade to kernel >= 3.2.21-3?

Post by killer de bug »

Could be nice if the next kernel could be free of the "energy bug". The one The one that makes my laptop have only one hour of power instead of 3h before UP4... :(
squeezy

Re: UP5 upgrade to kernel >= 3.2.21-3?

Post by squeezy »

squeezy wrote:You should be able to add the wheezy main source to your sources.list file and upgrade the kernel, then disable wheezy. Don't upgrade anything else.
Late addition...if you have kernel headers installed be sure to update those too.
TomRoche

dkms.conf-related kernel-update errors

Post by TomRoche »

Apologies for sounding paranoid, but I need to get back to work on my thesis, so I want to do this right, but am encountering problems, about which I'd appreciate advice:
squeezy wrote:add the wheezy main source to your sources.list file and upgrade the [kernel image and header packages], then disable wheezy. Don't upgrade anything else.
My problem is that, after updating my current {UP4, non-wheezy} setup, then doing

Code: Select all

me@it:~$ diff -wB /etc/apt/sources.list~ /etc/apt/sources.list
20c20
< #deb http://ftp.debian.org/debian/ testing main contrib non-free
---
> deb http://ftp.debian.org/debian/ testing main contrib non-free
me@it:~$ sudo aptitude update
...
> Current status: 1405 updates [+1405], 38825 new [+3229].
...
me@it:~$ sudo aptitude install linux-headers-3.2.0-3-amd64 linux-image-3.2.0-3-amd64
I got the response

Code: Select all

> The following NEW packages will be installed:
>   linux-headers-3.2.0-3-amd64 linux-headers-3.2.0-3-common{a} linux-image-3.2.0-3-amd64 
> 0 packages upgraded, 3 newly installed, 0 to remove and 1405 not upgraded.
...
> Setting up linux-image-3.2.0-3-amd64 (3.2.21-3) ...
> Running depmod.
> Examining /etc/kernel/postinst.d.
> run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-3-amd64 /boot/vmlinuz-3.2.0-3-amd64
> dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
> Error! Bad conf file.
> File: 
> does not represent a valid dkms.conf file.
and again, later in same install:

Code: Select all

> Setting up linux-headers-3.2.0-3-common (3.2.21-3) ...
> Setting up linux-headers-3.2.0-3-amd64 (3.2.21-3) ...
> Examining /etc/kernel/header_postinst.d.
> run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-3-amd64
> dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
> Error! Bad conf file.
> File: 
> does not represent a valid dkms.conf file.
My initial response was to do

Code: Select all

me@it:~$ sudo aptitude remove linux-headers-3.2.0-3-amd64 linux-headers-3.2.0-3-common linux-image-3.2.0-3-amd64
which ended with

Code: Select all

> The link /vmlinuz is a damaged link
> Removing symbolic link vmlinuz 
> You may need to re-run your boot loader
> The link /initrd.img is a damaged link
> Removing symbolic link initrd.img 
> You may need to re-run your boot loader
The symlink error is apparently a harmless legacy of lilo: see this serverfault question and this debian-boot thread. (I hope it's harmless--I'll find out for sure on next reboot :-)

This thread recommends doing something like

Code: Select all

$ sudo aptitude remove live-initramfs
and also

Code: Select all

$ sudo aptitude remove nvidia-kernel-dkms nvidia-glx
$ sudo aptitude install nvidia-kernel-dkms nvidia-glx
But my error doesn't seem to involve live-initramfs, and I don't seem to have that anyway:

Code: Select all

me@it:~$ sudo aptitude search ~Dlive-initramfs | grep -e '^i' | wc -l
0
Similarly, my error doesn't seem to involve nvidia packages, and I don't seem to have them anyway:

Code: Select all

me@it:~$ sudo aptitude search ~Dnvidia | grep -e '^i' | wc -l
0
(However, after updating inxi, I see

Code: Select all

me@it:~$ inxi -G
Graphics:  Card: nVidia G98M [GeForce G 105M] 
           X.Org: 1.11.4 drivers: nouveau (unloaded: vesa,fbdev) Resolution: 1280x800@60.0hz 
           GLX Renderer: Gallium 0.4 on NV98 GLX Version: 2.1 Mesa 7.11.2
so perhaps I should have the nvidia packages?)

Anyway, assistance in resolving the dkms.conf error is appreciated!
zerozero

Re: UP5 upgrade to kernel >= 3.2.21-3?

Post by zerozero »

Tom,
i see that you got scared with the

Code: Select all

Error! No 'BUILT_MODULE_NAME'
error.
apparently is/should not be a very important warning:i see it for a long time, as i imagine a lot of other users and the systems are still running fine.
anyway google returns a lot of hits (some of them oldish) about this
https://www.google.com/search?q=Error!% ... LE_NAME%27
(and not only confined to lmde and/or debian)
the most relevant topic on the subject is probably (tho i didn't look that extensively) this
http://techpatterns.com/forums/about1998.html
TomRoche

success! upgraded to kernel=3.2.21-3, package=3.2.0-3

Post by TomRoche »

zerozero wrote:i see that you got scared with the

Code: Select all

Error! No 'BUILT_MODULE_NAME'
error.
apparently is/should not be a very important warning:i see it for a long time, as i imagine a lot of other users and the systems are still running fine.
Thanks! and also that error has a simple workaround. The fix involved one more "gutcheck," but I'm now posting from the new kernel, after doing the following:

Code: Select all

# workaround the dkms error
me@it:~$ sudo cp /usr/src/ndiswrapper-1.57/dkms.conf /usr/src/ndiswrapper-1.57/dkms.conf.0
me@it:~$ sudo emacs -nw -q /usr/src/ndiswrapper-1.57/dkms.conf
me@it:~$ diff -uwB /usr/src/ndiswrapper-1.57/dkms.conf.0 /usr/src/ndiswrapper-1.57/dkms.conf
> --- /usr/src/ndiswrapper-1.57/dkms.conf.0	2012-07-22 20:18:31.012582016 -0400
> +++ /usr/src/ndiswrapper-1.57/dkms.conf	2012-07-22 20:19:15.532802785 -0400
> @@ -2,3 +2,4 @@
>  PACKAGE_VERSION="1.57"
>  DEST_MODULE_LOCATION[0]="/updates"
>  AUTOINSTALL="yes"
> +BUILT_MODULE_NAME[0]="ndiswrapper"

# reinstall the kernel and headers
me@it:~$ cat /etc/apt/sources.list
...
> deb http://ftp.debian.org/debian/ testing main contrib non-free
...
me@it:~$ sudo aptitude update
...
me@it:~$ sudo aptitude install linux-headers-3.2.0-3-amd64 linux-image-3.2.0-3-amd64
> The following NEW packages will be installed:
>   linux-headers-3.2.0-3-amd64 linux-headers-3.2.0-3-common{a} linux-image-3.2.0-3-amd64 
> 0 packages upgraded, 3 newly installed, 0 to remove and 1405 not upgraded.
# NO ERRORS!

# restore previous APT config
me@it:~$ sudo emacs -nw -q /etc/apt/sources.list
me@it:~$ diff -wB /etc/apt/sources.list~ /etc/apt/sources.list
20c20
< deb http://ftp.debian.org/debian/ testing main contrib non-free
---
> #deb http://ftp.debian.org/debian/ testing main contrib non-free
# reboot
me@it:~$ sudo shutdown -r now
GRUB showed top/default kernel=3.2.0-3, so I selected that, and waited ... and waited ... but only got the backlit black screen (like the GRUB background). Gutcheck time! After 2 minutes, I did Alt-SysRq-[REISUB], which rebooted.

This time, in GRUB I chose kernel=3.2.0-3 recovery mode, which booted to the normal graphical login screen (after entering C-d, since none of my root passwords worked :-( Everything looked normal, and

Code: Select all

me@it:~$ lsb_release -ds
Linux Mint Debian Edition
me@it:~$ cat /etc/debian_version
wheezy/sid
me@it:~$ uname -rv
3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012
so I did

Code: Select all

me@it:~$ sudo shutdown -Ph now
After resting a bit :-) it rebooted normally (i.e., not to recovery mode) to GRUB top kernel=3.2.0-3. Victory declared! <famous last words/>
Locked

Return to “LMDE Archive”