<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Adams Bros Blog &#187; Linux</title>
	<atom:link href="http://blog.adamsbros.org/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adamsbros.org</link>
	<description></description>
	<lastBuildDate>Sun, 01 Jan 2012 03:28:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu Sluggish or Slow</title>
		<link>http://blog.adamsbros.org/2011/07/21/ubuntu-sluggish-or-slow/</link>
		<comments>http://blog.adamsbros.org/2011/07/21/ubuntu-sluggish-or-slow/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 00:44:46 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=400</guid>
		<description><![CDATA[I was recently having a problem where my new computer was becoming extremely sluggish while running Ubuntu Linux 11.04.  The keyboard input was very delayed and slow.  The graphics were terribly slow.  Just about everything in the system became very slow.  I've heard reports from similar problems, of complete lockups.  It seemed to be linked [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently having a problem where my new computer was becoming extremely sluggish while running Ubuntu Linux 11.04.  The keyboard input was very delayed and slow.  The graphics were terribly slow.  Just about everything in the system became very slow.  I've heard reports from similar problems, of complete lockups.  It seemed to be linked to when the screensaver was activated, or power management was activated.  But, after having disabled both, and continuing to have problems, I realized that wasn't it.  Keep reading for the solution to my problem; I hope it helps you too.</p>
<p><span id="more-400"></span></p>
<p>I searched Google to no avail.  I was completely unable to use the correct search terms to find anything relevant, except to find that others were having the same problems.  But, I found no solutions in any of the posts I found, or even hints of how to diagnose such a thing.  So, I finally decided that I should be a programmer instead of a user.  After all, I moved to Ubuntu so that I could be a user; I don't really have the time to be tinkering with my system these days.</p>
<p>My new system is made up of the following core components</p>
<ul>
<li>ASUS P8P67 EVO motherboard</li>
<li>I7 2600k</li>
<li>eVGA GeForce GTX 460 video card</li>
</ul>
<p>So, after having put on my programmers cap, I decided to go fishing.  Obviously the first place I looked was /var/log/syslog.  In there, I found the following...</p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">Jul 20 21:56:39 tda-desktop kernel: [ 9607.079961] eth0: no IPv6 routers present
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800384] irq 16: nobody cared (try booting with the &quot;irqpoll&quot; option)
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800386] Pid: 0, comm: swapper Tainted: P            2.6.38-10-generic #46-Ubuntu
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800387] Call Trace:
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800389]  &lt;IRQ&gt;  [&lt;ffffffff810d51ab&gt;] ? __report_bad_irq.clone.2+0x2b/0xa0
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800395]  [&lt;ffffffff810d55aa&gt;] ? note_interrupt+0x19a/0x1e0
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800396]  [&lt;ffffffff810d649d&gt;] ? handle_fasteoi_irq+0xdd/0x110
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800399]  [&lt;ffffffff8100e9c2&gt;] ? handle_irq+0x22/0x40
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800402]  [&lt;ffffffff815cb33d&gt;] ? do_IRQ+0x5d/0xe0
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800404]  [&lt;ffffffff815c3693&gt;] ? ret_from_intr+0x0/0x15
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800405]  &lt;EOI&gt;  [&lt;ffffffff81336c8a&gt;] ? intel_idle+0xca/0x120
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800409]  [&lt;ffffffff81336c69&gt;] ? intel_idle+0xa9/0x120
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800411]  [&lt;ffffffff814a3e5a&gt;] ? cpuidle_idle_call+0xaa/0x1b0
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800414]  [&lt;ffffffff8100a266&gt;] ? cpu_idle+0xa6/0xf0
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800416]  [&lt;ffffffff815a94d5&gt;] ? rest_init+0x75/0x80
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800418]  [&lt;ffffffff81acac90&gt;] ? start_kernel+0x3f5/0x400
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800421]  [&lt;ffffffff81aca388&gt;] ? x86_64_start_reservations+0x132/0x136
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800423]  [&lt;ffffffff81aca45d&gt;] ? x86_64_start_kernel+0xd1/0xe0
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800424] handlers:
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800425] [&lt;ffffffffa0698e90&gt;] (nv_kern_isr+0x0/0x80 [nvidia])
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800526] [&lt;ffffffffa0c66020&gt;] (rtl8169_interrupt+0x0/0x250 [r8169])
Jul 20 21:57:06 tda-desktop kernel: [ 9633.800529] Disabling IRQ #16</pre></div></div>

