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

[Xen-devel] patch_xen_iscsi_boot

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Fabio Guarneri <fabioguarneri@xxxxxxxxx>
  • Date: Mon, 26 Apr 2010 14:11:04 -0300
  • Delivery-date: Tue, 04 May 2010 06:56:10 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

# 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



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