{"id":194,"date":"2012-05-15T10:02:10","date_gmt":"2012-05-15T10:02:10","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=194"},"modified":"2012-05-15T10:02:10","modified_gmt":"2012-05-15T10:02:10","slug":"pi-near-death-experience","status":"publish","type":"post","link":"http:\/\/rglinuxtech.com\/?p=194","title":{"rendered":"Pi &#8211; Near-Death Experience&#8230;"},"content":{"rendered":"<p>My Raspberry Pi had been behaving itself on the &#8216;hardware&#8217; side since I took possession of it, weeks ago.\u00a0\u00a0\u00a0 After reading about limitations of USB connectivity, I obtained a reasonably-priced powered USB hub, with the intention (not surprisingly!) of connecting more things &#8211; including testing the possibility of USB sound..<\/p>\n<p>So&#8230;.\u00a0 I connected the USB hub, and all was well..\u00a0\u00a0 (Re) connected the mouse dongle&#8230;\u00a0 all still OK&#8230;\u00a0\u00a0\u00a0 Connected the USB sound card &#8211; nasty &#8216;hub error&#8217; warnings on the console!<\/p>\n<p>So I did what you would normally do&#8230; disconnected the hub and re-booted the Pi..\u00a0\u00a0\u00a0 But.. all I got was a single red led.. nothing else happened..\u00a0\u00a0\u00a0 Tried re-connecting power (several times) &#8230; still nothing..\u00a0\u00a0\u00a0 Tried booting with a different power supply &#8211; still dead&#8230;\u00a0\u00a0\u00a0 I took out the (Fedora 17) SD Card and put it in the card reader on my main (x86_64) system, and it appeared to mount and display correctly, so no (apparent) corruption there&#8230;<\/p>\n<p>The Pi forum suggested I re-format another SD Card with Debian and try that&#8230;\u00a0\u00a0\u00a0 I was already thinking along those lines, but as I am not a great fan of Debian, I simply used the OpenELEC XBMC build, as it takes up less space, and my spare\/spare SD Card is only 2GB..<\/p>\n<p>Thankfully, this booted OK&#8230;\u00a0\u00a0 So &#8211; at least the Pi wasn&#8217;t completely dead&#8230;<\/p>\n<p>I than examined the contents of the non-booting Fedora card, and found to my surprise that <strong>kernel.img<\/strong> was missing from the boot partition!\u00a0\u00a0\u00a0 This (of course) explains why it would not boot, but how did this happen?\u00a0\u00a0\u00a0 I also noticed that some of the other files had dates of 1\/1\/1980, which was also odd..<\/p>\n<p>So..\u00a0 I copied across a known\/good <strong>kernel.img<\/strong> file, and now everything works OK again.<\/p>\n<p>That still leaves the question of the hub fiasco&#8230;\u00a0\u00a0\u00a0 After more research, it seems that the &#8216;just plug in any phone charger&#8217; advice for the Pi power supply is not good, as many of these are of inferior voltage etc..\u00a0\u00a0 It needs a good 5V supply, or things start to fail..\u00a0\u00a0\u00a0\u00a0 I had tried several different phone chargers, but now use a 5V &#8211; to &#8211; USB power adaptor &#8211; the kind that has a USB slot in it..\u00a0\u00a0\u00a0 This seems to work OK, but the hub still gives errors as soon as I try to plug the USB sound card in..<\/p>\n<p>I should mention that this combination works just fine on my other Linux systems, with no errors&#8230;<\/p>\n<p>The conclusion &#8211; so far &#8211; is that the Pi is rather <em>fragile<\/em> when it comes to power supplies and USB connectivity, and in some cases problems with these can cause the network link to fail as well, as the Ethernet adapter is actually an (internal) USB device..<\/p>\n<p>So &#8211; now I need to dig out my trusty old circuit tester, and check all those voltages!\u00a0\u00a0\u00a0 More to come, soon&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Raspberry Pi had been behaving itself on the &#8216;hardware&#8217; side since I took possession of it, weeks ago.\u00a0\u00a0\u00a0 After reading about limitations of USB connectivity, I obtained a reasonably-priced powered USB hub, with the intention (not surprisingly!) of connecting more things &#8211; including testing the possibility of USB sound.. So&#8230;.\u00a0 I connected the USB hub, and <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"http:\/\/rglinuxtech.com\/?p=194\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6,11,14,19,21],"tags":[128,150,304,313,332,368,389],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-crash-and-burn","category-hacks","category-kernel","category-opinion","category-raspberry-pi","tag-corruption","tag-failures","tag-power-supply","tag-raspberry-pi-2","tag-sd-card","tag-troubleshooting","tag-usb-hub"],"_links":{"self":[{"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=194"}],"version-history":[{"count":0,"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/194\/revisions"}],"wp:attachment":[{"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}