From: Boris Derzhavets Subject: Re: Cannot load latest 2.6.32.10 kernel on AMD quad-core Date: Fri, 23 Apr 2010 11:27:56 -0700 (PDT) Message-ID: <487309.19195.qm@web56107.mail.re3.yahoo.com> References: <4BD1DDF0.2050503@verizon.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0413391771==" Return-path: In-Reply-To: <4BD1DDF0.2050503@verizon.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Gerry Reno List-Id: xen-devel@lists.xenproject.org --===============0413391771== Content-Type: multipart/alternative; boundary="0-1584247756-1272047276=:19195" --0-1584247756-1272047276=:19195 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I've just was able to reproduce=A0 Thiago's=A0 instruction on Lucid RC for = Xen 4.0 & 2.6.32.10 pvops kernel ( C2D E8400 , ASUS P5Q-E, 8 GB RAM) . ACPI= Processor has been disabled, what is particular MB issue Quote :- 1.Clone JF's Git Repo: =A0cd /usr/src =A0git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git l= inux-2.6-xen =A0cd linux-2.6-xen =A0git checkout -b xen/stable origin/xen/stable 2. Configure, compile and install: =A0 =A0make menuconfig # Enabled the dom0 support and the Xen backend as usual = on U=A0=A0 9.10, F12 =A0make -j2 =A0chmod g-s /usr/src -R=A0=A0=A0=A0=20 =A0make deb-pkg =A0dpkg -i ../linux-image*2.6.32.10*.deb =A0depmod 2.6.32.10 =A0update-initramfs -c -k 2.6.32.10 =A0update-grub =A0echo "xen-evtchn" >> /etc/modules 3- Download and install the latest Xen: =A0Preparing your environment: =A0apt-get build-dep xen-3.3 =A0aptitude install uuid-dev iasl texinfo =A0Download and compile: =A0cd /usr/src =A0Uncompress xen-4.0.0.tar.gz =A0cd xen-4.0.0 =A0make xen =A0make tools =A0make install-xen =A0make install-tools PYTHON_PREFIX_ARG=3D =A0update-rc.d xend defaults 20 21 =A0update-rc.d xendomains defaults 21 20 4. Add to /boot/grub/grub.cfg # This file provides an easy way to add custom menu entries.=A0 Simply type= the # menu entries you want to add after this comment.=A0 Be careful not to cha= nge # the 'exec tail' line above. menuentry "Xen 4.0 / Ubuntu 10.4 RC kernel 2.6.32.10 pvops" { insmod ext2 set root=3D(hd1,4) multiboot (hd1,4)/xen.gz dummy=3Ddummy module (hd1,4)/vmlinuz-2.6.32.10 dummy=3Ddummy root=3D/dev/sdb5 ro console= =3Dtty0 module (hd1,4)/initrd.img-2.6.32.10 Quote ends. --- On Fri, 4/23/10, Gerry Reno wrote: From: Gerry Reno Subject: [Xen-devel] Cannot load latest 2.6.32.10 kernel on AMD quad-core To: xen-devel@lists.xensource.com Date: Friday, April 23, 2010, 1:50 PM I previously had the pv_ops dom0 2.6.31.6 kernel built and running on my ha= rdware (amd phenom ii x4 quad-core) just fine under karmic.=A0 But that ker= nel had issues with rxchecksumming.=A0 So I upgraded the server to lucid an= d am now trying to compile a new pv_ops dom0 kernel for it. Now, yesterday I carefully built the latest 2.6.32.10(xen/stable) pv_ops do= m0 kernel twice.=A0 Once from the config in the email Lucid pv_ops dom0 how= to and once from the lucid server config modified by adding all the XEN con= figurations.=A0 I get the same result both ways.=A0 After building the kern= el, I try to start the pv_ops dom0 kernel as domU just to make sure it runs= and it crashes right at the start of boot complaining like this: __vmallic_node+0xa2/0xb0 ? alloc_large_system_hash+0x15/0x21 ? inet_init+0x0/0x209 __vmalloc+0x22/0x30 alloc_large_system_hash+0x15/0x21a ? inet_init+0x0/0x209 ? inet_init+0x0/0x209 tcp_init+0xa3//0x37e inet_init+0x14b/0x209 do_one_initcall+0x3c/0x10a kernel_init+0x159/0x1af child_rip+0xa/0x20 Code: d0 49 8b 04 24 48 85 c0 75 ec eb c5 55 48 89 e5 48 8.... 9 5d e8 4c 89 65 f0 4c 89 6d f8 0f 1f 44 00 00 48 89 e5 48 8.... RIP [] __free_pages+0x1f/0x90 ---[ end trace e93713a9d40cd06d ]--- Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: swapper Tainted: G=A0 =A0 =A0 D=A0 W=A0 =A0 2.6.32.10 #4 panic+0x78/0x136 ? mm_release+0x60/0x130 do_exit+0x6ca/0x7f0 oops_end+0xaf/0xf0 die+0x5b/0x90 do_general_protection+0x152/0x160 general_protection+0x25/0x30 ? __free_pages+0x1f/0x90 __vunmap+0x7a/0x110 vfree+0x2a/0x30 __vmalloc_area_node+0x15c/0x190 ? alloc_large_system_hash+0x15a/0x21a __vmalloc_node+0xa2/0xb0 ? alloc_large_system_hash+0x15a/0x21a ? inet_init+0x0/0x209 ? inet_init+0x0/0x209 tcp_init+0xa3//0x37e inet_init+0x14b/0x209 do_one_initcall+0x3c/0x10a kernel_init+0x159/0x1af child_rip+0xa/0x20 ? kernel_init+0x10/0x1af ? child_rip+0x0/0x20 I fired up the old 2.6.31.6 kernel with lucid and it boots just fine as dom= U. Can anyone shed some light on what may be the problem here and how I can bu= ild a working 2.6.32.10 pv_ops dom0 kernel for this hardware?=A0=20 -Gerry _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1584247756-1272047276=:19195 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I've just was able to reproduce  Thiago'= s  instruction on Lucid RC for Xen 4.0 & 2.6.32.10 pvops kernel ( = C2D E8400 , ASUS P5Q-E, 8 GB RAM) . ACPI Processor
has been disabled, wh= at is particular MB issue

