Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Japanese extensions on Sparc



From: "Eric S. Standlee" <root@example.com>

> > The Emacsen (all of them, not only XEmacs) seem to insist on
> > doing some hostname lookups during startup.  If you have a
> > network configured, but it is not reachable, starting any of
> > the Emacsen will take a long time.  You can easily check
> > whether this is your problem.  Use `strace', as in
> > 
> >   strace xemacs
> > 
> > It will bombard you with tons of messages about the exeuted
> > system calls.  If you hit the above mentioned problem, the
> > output will stop once in a while (until the host lookup gets 
> > a timeout), which leaves you plenty of time to read what the 
> > delaying system call does.
> > Thanks for the info, I didn't know emacs was doing host lookup...
> 
> If it is the host lookup problem, then what is the fix?  Or is that
> obvious from the output of strace?

It depends on your network configuration.  You should make
sure that when your network is *not* active (e.g., no ppp or 
Ethernet card not plugged into the network), you don't have
any routing or so configured.  In particular, check 

  netstat -rn

There shouldn't be a default route, i.e., no `Destination'
with 0.0.0.0 if there is no active network.

In my case, I encountered the problem, because I have a
combined Ethernet/modem card.  And when I plugged it in, to
use the modem, `cardmgr' also triggered the setup for
`eth0', which set up a default route (although, the card was
not connected to a network).  I could solve this by defining
different schemes (as supported by the PCMCIA package) for
my use of the Ethernet card.

Manuel
--------------------------------------------------------------
Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30
featuring Linux on multiple platforms:
i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ...
Next Nomikai: 18 September, 19:30 Tengu TokyoEkiMae 03-3275-3691
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links