Skip to contentSkip to conversation

2.6.13-rc6-xx-all.diff is not working for 2.6.13 arm kernel

DISCUSSION vikas gupta 4 participants 6 messages Oct 3, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 12 lines · vikas gupta

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

Quoted 3 lines

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

#2 lore raw
Quoted 13 lines · Denis Vlasenko
Quoted 12 lines · vikas gupta

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

Quoted 6 lines
Quoted 3 lines

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.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
#3 lore raw

hi

Quoted 35 lines · --- Russell King
Quoted 1 line · Denis Vlasenko

On Monday 03 October 2005 12:22, vikas gupta

Quoted 4 lines · wrote:
Quoted 4 lines

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

Quoted 2 lines
Quoted 2 lines

getting applied cleanly...
but while building the kernel i am getting some

build

Quoted 7 lines
Quoted 7 lines

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

Quoted 1 line
Quoted 1 line

available, in order to support these

implementation on

Quoted 3 lines
Quoted 1 line

arm platform.

How nice that you did not show the actual error

message

Quoted 1 line

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.)

Quoted 5 lines

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

#4 lore raw
Quoted 8 lines · vikas gupta

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

Quoted 8 lines

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?

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
#5 lore raw
In reply to vikas gupta
Quoted 7 lines · vikas gupta

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

Signature · 1 line
"Time is what keeps everything from happening all at once." -- John Wheeler