mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Problem with nptl and uname
@ 2004-05-05 18:05 Andreas Hartmann
  2004-05-05 21:46 ` Ken Moffat
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Hartmann @ 2004-05-05 18:05 UTC (permalink / raw)
  To: linux-kernel

Hello all,

I've have a problem to get ntpl working on my machine:

I have a AMD Athlon XP and kernel 2.6.6-rc3 (2.6.6-rc3-mm1). I compiled 
glibc 2.3.3 with gcc 3.3.2, kernelheaders 2.6.5.1 and binutils 
2.15.90.0.3 with

configure --with-tls --prefix=/usr --enable-add-ons=nptl --enable-kernel=2.4.1

It doesn't matter, if --enable-kernel is given or not or if it is 2.6.x or 
2.2.99.

Compiling works fine until make check / tst-attr3 core dumps:

initial thread stack 0x80037000-0xc0000000 (0x3ffc9000)
/opt/cd/libc/compile/nptl/tst-attr3: pthread_create #1 failed: Cannot 
allocate memory
/opt/cd/libc/compile/nptl/tst-attr3: pthread_create #2 failed: Cannot 
allocate memory
/opt/cd/libc/compile/nptl/tst-attr3: pthread_create #3 failed: Cannot 
allocate memory

strace says:
11177 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0} <unfinished ...>
11177 <... setrlimit resumed> )         = 0
11177 getrlimit(RLIMIT_DATA,  <unfinished ...>
11177 <... getrlimit resumed> {rlim_cur=2147483647, rlim_max=2147483647}) = 0
11177 setrlimit(RLIMIT_DATA, {rlim_cur=65536*1024, rlim_max=2147483647}) = 0
11177 setpgid(0, 0)                     = 0
11177 brk(0)                            = 0x80016000
11177 brk(0x80037000)                   = 0x80037000
11177 brk(0)                            = 0x80037000
11177 open("/proc/self/maps", O_RDONLY) = 3
11177 getrlimit(RLIMIT_STACK, {rlim_cur=2147483647, rlim_max=2147483647}) = 0
11177 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
11177 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x40125000
11177 read(3, "08048000-0804b000 r-xp 00000000 "..., 1024) = 910
11177 close(3)                          = 0
11177 munmap(0x40125000, 4096)          = 0
11177 sched_getaffinity(11177, 32,



There seems to be another problem wit uname:

Hardware platform:
uname -i
unknown

CPU:
uname -p
unknown


Is this normal for Athlon boards? What should it be, if it is not correct? 
What could be the reason for this wrong info?



Thank you very much for any hint,
kind regards,
Andreas Hartmann

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <fa.ligadq5.1r0qj91@ifi.uio.no>]

end of thread, other threads:[~2004-05-07 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-05 18:05 Problem with nptl and uname Andreas Hartmann
2004-05-05 21:46 ` Ken Moffat
     [not found] <fa.ligadq5.1r0qj91@ifi.uio.no>
     [not found] ` <fa.goqhgl2.1bg8h0i@ifi.uio.no>
2004-05-07 11:10   ` Andreas Hartmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®