WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Kernel panics

> OK, I may be going off on a tangent here, but bear with me.
>
> This may sound like a silly question, but when you roll your own kernel,
>  are you building it along with Xen, or are you building it manually?
> I've not built a Xen-patched kernel manually before, so I'm a little
> unfamiliar with the process, but there are patches to apply (if you are
> using vanilla sources), and then there are specific settings when
> configuring. The kernel config file that is in the source tarball from
> the Xen site should tell you what you need to know.

Actually I even tried to use my "normal" 2.6.20 kernel, and XEN told me
this wasn't a XEN kernel and it couldn't use it.

But to answer your question, I got the tar ball, and ran "make world"
which pulled the kernel sources from the internet, and added the XEN
specific to it. Knowing I needed to add the JFS driver in there, I
ran "make oldconfig" "make menuconfig" and added all the drivers into
that I thought I neede, then ran a "make" again.

Since then, I've re-started this from scratch, and I am now making
"make world" to split dom0 from domU which cuts down the compile time
by a fair bit, but hasn't changed the results by one bit !


> - From what you've said though, I'm guessing that there's a driver you
> need that is only in a later kernel.  If that's the case, you may need

Hmmmm... I thought about that for about 5 seconds, I do have a fairly
recent AM2 mother board, and my current kernel is 2.6.20.

I'll pull the 2.6.16 from kernel.org, and see if I can boot from that.

> to either port the Xen patches to it yourself (apparently not a task for
> the faint hearted), or hope someone else has done so (for instance, the
> latest Ubuntu has a different kernel version to the one on the Xen
> site).  Or you could back port the driver you need.  That's of course if
> you need a kernel newer than 2.6.18.  If you don't, have you tried Xen
> 3.1?

I did quickly tried XEN 3.1, but got the same results...


> Of course, I may have got this all wrong.  So if you're using the
> standard patched sources, and the kernel is configured correctly, my
> apologies for asking such time wasting questions :-)

Don't worry, I appreciate your help, makes me re-think all the steps
I have done, so that might even trigger good ideas (the old "ask Bob"
effect).


> At any rate, have you managed to capture any useful information from the
> panic yet?

What is "useful" information, beyond the message I posted in an earlier
post ? And how can I get the output to be more verbose than that ?



Yves.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>