Mailing List Archive

Problem compile xen+DAC960
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@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Problem compile xen+DAC960 [ In reply to ]
On Fri, 10 Jun 2005, Torsten lehmann wrote:


Hello!

Problem has fixed.
More to it shortly on this channel.

regards tl

--
Torsten lehmann
Member of LauNOC


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