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

Re: [Xen-devel] no "ata" sub-folder in linux-2.6.18-xen.hg/driver

To: "Konrad Rzeszutek" <konrad@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] no "ata" sub-folder in linux-2.6.18-xen.hg/driver
From: "顾振宇" <jeff.zy.gu@xxxxxxxxx>
Date: Fri, 3 Oct 2008 09:46:44 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 02 Oct 2008 18:47:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=DPw639eTZNRsLnw4t/XLygr+E+mzD21xktzS92JFglE=; b=Ru46XVHhgWvdh8HbHesl3WWhkJI9fk6qWFsqv6Nm8xdIRRIMLRFgy+EjKmidSpDiGB vt8QzJj2YYnSAuKfhedf0MVW5DzYKwb+9Oc5TARE6OxxHR9uCKF3GXBsyntgYfxpUVr6 EKuFEg38sf3QDatz7fs6so3vnvMWi69hMD5N0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=tZjGRUFdCq4FdhbCc6hJCJ/34RG26RCrr6VIKa5e0bl6Pxopt4G2GjZkau4BKL6WoG kDsb6AJXJP1b6JrddRD4AoaDW2zBi1hvzDD6IF4pvNk8weyDJzuxUWk5pMY2GM7eFD7z w+usGEj38WdqHHrwE4vQJ520wRz7u+3EwOQb0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081002125132.GB30045@xxxxxxxxxxxxxxxxxxxx>
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>
References: <5965c2fb0810012203s7f809744j3bd15a85d7c7bf3@xxxxxxxxxxxxxx> <20081002125132.GB30045@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I downloaded the corresponding kernel source code of RHEL5.2.

The srpm is kernel-2.6.18-92.el5.src.rpm
After extracting, the source of the kernel is in "usr/src/redhat/build/kernel-2.6.18/linux-2.6.18.i386".
( I can generate a runnable kernel for RHEL5.2 from this source code directory )

I dumped it in the linux-2.6.18-xen.hg directory, and removed the rule ".valid-src" in $(XEN_ROOT)/buildconfigs/src.hg-clone.
But it didn't work.

Can you give a more detailed explaination?

====================
$cd $(XEN_ROOT)
$cd linux-2.6.18-xen.hg
$make mrproper
$cd ..
$make dist
...
make -C /root/build/xen2/xen-3.3.0/linux-2.6.18-xen.hg O=/root/build/xen2/xen-3.3.0/build-linux-2.6.18-xen_x86_32 vmlinuz
make[5]: *** No rule to make target `vmlinuz', Stop.
...

 

After extracting, the source code of linux is in the directory "
2008/10/2 Konrad Rzeszutek <konrad@xxxxxxxxxxxxxxx>
On Thu, Oct 02, 2008 at 01:03:33PM +0800, 顾振宇 wrote:
> Hi all,
>
> When I make the ram disk for xen-3.3.0, I encounter a problem.
> $mkinitrd -v -f initrd-2.6.18.8-xen.img 2.6.18-xen
> ...
> No module pata_marvell found for kernel 2.6.18.8-xen, aborting.

It looks as if that is a RHEL5 base version of a kernel that did
not have the full complement of back-port SATA drivers.

I would suggest you just get the SRPM RPM of the RHEL5 U2, extract
it and dump it in the linux-2.6.18-xen.hg directory. Thought that
is a bit of a naive way of doing it and it might work.

>
> Compared part of source code between linux-2.6.18-xen.hg/driver/* and
> linux-2.6.18/driver/*(from kernel.org),
> I found that linux-2.6.18-xen.hg/driver/ata doesn't exist.
> ( some source code of module pata_marvell should be in
> /linux-2.6.18-xen.hg/driver/ata/pata_marvell.c )
>
> Did any one encount this problem? Is it a bug in  linux-2.6.18-xen.hg?  Any

No bug. Just an old version of RHEL5 there.
> solution?
>
> Thanks,
> Jeff.Gu

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


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