Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which 2.6 kernel for E250
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Mon Mar 07, 2005 9:53 pm    Post subject: Which 2.6 kernel for E250 Reply with quote

Hi there,

I am having trouble getting gentoo-dev-sources 2.6.10-r6 to compile. The error is

CC arch/sparc64/kernel/sys_sparc32.o
include/asm/uaccess.h: In function `sys32_sysctl':
arch/sparc64/kernel/sys_sparc32.c:1686: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
make[1]: *** [arch/sparc64/kernel/sys_sparc32.o] Error 1
make: *** [arch/sparc64/kernel] Error 2


So I figure I should use a different 2.6 version. All of the 2.6.9's appear to be hard masked. Which kernel should I use?

Thank you for your time,
Frank Russo
Back to top
View user's profile Send private message
arckane
n00b
n00b


Joined: 06 Feb 2005
Posts: 42
Location: Iwade, UK.

PostPosted: Wed Mar 09, 2005 1:50 pm    Post subject: Reply with quote

I used:

ACCEPT_KEYWORDS="~sparc" emerge development-sources

This gave me kernel 2.6.5 to be getting on with :)
Back to top
View user's profile Send private message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Wed Mar 09, 2005 10:49 pm    Post subject: Reply with quote

I will give that a shot,

Thanx
Frank
Back to top
View user's profile Send private message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Wed Mar 09, 2005 11:41 pm    Post subject: Reply with quote

Still fails with a different error (I trieed with GCC 3.4.3 and GCC 3.3.4)

Error is

CHK include/linux/compile.h
CC arch/sparc64/kernel/power.o
In file included from include/linux/unistd.h:9,
from arch/sparc64/kernel/power.c:21:
include/asm/unistd.h:443: warning: conflicting types for built-in function '_exit'
make[1]: *** [arch/sparc64/kernel/power.o] Error 1
make: *** [arch/sparc64/kernel] Error 2


Will probably have to go with a 2.4 kernel.

Frank
Back to top
View user's profile Send private message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Thu Mar 10, 2005 12:47 am    Post subject: Reply with quote

Grabbed the latest 2.6.11.2 from kernel.org. No love, but makes it much further than the other two

CC arch/sparc64/kernel/module.o
CC arch/sparc64/kernel/sys_sunos32.o
CC arch/sparc64/kernel/sunos_ioctl32.o
LD arch/sparc64/kernel/built-in.o
AS arch/sparc64/kernel/head.o
CC arch/sparc64/kernel/init_task.o
LDS arch/sparc64/kernel/vmlinux.lds
AS arch/sparc64/mm/ultra.o
CC arch/sparc64/mm/tlb.o
In file included from arch/sparc64/mm/tlb.c:17:
include/asm/tlb.h: In function `tlb_flush_mmu':
include/asm/tlb.h:65: warning: implicit declaration of function `release_pages'
include/asm/tlb.h: In function `tlb_remove_page':
include/asm/tlb.h:113: warning: implicit declaration of function `page_cache_release'
make[1]: *** [arch/sparc64/mm/tlb.o] Error 1
make: *** [arch/sparc64/mm] Error 2
livecd linux #
Back to top
View user's profile Send private message
squash
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2002
Posts: 79

PostPosted: Thu Mar 17, 2005 7:38 pm    Post subject: Reply with quote

Hi,

2.6 is not stable on Sparc. Use 2.4. With that said, your compile errors may be caused by options you have enabled in your config. I've had no problems compiling the current ~sparc development-sources. You would have to post your config.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum