Moving on
Friends, You may already have heard the news, but I wanted to take a moment to let you know that I have just concluded my tenure as Engineering Manager at One Laptop per Child Australia. It's been a rewarding three and a half years. I joined the organisation as its first technical resource and established the Engineering Department. We've created some innovative solutions, and most importantly it has all been tied closely into a holistic educational solution. I'm pleased to say that we've made a difference to the lives of thousands of children. This was not a proprietary effort - far from it. The community has been the backbone of everything we have achieved, and I owe a debt of gratitude to you all. Walter Bender will be taking over many of my responsibilities, so our community roots will certainly continue. I'm not sure what adventure lies next for me, but I hope to be able to make a positive contribution to the world in whatever I do. I'll be sticking around on the lists as a lurker. My srid...@laptop.org.au address will likely stop working in the near future, but you can continue to reach me personally: e-mail: srid...@dhanapalan.com LinkedIn: http://au.linkedin.com/in/sridhard All the best, Sridhar ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
External hard disk testing for use with IIAB (internet in a Box) on XO based XSCE servers
I have a number of 2.5 SATA drives, that I've used for I don't know how long. I put one in a startech.com external hard drive encosure model sat2510u2E. I wrote a little cron stimulated script to write, and check for file existence, and almost immediately got failures. I was using a USB hub (plugable model:USB1-HUB-AG7) with a 5v 3A wall wart powering the unit under test. Googling the ehci_hcd failure messages, I find that there are a number of longstanding issues in running these external enclosures under linux kernels, even back in 2007 and earlier. It's not clear to me yet whether these problems are disk or interface related. So I got paranoid, and connected a western digital drive (3TB self contained 3.5in SATA USB interface with wall wart PS) that has been working for me for almost 2 years. No failures in 24 hours. Then I started learning about S.M.A.R.T., which is a disk self monitoring, reporting, that most modern disk incorporate. Running smartctl, which is part of our OS, on my old disk, and the one which exhibited failures, indicates that the drive itself does not know that it is failing. I'll probably modify the included script to use smart, in the next iteration. But I thought I'd fish for any expertise within the olpc community. Are any external enclosures known to work? I have't been able to find descriptions of the chipsets that do the USB interface. George Maybe this is too simplistic: #!/bin/bash # script to check for external hard disk presence and writeability MOUNTPT=/mnt/usb0 # read a file that is always there dtm=`date` if [ ! -f $MOUNTPT/token ]; then echo $dtm failed to read $MOUNTPT/token. Writing it /root/disk.log echo this is content written at $dtm $MOUNTPT/token else echo $dtm -- success so far /root/disk.log fi # check for the absence of a file if [ -f $MOUNTPT/writeit ]; then echo $dtm -- last attempt to remove $MOUNTPT/writeit failed /root/disk.log else echo $dtm -- content of file writeit $MOUNTPT/writeit fi sync if [ -f $MOUNTPT/writeit ]; then rm $MOUNTPT/writeit else echo $dtm -- failed to write $MOUNTPT/writeit /root/disk.log fi ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: External hard disk testing for use with IIAB (internet in a Box) on XO based XSCE servers
Empty USB to SATA enclosures have a tiny adapter containing a controller and firmware. The firmware must implement the USB storage protocol on one side, and the SATA protocol on the other. It is one of those product areas where the barrier to entry is very low, the margins low, and this can lead to a wide variation in quality. Yes, I've found they vary in terms of performance, reliability, and compatibility. Many of them don't support SMART, so you'd need to query a drive using smartctl on a system with a native SATA port in order to prove whether smartctl will work through the adapter. Relying on other people's reports is a start. I recently purchased one to re-use a SATA drive, and tested it with OLPC OS and Open Firmware. It works fine, but I have not tested SMART. Manufacturer: Welland Industrial Co., Ltd. Model: ME-746E. Brand: speed master. USB Vendor/Product: 174C:5106. USB Vendor string: ASMedia. USB Device string: AS2105. USB hard drive enclosures on the other hand allow the manufacturer to eliminate an area of doubt; because they choose both the controller and the hard drive they can assure compatibility, and test at the USB storage protocol level. For important systems, I think a USB hard drive will be a better choice than an empty enclosure. They are also often cheaper than a new empty enclosure and a new hard drive. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
[Server-devel] Moving on
Friends, You may already have heard the news, but I wanted to take a moment to let you know that I have just concluded my tenure as Engineering Manager at One Laptop per Child Australia. It's been a rewarding three and a half years. I joined the organisation as its first technical resource and established the Engineering Department. We've created some innovative solutions, and most importantly it has all been tied closely into a holistic educational solution. I'm pleased to say that we've made a difference to the lives of thousands of children. This was not a proprietary effort - far from it. The community has been the backbone of everything we have achieved, and I owe a debt of gratitude to you all. Walter Bender will be taking over many of my responsibilities, so our community roots will certainly continue. I'm not sure what adventure lies next for me, but I hope to be able to make a positive contribution to the world in whatever I do. I'll be sticking around on the lists as a lurker. My srid...@laptop.org.au address will likely stop working in the near future, but you can continue to reach me personally: e-mail: srid...@dhanapalan.com LinkedIn: http://au.linkedin.com/in/sridhard All the best, Sridhar ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] External hard disk testing for use with IIAB (internet in a Box) on XO based XSCE servers
I have a number of 2.5 SATA drives, that I've used for I don't know how long. I put one in a startech.com external hard drive encosure model sat2510u2E. I wrote a little cron stimulated script to write, and check for file existence, and almost immediately got failures. I was using a USB hub (plugable model:USB1-HUB-AG7) with a 5v 3A wall wart powering the unit under test. Googling the ehci_hcd failure messages, I find that there are a number of longstanding issues in running these external enclosures under linux kernels, even back in 2007 and earlier. It's not clear to me yet whether these problems are disk or interface related. So I got paranoid, and connected a western digital drive (3TB self contained 3.5in SATA USB interface with wall wart PS) that has been working for me for almost 2 years. No failures in 24 hours. Then I started learning about S.M.A.R.T., which is a disk self monitoring, reporting, that most modern disk incorporate. Running smartctl, which is part of our OS, on my old disk, and the one which exhibited failures, indicates that the drive itself does not know that it is failing. I'll probably modify the included script to use smart, in the next iteration. But I thought I'd fish for any expertise within the olpc community. Are any external enclosures known to work? I have't been able to find descriptions of the chipsets that do the USB interface. George Maybe this is too simplistic: #!/bin/bash # script to check for external hard disk presence and writeability MOUNTPT=/mnt/usb0 # read a file that is always there dtm=`date` if [ ! -f $MOUNTPT/token ]; then echo $dtm failed to read $MOUNTPT/token. Writing it /root/disk.log echo this is content written at $dtm $MOUNTPT/token else echo $dtm -- success so far /root/disk.log fi # check for the absence of a file if [ -f $MOUNTPT/writeit ]; then echo $dtm -- last attempt to remove $MOUNTPT/writeit failed /root/disk.log else echo $dtm -- content of file writeit $MOUNTPT/writeit fi sync if [ -f $MOUNTPT/writeit ]; then rm $MOUNTPT/writeit else echo $dtm -- failed to write $MOUNTPT/writeit /root/disk.log fi ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] are XSCE 0.3 repo references correct?
Disclaimer: I am not asking for help; I am sharing my experiences Looking back through the mailing list, I saw references to potentially saving downloads (expensive in some places) by copying the cached yum packages from an already-installed XO to the next XO on which XSCE would be installed. Having just installed XSCE 0.3 on an XO-1.5, I went looking in /var to see what was cached there. And in directory /var/cache/yum/i386/18/xs-extra/packages/ I found a bunch of rpms (including ejabberd-2.1.11-5.1.fc17.XSCE.i686.rpm) which had 'fc17' as part of their names. Since I started with 13.1.0 (build 36) which is 'fc18', I was surprised at what had been saved in the yum cache. The appropriate line in /etc/yum.repos.d/xsce-release.repo is: baseurl=http://xsce.activitycentral.com/repos/xs-extra/ mikus ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel