Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Problem booting with SMP Kernel

  • 08-07-2008 1:55pm
    #1
    Closed Accounts Posts: 1,663 ✭✭✭


    Hi all,

    I'm having trouble booting CentOS when I choose the SMP Kernel...

    Attached is the error I'm seeing.

    Thanks in advance.


Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    Is that in a VM perchance?


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    It certainly is - why is that affecting it??


  • Registered Users, Registered Users 2 Posts: 2,621 ✭✭✭GreenHell


    Hmmm, maybe the smp kernel is expecting to see two cpus?

    Is regular bog standard kernel booting ok?


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    GreenHell wrote: »
    Hmmm, maybe the smp kernel is expecting to see two cpus?

    Is regular bog standard kernel booting ok?

    Yup, standard kernel boots fine.

    The SMP should see the two CPUs...and ideas why it wouldn't??


  • Registered Users, Registered Users 2 Posts: 2,621 ✭✭✭GreenHell


    Hold on a second actually

    Can you copy your grub.conf here?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,606 ✭✭✭djmarkus


    I would put my money on an initrd not having the correct kernel modules.


  • Registered Users, Registered Users 2 Posts: 2,002 ✭✭✭bringitdown


    /Related:

    should SMP kernel be used with HT / Dual Core processors?


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    GreenHell wrote: »
    Hold on a second actually

    Can you copy your grub.conf here?

    boot=/dev/sda
    default=1
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title CentOS (2.6.9-34.ELsmp)
    root (hd0,0)
    kernel /vmlinuz-2.6.9-34.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.9-34.ELsmp.img

    title CentOS-4 i386 (2.6.9-34.EL)
    root (hd0,0)
    kernel /vmlinuz-2.6.9-34.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.9-34.EL.img



    there ya go chief...


  • Registered Users, Registered Users 2 Posts: 2,621 ✭✭✭GreenHell


    Ah bugger, they look fine

    Can you verify the correct vmlinuz and initrd exist in /boot


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    GreenHell wrote: »
    Ah bugger, they look fine

    Can you verify the correct vmlinuz and initrd exist in /boot

    Please excuse any c**k-ups I make while following ye're suggestions, but I'm not totally adept in the workings of Linux!!

    anywhoo, these are how they exist in /boot...

    initrd-2.6.9-34.ELsmp.img
    vmlinuz-2.6.9-34.ELsmp

    ...looks good to me??


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,621 ✭✭✭GreenHell


    Ya your right, the error says it can't find your lvm. But all your setup looks fine. Even if you only have a single core cpu the kernel should still boot.

    Last resort maybe would be to reinstall the kernel, but other than that I'm out of ideas to be honest.


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    I think there's an issue using > 1 cpu in some versions of vmplayer. If you open up the .vmx file in notepad and specify one cpu instead of two, then try to boot the smp kernel and see what happens.


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    Khannie wrote: »
    I think there's an issue using > 1 cpu in some versions of vmplayer. If you open up the .vmx file in notepad and specify one cpu instead of two, then try to boot the smp kernel and see what happens.

    Running in ESX 3.5. Will try suggestion with the .vmx file there now and post back...


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    Running in ESX 3.5. Will try suggestion with the .vmx file there now and post back...

    no joy. still the same error. awww this is a right pain in the toosh. just can't see what could be causing it...


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    djmarkus wrote: »
    I would put my money on an initrd not having the correct kernel modules.

    How does one go about checking this??


  • Registered Users, Registered Users 2 Posts: 811 ✭✭✭Rambo


    Hi all,

    I'm having trouble booting CentOS when I choose the SMP Kernel...

    Attached is the error I'm seeing.

    Thanks in advance.


    had the same error on Redhat today
    I had no Buslogic SCSI driver install after a yum update

    I booted back into the working kernel and recompiled the Buslogic driver
    for the new SMP kernel
    copy driver to /lib/modules/[kernel-version]/drivers/scsi

    then I did
    depmod -A # makes a list of dependencies
    injet driver into initrd-[kernel-version]

    mkintrd -f -v /boot/initrd-[kernel-version] [kernel-version]
    then rebooted

    and presto I had new version of kernel booting

    [kernel-version] means the version of kernel 2.6.9.55.smp
    or what ever you are using

    hope this helps


Advertisement