Mailing List Archive

[Need Help] Problem with compilation xen-2.0-testing
Hi,

I have a problem with compilation my own kernel with the xen-2.0-testing
package. I use this packadge because there are drivers for the nforce2
nic called fordedeth.

I do the following:

wget xen-2.0-testing-src.tgz
tar xvfz xen-2.0-testing-src.tgz
cd xen-2.0-testing
make world
( The first compilation show now errors and build all kernels. )
cd linux-2.6.11-xen0
make clean
make ARCH=xen menuconfig
( Now I do only this changes )
X86 Processor Configuration -> Prozessor family -> ( Athlon / Duron / K7 )
Device Drivers -> Networking Support -> Ehternet (10 or 100Mbit) <*>
Reverse Engineered nforce Ethernet support ( EXPERIMENTAL)
The other driver e.g. Intel, Realtek, which enabeled by default did I
had disabled.
Now exit and save the new configuration.
In the directory linux-2.6.11-xen0 I start the building with make ARCH=xen
The Prozess start and stop every time on the same position like
--------------------------------------------------------------
.
.
.
CC net/ipv4/netfilter/ip_nat_ftp.mod.o
LD [M] net/ipv4/netfilter/ip_nat_ftp.ko
CC net/ipv4/netfilter/ip_tables.mod.o
LD [M] net/ipv4/netfilter/ip_tables.ko
CC net/ipv4/netfilter/ipt_MASQUERADE.mod.o
LD [M] net/ipv4/netfilter/ipt_MASQUERADE.ko
CC net/ipv4/netfilter/ipt_REJECT.mod.o
LD [M] net/ipv4/netfilter/ipt_REJECT.ko
CC net/ipv4/netfilter/ipt_iprange.mod.o
LD [M] net/ipv4/netfilter/ipt_iprange.ko
CC net/ipv4/netfilter/iptable_filter.mod.o
LD [M] net/ipv4/netfilter/iptable_filter.ko
CC net/ipv4/netfilter/iptable_nat.mod.o
LD [M] net/ipv4/netfilter/iptable_nat.ko
linux:/usr/src/xen/xen-2.0-testing/linux-2.6.11-xen0 #
-------------------------------------------------------------------------

In the directory /dist/install/boot there aren't build new kernels.

Is this a bug ? Or did I made something wrong ?

Best regards ...



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: [Need Help] Problem with compilation xen-2.0-testing [ In reply to ]
Your build looks fine.

> In the directory /dist/install/boot there aren't build new kernels.
>
> Is this a bug ? Or did I made something wrong ?

Stuff only gets put in dist/install/boot by the top level makefiles. If you
do a make in the Linux tree itself, the kernel will appear as "vmlinux" at
the top of that tree. If you use that, things should be fine.

Cheers,
Mark

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

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: [Need Help] Problem with compilation xen-2.0-testing [ In reply to ]
> ##########################
>
> title Xen 2.0 / XenLinux 2.6
> kernel (hd0,1)/boot/xen/vmlinuz root=/dev/hdc2 dom0_mem=256000 console=v
> module (hd0,1)/boot/xen/vmlinuz-2.6-xen0 root=/dev/hdc2 ro console=tty0
>
> ###########################
>
> Normally I can also use the vmlinuz, which is compressed kernel...., can I
> ?

The "kernel" line should give the path to xen.gz, the "module" line should be
the path to the Linux kernel you want to boot on top of Xen for domain 0.

Cheers,
Mark

>
>
> files
>
> ###########################
>
> linux:/boot/xen # file ./vmlinuz
> ./vmlinuz: gzip compressed data, from Unix, max compression
>
> linux:/boot/xen # file ./vmlinux
> ./vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> staticallylinked, not strippe
>
> ###########################
>
> Maybe I can change the standard config of the xen-2.0.testing before I
> start the prozess with "make world".
> But where I can find these settings ?
>
>
> Best regards
>
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: [Need Help] Problem with compilation xen-2.0-testing [ In reply to ]
Your build looks fine.

> In the directory /dist/install/boot there aren't build new kernels.
>
> Is this a bug ? Or did I made something wrong ?

Stuff only gets put in dist/install/boot by the top level makefiles. If
you
do a make in the Linux tree itself, the kernel will appear as "vmlinux" at
the top of that tree. If you use that, things should be fine.

Cheers,
Mark

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

Ok, thanks for help.

Now I have the next problem. :o)
If I try to boot my system with the new kernel, GRUB show me this error:

" 13 : Invalid or unsupported executable format "


menu.lst

##########################

title Xen 2.0 / XenLinux 2.6
kernel (hd0,1)/boot/xen/vmlinuz root=/dev/hdc2 dom0_mem=256000 console=v
module (hd0,1)/boot/xen/vmlinuz-2.6-xen0 root=/dev/hdc2 ro console=tty0

###########################

Normally I can also use the vmlinuz, which is compressed kernel...., can I ?


files

###########################

linux:/boot/xen # file ./vmlinuz
./vmlinuz: gzip compressed data, from Unix, max compression

linux:/boot/xen # file ./vmlinux
./vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
staticallylinked, not strippe

###########################

Maybe I can change the standard config of the xen-2.0.testing before I
start the prozess with "make world".
But where I can find these settings ?


Best regards






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