Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jun 23, 2012 10:29 pm 
Offline
Senior Newbie

Joined: Wed Jun 08, 2011 11:15 pm
Posts: 6
Since I run r1soft, I need to use a custom-built Kernel.

I'm running CentOS 6, I just installed the default CentOS kernel via yum, changed my kernel to pv.

Here is my menu.lst;

timeout 5
title Custom Compiled Kernel
root (hd0)
kernel /boot/vmlinuz-2.6.32-220.23.1.el6.i686 root=/dev/xvda ro quiet

# file /boot/vmlinuz-2.6.32-220.23.1.el6.i686
/boot/vmlinuz-2.6.32-220.23.1.el6.i686: Linux kernel x86 boot executable bzImage, version 2.6.32-220.23.1.el6.i686 (mockb, RO-rootFS, swap_dev 0x3, Normal VGA

When booting, it kernel panic's with the following error:

http://i.imgur.com/rjQYL.png

Any ideas?

Thanks!


Top
   
PostPosted: Thu Jun 28, 2012 5:24 pm 
Offline
Senior Newbie

Joined: Wed Jun 08, 2011 11:15 pm
Posts: 6
No one? ;-)


Top
   
PostPosted: Fri Jun 29, 2012 9:36 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
You may want to try pastebinning your kernel configuration. Also, removing "quiet" from your kernel args will make it more verbose, possibly providing more information.

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Fri Jun 29, 2012 12:18 pm 
Offline
Senior Newbie

Joined: Wed Jun 08, 2011 11:15 pm
Posts: 6
Without quiet:

"VFS: Cannot open root device xvda or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:"

I didn't do a custom kernel, used the default centos RPM kernel, which doesn't seem to have support for the xen filesystem?


Top
   
PostPosted: Sun Jul 01, 2012 6:12 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
Sounds about right. You usually want a distribution supplied kernel that has "Xen" in the name. I'd imagine CentOS has a Xen kernel, but I'm not familiar with the packages they offer.

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Sun Jul 01, 2012 6:23 am 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
There is no xen kernel for CentOS, the standard kernel has xen support.

You want something like this.

# boot=/dev/xvda
# kopt=root=/dev/xvda console=tty0 console=hvc0 ro quiet
# groot=(hd0)

default=0
timeout=0

title CentOS (2.6.32-220.23.1.el6.i686)
root (hd0)
kernel /boot/vmlinuz-2.6.32-220.23.1.el6.i686 root=/dev/xvda console=tty0 console=hvc0 ro quiet crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
initrd /boot/initramfs-2.6.32-220.23.1.el6.i686.img


Top
   
PostPosted: Sun Jul 01, 2012 6:27 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
theckman wrote:
Sounds about right. You usually want a distribution supplied kernel that has "Xen" in the name. I'd imagine CentOS has a Xen kernel, but I'm not familiar with the packages they offer.

-Tim


Unless I'm terribly mistaken RHEL does not provide a Xen kernel, so I would assume that Centos does not add one.


Nibbler wrote:
There is no xen kernel for CentOS, the standard kernel has xen support.


Are you sure? My impression was that they dropped official Xen support entirely in favor of kvm.


Top
   
PostPosted: Sun Jul 01, 2012 6:50 am 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
They dropped support for the hypervisor, but running as a guest is still supported.


Top
   
PostPosted: Fri Jul 06, 2012 11:10 pm 
Offline
Senior Newbie

Joined: Wed Jun 08, 2011 11:15 pm
Posts: 6
Nibbler wrote:
They dropped support for the hypervisor, but running as a guest is still supported.


Do you have this working with CentOS 6? I can't get it to boot up with your grub config either.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mattltm and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group