64 bit install iso, possible fix and kernel version question

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

64 bit install iso, possible fix and kernel version question

Postby mmeier » Thu Feb 17, 2011 8:39 pm

Hi there, log time lurker, first time poster.

I've been stressing over being unable to install the newest (3.1.8, downloaded yesterday) ISO image and just now came across an interesting issue. The server would freeze immediately after grub went to the kernel, inidcating the drive could not be found, and asking if I'd like to fall back to my main drive (/dev/sda2). Much searching later allowed me to identify this as a kernel issue, where the megaraid_sas drivers were missing.

There are two kernels installed on the iso: 2.6.34-12 and 2.6.34.7.0.7. By default the system attempts to load -12, which is missing the megaraid_sas drivers (and other stuff like USB drivers). The .7 kernel has everything and boots normally.

To fix my no-boot i simply added a line to grub for the .7 kernel, and voila!

But, which kernel is the intended one for Vicidial? Should i attempt to fix the -12 kernel, or am i safe to stick with .7?

Thanks,

-Matt
Last edited by mmeier on Fri Mar 04, 2011 6:09 am, edited 1 time in total.
______________________________
Matt Meier, RackNine Inc.
email: matt@racknine.com
web: http://www.racknine.com
mmeier
 
Posts: 5
Joined: Thu Feb 17, 2011 8:27 pm

Postby williamconley » Thu Feb 17, 2011 8:57 pm

Is this during the .iso install or after install after removing the .iso and attempting to boot from the freshly installed OpenSuSE OS?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby randy_delgado_03 » Fri Feb 18, 2011 11:54 am

Hi mmeier,williamconley

Actually when i installed the vicibox 3.1.8 version i also had the same problem. It just happens that vicibox 3.1.6 works on my server but i really wanna try vicibox 3.1.8.

As per williamconley's question, it happens after the os install and booting on the hard drive.

@mmeier
What line exactly did you add? Is it ok if i ask that specific line and how to do it? Thank you in advance ...
ViciBox v.7.0.3-160505
Asterisk 11.22.0-vici
Vicidial: VERSION: 2.12-563a BUILD: 160801-2119
Servers: Stand alone server (Database, Web, Telephony)
No Additional Softwares, No Third Party Softwares
randy_delgado_03
 
Posts: 178
Joined: Wed Dec 01, 2010 2:50 pm
Location: Manila, QC

Postby williamconley » Fri Feb 18, 2011 3:42 pm

he likely modified the menu.lst file in the grub folder. but for your first boot you can modify it directly on the grub itself (there are directions visible if you press a button during the countdown to allow interaction with grub).

hit e

then go to the line you want to edit and hit e again.

make your change and hit b to boot

NO changes there will survive a reboot, however, so you'll need to modify the menu.lst file for a permanent fix

you could have just used zypper refresh and zypper up to get to the 3.1.8 from 3.1.6 :) read through a few of these posts on this board (the vicibox server install board)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mmeier » Fri Feb 18, 2011 5:11 pm

@William,

Yes. I did simply edit the /boot/grub/menu.lst and added this to the end:
Code: Select all
title openSUSE 11.3 (2.6.34.7)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.7-default root=/dev/sda2 resume=/dev/sda2 splash=silent quiet showopts vga=0x31a
    initrd /boot/boot/initrd-2.6.34.7-0.7-default


After testing that it worked I also set the default X value to represent that option (1st = 0, 2nd = 1, etc.) so it would boot fine.

This was the initial hard disk boot after the os-install. I tried several 64 bit versions found on the web, but they all seemed to have a problem with the kernel. I didn't know it was the kernel first, so I went through the process of re-partitioning my raid array, swapping drives, etc..

I discovered this when a google search for the no-boot issue described using mkinitrd to rebuild my initrd files. During the build for the other kernel it told me a number of necessary drivers weren't found, so I manually checked the folders and was missing the LSI MegaRaid drivers and USBHID. Explained both the no-boot and inability to press "Y" at boot time to get the minimal shell.

Btw, this won't affect everyone. Generic RAID drivers and PS2 stuff is in there, it's only us LSI boards (Dell 1950) with USB keyboards who were hooped.

Still though, is there a reason to use the -12 kernel? Just want to make sure there's nothing custom built-in to that one.

@Randy,

If you want to try this I'd first make sure you're modifying the correct menu.lst. You'll want to mount the drive (mount /dev/sdaX /mnt) and edit those accordingly.

Hope this helps,

-Matt
mmeier
 
Posts: 5
Joined: Thu Feb 17, 2011 8:27 pm

Postby mmeier » Fri Feb 18, 2011 5:11 pm

Also, in the code provided make sure you're using the drive appropriate for your build. You can usually scrape this from the old -12 kernel options.
mmeier
 
Posts: 5
Joined: Thu Feb 17, 2011 8:27 pm

Postby OneLoveAmaru » Sat Feb 19, 2011 12:57 pm

This also solved my problem as well. Dell PowerEdge 2950 and 1950, using Vicibox 3.1.8 64bit.

Thank you!!
OneLoveAmaru
 
Posts: 16
Joined: Thu Feb 17, 2011 10:24 pm
Location: Tampa, FL


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 90 guests