[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] XEN 4.1.2+Centos 6.2+Kernel 3.X



On Mon, Feb 6, 2012 at 11:46 AM, David Gonzalez <dgonzalezh@xxxxxxxxx> wrote:
> Hey
>
> On Sat, Feb 4, 2012 at 6:31 PM, Teck Choon Giam <giamteckchoon@xxxxxxxxx>
> wrote:
>>
>> On Sun, Feb 5, 2012 at 6:54 AM, David Gonzalez <dgonzalezh@xxxxxxxxx>
>> wrote:
>> >
>> >
>> > On Sat, Feb 4, 2012 at 5:01 PM, Teck Choon Giam
>> > <giamteckchoon@xxxxxxxxx>
>> > wrote:
>> >>
>> >> On Sun, Feb 5, 2012 at 5:35 AM, David Gonzalez <dgonzalezh@xxxxxxxxx>
>> >> wrote:
>> >> > Yo, Teck, nice name heh,
>> >>
>> >> Grrr... My Surname is Giam and Name is Teck Choon :p
>> >>
>> >> >
>> >> > On Sat, Feb 4, 2012 at 2:16 PM, Teck Choon Giam
>> >> > <giamteckchoon@xxxxxxxxx>
>> >> > wrote:
>> >> >>
>> >> >> On Sat, Feb 4, 2012 at 1:25 PM, David Gonzalez
>> >> >> <dgonzalezh@xxxxxxxxx>
>> >> >> wrote:
>> >> >> > Hey hope this opne is a "make senser".
>> >> >> >
>> >> >> > Has anyone tried the "Subject line" combo?, I've compiled a dozen
>> >> >> > src.rpm
>> >> >> > kern el 3.0 and 3.1 packages with no luck to try native upstream
>> >> >> > Dom0
>> >> >> > kernel
>> >> >>
>> >> >> > support with no success, just a kernel oops and constant reboots.
>> >> >>
>> >> >> I have compiled 3.0, 3.1 and 3.2 kernels for dom0 and domU for my
>> >> >> own patched kernels (add iscsitarget as module into it as example).
>> >> >> Tested with xen-4.1.3-rc1-pre.
>> >> >>
>> >> > Ok, I'm guessing that mus me one of my many mistakes when doing this,
>> >> > I
>> >> > haven't added the rite modules.
>> >> >
>> >> >>
>> >> >> >
>> >> >> > I followed Fedora's wiki on building a custom kernel, even used
>> >> >> > F16's >
>> >> >> > .config which also was a no-no. I'd like to try F16 which comes
>> >> >> > with
>> >> >> > 3.0 >
>> >> >> > out-of-the-box, but I've already set up my CentOS 6.2 pretty
>> >> >> > nicely
>> >> >> > to
>> >> >> > just "mkfs.ext3" on it, so if anyone has some _updated_ info (3rd
>> >> >> > quarter
>> >> >> > 2011 or 2012) that I can refer to, please advise.
>> >> >>
>> >> >> Although I don't use CentOS 6.  I use Scientific Linux 6 instead.
>> >> >> Don't use Fedora kernel .config as there are many debug options
>> >> >> enabled if I remember correctly.  Even I use RHEL6 .config for
>> >> >> 2.6.32.x pvops kernel for Jeremy's xen git tree will encounter
>> >> >> problems.  In short, you can use one of those .config then use make
>> >> >> menuconfig to disable power, cgroup, debug etc. options and start
>> >> >> from there as this is how I did.
>> >> >>
>> >> > Hmm, I tried that with rpmbuild -bb kernel.spec and as described on
>> >> > F16
>> >> > wiki, and disabled many many options and the kernel compiled aok and
>> >> > the
>> >> > installed fine but never booted, it kept rebooting.
>> >>
>> >> Just a question... is your xen installed from source or from rpm
>> >> package?
>> >
>> >
>> > It's from myoung Fedora repos it's rpm package, altho I built 4.1.2
>> > myself
>> > but it's not installed from those but froma repo.
>> >>
>> >>
>> >> >
>> >> > I'll try your suggestions and hope that it helps.
>> >>
>> >> If that doesn't, you can use mine instead of burning your time to make
>> >> it work ;)  Anyway, I think it is a good experience to make it work
>> >> from self compile and there are many things to learn from this
>> >> experience.
>> >
>> >
>> > Huh, self-compiled, I've done that a hundred times, but it's always a
>> > no-no,
>> > i'v compiled 2.6.32 to 2.6.40 also 3.0.x to 3.1.x  and no luck either,
>> > I've
>> > got a devel machine runiing also CentOS 6.0 with 4 cores and 2048MB uin
>> > RAM
>> > so itr takes not tyoo long but it's frustrating to reboot and get
>> > nothing.
>> >
>> > I'd like to try yours, do you happen to have a repo or some place to get
>> > your rpms?.
>>
>> The guide is at http://choon.net/forum/read.php?16,672307
>
>
> Well, followed it and  there seemed to be a problem when I downloaded and
> installed the kernel, I installed it with rpm -ivh choon...kernel...rpm and
> the system never came back up online.

Have you try the guide posted and boot into xen-kernel-2.6.32.56-0
first?  If that is successfully, then you can follow the guide to
create the v3.0 or v3.1 or v3.2 kernels repo then enable it and using
yum install choon-kernel to install?  Would appreciate feedback about
the failure or success ;)

>
> I-ll check and report as soon as I get to the DC tomorrow, I'll also check
> the howto again.

Thanks for it in advance.  Please let me know your network ethernet
information (lspci -vvv output and lsmod output) as I am afraid it may
be an issue.  Sometimes, if a board has two same onboard ethernet and
when you boot stock kernel you get the order of eth0 as HW ... 01 and
eth1 as HW ... 02 then when you boot into custom kernel you get the
order being switched.  I encountered it before and checked the udev
rules file to make sure (/etc/udev/rules.d/70-persistent-net.rules) is
correct.

>
> Many many thanks for taking the toime to put together that nice and useful
> info.

Those repos are there for years actually just that SL6/CentOS6 are
considered quite new in those repos.  I used the same repos when using
CentOS 5 as dom0 last time but cease it due to the time involved to
support those in CentOS 5.  I rather focus on SL6/CentOS6 :)  Just
beware that all my dom0 servers are SL6 based.

Feedbacks are greatly appreciated and if you need assistance off this
list are welcome (just compose another new mail direct to me so that I
know it is not from this xen-users list).

Thanks.

Kindest regards,
Giam Teck Choon

>>
>>
>> Thanks.
>>
>> Kindest regards,
>> Giam Teck Choon
>>
>>
>> >>
>> >>
>> >> >
>> >> > Thank you very much.
>> >>
>> >> Thanks.
>> >
>> >
>> > Again.
>> > --
>> > David Gonzalez H.
>> > Bogota: +(57-1)289-1168
>> > Medellin: +(57-1)247-0985
>> > Cel: +(57)315-838-8326
>> > DGHVoIP - OPEN SOURCE TELEPHONY SOLUTIONS
>> > http://www.dghvoip.com/
>> > Proud Linux User #294661
>
>
>
>
> --
> David Gonzalez H.
> Bogota: +(57-1)289-1168
> Medellin: +(57-1)247-0985
> Cel: +(57)315-838-8326
> DGHVoIP - OPEN SOURCE TELEPHONY SOLUTIONS
> http://www.dghvoip.com/
> Proud Linux User #294661

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.