Skip to contentSkip to conversation

kernel 3.2rc4 hangs if I use allyesconfig

DISCUSSION rajaneesh acharya 3 participants 5 messages Dec 9, 2011 – Dec 12, 2011 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi

I created a kernel using the target as allyesconfig. The machine fails to bootup (just hangs with 100% cpu utilization) with message "Booting the kernel"
If I use the config from a distro and create the kernel image, it boots fine..

Apart from the fact that allyesconfig will create a bulky kernel image and loads lots of drivers that are not needed, what could be other reasons why this would fail.. I have 8GB RAM and AMD Quad code..

For above testing, I used QEMU command as below

Quoted 1 line
Quoted 1 line

qemu-system-x86_64 -kernel /boot/vmlinuz-3.2.0 -initrd test.cpio.gz

Regards
Rajaneesh

PS: Config file has been created using allyesconfig, hence not attached..

#2 lore raw

TSC Clocksource calibration in kernel3.1.4

Hi

I was running the kernel 2.6.32 and 3.1.4... In kernel3.1.4, I could see additional messages below after the rootfs was getting loaded..

Refined TSC Clocksource calibration: 3214.622 MHz
Switching to clocksource tsc..

My understanding was that kernel gets loaded completely before rootfs starts getting loaded.. The above messages were not getting printed in kernel 2.6.32.. Any thoughts on this?

Regards
Rajaneesh

#3 lore raw
In reply to rajaneesh acharya
Quoted 7 lines · rajaneesh acharya

Hi

I created a kernel using the target as allyesconfig. The machine fails to
bootup (just hangs with 100% cpu utilization) with message "Booting the kernel"
If I use the config from a distro and create the kernel image, it boots fine..

Hi Rajanesh

Could you post at least 20 lines of boot messages up to the time it hangs? The clue is quite too few IMHO.

AFAIK, it already passed the decompressing of kernel image, so at least we know there is little chance kernel image got corrupted.

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#4 lore raw

Hi Mulyadi,

Please find the screenshot...There are no debug messages being thrown out...

Ran this from qemu with command

qemu-system-x86_64 -kernel /boot/vmlinuz-3.2.0 -initrd initramfs.gz

Regards
Rajaneesh

----- Original Message -----
From: Mulyadi Santosa <[email protected]>
To: rajaneesh acharya <[email protected]>
Cc: kernelnewbies at kernelnewbies.org
Sent: Sat, 10 Dec 2011 10:44:40 +0530 (IST)
Subject: Re: kernel 3.2rc4 hangs if I use allyesconfig

Quoted 7 lines · rajaneesh acharya

Hi

I created a kernel using the target as allyesconfig. The machine fails to
bootup (just hangs with 100% cpu utilization) with message "Booting the kernel"
If I use the config from a distro and create the kernel image, it boots fine..

Hi Rajanesh

Could you post at least 20 lines of boot messages up to the time it hangs? The clue is quite too few IMHO.

AFAIK, it already passed the decompressing of kernel image, so at least we know there is little chance kernel image got corrupted.

Signature · 14 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-QEMU.png
Type: image/png
Size: 7220 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111210/6cb664d0/attachment.png 
#6 lore raw
In reply to a message not in the archive

Forgot to cc kernelnewbies mailing list while replying..

Quoted 8 lines · rajaneesh acharya

Hi

I created a kernel using the target as allyesconfig. The machine fails to
bootup (just hangs with 100% cpu utilization) with message "Booting the kernel"
If I use the config from a distro and create the kernel image, it boots fine..

Quoted 8 lines

Apart from the fact that allyesconfig will create a bulky kernel image
and loads lots of drivers that are not needed, what could be other reasons why this would fail.. I have 8GB RAM and AMD Quad code..

For above testing, I used QEMU command as below

Quoted 1 line
Quoted 1 line

qemu-system-x86_64 -kernel /boot/vmlinuz-3.2.0 -initrd test.cpio.gz

Oh, you have an AMD cpu? There was a regression which prevented Linux from booting
on some AMD cpus. And this has been fixed in Linux-3.2-rc5. Please try that version
and see if the problem still persists.

[The specific patch I am referring to is, "x86: Fix boot failures on older AMD CPU's"
See https://lkml.org/lkml/2011/12/9/419]

Regards,
Srivatsa S. Bhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111212/59944cd0/attachment.html