• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  General Category / General Discussion / Re: Problems with webcam. on: June 05, 2010, 04:25:42 AM
The previous solution would not work because the problem was at the kernel level. Solved after disabling a usb feature for EHCI. (Kernel 2.6.3X)

2  Hardware and U-Boot firmware / Hardware / SD Card problem on: March 05, 2010, 05:04:38 AM
Hi

I have sheevaplug since December working as a home server. Ethernet is plugged to the router. And has a USB 2.5 disk for data and swap. The Linux Gento runs from an SDHC card. with no power adapter. I fail to have a larger uptime than 5 days, due to 2 problems (other topic). 

After 3 months running Linux Gentoo on a Sdhc card with 8GB, class 4. It had problems with IO. I had to manually fix errors in other computer. It has a ext2 partitation. It booted again. After 12 hours the sheeva died, not sure how, because there was no log, or access to it. Strangely I could ping it. But ssh, httpd, nfsd dead. After booting on console, the system fixed the errors on partitation.

Now it works (since 1 hour). I keep reading other topics. Is the sd card life so short !!? I have a 256MB SD card on a camera working since 5 years. Is this plug related?
3  Hardware and U-Boot firmware / Hardware / Usb disconnect on: March 05, 2010, 04:58:22 AM
Hi

I have sheevaplug since December working as a home server. Ethernet is plugged to the router. And has a USB 2.5 disk for data and swap. The Linux Gento runs from an SDHC card. with no power adapter. I fail to have a larger uptime than 5 days, due to 2 problems (other topic). 

Sometimes the external disk that stores all data that I usually use gets disconnected and reconnected again in a new /dev/sd*. Looks weird. I disabled the USB suspend in kernel. But still has problem.

Code:
Mar  4 16:14:14 dyna kernel: [184027.392795] usb 1-1: USB disconnect, address 2
Mar  4 16:14:14 dyna kernel: [184027.401470] Read-error on swap-device (8:0:194193920)
Mar  4 16:14:14 dyna kernel: [184027.401483] Read-error on swap-device (8:0:194193928)
Mar  4 16:14:14 dyna kernel: [184027.401492] Read-error on swap-device (8:0:194193936)
Mar  4 16:14:14 dyna kernel: [184027.401501] Read-error on swap-device (8:0:194193944)
Mar  4 16:14:14 dyna kernel: [184027.401512] Read-error on swap-device (8:0:194193952)
Mar  4 16:14:14 dyna kernel: [184027.401521] Read-error on swap-device (8:0:194193960)
Mar  4 16:14:14 dyna kernel: [184027.401530] Read-error on swap-device (8:0:194193968)
Mar  4 16:14:14 dyna kernel: [184027.401539] Read-error on swap-device (8:0:194193976)
Mar  4 16:14:14 dyna kernel: [184027.401963] Aborting journal on device sda1.
Mar  4 16:14:14 dyna kernel: [184027.402357] journal commit I/O error
Mar  4 16:14:14 dyna kernel: [184027.412512] ext3_abort called.
Mar  4 16:14:14 dyna kernel: [184027.412524] EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal
Mar  4 16:14:14 dyna kernel: [184027.412536] Remounting filesystem read-only
Mar  4 16:14:14 dyna kernel: [184027.684891] usb 1-1: new high speed USB device using orion-ehci and address 3
Mar  4 16:14:14 dyna kernel: [184027.837778] usb 1-1: configuration #1 chosen from 1 choice
Mar  4 16:14:14 dyna kernel: [184027.838153] scsi1 : SCSI emulation for USB Mass Storage devices
Mar  4 16:14:14 dyna kernel: [184027.838496] usb-storage: device found at 3
Mar  4 16:14:14 dyna kernel: [184027.838504] usb-storage: waiting for device to settle before scanning
Mar  4 16:14:16 dyna kernel: [184029.356794] Read-error on swap-device (8:0:25560)
Mar  4 16:14:16 dyna kernel: [184029.356806] Read-error on swap-device (8:0:25568)
Mar  4 16:14:16 dyna kernel: [184029.378843] Read-error on swap-device (8:0:24456)
Mar  4 16:14:16 dyna kernel: [184029.378857] Read-error on swap-device (8:0:24464)
Mar  4 16:14:16 dyna kernel: [184029.378868] Read-error on swap-device (8:0:24472)
Mar  4 16:14:16 dyna kernel: [184029.378877] Read-error on swap-device (8:0:24480)
Mar  4 16:14:16 dyna kernel: [184029.378886] Read-error on swap-device (8:0:24488)
Mar  4 16:14:16 dyna kernel: [184029.378894] Read-error on swap-device (8:0:24496)
Mar  4 16:14:16 dyna kernel: [184029.378903] Read-error on swap-device (8:0:24504)
Mar  4 16:14:16 dyna kernel: [184029.378912] Read-error on swap-device (8:0:24512)
Mar  4 16:14:16 dyna kernel: [184029.388066] Read-error on swap-device (8:0:36280)
Mar  5 01:22:52 dyna syslog-ng[2316]: syslog-ng starting up; version='3.0.4'

