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] Problem compile xen+DAC960

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem compile xen+DAC960
From: Torsten lehmann <tlehmann@xxxxxxxxxxxxx>
Date: Fri, 10 Jun 2005 13:50:49 +0200 (CEST)
Delivery-date: Sun, 12 Jun 2005 11:35:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Hello!

I have a system with Raid-Controller Mylex (DAC960).
Linux 2.6.11.8 #1 SMP is running.

Now i want to install Xen-2.0-src,
but CONFIG_BLK_DEV_DAC960 is deleted after running "make ARCH=xen ...."
(Details s. prob_config_DAC)

Questions:
- How can I fixed prob_config_DAC?
- How can I find a usable compile-instructions for different hardware?
- How can I patch linux-kernel correctly? (patch or copy) Which is the
  best one?


Regards Torsten

PS: If you want: I can sent the hole documents:

$ wc -l *xen*
    331 050607.kernel-2.6-xen
     53 050609.kernel-2.6-xen_iron
    384 total



----%<----Auszug 050607.kernel-2.6-xen-----
050607.kernel-2.6-xen
- zu 050607.kernel-2.4-2.6

http://www.cl.cam.ac.uk/Research/SRG/netos/xen Homepage
http://wiki.blitzed.org/User:grifferz/Xen  Doc Building on Debian
- sehr ausfuehrlich
http://stacktrace.org/Members/ironstorm Building a Xen Kernel the Debian
way
- s. 050609.kernel-2.6-xen_iron
- defekt
http://www.cs.utah.edu/~sgoyal/xen/install.html
- not usable

#### Variablen
URLxen="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads";
VERxen="2.0.6"          ## (zu 2.6)
VERlin=`uname -r`       ## 2.6.11.8

#### ---------------------------------------------------------------------
- Test_install_xen-src
- prob_kernel_make_no_xen_Makefile

# tar -xjf /usr/src/linux-2.6.11.8.tar.bz2
# cd linux-2.6.11.8
# cp /usr/src/linux/.config .
# grep DAC .config
CONFIG_BLK_DEV_DAC960=y
# make ARCH=xen menuconfig
Makefile:448: /tmp/linux-2.6.11.8/arch/xen/Makefile: No such file or
directory
make: *** No rule to make target `/tmp/linux-2.6.11.8/arch/xen/Makefile'.
Stop.

  -> xen-Kernelpatch fehlt

## ------------------------------------------------------------------------
- Test_patch_linux-2.6.11-xen-sparse

# tar -xzvf xen-2.0.6-src.tgz
#  cd xen-2.0
## copy xen-Kernelpatch
# ls -la  linux-2.6.11-xen-sparse
# cp -a xen-2.0/linux-2.6.11-xen-sparse/. linux
# cd linux
# make ARCH=xen menuconfig

lola:/usr/src/linux# ls -al .config*
-rw-r--r--  1 root root 12306 Jun  9 14:03 .config
-rw-r--r--  1 root root  4957 Jun  9 14:03 .config.cmd
-rw-r--r--  1 root root 28948 Jun  7 15:25 .config.old
lola:/usr/src/linux# grep DAC .config*
.config.old:CONFIG_BLK_DEV_DAC960=y

  - s. prob_config_DAC
  - s. prob_no_xen-public

  ->  - Patch fehlerhaft
## ------------------------------------------------------------------------
- prob_no_xen-public
  - zu Test_patch_linux-2.6.11-xen-sparse

linux-2.6.11.8# make ARCH=xen
...
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm/thread_info.h:14,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/page.h:18:36: asm-xen/xen-public/xen.h: No such file
or directory
...
arch/i386/kernel/asm-offsets.c: In function `foo':
arch/i386/kernel/asm-offsets.c:65: error: `HYPERVISOR_VIRT_START'
undeclared (first use in this function)
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2

  - Patch in Test_patch_linux-2.6.11-xen-sparse fehlerhaft
  - s.a. 050609.kernel-2.6-xen_iron:prob_make_no_xen-public
## ------------------------------------------------------------------------
- prob_config_DAC

  - Problem: einige Einstellunng (DAC960) sind nach "make ARCH=xen ..."
weg.

linux-2.6.11-xen0# cp /usr/src/linux/.config .
linux-2.6.11-xen0# grep DAC .config
CONFIG_BLK_DEV_DAC960=y
linux-2.6.11-xen0# make ARCH=xen oldconfig
linux-2.6.11-xen0# grep DAC .config
linux-2.6.11-xen0#
  - Einstellung ist weg...
  -> damit kann niemals der Kernel mit DAC960 erzeugt werden

-----%<-----



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem compile xen+DAC960, Torsten lehmann <=