{"id":33,"date":"2005-05-10T23:32:09","date_gmt":"2005-05-10T23:32:09","guid":{"rendered":"http:\/\/www.reactivated.net\/weblog\/archives\/2005\/05\/gamin-fixing-update\/"},"modified":"2005-05-10T23:35:14","modified_gmt":"2005-05-10T23:35:14","slug":"gamin-fixing-update","status":"publish","type":"post","link":"http:\/\/www.reactivated.net\/weblog\/archives\/2005\/05\/gamin-fixing-update\/","title":{"rendered":"Gamin fixing update"},"content":{"rendered":"<p>Ok, so a number of people told me about their gamin problems. Some of these, particularly referencing glitches when unplugging USB, seem to be kernel related instead. For now, please use the icon to unmount the USB disk before you unplug. By the way, I run Linux 2.6.12-rc4 and do not experience any glitches even when unplugging during a file transfer. You might want to try it as perhaps &#8220;live-unplugging&#8221; is safer there.<\/p>\n<p>In a comment, I also mentioned a HAL problem I have: My USB disk only mounts the first time I plugged it in. This is unrelated to gamin, but the <a href=\"https:\/\/dev.cardoe.com\/gentopia\/\">Gentopia<\/a> guys were quick to diagnose it as a HAL 0.4 problem which is solved in HAL 0.5 (present in their overlay). So, if you are experiencing no icon appearing for your USB drive, check with &#8220;mount&#8221; that it has been mounted. If it hasn&#8217;t been mounted, you have the same issue that I do, which is unrelated to gamin.<\/p>\n<p>As for success with the snapshot, well a few people have said it&#8217;s been fine, and a few have pointed me to <a href=\"http:\/\/bugzilla.gnome.org\/show_bug.cgi?id=171201\">GNOME Bug 171201<\/a> where there are some issues described, amongst a lot of confusion of which inotify version to use with which day of gamin CVS. Anyway, I was unfortunate enough to reproduce the issue mentioned there &#8211; namely that my desktop and computer:\/\/ stopped automatically updating &#8211; after restarting the session about 12 times.<\/p>\n<p>You&#8217;ll read on the GNOME bug that gamin debug logs are required to diagnose this sort of thing. So, if you were like me and merged the snapshot ebuild without the <strong>+debug<\/strong> USE flag, then please merge it again now with the flag set. Then kill gam_server and restart your session.<\/p>\n<p>To debug gamin, you just send it the USR2 signal then it logs to a file at <em>\/tmp\/gamin_debug_xxxxxxx<\/em> (it will only do this if you built with USE=&#8221;debug&#8221;):<\/p>\n<blockquote>\n<pre># kill -USR2 $(pidof gam_server)<\/pre>\n<\/blockquote>\n<p>I&#8217;m going to be enabling the debug log (as above) when I start each session from this point onwards, but the GNOME bug suggests it may be sufficient to only enable logging once you spot the breakage.<\/p>\n<p>So, please (re)build with the debug flag, and keep an eye out for any breakage. Thanks for the great response so far.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, so a number of people told me about their gamin problems. Some of these, particularly referencing glitches when unplugging USB, seem to be kernel related instead. For now, please use the icon to unmount the USB disk before you unplug. By the way, I run Linux 2.6.12-rc4 and do not experience any glitches even [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-gentoo"],"_links":{"self":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}