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

[Xen-users] How do I upgrade from 2.6.18 to 2.6.18-4?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How do I upgrade from 2.6.18 to 2.6.18-4?
From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
Date: Thu, 14 Jun 2007 12:25:27 +0200
Delivery-date: Thu, 14 Jun 2007 03:24:17 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Mpf7SrsntWi4EkqxNQTJVdCdg5hqoxk1Tph1fsuhtSeEq18oCQke0OHpIAH884lCozW1qZvChUBEeOOyQmEdqAaBXszROGR0qwD2DD4/eXBcbsmgspzTVl+KwqYkIukU6FAzXWKvAiljibAHSAzPUBDOYxTrLQNvLRmOrI7uMRg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rDMwvUk1ZAPB7e9JnjGVGiK538DFtTGd6jqOATFj9mEeSbdhhOxgCqWeANv/rzPC5/Bn4zRkm3ZMnL81DnhqjhyK8QWfU+FJZ31qfqo2hx/A5Osn8wDiAlZbEGNG8xa0DCR9aw99dnBWYu1vHzGmLl0QNvc7e/nwKlQfJHhOaUQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

How do I upgrade from 2.6.18 to 2.6.18-4?

I have tried this
download http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.18.4.bz2

cd /usr/src/xen-3.1.0-src/linux-2.6.18-xen
patch -p1 < patch-2.6.18.4

This gave me two hunk errors.
1. patching file Makefile
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 895 (offset 1 line).
Hunk #3 succeeded at 1080 (offset 1 line).
1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej

more Makefile.rej
***************
*** 1,7 ****
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 18
- EXTRAVERSION =
 NAME=Avast! A bilge rat!

 # *DOCUMENTATION*
--- 1,7 ----
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 18
+ EXTRAVERSION = .4
 NAME=Avast! A bilge rat!

 # *DOCUMENTATION*

2. patching file net/core/skbuff.c
Hunk #1 succeeded at 643 (offset 5 lines).
Hunk #2 FAILED at 1951.
Hunk #3 FAILED at 1962.
2 out of 3 hunks FAILED -- saving rejects to file net/core/skbuff.c.rej

more net/core/skbuff.c.rej
*************** struct sk_buff *skb_segment(struct sk_bu
*** 1950,1956 ****
       do {
               struct sk_buff *nskb;
               skb_frag_t *frag;
-               int hsize, nsize;
               int k;
               int size;

--- 1951,1957 ----
       do {
               struct sk_buff *nskb;
               skb_frag_t *frag;
+               int hsize;
               int k;
               int size;

*************** struct sk_buff *skb_segment(struct sk_bu
*** 1961,1971 ****
               hsize = skb_headlen(skb) - offset;
               if (hsize < 0)
                       hsize = 0;
-               nsize = hsize + doffset;
-               if (nsize > len + doffset || !sg)
-                       nsize = len + doffset;

-               nskb = alloc_skb(nsize + headroom, GFP_ATOMIC);
               if (unlikely(!nskb))
                       goto err;

--- 1962,1971 ----
               hsize = skb_headlen(skb) - offset;
               if (hsize < 0)
                       hsize = 0;
+               if (hsize > len || !sg)
+                       hsize = len;

+               nskb = alloc_skb(hsize + doffset + headroom, GFP_ATOMIC);
               if (unlikely(!nskb))
                       goto err;



then I proceeded anyway
make KERNELS="linux-2.6-xen" dist
and installed it with ./install.sh

I followed that with
cd /boot
mkinitramfs -o initrd.img-xen.3.1.0 2.6.18-xen
depmod  2.6.18-xen

Now on reboot the modules aren't loading complaining about unknown symbols, etc.
So I've done something (or somethings) wrong.

What is the correct proceedure?

Thanks.
Chris.

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

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