ClonchWiki : SheevaPlug

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [72]

Last edited on 2009-07-24 15:21:24 by ChrisClonch
Additions:
My misc notes about getting my plugpc up and running. [[http://www.geeky-gadgets.com/marvell-sheevaplug-tiny-linux-power-plug-pc/ This site]] has a nice spec plus pictures. Visit [[http://www.marvell.com/featured/plugcomputing.jsp Marvell's page]] for their overview.
Deletions:
My misc notes about getting my plugpc up and running.


Revision [71]

Edited on 2009-07-24 15:11:31 by ChrisClonch
Additions:
- On Linux, [[http://plugcomputer.org/plugwiki/index.php/Setting_up_Serial_Console_Under_Linux follow these directions]]. On my Fedora Core 11 laptop, this worked. My CentOS 5.3 server it didn't. It doesn't appear to be recognized; no dmesg or lsusb output, which is strange as its almost like it physically doesn't detect its insertion. Getting ready to try it on my Gentoo server.
Deletions:
- On Linux, [[http://plugcomputer.org/plugwiki/index.php/Setting_up_Serial_Console_Under_Linux follow these directions]]. On my Ubuntu 9.04 laptop, this worked. My CentOS 5.3 server it didn't. It doesn't appear to be recognized; no dmesg or lsusb output.


Revision [59]

Edited on 2009-07-24 09:23:24 by ChrisClonch
Additions:
I've moved the benchmarking details and results to a [[SheevaStorageBenchmarks separate page]].


Revision [58]

Edited on 2009-07-23 16:35:50 by ChrisClonch
Additions:
====Use Cases====
- Media download hub: i.e. torrent.
- Using transmission.
- Backup server.
- Would need to solve RAIDed storage problem.
- Email server.
- Web server.


Revision [57]

Edited on 2009-07-23 16:26:18 by ChrisClonch
Additions:
In thinking of uses for my plug, I wondered what performance is for various storage avenues. I decided to load bonnie plus plus (wiki traps the plus sign) and start recording some. My goal is to be able to compare some USB storage (USB thumb drives, USB HDD enclosures), iSCSI, and SDCard. If I could get a hold of a laser thermometer, it could be interesting to track the temp of the housing (and maybe insides if I was courageous enough to open it up) while the tests are running.
- **SDCard**
- **USB Enclosures**
- **iSCSI**
Deletions:
In thinking of uses for my plug, I wondered what performance is for various storage avenues. I decided to load bonnie plus plus (wiki traps the plus sign) and start recording some. My goal is to be able to compare some USB storage (USB thumb drives, USB HDD enclosures), iSCSI, and SDCard.


Revision [56]

Edited on 2009-07-23 16:23:19 by ChrisClonch
Additions:
In thinking of uses for my plug, I wondered what performance is for various storage avenues. I decided to load bonnie plus plus (wiki traps the plus sign) and start recording some. My goal is to be able to compare some USB storage (USB thumb drives, USB HDD enclosures), iSCSI, and SDCard.
Deletions:
In thinking of uses for my plug, I wondered what performance is for various storage avenues. I decided to load bonnie!++ and start recording some. My goal is to be able to compare some USB storage (USB thumb drives, USB HDD enclosures), iSCSI, and SDCard.


Revision [55]

Edited on 2009-07-23 16:22:40 by ChrisClonch
Additions:
In thinking of uses for my plug, I wondered what performance is for various storage avenues. I decided to load bonnie!++ and start recording some. My goal is to be able to compare some USB storage (USB thumb drives, USB HDD enclosures), iSCSI, and SDCard.
Deletions:
In thinking of uses for my plug, I wondered what performance is for various storage avenues. I decided to load bonnie++ and start recording some. My goal is to be able to compare some USB storage (USB thumb drives, USB HDD enclosures), iSCSI, and SDCard.


Revision [54]

Edited on 2009-07-23 16:20:28 by ChrisClonch
Additions:
====Benchmarking====
In thinking of uses for my plug, I wondered what performance is for various storage avenues. I decided to load bonnie++ and start recording some. My goal is to be able to compare some USB storage (USB thumb drives, USB HDD enclosures), iSCSI, and SDCard.


Revision [53]

Edited on 2009-07-23 10:56:02 by ChrisClonch
Deletions:
%%(bash)
apt-get update && apt-get dist-upgrade


Revision [52]

Edited on 2009-07-23 10:55:10 by ChrisClonch
Additions:
1) Installed ntp, wget, ++lm-sensors++, sysstat, rsync
- ++I chickened out and installed the 2.6.22.19 and not the 2.6.30.1. Appears to be a drop in replacement and doesn't need uBoot env changes.++
- Said what the hell and upgraded to 2.6.30.2. When you reboot, you just interrupt the uBoot and configure the env variables as instructed in the README. No problems at all.
1) Changed /var/log to tmpfs to avoid unnecessary writing to flash. Followed [[http://www.iezzi.ch/archives/3 this article]] as it uses another directory for persistence across reboots.
- Create /var/log_persistent.
- Create rsync cron job to sync hourly.
- Create init script.
- Enhance persistent logs to keep both directory's in sync (two-way vs one-way) and enable on boot to pull them back in.
- Downside would be memory usage would get hit unless you get more aggressive with log management.
Deletions:
1) Installed ntp, wget, ++lm-sensors++, sysstat
- I chickened out and installed the 2.6.22.19 and not the 2.6.30.1. Appears to be a drop in replacement and doesn't need uBoot env changes.
-


Revision [51]

Edited on 2009-07-22 15:13:22 by ChrisClonch
Additions:
1) Upgraded kernel to allow usbserial kernel module.
- Using cbxbiker61's ones from [[http://sheeva.with-linux.com/sheeva/ here]].
- I chickened out and installed the 2.6.22.19 and not the 2.6.30.1. Appears to be a drop in replacement and doesn't need uBoot env changes.
- Ideal would be a hardware raid device with USB connection. A la
-


Revision [50]

Edited on 2009-07-22 12:03:21 by ChrisClonch
Additions:
1) Installed ntp, wget, ++lm-sensors++, sysstat
- Configured NTP servers in /etc/ntp.conf.
Deletions:
1) Installed openntpd, wget, ++lm-sensors++, sysstat


Revision [49]

Edited on 2009-07-22 11:57:30 by ChrisClonch

No differences.

Revision [48]

Edited on 2009-07-22 11:56:41 by ChrisClonch
Additions:
1) DHCP client overwrites received DNS servers with localhost.
1) Init files fail to properly create a directory needed by APT.
- Edit **/etc/rc.local** and comment out all lines except ##mkdir -p /var/cache/apt/archives/partial##. Add ##ntpdate-debian ## right after it.
- Not sure what the difference between ntpdate and ntpdate-debian is...
1) Changed hostname by editing **##/etc/hostname##**.
1) Rebooted.
1) Upgraded jaunty.
%%(bash)
apt-get update && apt-get dist-upgrade
- After upgrading, I verified I could connect via SSH while still logged into the console. Some people have had problems logging in after upgrades so troubleshooting that problem is much easier if you still have a session running.
1) Removed the packages no longer needed.
1) Installed openntpd, wget, ++lm-sensors++, sysstat
- lm-sensors: sensors-detect didn't detect any sensors, so no sensor reading... :(
1) Installed sysusage to monitor the system.
- To minimize file system utilization and flash write limitations, would like to store files on removable/remote file system.
====To Do====
- External storage.
- SD card would keep it simple and compact, but reports of slower access vs USB disk drive. Would still have NAND flash write limitations.
- USB storage offers greater capacity and no write limitations. Increases setup's overall power consumption.
Deletions:
- DHCP client overwrites received DNS servers with localhost.
- Init files fail to properly create a directory needed by APT.
- Edit **/etc/rc.local** and comment out all lines except ##mkdir -p /var/cache/apt/archives/partial##. Add ##ntpdate-debian## right after it.


