* [parisc-linux] New libc6 2.3.5-6: poll timeouts
@ 2005-09-11 16:06 John David Anglin
2005-09-11 16:47 ` James Bottomley
0 siblings, 1 reply; 4+ messages in thread
From: John David Anglin @ 2005-09-11 16:06 UTC (permalink / raw)
To: parisc-linux
I updated my c3k yesterday afternoon. This upgrade included libc6
version 2.3.5-6. I now find that many commands run as slow as molasses.
For example,
dave@hiauly6:~$ time ls -ltr
total 3300
...
real 0m20.024s
user 0m0.006s
sys 0m0.015s
There aren't that many files in this directory!
Looking at the command under gdb, I find that poll seems to be
timing out:
Dump of assembler code for function poll:
0x408543d4 <*__GI___poll+0>: stw rp,-14(,sp)
0x408543d8 <*__GI___poll+4>: addil 1000,r19,%r1
0x408543dc <*__GI___poll+8>: ldw 484(,r1),ret0
0x408543e0 <*__GI___poll+12>: stw,ma r7,80(,sp)
0x408543e4 <*__GI___poll+16>: stw r6,-7c(,sp)
0x408543e8 <*__GI___poll+20>: copy r26,r6
0x408543ec <*__GI___poll+24>: stw r5,-78(,sp)
0x408543f0 <*__GI___poll+28>: copy r25,r5
0x408543f4 <*__GI___poll+32>: stw r3,-70(,sp)
0x408543f8 <*__GI___poll+36>: stw r4,-74(,sp)
0x408543fc <*__GI___poll+40>: stw r19,-20(,sp)
0x40854400 <*__GI___poll+44>: ldw 0(,ret0),r20
0x40854404 <*__GI___poll+48>: cmpib,<> 0,r20,0x40854464 <*__GI___poll+144>
0x40854408 <*__GI___poll+52>: copy r24,r3
0x4085440c <*__GI___poll+56>: copy r19,r4
0x40854410 <*__GI___poll+60>: be,l 100(sr2,r0),%sr0,%r31
0x40854414 <*__GI___poll+64>: ldi a8,r20
0x40854418 <*__GI___poll+68>: copy r4,r19
Starting program: /bin/ls -ltr
Breakpoint 1 at 0x40854418
Breakpoint 1 at 0x40854418: file ../sysdeps/unix/sysv/linux/poll.c, line 82.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3198)]
total 3300
[Switching to Thread 16384 (LWP 3198)]
Breakpoint 1, 0x40854418 in *__GI___poll (fds=0xc03feec8, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:82
82 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
in ../sysdeps/unix/sysv/linux/poll.c
(gdb) p $ret0
$6 = 1
(gdb) c
Continuing.
Breakpoint 1, 0x40854418 in *__GI___poll (fds=0xc03fecc8, nfds=1, timeout=5000)
at ../sysdeps/unix/sysv/linux/poll.c:82
82 in ../sysdeps/unix/sysv/linux/poll.c
(gdb) p $ret0
$7 = 0
(gdb) bt
#0 0x40854418 in *__GI___poll (fds=0xc03fecc8, nfds=1, timeout=5000)
at ../sysdeps/unix/sysv/linux/poll.c:82
#1 0x407ecb08 in _IO_new_fclose (fp=0x1388) at iofclose.c:88
#2 0x40896708 in get_mapping (type=Variable "type" is not available.
) at nscd_helper.c:195
#3 0x407f96a4 in _IO_new_file_write (f=0x7363642f, data=0x736f636b,
n=1970155374) at fileops.c:1260
#4 0x00008800 in ?? ()
Cannot find bounds of current function (@0x0), unwinding will fail.
Any thoughts on what's wrong? The gdb backtrace is messed up because
the callinfo data isn't right for the syscall. The call to __GI___poll
is actually from get_mapping at nscd_helper.c:195.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] New libc6 2.3.5-6: poll timeouts
2005-09-11 16:06 [parisc-linux] New libc6 2.3.5-6: poll timeouts John David Anglin
@ 2005-09-11 16:47 ` James Bottomley
2005-09-11 18:18 ` John David Anglin
0 siblings, 1 reply; 4+ messages in thread
From: James Bottomley @ 2005-09-11 16:47 UTC (permalink / raw)
To: John David Anglin; +Cc: PARISC list
On Sun, 2005-09-11 at 12:06 -0400, John David Anglin wrote:
> I updated my c3k yesterday afternoon. This upgrade included libc6
> version 2.3.5-6. I now find that many commands run as slow as molasses.
> For example,
libc6 from testing (and, actually unstable) doesn't currently work. We
think it's the fact that it's compiled with gcc-4.0.
You have one of the minor symptoms ... try starting bind9 ...
Lamont is supposed to be arranging a binNMU of libc6 compiled with
gcc-3.3.5, but temporarily you can just force install libc6 from stable.
James
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] New libc6 2.3.5-6: poll timeouts
2005-09-11 16:47 ` James Bottomley
@ 2005-09-11 18:18 ` John David Anglin
2005-09-11 20:34 ` James Bottomley
0 siblings, 1 reply; 4+ messages in thread
From: John David Anglin @ 2005-09-11 18:18 UTC (permalink / raw)
To: James Bottomley; +Cc: parisc-linux
> Lamont is supposed to be arranging a binNMU of libc6 compiled with
> gcc-3.3.5, but temporarily you can just force install libc6 from stable.
If I try to do this with apt-get, it will remove half the packages on
the system. So, either I have to manually downgrade with dpkg or wait
for Lamont.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] New libc6 2.3.5-6: poll timeouts
2005-09-11 18:18 ` John David Anglin
@ 2005-09-11 20:34 ` James Bottomley
0 siblings, 0 replies; 4+ messages in thread
From: James Bottomley @ 2005-09-11 20:34 UTC (permalink / raw)
To: John David Anglin; +Cc: PARISC list
On Sun, 2005-09-11 at 14:18 -0400, John David Anglin wrote:
> > Lamont is supposed to be arranging a binNMU of libc6 compiled with
> > gcc-3.3.5, but temporarily you can just force install libc6 from stable.
>
> If I try to do this with apt-get, it will remove half the packages on
> the system. So, either I have to manually downgrade with dpkg or wait
> for Lamont.
You do it like this
apt-get -d install libc6/stable
which will download but not install it
then
dpkg -i /var/cache/apt/archive/libc6-<version>.deb
which will install it ignoring all of apt's dependencies
James
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-11 20:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-11 16:06 [parisc-linux] New libc6 2.3.5-6: poll timeouts John David Anglin
2005-09-11 16:47 ` James Bottomley
2005-09-11 18:18 ` John David Anglin
2005-09-11 20:34 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox