Bug 167

Summary: kernel panic on boot
Product: Mageia Reporter: Dan Joita <djmarian4u>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: andr55
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: picture of failure
1 fstab
2 fstab
3 fstab
menu.lst
lsinitrd initrd-2.6.37-desktop-3.mga.img

Description Dan Joita 2011-02-24 19:35:08 CET
Description of problem:
iget this black and white screen (in the picture)

How reproducible:
Always

Steps to Reproduce:
1.power on
2.panic
3.reset
Comment 1 Dan Joita 2011-02-24 19:36:49 CET
Created attachment 31 [details]
picture of failure
Comment 2 andré blais 2011-02-26 06:48:19 CET
What are the last changes you did to the system before booting ?
It appears to be an initrd or grub error.
So what changes did you do to partitions, grub menu, etc ?

CC: (none) => andr55

Comment 3 andré blais 2011-02-26 06:55:21 CET
Please send a copy of /etc/fstab, /boot/grub/menu.lst

Keywords: (none) => NEEDINFO

Comment 4 Dan Joita 2011-02-27 19:19:28 CET
Created attachment 55 [details]
1 fstab
Comment 5 Dan Joita 2011-02-27 19:19:49 CET
Created attachment 56 [details]
2 fstab
Comment 6 Dan Joita 2011-02-27 19:20:33 CET
Created attachment 57 [details]
3 fstab
Comment 7 Dan Joita 2011-02-27 19:20:55 CET
Created attachment 58 [details]
menu.lst
Comment 8 Dan Joita 2011-02-27 19:24:09 CET
(In reply to comment #2)
i don't remember doing changes, i don't use it much, it's on an old HDD
Comment 9 andré blais 2011-03-01 08:26:08 CET
The fstab coincides with the first 3 boot options of menu.lst.

However the default is the 4th boot option.
It specifies booting from the first partition of the second hard disk.  Which is not in fstab.
It also specifies using /boot/grub/menu.lst from that same partition, by default since the partition isn't specified.

This 4th option has the title "Mandriva Linux (Official)", and not Mageia.
So this raises some questions.

You are trying to boot to which partition (on which disk) ?

If you are trying to boot from the first partition of the second disk, we need to see the fstab and menu.lst from that partition.

If you are trying to boot from the first partition of the first disk, did you select one of the first 3 boot options ?

To boot by default to the first disk, the 4th line of menu.lst should be changed from "default 3" to "default 0"
Comment 10 Dan Joita 2011-03-01 15:37:01 CET
during mageia installation i have chosen mandriva to be default, as it is stable

when booting mageia, i always selected manually the mageia option

you are saying that if i change from "default 3" to "default 0" i should see a difference?
Comment 11 andré blais 2011-03-01 20:54:30 CET
no.  Just confirming.
You did exactly what you should have done, and "default 3" is appropriate.

Does the default boot to Mandriva still work ?

If so, could you confirm from Mandriva that the Mageia root partition (/) is accessible ?  It is specified as the first partition of the first hard disk (sda1).

try :
$ mkdir /mnt/mga/
$ mount /dev/sda1 /mnt/mga/
$ ls /mnt/mga/boot

in the list you should see :
initrd-2.6.37-desktop-3mga.img
vmlinuz-2.6.37-desktop-3mga

(the first being the boot image, the second the kernel)
Please confirm
Comment 12 Dan Joita 2011-03-02 08:15:51 CET
i just noticed that booting from sda1 to mdv doesn't work, and it the menu mandriva is no more, instead i can see mageia witch doesn't work

the default 3 is supposed to show me the menu.lst from sdb1/boot? it doesn't, as i said above, i can see 'mageia' everywhere 'mandriva' is written when booting from sdb1

booting from sdb1 mdv works and i can access all of sda, and the files in sda1/boot are there

at first i said i must have bads on sda, but no such problem...
Comment 13 andré blais 2011-03-02 18:26:52 CET
Good.
This means that there is a problem with the internal content of the initrd image.

(Despite the fact that your kernel panic screen says that initrd is "not tainted".
The same symptom can occur on Mandriva, the "not tainted" message must refer to the file format, or checksum.)

1) could you post the output of 
# lsinstrd initrd-2.6.37-desktop-3mga.img
(from console with root privileges, against the image in sda1 boot/ )

2) How did you install Mageia ? (options entered, etc)

We're making progress :)
Comment 14 Dan Joita 2011-03-03 09:34:53 CET
1)lsinstrd: command not found
2)i dont remember
3)i dont know how, but the kernel panic is gone, i am back to not seeing the logon screen, as stated in bug 125, so i'll answer ahmad now that i have no kernel panic
Comment 15 andré blais 2011-03-03 16:18:26 CET
sorry, that should have been
# lsinitrd initrd-2.6.37-desktop-3mga.img
Comment 16 Dan Joita 2011-03-03 22:57:42 CET
Created attachment 79 [details]
lsinitrd initrd-2.6.37-desktop-3.mga.img
Comment 17 andré blais 2011-03-04 03:19:15 CET
It failed trying to mount the root filesystem, but if it boots now, the image file parameters + modules must be correct.  (They look ok.)

Maybe timing / hardware problem ?
Or invalid kernel parameters passed at boot time ?

I'll close the bug, but if you have problems again, feel free to reopen.

Keywords: NEEDINFO => (none)
Status: NEW => RESOLVED
Resolution: (none) => INVALID

andré blais 2011-10-09 07:30:30 CEST

CC: andre999 => andre999mga