2005-10-03 09:22:15

by vikas gupta

[permalink] [raw]
Subject: 2.6.13-rc6-xx-all.diff is not working for 2.6.13 arm kernel

hi ben ,

I tried to apply 2.6.13-rc6-B0/B1-all.diff to
linux-2.6.13 kernel with arm support patches . It's
getting applied cleanly...
but while building the kernel i am getting some build
errors ...
i traced the problem and get that this error are
coming because of some machine specific files.
1)arch/i386/kernel/semaphore.c
2)include/asm-i386/seamphore.h

So can you please tell me that whather any patch is
available, in order to support these implementation on
arm platform.

Or any development is going on in this direction


Thanks in advance

Vikas






__________________________________________________________
Yahoo! India Matrimony: Find your partner online. Go to http://yahoo.shaadi.com


2005-10-03 09:29:35

by Denis Vlasenko

[permalink] [raw]
Subject: Re: 2.6.13-rc6-xx-all.diff is not working for 2.6.13 arm kernel

On Monday 03 October 2005 12:22, vikas gupta wrote:
> hi ben ,
>
> I tried to apply 2.6.13-rc6-B0/B1-all.diff to
> linux-2.6.13 kernel with arm support patches . It's
> getting applied cleanly...
> but while building the kernel i am getting some build
> errors ...
> i traced the problem and get that this error are
> coming because of some machine specific files.
> 1)arch/i386/kernel/semaphore.c
> 2)include/asm-i386/seamphore.h
>
> So can you please tell me that whather any patch is
> available, in order to support these implementation on
> arm platform.

How nice that you did not show the actual error message
and did not show your .config

Please read REPORTING-BUGS in kernel tree.
--
vda

2005-10-03 10:07:41

by Russell King

[permalink] [raw]
Subject: Re: 2.6.13-rc6-xx-all.diff is not working for 2.6.13 arm kernel

On Mon, Oct 03, 2005 at 12:27:34PM +0300, Denis Vlasenko wrote:
> On Monday 03 October 2005 12:22, vikas gupta wrote:
> > hi ben ,
> >
> > I tried to apply 2.6.13-rc6-B0/B1-all.diff to
> > linux-2.6.13 kernel with arm support patches . It's
> > getting applied cleanly...
> > but while building the kernel i am getting some build
> > errors ...
> > i traced the problem and get that this error are
> > coming because of some machine specific files.
> > 1)arch/i386/kernel/semaphore.c
> > 2)include/asm-i386/seamphore.h
> >
> > So can you please tell me that whather any patch is
> > available, in order to support these implementation on
> > arm platform.
>
> How nice that you did not show the actual error message
> and did not show your .config

That's usual in the embedded world - it's a way that embedded folk seem
to write their bug reports to provoke a "response" (the content of the
response doesn't seem to matter, just as long as there is one.)

However, one also has to wonder - "2.6.13 kernel with arm support patches"
"arch/i386/kernel/semaphore.c". Why have "arm" patches been applied (and
what were they) and why i386 is being built.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core

2005-10-03 10:55:19

by vikas gupta

[permalink] [raw]
Subject: Re: 2.6.13-rc6-xx-all.diff is not working for 2.6.13 arm kernel

hi

--- Russell King <[email protected]> wrote:

> On Mon, Oct 03, 2005 at 12:27:34PM +0300, Denis
> Vlasenko wrote:
> > On Monday 03 October 2005 12:22, vikas gupta
> wrote:
> > > hi ben ,
> > >
> > > I tried to apply 2.6.13-rc6-B0/B1-all.diff to
> > > linux-2.6.13 kernel with arm support patches .
> It's
> > > getting applied cleanly...
> > > but while building the kernel i am getting some
> build
> > > errors ...
> > > i traced the problem and get that this error are
> > > coming because of some machine specific files.
> > > 1)arch/i386/kernel/semaphore.c
> > > 2)include/asm-i386/seamphore.h
> > >
> > > So can you please tell me that whather any patch
> is
> > > available, in order to support these
> implementation on
> > > arm platform.
> >
> > How nice that you did not show the actual error
> message
> > and did not show your .config
>
> That's usual in the embedded world - it's a way that
> embedded folk seem
> to write their bug reports to provoke a "response"
> (the content of the
> response doesn't seem to matter, just as long as
> there is one.)
>
> However, one also has to wonder - "2.6.13 kernel
> with arm support patches"
> "arch/i386/kernel/semaphore.c". Why have "arm"
> patches been applied (and
> what were they) and why i386 is being built.