Quote :-

1.Clone JF's Git Repo:
=
 cd /usr/src
 git clone git://git.kernel.org/pub/scm/linux= /kernel/git/jeremy/xen.git linux-2.6-xen
 cd linux-2.6-xen
 = ;git checkout -b xen/stable origin/xen/stable


2. Configure, comp= ile and install:
 
 make menuconfig # Enabled the dom0 supp= ort and the Xen backend as usual on U   9.10, F12

 ma= ke -j2
 chmod g-s /usr/src -R    
 mak= e deb-pkg
 dpkg -i ../linux-image*2.6.32.10*.deb
 depmod 2.= 6.32.10
 update-initramfs -c -k 2.6.32.10
 update-grub
 echo "xen-evtchn" >> /etc/mo= dules

3- Download and install the latest Xen:

 Preparing= your environment:

 apt-get build-dep xen-3.3
 aptitude= install uuid-dev iasl texinfo

 Download and compile:

&n= bsp;cd /usr/src
 Uncompress xen-4.0.0.tar.gz
 cd xen-4.0.0<= br> make xen
 make tools
 make install-xen
 ma= ke install-tools PYTHON_PREFIX_ARG=3D

 update-rc.d xend default= s 20 21
 update-rc.d xendomains defaults 21 20


4. Add to= /boot/grub/grub.cfg

