All of lore.kernel.org
 help / color / mirror / Atom feed
* no "ata" sub-folder in linux-2.6.18-xen.hg/driver
@ 2008-10-02  5:03 顾振宇
  2008-10-02 12:51 ` Konrad Rzeszutek
  0 siblings, 1 reply; 5+ messages in thread
From: 顾振宇 @ 2008-10-02  5:03 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 569 bytes --]

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.

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
solution?

Thanks,
Jeff.Gu

[-- Attachment #1.2: Type: text/html, Size: 694 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no "ata" sub-folder in linux-2.6.18-xen.hg/driver
  2008-10-02  5:03 no "ata" sub-folder in linux-2.6.18-xen.hg/driver 顾振宇
@ 2008-10-02 12:51 ` Konrad Rzeszutek
  2008-10-02 16:58   ` 顾振宇
  2008-10-03  1:46   ` 顾振宇
  0 siblings, 2 replies; 5+ messages in thread
From: Konrad Rzeszutek @ 2008-10-02 12:51 UTC (permalink / raw)
  To: 顾振宇; +Cc: xen-devel

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@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no "ata" sub-folder in linux-2.6.18-xen.hg/driver
  2008-10-02 12:51 ` Konrad Rzeszutek
@ 2008-10-02 16:58   ` 顾振宇
  2008-10-02 17:44     ` Konrad Rzeszutek
  2008-10-03  1:46   ` 顾振宇
  1 sibling, 1 reply; 5+ messages in thread
From: 顾振宇 @ 2008-10-02 16:58 UTC (permalink / raw)
  To: Konrad Rzeszutek; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1444 bytes --]

Yes, my current OS is CentOS 5.2 which should be categorized to RHEL5.

What is the mean of U2?

Can you give me the link address of the SRPM?

Thanks,
Jeff.Gu

2008/10/2 Konrad Rzeszutek <konrad@virtualiron.com>

> 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@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>

[-- Attachment #1.2: Type: text/html, Size: 2165 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no "ata" sub-folder in linux-2.6.18-xen.hg/driver
  2008-10-02 16:58   ` 顾振宇
@ 2008-10-02 17:44     ` Konrad Rzeszutek
  0 siblings, 0 replies; 5+ messages in thread
From: Konrad Rzeszutek @ 2008-10-02 17:44 UTC (permalink / raw)
  To: 顾振宇; +Cc: xen-devel

On Fri, Oct 03, 2008 at 12:58:19AM +0800, 顾振宇 wrote:
> Yes, my current OS is CentOS 5.2 which should be categorized to RHEL5.
> 
> What is the mean of U2?

RHEL5 Update 2. Or you can use CentOS 5.2 SRPM - they are the same ones.
> 
> Can you give me the link address of the SRPM?

www.rpmfind.net

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no "ata" sub-folder in linux-2.6.18-xen.hg/driver
  2008-10-02 12:51 ` Konrad Rzeszutek
  2008-10-02 16:58   ` 顾振宇
@ 2008-10-03  1:46   ` 顾振宇
  1 sibling, 0 replies; 5+ messages in thread
From: 顾振宇 @ 2008-10-03  1:46 UTC (permalink / raw)
  To: Konrad Rzeszutek; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2110 bytes --]

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@virtualiron.com>

> 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@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>

[-- Attachment #1.2: Type: text/html, Size: 2876 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-03  1:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02  5:03 no "ata" sub-folder in linux-2.6.18-xen.hg/driver 顾振宇
2008-10-02 12:51 ` Konrad Rzeszutek
2008-10-02 16:58   ` 顾振宇
2008-10-02 17:44     ` Konrad Rzeszutek
2008-10-03  1:46   ` 顾振宇

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.