Sorry for my mistake..
Arm kernel build Error LOG:
.....
CC mm/filemap.o
mm/filemap.c: In function `generic_file_aio_writev':
mm/filemap.c:2212: warning: implicit declaration of
function `aio_down'
mm/filemap.c:2216: warning: implicit declaration of
function `aio_up'
....
fs/pipe.c: In function `pipe_aio_wait':
fs/pipe.c:105: warning: implicit declaration of
function `aio_up'
fs/pipe.c: In function `pipe_aio_read':
fs/pipe.c:206: warning: implicit declaration of
function `aio_down'

.....
mm/built-in.o(.text+0x3e34): In function
`generic_file_aio_writev':
: undefined reference to `aio_down'
mm/built-in.o(.text+0x3e60): In function
`generic_file_aio_writev':
: undefined reference to `aio_up'
fs/built-in.o(.text+0x10258): In function
`pipe_aio_wait':
: undefined reference to `aio_up'
fs/built-in.o(.text+0x103a0): In function
`pipe_aio_read':
: undefined reference to `aio_down'
fs/built-in.o(.text+0x10648): In function
`pipe_aio_read':
: undefined reference to `aio_up'
fs/built-in.o(.text+0x10758): In function `$a':
: undefined reference to `aio_down'
fs/built-in.o(.text+0x10c60): In function `$a':
: undefined reference to `aio_up'
make: *** [.tmp_vmlinux1] Error 1


These functions are defined for i386 as well as x86_64

but for arm platform as above mentioned files (those i
mentioned in previos mails )are not present these are
giving errors ...
So i wanted to ask whether any patch is available for
it or not





__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

2005-10-03 11:04:36

by Russell King

[permalink] [raw]
Subject: Re: 2.6.13-rc6-xx-all.diff is not working for 2.6.13 arm kernel

On Mon, Oct 03, 2005 at 11:55:11AM +0100, vikas gupta wrote:
> Sorry for my mistake..
> Arm kernel build Error LOG:
> .....
> CC mm/filemap.o
> mm/filemap.c: In function `generic_file_aio_writev':
> mm/filemap.c:2212: warning: implicit declaration of
> function `aio_down'
> mm/filemap.c:2216: warning: implicit declaration of
> function `aio_up'
> ....
> fs/pipe.c: In function `pipe_aio_wait':
> fs/pipe.c:105: warning: implicit declaration of
> function `aio_up'
> fs/pipe.c: In function `pipe_aio_read':
> fs/pipe.c:206: warning: implicit declaration of
> function `aio_down'

$ grep aio_down fs/*.c
$ grep aio_down mm/*.c
$ grep aio_down . -r
$

The problem you're referring to does not appear to be present in
the mainline kernel sources. Maybe the AIO folk can provide some
pointers?

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core

2005-10-03 15:05:18

by Benjamin LaHaise

[permalink] [raw]
Subject: Re: 2.6.13-rc6-xx-all.diff is not working for 2.6.13 arm kernel

On Mon, Oct 03, 2005 at 11:55:11AM +0100, vikas gupta wrote:
> These functions are defined for i386 as well as x86_64
>
> but for arm platform as above mentioned files (those i
> mentioned in previos mails )are not present these are
> giving errors ...
> So i wanted to ask whether any patch is available for
> it or not

Nobody has done the work to add the aio_up()/aio_down() primatives for
arm yet, so you'll have to do that work for arm in order to use the
patches.

-ben
--
"Time is what keeps everything from happening all at once." -- John Wheeler