Kernel panic 2.6.12-8-amd64-k8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
After upgrading to kernel 2.6.12-8 (with Synaptic (Breezy)) I get the error at
boot: depmod: error while loading shared libraries: libc.so.6 cannot open shared
object files: no such file or directory. Kernel 2.6.12-7 boots without problem.
Is there something wrong with the initrd?
Jeff Bailey (jbailey) wrote : | #1 |
Herko van Bergen (herko) wrote : | #2 |
(In reply to comment #1)
> Can you put your /boot/initrd.
> haven't had this problem on my amd64 test system, nor heard any other reports,
> so I'd like to see what happened.
>
> Tks,
> Jeff Bailey
>
Hi Jeff,
You can find it at http://
Thanks for your help.
Herko van Bergen (herko) wrote : | #3 |
(In reply to comment #2)
> (In reply to comment #1)
> > Can you put your /boot/initrd.
> > haven't had this problem on my amd64 test system, nor heard any other reports,
> > so I'd like to see what happened.
> >
> > Tks,
> > Jeff Bailey
> >
>
> Hi Jeff,
> You can find it at http://
> Thanks for your help.
>
I would just like to know if you could find somethings since the problem
persists. Thanks!
Jeff Bailey (jbailey) wrote : | #4 |
> I would just like to know if you could find somethings since the problem
> persists. Thanks!
Looking at it, everything should be fine. Are you available to troubleshoot a
bit on IRC? It would help if you have two computers so we can work on one and
talk on the other.
Tks,
Jeff Bailey
Herko van Bergen (herko) wrote : | #5 |
Herko van Bergen (herko) wrote : | #6 |
(In reply to comment #4)
> > I would just like to know if you could find somethings since the problem
> > persists. Thanks!
>
> Looking at it, everything should be fine. Are you available to troubleshoot a
> bit on IRC? It would help if you have two computers so we can work on one and
> talk on the other.
>
> Tks,
> Jeff Bailey
>
I don't have 2 computers with internet close to each other, but in different
rooms. Would that be ok?
Btw, 2.6.12-9 has the same problem. Bug no. 16724 also looks a lot like my
problem. I have an AMD Athlon 3500 and a MSI motherboard. I have attached hwinfo
output for you to have a look at.
Herko
Jeff Bailey (jbailey) wrote : | #7 |
> I don't have 2 computers with internet close to each other, but in different
> rooms. Would that be ok?
> Btw, 2.6.12-9 has the same problem. Bug no. 16724 also looks a lot like my
> problem. I have an AMD Athlon 3500 and a MSI motherboard. I have attached hwinfo
> output for you to have a look at.
It's all good. The time to run between two rooms is probably similar to
rebooting. If we can work with this interactively, hopefully we can find the
solution quickly.
When are you available to troubleshoot this with me?
Tks,
Jeff Bailey
Adam Conrad (adconrad) wrote : | #8 |
Are you still seeing this issue? All of Jeff's initramfs-tools bugs got reassigned to me when he moved on to some other projects, and I regret that I missed reading this one until just now.
Herko van Bergen (herko) wrote : | #9 |
Actually I am still having it with Ubuntu's kernel releases. I'm sorry I did not react anymore but I did not have the time to go deeper into the problem. I compiled a kernel which works fine now. However, I would like to fix the problem the moment I have the time for it. If I cannot solve it, I will contact you. Thanks a lot.
Herko
Changed in initramfs-tools: | |
assignee: | adconrad → nobody |
Simon Law (sfllaw) wrote : | #10 |
Herko,
I'm going through old bugs and noticed that you reported this against an old
kernel. Is this still an issue with 2.6.15?
Thanks.
Changed in initramfs-tools: | |
status: | Unconfirmed → Needs Info |
Hi!
I have the exact same problem on Dapper. Am I missing something somewhere else? Unfortunately, this errors does not seem to have been resolved...
Kernel 2.6.15-
Athlon 3200
MSI-Board
Of course, I would be willing to assist in any way I can!
It seems, mkinitramfs is including the libraries in /lib64, whereas the started initramfs is looking in /lib. However, I don't know how to change that behaviour...
Brian Murray (brian-murray) wrote : | #13 |
Thanks for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.
Changed in initramfs-tools: | |
assignee: | nobody → brian-murray |
Herko van Bergen (herko) wrote : | #14 |
Thanks Brian for contacting me about this problem. It is however no issue for me anymore because I did a fresh install of Ubuntu. So the cause remains unclear i'm afraid.
Thanks again and best regards,
Herko
Brian Murray (brian-murray) wrote : | #15 |
Thanks again for taking the time to report and troubleshoot this issue and I am glad that a newer version of Ubuntu is now working for you. Feel free to submit any future bugs you may find.
Changed in initramfs-tools: | |
status: | Needs Info → Rejected |
optimix (io-fx) wrote : | #16 |
Hello,
I have a amd64 machine.
I have upgraded from dapper to edgy, from edgy to feisty and from feisty to gutsy. After the first upgrade and sice then, I have some errors when trying to boot some ubuntu kernels (2.6.15 and 2.6.22-14-generic from gutsy) :
depmod: error while loading shared libraries: libc.so.6 cannot open shared object file: No such file or directory
kbd_mode: error while loading shared libraries: libctutils.so.0 cannot open shared object file: No such file or directory
...
I suppose it's a initrd issue. Any idea how can I fix this ? (or how to examine initrd)
--
Alexandru Munteanu
moa3333 (moa3333) wrote : | #17 |
I have just upgraded to hardy and i have the same error.
I had this error when i upgraded to edgy but i compiled my own kernel.
Now it woks very fine with the old kernel 2.6.22 i have compiled.
Hovever, i am not abe to run kernel 2.6.24 from feisty.
It seems that mkinitramfs is buggy. It compiled libraries for 32 bits and i have a 64 bits computer.
Any help?
Changed in initramfs-tools: | |
status: | Invalid → Confirmed |
moa3333 (moa3333) wrote : | #18 |
i mean i had thsi probel when i upgraded to gutsy and to feisty (i don't remeber for edgy)
It seems the only solution is to reinstall the hole ubuntu from scratch???
This is because i have a very old ubuntu upgraded each time a new distribution came out.
moa3333 (moa3333) wrote : | #19 |
In my case it says at boot time:
"/sbin/
the old kernel works good, so i guess the new kernel is badly configures or something.
Removed by request (removed2249328) wrote : | #20 |
I am experiencing this issue - three years after the initial bug report - on my present system. The hardware is 3 Ghz Core 2 Duos with 8GB of ram and an nVidia 8800GT with 64-bit Ubuntu Hardy Heron and whichever kernel is current in apt today (-19 IIRC)
The specific error message:
-------
/sbin/usplash_
modprobe: "error while loading shared libraries: libc.6.so: cannot open shared object file: No such file or directory"
ALERT! /dev/disk/
(initramfs)>
-------
I booted the kernel into Recovery Mode and the system came back up. I took this chance to downgrade the kernel to -18 and the system came back up. I then rebooted and got the exact same problem.
I see that this bug has been around since 2005 and is currently a "Low Priority." I am skeptical that reinstalling my system will fix the problem so hope someone is willing to work with me over IRC or telephone to get to the root of the problem ASAP. I need a stable system and this bug didn't come up until it had been running for 2-3 weeks. I made no recent configuration changes, so I am positive that reinstalling will only give the facade of fixing it and that I may well experience the problem again in less than a month.
Removed by request (removed2249328) wrote : | #21 |
Without my workstation I can't get any work done. If someone has read this bug report and decided not to act on it I would appreciate you telling me that. I have not wiped this workstation as a service to Canonical, but if this bug is going to be ignored I am wasting my time!
Brian Murray (brian-murray) wrote : | #22 |
It would be useful to know what happens when you boot the 2.6.26-19 kernel without usplash. You can do this by editing the grub boot line and removing the word 'usplash'.
Changed in initramfs-tools: | |
status: | Confirmed → Incomplete |
Removed by request (removed2249328) wrote : | #23 |
When booting that kernel without usplash I still get the same error output, including the usplash_write error. I removed all instances of usplash from my menu.lst file and for the time being I'm able to boot into my -18 kernel. I don't get the usplash menu on this kernel so I know I removed it correctly in the -19 case. No idea why it is still getting triggered. There is way too much output even with grub's quiet command for me to see if there are any mentions of usplash in the -18 case. Is there a way to log this output?
Brian Murray (brian-murray) wrote : | #24 |
Could you add your '/boot/
Removed by request (removed2249328) wrote : | #25 |
Removed by request (removed2249328) wrote : | #26 |
running `ls /dev/disk/by-uuid' is going to be problematic:)
> ls /dev
console null tty0 ... tty8
Jason Crain (jason-bluetree) wrote : | #27 |
Would you mind attaching /boot/initrd.
Jason Crain (jason-bluetree) wrote : | #28 |
Sorry, it is 2.6.24-19-generic that is not booting properly? Could you attach /boot/initrd.
Removed by request (removed2249328) wrote : | #29 |
Jason Crain (jason-bluetree) wrote : | #30 |
I suspect that the linker is trying to load libc from from /lib/libc.so.6 rather than /lib64/libc.so.6, where it reside in the initrd you provided. Can you show the output of the command "update-initramfs -uv -k 2.6.24-19-generic"? That may fix the problem depending on how it updates the initrd.
If that fails, run this command as root:
echo 'export LD_LIBRARY_
and recreate the initrd with "update-initramfs -u -k 2.6.24-19-generic". That may force it to load libc.so.6 from the correct directory.
If neither of those fix it, can you run the following command from recovery mode and show the output: /lib64/
I would try these myself, but I can't get an x86_64 emulator to work.
Removed by request (removed2249328) wrote : | #31 |
- update-initramfs.log Edit (22.8 KiB, text/plain)
I've attached the output of `update-initramfs -uv -k 2.6.24-19-generic'.
Removed by request (removed2249328) wrote : | #32 |
I ran these commands:
> sudo su
> echo 'export LD_LIBRARY_
>update-initramfs -u -k 2.6.24-19-generic
Then rebooted int the -19 kernel (normal and Recovery, -18 still works fine), and got the following output:
-------
[24.229000] ACPI: Processur [CPU1] (supports 8 throttling stages)
[24.229110] ACPI: Exception (Processor_
Done.
Begin: Running /scripts/
Done.
Begin: Mounting root filesystem... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... // note that it hangs here
Done.
Check root= bootarg cat /proc/cmdline
or missing modules, devices: cat /proc/modules ls /dev
ALERT! /dev/disk/by-uuid/* does not exist. Dropping to a shell!
(initramfs) ls/dev/disk
-------
Here's the output of `/lib64/
libc.so.6 => /lib/libc.so.6 (0x00007fd112c5
Removed by request (removed2249328) wrote : | #33 |
The usplash issue was fixed for a german ubuntu user here by reinstalling libc6. That fix did not work for me (and as seen above I am no longer getting that error since we ran update-initramfs). http://
The AE_NOT_FOUND issue is documented in Bug #218118 and doesn't appear related.
Bug #213884 seems very related to this one.
Removed by request (removed2249328) wrote : | #34 |
Jason Crain (jason-bluetree) wrote : | #35 |
It pauses at "Begin: Waiting for root file system" because the entries in /dev are not available. It pauses hoping that they will soon appear.
I'm not sure why they are not there. Could be udev not starting?
Removed by request (removed2249328) wrote : | #36 |
Before we updated initramfs udev wasn't doing much of anything based on the contents of /dev, but now there are hundreds of entries there. The value of ROOT is /dev/disk/
Working backwards, can we compare my -18 and -19 setups and see what the difference is? It's totally odd that one works and the other doesn't. Note that new kernel packages update menu.lst. Perhaps -19 messed something up at that point.
Removed by request (removed2249328) wrote : | #37 |
I have an identical 64-bit workstation that is running the -19 kernel and 32-bit hardy. The menu.lst and fstab files are essentially the same.
Jason Crain (jason-bluetree) wrote : | #38 |
Your fstab and menu.lst look good to me same to me. And if they didn't match, I would expect the error messages to be different.
So if you boot into -19 recovery console, you see entries in /dev ? Do you at least have /dev/hda or /dev/sda entries for your drive? If so, I don't know why it is not creating the entries in /dev/disk/by-uuid. It should create entries based on the following rules:
# by-label/by-uuid (filesystem properties)
IMPORT{
ENV{ID_
ENV{ID_
and it gets the information it needs from /lib/udev/vol_id. I can only guess that either it cannot find the vol_id program or vol_id is returning bad information. What does it show when you run "/lib/udev/vol_id /dev/hd??" replacing ?? with letter/number for your root drive?
Removed by request (removed2249328) wrote : | #39 |
In the initramfs shell I have no sd*/hd* entries in /dev so nothing to run vol_id on. After booting the -18 kernel:
-------
-> ls /dev/sd* /dev/hd*
ls: cannot access /dev/hd*: No such file or directory
0 brw-rw---- 1 8, 1 Jul 18 13:10 /dev/sda1
0 brw-rw---- 1 8, 5 Jul 18 07:10 /dev/sda5
0 brw-rw---- 1 8, 2 Jul 18 07:10 /dev/sda2
0 brw-rw---- 1 8, 0 Jul 18 07:10 /dev/sda
-------
-> for dev in /dev/sd*;do /lib/udev/vol_id $dev;done
/dev/sda: error opening volume
/dev/sda1: error opening volume
/dev/sda2: error opening volume
/dev/sda5: error opening volume
-------
But I get the same result on reality, which is the working clone of this workstation running the -19 kernel and 32-bit hardy. On both systems sda1 is the root drive.
Jason Crain (jason-bluetree) wrote : | #40 |
The "error opening volume" message is probably because vol_id needs to be run as root. But that doesn't matter because the problem is /dev/sda* entries are not being created.
Maybe scsi drivers are not loaded? You could try running "modprobe scsi_mod sd_mod sr_mod st sg" from -19 recovery console and see if the devices are created.
Removed by request (removed2249328) wrote : | #41 |
Jason, when I run that command I get:
> [435.476895]: scsi_mod: Unknown parameter: sd_mod
> FATAL: Error inserting scsi_mod. Unknown symbol or unknown parameter.
When I run `modprobe scsi_mod' I get `SCSI subsystem initialized' but no new devices.
Removed by request (removed2249328) wrote : | #42 |
I found another user with this problem but he couldn't fix it so he traded his laptop in for a new model :/
Removed by request (removed2249328) wrote : | #43 |
Guys, I'm sorry to rush you but I really need to wipe my workstation and this bug is the only thing stopping me. Could you provide a decision list of things for me to try rather than a constant back and forth. Or better, can we do this over chat? Thanks.
Jason Crain (jason-bluetree) wrote : | #44 |
I'm at a loss. I have no idea why the kernel would not be recognizing the /dev/sdXY devices. Sorry that I cannot help more.
Removed by request (removed2249328) wrote : | #45 |
Alright, thanks for trying Jason.
A last update for any future bug sufferers is that I was able to load the aforementioned kernel modules by modprobing them all individually.
Changed in initramfs-tools: | |
assignee: | brian-murray → nobody |
sam (shree-pravin005) wrote : | #46 |
check your fstab file or grub.confg file.
rusivi2 (rusivi2-deactivatedaccount) wrote : | #47 |
Thank you for posting this bug.
Does this occur in Lucid?
MillenniumBug (millenniumbug) wrote : | #48 |
Closing this bug report due to lack of activity.
If the problem still exists in 10.10, feel free to open a new report.
Changed in initramfs-tools (Ubuntu): | |
status: | Incomplete → Invalid |
Can you put your /boot/initrd. img-2.6. 12-8-amd64- k8 somewhere I can see it? I
haven't had this problem on my amd64 test system, nor heard any other reports,
so I'd like to see what happened.
Tks,
Jeff Bailey