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-devel

[Xen-devel] patch_xen_iscsi_boot

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] patch_xen_iscsi_boot
From: Fabio Guarneri <fabioguarneri@xxxxxxxxx>
Date: Mon, 26 Apr 2010 14:11:04 -0300
Delivery-date: Tue, 04 May 2010 06:56:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=xJtRQ/m9nrgal3jfgMlGZYOTnF3oeAOVGjnYwEwBgDc=; b=wetNG5KFC+dWAxteEgkfvunDAmpx8ydHNjFTitJGAOWb6edrXkjwZlEmQncvKYJBr0 eaJymL32zgkl72wHg5IJfMJ6kJzttmfMUU89xcNpez4u0w6DcqFg3tTC1Kf2JBPrQ2Y7 Eri3iSg3VohPt1vwLDD9uLxG/1AmO79btWMUM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q71ts/odhDXpvHy/fkmmB6AuXC030iDNgwQgqBn2KNY5x6xCUoTOOVlEVh0GkI3Gha OXM1Y15xm2/F7ZriAmHsaL7lpdsqjB1GvFfFxvoFQ5g9/eVxi3BmzpOSVOMY2JGKNg8F hhZJlVDXTerwtcqwF6jqc889FwrVDyto1TCSU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User root@localhost
# Date 1272301415 10800
# Node ID 133f4b8da2bdfc7b5c8858cf2658db5f152bc50d
# Parent  c87ec146229ab2255ecdf005b862b943b1a5112e
This patch is intended to fix the problem of freezing in an attempt to complete the boot through the iSCSI protocol, especially with network cards BROADCOM.
These boards use the option ROM feature to implement the TCP/IP stack protocol, and the iSCSI software initiator.
The memory address normally used by the PMM is 0x87000 which conflicts with the memory allocation for kernel's(dom0) trampoline routine, currently 0x8c000 or 0x88000 (for 4.1 unstable).
Applying the patches, the memory allocation is skewed towards 0x7c000, avoiding conflicts and allowing the normal operation of the system.

Signed-off-by: Fabio Guarneri  fabioguarneri@xxxxxxxxx

diff -r c87ec146229a -r 133f4b8da2bd xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Fri Apr 23 15:04:26 2010 +0100
+++ b/xen/include/asm-x86/config.h      Mon Apr 26 14:03:35 2010 -0300
@@ -95,7 +95,7 @@
 /* Primary stack is restricted to 8kB by guard pages. */
 #define PRIMARY_STACK_SIZE 8192
 
-#define BOOT_TRAMPOLINE 0x88000
+#define BOOT_TRAMPOLINE 0x7c000
 #define bootsym_phys(sym)                                 \
     (((unsigned long)&(sym)-(unsigned long)&trampoline_start)+BOOT_TRAMPOLINE)
 #define bootsym(sym)             


Attachment: patch_xen_iscsi_boot
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>