Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing 2.6 kernel on sun4u architecture with 2005.1 CD
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
trich743
n00b
n00b


Joined: 30 Jan 2006
Posts: 3

PostPosted: Tue Jan 31, 2006 9:26 pm    Post subject: Installing 2.6 kernel on sun4u architecture with 2005.1 CD Reply with quote

In step 6b on install guide, it talks about profile to select. In case of Sparc64 arcitecture:
1. Can i select a 2.6 kerenel profile (btw, is there one even available for sparc64)?
2. Will i have to use ~sparc and/or unstable USE variables to get 2.6 kernel install on Sparc64 (sun4u)?
3. Do i have to specifu -m64 variable to forces 64-bit compilation of kernel?
4. At emerege, will i have to specify gentoo-sources (will that kernel even work on Sparc64...)?


Thanks for every help.
PS. I had tried 2005.1 handbook and could find any way to install 2.6 kernel b/c i selected sparc-sources (per instructions).
Back to top
View user's profile Send private message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Fri Feb 03, 2006 1:05 am    Post subject: Reply with quote

I too am looking to do this, however, I don't believe 2.6 is fully ready for SPARC yet. Hopefully someone closer to the situation can comment.
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Feb 03, 2006 1:37 pm    Post subject: Reply with quote

2.6 kernels aren't quite ironed out yet, it mostly boils down to which machine model you have and what you wanna do.
The biggest sticking points are serial support - it's sometimes problematic on some machines, and stability, lately it seems only U1/2 (sbus) machines are affected.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Fri Feb 03, 2006 2:06 pm    Post subject: Reply with quote

uname -a wrote:
Linux terry 2.6.12-gentoo-r6 #1 SMP Wed Jul 27 20:16:10 CEST 2005 sparc64 sun4u TI UltraSparc II (BlackBird) GNU/Linux
emerge --info wrote:
Portage 2.1_pre4-r1 (default-linux/sparc/sparc64/2005.1, gcc-3.3.5-20050130, glibc-2.3.3.20040420-r2, 2.6.12-gentoo-r6 sp
arc64)
=================================================================
System uname: 2.6.12-gentoo-r6 sparc64 sun4u
Gentoo Base System version 1.12.0_pre15
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.10, 1.2.11, 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4, 1.9.5, 1.9.6, 1.9.6-r1
sys-devel/binutils: 2.15.92.0.2-r1, 2.15.92.0.2-r7, 2.15.92.0.2-r10, 2.16.1
sys-devel/libtool: 1.5.10-r4, 1.5.14, 1.5.16, 1.5.18-r1, 1.5.20, 1.5.22
virtual/os-headers: 2.4.23, 2.4.26-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="no"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://polly.a.la.maison/gentoo ftp://ftp.easynet.nl/mirror/gentoo http://www.mirrorservice.org/sites/www.
ibiblio.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://polly/portage"
USE="sparc apache2 avi berkdb crypt cups curl dlloader eds encode foomaticdb gcc64 gdbm gstreamer imlib libwww mikmod ncu
rses nls nptl nptlonly ogg pam pdflib perl python readline ruby spell ssl symlink tcpd unicode vorbis xml2 zlib elibc_gli
bc kernel_linux userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
cat /proc/cpuinfo wrote:
cpu : TI UltraSparc II (BlackBird)
fpu : UltraSparc II integrated FPU
promlib : Version 3 Revision 25
prom : 3.25.0
type : sun4u
ncpus probed : 2
ncpus active : 2
Cpu0Bogo : 587.77
Cpu0ClkTck : 0000000011a486d5
Cpu1Bogo : 587.77
Cpu1ClkTck : 0000000011a486d5
MMU Type : Spitfire
State:
CPU0: online
CPU1: online
uptime wrote:
14:57:51 up 102 days, 16:00, 1 user, load average: 0.03, 0.01, 0.00
A power outage took it down 3 months ago. Apart from that, it used to serve my personal site before I moved it to a colo facility and it never failed me.
I'm no Sparc monkey, though :)
Back to top
View user's profile Send private message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Fri Feb 03, 2006 2:39 pm    Post subject: Reply with quote

Thanks for the information guys.....

If one wanted this, is it just a matter of umasking a few ebuilds or is it more complicated than that?

Is it better just to wait for 2006.1?
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Feb 03, 2006 4:56 pm    Post subject: Reply with quote

It basically boils down to package.keywording gentoo-sources (preferred over vanilla-sources).
If you wanna enjoy the extras you can switch to the 2006.0 profile but that involves re-emerging -e world for the new toolchain to be clean and you won't be able to boot a 2.4 kernel any longer. If you want the 2.4 fallback option use 2006.0/2.4 - but that won't allow for the new toys, just the new toolchain.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
trich743
n00b
n00b


Joined: 30 Jan 2006
Posts: 3

PostPosted: Sat Feb 04, 2006 7:04 pm    Post subject: Reply with quote

gust4voz wrote:
It basically boils down to package.keywording gentoo-sources (preferred over vanilla-sources).
If you wanna enjoy the extras you can switch to the 2006.0 profile but that involves re-emerging -e world for the new toolchain to be clean and you won't be able to boot a 2.4 kernel any longer. If you want the 2.4 fallback option use 2006.0/2.4 - but that won't allow for the new toys, just the new toolchain.


I tried to follow your notes:
1. After CHroot, emerge sync
2. chnage the profile to 2006.0 and keyworded ~sparc
3. emerge -e world

------------------------------------------------
during this emerge i get following error:

>>> Unpacking source...

* Checking gcc for __thread support ... yes
* Checking kernel version (>=2.6.6) ... no

* You need a kernel of at least version 2.6.6
* for NPTL support!

!!! ERROR: sys-libs/glibc-2.3.5-r3 failed.
!!! Function check_nptl_support, Line 726, Exitcode 0
!!! Kernel version too low!
--------------------------------------------------------------

I am using 2005.1 CD. Can you suggest any way out.... thanks.
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sat Feb 04, 2006 9:42 pm    Post subject: Reply with quote

Emerge glibc without the nptl use flag enabled for now. Once you are booted with a 2.6 kernel, you can re-enable it.
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