Missing initrd - Kernel panic with linux-image-3.0.0-12.19

Bug #864271 reported by Fioravanti Diego
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

When I boot my pc with 3.0.0-12 kernel the kernel crash in kernel panic. Looking inside my /boot/grub/grub.cfg I find out that in my 3.0.0-12 kernel compare to the -11 one root option it's different and the line initrd it's missing.

menuentry 'Ubuntu, con 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,msdos1)'
        search --no-floppy --fs-uuid --set=root c49615ed-88be-4cff-812e-d4389247f03d
        linux /boot/vmlinuz-3.0.0-11-generic root=UUID=c49615ed-88be-4cff-812e-d4389247f03d ro quiet splash vt.handoff=7
        initrd /boot/initrd.img-3.0.0-11-generic
}

menuentry 'Ubuntu, con 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,msdos1)'
        search --no-floppy --fs-uuid --set=root c49615ed-88be-4cff-812e-d4389247f03d
        linux /boot/vmlinuz-3.0.0-12-generic root=/dev/sda1 ro quiet splash vt.handoff=7
}

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-generic 3.0.0.12.13
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: diego 1682 F.... pulseaudio
CRDA: Error: [Errno 2] File o directory non esistente
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfebfc000 irq 46'
   Mixer name : 'SigmaTel STAC9205'
   Components : 'HDA:838476a0,102801f1,00100204 HDA:14f12c06,14f1000f,00100000'
   Controls : 18
   Simple ctrls : 11
Date: Sat Oct 1 21:25:39 2011
HibernationDevice: RESUME=UUID=991c653f-5cef-4038-bdec-ca40a6337d59
MachineType: Dell Inc. Inspiron 1520
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=c49615ed-88be-4cff-812e-d4389247f03d ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-11-generic N/A
 linux-backports-modules-3.0.0-11-generic N/A
 linux-firmware 1.60
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/05/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0KY768
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd11/05/2007:svnDellInc.:pnInspiron1520:pvr:rvnDellInc.:rn0KY768:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1520
dmi.sys.vendor: Dell Inc.

Revision history for this message
Fioravanti Diego (dfioravanti) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-12.19)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-12.19
Revision history for this message
Fioravanti Diego (dfioravanti) wrote : Re: Kernel panic with linux-image-3.0.0-12.19

I can't test the new kernel because I can't boot the 3.0.0-12 kernel

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi Diravan,
   Can you still boot the 3.0.0-11 kernel? If you can do that then what exactly is the
oops - is it something like can't mount root file system ? (If you have a camera then
please include it).

Please also, can you add:
  * the output of ls -l /boot
  * The result of running sudo update-grub

I don't think the problem is the kernel itself, but whatever caused the initrd to be missing
from your grub config.

Dave

Revision history for this message
Fioravanti Diego (dfioravanti) wrote :
Revision history for this message
Fioravanti Diego (dfioravanti) wrote :
Revision history for this message
Fioravanti Diego (dfioravanti) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi Fioravanti,
  Looking at it, you are missing the initrd in /boot for the 3.0.0-12 kernel - which is odd! I suggest you can fix it either by
reinstalling the 3.0.0-12 kernel package, or if you run the command:

   sudo update-initramfs -k 3.0.0-12 -c
   sudo update-grub

and see if that helps.

Dave

Revision history for this message
Fioravanti Diego (dfioravanti) wrote :

I try to reinstall 3.0.0-12 kernel i apt return me this error.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-12-generic /boot/vmlinuz-3.0.0-12-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-12-generic /boot/vmlinuz-3.0.0-12-generic
Configuration linux-image-3.0.0-12-generic (3.0.0-12.19)...
Running depmod.
Failed to symbolic-link /boot/initrd.img-3.0.0-12-generic to initrd.img: already existing file <- the error it's here i think
[ stuff in Italian ]
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo update-initramfs -k 3.0.0-12 -c && sudo update-grub return the same output as before

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found linux image: /boot/vmlinuz-3.0.0-11-generic
Found initrd image: /boot/initrd.img-3.0.0-11-generic
Found memtest86+ image: /boot/memtest86+.bin
done

Revision history for this message
Fioravanti Diego (dfioravanti) wrote :

I put here my initrd.img link. The first one it's broken since /boot/initrd.img-3.0.0-12-generic don't exists.

0 lrwxrwxrwx 1 root root 33 2011-10-02 10:08 initrd.img -> /boot/initrd.img-3.0.0-12-generic
0 lrwxrwxrwx 1 root root 32 2011-09-27 07:46 initrd.img.old -> boot/initrd.img-3.0.0-11-generic

