SCIENTIFIC-LINUX-USERS Archives

December 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Adrian Sevcenco <[log in to unmask]>
Reply To:
Adrian Sevcenco <[log in to unmask]>
Date:
Tue, 25 Dec 2007 12:52:17 +0000
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (2169 bytes) , smime.p7s (3177 bytes)
Valery Mitsyn wrote:
> On Mon, 24 Dec 2007, Adrian Sevcenco wrote:
> 
>> Troy Dawson wrote:
>>> Adrian Sevcenco wrote:
>>>> Hi! It seems that mc is not working.. after launching the mc the cursor
>>>> just stops and nothing happens. What can i do do debug whats going on?
>>>> Thank you!
>>>> Adrian
>>>
>>> There is always strace
>>>   strace -o /tmp/mc.strace mc
>>>
>>> You can then look at the strace file (/tmp/mc.strace) and see what it's
>>> stuck on.
>>>
>>> Troy
>> Thanks for the tip ... in fact is something strange : i forgot about mc
>> and after ~45 seconds it appeared on the screen.
> 
> Did you have your HOME in NFS/AFS?
> Looks like, mc is wait for some network FS. I have something like that
> when mc start from NFS on SL45.
No.. i would have expected that on NFS but its just a local SL5

>> In trace file i see a lots of
>> time(NULL)                              = 1198533795
>> stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2195, ...}) = 0
>> I run an strace -c but total seconds is 0.002628 which is very strange
>> as i count 45 second from command to GUI drawing.
>> this is from strace -c
>> % time     seconds  usecs/call     calls    errors syscall
>> ------ ----------- ----------- --------- --------- ----------------
>> 86.68    0.002278         456         5           statfs64
>> ...
>> ...
>> ------ ----------- ----------- --------- --------- ----------------
>> 100.00    0.002628                  1605       169 total
>>
>>
>> also an strace -cf
>> % time     seconds  usecs/call     calls    errors syscall
>> ------ ----------- ----------- --------- --------- ----------------
>> 91.57    0.054312         936        58        26 waitpid
>> ...
>> ...
>> ------ ----------- ----------- --------- --------- ----------------
>> 100.00    0.059310                  6280       921 total
>>
>> What can i do more?
>> Thanks for your help!!
>>
>> and not related :
>> /etc/X11/xinit/Xsession: line 15: unask: command not found
> 
> Ohhh! should be "umask", bug in TUV distro? but it is not related to mc.
> sed -i -e 's|unask 077|umask 077|' /etc/X11/xinit/Xsession
> to get rid of "unask: command not found"
Yeah, i know i just posted it for a "heads up" ;)
Thanks
Best regards,
Adrian



ATOM RSS1 RSS2