Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6 Kernel (and headers) + NPTL Guide
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
sekh
n00b
n00b


Joined: 20 Dec 2002
Posts: 55

PostPosted: Wed Feb 18, 2004 11:51 am    Post subject: Reply with quote

my system finished installing too :)

checking the libc.so.6 after boot i can also confirm that i have the NPTL in there :) Now i just need to figure out a solution to that iputils thing :(
Back to top
View user's profile Send private message
jpalko
n00b
n00b


Joined: 12 Mar 2003
Posts: 65
Location: Piispanristi, Finland

PostPosted: Wed Feb 18, 2004 2:37 pm    Post subject: Re: Got stuck again... :) Reply with quote

jpalko wrote:
It appears that Bug #41856 is on the way to my completion in installation.

Well, but my bit onto the bug information in order to aid the cause. :wink:



Got further with the patch in bug #41856 comment 3. Nice.
_________________
Jukka Palko
Piispanristi, Finland
Linux Counter ID #219161
Back to top
View user's profile Send private message
jmbaldwin
n00b
n00b


Joined: 14 Sep 2003
Posts: 3

PostPosted: Wed Feb 18, 2004 4:09 pm    Post subject: Reply with quote

I'm having a simple problem.

bootstrap-2.6.sh gives me:

"Your portage version is too old. Please use a later stage1."

I'm using what I think is the latest Basic boot CD.
Back to top
View user's profile Send private message
ka0ttic
Retired Dev
Retired Dev


Joined: 23 Oct 2003
Posts: 46
Location: Ormond Beach, FL

PostPosted: Wed Feb 18, 2004 4:43 pm    Post subject: Reply with quote

jmbaldwin wrote:
I'm having a simple problem.

bootstrap-2.6.sh gives me:

"Your portage version is too old. Please use a later stage1."

I'm using what I think is the latest Basic boot CD.


Are you using the stage 1 tar ball off the cd or are you downloading it?
Back to top
View user's profile Send private message
jpalko
n00b
n00b


Joined: 12 Mar 2003
Posts: 65
Location: Piispanristi, Finland

PostPosted: Thu Feb 19, 2004 8:08 am    Post subject: Reply with quote

Nice, got through the whole compile. :)

Only funny bit was once again cdrtools bug #30798 of removing the /usr/src/linux symlink for a moment and then compiling cdrtools and then resuming the gnome compilation...
_________________
Jukka Palko
Piispanristi, Finland
Linux Counter ID #219161
Back to top
View user's profile Send private message
panther
n00b
n00b


Joined: 12 Feb 2003
Posts: 74
Location: Londn

PostPosted: Fri Feb 20, 2004 5:05 pm    Post subject: Reply with quote

nice, i do the bootstraping now, no problems until now
_________________
Via Veritas Vita
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Fri Feb 20, 2004 10:27 pm    Post subject: Reply with quote

I'm sorry if this has already been answered, but do NPTL and Nvidia still not play nicely, or is it safe for me to use NPTL now (with nvidia binary drivers)?
Back to top
View user's profile Send private message
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Sat Feb 21, 2004 2:41 pm    Post subject: Reply with quote

MighMoS wrote:
I'm sorry if this has already been answered, but do NPTL and Nvidia still not play nicely, or is it safe for me to use NPTL now (with nvidia binary drivers)?


Nvidia drivers (or rather the glx extension) works fine with NPTL since a couple of versions back so it's perfectly safe.
_________________
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Sun Feb 22, 2004 12:38 pm    Post subject: Reply with quote

After a few minor obstacles, I'm up and running with 2.6.3-r1 and linux-headers-2.6.1. I had linux-headers-2.6.3 installed but had to drop down to 2.6.1 to get reiserfsprogs to compile. I also had to nuke some lines in the iputils ebuild that were choking on a m4 macro and preventing that package from installing at all. This is detailed and already corrected in bug report #42135.

I have successfully booted to console, and will begin the quest of making a workstation out of this box now. Thanks for the tips!
Back to top
View user's profile Send private message
clockwise
Apprentice
Apprentice


Joined: 24 Aug 2002
Posts: 152
Location: uk

PostPosted: Tue Feb 24, 2004 9:51 pm    Post subject: Reply with quote

sebweb wrote:
I have this:

Code:

# /lib/libc-2.3.2.so
Inconsistency detected by ld.so: rtld.c: 1252: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!


anyone got an answer for this one yet? just found out my system is doing the same thing.[/code]
_________________
"if an injury has to be done to a man it should be so severe that his vengeance need not be feared." - niccolò machiavelli
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Tue Feb 24, 2004 10:01 pm    Post subject: Reply with quote

Lowspirit wrote:
MighMoS wrote:
I'm sorry if this has already been answered, but do NPTL and Nvidia still not play nicely, or is it safe for me to use NPTL now (with nvidia binary drivers)?