Diego.

Revision history for this message
Fioravanti Diego (dfioravanti) wrote :

ok, I removed che linux-image-3.0.0-12 package with dpkg and I received this 2 warning.

The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
 you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
 you may need to re-run your boot loader[grub]

After that I've tried to reinstall the kernel it work but the /boot/initrd.img-3.0.0-12-generic file it's still missing and this is the apt output

Configuration linux-image-3.0.0-12-generic (3.0.0-12.19)...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-12-generic /boot/vmlinuz-3.0.0-12-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-12-generic /boot/vmlinuz-3.0.0-12-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-12-generic /boot/vmlinuz-3.0.0-12-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-12-generic /boot/vmlinuz-3.0.0-12-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-12-generic /boot/vmlinuz-3.0.0-12-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found linux image: /boot/vmlinuz-3.0.0-11-generic
Found initrd image: /boot/initrd.img-3.0.0-11-generic
Found memtest86+ image: /boot/memtest86+.bin
done

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

odd - I won't be around until next weekend - so anyone please jump in.

But some suggestions:

ls -l / you should see a symlink that looks like:

lrwxrwxrwx 1 root root 33 2011-09-29 14:02 initrd.img -> /boot/initrd.img-3.0.0-12-generic
lrwxrwxrwx 1 root root 33 2011-09-17 13:22 initrd.img.old -> /boot/initrd.img-3.0.0-11-generic

Try deleting /initrd.img - or if it's not a symlink then that's probably the problem.

If there is still no /boot/initrd.img-3.0.0-12-generic then try rerunning

sudo update-initramfs -k 3.0.0-12 -c -v

and see if the -v gives you any more info about why it isn't creating it.

Dave

summary: - Kernel panic with linux-image-3.0.0-12.19
+ Missing initrd - Kernel panic with linux-image-3.0.0-12.19
Revision history for this message
Fioravanti Diego (dfioravanti) wrote :

Ok, i've tried to running sudo update-initramfs -k 3.0.0-12 -c -v and I've received any output then i've tried to delete my /initrd.img and reinstall the package but I'm not able to get my /boot/initrd.img-3.0.0-12-generic generate.....

Diego.

Revision history for this message
Fioravanti Diego (dfioravanti) wrote :

Could be a update-initramfs bug ? I've tried to running

"sudo update-initramfs -k 3.0.0-11 -d -v"
"sudo update-initramfs -k 3.0.0-11-generic -d -v"
"sudo update-initramfs -k all -d -v"

all follow by sudo update-grub and nothing appends....

Revision history for this message
Fioravanti Diego (dfioravanti) wrote :

I have tried to install linux-image-3.0.0-12-server just for checking if any initrd image was created i expire the same problem as with 3.0.0.12-generic.

 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-12-server /boot/vmlinuz-3.0.0-12-server
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-12-server /boot/vmlinuz-3.0.0-12-server
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-12-server /boot/vmlinuz-3.0.0-12-server
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-12-server /boot/vmlinuz-3.0.0-12-server
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-12-server
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found linux image: /boot/vmlinuz-3.0.0-11-generic
Found initrd image: /boot/initrd.img-3.0.0-11-generic
Found memtest86+ image: /boot/memtest86+.bin
done

Any idea ?

Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-12.20)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-12.20
Revision history for this message
Zunbeltz Izaola (zunbeltz) wrote :

I update the kernel with the propose repository and the kernel team pre-proposed PPA.
After running
"sudo update-initramfs -k all -d -v"
followed by sudo update-grub nothing appends.

I still don't have the new initrd.img files.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Zunbeltz Izaola (zunbeltz) wrote :

I forgot to mention that I try kernel
3.0.0-12, 3.0.0-13 and 3.0.0-14

Revision history for this message
Zunbeltz Izaola (zunbeltz) wrote :

I correct my problem as follows:
1) run initramfs with -o (output option)
sudo initramfs -o initrd.img-3.0.0-12-generic-pae 3.0.0-12-generic-pae
Now the initrd is generated. (I don't know how I miss the -o option)
2) Them reisntall the linux-image-3.0.0-12-generic-pae package from synaptic
(otherwise the I had kernel panic).

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Closing this bug with Won't fix as this kernel / release is no longer supported.
Please feel free to open a new bug report if you're still experiencing this on a newer release (Bionic 18.04.3 / Disco 19.04)
Thanks!

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.