I hope this is the right place to ask for help!
I am really having to teach myself Linux (and raspberry pi) and have in the past, generally follow the 'recipes' (howtos) posted by others. Of course the raspberry pi is breaking new ground and having used Asterisk and FreePBX (open source SIP/IAX based telephony PBX) on i386 systems in the past, I have recently been experimenting with an image for "incrediblepi", based on asterisk and FreePBX which is distributed by nerd vittles: http://nerdvittles.com/?p=3026
I have put the image onto a SanDisk 32Gb Class 4 card without too many problems, except I experienced some apparently random freezes. Looking into this a bit further, whenever I run apt-get or dpkg (with a view to installing additional utilities such as webmin) the Pi keeps crashing during the unpacking phase and rebooting.
I suspect the SD card may be responsible, but have run several tests in accordance with other guidance in this forum regarding SD card issues and cannot find anything obvious. Read / Write benchmarks seem to be reasonable and in line with other cards reported.
The kernel is (ostensibly) the latest kernel and I have also updated it to ensure that it really is.
- Code: Select all
uname -a
Linux incrediblepbx 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l GNU/Linux
To try and further my own knowledge, I have tried to look up some tools to start debugging the cause for this and some very good guidance is to be found within "The Crash Book" http://www.dedoimedo.com. However it would appear that in order to run crash analyisis utilities such as LKCD or Kdump, will require the kernel to be re-compiled in a very specific way in order to capture the memory after a crash.
To start with it recommends downloading the sources as follows:
- Code: Select all
apt-get source linux-image-$(uname -r)
However, this returns the following error:
- Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for linux-image-3.2.27+
I'm now kind of stuck as to where to go now and I would very much appreciate a nod in the right direction.
Kind regards,
Andy Woolford