Nvidia drivers (or rather the glx extension) works fine with NPTL since a couple of versions back so it's perfectly safe.
Thank you very much! This helps a lot!
Back to top
View user's profile Send private message
Kow
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 227

PostPosted: Wed Feb 25, 2004 4:27 am    Post subject: Reply with quote

I get the same error to clockwise.
_________________
-Kow
Back to top
View user's profile Send private message
ka0ttic
Retired Dev
Retired Dev


Joined: 23 Oct 2003
Posts: 46
Location: Ormond Beach, FL

PostPosted: Wed Feb 25, 2004 10:21 am    Post subject: Reply with quote

gcasillo wrote:
After a few minor obstacles, I'm up and running with 2.6.3-r1 and linux-headers-2.6.1. I had linux-headers-2.6.3 installed but had to drop down to 2.6.1 to get reiserfsprogs to compile. I also had to nuke some lines in the iputils ebuild that were choking on a m4 macro and preventing that package from installing at all. This is detailed and already corrected in bug report #42135.

I have successfully booted to console, and will begin the quest of making a workstation out of this box now. Thanks for the tips!


You might want to try linux-headers-2.6.3-r1 (which if I'm not mistaken was only put in portage yesterday or the day before). I also couldn't get reiserfsprogs compiled, but upgrading the headers did the trick.

HTH,
Aaron
Back to top
View user's profile Send private message
jeffrice
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2003
Posts: 89
Location: New York, USA

PostPosted: Wed Feb 25, 2004 4:03 pm    Post subject: Reply with quote

clockwise wrote:
sebweb wrote:
I have this:

Code:

# /lib/libc-2.3.2.so
Inconsistency detected by ld.so: rtld.c: 1252: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!


anyone got an answer for this one yet? just found out my system is doing the same thing.[/code]


You should be able to fix this by doing

ACCEPT_KEYWORDS="~x86" emerge glibc
Back to top
View user's profile Send private message
SkiCat
n00b
n00b


Joined: 19 Jan 2004
Posts: 32
Location: United States

PostPosted: Wed Feb 25, 2004 5:00 pm    Post subject: Reply with quote

I get an error back when I try to emerge glibc.

* You have "nptl" in your USE, but your kernel version or
* architecture does not support it!


Using kernel 2.6.3-r1 and linux-headers 2.6.3.

Any clues???

SkiCat
Back to top
View user's profile Send private message
tweakt
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 92
Location: Boston, MA. USA

PostPosted: Wed Feb 25, 2004 7:55 pm    Post subject: Never type 'ACCEPT_KEYWORDS="~x86" emerge xyz' aga Reply with quote

Just a tip for those of you with portag 2.50+ (which SHOULD be all of you by now):

If you are running 2.6 you should do this:

Create '/etc/portage/package.keywords' and put this line in it:
Code:
sys-kernel/linux-headers -*

In addition, I have:
Code:
sys-libs/zlib ~x86
sys-kernel/linux-headers -*
sys-devel/gcc ~x86
x11-base/xfree ~x86
sys-libs/glibc ~x86
sys-devel/binutils ~x86
sys-devel/automake ~x86
app-emulation/wine ~x86

This automatically applies the ~x86 keyword to portage for any of those pakages. Also notice I apply the '-*' keyword for linux headers. No more editing the ebuild!

Currently I have the following (all running perfectly stable):
Code:
gcc-3.3.3
glibc-2.3.3
xfree-4.3.99.902-r2
binutils-2.14.90.0.8-r1
automake-1.8.2
zlib-1.2.1-r2
wine-20040213
linux-headers-2.6.3-r1


The bonus here is you will no longer need to do 'emerge --upgradeonly world', the packages will not get downgraded, in fact they will be automatically upgraded to their latest ~x86 versions, along with the rest of the world packages.

This in essence allows you to live _on_ the edge but not fly off of it (with a full ~x86 system) :)
Back to top
View user's profile Send private message
ka0ttic
Retired Dev
Retired Dev


Joined: 23 Oct 2003
Posts: 46
Location: Ormond Beach, FL

PostPosted: Thu Feb 26, 2004 1:13 pm    Post subject: Reply with quote

tweakt,

Great tip. I've been wondering for a while how to do this. I run an all ~x86 system so I don't have to worry about certain packages. But editing the linux-headers ebuild was getting annoying :wink:

Aaron
Back to top
View user's profile Send private message
sebweb
Apprentice
Apprentice


Joined: 29 Jan 2003
Posts: 220
Location: Bordeaux - France

PostPosted: Thu Feb 26, 2004 10:04 pm    Post subject: Reply with quote

Quote:

You should be able to fix this by doing
ACCEPT_KEYWORDS="~x86" emerge glibc


Worked for me !
Thanks
Back to top
View user's profile Send private message
DeTard
n00b
n00b


Joined: 03 Mar 2004
Posts: 1

PostPosted: Wed Mar 03, 2004 1:40 pm    Post subject: Reply with quote

