On Fri, 2006-07-21 at 23:07 -0400, JA wrote:
On Friday 21 July 2006 3:55 pm, Dave Howorth wrote:
I just installed kdar (via YaST) and ran it from the SUSE System/Backup menu. Nothing shows up on screen! There is a kdar process running. strace -p shows:
read(9,
Anybody have any idea what the problem is? I'm running SUSE 9.3 with a Gnome/Metacity desktop.
( Dave - sorry for the double reply, I forgot to hit reply to list :( Also, I changed #3 after realizing you were seeing a respawning child process )
Hm. No idea other than the obvious - it's blocking on whatever file handle 9 refers to. Since it's hanging on a read and not a select, I'd hazard a guess that it's not finishing initialization.
All I can suggest is the usual troubleshooting stuff, i.e.:
1. lsof -p to see what file handle 9 actually is. It might be something simple like an incomplete or corrupted rc file, although hanging on a read is unlikely behavior for that. More likely it's reading from a socket or pipe and waiting on an uncooperative writer. (I think recent versions of kdar want to see KWallet - maybe that's what it's waiting on.)
Thanks for the suggestions. I'd forgotten lsof. It doesn't tell me much though: kdar 11418 dhoworth 9u unix 0xffff8100084e99c0 355500 socket
2. Try running kdar from the command line in a terminal window. KDE apps run from the command line in a Gnome environment tend to complain noisily regardless of whether they ultimately work or not. Hopefully the last thing it complains about will point you to the source of the problem, or give some google fodder that might pin it down for you.
kdar seems to be an exception, it expires quietly.
3. If still no luck, try strace -f kdar 2>kdar.strace, then CTRL-C out once it hangs, and examine the resulting kdar.strace with a text editor and see if that yields any clues.
Well it gave me a 10494 line trace file! AFAIK, this is where it opens fd 9 (line 1631): socket(PF_FILE, SOCK_STREAM, 0) = 9 uname({sys="Linux", node="piglet", ...}) = 0 connect(9, {sa_family=AF_FILE, path="/tmp/.ICE-unix/dcop8396-1153417055"}, 37) = 0 and this is the end of the file: write(9, "\1\2\1\0T\0\0\0<\0\0\0", 12) = 12 write(9, "\0\0\0\5kdar\0\0\0\0\5kded\0\0\0\0\tkwalletd\0\0"..., 58) = 58 write(9, "\0\0\0\22\0k\0d\0e\0w\0a\0l\0l\0e\0t\0\0\0\0", 26) = 26 read(9, <unfinished ...> Doesn't mean much to me, except perhaps its a hint that kdar wants me to be running KDE. I think I'll just try dar from the command-line. Thanks again, Dave
Also, you might try leaving the strace running and just kill the kdar process - once it respawns you should have captured what's going on in the kdar.strace file.
Sorry I can't be more help.
JA
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com