All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerry Reno <greno@verizon.net>
To: xen-devel@lists.xensource.com
Subject: Re: Cannot load latest 2.6.32.10 kernel on AMD quad-core
Date: Fri, 23 Apr 2010 16:38:05 -0400	[thread overview]
Message-ID: <4BD2052D.6070607@verizon.net> (raw)
In-Reply-To: <318534.36421.qm@web56107.mail.re3.yahoo.com>

Boris Derzhavets wrote:
> I skipped first instruction ( before kernel build ):
>
> # aptitude install build-essential libncurses5-dev dpkg-dev debhelper 
> fakeroot
>
> Boris.
>
> --- On *Fri, 4/23/10, Boris Derzhavets /<bderzhavets@yahoo.com>/* wrote:
>
>
>     From: Boris Derzhavets <bderzhavets@yahoo.com>
>     Subject: Re: [Xen-devel] Cannot load latest 2.6.32.10 kernel on
>     AMD quad-core
>     To: xen-devel@lists.xensource.com, "Gerry Reno" <greno@verizon.net>
>     Date: Friday, April 23, 2010, 2:27 PM
>
>     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, what 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, compile and install:
>      
>      make menuconfig # Enabled the dom0 support and the Xen backend as
>     usual on U   9.10, F12
>
>      make -j2
>      chmod g-s /usr/src -R    
>      make 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/modules
>
>     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:
>
>      cd /usr/src
>      Uncompress xen-4.0.0.tar.gz
>      cd xen-4.0.0
>      make xen
>      make tools
>      make install-xen
>      make install-tools PYTHON_PREFIX_ARG=
>
>      update-rc.d xend defaults 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 above.
>     menuentry "Xen 4.0 / Ubuntu 10.4 RC kernel 2.6.32.10 pvops" {
>     insmod ext2
>     set root=(hd1,4)
>     multiboot (hd1,4)/xen.gz dummy=dummy
>     module (hd1,4)/vmlinuz-2.6.32.10 dummy=dummy root=/dev/sdb5 ro
>     console=tty0
>     module (hd1,4)/initrd.img-2.6.32.10
>
>     Quote 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: Friday, April 23, 2010, 1:50 PM
>
>         I previously had the pv_ops dom0 2.6.31.6 kernel built and
>         running on my hardware (amd phenom ii x4 quad-core) just fine
>         under karmic.  But that kernel had issues 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.  Once from the
>         config in the email Lucid pv_ops dom0 howto and once from the
>         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 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 [<ffffffff810f4f5f>] __free_pages+0x1f/0x90
>         ---[ end trace e93713a9d40cd06d ]---
>         Kernel panic - not syncing: Attempted to kill init!
>         Pid: 1, comm: swapper Tainted: G      D  W    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 domU.
>
>         Can anyone shed some light on what may be the problem here and
>         how I can build a working 2.6.32.10 pv_ops dom0 kernel for
>         this hardware? 
>
>         -Gerry
>
>
>
>
>     -----Inline Attachment Follows-----
>
>     _______________________________________________
>     Xen-devel mailing list
>     Xen-devel@lists.xensource.com
>     </mc/compose?to=Xen-devel@lists.xensource.com>
>     http://lists.xensource.com/xen-devel
>
>

Boris,
  Those are the exact steps that I used to build the kernel.  At the end 
of step 2, I try to boot the new kernel as domU just to make sure it 
works and this is where I get the stacktrace.  I did not have this 
problem building and running 2.6.31.6 as either domU or dom0.  And I 
think this may be related to this MB using AMD Phenom II Quad-Core.

-Gerry

  reply	other threads:[~2010-04-23 20:38 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23 17:50 Cannot load latest 2.6.32.10 kernel on AMD quad-core Gerry Reno
2010-04-23 18:27 ` Boris Derzhavets
2010-04-23 18:55   ` Boris Derzhavets
2010-04-23 20:38     ` Gerry Reno [this message]
2010-04-23 21:31       ` Boris Derzhavets
2010-04-24  6:12         ` Gerry Reno
2010-04-24  6:32           ` Gerry Reno
2010-04-24  7:34             ` Boris Derzhavets
2010-04-24 16:41               ` Gerry Reno
2010-04-24 17:30                 ` Boris Derzhavets
2010-04-24 17:37                 ` Boris Derzhavets
2010-04-24 17:41                 ` Boris Derzhavets
2010-04-24 18:07                   ` Gerry Reno
2010-04-24 18:18                     ` Boris Derzhavets
2010-04-24 22:24                       ` Gerry Reno
2010-04-25  6:44                         ` Pasi Kärkkäinen
2010-04-25 11:16                           ` Boris Derzhavets
2010-04-25 15:37                             ` Gerry Reno
2010-04-25 16:10                               ` Boris Derzhavets
2010-04-25 23:18                                 ` Mike Viau
2010-04-26  0:49                                   ` Gerry Reno
2010-04-26  2:10                                     ` Mike Viau
2010-04-26  2:18                                       ` Gerry Reno
2010-04-25 22:15                               ` Gerry Reno
2010-04-26  2:10                                 ` Gerry Reno
2010-04-26  4:12                                   ` Gerry Reno
2010-04-26 20:04                                     ` Pasi Kärkkäinen
2010-04-26 21:26                                       ` Gerry Reno
2010-04-26 21:52                                         ` Pasi Kärkkäinen
2010-04-26 23:36                                           ` Gerry Reno
2010-04-27  0:00                                             ` Gerry Reno
2010-04-27  2:48                                               ` Gerry Reno
2010-04-27  9:15                                                 ` Pasi Kärkkäinen
2010-04-27 17:35                                                   ` Gerry Reno
2010-04-29 13:54                                                     ` Gerry Reno
2010-04-29 14:41                                                       ` Mike Viau
2010-04-29 14:46                                                         ` Gerry Reno
2010-04-29 15:11                                                           ` Mike Viau
2010-04-29 16:50                                                             ` Gerry Reno
2010-04-25  6:53                         ` Gerry Reno
2010-04-25 10:22                           ` Pasi Kärkkäinen
2010-05-03 16:18 ` Konrad Rzeszutek Wilk
2010-05-03 17:18   ` Gerry Reno
2010-05-03 20:36     ` Konrad Rzeszutek Wilk
2010-05-03 21:23       ` Gerry Reno
2010-05-05  0:42         ` Gerry Reno
2010-05-05 17:54           ` AMD Phenom II 940: mm/vmalloc.c:110 vmap_page_range_noflush Konrad Rzeszutek Wilk
2010-05-06  3:18             ` Gerry Reno
2010-05-06  5:52               ` Pasi Kärkkäinen
2010-05-06 17:57                 ` Jeremy Fitzhardinge
2010-05-06 19:39                   ` Gerry Reno
2010-05-07  0:21                     ` Gerry Reno
2010-05-07  2:22                       ` Gerry Reno
2010-05-07  6:05                         ` Pasi Kärkkäinen
2010-05-07  6:21                           ` Boris Derzhavets
2010-05-07 16:44                             ` Gerry Reno
2010-05-07 21:53                               ` Gerry Reno
2010-05-08  7:20                                 ` Boris Derzhavets
2010-05-10 14:10                                 ` Konrad Rzeszutek Wilk
2010-05-10 16:03                                   ` Gerry Reno
2010-05-10 16:17                                     ` AMD Phenom II 940: Upgrade to 2.6.32.12 fixes it and upgrades CPU from 3.1Ghz to 1.2Thz! Konrad Rzeszutek Wilk
2010-05-10 16:40                                       ` Dan Magenheimer
2010-05-10 17:40                                         ` Gerry Reno
2010-05-10 17:56                                         ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BD2052D.6070607@verizon.net \
    --to=greno@verizon.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.