after update to kernel 3.0.0-13 ubuntu 11.10 does not start

Bug #880476 reported by pvilela
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I have been running Ubuntu 11.10 for some time. After linux-kernel update to 3.0.0-13 ubuntu does not boot, keeps on that magenta blank page ... If I select 3.0.0-12 in grub I can boot as usually. If I select linux 3.0.0-13 it does not start,

grub.cfg seems a bit different between 3.0.0-12 and 3.0.0-13

lsb_release -rd:
Description: Ubuntu 11.10
Release: 11.10

Package Versions:
Packages
linux-headers-3.0.0-13:
  Instalado: 3.0.0-13.21
  Candidato: 3.0.0-13.21
  Tabela de Versão:
 *** 3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
        100 /var/lib/dpkg/status
linux-headers-3.0.0-13-generic:
  Instalado: 3.0.0-13.21
  Candidato: 3.0.0-13.21
  Tabela de Versão:
 *** 3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
        100 /var/lib/dpkg/status
linux-headers-3.0.0-13-generic-pae:
  Instalado: 3.0.0-13.21
  Candidato: 3.0.0-13.21
  Tabela de Versão:
 *** 3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
        100 /var/lib/dpkg/status
linux-headers-3.0.0-13-virtual:
  Instalado: (nenhum)
  Candidato: 3.0.0-13.21
  Tabela de Versão:
     3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
linux-image-3.0.0-13-generic:
  Instalado: 3.0.0-13.21
  Candidato: 3.0.0-13.21
  Tabela de Versão:
 *** 3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
        100 /var/lib/dpkg/status
linux-image-3.0.0-13-generic-pae:
  Instalado: 3.0.0-13.21
  Candidato: 3.0.0-13.21
  Tabela de Versão:
 *** 3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
        100 /var/lib/dpkg/status
linux-image-3.0.0-13-virtual:
  Instalado: (nenhum)
  Candidato: 3.0.0-13.21
  Tabela de Versão:
     3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
linux-image-extra-3.0.0-13-virtual:
  Instalado: (nenhum)
  Candidato: 3.0.0-13.21
  Tabela de Versão:
     3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
linux-tools-3.0.0-13:
  Instalado: (nenhum)
  Candidato: 3.0.0-13.21
  Tabela de Versão:
     3.0.0-13.21 0
        500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages

grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos7)'
  search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
  set locale_dir=($root)/boot/grub/locale
  set lang=pt_PT
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, com Linux 3.0.0-13-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 set gfxpayload=$linux_gfx_mode
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 linux /boot/vmlinuz-3.0.0-13-generic-pae root=/dev/sda7 ro quiet splash vt.handoff=7
}
menuentry 'Ubuntu, com Linux 3.0.0-13-generic-pae (modo de recuperação)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 echo 'A carregar Linux 3.0.0-13-generic-pae ...'
 linux /boot/vmlinuz-3.0.0-13-generic-pae root=/dev/sda7 ro recovery nomodeset
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, com Linux 3.0.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 set gfxpayload=$linux_gfx_mode
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 linux /boot/vmlinuz-3.0.0-13-generic root=/dev/sda7 ro quiet splash vt.handoff=7
}
menuentry 'Ubuntu, com Linux 3.0.0-13-generic (modo de recuperação)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 echo 'A carregar Linux 3.0.0-13-generic ...'
 linux /boot/vmlinuz-3.0.0-13-generic root=/dev/sda7 ro recovery nomodeset
}
menuentry 'Ubuntu, com Linux 3.0.0-12-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 set gfxpayload=$linux_gfx_mode
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 linux /boot/vmlinuz-3.0.0-12-generic-pae root=UUID=148c49ea-cba3-42c3-a21e-e73ccd2c37d8 ro quiet splash vt.handoff=7
 initrd /boot/initrd.img-3.0.0-12-generic-pae
}
menuentry 'Ubuntu, com Linux 3.0.0-12-generic-pae (modo de recuperação)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 echo 'A carregar Linux 3.0.0-12-generic-pae ...'
 linux /boot/vmlinuz-3.0.0-12-generic-pae root=UUID=148c49ea-cba3-42c3-a21e-e73ccd2c37d8 ro recovery nomodeset
 echo 'A carregar ramdisk inicial ...'
 initrd /boot/initrd.img-3.0.0-12-generic-pae
}
menuentry 'Ubuntu, com Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 set gfxpayload=$linux_gfx_mode
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 linux /boot/vmlinuz-3.0.0-12-generic root=/dev/sda7 ro quiet splash vt.handoff=7
}
menuentry 'Ubuntu, com Linux 3.0.0-12-generic (modo de recuperação)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 echo 'A carregar Linux 3.0.0-12-generic ...'
 linux /boot/vmlinuz-3.0.0-12-generic root=/dev/sda7 ro recovery nomodeset
}
menuentry 'Ubuntu, com Linux 3.0.0-11-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 set gfxpayload=$linux_gfx_mode
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 linux /boot/vmlinuz-3.0.0-11-generic root=UUID=148c49ea-cba3-42c3-a21e-e73ccd2c37d8 ro quiet splash vt.handoff=7
 initrd /boot/initrd.img-3.0.0-11-generic
}
menuentry 'Ubuntu, com Linux 3.0.0-11-generic (modo de recuperação)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 echo 'A carregar Linux 3.0.0-11-generic ...'
 linux /boot/vmlinuz-3.0.0-11-generic root=UUID=148c49ea-cba3-42c3-a21e-e73ccd2c37d8 ro recovery nomodeset
 echo 'A carregar ramdisk inicial ...'
 initrd /boot/initrd.img-3.0.0-11-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos7)'
 search --no-floppy --fs-uuid --set=root 148c49ea-cba3-42c3-a21e-e73ccd2c37d8
 linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" --class windows --class os {
 insmod part_msdos
 insmod ntfs
 set root='(hd0,msdos1)'
 search --no-floppy --fs-uuid --set=root 649C99229C98F032
 drivemap -s (hd0) ${root}
 chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda2)" --class windows --class os {
 insmod part_msdos
 insmod ntfs
 set root='(hd0,msdos2)'
 search --no-floppy --fs-uuid --set=root 5ECCB131CCB10475
 chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu3
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: ALC888 Analog [ALC888 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pvilela 1615 F.... pulseaudio
CRDA: Error: [Errno 2] Ficheiro ou directoria inexistente
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xf0980000 irq 17'
   Mixer name : 'Nvidia MCP79/7A HDMI'
   Components : 'HDA:10ec0888,10250160,00100202 HDA:10de0007,10de0101,00100100'
   Controls : 27
   Simple ctrls : 14
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=e9bf2bcd-16eb-49a0-9cb7-bdbbfe1a4d78
MachineType: Acer Aspire 5737Z
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=148c49ea-cba3-42c3-a21e-e73ccd2c37d8 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic-pae N/A
 linux-backports-modules-3.0.0-12-generic-pae N/A
 linux-firmware 1.60
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: oneiric
Uname: Linux 3.0.0-12-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lp lpadmin plugdev sambashare
dmi.bios.date: 06/22/2009
dmi.bios.vendor: Acer
dmi.bios.version: V1.10
dmi.board.name: KALA0
dmi.board.vendor: Acer
dmi.board.version: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrV1.10:bd06/22/2009:svnAcer:pnAspire5737Z:pvrV1.10:rvnAcer:rnKALA0:rvrN/A:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5737Z
dmi.product.version: V1.10
dmi.sys.vendor: Acer

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 880476

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: oneiric
Revision history for this message
pvilela (paulo-m-costa) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
pvilela (paulo-m-costa) wrote : AlsaDevices.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : AplayDevices.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : BootDmesg.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : CurrentDmesg.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : IwConfig.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : Lspci.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : Lsusb.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : PciMultimedia.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : ProcEnviron.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : ProcInterrupts.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : ProcModules.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : PulseSinks.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : PulseSources.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : UdevDb.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : UdevLog.txt

apport information

Revision history for this message
pvilela (paulo-m-costa) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
pvilela (paulo-m-costa) wrote :

Every time I start Ubuntu 11.10 with kernel 3.0.0-13 in Recovery mode I get the kernel panic documented in the attached photos Bug_880476_kernel_panic_1.jpg and Bug_880476_kernel_panic_2.jpg

Revision history for this message
pvilela (paulo-m-costa) wrote :

Every time I start Ubuntu 11.10 with kernel 3.0.0-13 in Recovery mode I get the kernel panic documented in the attached photos Bug_880476_kernel_panic_1.jpg and Bug_880476_kernel_panic_2.jpg

Revision history for this message
Oleg Shparber (trollixx) wrote :

Have exactly the same issue. Somewhy there's no initrd.img generated for new kernel. 3.1 from kernel mainline ppa doesn't boot too.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can others seeing this issue confirm that booting back into 3.0.0-12 resolves the issue?

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
tags: added: regression-update
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@Oleg

Can you report what type of hardware you have?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@pvilela

Can you try to re-install the 3.0.0-13 kernel by copying the deb from the archive[1], then 'sudo dpkg -i linux-image*'

Be sure you have enough disk space.

[1] http://archive.ubuntu.com/ubuntu/pool/main/l/linux/

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I was unable to reproduce on a Lenovo x201, so this may be hardware specific.

Revision history for this message
Oleg Shparber (trollixx) wrote :

@Joseph

I have ASUS N53SV notebook, hwinfo attached.

Revision history for this message
pvilela (paulo-m-costa) wrote : Re: [Bug 880476] Re: after update to kernel 3.0.0-13 ubuntu 11.10 does not start
Download full text (17.3 KiB)

Hi

I have just done it.
I received some errors:

ls:
linux-headers-3.0.0-13_3.0.0-13.21_all.deb
linux-headers-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb
linux-image-3.0.0-13-generic_3.0.0-13.21_i386.deb
linux-image-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb

sudo dpkg -i linux*
[sudo] password for pvilela:
(A ler a base de dados ... 236789 ficheiros e directórios actualmente
instalados.)
A preparar para substituir linux-headers-3.0.0-13 3.0.0-13.21 (a usar
linux-headers-3.0.0-13_3.0.0-13.21_all.deb) ...
A descompactar substituto linux-headers-3.0.0-13 ...
A preparar para substituir linux-headers-3.0.0-13-generic-pae 3.0.0-13.21 (a
usar linux-headers-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb) ...
A descompactar substituto linux-headers-3.0.0-13-generic-pae ...
A preparar para substituir linux-image-3.0.0-13-generic 3.0.0-13.21 (a usar
linux-image-3.0.0-13-generic_3.0.0-13.21_i386.deb) ...
Done.
A descompactar substituto linux-image-3.0.0-13-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-13-generic
/boot/vmlinuz-3.0.0-13-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-13-generic
/boot/vmlinuz-3.0.0-13-generic
A preparar para substituir linux-image-3.0.0-13-generic-pae 3.0.0-13.21 (a
usar linux-image-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb) ...
Done.
A descompactar substituto linux-image-3.0.0-13-generic-pae ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools
3.0.0-13-generic-pae /boot/vmlinuz-3.0.0-13-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-update-grub
3.0.0-13-generic-pae /boot/vmlinuz-3.0.0-13-generic-pae
A instalar linux-headers-3.0.0-13 (3.0.0-13.21) ...
A instalar linux-headers-3.0.0-13-generic-pae (3.0.0-13.21) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.0.0-13-generic-pae
/boot/vmlinuz-3.0.0-13-generic-pae
A instalar linux-image-3.0.0-13-generic (3.0.0-13.21) ...
Running depmod.
Failed to symbolic-link /boot/initrd.img-3.0.0-13-generic to initrd.img:
Ficheiro já existe
dpkg: erro ao processar linux-image-3.0.0-13-generic (--install):
 subprocesso script post-installation instalado retornou erro do status de
saída 17
A instalar linux-image-3.0.0-13-generic-pae (3.0.0-13.21) ...
Running depmod.
Failed to symbolic-link /boot/initrd.img-3.0.0-13-generic-pae to initrd.img:
Ficheiro já existe
dpkg: erro ao processar linux-image-3.0.0-13-generic-pae (--install):
 subprocesso script post-installation instalado retornou erro do status de
saída 17
Foram encontrados erros enquanto processava:
 linux-image-3.0.0-13-generic
 linux-image-3.0.0-13-generic-pae

After that I booted. The problem remains, after selecting either
3.0.0-13-generic-pae or 3.0.0-13-generic, the system blocks on a magenta
screen

Paulo Costa

2011/10/25 Joseph Salisbury <email address hidden>

> @pvilela
>
> Can you try to re-install the 3.0.0-13 kernel by copying the deb from
> the archive[1], then 'sudo dpkg -i linux-image*'
>
> Be sure you have enough disk space.
>
> [1] http://archive.ubuntu.com/ubuntu/pool/main/l/linux/
>
> --
> You received this bug notificat...

Revision history for this message
pvilela (paulo-m-costa) wrote :

Hi Joseph

I have just done it.
I received some errors:

ls:
linux-headers-3.0.0-13_3.0.0-13.21_all.deb
linux-headers-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb
linux-image-3.0.0-13-generic_3.0.0-13.21_i386.deb
linux-image-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb

sudo dpkg -i linux*
[sudo] password for pvilela:
(A ler a base de dados ... 236789 ficheiros e directórios actualmente instalados.)
A preparar para substituir linux-headers-3.0.0-13 3.0.0-13.21 (a usar linux-headers-3.0.0-13_3.0.0-13.21_all.deb) ...
A descompactar substituto linux-headers-3.0.0-13 ...
A preparar para substituir linux-headers-3.0.0-13-generic-pae 3.0.0-13.21 (a usar linux-headers-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb) ...
A descompactar substituto linux-headers-3.0.0-13-generic-pae ...
A preparar para substituir linux-image-3.0.0-13-generic 3.0.0-13.21 (a usar linux-image-3.0.0-13-generic_3.0.0-13.21_i386.deb) ...
Done.
A descompactar substituto linux-image-3.0.0-13-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
A preparar para substituir linux-image-3.0.0-13-generic-pae 3.0.0-13.21 (a usar linux-image-3.0.0-13-generic-pae_3.0.0-13.21_i386.deb) ...
Done.
A descompactar substituto linux-image-3.0.0-13-generic-pae ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-13-generic-pae /boot/vmlinuz-3.0.0-13-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-13-generic-pae /boot/vmlinuz-3.0.0-13-generic-pae
A instalar linux-headers-3.0.0-13 (3.0.0-13.21) ...
A instalar linux-headers-3.0.0-13-generic-pae (3.0.0-13.21) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.0.0-13-generic-pae /boot/vmlinuz-3.0.0-13-generic-pae
A instalar linux-image-3.0.0-13-generic (3.0.0-13.21) ...
Running depmod.
Failed to symbolic-link /boot/initrd.img-3.0.0-13-generic to initrd.img: Ficheiro já existe
dpkg: erro ao processar linux-image-3.0.0-13-generic (--install):
 subprocesso script post-installation instalado retornou erro do status de saída 17
A instalar linux-image-3.0.0-13-generic-pae (3.0.0-13.21) ...
Running depmod.
Failed to symbolic-link /boot/initrd.img-3.0.0-13-generic-pae to initrd.img: Ficheiro já existe
dpkg: erro ao processar linux-image-3.0.0-13-generic-pae (--install):
 subprocesso script post-installation instalado retornou erro do status de saída 17
Foram encontrados erros enquanto processava:
 linux-image-3.0.0-13-generic
 linux-image-3.0.0-13-generic-pae

After that I booted. The problem remains, after selecting either 3.0.0-13-generic-pae or 3.0.0-13-generic, the system blocks on a magenta screen

Paulo Costa

Revision history for this message
Steve Conklin (sconklin) wrote :

We recently had a problem with the 2.6.38 kernel which was similar, and it was tracked down to being a patch that had been backported from the latest kernel. That patch is in the 3.0.0 kernel. The problem only showed up in systems with hybrid graphics - i.e. both an intel graphics device and another brand of graphics interface.

Before we start bisecting to find the problem, I thought it would be worth reverting that single patch to see if it resolves the issue.

Please test that kernel and report whether is solves the problem.

The test kernels are here:

http://people.canonical.com/~sconklin/lp880476/

And the source tree the kernel is built from is here:
http://kernel.ubuntu.com/git?p=sconklin/ubuntu-oneiric.git;a=summary
in the branch lp880476

Thanks!

Revision history for this message
pvilela (paulo-m-costa) wrote :

Hi Steve

Thank you for your help. I have just tested it. Unfortunately the result is the same. I am attaching a photo of the kernel panic while booting in Recovery Mode

Paulo

Revision history for this message
Steve Conklin (sconklin) wrote :

Thanks for the fast response. I'll start bisecting this and posting test kernels, please bear with me while we go through multiple tests. I've tried the machines I have on hand and can't reproduce this here.

Revision history for this message
pvilela (paulo-m-costa) wrote :
Download full text (14.6 KiB)

Thank you. I am sorry I cannot help with the code .... But I will try
anything needed

Paulo

2011/10/27 Steve Conklin <email address hidden>

> Thanks for the fast response. I'll start bisecting this and posting test
> kernels, please bear with me while we go through multiple tests. I've
> tried the machines I have on hand and can't reproduce this here.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/880476
>
> Title:
> after update to kernel 3.0.0-13 ubuntu 11.10 does not start
>
> Status in “linux” package in Ubuntu:
> Triaged
>
> Bug description:
> I have been running Ubuntu 11.10 for some time. After linux-kernel
> update to 3.0.0-13 ubuntu does not boot, keeps on that magenta blank
> page ... If I select 3.0.0-12 in grub I can boot as usually. If I
> select linux 3.0.0-13 it does not start,
>
> grub.cfg seems a bit different between 3.0.0-12 and 3.0.0-13
>
> lsb_release -rd:
> Description: Ubuntu 11.10
> Release: 11.10
>
> Package Versions:
> Packages
> linux-headers-3.0.0-13:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-headers-3.0.0-13-generic:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-headers-3.0.0-13-generic-pae:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-headers-3.0.0-13-virtual:
> Instalado: (nenhum)
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> linux-image-3.0.0-13-generic:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-image-3.0.0-13-generic-pae:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-image-3.0.0-13-virtual:
> Instalado: (nenhum)
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> linux-image-extra-3.0.0-13-virtual:
> Instalado: (nenhum)
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> linux-tools-3.0.0-13:
> Instalado: (nenhum)
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> 3.0.0-13.21 0
> 500 http://pt...

Revision history for this message
Steve Conklin (sconklin) wrote :

ok, I've put the first test kernel up. It may take up to around 7 or 8 tries to find the problem.

The first test kernel for bisection is:
linux-image-3.0.0-13-generic_3.0.0-13.21~spc01lp880476_i386.deb

and is located here:
http://people.canonical.com/~sconklin/lp880476/

The following information will allow other people to reproduce what I'm doing if they need to:

# bad: [22edb462399950ad60b458e0ccd450a0e037ee79] UBUNTU: Ubuntu-3.0.0-13.21
# good: [e548acb83d07718eb9dcb2c4227f6819fe4d4bad] UBUNTU: Ubuntu-3.0.0-12.20
git bisect start 'Ubuntu-3.0.0-13.21' 'Ubuntu-3.0.0-12.20'

If you're interested in what we're doing here to find this problem, there's more information here:
https://wiki.ubuntu.com/Kernel/KernelBisection
(You can safely ignore this)

Revision history for this message
pvilela (paulo-m-costa) wrote :

Unfortunately, this first test kernel originated a kernel panic as well..
Please send me the second one ...

By the way, when I install the linux-image package I always get this error
"Failed to symbolic-link /boot/initrd.img-3.0.0-13-generic to initrd.img: File already exist"

Should I first delete the initrd.image file, or doesn't it matter ?

Revision history for this message
Andy Whitcroft (apw) wrote :

@pcilela -- there is something odd about how your grub update has gone as you have moved from an root=UUID=xxx form to a root=/dev/sda7 form. So it may be something outside the kernel which is failing here.

Can you try editing the boot line when in grub, to use the root=UUID=xxx form (the exact uuid should be copied from the -12 entry which works) and see if that boots ok. Please report how that work here.

Also we should be slightly suspicious of the initrd for -13 given your errors. So could you also run:

    update-initramfs -u -k 3.0.0-13-generic

and report the complete output here.

Revision history for this message
pvilela (paulo-m-costa) wrote :

Andy

I have edited the boot line in grub as instructed. There was no difference (the kernel still panics) apart the VFS message referring it could not the find the kernel in UUID=... (previously it could not find it in /dev/sda7..)

The "update-initramfs -u -k 3.0.0-13-generic" command does not produce any screen output. Is the output written on a file?

Paulo

Revision history for this message
Steve Conklin (sconklin) wrote :

Well, we can continue to test bisected kernels in parallel with thinking about other possible problems. The latest is in the same place:

http://people.canonical.com/~sconklin/lp880476/

and is named linux-image-3.0.0-13-generic_3.0.0-13.21~spc02lp880476_i386.deb

The git bisect log to reproduce this is:

# bad: [22edb462399950ad60b458e0ccd450a0e037ee79] UBUNTU: Ubuntu-3.0.0-13.21
# good: [e548acb83d07718eb9dcb2c4227f6819fe4d4bad] UBUNTU: Ubuntu-3.0.0-12.20
git bisect start 'Ubuntu-3.0.0-13.21' 'Ubuntu-3.0.0-12.20'
# bad: [5f4062233bc362c59d4a3bc5ac2b04527394cb8e] x86, iommu: Mark DMAR IRQ as non-threaded
git bisect bad 5f4062233bc362c59d4a3bc5ac2b04527394cb8e

Please test and report, thanks!

Revision history for this message
Oleg Shparber (trollixx) wrote :

@Andy

I tried update-initramfs command, anfd it seems it's broken, as it gives no output even for '-h' parameter.

@Steve
Unfortunately, you do not provide amd64 builds, so I cannot test your kernels, will try to understand kernel bisecting process to check all variants in short time...

Revision history for this message
pvilela (paulo-m-costa) wrote :
Download full text (15.1 KiB)

Hi Steve

I have tested this second test kernel, and the resukt was the same
I am ready to test the third

Paulo

2011/10/28 Steve Conklin <email address hidden>

> Well, we can continue to test bisected kernels in parallel with thinking
> about other possible problems. The latest is in the same place:
>
> http://people.canonical.com/~sconklin/lp880476/
>
> and is named linux-
> image-3.0.0-13-generic_3.0.0-13.21~spc02lp880476_i386.deb
>
> The git bisect log to reproduce this is:
>
> # bad: [22edb462399950ad60b458e0ccd450a0e037ee79] UBUNTU:
> Ubuntu-3.0.0-13.21
> # good: [e548acb83d07718eb9dcb2c4227f6819fe4d4bad] UBUNTU:
> Ubuntu-3.0.0-12.20
> git bisect start 'Ubuntu-3.0.0-13.21' 'Ubuntu-3.0.0-12.20'
> # bad: [5f4062233bc362c59d4a3bc5ac2b04527394cb8e] x86, iommu: Mark DMAR IRQ
> as non-threaded
> git bisect bad 5f4062233bc362c59d4a3bc5ac2b04527394cb8e
>
> Please test and report, thanks!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/880476
>
> Title:
> after update to kernel 3.0.0-13 ubuntu 11.10 does not start
>
> Status in “linux” package in Ubuntu:
> Triaged
>
> Bug description:
> I have been running Ubuntu 11.10 for some time. After linux-kernel
> update to 3.0.0-13 ubuntu does not boot, keeps on that magenta blank
> page ... If I select 3.0.0-12 in grub I can boot as usually. If I
> select linux 3.0.0-13 it does not start,
>
> grub.cfg seems a bit different between 3.0.0-12 and 3.0.0-13
>
> lsb_release -rd:
> Description: Ubuntu 11.10
> Release: 11.10
>
> Package Versions:
> Packages
> linux-headers-3.0.0-13:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-headers-3.0.0-13-generic:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-headers-3.0.0-13-generic-pae:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-headers-3.0.0-13-virtual:
> Instalado: (nenhum)
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> linux-image-3.0.0-13-generic:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-image-3.0.0-13-generic-pae:
> Instalado: 3.0.0-13.21
> Candidato: 3.0.0-13.21
> Tabela de Versão:
> *** 3.0.0-13.21 0
> 500 http://pt.archive.ubuntu.com/ubuntu/ oneiric-proposed/main
> i386 Packages
> 100 /var/lib/dpkg/status
> linux-image-3.0.0-13-virtual:
> Instalado: (n...

Revision history for this message
pvilela (paulo-m-costa) wrote :

I have tested this second test kernel, and the resukt was the same
I am ready to test the third

Paulo

Revision history for this message
Oleg Shparber (trollixx) wrote :

Hah, /etc/sbin/update-initramfs is symlink to /bin/true! Changing it to /usr/sbin/update-initramfs.distrib solves the problem.

Revision history for this message
Oleg Shparber (trollixx) wrote :

btw, where /usr/sbin/update-initramfs.distrib comes from?
initramfs-tools package contains normal /usr/sbin/update-initramfs

Revision history for this message
Steve Conklin (sconklin) wrote :

Oleg, thanks -

Paulo, could you please run this and paste the results?

"file /usr/sbin/update-initramfs"

Thanks,

Steve

Revision history for this message
Steve Conklin (sconklin) wrote :

Paulo, also please the results of these:

'dpkg-divert --list | grep update-initramfs'

'dpkg -S update-initramfs'

Thanks!

Revision history for this message
Steve Conklin (sconklin) wrote :

The second will have to be the full path, i.e. -

'dpkg -S /ursr/sbin/update-initramfs'

Revision history for this message
Oleg Shparber (trollixx) wrote :

Steve, maybe my info can be useful too? ^^

$ LC_ALL="C" dpkg-divert --list | grep update-initramfs
diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.distrib by ubiquity

$ LC_ALL="C" dpkg -S /usr/sbin/update-initramfs
diversion by ubiquity from: /usr/sbin/update-initramfs
diversion by ubiquity to: /usr/sbin/update-initramfs.distrib
initramfs-tools: /usr/sbin/update-initramfs

Revision history for this message
Steve Conklin (sconklin) wrote :

Oleg, thanks. Having this information will help us make sure we're really seeing the exact same bug in multiple places

Revision history for this message
pvilela (paulo-m-costa) wrote :

OK, I could run update-initramfs like this:

pvilela@IATE6:/usr/sbin$ sudo rm update-initramfs

pvilela@IATE6:/usr/sbin$ sudo ln -s /usr/sbin/update-initramfs.distrib /usr/sbin/update-initramfs

pvilela@IATE6:~$ sudo update-initramfs -u -k 3.0.0-13-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-13-generic

That was the only output

Revision history for this message
pvilela (paulo-m-costa) wrote :

Hi

Answer to previous requests:

-----------
pvilela@IATE6:~$ file /usr/sbin/update-initramfs
/usr/sbin/update-initramfs: symbolic link to `/usr/sbin/update-initramfs.distrib'
pvilela@IATE6:~$ file /usr/sbin/update-initramfs.distrib
/usr/sbin/update-initramfs.distrib: POSIX shell script text executable
pvilela@IATE6:~$
-----------
pvilela@IATE6:~$ dpkg-divert --list | grep update-initramfs
diversion from /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.distrib by ubiquity
pvilela@IATE6:~$ dpkg-divert --list | grep update-initramfs.distrib
diversion from /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.distrib by ubiquity
-------------
pvilela@IATE6:~$ dpkg -S update-initramfs
initramfs-tools: /etc/initramfs-tools/update-initramfs.conf
diversion by ubiquity to: /usr/sbin/update-initramfs.distrib
initramfs-tools: /usr/sbin/update-initramfs
diversion by ubiquity to: /usr/sbin/update-initramfs
diversion by ubiquity to: /usr/sbin/update-initramfs.distrib
initramfs-tools: /usr/share/man/man5/update-initramfs.conf.5.gz
initramfs-tools: /usr/share/man/man8/update-initramfs.8.gz
--------------------------
pvilela@IATE6:~$ dpkg -S /usr/sbin/update-initramfs
diversion by ubiquity to: /usr/sbin/update-initramfs
diversion by ubiquity to: /usr/sbin/update-initramfs.distrib
initramfs-tools: /usr/sbin/update-initramfs
------------------

Revision history for this message
Steve Conklin (sconklin) wrote :

I think these are two different bugs. I'll get another test kernel to you as soon as I can.

Oleg, please use 'ubuntu-bug linux' to open another bug for your issue. Thanks.

Revision history for this message
Steve Conklin (sconklin) wrote :

Latest test kernel (spc03 version) is in the same place. Git log of how it was produced:

# bad: [22edb462399950ad60b458e0ccd450a0e037ee79] UBUNTU: Ubuntu-3.0.0-13.21
# good: [e548acb83d07718eb9dcb2c4227f6819fe4d4bad] UBUNTU: Ubuntu-3.0.0-12.20
git bisect start 'Ubuntu-3.0.0-13.21' 'Ubuntu-3.0.0-12.20'
# bad: [5f4062233bc362c59d4a3bc5ac2b04527394cb8e] x86, iommu: Mark DMAR IRQ as non-threaded
git bisect bad 5f4062233bc362c59d4a3bc5ac2b04527394cb8e
# bad: [2c4ee5d16125dad43c783177c15c35a095f9b1f8] drm/radeon/kms: make sure pci max read request size is valid on evergreen+ (v2)
git bisect bad 2c4ee5d16125dad43c783177c15c35a095f9b1f8

Please test and report, thanks!

Revision history for this message
Oleg Shparber (trollixx) wrote :

Steve, no problem to open new bug, but why do you think there're two different bugs while I and Paolo both had broken symlink to update-initramfs?

Revision history for this message
Steve Conklin (sconklin) wrote :

Thanks to some instruction from Colin Watson, I understand this better now.

Ubiquity diverts update-initramfs during installation so that it's not run many times, and then restores it at the end.

Having the symlink wrong is a symptom that something failed in an indeterminate way.

If the system is one which can easily be re-installed from barer metal, that is your best choice.

If you want to attempt recovery, the next step is to try to figure out what failed, and the starting point for doing that it to examine the /var/log/installer/syslog file.

If you can't do a fresh install, please attach the file and we'll go from there.

This is apparently not a kernel problem, so there's nothing to be gained from further bisection of the kernel.

Thanks

Revision history for this message
pvilela (paulo-m-costa) wrote :

Hi Steve

I do not have a /var/log/installer directory in my system. Is there another place to look ?

I can reinstall the system from scratch if you think it is the best way to go from here.

Paulo

Revision history for this message
Steve Conklin (sconklin) wrote :

Paulo,

Yes, since you have no /var/log/installer directory, there's no real possibility of figuring out what went wrong, and a fresh install is the right way to go.

Steve

Revision history for this message
pvilela (paulo-m-costa) wrote :

Yes, after a fresh install of Ubuntu 10.10 3.0.0-13 does boot ...something I wanted to avoid ...

Revision history for this message
Steve Conklin (sconklin) wrote :

ok Paulo. I'm sorry it required a re-installation but I'm glad you're up and running. I'm going to close this bug.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
pvilela (paulo-m-costa) wrote :

Ok, thank you for your patience

Revision history for this message
Rocko (rockorequin) wrote :

I'm having what might be a related problem on a hybrid laptop using ironhide: I can load the nvidia-current module in kernel 3.0.0-12 (amd64) but not in 3.0.0-13 or 3.1.

When I try to modprobe the nvidia-current module on the 3.0.0-13 and 3.1 kernels, the nvidia module reports:

Can't find an IRQ for your NVIDIA card!
NVRM: Please check your BIOS settings.
NVRM: [Plug & Play OS] should be set to NO
NVRM: [Assign IRQ to VGA] should be set to YES

and of course this is a laptop with a BIOS that doesn't give you any control over the IRQ assignment. lspci reports "Flags: bus master, fast devsel, latency 0, IRQ 11" for the nvidia card, so it does appear that BIOS is allocating an IRQ. According to lspci, the Intel GPU also is using IRQ 11.

I tried the Ubuntu 3.1 weekly build kernel, but it crashes badly with a NULL pointer deference when I try to modprobe the nvidia module.

I even tried a complete reinstall but I get the same problem.

Note that I used to be able to load the nvidia module into the 3.1 kernel until very recently, so were there any recent updates to initramfs that might be causing this?

Revision history for this message
riprop (riprop) wrote :

Hi,
I also confirm same problem.

Couple minutes ago I installed updates with Update manager, and after restart could not boot any more.
I selected 3.0.0-12 in grub and booted as usually.

Using Lubuntu 11.10, fresh installation.

I this can help, my root partition is Luks crypted, and system halted BEFORE asking for password (this also mean that logs could not be written to /var/log ) .
I saw some alert about radeon, this could be lead to problem.

Best Regards

Revision history for this message
riprop (riprop) wrote :

Hi,

my HW:

HP Compaq nw8440 Mobile Workstation

HP Compaq nw8440 Mobile Workstation

Processor type: Intel Core 2 Duo T7200 2.0 GHz 4 MB L2 cache 667 MHz front side bus
Chipset: Mobile Intel 945PM Express
Memory: 3 GB 667 MHz DDR2 SDRAM
Hard drive: 160 GB 7200 rpm SATA
Display size: 15.4-inch WSXGA+;15.4-inch WUXGA
Graphics cards: ATI Mobility FireGL V5200 graphics controller with 256 MB of video memory
Network: Integrated Broadcom NetXtreme Gigabit Ethernet PCIe Controller (10/100/1000 NIC) with HP Smart Power NIC Technology
Modem: 56K V.92 modem with digital line guard
Wireless: Integrated Intel PRO/Wireless 3945ABG Network Connection;
                 Integrated Broadcom 4311AG WiFi Adapter;
                 Integrated Broadcom 4311BG WiFi Adapter;
                 HP Integrated Module with Bluetooth 2.0 Wireless Technology

Best Regards

Revision history for this message
Rocko (rockorequin) wrote :

fwiw, when I experienced the problem, I downgraded to initramfs-tools 0.99ubuntu7 (via the builds at https://launchpad.net/ubuntu/oneiric/+source/initramfs-tools/0.99ubuntu7) and locked it to that version in Synaptic, and afterwards whenever I installed new kernels they were able to load the nvidia driver again.

Revision history for this message
riprop (riprop) wrote :

Please reopen this bug, reinstalation is not an option for everyone, and there are more people affected.

Thank you !

Revision history for this message
riprop (riprop) wrote :
Revision history for this message
Silvio Bierman (sbierman) wrote :

I have the same problem. Dell XPS L501X, Nvidia graphics (not dual), Ubuntu 11.10 64bit. Just ran the updates and got kernel 3.0.0-13 which does not boot.

Reverting to 3.0.0-12 works as usual.

Revision history for this message
pinduvoz (pinduvoz) wrote :
Download full text (3.5 KiB)

andre@cce-nobo-i3:~$ sudo apt-get dist-upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1 pacotes não totalmente instalados ou removidos.
É preciso baixar 0 B/36,5 MB de arquivos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Você quer continuar [S/n]?

Preparando para substituir linux-image-3.0.0-13-generic 3.0.0-13.22 (usando .../linux-image-3.0.0-13-generic_3.0.0-13.22_i386.deb) ...
Done.
Desempacotando substituto linux-image-3.0.0-13-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-13-generic...
P: Writing config for /boot/vmlinuz-3.0.0-12-generic...
P: Updating /boot/extlinux/linux.cfg...
P: Writing config for Windows 7 (loader) on /dev/sda1...
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.0.0-13-generic.postrm line 328.
dpkg: aviso: sub-processo antigo script post-removal retornou estado de saída de erro 1
dpkg - tentando script do novo pacote em vez disso ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-13-generic...
P: Writing config for /boot/vmlinuz-3.0.0-12-generic...
P: Writing config for Windows 7 (loader) on /dev/sda1...
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 328.
dpkg: erro processando /var/cache/apt/archives/linux-image-3.0.0-13-generic_3.0.0-13.22_i386.deb (--unpack):
 sub-processo novo script post-removal retornou estado de saída de erro 1
Nenhum relatório do apport gravado porque MaxReports já foi atingido
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-12-generic...
P: Updating /boot/extlinux/linux.cfg...
P: Writing config for Windows 7 (loader) on /dev/sda1...
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 328.
dpkg: erro enquanto efetuava a limpeza:
 sub-processo novo scrip...

Read more...

Revision history for this message
André Tzincoca (a-tzincoca) wrote :

Hi I just validated the updates and 3.0.0-13 won't boot, -12 is fine.
How do I "downgrade" initramfs-tools to 0.99ubuntu7 ?

My system : Intel® Core™2 Quad CPU Q9400 @ 2.66GHz × 4, 7,8 GB Ram,NVIDIA GeForce GT 130/PCI/SSE2 running ubuntu 11.10.

Also why is this bug "fixed" because it obviously doesn't work?

Thank you.

Revision history for this message
Rocko (rockorequin) wrote :

@André Tzincoca: to downgrade, go to the link I posted above, clink on the link on that page for the build for your release (oneiric amd64 or i386), and download the deb file. Then use "sudo dpkg -i initramfs-tools-bin_0.99ubuntu7_amd64.deb" to install it (assuming you got the amd64 version) and "sudo update-initramfs -u -k all" to update the initramfs system for all kernels.

My version of initramfs-tools has re-upgraded itself to the new version (because update-manager doesn't honour Synaptic's "lock package version") and when I install new kernels I don't get this problem anymore. So it may just be that kernel 3.0.0-13 did something bad when it installed and rebuilding the initramfs systems fixed whatever it was. ie you might not need to go back to the previous version of initramfs-tools to fix it.

Revision history for this message
Silvio Bierman (sbierman) wrote :

@Rocko: This does not work for me. For one it does not uninstall the 3.0.0-13 kernel. Secondly it did not fix the boot problem when using that kernel. Also, my package manager offered an initramfs update and while/after installing that it started complaining about my package repository being broken because of some dependencies being out of sync. Had to do a 'sudo aptitude install -f' to fix that.
 Still stuck in the same situation. At this moment 3.0.0-12 is my friend :-(

Revision history for this message
max (xohm) wrote :

I do have the same problems. After updating from Kubuntu 11.10 64bit 3.0.0-12 to 3.0.0-13, i can't startup the gui. I tried Rocko's suggestion, but it didn't helped me.

Revision history for this message
Rocko (rockorequin) wrote :

@Silvio: running initramfs doesn't uninstall the kernel, it just rebuilds the initramfs file for the kernel. To uninstall the kernel, use "sudo apt-get remove linux-image-linux-image-3.0.0-13-generic". Or you could install synaptic and use it to uninstall the kernel.

Revision history for this message
Rocko (rockorequin) wrote :

And of course I meant to say "sudo apt-get remove linux-image-3.0.0-13-generic" back there.

Revision history for this message
André Tzincoca (a-tzincoca) wrote :

@Rocko : thank you for the instructions. It didn't fix my problem but it is most certainly NVIDIA related so I'm on my way to reset the drivers and reinstall -13 kernel...and see !

Revision history for this message
André Tzincoca (a-tzincoca) wrote :

@NVIDIA users: it looks like a DKMS issue with NVIDIA drivers. I used 285 off NVIDIA's site and I'm sure that DKMS was not working. Switching to x-swat (ppa:ubuntu-x-swat/x-updates) nvidia-current got my 3.0.0-13 kernel up and running.

Revision history for this message
Silvio Bierman (sbierman) wrote :

@NVIDIA users: Andre is right, it has something to do with the graphics driver. I was already on 290.10 but it does not seem to be the version itself. After reinstalling the 3.0.0-13 kernel the boot problem persisted. Then I booted in recovery mode and reinstalled the same NVIDIA driver. After that everything works like a charm.

Perhaps this has anything to do with my installing a newer NVIDIA driver myself?

Revision history for this message
Rocko (rockorequin) wrote :

@Silvio: It sounds like a different problem from the one I had (the nvidia driver failed to get an interrupt for the card in my case). I have seen dkms fail to install the new driver in the past though.

Just a note in case it helps anyone, the commands to install the driver are:

Check if the driver is installed for any kernel:

dkms status

sudo dkms build -m nvidia-current -v [insert version here] -k [insert kernel version here]

sudo dkms install -m nvidia-current -v [insert version here] -k [insert kernel version here]

eg for kernel 3.0.0-13-generic and nvidia 290.10:

sudo dkms install -m nvidia-current -v 290.10 -k 3.0.0-13-generic

You can also use the tab key to auto-complete the module, version, and kernel version, which is handy.

Revision history for this message
Silvio Bierman (sbierman) wrote :

@Rocko: Thank you for this little gem. Beats the way I reinstalled the driver by miles.

Revision history for this message
Jeff Powell (jrpinjapan) wrote :

Same 3.0.0-13 kernel issue. booting -12 works on my Hp TC4400 laptop.

Is there a fix for this so I can stay current with updates?

Revision history for this message
MB (maciej-by) wrote :

Instructions from comment #52 helps temporary. File initrd.img genarated sucesfully. Propably to next kernel update.

Revision history for this message
Matteo Bertozzi (theo-bertozzi) wrote :

same problem here with nvidia-173 update
but I cannot find /usr/sbin/update-initramfs.distrib

Revision history for this message
Bojan Sukalo (shukalo83) wrote :

Confirmed on x86_64 11.10 xubuntu.

To post a comment you must log in.