[ltp] programs take much too long to start
Niels Stargardt
linux-thinkpad@linux-thinkpad.org
Tue, 14 Dec 2004 19:11:52 +0100
On Tue, 14 Dec 2004 15:39:10 +0100
Moritz Karbach <mailinglist@karba.ch> wrote:
> Hi all,
>
> maybe you got an idea:
>
> Sometimes almost all programs on my Thinkpad R51 take much too long
> to start. That is for instance about 20s for starting vi. After this
> long time the programs operate just as normal.
>
> This happens both for root and my user. Normally the problem is
> gone, if I just do a reboot. Strace doesn't tell something useful to
> me. If I start vi on the "real" console (ctrl+alt+f1), it works
> normally.
>
> I use Debian unstable, KDE 3.2, 2.6.7 kernel.
>
> Thanks a lot,
>
> - Moritz
Hi Moritz,
this problems sounds familiar to me. I have the same(?) problem with R40 and Debian sarge.
1. The vi tried to open an X-Window if I started it from an konsole-window. I saw it if I worked as root in the shell. But the problem is fixed, but I don't know how? Anyway
2. At my Thinkpad the problem was an empty /etc/network/interfaces file! Every time I pluged in the Ethernet-cable and started dhcpd I got the same behavior like you. So I added the following lines to the file:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
Now it works fine.
Hope this solves your problem.
Have a nice day
Niels