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.
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.
Additions:
I've moved the benchmarking details and results to a [[SheevaStorageBenchmarks separate page]].
Additions:
====Use Cases====
- Media download hub: i.e. torrent.
- Using transmission.
- Backup server.
- Would need to solve RAIDed storage problem.
- Email server.
- Web server.
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.
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.
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.
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.
Deletions:
%%(bash)
apt-get update && apt-get dist-upgrade
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.
-
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
-
Additions:
1) Installed ntp, wget, ++lm-sensors++, sysstat
- Configured NTP servers in /etc/ntp.conf.
Deletions:
1) Installed openntpd, wget, ++lm-sensors++, sysstat
No differences.
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.
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:
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"
%%
Additions:
- DHCP client overwrites received DNS servers with localhost.
Deletions:
- DHCP client has overwrites received DNS servers with localhost.
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.