# This file provides an easy way to add custom = menu entries.  Simply type the
# menu entries you want to add after= this comment.  Be careful not to change
# the 'exec tail' line abo= ve.
menuentry "Xen 4.0 / Ubuntu 10.4 RC kernel 2.6.32.10 pvops" {
ins= mod ext2
set root=3D(hd1,4)
multiboot (hd1,4)/xen.gz dummy=3Ddummy
module (hd1,4)/vmlinuz-2.6.32.10 dummy=3Ddummy root=3D/de= v/sdb5 ro console=3Dtty0
module (hd1,4)/initrd.img-2.6.32.10

Quot= e ends.


--- On Fri, 4/23/10, Gerry Reno <greno@verizon.= net> wrote:

From: Gerry Reno <= ;greno@verizon.net>
Subject: [Xen-devel] Cannot load latest 2.6.32.10= kernel on AMD quad-core
To: xen-devel@lists.xensource.com
Date: Frid= ay, April 23, 2010, 1:50 PM

I previously ha= d the pv_ops dom0 2.6.31.6 kernel built and running on my hardware (amd phe= nom ii x4 quad-core) just fine under karmic.  But that kernel had issu= es with rxchecksumming.  So I upgraded the server to lucid and am now = trying to compile a new pv_ops dom0 kernel for it.

Now, yesterday I = carefully built the latest 2.6.32.10(xen/stable) pv_ops dom0 kernel twice.&= nbsp; Once from the config in the email Lucid pv_ops dom0 howto and once from th= e lucid server config modified by adding all the XEN configurations.  = I get the same result both ways.  After building the kernel, I try to = start the pv_ops dom0 kernel as domU just to make sure it runs and it crash= es right at the start of boot complaining like this:

__vmallic_node+= 0xa2/0xb0
? alloc_large_system_hash+0x15/0x21
? inet_init+0x0/0x209__vmalloc+0x22/0x30
alloc_large_system_hash+0x15/0x21a
? inet_init+= 0x0/0x209
? inet_init+0x0/0x209
tcp_init+0xa3//0x37e
inet_init+0x1= 4b/0x209
do_one_initcall+0x3c/0x10a
kernel_init+0x159/0x1af
child_= rip+0xa/0x20
Code: d0 49 8b 04 24 48 85 c0 75 ec eb c5 55 48 89 e5 48 8.= ...
9 5d e8 4c 89 65 f0 4c 89 6d f8 0f 1f 44 00 00 48 89 e5 48 8....
= RIP [<ffffffff810f4f5f>] __free_pages+0x1f/0x90
---[ end trace e93= 713a9d40cd06d ]---
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G      D  W&nb= sp;   2.6.32.10 #4
panic+0x78/0x136
? mm_release+0x60/0x130
d= o_exit+0x6ca/0x7f0
oops_end+0xaf/0xf0
die+0x5b/0x90
do_general_pro= tection+0x152/0x160
general_protection+0x25/0x30
? __free_pages+0x1f/= 0x90
__vunmap+0x7a/0x110
vfree+0x2a/0x30
__vmalloc_area_node+0x15c= /0x190
? alloc_large_system_hash+0x15a/0x21a
__vmalloc_node+0xa2/0xb0=
? alloc_large_system_hash+0x15a/0x21a
? inet_init+0x0/0x209
? ine= t_init+0x0/0x209
tcp_init+0xa3//0x37e
inet_init+0x14b/0x209
do_one= _initcall+0x3c/0x10a
kernel_init+0x159/0x1af
child_rip+0xa/0x20
? = kernel_init+0x10/0x1af
? child_rip+0x0/0x20

I fired up the old 2.= 6.31.6 kernel with lucid and it boots just fine as domU.

Can anyone = shed some light on what may be the problem here and how I can build a worki= ng 2.6.32.10 pv_ops dom0 kernel for this hardware? 

-Gerry

_______________________________________________
X= en-devel mailing list
Xen-devel@lists.x= ensource.com
http://lists.xensource.com/xen-devel
=

=0A=0A --0-1584247756-1272047276=:19195-- --===============0413391771== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0413391771==--