<p>As you can see, two drivers are in use on IRQ 16; the nvidia and rtl8169 drivers.  I ended up doing some more analysis by running lspci -v, which resulted in finding that my USB 3.0 devices, my rtl8169 ethernet chip, and my nVidia GTX 460 were all using the same interrupt (IRQ 16).  Normally sharing IRQs isn't so bad, so I'm thinking one or more of the drivers has a bug that occurs during idle times.</p>
<p>So, the thought came to me to restart my ethernet interface.  After doing that, my system was back to normal until the next time it happened.  Seeing that my motherboard has two ethernet interfaces, I plan on disabling the RealTek one, and activating the intel one, and see if that resolves it permanently.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2011/07/21/ubuntu-sluggish-or-slow/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slow SSH Login</title>
		<link>http://blog.adamsbros.org/2011/07/16/slow-ssh-login/</link>
		<comments>http://blog.adamsbros.org/2011/07/16/slow-ssh-login/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 17:56:51 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=364</guid>
		<description><![CDATA[I had slow login problems with my SSH server for many months, and never bothered to try and fix it.  Finally I got sick of it, and enabled verbose mode.  I noticed it was doing public key authentication, GSSAPI authentication, and then password.  The authentication would fail on public key, then the [...]]]></description>
			<content:encoded><![CDATA[<p>I had slow login problems with my SSH server for many months, and never bothered to try and fix it.  Finally I got sick of it, and enabled verbose mode.  I noticed it was doing public key authentication, GSSAPI authentication, and then password.  The authentication would fail on public key, then the GSSAPI authentication would sit there for a long time, before moving on to password authentication.</p>
<p>Add the following to your /etc/ssh/sshd_config</p>
<pre>GSSAPIAuthentication no
GSSAPICleanupCredentials no</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2011/07/16/slow-ssh-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asus Transformer Android 3.1 Contacts Force Close</title>
		<link>http://blog.adamsbros.org/2011/07/09/asus-transformer-android-3-1-contacts-force-close/</link>
		<comments>http://blog.adamsbros.org/2011/07/09/asus-transformer-android-3-1-contacts-force-close/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 19:59:12 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=349</guid>
		<description><![CDATA[I just bought an ASUS Transformer TF101.  I set everything up, and suddenly found that my contacts manager application from Google was crashing with a "Force Close" button.  I was very upset about that, so I tried to rectify it.  I was getting the following error...

The process android.process.acore has stopped unexpectedly. Please try again.

First I [...]]]></description>
			<content:encoded><![CDATA[<p>I just bought an ASUS Transformer TF101.  I set everything up, and suddenly found that my contacts manager application from Google was crashing with a "Force Close" button.  I was very upset about that, so I tried to rectify it.  I was getting the following error...</p>
<ul>
<li>The process android.process.acore has stopped unexpectedly. Please try again.</li>
</ul>
<p><span id="more-349"></span>First I tried some suggestions to wipe the contact data by going into Settings-&gt;Application-&gt;Manage applications-&gt;All and then to force stop and wipe the data of the "Contacts" and "Contacts Storage" applications.  This made the application sync the data from gmail again.  I opened the contacts, and watched the data being synced live, and then suddenly a "Force Close" button pops up once again.</p>
<p>Then I decided to investigate using the "adb logcat" command using the Android Development environment.  This resulted in the stack trace at the bottom of this page.  This clued me in that there was something wrong with my contacts with photos.  So, I went to gmail, removed all my photos from my contacts, and synced.  This did not resolve the issue, but I was watching from within the contacts application, as the contacts were syncing, and saw that it was also showing my twitter contacts, with photos.  Suddenly, the force close box came up again.</p>
<p>So, I simply uninstalled twitter, and all is now fine.  I hope this helps someone resolve their issue.</p>
<pre style="padding-left: 30px;">E/AndroidRuntime( 8243): FATAL EXCEPTION: main
E/AndroidRuntime( 8243): java.lang.NullPointerException: key == null || value == null
E/AndroidRuntime( 8243): 	at android.util.LruCache.put(LruCache.java:146)
E/AndroidRuntime( 8243): 	at com.android.contacts.ContactPhotoManagerImpl.loadCachedPhoto(ContactPhotoManager.java:291)
E/AndroidRuntime( 8243): 	at com.android.contacts.ContactPhotoManagerImpl.loadPhotoByIdOrUri(ContactPhotoManager.java:248)
E/AndroidRuntime( 8243): 	at com.android.contacts.ContactPhotoManagerImpl.loadPhoto(ContactPhotoManager.java:232)
E/AndroidRuntime( 8243): 	at com.android.contacts.list.ContactListAdapter.bindPhoto(ContactListAdapter.java:256)
E/AndroidRuntime( 8243): 	at com.android.contacts.list.DefaultContactListAdapter.bindView(DefaultContactListAdapter.java:224)
E/AndroidRuntime( 8243): 	at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:392)
E/AndroidRuntime( 8243): 	at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:341)
E/AndroidRuntime( 8243): 	at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)
E/AndroidRuntime( 8243): 	at android.widget.AbsListView.obtainView(AbsListView.java:1970)
E/AndroidRuntime( 8243): 	at android.widget.ListView.makeAndAddView(ListView.java:1756)
E/AndroidRuntime( 8243): 	at android.widget.ListView.fillDown(ListView.java:656)
E/AndroidRuntime( 8243): 	at android.widget.ListView.fillSpecific(ListView.java:1314)
E/AndroidRuntime( 8243): 	at android.widget.ListView.layoutChildren(ListView.java:1587)
E/AndroidRuntime( 8243): 	at com.android.contacts.widget.AutoScrollListView.layoutChildren(AutoScrollListView.java:65)
E/AndroidRuntime( 8243): 	at android.widget.AbsListView.onLayout(AbsListView.java:1800)
E/AndroidRuntime( 8243): 	at com.android.contacts.widget.PinnedHeaderListView.onLayout(PinnedHeaderListView.java:125)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at com.android.contacts.widget.InterpolatingLayout.onLayout(InterpolatingLayout.java:309)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)
E/AndroidRuntime( 8243): 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
E/AndroidRuntime( 8243): 	at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): 	at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): 	at android.view.ViewRoot.performTraversals(ViewRoot.java:1259)
E/AndroidRuntime( 8243): 	at android.view.ViewRoot.handleMessage(ViewRoot.java:2009)
E/AndroidRuntime( 8243): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8243): 	at android.os.Looper.loop(Looper.java:132)
E/AndroidRuntime( 8243): 	at android.app.ActivityThread.main(ActivityThread.java:4025)
E/AndroidRuntime( 8243): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8243): 	at java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime( 8243): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 8243): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 8243): 	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  143):   Force finishing activity com.android.contacts/.activities.ContactBrowserActivity</pre>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">E/AndroidRuntime( 8243): FATAL EXCEPTION: main<br />
E/AndroidRuntime( 8243): java.lang.NullPointerException: key == null || value == null<br />
E/AndroidRuntime( 8243):     at android.util.LruCache.put(LruCache.java:146)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.ContactPhotoManagerImpl.loadCachedPhoto(ContactPhotoManager.java:291)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.ContactPhotoManagerImpl.loadPhotoByIdOrUri(ContactPhotoManager.java:248)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.ContactPhotoManagerImpl.loadPhoto(ContactPhotoManager.java:232)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.list.ContactListAdapter.bindPhoto(ContactListAdapter.java:256)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.list.DefaultContactListAdapter.bindView(DefaultContactListAdapter.java:224)<br />
E/AndroidRuntime( 8243):     at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:392)<br />
E/AndroidRuntime( 8243):     at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:341)<br />
E/AndroidRuntime( 8243):     at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)<br />
E/AndroidRuntime( 8243):     at android.widget.AbsListView.obtainView(AbsListView.java:1970)<br />
E/AndroidRuntime( 8243):     at android.widget.ListView.makeAndAddView(ListView.java:1756)<br />
E/AndroidRuntime( 8243):     at android.widget.ListView.fillDown(ListView.java:656)<br />
E/AndroidRuntime( 8243):     at android.widget.ListView.fillSpecific(ListView.java:1314)<br />
E/AndroidRuntime( 8243):     at android.widget.ListView.layoutChildren(ListView.java:1587)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.widget.AutoScrollListView.layoutChildren(AutoScrollListView.java:65)<br />
E/AndroidRuntime( 8243):     at android.widget.AbsListView.onLayout(AbsListView.java:1800)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.widget.PinnedHeaderListView.onLayout(PinnedHeaderListView.java:125)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at com.android.contacts.widget.InterpolatingLayout.onLayout(InterpolatingLayout.java:309)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at android.widget.FrameLayout.onLayout(FrameLayout.java:400)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at android.widget.FrameLayout.onLayout(FrameLayout.java:400)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)<br />
E/AndroidRuntime( 8243):     at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at android.widget.FrameLayout.onLayout(FrameLayout.java:400)<br />
E/AndroidRuntime( 8243):     at android.view.View.layout(View.java:9588)<br />
E/AndroidRuntime( 8243):     at android.view.ViewGroup.layout(ViewGroup.java:3877)<br />
E/AndroidRuntime( 8243):     at android.view.ViewRoot.performTraversals(ViewRoot.java:1259)<br />
E/AndroidRuntime( 8243):     at android.view.ViewRoot.handleMessage(ViewRoot.java:2009)<br />
E/AndroidRuntime( 8243):     at android.os.Handler.dispatchMessage(Handler.java:99)<br />
E/AndroidRuntime( 8243):     at android.os.Looper.loop(Looper.java:132)<br />
E/AndroidRuntime( 8243):     at android.app.ActivityThread.main(ActivityThread.java:4025)<br />
E/AndroidRuntime( 8243):     at java.lang.reflect.Method.invokeNative(Native Method)<br />
E/AndroidRuntime( 8243):     at java.lang.reflect.Method.invoke(Method.java:491)<br />
E/AndroidRuntime( 8243):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)<br />
E/AndroidRuntime( 8243):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)<br />
E/AndroidRuntime( 8243):     at dalvik.system.NativeStart.main(Native Method)<br />
W/ActivityManager(  143):   Force finishing activity com.android.contacts/.activities.ContactBrowserActivity</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2011/07/09/asus-transformer-android-3-1-contacts-force-close/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tcpdfilter &#8211; tcpdump filter</title>
		<link>http://blog.adamsbros.org/2010/11/10/tcpdfilter-tcpdump-filter/</link>
		<comments>http://blog.adamsbros.org/2010/11/10/tcpdfilter-tcpdump-filter/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 00:47:53 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=288</guid>
		<description><![CDATA[To anyone looking for this page.  I noticed that some people had searched for my tcpdfilter program as recent as 2007.  I had assumed that fresh meat would keep it around forever, so I just left it there, and forgot about it.  Seeing it is now gone, I got to thinking, and [...]]]></description>
			<content:encoded><![CDATA[<p>To anyone looking for this page.  I noticed that some people had searched for my tcpdfilter program as recent as 2007.  I had assumed that fresh meat would keep it around forever, so I just left it there, and forgot about it.  Seeing it is now gone, I got to thinking, and it's possible there's people out there that might have really old systems that they still need to support, via network debugging of some sort.  If you have a more recent system, tcpdump will output hex and ascii, if that's all you need.  Or, if you need packet decoding capability then ethereal or wireshark may be better choices for you.  Still kicking myself for not making a GUI packet decoder like ethereal.  ethereal came out relatively shortly after I wrote tcpdfilter. <img src='http://blog.adamsbros.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>So, if you are still looking for it, let me know, and I can scrounge up the source for you.  I do have it on my system.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2010/11/10/tcpdfilter-tcpdump-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu won&#8217;t boot raided root</title>
		<link>http://blog.adamsbros.org/2010/08/14/ubuntu-wont-boot-raided-root/</link>
		<comments>http://blog.adamsbros.org/2010/08/14/ubuntu-wont-boot-raided-root/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 07:07:44 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=281</guid>
		<description><![CDATA[Well, I've had a lot of trouble switching my system from LVM, to RAID1+LVM on ubuntu 10.04.  I got another drive for my system, created a mirror with one drive (temporarily of course) asked lvm to move my entire system over to that physical device, added the previous drive to the raid array, and rebooted [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I've had a lot of trouble switching my system from LVM, to RAID1+LVM on ubuntu 10.04.  I got another drive for my system, created a mirror with one drive (temporarily of course) asked lvm to move my entire system over to that physical device, added the previous drive to the raid array, and rebooted (oops).  I am listing a few things that are important to know when you're both new to Ubuntu, and doing raid post installation of Ubuntu.</p>
<p><span id="more-281"></span>First and foremost, it is very important that you realize the need to run both <strong>update-initramfs</strong> and <strong>update-grub</strong>.  update-grub re-configures grub based on your current system configuration.  Things like where /boot resides,  and things of that nature, will be automagically updated in the grub configuration by running update-grub.  update-initramfs takes care of any booting issues you might have post grub, such as raid.  So, any time you make a system change that might affect booting, run these commands before rebooting (thanks to Jordan_U on irc.freenode.org for tips)...</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">update-grub
update-initramfs <span style="color: #660033;">-ck</span> all <span style="color: #666666; font-style: italic;"># all kernels and create (not update) the initramfs.</span></pre></div></div>

<p>In the event of changing your /boot fs to another location, you should run the following as well.  Thanks again to Jordan_U.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dpkg-reconfigure grub-pc</pre></div></div>

<p>This ensure that</p>
<ol>
<li>You can configure the devices that grub will install to</li>
<li>Ubuntu is aware of proper system configurations, for when upgrades occurs and what not, so that it doesn't write the improper grub.cfg</li>
<li>update-grub is run automatically</li>
<li>installs grub to the devices configured</li>
</ol>
<p>Now, the particular problem I was having, even though I was running the above commands, is that I kept getting dropped to a shell, with an error that said "<strong>ALERT! /dev/mapper/sys-ubuntu does not exist. Dropping to a shell</strong>".   So, as we can see, it was not finding my lvm root system.  So, the big question is "Why?"  Well, after poking around the system a bit, to find out what update-initramfs was doing, I found a file in<em><strong> /usr/share/initramfs-tools/hooks/mdadm</strong></em> that was copying <em><strong>/etc/mdadm/mdadm.conf</strong></em> verbatim to the initramfs.  Well, it's supposed to "auto detect" my raid arrays, with that configuration, but it doesn't.  So, the way I fixed it was to run the following commands...</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mdadm <span style="color: #660033;">--detail</span> <span style="color: #660033;">--scan</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mdadm<span style="color: #000000; font-weight: bold;">/</span>mdadm.conf
update-initramfs <span style="color: #660033;">-ck</span> all</pre></div></div>

<p>I then rebooted, and my system was very happy, and booted up very quickly. I have since filed a <a title="post installation handling of raid devices on boot - bug 617725" href="https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/617725">bug report</a> on ubuntu's launchpad.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2010/08/14/ubuntu-wont-boot-raided-root/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Removing spaces from filenames</title>
		<link>http://blog.adamsbros.org/2010/06/13/removing-spaces-from-filenames/</link>
		<comments>http://blog.adamsbros.org/2010/06/13/removing-spaces-from-filenames/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 03:38:08 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=275</guid>
		<description><![CDATA[If you use bash under unix, Linux, or Mac OS X, and you're continually forgetting how to convert filenames with spaces to filenames without spaces, then look no further.
I use dash (-) for the final space replacement, as it looks sharp IMO.

find ./ -name '* *' -type f -print0 &#124; \
while IFS= read -r -d [...]]]></description>
			<content:encoded><![CDATA[<p>If you use bash under unix, Linux, or Mac OS X, and you're <strong>continually</strong> forgetting how to convert filenames with spaces to filenames without spaces, then look no further.<span id="more-275"></span></p>
<p>I use dash (-) for the final space replacement, as it looks sharp IMO.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'* *'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-print0</span> <span style="color: #000000; font-weight: bold;">|</span> \
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #007800;">IFS</span>= <span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-r</span> <span style="color: #660033;">-d</span> $<span style="color: #ff0000;">'\0'</span> <span style="color: #c20cb9; font-weight: bold;">file</span>; <span style="color: #000000; font-weight: bold;">do</span> 
 <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$file</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${file// /-}</span>&quot;</span>; 
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>I figured if it takes me a few minutes each time to figure it out, it's worth documenting.  And, if it's worth documenting, it's worth sharing with others.  I hope this was useful.  If it is, please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2010/06/13/removing-spaces-from-filenames/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safe Shrinking of ext3 LVM volumes</title>
		<link>http://blog.adamsbros.org/2010/01/11/safe-shrinking-of-lvm-volumes/</link>
		<comments>http://blog.adamsbros.org/2010/01/11/safe-shrinking-of-lvm-volumes/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 08:53:55 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[LVM]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=102</guid>
		<description><![CDATA[When shrinking your LVM volumes, it is important to do it safely.  I will show you how I like to do that here.
Shrinking
Shrinking an ext3 volume is fairly straight forward, but it's important you don't mount your drive and start doing stuff, before you verify everything worked correctly.

e2fsck -f /dev/vg/lv1
resize2fs -p /dev/vg/lv1 ###G
e2fsck /dev/vg/lv1
lvresize -L [...]]]></description>
			<content:encoded><![CDATA[<p>When shrinking your LVM volumes, it is important to do it safely.  I will show you how I like to do that here.</p>
<h3><span id="more-102"></span>Shrinking</h3>
<p>Shrinking an ext3 volume is fairly straight forward, but it's important you don't mount your drive and start doing stuff, before you verify everything worked correctly.</p>
<ol>
<li>e2fsck -f /dev/vg/lv1</li>
<li>resize2fs -p /dev/vg/lv1 ###G</li>
<li>e2fsck /dev/vg/lv1</li>
<li>lvresize -L ###G /dev/vg/lv1</li>
<li>e2fsck /dev/vg/lv1</li>
</ol>
<p>Step #5 is the most important step; as steps 1-3 will not have any problems unless you have a system failure, a corrupted file system to start with, disk failure, or hardware failure.  Step 5 however, could be due to sys-admin error, from shrinking the LVM volume too much.  If you receive an error similar to the following, then you probably shrunk the volume too much, and your file system is not completely accessible.</p>
<blockquote>
<pre>e2fsck 1.41.9 (22-Aug-2009)
The filesystem size (according to the superblock) is 113634135 blocks
The physical size of the device is 112197632 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort&lt;y&gt;? cancelled!</pre>
</blockquote>
<p>If the error is due to shrinking too far, then this is easy to recover from; simply do another <strong>lvresize</strong>, with a large size specified, and do another <strong>e2fsck</strong> afterward.</p>
<p>Generally speaking, you should make the LVM maybe 2% or so larger than the file system was reduced to, so that there's room for file system overhead.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2010/01/11/safe-shrinking-of-lvm-volumes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel WIFI 5300 AGN Unknown error 132</title>
		<link>http://blog.adamsbros.org/2009/12/20/intel-wifi-5300-agn-unknown-error-132/</link>
		<comments>http://blog.adamsbros.org/2009/12/20/intel-wifi-5300-agn-unknown-error-132/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 01:39:07 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=100</guid>
		<description><![CDATA[See comments for latest updates
Recently I started having problems with my Intel Corporation PRO/Wireless 5300 AGN card.  It simply quit working after I did a kernel upgrade.  It was giving errors like "Unknown error 132", and "deauthenticated (Reason: 9)".  The hardware switch did not seem to affect it, and the errors were the same whether [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">See comments for latest updates</span></p>
<p>Recently I started having problems with my Intel Corporation PRO/Wireless 5300 AGN card.  It simply quit working after I did a kernel upgrade.  It was giving errors like "Unknown error 132", and "deauthenticated (Reason: 9)".  The hardware switch did not seem to affect it, and the errors were the same whether I had the switch on, or off; so I'm assuming it had to do with the hardware not being initialized properly when the module loaded.</p>
<p><span id="more-100"></span>I'm using gentoo linux, and I had previously been using kernel "2.6.30-gentoo-r5".  when I upgraded to "2.6.31-gentoo-r6", my system started having trouble with the Intel Wifi.  I was getting errors like the following.</p>
<blockquote>
<pre>tdanotebook ~ # /etc/init.d/net.wlan0 restart
* Stopping wlan0
*   Bringing down wlan0
*     Shutting down wlan0 ...                                    [ ok ]
*     Stopping wpa_cli on wlan0 ...                              [ ok ]
*     Stopping wpa_supplicant on wlan0 ...                       [ ok ]
* Starting wlan0
RTNETLINK answers: Unknown error 132
RTNETLINK answers: Unknown error 132
*   Starting wpa_supplicant on wlan0 ...                         [ ok ]
*   Starting wpa_cli on wlan0 ...                                [ ok ]
*     Backgrounding ...

/var/log/messages
Dec 20 15:20:04 tdanotebook kernel: wlan0: direct probe to AP 00:1f:f3:c3:88:b4 try 1
Dec 20 15:20:04 tdanotebook kernel: wlan0 direct probe responded
Dec 20 15:20:04 tdanotebook kernel: wlan0: authenticate with AP 00:1f:f3:c3:88:b4
Dec 20 15:20:04 tdanotebook kernel: wlan0: authenticated
Dec 20 15:20:04 tdanotebook kernel: wlan0: associate with AP 00:1f:f3:c3:88:b4
Dec 20 15:20:05 tdanotebook kernel: wlan0: associate with AP 00:1f:f3:c3:88:b4
Dec 20 15:20:05 tdanotebook kernel: wlan0: deauthenticated (Reason: 9)
Dec 20 15:20:05 tdanotebook kernel: wlan0: deauthenticating by local choice (reason=3)</pre>
</blockquote>
<p>So, I decided to try the latest unmasked vanilla kernel "2.6.31.6", and everything just started working.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2009/12/20/intel-wifi-5300-agn-unknown-error-132/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gentoo Portage Python Update issues</title>
		<link>http://blog.adamsbros.org/2009/12/05/gentoo-portage-python-update-issues/</link>
		<comments>http://blog.adamsbros.org/2009/12/05/gentoo-portage-python-update-issues/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 02:47:49 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=96</guid>
		<description><![CDATA[I have been having some gentoo portage problems due to my system being out of sync.  When I finally updated a month or two later, it simply wasn't working.  I was getting an error like the following...

Performing Global Updates: /usr/portage/profiles/updates/3Q-2009
(Could take a couple of minutes if you have a lot of binary packages.)
 [...]]]></description>
			<content:encoded><![CDATA[<p>I have been having some gentoo portage problems due to my system being out of sync.  When I finally updated a month or two later, it simply wasn't working.  I was getting an error like the following...</p>
<blockquote>
<pre>Performing Global Updates: /usr/portage/profiles/updates/3Q-2009
(Could take a couple of minutes if you have a lot of binary packages.)
 .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
 s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
 p='update /etc/portage/package.*'
......................................................                    

Performing Global Updates: /usr/portage/profiles/updates/4Q-2009
(Could take a couple of minutes if you have a lot of binary packages.)
 .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
 s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
 p='update /etc/portage/package.*'
..................
Traceback (most recent call last):
 File "/usr/bin/emerge", line 40, in &lt;module&gt;
 retval = emerge_main()
 File "/usr/lib64/portage/pym/_emerge/main.py", line 1328, in emerge_main
 return action_sync(settings, trees, mtimedb, myopts, myaction)
 File "/usr/lib64/portage/pym/_emerge/actions.py", line 2173, in action_sync
 if portage._global_updates(trees, mtimedb["updates"]):
 File "/usr/lib64/portage/pym/portage/__init__.py", line 8572, in _global_updates
 moves = bindb.move_ent(update_cmd)
 File "/usr/lib64/portage/pym/portage/dbapi/bintree.py", line 273, in move_ent
 mytbz2.recompose_mem(portage.xpak.xpak_mem(mydata))
 File "/usr/lib64/portage/pym/portage/xpak.py", line 106, in xpak_mem
 indexglob=indexglob+encodeint(len(x))+x+encodeint(datapos)+encodeint(mydatasize)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 49: ordinal not in range(128)</pre>
</blockquote>
<p><span id="more-96"></span>The solution is simple, but not necessarily easy to think of.  All that needs to be done is to move the 4Q-2009 and 3Q-2009 files somehwere else, and then update python/portage.</p>
<pre>[19:31 root@joseph updates] # eselect python list                    
Available python interpreters:                                       
 [1]   python2.4                                                    
 [2]   python2.5 *                                                  
 [3]   python2.6                                                    
[19:31 root@joseph updates] # eselect python set 3
[19:35 root@joseph updates] # emerge -1 portage</pre>
<p>Then, move the 4Q-2009 and 3Q-2009 back to the proper locations, and everything should be working.  Next, it's probably good to do a "python-updater -p", followed by your world update.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2009/12/05/gentoo-portage-python-update-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HDA Intel Alsa volume low</title>
		<link>http://blog.adamsbros.org/2009/08/23/hda-intel-alsa-volume-low/</link>
		<comments>http://blog.adamsbros.org/2009/08/23/hda-intel-alsa-volume-low/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 05:52:31 +0000</pubDate>
		<dc:creator>Trenton</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.adamsbros.org/?p=91</guid>
		<description><![CDATA[I've been having a problem where the volume level of my Dell Studio 17 notebook is just not loud enough when I'm running Linux.  I went to windows, to see if the problem was the same there, and I found that the volume in Windows Vista was way higher.  So, I booted back into Linux, [...]]]></description>
			<content:encoded><![CDATA[<p>I've been having a problem where the volume level of my Dell Studio 17 notebook is just not loud enough when I'm running Linux.  I went to windows, to see if the problem was the same there, and I found that the volume in Windows Vista was way higher.  So, I booted back into Linux, and started googling.</p>
<p>I quickly found a few places that talked about setting the model to 3stack, and various other options.  But, none of that worked for me.  So, I decided to search for the problem on my own.  I ended up checking out the alsamixer again, from the command line.  Last time I checked, I saw that the "Speaker" volume was set to about two thirds, but I had thought that was referring to the volume of the PC Speaker, as on many sound cards, it is actually an option.  As it is, that is actually the volume of the external speaker.  Once you pump that puppy up to 100% the volume level is good.  From there, you can simply adjust the master or PCM volumes as you choose.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adamsbros.org/2009/08/23/hda-intel-alsa-volume-low/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