Last line is a reboot because the system died (not sure if swap data was important or sd card problem related)

Does someone has this disconnect problems?
4  Hardware and U-Boot firmware / Hardware / Re: Bluetooth dongle on: January 20, 2010, 05:47:18 AM
You have to start the dbus service before bluetooth.
Most desktops start it because of hal.

In gentoo I do (udev does not start dbus alone)
/etc/init.d/dbus start
/etc/init.d/bluetooth start
5  Hardware and U-Boot firmware / Hardware / USB HUB capability? on: January 19, 2010, 11:26:24 AM
I connected an unpowered USB 2.0 Hub. Following that I connect a powered USB external hard-drive. A wifi pen. A bluetooth. A card reader. When I disconnect one of the devices the hub loses power (they all stop working), and sometimes the system crashes.

So how many USB devices I can connect and disconnect safely. (this is a USB power supply issue? yes?)
6  General Category / General Discussion / Re: Just Got SheevaPlug...have a few questions. on: January 16, 2010, 02:48:59 AM
Not sure about linux distro on plug but:

4. sudo umount /mnt/moutpoint 
Can be in a different place. run "mount" to see where. Use sudo if you are running as normal user.
5. sudo shutdown -h "now"
or
sudo halt

unplug after 1 or 2 minutes.
7  General Category / Success stories / Re: Seedbox on: January 08, 2010, 02:35:43 AM
I have setup my lighttpd/rtorrent/rutorrent successfully, but the rutorrent interface is deathly slow. I have 200+ torrents loaded but memory usage and CPU usage are good so i'm not sure the culprit... really driving me nuts. Only thing I can think is that its the SD Card root.... if anyone else has similar results please reply.

**Figured it out, the client was running great! turns out it was AdBlock for chrome totally screwing my rutorrent performance. Whitelisted my local server and all is good! whew!

Try reducing the number of loaded torrents to half for example. Put them in a waiting folder. Maybe the program doesn't handle well so many.
8  General Category / General Discussion / Re: New plug computer 3.0 on: January 08, 2010, 02:27:20 AM
I'm waiting for the price tag. That I doubt that is around $99 with such things bundled.

I already read something comic from a reporter: "although those looking for x86 goodness will be disappointed to
 hear it's still based around the ARM instruction set." (IMHO: +20W/h)
9  General Category / Success stories / Re: Multipurpose Server at Home on: January 07, 2010, 01:49:55 AM
I have a very similar setup, mine has a 3.5" 1TB USB hard drive hooked to it. I think I'm using mysql. I'm using Transmission instead of rTorrent. Which webserver are you using? I had never used lighttpd before, but quite like it's small footprint now. I've got MediaTomb installed, to share the media I have on the 1TB drive with my uPnP devices (PS3 to be specific). And I always have a remote X session going when my desktop is booted, I run an app called "conky" that lets me monitor all of the system stats.
Oh, and I'm running Debian Lenny off my SD card, I think I'm only using 1.5gb of the 8gb card so far. My kernel is in NAND.. 2.6.32.2
I quite like my little plug. Smiley

