<?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>Nozell, rhymes with Oh Hell &#187; sheevaplug</title>
	<atom:link href="http://nozell.com/blog/tag/sheevaplug/feed/" rel="self" type="application/rss+xml" />
	<link>http://nozell.com/blog</link>
	<description>Marc Nozell's random stuff -- mostly GNU/Linux, technology, genealogy, family</description>
	<lastBuildDate>Tue, 13 Mar 2012 01:18:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>My PlugComputer datacenter</title>
		<link>http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/</link>
		<comments>http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 17:24:11 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[DreamPlug]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[dreamplug]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/</guid>
		<description><![CDATA[.flickr-photo { border: solid 2px #000000; } .flickr-yourcomment { } .flickr-frame { text-align: left; padding: 3px; } .flickr-caption { font-size: 0.8em; margin-top: 0px; } My PlugComputer datacenter, originally uploaded by marcn.]]></description>
			<content:encoded><![CDATA[<style type="text/css">
.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }
</style>
<div class="flickr-frame">
	<a href="http://www.flickr.com/photos/marcn/5619450798/" title="photo sharing"><img src="http://farm6.static.flickr.com/5309/5619450798_0589f5054e.jpg" class="flickr-photo" alt="" /></a><br />
<br />
	<span class="flickr-caption"><a href="http://www.flickr.com/photos/marcn/5619450798/">My PlugComputer datacenter</a>, originally uploaded by <a href="http://www.flickr.com/photos/marcn/">marcn</a>.</span>
</div>
<p class="flickr-yourcomment">
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sshguard on Debian/lenny</title>
		<link>http://nozell.com/blog/2010/03/09/sshguard-on-debianlenny/</link>
		<comments>http://nozell.com/blog/2010/03/09/sshguard-on-debianlenny/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:08:58 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sheevaplug]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshguard]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=807</guid>
		<description><![CDATA[The sshguard documentation is correct, but a little lacking. Here are my notes of what is needed in case I ever need to re-do it: Download sshguard-1.4.tar.gz from http://www.sshguard.net/ Unpack and compile (see the stock documentation on sshguard.net) In /etc/rc.local add the following lines before the &#8220;exit 0&#8243;. This sets up iptables with a filter [...]]]></description>
			<content:encoded><![CDATA[<p>The sshguard documentation is correct, but a little lacking.  </p>
<p>Here are my notes of what is needed in case I ever need to re-do it:</p>
<ul>
<li>Download sshguard-1.4.tar.gz from <a href="http://www.sshguard.net/">http://www.sshguard.net/</a>
</li>
<li>Unpack and compile (see the stock documentation on sshguard.net)</li>
<li>In /etc/rc.local add the following lines before the &#8220;exit 0&#8243;.    This sets up iptables with a filter for ssh connections:
<p><code></p>
<p>iptables -N sshguard</p>
<p>iptables -A INPUT -p tcp --dport 22 -j sshguard</p>
<p></code></p>
<p>You should run those commands before you edit the syslog configuration.  Or reboot.
</li>
<li>
In /etc/syslog-ng/syslog-ng.conf add around line 190 the following lines:</p>
<p><code>                  </p>
<p>filter sshlogs { facility(auth, authpriv) and not match("sshguard"); };</p>
<p>destination sshguardproc {<br />
    program("/usr/local/sbin/sshguard"<br />
        template("$DATE $FULLHOST $MESSAGE\n"));</p>
<p>};<br />
</code></p>
<p>And down near the end of the file, add: </p>
<p><code><br />
log { source(s_all); filter(sshlogs); destination(sshguardproc); };<br />
</code>
</li>
<p>And finally restart syslog-ng (sudo killall -HUP syslog-ng) and read the sshguard faqs: <a href="http://www.sshguard.net/docs/faqs/">http://www.sshguard.net/docs/faqs/</a></p>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2010/03/09/sshguard-on-debianlenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SheevaPlug is now my main home server</title>
		<link>http://nozell.com/blog/2009/06/26/sheevaplug-is-now-my-main-home-server/</link>
		<comments>http://nozell.com/blog/2009/06/26/sheevaplug-is-now-my-main-home-server/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 18:04:40 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[homeserver]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[lordshiva]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=769</guid>
		<description><![CDATA[I&#8217;m finally at the point where the little SheevaPlug can replace the aging Compaq DeskPro EN that has been our main home server. Functions: mail hub network print server scan server mp3 file server system monitor proxy server Here are the detailed steps needed to convert this $99 low power server into something useful: Connect [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally at the point where the little SheevaPlug can replace the aging Compaq DeskPro EN that has been our main home server.</p>
<p>Functions:</p>
<ul>
<li>mail hub</li>
<li>network print server</li>
<li>scan server</li>
<li>mp3 file server</li>
<li>system monitor</li>
<li>proxy server</li>
</ul>
<p>Here are the detailed steps needed to convert this $99 low power server into something useful:</p>
<p><span id="more-769"></span></p>
<p><strong>Connect to the SheevaPlug console</strong></p>
<p>* Connect the mini-USB/USB cable to a handy Linux box<br />
* Load the appropriate kernel module:<br />
<code>sudo modprobe ftdi_sio vendor=0x9e88 product=0x9e8f </code><br />
* Install gtkterm if you don&#8217;t already have it:<br />
<code>apt-get install gtkterm</code><br />
* Configure gtkterm to connect to port /dev/ttyUSB1 (or whatever the SheevaPlug reports as, <code>ls /dev/ttyUSB*</code> to find out)<br />
* Power up and watch the boot</p>
<p>= Start with Martin&#8217;s file system =</p>
<p>See the excellent description of getting the Debian/Lenny filesystem snapshot that Martin Michlmayr has provided:<br />
<a href="http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html">http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html</a></p>
<p>In addition to building an MMC card with the initial Debian file system, also upgrade the firmware to the one provided by user <a href="http://plugcomputer.org/plugforum/index.php?action=profile;u=221">kwonsk</a> at the <a href="http://plugcomputer.org/plugforum/index.php?topic=183.0">PlugComputer.org forum</a>.  You will likely need to install the tftp server somewhere on your network &#8212; <code>apt-get install tftpd</code> and put the u-boot.bin binary in <code>/srv/tftp/</code></p>
<p>= Initial steps =</p>
<p>* Login as root via the console change the root password: <code>passwd<br />
* Note the ip address (</code><code>/sbin/ifconfig eth0</code>ntpdate pool.ntp.org<br />
* Change the ssh keys:<br />
<code><br />
<strong>rm /etc/ssh/ssh_host*</strong><br />
<strong>ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""</strong><br />
Generating public/private dsa key pair.<br />
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.<br />
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.<br />
The key fingerprint is:<br />
b0:25:d2:d8:5c:89:9c:07:bc:94:cf:be:26:d5:ee:66 root@debian<br />
The key's randomart image is:<br />
+--[ DSA 1024]----+<br />
|     o.=..       |<br />
|     =B.o        |<br />
|    o.*=.        |<br />
|     ..=o        |<br />
|      ..S.       |<br />
|        o .      |<br />
|       . o       |<br />
|      . o E      |<br />
|       o +.      |<br />
+-----------------+<br />
<strong>ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""</strong><br />
Generating public/private rsa key pair.<br />
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.<br />
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.<br />
The key fingerprint is:<br />
4f:e4:64:bc:bc:20:5b:3c:7d:8a:5f:b9:70:9c:e2:b5 root@debian<br />
The key's randomart image is:<br />
+--[ RSA 2048]----+<br />
|                 |<br />
|         .       |<br />
|          =      |<br />
|       . B .     |<br />
|      . S * .    |<br />
|       + * = o   |<br />
|      . . * B    |<br />
|         o * o   |<br />
|          o E    |<br />
+-----------------+<br />
</code></p>
<p>* Unless you live in the same region as Martin, change /etc/apt/sources.list to use a closer Debian repository:<br />
<code>perl -pi~ -e 's/ftp.at/ftp.us/' /etc/apt/sources.list</code></p>
<p>* Same with timezone and locale: <code>dpkg-reconfigure tzdata &#038;&#038; dpkg-reconfigure locales</code></p>
<p>* Pick a hostname, I&#8217;m using lordshiva<br />
<code><br />
perl -pi~ -e 's/debian/lordshiva/' /etc/hostname<br />
hostname -F /etc/hostname<br />
</code></p>
<p>* Update/Upgrade<br />
<code>apt-get update &#038;&#038; apt-get upgrade </code></p>
<p>* Add users <code>adduser marc</code>, etc</p>
<p>= Initial tools =</p>
<p>Add openntpd to keep the time in sync</p>
<p><code>apt-get install openntpd<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following NEW packages will be installed:<br />
  openntpd<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 0B/45.7kB of archives.<br />
After this operation, 188kB of additional disk space will be used.<br />
Selecting previously deselected package openntpd.<br />
(Reading database ... 16890 files and directories currently installed.)<br />
Unpacking openntpd (from .../openntpd_3.9p1-7_armel.deb) ...<br />
Processing triggers for man-db ...<br />
Setting up openntpd (3.9p1-7) ...<br />
Starting openntpd: ntpd.<br />
</code></p>
<p>So you don&#8217;t get tempted to use root all the time, get sudo and add appropriate user accounts:</p>
<p><code>apt-get install sudo<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following NEW packages will be installed:<br />
  sudo<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 180kB of archives.<br />
After this operation, 438kB of additional disk space will be used.<br />
Get:1 http://ftp.us.debian.org lenny/main sudo 1.6.9p17-2 [180kB]<br />
Fetched 180kB in 1s (140kB/s)<br />
Selecting previously deselected package sudo.<br />
(Reading database ... 16906 files and directories currently installed.)<br />
Unpacking sudo (from .../sudo_1.6.9p17-2_armel.deb) ...<br />
Processing triggers for man-db ...<br />
Setting up sudo (1.6.9p17-2) ...<br />
No /etc/sudoers found... creating one for you.<br />
lordshiva# <strong>visudo</strong><br />
add a line line this:<br />
<strong>marc    ALL=(ALL) ALL</strong><br />
</code></p>
<p>Log out as root and reconnect as your new username to continue.</p>
<p>= Handy tools =</p>
<p>Install a number of handy tools: emacs (without X), usbutils, telnet, rsync, screen, htop</p>
<p><code><br />
marc@lordshiva:~$ sudo apt-get install emacs22-nox rsync screen htop sudo: unable to resolve host lordshiva</p>
<p>We trust you have received the usual lecture from the local System<br />
Administrator. It usually boils down to these three things:</p>
<p>    #1) Respect the privacy of others.<br />
    #2) Think before you type.<br />
    #3) With great power comes great responsibility.</p>
<p>[sudo] password for marc:<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  emacs22-bin-common emacs22-common emacsen-common libasound2<br />
Suggested packages:<br />
  emacs22-el emacs22-common-non-dfsg libasound2-plugins<br />
The following NEW packages will be installed:<br />
  emacs22-bin-common emacs22-common emacs22-nox emacsen-common htop libasound2 rsync screen<br />
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 18.5MB of archives.<br />
After this operation, 63.9MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>= The avahi daemon =</p>
<p>Avahi is handy on small home networks because it lets you refer to systems with DHCP provided address by name without having to update everyone&#8217;s /etc/hosts file.  eg: ssh lordshiva.local</p>
<p><code>sudo apt-get install avahi-daemon<br />
marc@lordshiva:~$ sudo apt-get install avahi-daemon<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  dbus dbus-x11 libavahi-common-data libavahi-common3 libavahi-core5 libdaemon0 libdbus-1-3 libexpat1 libnss-mdns libx11-6 libx11-data libxau6 libxcb-xlib0 libxcb1<br />
  libxdmcp6<br />
Suggested packages:<br />
  avahi-autoipd<br />
The following NEW packages will be installed:<br />
  avahi-daemon dbus dbus-x11 libavahi-common-data libavahi-common3 libavahi-core5 libdaemon0 libdbus-1-3 libexpat1 libnss-mdns libx11-6 libx11-data libxau6<br />
  libxcb-xlib0 libxcb1 libxdmcp6<br />
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 1721kB of archives.<br />
After this operation, 7250kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?</code></p>
<p>= Making the SheevaPlug a printserver =</p>
<p>I have an hp PSC 1510 All-in-One printer/scanner that I want to share to the other workstations at home.</p>
<p>Install cups which pulls in a ton of other packages as well as the open source print management tools from Hewlett-Packard, hplip</p>
<p><code>marc@lordshiva:~$ sudo apt-get install cups hplip<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  avahi-utils cpp cpp-4.3 cups-client cups-common cupsddk cupsddk-drivers<br />
  defoma fontconfig fontconfig-config foomatic-db foomatic-db-engine<br />
  foomatic-filters gconf2 gconf2-common ghostscript ghostscript-x gksu<br />
  gnome-keyring gs-common gs-esp gsfonts hicolor-icon-theme hpijs hplip-data<br />
  hplip-gui libatk1.0-0 libatk1.0-data libaudio2 libavahi-client3<br />
  libavahi-compat-libdnssd1 libcairo2 libcups2 libcupsimage2 libdatrie0<br />
  libdbus-glib-1-2 libdirectfb-1.0-0 libdrm2 libexif12 libffi5 libfontconfig1<br />
  libfontenc1 libfreetype6 libgconf2-4 libgksu2-0 libgl1-mesa-glx libglade2-0<br />
  libglib2.0-0 libglib2.0-data libglu1-mesa libgmp3c2 libgnome-keyring0<br />
  libgphoto2-2 libgphoto2-port0 libgs8 libgtk2.0-0 libgtk2.0-bin<br />
  libgtk2.0-common libgtop2-7 libgtop2-common libhal-storage1 libhal1 libice6<br />
  libidl0 libieee1284-3 libjpeg62 liblcms1 libltdl3 libmng1 libmpfr1ldbl<br />
  libmysqlclient15off liborbit2 libpam-gnome-keyring libpango1.0-0<br />
  libpango1.0-common libpaper-utils libpaper1 libperl5.10 libpixman-1-0<br />
  libpng12-0 libpoppler3 libqt3-mt libqt4-assistant libqt4-dbus<br />
  libqt4-designer libqt4-help libqt4-network libqt4-qt3support libqt4-script<br />
  libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-webkit libqt4-xml<br />
  libqt4-xmlpatterns libqtcore4 libqtgui4 libsane libsane-extras libsensors3<br />
  libslp1 libsm6 libsnmp-base libsnmp15 libstartup-notification0 libsysfs2<br />
  libtalloc1 libthai-data libthai0 libtiff4 libts-0.0-0 libwbclient0<br />
  libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1<br />
  libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1<br />
  libxrandr2 libxrender1 libxt6 libxxf86vm1 mysql-common openssl<br />
  openssl-blacklist poppler-utils psfontmgr psmisc python-dbus<br />
  python-elementtree python-gobject python-imaging python-qt3 python-qt4<br />
  python-qt4-common python-reportlab python-sip4 python-support qt4-qtconfig<br />
  samba-common sane-utils smbclient ssl-cert ttf-bitstream-vera ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-dustin x-ttcidfont-conf x11-common<br />
  xauth xfonts-encodings xfonts-utils<br />
Suggested packages:<br />
  cpp-doc gcc-4.3-locales cups-bsd cups-driver-gutenprint xpdf-korean<br />
  xpdf-japanese xpdf-chinese-traditional xpdf-chinese-simplified cups-pdf<br />
  kdeprint gtklp cups-pt xpp defoma-doc dfontmgr foomatic-db-hpijs<br />
  foomatic-db-gutenprint foo2zjs cupsys foomatic-gui hpijs-ppds hplip-doc<br />
  openprinting-ppds nas libfreetype6-dev gphoto2 gtkam librsvg2-common<br />
  liblcms-utils ttf-kochi-gothic ttf-kochi-mincho ttf-thryomanes ttf-baekmuk<br />
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp<br />
  ttf-arphic-bkai00mp libqt3-mt-mysql libqt3-mt-odbc libqt3-mt-psql libqt4-dev<br />
  hpoj lm-sensors slpd openslp-doc ca-certificates python-dbus-dbg<br />
  python-dbus-doc python-elementtree-doc python-gobject-dbg python-imaging-doc<br />
  python-imaging-dbg python-qt3-doc python-qt3-gl python-qt4-dbg pdf-viewer<br />
  python-egenix-mxtexttools python-reportlab-doc unpaper smbfs<br />
Recommended packages:<br />
  libft-perl cupsys-client lpr lprng pdq rlpr python-renderpm<br />
The following NEW packages will be installed:<br />
  avahi-utils cpp cpp-4.3 cups cups-client cups-common cupsddk cupsddk-drivers<br />
  defoma fontconfig fontconfig-config foomatic-db foomatic-db-engine<br />
  foomatic-filters gconf2 gconf2-common ghostscript ghostscript-x gksu<br />
  gnome-keyring gs-common gs-esp gsfonts hicolor-icon-theme hpijs hplip<br />
  hplip-data hplip-gui libatk1.0-0 libatk1.0-data libaudio2 libavahi-client3<br />
  libavahi-compat-libdnssd1 libcairo2 libcups2 libcupsimage2 libdatrie0<br />
  libdbus-glib-1-2 libdirectfb-1.0-0 libdrm2 libexif12 libffi5 libfontconfig1<br />
  libfontenc1 libfreetype6 libgconf2-4 libgksu2-0 libgl1-mesa-glx libglade2-0<br />
  libglib2.0-0 libglib2.0-data libglu1-mesa libgmp3c2 libgnome-keyring0<br />
  libgphoto2-2 libgphoto2-port0 libgs8 libgtk2.0-0 libgtk2.0-bin<br />
  libgtk2.0-common libgtop2-7 libgtop2-common libhal-storage1 libhal1 libice6<br />
  libidl0 libieee1284-3 libjpeg62 liblcms1 libltdl3 libmng1 libmpfr1ldbl<br />
  libmysqlclient15off liborbit2 libpam-gnome-keyring libpango1.0-0<br />
  libpango1.0-common libpaper-utils libpaper1 libperl5.10 libpixman-1-0<br />
  libpng12-0 libpoppler3 libqt3-mt libqt4-assistant libqt4-dbus<br />
  libqt4-designer libqt4-help libqt4-network libqt4-qt3support libqt4-script<br />
  libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-webkit libqt4-xml<br />
  libqt4-xmlpatterns libqtcore4 libqtgui4 libsane libsane-extras libsensors3<br />
  libslp1 libsm6 libsnmp-base libsnmp15 libstartup-notification0 libsysfs2<br />
  libtalloc1 libthai-data libthai0 libtiff4 libts-0.0-0 libwbclient0<br />
  libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1<br />
  libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1<br />
  libxrandr2 libxrender1 libxt6 libxxf86vm1 mysql-common openssl<br />
  openssl-blacklist poppler-utils psfontmgr psmisc python-dbus<br />
  python-elementtree python-gobject python-imaging python-qt3 python-qt4<br />
  python-qt4-common python-reportlab python-sip4 python-support qt4-qtconfig<br />
  samba-common sane-utils smbclient ssl-cert ttf-bitstream-vera ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-dustin x-ttcidfont-conf x11-common<br />
  xauth xfonts-encodings xfonts-utils<br />
0 upgraded, 163 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 123MB of archives.<br />
After this operation, 332MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>Setup the printer:</p>
<p><code><br />
marc@lordshiva:~$ <strong>sudo hp-setup -i -a      </strong></p>
<p>HP Linux Imaging and Printing System (ver. 2.8.6b)<br />
Printer/Fax Setup Utility ver. 7.2</p>
<p>Copyright (c) 2001-8 Hewlett-Packard Development Company, LP<br />
This software comes with ABSOLUTELY NO WARRANTY.<br />
This is free software, and you are welcome to distribute it<br />
under certain conditions. See COPYING file for more details.</p>
<p>--------------------------<br />
| CHOOSE CONNECTION TYPE |<br />
--------------------------</p>
<p>  Num.        Connection  Connection Type Description<br />
              Type<br />
  ----------  ----------  ----------------------------------------<br />
  0*          usb         Universal Serial Bus (USB)<br />
  1           net         Network/Ethernet/Wireless (direct<br />
                          connection or JetDirect)<br />
  2           par         Parallel Port (LPT:)                    </p>
<p>Enter number 0...2 for connection type (q=quit, enter=usb*) ? </p>
<p>Using connection type: usb</p>
<p>--------------------<br />
| DEVICE DISCOVERY |<br />
--------------------</p>
<p>Using device: hp:/usb/PSC_1500_series?serial=MY5CFD14F40498</p>
<p>Setting up device: hp:/usb/PSC_1500_series?serial=MY5CFD14F40498</p>
<p>---------------------<br />
| PRINT QUEUE SETUP |<br />
---------------------</p>
<p>Using queue name: PSC_1500</p>
<p>Found a possible PPD file: drv:///hpijs.drv/hp-psc_1500_series-hpijs.ppd<br />
Desc: HP PSC 1500 series Foomatic/hpijs</p>
<p>Adding print queue to CUPS:<br />
Device URI: hp:/usb/PSC_1500_series?serial=MY5CFD14F40498<br />
Queue name: PSC_1500<br />
PPD file: drv:///hpijs.drv/hp-psc_1500_series-hpijs.ppd<br />
Location:<br />
Information: Automatically setup by HPLIP</p>
<p>---------------------<br />
| PRINTER TEST PAGE |<br />
---------------------</p>
<p>HP Linux Imaging and Printing System (ver. 2.8.6b)<br />
Testpage Print Utility ver. 5.1</p>
<p>Copyright (c) 2001-8 Hewlett-Packard Development Company, LP<br />
This software comes with ABSOLUTELY NO WARRANTY.<br />
This is free software, and you are welcome to distribute it<br />
under certain conditions. See COPYING file for more details.</p>
<p>warning: hp-testpage should not be run as root.</p>
<p>Printing test page to printer PSC_1500...<br />
request id is PSC_1500-1 (1 file(s))<br />
Test page has been sent to printer.</p>
<p>note: If an error occured, or the test page failed to print, refer to the HPLIP website<br />
note: at: http://hplip.sourceforge.net for troubleshooting and support.</p>
<p>Done.</p>
<p>Done.<br />
marc@lordshiva:~$<br />
</code></p>
<p>Now you want to be able to manage the print server remotely via the web interface, so you&#8217;ll have to edit /etc/cups/cupsd.conf.</p>
<p><code>sudo $EDITOR /etc/cups/cupsd.conf</code><br />
&#8230;find the three places that look like this:<br />
 Location /<br />
 Location /admin<br />
 Location /admin/conf </p>
<p>and add the following after the &#8220;Order allow,deny&#8221; lines:</p>
<p><code> Allow @LOCAL</code></p>
<p>Also change the line from:<br />
<code>Listen localhost:631</code><br />
to<br />
<code>Port 631</code></p>
<p>Then  restart the cups daemon: <code> sudo /etc/init.d/cups restart</p>
<p>How you will be able to use a web browser to manage your system here:   http://lordshiva.local:631/  using your root credentials.  In the "Manager Server" section, enable "Share published printers connected to this system"</p>
<p>= scan server =</p>
<p>The tools xsane and gimp can take advantage of a network sane scanner.  To enable this, edit /etc/sane.d/scand.conf and add either the hostnames you'll be scanning from our a netblock.</p>
<p>Then tell inetd to start listening on the sane-port (6566)</p>
<p></code><code>marc@lordshiva:/etc/sane.d$ sudo update-inetd --enable sane-port</code></p>
<p>Now all you need to do on the system you are going to scan from, edit /etc/sane.d/net.conf and add lordshiva.local (or whatever you named yours ;-)</p>
<p>= Sharing MP3 =</p>
<p>gnump3d is a nice tool to share mp3 files on the home network.</p>
<p>Downloaded gnump3d-3.0.tar.gz from http://www.gnu.org/software/gnump3d/index.html</p>
<p>which needs make&#8230;</p>
<p><code><br />
 sudo apt-get install make<br />
sudo apt-get install make<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
Suggested packages:<br />
  make-doc<br />
The following NEW packages will be installed:<br />
  make<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 0B/385kB of archives.<br />
After this operation, 1233kB of additional disk space will be used.<br />
</code></p>
<p>Back to gnump3&#8230;</p>
<p><code><br />
cd /usr/src/<br />
sudo tar zxvf ~/gnump3d-3.0.tar.gz<br />
cd gnump3d-3.0<br />
sudo make install<br />
install -d //etc/gnump3d<br />
install -d //usr/bin<br />
install -d //usr/share/gnump3d<br />
install -d //usr/local/man/man1<br />
install -d /`perl bin/getlibdir`/gnump3d/plugins<br />
install -d /`perl bin/getlibdir`/gnump3d/lang<br />
install -d //var/log/gnump3d<br />
install -d //var/cache/gnump3d<br />
chmod 777 //var/cache/gnump3d<br />
install -d //var/cache/gnump3d/serving<br />
chmod 777 //var/cache/gnump3d/serving<br />
chmod a+rx /`perl bin/getlibdir`/gnump3d/<br />
chmod a+rx /`perl bin/getlibdir`/gnump3d/plugins<br />
chmod a+rx /`perl bin/getlibdir`/gnump3d/lang<br />
cp lib/gnump3d/*.pm /`perl bin/getlibdir`/gnump3d<br />
cp lib/gnump3d/plugins/*.pm /`perl bin/getlibdir`/gnump3d/plugins<br />
rm /`perl bin/getlibdir`/gnump3d/plugins/bug.pm<br />
rm: cannot remove `//usr/share/perl5/gnump3d/plugins/bug.pm': No such file or directory<br />
make: [install] Error 1 (ignored)<br />
cp lib/gnump3d/lang/*.pm /`perl bin/getlibdir`/gnump3d/lang<br />
cp bin/gnump3d2 //usr/bin<br />
chmod 755 //usr/bin/gnump3d2<br />
ln -sf //usr/bin/gnump3d2 //usr/bin/gnump3d<br />
cp bin/gnump3d-top //usr/bin<br />
chmod 755 //usr/bin/gnump3d-top<br />
cp bin/gnump3d-index //usr/bin<br />
chmod 755 //usr/bin/gnump3d-index<br />
cp man/gnump3d-top.1 //usr/local/man/man1<br />
cp man/gnump3d-index.1 //usr/local/man/man1<br />
cp man/gnump3d.1 //usr/local/man/man1<br />
cp man/gnump3d.conf.1 //usr/local/man/man1<br />
cp -R templates/* //usr/share/gnump3d<br />
chmod -R a+r //usr/share/gnump3d<br />
chmod +rx //usr/share/gnump3d/*/<br />
if [ -e //etc/gnump3d/gnump3d.conf ]; then cp //etc/gnump3d/gnump3d.conf //etc/gnump3d/gnump3d.conf-orig ; fi<br />
sed "s#PLUGINDIR#`perl bin/getlibdir`#g" etc/gnump3d.conf > //etc/gnump3d/gnump3d.conf<br />
cp etc/mime.types //etc/gnump3d<br />
cp etc/file.types //etc/gnump3d<br />
rm -f /`perl bin/getlibdir`/gnump3d/FreezeThaw.pm<br />
rm -f /`perl bin/getlibdir`/gnump3d/playlist.pm<br />
marc@lordshiva:/usr/src/gnump3d-3.0$ </p>
<p></code></p>
<p>Now to configure gnump3 is pretty simple, edit /etc/gnump3d/gnump3d.conf and set root = /media/mp3 or wherever the music is. </p>
<p>To start it up:</p>
<p>sudo gnump3d &#038;</p>
<p>Then point a browser to http://lordshiva.local:8888/ and listen or download music. This comes in very handy for the kids when they need to load up their mp3 players.</p>
<p>= monitoring system =</p>
<p>I like to use munin to keep an eye on how the home systems are doing.</p>
<p><code><br />
sudo apt-get install munin munin-node munin-plugins-extra apache2<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  apache2-mpm-worker apache2-utils apache2.2-common gawk libapr1 libaprutil1<br />
  libdate-manip-perl libhtml-template-perl libio-multiplex-perl<br />
  libnet-cidr-perl libnet-server-perl libnet-snmp-perl libpq5 librrd4<br />
  librrds-perl rrdtool<br />
Suggested packages:<br />
  apache2-doc apache2-suexec apache2-suexec-custom libipc-sharedcache-perl<br />
  libio-socket-ssl-perl libcrypt-des-perl libdigest-hmac-perl<br />
  libdigest-sha1-perl libio-socket-inet6-perl httpd libwww-perl<br />
  liblwp-useragent-determined-perl libnet-irc-perl mysql-client smartmontools<br />
  acpi lm-sensors ethtool libdbd-pg-perl logtail libnet-netmask-perl<br />
The following NEW packages will be installed:<br />
  apache2 apache2-mpm-worker apache2-utils apache2.2-common gawk libapr1<br />
  libaprutil1 libdate-manip-perl libhtml-template-perl libio-multiplex-perl<br />
  libnet-cidr-perl libnet-server-perl libnet-snmp-perl libpq5 librrd4<br />
  librrds-perl munin munin-node munin-plugins-extra rrdtool<br />
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 2144kB/5263kB of archives.<br />
After this operation, 14.4MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>Now setup munin-node to know what to monitor locally.  I like to run munin-node-configure with the &#8211;shell option to see what my choices are and then cut-n-paste the ones I&#8217;m interested in.</p>
<p><code><br />
marc@lordshiva:~$ sudo munin-node-configure --shell --families=auto &#038;&#038; sudo munin-node-configure --shell --families=contrib &#038;&#038; sudo munin-node-configure --shell --families=manual</code></p>
<p>And then just pick: (jump into a root shell first, sudo -i)<br />
<code><br />
ln -s /usr/share/munin/plugins/apt /etc/munin/plugins/apt<br />
ln -s /usr/share/munin/plugins/apt_all /etc/munin/plugins/apt_all<br />
ln -s /usr/share/munin/plugins/df_abs /etc/munin/plugins/df_abs<br />
ln -s /usr/share/munin/plugins/fw_packets /etc/munin/plugins/fw_packets<br />
ln -s /usr/share/munin/plugins/multips /etc/munin/plugins/multips<br />
ln -s /usr/share/munin/plugins/munin_graph /etc/munin/plugins/munin_graph<br />
ln -s /usr/share/munin/plugins/munin_update /etc/munin/plugins/munin_update<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_8888<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_ipp<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_munin<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_sane-port<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_smtp<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_ssh<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_sunrpc<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_www<br />
ln -s /usr/share/munin/plugins/uptime /etc/munin/plugins/uptime<br />
</code></p>
<p>And restart munin-node</p>
<p><code>sudo /etc/init.d/munin-node restart<br />
Stopping Munin-Node: done.<br />
Starting Munin-Node: done.<br />
</code></p>
<p>Come back later and look at http://lordshiva.local/munin/</p>
<p>= fetchmail =</p>
<p>I pull email from my web hoster, drop a copy of the email and forward a copy to gmail use procmail.</p>
<p><code>sudo apt-get install fetchmail procmail<br />
marc@lordshiva:~$ sudo apt-get install fetchmail procmail<br />
[sudo] password for marc:<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
procmail is already the newest version.<br />
The following extra packages will be installed:<br />
  ca-certificates<br />
Suggested packages:<br />
  fetchmailconf resolvconf<br />
The following NEW packages will be installed:<br />
  ca-certificates fetchmail<br />
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 813kB of archives.<br />
After this operation, 2597kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>My fetchmail configuration looks like this:</p>
<p><code><br />
cat ~/.fetchmailrc<br />
set logfile /home/marc/fetchmail.log</p>
<p>poll pop.nozell.com<br />
 with proto POP3 timeout 600<br />
       user 'XXX@XXXX.XXX' there with password 'XXX' is 'marc' here options fetchall<br />
</code></p>
<p>And here is my .procmailrc</p>
<p><code><br />
cat .procmailrc<br />
LOGFILE=/home/marc/procmail.log<br />
MAILDIR=ImapFolders</p>
<p>:0<br />
{<br />
	:0 c<br />
	! nozell@gmail.com<br />
}</p>
<p>:0<br />
Unsorted.Inbox.`date +%Y-%m`<br />
</code>  </p>
<p>= reconfigure the local mail server =</p>
<p>sudo dpkg-reconfigure exim4-conf</p>
<p>And pick the smarthost option and point it to the appropriate upstream mail server.</p>
<p>= squid =</p>
<p><code><br />
sudo apt-get install squid<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  squid-common<br />
Suggested packages:<br />
  squidclient squid-cgi logcheck-database resolvconf winbind<br />
The following NEW packages will be installed:<br />
  squid squid-common<br />
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 497kB/1224kB of archives.<br />
After this operation, 6816kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/06/26/sheevaplug-is-now-my-main-home-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SheevaPlug customizing pre-installed Ubuntu/Jaunty</title>
		<link>http://nozell.com/blog/2009/05/17/sheevaplug-customizing-pre-installed-ubuntujaunty/</link>
		<comments>http://nozell.com/blog/2009/05/17/sheevaplug-customizing-pre-installed-ubuntujaunty/#comments</comments>
		<pubDate>Sun, 17 May 2009 18:39:02 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[elinks]]></category>
		<category><![CDATA[hplip]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kernel modules]]></category>
		<category><![CDATA[lanmap]]></category>
		<category><![CDATA[links2]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[sheevaplug]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=762</guid>
		<description><![CDATA[Show-n-Tell day &#8212; brining LordShiva to the MA offices. mediawiki / mysql / apache2 root@LordShiva:~# sudo apt-get install mediawiki Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 libterm-readkey-perl mysql-client-5.0 mysql-common mysql-server [...]]]></description>
			<content:encoded><![CDATA[<p>Show-n-Tell day &#8212; brining LordShiva to the MA offices.</p>
<p><strong>mediawiki / mysql / apache2</strong></p>
<p><code><br />
root@LordShiva:~# sudo apt-get install mediawiki<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl<br />
  libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 libterm-readkey-perl mysql-client-5.0 mysql-common mysql-server mysql-server-5.0<br />
  mysql-server-core-5.0 php5 php5-cli php5-common php5-mysql psmisc ssl-cert<br />
Suggested packages:<br />
  www-browser apache2-doc apache2-suexec apache2-suexec-custom ufw php-pear dbishell libipc-sharedcache-perl libcompress-zlib-perl php5-gd imagemagick<br />
  mediawiki-math memcached clamav mysql-doc-5.0 tinyca mailx<br />
The following NEW packages will be installed:<br />
  apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl<br />
  libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 libterm-readkey-perl mediawiki mysql-client-5.0 mysql-common mysql-server mysql-server-5.0<br />
  mysql-server-core-5.0 php5 php5-cli php5-common php5-mysql psmisc ssl-cert<br />
0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 53.6MB/53.6MB of archives.<br />
After this operation, 166MB of additional disk space will be used.<br />
Do you want to continue [Y/n]? </code></p>
<p><strong>text mode web browsers (elinks / links2)</strong></p>
<p><code><br />
root@LordShiva:~# apt-get install elinks links2<br />
The following extra packages will be installed:<br />
  elinks-data libdirectfb-1.0-0 liblua50 liblualib50 libperl5.10 libpng12-0<br />
  libruby1.8 libsysfs2 libtiff4 libts-0.0-0<br />
Suggested packages:<br />
  elinks-doc<br />
The following NEW packages will be installed:<br />
  elinks elinks-data libdirectfb-1.0-0 liblua50 liblualib50 libperl5.10<br />
  libpng12-0 libruby1.8 libsysfs2 libtiff4 libts-0.0-0 links2<br />
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 5104kB of archives.<br />
After this operation, 15.4MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p><strong>lanmap </strong></p>
<p><code>root@LordShiva:~# apt-get install lanmap<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  defoma fontconfig fontconfig-config graphviz libcairo2 libdatrie0<br />
  libfontconfig1 libfontenc1 libfreetype6 libgd2-noxpm libgraphviz4 libice6<br />
  libltdl7 libpango1.0-0 libpango1.0-common libpcap0.8 libpixman-1-0 libsm6<br />
  libthai-data libthai0 libxaw7 libxcb-render-util0 libxcb-render0 libxext6<br />
  libxfont1 libxft2 libxmu6 libxpm4 libxrender1 libxt6 ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-liberation x-ttcidfont-conf x11-common<br />
  xfonts-encodings xfonts-utils<br />
Suggested packages:<br />
  defoma-doc psfontmgr dfontmgr libft-perl gsfonts graphviz-doc libgd-tools<br />
  ttf-japanese-gothic ttf-japanese-mincho ttf-thryomanes ttf-baekmuk<br />
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp<br />
  ttf-arphic-bkai00mp<br />
The following NEW packages will be installed:<br />
  defoma fontconfig fontconfig-config graphviz lanmap libcairo2 libdatrie0<br />
  libfontconfig1 libfontenc1 libfreetype6 libgd2-noxpm libgraphviz4 libice6<br />
  libltdl7 libpango1.0-0 libpango1.0-common libpcap0.8 libpixman-1-0 libsm6<br />
  libthai-data libthai0 libxaw7 libxcb-render-util0 libxcb-render0 libxext6<br />
  libxfont1 libxft2 libxmu6 libxpm4 libxrender1 libxt6 ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-liberation x-ttcidfont-conf x11-common<br />
  xfonts-encodings xfonts-utils<br />
0 upgraded, 39 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 11.4MB of archives.<br />
After this operation, 24.6MB of additional disk space will be used.<br />
</code></p>
<p><strong>screen</strong></p>
<p><code>marc@LordShiva:~$ sudo apt-get install screen<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done</p>
<p>The following extra packages will be installed:<br />
  gettext-base iso-codes python-apt python-central python-newt screen-profiles update-motd update-notifier-common<br />
Suggested packages:<br />
  isoquery python-apt-dbg python-gtk2 python-vte python-newt-dbg screen-profiles-extras<br />
The following NEW packages will be installed:<br />
  gettext-base iso-codes python-apt python-central python-newt screen screen-profiles update-motd update-notifier-common<br />
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 2947kB of archives.<br />
After this operation, 14.6MB of additional disk space will be used.</code></p>
<p>Seems like a bunch of extra stuff&#8230; update-motd?</p>
<p><strong>nfs </strong></p>
<p>Installing NFS to hack around.  Eventually storage on lordshiva will be via usb disks.</p>
<p><code><br />
sudo root@LordShiva:~# sudo apt-get install nfs-kernel-server<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap<br />
The following NEW packages will be installed:<br />
  libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common<br />
  nfs-kernel-server portmap<br />
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 503kB of archives.<br />
After this operation, 1548kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>I made sure the nfs-kernel-server was also installed on where the disks were and added to <code>/etc/exports</code> something like:</p>
<p><code>/home/Music		lordshiva(ro,sync,no_subtree_check)</code></p>
<p>and ran <code>sudo exportfs -av</code></p>
<p>The on the SheevaPlug:</p>
<p><code>sudo mkdir -p /nfs/Music<br />
sudo mount homeserver:/home/Music /nfs/Music</code></p>
<p>And updated <code>/etc/gnump3/gnump3.conf</code> to point to <code>/nfs/Music</code></p>
<p><strong>updating what munin monitors</strong></p>
<p>Running the following commands will make some recommendations on additional things munin can monitor.</p>
<p><code># munin-node-configure --shell --families auto<br />
# munin-node-configure --shell --families contrib<br />
# munin-node-configure --shell --families manual</code></p>
<p>Just cut-n-paste the ones you want to enable into a root shell.  Remember to restart the daemon too.</p>
<p><code>root@LordShiva:~# ln -s /usr/share/munin/plugins/ntp_offset /etc/munin/plugins/ntp_offset<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/ntp_ /etc/munin/plugins/ntp_europium_canonical_com<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/ntp_states /etc/munin/plugins/ntp_states<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_ssh<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_www<br />
root@LordShiva:~# /etc/init.d/munin-node restart<br />
</code></p>
<p><strong>SheevaPlug as a mini-printserver</strong></p>
<p>The pre-installed Ubuntu doesn&#8217;t include any kernel modules, but thought I&#8217;d try using the SheevaPlug as a mini-print/scan server for my hp PSC 1510 All-in-One printer/scanner.</p>
<p>Install <code>cups</code> which pulls in a ton of other packages as well as the open source print management tools from Hewlett-Packard, <code>hplip</code></p>
<p><code>root@LordShiva:~# apt-get install cups hplip<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  acl avahi-utils bc cups-client cups-common cupsddk cupsddk-drivers foomatic-db foomatic-db-engine foomatic-filters ghostscript gsfonts hal hal-info hdparm hpijs<br />
  hplip-data libavahi-client3 libavahi-compat-libdnssd1 libcupsimage2 libexif12 libffi5 libgphoto2-2 libgphoto2-port0 libgs8 libhal-storage1 libhal1 libieee1284-3<br />
  libijs-0.35 libpaper-utils libpaper1 libpci3 libpciaccess0 libpolkit-dbus2 libpolkit-grant2 libpoppler4 libsane libsensors3 libslp1 libsnmp-base libsnmp15<br />
  pciutils pm-utils policykit poppler-utils powermgmt-base psfontmgr python-dbus python-gobject python-imaging python-support radeontool sane-utils smartdimmer<br />
  smbclient ttf-freefont wget<br />
Suggested packages:<br />
  cups-bsd cups-driver-gutenprint xpdf-korean xpdf-japanese xpdf-chinese-traditional xpdf-chinese-simplified cups-pdf kdeprint gtklp cups-pt xpp foomatic-db-hpijs<br />
  foomatic-db-gutenprint foo2zjs openprinting-ppds foomatic-gui ghostscript-x gnome-device-manager apmd hpijs-ppds hplip-doc hplip-gui gphoto2 gtkam hpoj<br />
  libsane-extras lm-sensors slpd openslp-doc cpufrequtils policykit-gnome python-dbus-doc python-dbus-dbg python-gobject-dbg python-imaging-doc python-imaging-dbg<br />
  unpaper smbfs<br />
Recommended packages:<br />
  vbetool<br />
The following NEW packages will be installed:<br />
  acl avahi-utils bc cups cups-client cups-common cupsddk cupsddk-drivers foomatic-db foomatic-db-engine foomatic-filters ghostscript gsfonts hal hal-info hdparm<br />
  hpijs hplip hplip-data libavahi-client3 libavahi-compat-libdnssd1 libcupsimage2 libexif12 libffi5 libgphoto2-2 libgphoto2-port0 libgs8 libhal-storage1 libhal1<br />
  libieee1284-3 libijs-0.35 libpaper-utils libpaper1 libpci3 libpciaccess0 libpolkit-dbus2 libpolkit-grant2 libpoppler4 libsane libsensors3 libslp1 libsnmp-base<br />
  libsnmp15 pciutils pm-utils policykit poppler-utils powermgmt-base psfontmgr python-dbus python-gobject python-imaging python-support radeontool sane-utils<br />
  smartdimmer smbclient ttf-freefont wget<br />
0 upgraded, 59 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 38.4MB of archives.<br />
After this operation, 127MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?</code></p>
<p>Hmm, during the install I plugged in the printer and checked dmesg to see if it was recognized.  The lanmap process appears to have had a problem allocating memory:</p>
<p><code><br />
lanmap: page allocation failure. order:5, mode:0xc0d0<br />
[<c00ef438>] (dump_stack+0x0/0x14) from [<c0147514>] (__alloc_pages+0x28c/0x2a0)<br />
[<c0147288>] (__alloc_pages+0x0/0x2a0) from [<c0147550>] (__get_free_pages+0x28/0x5c)<br />
[<c0147528>] (__get_free_pages+0x0/0x5c) from [<c03bb3d0>] (packet_set_ring+0xc4/0x30c)<br />
[<c03bb30c>] (packet_set_ring+0x0/0x30c) from [<c03bd414>] (packet_setsockopt+0x34c/0x4b4)<br />
[<c03bd0c8>] (packet_setsockopt+0x0/0x4b4) from [<c03675bc>] (sys_setsockopt+0x84/0xa8)<br />
[<c0367538>] (sys_setsockopt+0x0/0xa8) from [<c0027480>] (ret_fast_syscall+0x0/0x2c)<br />
 r8:c0027628 r7:00000126 r6:0004f978 r5:0000005c r4:00000010<br />
Mem-info:<br />
DMA per-cpu:<br />
CPU    0: Hot: hi:  186, btch:  31 usd: 180   Cold: hi:   62, btch:  15 usd:  58<br />
Active:54514 inactive:39796 dirty:0 writeback:0 unstable:0<br />
 free:26150 slab:6191 mapped:4044 pagetables:328 bounce:0<br />
DMA free:104600kB min:2884kB low:3604kB high:4324kB active:218056kB inactive:159184kB present:520192kB pages_scanned:0 all_unreclaimable? no<br />
lowmem_reserve[]: 0 0<br />
DMA: 8554*4kB 4492*8kB 1155*16kB 399*32kB 48*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 104600kB<br />
Swap cache: add 0, delete 0, find 0/0, race 0+0<br />
Free swap  = 0kB<br />
Total swap = 0kB<br />
Free swap:            0kB<br />
131072 pages of RAM<br />
26907 free pages<br />
2296 reserved pages<br />
6165 slab pages<br />
20272 pages shared<br />
0 pages swap cached<br />
device eth0 left promiscuous mode<br />
</c0027480></c0367538></c03675bc></c03bd0c8></c03bd414></c03bb30c></c03bb3d0></c0147528></c0147550></c0147288></c0147514></c00ef438></code></p>
<p>When I tried to killall lanmap, ssh sessions hung.  I could get in via console still.  The network seemed to be a bit wonky, so rebooted.</p>
<p><strong>Hmm, scary kernel messsages</strong></p>
<p>This is after the reboot and seems to be when <code>hal</code> is starting up on install.  Install is slowing continuing.</p>
<p><code><br />
Unable to handle kernel paging request at virtual address 1a364e25<br />
pgd = c9e2c000<br />
[1a364e25] *pgd=00000000<br />
Internal error: Oops: 5 [#1]<br />
Modules linked in:<br />
CPU: 0    Not tainted  (2.6.22.18 #1)<br />
PC is at strnlen+0x20/0x34<br />
LR is at vsnprintf+0x314/0x5b4<br />
pc : [<c0240228>]    lr : [<c02414f8>]    psr: a0000013<br />
sp : ca99bdc0  ip : ca99bdd0  fp : ca99bdcc<br />
r10: ffffffff  r9 : ffffffff  r8 : 00000000<br />
r7 : ffffffff  r6 : caa68041  r5 : 1a364e25  r4 : ca99be40<br />
r3 : c00c8994  r2 : 1a364e25  r1 : fffffffe  r0 : 1a364e25<br />
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment user<br />
Control: 0005317f  Table: 09e2c000  DAC: 00000015<br />
Process udevadm (pid: 4301, stack limit = 0xca99a268)<br />
Stack: (0xca99bdc0 to 0xca99c000)<br />
bdc0: ca99be1c ca99bdd0 c02414f8 c0240218 c023db48 ca99bdec ca99bdfc ca99bdf0<br />
bde0: c027369c 35597fbe caa68041 c00d321a ca99be44 00000014 00000041 d4502000<br />
be00: caa68000 c03ed298 00000000 c03fc7a4 ca99be38 ca99be20 c0241864 c02411f4<br />
be20: c03ed240 ca99be40 caa68000 ca99beec ca99be48 c026ef10 c024184c c00d3219<br />
be40: 1a364e25 1a364e25 d4502000 00001000 d4502000 d450200c d4502020 d4502033<br />
be60: 1a364e25 00000044 000280d0 c03f1574 00000000 00000000 ffffff9c c03f1574<br />
be80: c08927e8 000080d0 c03f1570 ce818ac0 00000000 00000000 ca99beec ca99bea8<br />
bea0: c01472ec c0146724 000280d0 00000010 c0581d00 ca99a000 40020000 4001f000<br />
bec0: 00100073 ca9e82a0 c08927e8 c03ed240 ca9e82a0 c08927e8 c03ed240 ca9e82c0<br />
bee0: ca99befc ca99bef0 c026e810 c026ee28 ca99bf44 ca99bf00 c019ca14 c026e7fc<br />
bf00: ca99bf74 ca99bf10 c0153c60 ca99bf70 00001000 4001f000 00000000 d48a7700<br />
bf20: 4001f000 ca99bf70 00001000 4001f000 ca99a000 00000000 ca99bf6c ca99bf48<br />
bf40: c01625e8 c019c964 00000000 00000000 00000000 00000000 d48a7700 00001000<br />
bf60: ca99bfa4 ca99bf70 c01629fc c0162540 00000000 00000000 00000022 00000000<br />
bf80: ffffffff 2a024d18 2a024d18 000007ff 00000003 c0027628 00000000 ca99bfa8<br />
bfa0: c0027480 c01629c8 2a024d18 2a024d18 00000007 4001f000 00001000 00000000<br />
bfc0: 2a024d18 2a024d18 000007ff 00000003 bece6f0c 0000000a 4017f000 bece6f0c<br />
bfe0: 40170000 bece6e68 400aab04 400fe3fc 60000010 00000007 00002031 00002431<br />
Backtrace:<br />
[<c0240208>] (strnlen+0x0/0x34) from [<c02414f8>] (vsnprintf+0x314/0x5b4)<br />
[<c02411e4>] (vsnprintf+0x0/0x5b4) from [<c0241864>] (sprintf+0x2c/0x34)<br />
[<c0241838>] (sprintf+0x0/0x34) from [<c026ef10>] (show_uevent+0xf8/0x140)<br />
 r3:1a364e25 r2:1a364e25 r1:c00d3219<br />
[<c026ee18>] (show_uevent+0x0/0x140) from [<c026e810>] (dev_attr_show+0x24/0x28)<br />
 r7:ca9e82c0 r6:c03ed240 r5:c08927e8 r4:ca9e82a0<br />
[<c026e7ec>] (dev_attr_show+0x0/0x28) from [<c019ca14>] (sysfs_read_file+0xc0/0x130)<br />
[<c019c954>] (sysfs_read_file+0x0/0x130) from [<c01625e8>] (vfs_read+0xb8/0x148)<br />
[<c0162530>] (vfs_read+0x0/0x148) from [<c01629fc>] (sys_read+0x44/0x70)<br />
 r7:00001000 r6:d48a7700 r5:00000000 r4:00000000<br />
[<c01629b8>] (sys_read+0x0/0x70) from [<c0027480>] (ret_fast_syscall+0x0/0x2c)<br />
 r8:c0027628 r7:00000003 r6:000007ff r5:2a024d18 r4:2a024d18<br />
Code: ea000000 e2800001 e2511001 3a000002 (e5d03000) </c0027480></c01629b8></c01629fc></c0162530></c01625e8></c019c954></c019ca14></c026e7ec></c026e810></c026ee18></c026ef10></c0241838></c0241864></c02411e4></c02414f8></c0240208></c02414f8></c0240228></code></p>
<p>I&#8217;ve removed just hal, <code>apt-get --purge remove hal</code></p>
<p>Hmm, now it appears that the pre-install Ubuntu/Jaunty doesn&#8217;t include any kernel loadablel modules for things like USB printers.  Time to install stock Debian on this beastie.</p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/17/sheevaplug-customizing-pre-installed-ubuntujaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SheevaPlug initial bootlog</title>
		<link>http://nozell.com/blog/2009/05/13/sheevaplug-initial-bootlog/</link>
		<comments>http://nozell.com/blog/2009/05/13/sheevaplug-initial-bootlog/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:37:13 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[boot log]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=759</guid>
		<description><![CDATA[__ __ _ _ &#124; \/ &#124; __ _ _ ____ _____&#124; &#124; &#124; &#124; &#124;\/&#124; &#124;/ _` &#124; '__\ \ / / _ \ &#124; &#124; &#124; &#124; &#124; &#124; (_&#124; &#124; &#124; \ V / __/ &#124; &#124; &#124;_&#124; &#124;_&#124;\__,_&#124;_&#124; \_/ \___&#124;_&#124;_&#124; _ _ ____ _ &#124; &#124; &#124; &#124; &#124; __ ) [...]]]></description>
			<content:encoded><![CDATA[<p><code><br />
         __  __                      _ _<br />
        |  \/  | __ _ _ ____   _____| | |<br />
        | |\/| |/ _` | '__\ \ / / _ \ | |<br />
        | |  | | (_| | |   \ V /  __/ | |<br />
        |_|  |_|\__,_|_|    \_/ \___|_|_|<br />
 _   _     ____              _<br />
| | | |   | __ )  ___   ___ | |_<br />
| | | |___|  _ \ / _ \ / _ \| __|<br />
| |_| |___| |_) | (_) | (_) | |_<br />
 \___/    |____/ \___/ \___/ \__|<br />
 ** MARVELL BOARD: SHEEVA PLUG LE<br />
U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: 3.4.16<br />
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE80<br />
Soc: 88F6281 A0 (DDR2)<br />
CPU running @ 1200Mhz L2 running @ 400Mhz<br />
SysClock = 400Mhz , TClock = 200Mhz<br />
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6<br />
DRAM CS[0] base 0x00000000   size 256MB<br />
DRAM CS[1] base 0x10000000   size 256MB<br />
DRAM Total size 512MB  16bit width<br />
Flash:  0 kB<br />
Addresses 8M - 0M are saved for the U-Boot usage.<br />
Mem malloc Initialization (8M - 7M): Done<br />
NAND:512 MB<br />
CPU : Marvell Feroceon (Rev 1)<br />
Streaming disabled<br />
Write allocate disabled<br />
USB 0: host mode<br />
PEX 0: interface detected no Link.<br />
Net:   egiga0 [PRIME], egiga1<br />
Hit any key to stop autoboot:  3<br />
NAND read: device 0 offset 0x100000, size 0x400000<br />
Reading data from 0x100000 --   0% complete.<br />
Reading data from 0x10a000 --   1% complete.<br />
Reading data from 0x114000 --   2% complete.<br />
Reading data from 0x11e800 --   3% complete.<br />
Reading data from 0x128800 --   4% complete.<br />
Reading data from 0x133000 --   5% complete.<br />
Reading data from 0x13d000 --   6% complete.<br />
Reading data from 0x147800 --   7% complete.<br />
Reading data from 0x151800 --   8% complete.<br />
Reading data from 0x15c000 --   9% complete.<br />
Reading data from 0x166000 --  10% complete.<br />
Reading data from 0x170800 --  11% complete.<br />
Reading data from 0x17a800 --  12% complete.<br />
Reading data from 0x185000 --  13% complete.<br />
Reading data from 0x18f000 --  14% complete.<br />
Reading data from 0x199800 --  15% complete.<br />
Reading data from 0x1a3800 --  16% complete.<br />
Reading data from 0x1ae000 --  17% complete.<br />
Reading data from 0x1b8000 --  18% complete.<br />
Reading data from 0x1c2800 --  19% complete.<br />
Reading data from 0x1cc800 --  20% complete.<br />
Reading data from 0x1d7000 --  21% complete.<br />
Reading data from 0x1e1000 --  22% complete.<br />
Reading data from 0x1eb800 --  23% complete.<br />
Reading data from 0x1f5800 --  24% complete.<br />
Reading data from 0x1ff800 --  25% complete.<br />
Reading data from 0x20a000 --  26% complete.<br />
Reading data from 0x214000 --  27% complete.<br />
Reading data from 0x21e800 --  28% complete.<br />
Reading data from 0x228800 --  29% complete.<br />
Reading data from 0x233000 --  30% complete.<br />
Reading data from 0x23d000 --  31% complete.<br />
Reading data from 0x247800 --  32% complete.<br />
Reading data from 0x251800 --  33% complete.<br />
Reading data from 0x25c000 --  34% complete.<br />
Reading data from 0x266000 --  35% complete.<br />
Reading data from 0x270800 --  36% complete.<br />
Reading data from 0x27a800 --  37% complete.<br />
Reading data from 0x285000 --  38% complete.<br />
Reading data from 0x28f000 --  39% complete.<br />
Reading data from 0x299800 --  40% complete.<br />
Reading data from 0x2a3800 --  41% complete.<br />
Reading data from 0x2ae000 --  42% complete.<br />
Reading data from 0x2b8000 --  43% complete.<br />
Reading data from 0x2c2800 --  44% complete.<br />
Reading data from 0x2cc800 --  45% complete.<br />
Reading data from 0x2d7000 --  46% complete.<br />
Reading data from 0x2e1000 --  47% complete.<br />
Reading data from 0x2eb800 --  48% complete.<br />
Reading data from 0x2f5800 --  49% complete.<br />
Reading data from 0x2ff800 --  50% complete.<br />
Reading data from 0x30a000 --  51% complete.<br />
Reading data from 0x314000 --  52% complete.<br />
Reading data from 0x31e800 --  53% complete.<br />
Reading data from 0x328800 --  54% complete.<br />
Reading data from 0x333000 --  55% complete.<br />
Reading data from 0x33d000 --  56% complete.<br />
Reading data from 0x347800 --  57% complete.<br />
Reading data from 0x351800 --  58% complete.<br />
Reading data from 0x35c000 --  59% complete.<br />
Reading data from 0x366000 --  60% complete.<br />
Reading data from 0x370800 --  61% complete.<br />
Reading data from 0x37a800 --  62% complete.<br />
Reading data from 0x385000 --  63% complete.<br />
Reading data from 0x38f000 --  64% complete.<br />
Reading data from 0x399800 --  65% complete.<br />
Reading data from 0x3a3800 --  66% complete.<br />
Reading data from 0x3ae000 --  67% complete.<br />
Reading data from 0x3b8000 --  68% complete.<br />
Reading data from 0x3c2800 --  69% complete.<br />
Reading data from 0x3cc800 --  70% complete.<br />
Reading data from 0x3d7000 --  71% complete.<br />
Reading data from 0x3e1000 --  72% complete.<br />
Reading data from 0x3eb800 --  73% complete.<br />
Reading data from 0x3f5800 --  74% complete.<br />
Reading data from 0x3ff800 --  75% complete.<br />
Reading data from 0x40a000 --  76% complete.<br />
Reading data from 0x414000 --  77% complete.<br />
Reading data from 0x41e800 --  78% complete.<br />
Reading data from 0x428800 --  79% complete.<br />
Reading data from 0x433000 --  80% complete.<br />
Reading data from 0x43d000 --  81% complete.<br />
Reading data from 0x447800 --  82% complete.<br />
Reading data from 0x451800 --  83% complete.<br />
Reading data from 0x45c000 --  84% complete.<br />
Reading data from 0x466000 --  85% complete.<br />
Reading data from 0x470800 --  86% complete.<br />
Reading data from 0x47a800 --  87% complete.<br />
Reading data from 0x485000 --  88% complete.<br />
Reading data from 0x48f000 --  89% complete.<br />
Reading data from 0x499800 --  90% complete.<br />
Reading data from 0x4a3800 --  91% complete.<br />
Reading data from 0x4ae000 --  92% complete.<br />
Reading data from 0x4b8000 --  93% complete.<br />
Reading data from 0x4c2800 --  94% complete.<br />
Reading data from 0x4cc800 --  95% complete.<br />
Reading data from 0x4d7000 --  96% complete.<br />
Reading data from 0x4e1000 --  97% complete.<br />
Reading data from 0x4eb800 --  98% complete.<br />
Reading data from 0x4f5800 --  99% complete.<br />
Reading data from 0x4ff800 -- 100% complete.<br />
 4194304 bytes read: OK<br />
## Booting image at 00800000 ...<br />
   Image Name:   Linux-2.6.22.18<br />
   Created:      2009-03-19   9:18:16 UTC<br />
   Image Type:   ARM Linux Kernel Image (uncompressed)<br />
   Data Size:    2106696 Bytes =  2 MB<br />
   Load Address: 00008000<br />
   Entry Point:  00008000<br />
   Verifying Checksum ... OK<br />
Starting kernel ...<br />
Uncompressing Linux.................................................................................................................................... done, booting the kernel.<br />
Linux version 2.6.22.18 (dhaval@devbox) (gcc version 4.2.1) #1 Thu Mar 19 14:46:22 IST 2009<br />
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177<br />
Machine: Feroceon-KW<br />
Using UBoot passing parameters structure<br />
Memory policy: ECC disabled, Data cache writeback<br />
CPU0: D VIVT write-back cache<br />
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<br />
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<br />
Built 1 zonelists.  Total pages: 130048<br />
Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none<br />
PID hash table entries: 2048 (order: 11, 8192 bytes)<br />
Console: colour dummy device 80x30<br />
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)<br />
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)<br />
Memory: 256MB 256MB 0MB 0MB = 512MB total<br />
Memory: 515456KB available (3864K code, 257K data, 104K init)<br />
Mount-cache hash table entries: 512<br />
CPU: Testing write buffer coherency: ok<br />
NET: Registered protocol family 16<br />
CPU Interface<br />
-------------<br />
SDRAM_CS0 ....base 00000000, size 256MB<br />
SDRAM_CS1 ....base 10000000, size 256MB<br />
SDRAM_CS2 ....disable<br />
SDRAM_CS3 ....disable<br />
PEX0_MEM ....base e8000000, size 128MB<br />
PEX0_IO ....base f2000000, size   1MB<br />
INTER_REGS ....base f1000000, size   1MB<br />
NFLASH_CS ....base fa000000, size   2MB<br />
SPI_CS ....base f4000000, size  16MB<br />
BOOT_ROM_CS ....no such<br />
DEV_BOOTCS ....no such<br />
CRYPT_ENG ....base f0000000, size   2MB<br />
  Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- SHEEVA PLUG  Soc: 88F6281 A0 LE<br />
 Detected Tclk 200000000 and SysClk 400000000<br />
MV Buttons Device Load<br />
Marvell USB EHCI Host controller #0: c08b8600<br />
PEX0 interface detected no Link.<br />
PCI: bus0: Fast back to back transfers enabled<br />
SCSI subsystem initialized<br />
usbcore: registered new interface driver usbfs<br />
usbcore: registered new interface driver hub<br />
usbcore: registered new device driver usb<br />
NET: Registered protocol family 2<br />
Time: kw_clocksource clocksource has been installed.<br />
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)<br />
TCP established hash table entries: 65536 (order: 7, 524288 bytes)<br />
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)<br />
TCP: Hash tables configured (established 65536 bind 65536)<br />
TCP reno registered<br />
RTC registered<br />
Use the XOR engines (acceleration) for enhancing the following functions:<br />
  o RAID 5 Xor calculation<br />
  o kernel memcpy<br />
  o kenrel memzero<br />
Number of XOR engines to use: 4<br />
cesadev_init(c000c894)<br />
mvCesaInit: sessions=640, queue=64, pSram=f0000000<br />
Warning: TS unit is powered off.<br />
MV Buttons Driver Load<br />
NTFS driver 2.1.28 [Flags: R/O].<br />
JFFS2 version 2.2. (NAND)<br />
 2001-2006 Red Hat, Inc.<br />
io scheduler noop registered<br />
io scheduler anticipatory registered (default)<br />
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled<br />
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A<br />
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A<br />
Loading Marvell Ethernet Driver:<br />
  o Cached descriptors in DRAM<br />
  o DRAM SW cache-coherency<br />
  o Single RX Queue support - ETH_DEF_RXQ=0<br />
  o Single TX Queue support - ETH_DEF_TXQ=0<br />
  o TCP segmentation offload enabled<br />
  o Receive checksum offload enabled<br />
  o Transmit checksum offload enabled<br />
  o Network Fast Processing (Routing) supported<br />
  o Driver ERROR statistics enabled<br />
  o Driver INFO statistics enabled<br />
  o Proc tool API enabled<br />
  o Rx descripors: q0=128<br />
  o Tx descripors: q0=532<br />
  o Loading network interface(s):<br />
    o eth0, ifindex = 1, GbE port = 0<br />
    o eth1, ifindex = 2, GbE port = 1<br />
mvFpRuleDb (dfd00000): 16384 entries, 65536 bytes<br />
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI<br />
Copyright (c) 1999-2006 Intel Corporation.<br />
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI<br />
e100: Copyright(c) 1999-2006 Intel Corporation<br />
Warning Sata is Powered Off<br />
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $<br />
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)<br />
Scanning device for bad blocks<br />
Bad eraseblock 372 at 0x02e80000<br />
Bad eraseblock 2158 at 0x10dc0000<br />
Bad eraseblock 2419 at 0x12e60000<br />
Bad eraseblock 2420 at 0x12e80000<br />
Bad eraseblock 2439 at 0x130e0000<br />
2 cmdlinepart partitions found on MTD device nand_mtd<br />
Using command line partition definition<br />
Creating 2 MTD partitions on "nand_mtd":<br />
0x00100000-0x00500000 : "uImage"<br />
0x00500000-0x20000000 : "rootfs"<br />
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI<br />
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1<br />
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100<br />
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004<br />
usb usb1: configuration #1 chosen from 1 choice<br />
hub 1-0:1.0: USB hub found<br />
hub 1-0:1.0: 1 port detected<br />
USB Universal Host Controller Interface driver v3.0<br />
usbcore: registered new interface driver usblp<br />
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver<br />
Initializing USB Mass Storage driver...<br />
usbcore: registered new interface driver usb-storage<br />
USB Mass Storage support registered.<br />
mice: PS/2 mouse device common for all mice<br />
i2c /dev entries driver<br />
Linux telephony interface: v1.00<br />
Marvell Telephony Driver:<br />
mvBoardVoiceAssembleModeGet: TDM not supported(boardId=0x9)<br />
assembly=-1,irq=-1<br />
mp_check_config: Error, invalid voice assembley mode<br />
md: linear personality registered for level -1<br />
md: raid0 personality registered for level 0<br />
md: raid1 personality registered for level 1<br />
raid6: int32x1     97 MB/s<br />
raid6: int32x2    114 MB/s<br />
raid6: int32x4    122 MB/s<br />
raid6: int32x8    110 MB/s<br />
raid6: using algorithm int32x4 (122 MB/s)<br />
md: raid6 personality registered for level 6<br />
md: raid5 personality registered for level 5<br />
md: raid4 personality registered for level 4<br />
raid5: measuring checksumming speed<br />
   arm4regs  :  1071.600 MB/sec<br />
   8regs     :   754.800 MB/sec<br />
   32regs    :   900.000 MB/sec<br />
raid5: using function: arm4regs (1071.600 MB/sec)<br />
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com<br />
dm_crypt using the OCF package.<br />
sdhci: Secure Digital Host Controller Interface driver<br />
sdhci: Copyright(c) Pierre Ossman<br />
mvsdmmc: irq =28 start f1090000<br />
mvsdmmc: no IRQ detect<br />
usbcore: registered new interface driver usbhid<br />
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver<br />
Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).<br />
mvCLAudioCodecRegGet: Error while reading register!<br />
mvCLAudioCodecInit: Error - Invalid Cirrus Logic chip/rev ID!<br />
Error - Cannot initialize audio decoder.at address =0xff&lt;6>ALSA device list:<br />
  #0: Marvell mv88fx_snd ALSA driver<br />
TCP cubic registered<br />
NET: Registered protocol family 1<br />
NET: Registered protocol family 17<br />
mmc0: host does not support reading read-only switch. assuming write-enable.<br />
mmc0: new SD card at address d3cb<br />
mmcblk0: mmc0:d3cb SD02G 1985024KiB<br />
 mmcblk0: p1<br />
eth0: link down<br />
eth0: started<br />
IP-Config: Complete:<br />
      device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5,<br />
     host=DB88FXX81, domain=, nis-domain=(none),<br />
     bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath=<br />
md: Autodetecting RAID arrays.<br />
md: autorun ...<br />
md: ... autorun DONE.<br />
eth0: link up, half duplex, speed 10 Mbps<br />
Empty flash at 0x087fd338 ends at 0x087fd800<br />
Empty flash at 0x0f3869a0 ends at 0x0f387000<br />
VFS: Mounted root (jffs2 filesystem).<br />
Freeing init memory: 104K<br />
 * Setting preliminary keymap...<br />
[80G<br />
[74G[ OK ]<br />
 * Setting the system clock<br />
The Hardware Clock does not contain a valid time, so we cannot set the System Time from it.<br />
Unable to set system clock.<br />
[33m*<br />
[39;49m Unable to set System Clock to: Sun Jun 23 11:17:01 UTC 1963<br />
 * Starting basic networking...<br />
[80G<br />
[74G[ OK ]<br />
 * Starting kernel event manager...<br />
[80G<br />
[74G[ OK ]<br />
 * Loading hardware drivers...<br />
[80G<br />
[74G[ OK ]<br />
 * Setting the system clock<br />
The Hardware Clock does not contain a valid time, so we cannot set the System Time from it.<br />
Unable to set system clock.<br />
[33m*<br />
[39;49m Unable to set System Clock to: Sun Jun 23 11:17:04 UTC 1963<br />
 * Loading kernel modules...<br />
[80G  * Loading manual drivers...<br />
[80G<br />
[74G[ OK ]<br />
 * Setting kernel variables (/etc/sysctl.conf)...<br />
[80G<br />
[74G[ OK ]<br />
 * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...<br />
[80G<br />
[74G[ OK ]<br />
 * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...<br />
[80G<br />
[74G[ OK ]<br />
 * Setting kernel variables (/etc/sysctl.d/10-process-security.conf)...<br />
[80G error: "vm.mmap_min_addr" is an unknown key<br />
[74G[<br />
[31mfail<br />
[39;49m]<br />
 * Setting kernel variables (/etc/sysctl.d/10-tcp-timestamps-workaround.conf)...<br />
[80G<br />
[74G[ OK ]<br />
 * Activating swap...<br />
[80G<br />
[74G[ OK ]<br />
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory<br />
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory<br />
 * Starting early crypto disks...<br />
[80G<br />
[74G[ OK ]<br />
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory<br />
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory<br />
 * Starting remaining crypto disks...<br />
[80G<br />
[74G[ OK ]<br />
 * Checking file systems...<br />
[80G fsck 1.41.3 (12-Oct-2008)<br />
[74G[ OK ]<br />
 * Mounting local filesystems...<br />
[80G<br />
[74G[ OK ]<br />
 * Activating swapfile swap...<br />
[80G<br />
[74G[ OK ]<br />
 * Configuring network interfaces...<br />
[80G<br />
[74G[ OK ]<br />
 * Setting up console font and keymap...<br />
[80G<br />
[74G[ OK ]<br />
 * Starting system log daemon...<br />
[80G<br />
Ubuntu jaunty (development branch) debian ttyS0<br />
debian login:<br />
[74G[ OK ]<br />
 * Starting kernel log daemon...<br />
[80G<br />
[74G[ OK ]<br />
 * Starting OpenBSD Secure Shell server sshd<br />
[80G<br />
[74G[ OK ]<br />
 * Starting periodic command scheduler crond<br />
[80G<br />
[74G[ OK ]<br />
fat: exports duplicate symbol fat_add_entries (owned by kernel)<br />
insmod: error inserting '/boot/fat.ko': -1 Invalid module format<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/13/sheevaplug-initial-bootlog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SheevaPlug initial boot command</title>
		<link>http://nozell.com/blog/2009/05/13/sheevaplug-initial-boot-command/</link>
		<comments>http://nozell.com/blog/2009/05/13/sheevaplug-initial-boot-command/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:36:17 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[dmesg]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=757</guid>
		<description><![CDATA[From dmesg: console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none]]></description>
			<content:encoded><![CDATA[<p>From dmesg:<br />
<code>console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/13/sheevaplug-initial-boot-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SheevaPlug initial Ubunut/Jaunty pre-loaded kernel</title>
		<link>http://nozell.com/blog/2009/05/13/sheevaplug-initial-ubunutjaunty-pre-loaded-kernel/</link>
		<comments>http://nozell.com/blog/2009/05/13/sheevaplug-initial-ubunutjaunty-pre-loaded-kernel/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:35:17 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[sheevaplug]]></category>
		<category><![CDATA[uname]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=755</guid>
		<description><![CDATA[Linux version 2.6.22.18 (dhaval@devbox) (gcc version 4.2.1) #1 Thu Mar 19 14:46:22 IST 2009]]></description>
			<content:encoded><![CDATA[<p><code>Linux version 2.6.22.18 (dhaval@devbox) (gcc version 4.2.1) #1 Thu Mar 19 14:46:22 IST 2009</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/13/sheevaplug-initial-ubunutjaunty-pre-loaded-kernel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SheevaPlug /proc/cpuinfo</title>
		<link>http://nozell.com/blog/2009/05/13/sheevaplug-proccpuinfo/</link>
		<comments>http://nozell.com/blog/2009/05/13/sheevaplug-proccpuinfo/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:34:17 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[cpuinfo]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=752</guid>
		<description><![CDATA[$ cat /proc/cpuinfo Processor : ARM926EJ-S rev 1 (v5l) BogoMIPS : 1192.75 Features : swp half thumb fastmult edsp CPU implementer : 0x56 CPU architecture: 5TE CPU variant : 0x2 CPU part : 0x131 CPU revision : 1 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format C Cache format [...]]]></description>
			<content:encoded><![CDATA[<p><code><br />
$ cat /proc/cpuinfo<br />
Processor	: ARM926EJ-S rev 1 (v5l)<br />
BogoMIPS	: 1192.75<br />
Features	: swp half thumb fastmult edsp<br />
CPU implementer	: 0x56<br />
CPU architecture: 5TE<br />
CPU variant	: 0x2<br />
CPU part	: 0x131<br />
CPU revision	: 1<br />
Cache type	: write-back<br />
Cache clean	: cp15 c7 ops<br />
Cache lockdown	: format C<br />
Cache format	: Harvard<br />
I size		: 16384<br />
I assoc		: 4<br />
I line length	: 32<br />
I sets		: 128<br />
D size		: 16384<br />
D assoc		: 4<br />
D line length	: 32<br />
D sets		: 128</p>
<p>Hardware	: Feroceon-KW<br />
Revision	: 0000<br />
Serial		: 0000000000000000<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/13/sheevaplug-proccpuinfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SheevaPlug lsusb</title>
		<link>http://nozell.com/blog/2009/05/13/sheevaplug-lsusb/</link>
		<comments>http://nozell.com/blog/2009/05/13/sheevaplug-lsusb/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:33:05 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[lsusb]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=750</guid>
		<description><![CDATA[Running Ubuntu/Jaunty root@LordShiva:~# lsusb -v Bus 001 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.22.18 ehci_hcd iProduct 2 Marvell Orion EHCI iSerial 1 ehci_marvell.70059 bNumConfigurations 1 Configuration Descriptor: bLength [...]]]></description>
			<content:encoded><![CDATA[<p>Running Ubuntu/Jaunty<br />
<code><br />
root@LordShiva:~# lsusb -v</p>
<p>Bus 001 Device 001: ID 0000:0000<br />
Device Descriptor:<br />
  bLength                18<br />
  bDescriptorType         1<br />
  bcdUSB               2.00<br />
  bDeviceClass            9 Hub<br />
  bDeviceSubClass         0 Unused<br />
  bDeviceProtocol         1 Single TT<br />
  bMaxPacketSize0        64<br />
  idVendor           0x0000<br />
  idProduct          0x0000<br />
  bcdDevice            2.06<br />
  iManufacturer           3 Linux 2.6.22.18 ehci_hcd<br />
  iProduct                2 Marvell Orion EHCI<br />
  iSerial                 1 ehci_marvell.70059<br />
  bNumConfigurations      1<br />
  Configuration Descriptor:<br />
    bLength                 9<br />
    bDescriptorType         2<br />
    wTotalLength           25<br />
    bNumInterfaces          1<br />
    bConfigurationValue     1<br />
    iConfiguration          0<br />
    bmAttributes         0xe0<br />
      Self Powered<br />
      Remote Wakeup<br />
    MaxPower                0mA<br />
    Interface Descriptor:<br />
      bLength                 9<br />
      bDescriptorType         4<br />
      bInterfaceNumber        0<br />
      bAlternateSetting       0<br />
      bNumEndpoints           1<br />
      bInterfaceClass         9 Hub<br />
      bInterfaceSubClass      0 Unused<br />
      bInterfaceProtocol      0 Full speed (or root) hub<br />
      iInterface              0<br />
      Endpoint Descriptor:<br />
        bLength                 7<br />
        bDescriptorType         5<br />
        bEndpointAddress     0x81  EP 1 IN<br />
        bmAttributes            3<br />
          Transfer Type            Interrupt<br />
          Synch Type               None<br />
          Usage Type               Data<br />
        wMaxPacketSize     0x0004  1x 4 bytes<br />
        bInterval              12<br />
Hub Descriptor:<br />
  bLength               9<br />
  bDescriptorType      41<br />
  nNbrPorts             1<br />
  wHubCharacteristic 0x0009<br />
    Per-port power switching<br />
    Per-port overcurrent protection<br />
    TT think time 8 FS bits<br />
  bPwrOn2PwrGood       10 * 2 milli seconds<br />
  bHubContrCurrent      0 milli Ampere<br />
  DeviceRemovable    0x00<br />
  PortPwrCtrlMask    0xff<br />
 Hub Port Status:<br />
   Port 1: 0000.0100 power<br />
Device Status:     0x0001<br />
  Self Powered<br />
root@LordShiva:~#<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/13/sheevaplug-lsusb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SheevaPlug initial mount points</title>
		<link>http://nozell.com/blog/2009/05/13/sheevaplug-initial-mount-points/</link>
		<comments>http://nozell.com/blog/2009/05/13/sheevaplug-initial-mount-points/#comments</comments>
		<pubDate>Wed, 13 May 2009 14:51:24 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[initial settings]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=742</guid>
		<description><![CDATA[Before updating Ubuntu root@LordShiva:~# more df.orig Filesystem Size Used Avail Use% Mounted on rootfs 507M 148M 360M 30% / tmpfs 252M 0 252M 0% /lib/init/rw varrun 252M 40K 252M 1% /var/run varlock 252M 0 252M 0% /var/lock udev 252M 16K 252M 1% /dev tmpfs 252M 0 252M 0% /dev/shm tmpfs 252M 22M 231M 9% /var/cache/apt]]></description>
			<content:encoded><![CDATA[<p>Before updating Ubuntu</p>
<p><code><br />
root@LordShiva:~# more df.orig<br />
Filesystem            Size  Used Avail Use% Mounted on<br />
rootfs                507M  148M  360M  30% /<br />
tmpfs                 252M     0  252M   0% /lib/init/rw<br />
varrun                252M   40K  252M   1% /var/run<br />
varlock               252M     0  252M   0% /var/lock<br />
udev                  252M   16K  252M   1% /dev<br />
tmpfs                 252M     0  252M   0% /dev/shm<br />
tmpfs                 252M   22M  231M   9% /var/cache/apt<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/13/sheevaplug-initial-mount-points/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