Ok, I THINK I got NPTL working correctly... to a point anyhow. Everything seems stable, things are compiling without error (except for the obvious probs with unpatched ebuilds for kernel 2.6). My problem though is that when I went to go verify that my glibc did indeed use NPTL I get this message:

# /lib/libc.so.6
Inconsistency detected by ld.so: rtld.c: 1252: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!

Now, I have seen that there was a suggestion (somewhere... might have been one of my google searches) that I should "reemerge ld.so".

Well anyhow... I did go ahead and reemerge binutils, glibc, and binutils once more to be on the safe side and I'm getting exactly the same message. Well, at least it's consistent! :o

Anyhow, here's what I used:
binutils 2.14.90.0.7-r4
gcc 3.3.2-r5
glibc 2.3.2-r9
linux-headers 2.6.3-r1

Now, I DID do one strange thing on my computer... I am running an Athlon 64 3000+ but seeing as how I've had problems here and there with compiling everything with 64-bit support, and especially since I don't have any drivers I can use for my R9700, I just did everything 32-bit. BUT I did compile my kernel using the Opteron/Athlon64 CPU type. I figured what the hell... should hurt anything. Now, if this is actually causing this error, that would baffle me considering that everything was compiled from the 2004.0 x86 LiveCD.

Any tips? hints?
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Wed Mar 03, 2004 6:34 pm    Post subject: Reply with quote

since you brave gentooers have jumped into the nptl
bandwagon, it would very interesting to point out
the downside of such a move i.e. what gets broken in
this enviroment etc..
TIA
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Thu Mar 04, 2004 4:24 pm    Post subject: Reply with quote

for me ALL packages work (xine only ~x86; all others x86)

Markus
Back to top
View user's profile Send private message
ares
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 280
Location: Savigliano (CN)

PostPosted: Thu Mar 04, 2004 8:17 pm    Post subject: Reply with quote

Problem compile DirectFB
VIDEO_CARDS='radeon' USE='-fusion' emerge DirectFB

Code:

ipe -march=athlon-xp -O3 -pipe -mcpu=athlon-xp -m3dnow -ffast-math -msse -fexpensive-optimizations -mfpmath=sse -falign-functions=4 -funroll-loops -mmmx -fomit-frame-pointer -DFUSION_FAKE -Werror-implicit-function-declaration -c fbdev.c  -fPIC -DPIC -o .libs/fbdev.o
In file included from fbdev.c:42:
/usr/include/linux/fb.h:345: error: syntax error before "atomic_t"
make[4]: *** [fbdev.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/src/core/fbdev'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: dev-libs/DirectFB-0.9.20 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! (no error message)

_________________
My portage and homepage
Back to top
View user's profile Send private message
SmilyBorg
n00b
n00b


Joined: 12 Feb 2004
Posts: 7
Location: Durban, South Africa

PostPosted: Fri Mar 05, 2004 6:57 am    Post subject: emerge system problem Reply with quote

Hi all

I am building a new system using 2.6 and ntpl with the 2004.0 stage 1 tarball. Rather than boot from cd and have my PC down for a while, I am running on top of my current gentoo system that runs a 2.4.22-gentoo-r7 kernel.

I have run into a few errors.

The first 2 times I tried, the install failed while configuring bash, saying that it could not test when cross compiling. I thought I had done somthing wrong so I tried again. During the lest attempt it failed configuring nano. The error is pasted bellow.

checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for regex.h... (cached) yes
checking for broken regexec... configure: error: cannot run test program while cross compiling
See `config.log' for more details.

!!! ERROR: app-editors/nano-1.2.2 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

I am running on an Athlon XP and am compiling for another athlon XP system so the cflags etc. are the same.

Any ideas as to why it is complaining? Bellow is the output of emerge info from within the chroot if that helps.

Thanks


assassin portage # emerge info
Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi alsa apm berkdb bidi caps cdr crypt cups curl dedicated dga directfb dvd dvdr ethereal fam fbcon foomaticdb gd gdbm icc icq imagemagick imap imlib innodb ipv6 jabber java jpeg kerberos krb4 lcms ldap libwww maildir mbox mcal mmx mpi msn mysql nas ncurses nls nocd nptl odbc oggvorbis oscar oss pam pdflib perl pic png postgres ppds prelude python readline samba sasl scanner slp snmp speex spell sqlite sse ssl svga tclck tcpd theora tiff truetype unicode usb wmf x86 xml xml2 yahoo zeo zlib"
Back to top
View user's profile Send private message
ares
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 280
Location: Savigliano (CN)

PostPosted: Fri Mar 05, 2004 6:32 pm    Post subject: Reply with quote

Quote:
Automake:

automake ?
_________________
My portage and homepage
Back to top
View user's profile Send private message
calhoun
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2003
Posts: 91
Location: Point Pleasant, NJ

PostPosted: Sat Mar 06, 2004 7:41 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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