Find the answer to your Linux question:
Results 1 to 8 of 8
I am trying to virtualize a physical server running Red Hat AS2 to ESXi and every method copying or imaging the data to the virtual server always generates the same ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7

    Kernel module problem?

    I am trying to virtualize a physical server running Red Hat AS2 to ESXi and every method copying or imaging the data to the virtual server always generates the same error. When I boot up the new virtual machine, the normal grub menu comes up and then the server starts to boot into the kernel. It then crashes with the following output (starting at the first error):

    Code:
    /lib/megaraid2.o init_module:
    Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
    ERROR: /bin/insmod exited abnormally!
    loading jbd module
    Journalled Block Device driver loaded 
    Loading ext3 module
    Mounting /proc filesystem
    Creating root device
    Mounting root filesystem
    mount: error 19 mounting ext3
    pivotroot: pivot_root(/sysroom,/sysroot/initrd) failed: 2
    Freeing unused kernel memory: 244k freed
    Kernel panic: No init found. Try passing init= option to kernel.
    I am by no means a Linux expert and this problem a little over my head. If it is possible, I would like to be able to fix this problem. Failing that, I would like to find an alternative solution so that I can turn off this physical machine and start using the virtual machine.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Since you are moving a physical server to a VM, you need to make sure you configure the VM to emulate the original system exactly (CPU options, etc).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    Quote Originally Posted by Rubberman View Post
    Since you are moving a physical server to a VM, you need to make sure you configure the VM to emulate the original system exactly (CPU options, etc).
    Yeah, I have the VM settings the same as the original server (processor, memory, OS, etc.). It seems like it is crapping out because it is trying to load the RAID driver module from the old server but I am not really sure.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by twilight7345 View Post
    Yeah, I have the VM settings the same as the original server (processor, memory, OS, etc.). It seems like it is crapping out because it is trying to load the RAID driver module from the old server but I am not really sure.
    That is a good possibility. You might want to remove the RAID driver module load from the source OS, or open the VM drive image and remove it from the system initialization scripts. Then try to reboot.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    Quote Originally Posted by Rubberman View Post
    That is a good possibility. You might want to remove the RAID driver module load from the source OS, or open the VM drive image and remove it from the system initialization scripts. Then try to reboot.
    Sorry, how do I remove a module from the initialization scripts? I don't really have much experience with Linux kernel stuff.

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Sorry, but I'm also just getting up to speed on kernel details. I know enough to be dangerous and debug common problems, but I don't know all the details of what you would need to do to resolve this issue. As you surmise, your problem is likely related to the loading and initialization of the RAID device on the original system, but that doesn't exist in your VM. There may be other issues as well. You might want to contact VMware or post a query on their user forums to see what you should do.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    Quote Originally Posted by Rubberman View Post
    Sorry, but I'm also just getting up to speed on kernel details. I know enough to be dangerous and debug common problems, but I don't know all the details of what you would need to do to resolve this issue. As you surmise, your problem is likely related to the loading and initialization of the RAID device on the original system, but that doesn't exist in your VM. There may be other issues as well. You might want to contact VMware or post a query on their user forums to see what you should do.
    LOL I think we are in the same boat. I just found out that the new VMware converter supports Linux, so I think I will give that a shot.

  8. #8
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    vConverter 4 was able to convert the server to an ESXi image while the server was running. It actually worked great; it processed quickly, cleaned up all of the disused kernel entries and fixed (I am assuming) the module problem.l

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...