I don't need X installed. I use apache (still looks quite light for me, and more familiar). For monitoring I manually look to logs, top, iotop, htop
I also have a swap part. of 300MB rarely used.

My gentoo has 3 GB (portage tree, kernel sources, development environment, ...) takes a bit more of space. And no X.
10  Linux Stuff / Kernel / Re: Problems trying to compile kernel on: January 06, 2010, 03:05:44 AM
I'm using a Gentoo system. And I can't see much advantage on cross-compiling. The plug is not so slow for compiling as it looks (1.5MB kernel in 35 min).
11  General Category / General Discussion / Re: LED usage on: January 06, 2010, 02:39:24 AM
Here's the plugProcCheck.pl

Code:
#!/usr/bin/perl -w
use warnings;
use strict;

my @processes=qw/rtorrent rsync smbd nmbd dnsmasq ddclient apache2 portmap sshd/;

for (@processes){
    my $r = `pgrep $_`;
    chomp $r;
    if ($r eq ""){
        warn "$_ is dead!\n";
`echo "heartbeat" > /sys/class/leds/plug\:green\:health/trigger`;
        exit;
    }
}

#Everything normal
`echo "none" > /sys/class/leds/plug\:green\:health/trigger`;
#print "Done\n";

Later I had this to the crontab (root):

*/2 * * * * perl /root/plugProcCheck.pl

Each 2 minutes, it will check if processes are still running. Crontab should be running.

It flashes when any process of the list is "dead" (not very common, except rtorrent). If someone has further suggestions/applications as server I would appreciate Smiley.
12  General Category / General Discussion / LED usage on: January 05, 2010, 05:04:10 PM
I know how to control the LED from here:
http://plugcomputer.org/plugforum/index.php?topic=795.0

Someone has suggestions for further usage. Because the mail stuff is not very usefull for me. I use it has server.

I was thinking to do a small program to detect "dead services". Like a program that got killed. Something like a warning when something is wrong.
13  General Category / Success stories / Multipurpose Server at Home on: January 05, 2010, 04:41:05 PM
I setup a SheevaPlug for a 24/7 server at home. Running Linux Gentoo 2.6.31

Kernel boots from NAND, Gentoo root is on a class4 SDHC 8GB card (~3.4GB). Eth0 connects to router and USB has a 120GB 2'5 external disk.

Functions:
- NFS shares (web folder, share folder, distfiles from gentoo, torrent files, films, ...). (6 PC)
- Samba for sharing films to a small wifi media center (nice!).
- rsyncd for syncing portage tree.
- rTorrent
- web server
- postgresql server
- subversion server
- ssh server
- dynamic dns update.
- dnsmasq (for dhcp, router lacks some functions, especially for give static private IP and discard /etc/hosts in other computers)
- screen (not a service but quite usefull for maintaining a open shell on the plug)

Still thinking:
- squid
- ntp server
- JRE (strange issue with Gentoo)
14  General Category / General Discussion / Re: Benefits/Downsides to moving to SDHC based booting. on: December 31, 2009, 12:13:24 PM
I use a Class 4 SDHC with 8 GB for booting a Linux Gentoo system and I find it enough fast. Kernel boots from NAND. I can say that it takes around 1 minute to have a login shell. Not sure for what you are using the plug. I use it as a server (for many services). And I find quite good the response time when I read from file system on card. The extenal disk handles most IO (e.g.: rtorrent). I will try in other a Class 2 SDHC with 4GB (last installation needed ~3GB without X.

So the card for me is not as slow as some people says.
15  General Category / Application ideas and development Q/A / Re: Java on Gentoo? on: December 19, 2009, 03:50:39 PM
I would like at least to use a JRE on it. Someone tried Kaffe?
Pages: [1] 2