Revision [47]

Edited on 2009-07-22 11:12:39 by ChrisClonch
Additions:
- I added the following to **##/etc/udev/rules.d/10-sheeva.rules##** to automatically add and remove the kernal modules on USB connect/disconnect:
Deletions:
- I added the following to /etc/udev/rules.d/10-sheeva.rules to automatically add and remove the kernal modules on USB connect/disconnect:


Revision [46]

Edited on 2009-07-22 11:12:06 by ChrisClonch
Additions:
- I added the following to /etc/udev/rules.d/10-sheeva.rules to automatically add and remove the kernal modules on USB connect/disconnect:
%%
SYSFS{idProduct}=="9e8f",SYSFS{idVendor}=="9e88",ACTION=="add",RUN+="/sbin/modprobe -q ftdi-sio product=0x9e8f vendor=0x9e88",SYMLINK+"USB[0-1]"
ENV{PRODUCT}=="9e88/9e8f/500",ACTION=="remove",RUN+="/sbin/rmmod ftdi_sio usbserial"
%%


Revision [45]

Edited on 2009-07-21 16:05:34 by ChrisClonch
Additions:
- DHCP client overwrites received DNS servers with localhost.
Deletions:
- DHCP client has overwrites received DNS servers with localhost.


Revision [44]

Edited on 2009-07-21 14:20:26 by ChrisClonch
Additions:
- On Windows, you must install the USB Serial communication drivers. This follows the typical driver install cycle for usb devices -- connect device, point dialog boxes to driver files.
- On Linux, [[http://plugcomputer.org/plugwiki/index.php/Setting_up_Serial_Console_Under_Linux follow these directions]]. On my Ubuntu 9.04 laptop, this worked. My CentOS 5.3 server it didn't. It doesn't appear to be recognized; no dmesg or lsusb output.
Deletions:
On Windows, you must install the USB Serial communication drivers.


Revision [43]

The oldest known version of this page was created on 2009-07-21 14:11:10 by ChrisClonch
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1955 seconds