Need help: mounting usb devices on headless machines

2008-08-07 Thread Martin Langhoff
Fedoristas in the crowd, I am trying to find a tool that allows me to - automount usb devices when they are plugged in (via udev/hal) - would be nice to support removable devices - trigger an associated script on mount - all on a headless server! There is no udev/hal automounter that works

Re: [Server-devel] Need help: mounting usb devices on headless machines

2008-08-07 Thread James Cameron
Don't know about Fedoristas, but on Debian and derivatives this is what I do for a backup disk that is identified by UUID and then backed up to ... all when plugged in ... beep ... wait for rsync ... beep beep ... pull it out. /etc/udev/rules.d/010_local.rules: # backup drive a 2008-05-02 #

Re: [Server-devel] Need help: mounting usb devices on headless machines

2008-08-07 Thread Martin Langhoff
On Thu, Aug 7, 2008 at 6:52 PM, James Cameron [EMAIL PROTECTED] wrote: Don't know about Fedoristas, but on Debian and derivatives this is what usbmount is a slightly longer and nicer version of that, which will - mount various partitions if various partitions are available - run scripts from

New joyride build 2266

2008-08-07 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2266 Changes in build 2266 from build: 2265 Size delta: 0.13M -sugar-update-control 0.6-1 +sugar-update-control 0.7-1 -olpc-update 2.13-1 +olpc-update 2.14-1 --- Changes for sugar-update-control 0.7-1 from 0.6-1 --- + Trac #7845:

New faster build 2266

2008-08-07 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/faster/build2266 Changes in build 2266 from build: 2265 Size delta: 0.27M -sugar-update-control 0.6-1 +sugar-update-control 0.7-1 -olpc-update 2.13-1 +olpc-update 2.14-1 --- Changes for sugar-update-control 0.7-1 from 0.6-1 --- + Trac #7845:

Re: No joyride-weekly build yet; hopefully tomorrow.

2008-08-07 Thread Simon Schampijer
Michael Stone wrote: Charlie tested some Joyrides today but they suffered from a nasty bug (which was promptly fixed) that would have made them less than suitable for further testing. We'll try again tomorrow morning. Michael joyride-2262 contains the fix, thanks for waiting. Best,

Using flock in bash blocks

2008-08-07 Thread Martin Langhoff
Advanced bash/shell scripting question - I cannot seem to do the correct incantation with /usr/bin/flock to make it work in a bash block. Can any Master of the Bash give me a hint? In other words, I am trying to put into to use the example in man flock, where it says:'second form is convenient

Re: Using flock in bash blocks

2008-08-07 Thread David Van Assche
Well dont know if this helps but I was playing with dovecot recently, and remember reading this: # Locking method for index files. Alternatives are fcntl, flock and dotlock. # Dotlocking uses some tricks which may create more disk I/O than other locking # methods. NFS users: flock doesn't work,

Re: Need help: mounting usb devices on headless machines

2008-08-07 Thread Martin Langhoff
On Thu, Aug 7, 2008 at 6:37 PM, Martin Langhoff [EMAIL PROTECTED] wrote: Option two - help me package tweak usbmount for F7 and F9. The codebase is *tiny*, we can carry it. ... I'll probably start chipping away at #2 tomorrow... FWIW, I've imported the history into git, made some minor

Re: suspend on 'idle'

2008-08-07 Thread C. Scott Ananian
On Thu, Aug 7, 2008 at 1:30 AM, Mikus Grinbergs [EMAIL PROTECTED] wrote: Please don't forget to think about what 'idle' means. Chris Ball is the power guru; if you can come up with a succinct test that ohm can do to determine if there is 'real work' going on that should inhibit idle, I'm sure

Thanks for the Joyride test results

2008-08-07 Thread Greg Smith
Hi All, Thanks a lot for the great response to the request for test results on 2230. Its super heartening to have so many smart people on the team; ready, willing and able to test these images! As Michael said recently, we're going to nominate another for mass testing as soon as it gets

XO keeps staring at its own belly button

2008-08-07 Thread Mikus Grinbergs
Been noticing more and more that often my XO acts non-responsively. For instance - the XO has been sitting there for a minute or more (in Terminal). I want to key in a command, so I start typing. Nothing changes. I do *NOT* know if my XO is alive or dead. Suddenly (after one or more seconds)

Re: XO keeps staring at its own belly button

2008-08-07 Thread Martin Dengler
On Thu, Aug 07, 2008 at 08:46:35AM -0400, Mikus Grinbergs wrote: Been noticing more and more that often my XO acts non-responsively. joyride-2258 feels more responsive to me that joyride-2251. Quantitative feedback this is not. I know that garbage collection can make the XO appear

kernel preemption

2008-08-07 Thread Victor Lazzarini
Hi all, a question for the OS people: what is the level of preemption in the olpc supplied kernel? Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ___ Devel mailing list Devel@lists.laptop.org

Re: kernel preemption

2008-08-07 Thread pgf
victor wrote: a question for the OS people: what is the level of preemption in the olpc supplied kernel? hi victor -- does this help? $ grep PREEMPT .config # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y # CONFIG_PREEMPT_RCU is

Re: XO keeps staring at its own belly button

2008-08-07 Thread Erik Garrison
On Thu, Aug 07, 2008 at 02:57:58PM +0100, Martin Dengler wrote: On Thu, Aug 07, 2008 at 08:46:35AM -0400, Mikus Grinbergs wrote: Been noticing more and more that often my XO acts non-responsively. joyride-2258 feels more responsive to me that joyride-2251. Quantitative feedback this is not.

Re: XO keeps staring at its own belly button

2008-08-07 Thread Martin Dengler
On Thu, Aug 07, 2008 at 10:25:56AM -0400, Erik Garrison wrote: On Thu, Aug 07, 2008 at 02:57:58PM +0100, Martin Dengler wrote: On Thu, Aug 07, 2008 at 08:46:35AM -0400, Mikus Grinbergs wrote: I know that garbage collection can make the XO appear unresponsive. I'm not sure what you mean;

Re: suspend on 'idle'

2008-08-07 Thread Chris Ball
Hi, [Removing sugar@ from CC: to keep this to one list.] First of all. I want to mention that when I first install a Joyride build, the initial state of the 'inhibit' flags (i.e., filenames) in /etc and /etc/ohm is not present -- that allows the XO to 'suspend'. Yet on the

Re: Thanks for the Joyride test results

2008-08-07 Thread Chris Ball
Hi, If you think a bug should be considered a release stopper, please put blocks:?8.2.0 in the keyword field. I will read those every weekday. I either: - leave them alone if the fix is already going in - or ask questions to get more detail - or set to blocks:8.2.0 to signify

Re: suspend on 'idle'

2008-08-07 Thread pgf
chris wrote: I think what you actually want is one of two things: * Not to suspend in the presence of any large network transfer. I think this would only be necessary for your ethernet case, since on wireless we're just going to be woken up by the next incoming

Re: Read 48 and PDF

2008-08-07 Thread Jacob Haddon
As an FYI, i updated to 2258 and the result is the same. I even tested the PDF found on the wiki just to ensure the various PDF's I had weren't bad. Same behavior, selecting the PDF will open Read, but it will show 0/0 pages. behavior described in the following ticket which is shown as closed:

Re: suspend on 'idle'

2008-08-07 Thread Richard A. Smith
Mikus Grinbergs wrote: would like 'idle' to mean processor is idle -- not just keyboard is idle (of course my keyboard is idle -- I'm waiting for the still-ongoing downloads to finish before I type the next command). Good idle detection is hard. What you are really wanting is system idle

Re: Read 48 and PDF

2008-08-07 Thread Gary C Martin
Hi Jacob, On 7 Aug 2008, at 17:45, Jacob Haddon wrote: As an FYI, i updated to 2258 and the result is the same. I even tested the PDF found on the wiki just to ensure the various PDF's I had weren't bad. Same behavior, selecting the PDF will open Read, but it will show 0/0 pages.

suspend kills wired ethernet

2008-08-07 Thread Mikus Grinbergs
[I use ethernet, and 'suspend' currently kills it - so I have to reboot to again have an ethernet connection.] Could you file a bug? I don't understand why you have to reboot to regain your ethernet connection after suspending. I did back in January (#5990). Guess it's time to add log

xf86-video-geode: double the RandR for half the price

2008-08-07 Thread Jordan Crouse
I am happy to present a preview of the forthcoming release of the xf86-video-geode driver. This time around, we are adding RandR 1.2 support to the driver, which means that we add far superior control over modes and outputs while removing enormous chunks of now useless code. But wait, there's

Using scaling mode

2008-08-07 Thread Jordan Crouse
I was asked to say a few words on how to test the panel scaling feature. First of all, you need a TFT panel, meaning something not attached to the VGA port. If you have an XO, then you have a TFT panel, others, check your hardware. Scaling is a pretty easy concept - we use a set of static

Please help test our new 8.2.0 weekly beta, joyride-2263!

2008-08-07 Thread Michael Stone
We are thrilled to announce a new test build, joyride-2230, valid until Wednesday, August 13. Please help test it according to the detailed instructions at http://wiki.laptop.org/go/Friends_in_testing while we still have time to fix issues you might find! Our specific interest this week

Re: Please help test our new 8.2.0 weekly beta, joyride-2263!

2008-08-07 Thread Michael Stone
On Thu, Aug 07, 2008 at 02:45:56PM -0400, Michael Stone wrote: We are thrilled to announce a new test build, joyride-2230, valid until Wednesday, August 13. Apologies for the text substitution failure. The correct build is, in fact, joyride-2263. Michael

Re: suspend on 'idle'

2008-08-07 Thread Mikus Grinbergs
... but the idleness threshold obviously isn't working for you. If I allowed any CPU use at all (ie. the minimal amount you're using to write to the NAND from the network) to inhibit suspend, suspend would never happen; kernel threads use CPU in the background all the time. We look for CPU

Re: XO keeps staring at its own belly button

2008-08-07 Thread John Gilmore
For instance - the XO has been sitting there for a minute or more (in Terminal). I want to key in a command, so I start typing. Nothing changes. I do *NOT* know if my XO is alive or dead. Suddenly (after one or more seconds) the typed character appears on the screen. My XO is alive,

Re: Need help: mounting usb devices on headless machines

2008-08-07 Thread Martin Langhoff
On Thu, Aug 7, 2008 at 9:19 PM, Martin Langhoff [EMAIL PROTECTED] wrote: FWIW, I've imported the history into git, made some minor changes and it installs and works on F7. git git://dev.laptop.org/users/martin/usbmount.git gitweb

Re: Need help: mounting usb devices on headless machines

2008-08-07 Thread Martin Langhoff
On Fri, Aug 8, 2008 at 12:18 PM, Rahul Sundaram [EMAIL PROTECTED] wrote: Are you going to submit it for review in Fedora? I don't think so - as I mentioned before, upstream is mostly dead, so I doubt it'll be accepted. Trivial as it is, I am happy to support it for as long as we have a use for

New faster build 2269

2008-08-07 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/faster/build2269 Changes in build 2269 from build: 2266 Size delta: -0.13M -xorg-x11-drv-geode 2.10.0-1.fc9 +xorg-x11-drv-geode 2.10.0-1.olpc3.1 -hal-info 20080607-1.fc9 +hal-info 20080607-1.olpc3.1 -sugar 0.81.8-3.20080806git0e744d9629.olpc3 +sugar

Re: comments on late joyrides re: rt performance

2008-08-07 Thread Ton van Overbeek
Daniel Drake wrote: Hi Victor, Thanks a lot for the feedback. On Thu, 2008-08-07 at 21:45 +0100, victor wrote: One of the things I have been playing with is a little MIDI file player (one of the test/example activities in devel.laptop.org/activities/csndsugui), which uses a soundfont

Re: xf86-video-geode: double the RandR for half theprice

2008-08-07 Thread Jordan Crouse
On 07/08/08 19:45 -0700, Dhimant Bhayani wrote: Hello Jordan, This is excellent news. Does this also mean that graphics performance goes up as well? Is anyone you know doing Optimization of OpenGL library for LX800? Lot of new apps are using OpenGL for UI and I have noticed that this

Re: XO keeps staring at its own belly button

2008-08-07 Thread Ixo X oxI
Some more 2 1/2 cents. Sometimes when the storage is full (or near full), response time is down. (check in Terminal with 'df' and see how much free disk space you have.) If downloading large amounts of data, or in process of updating, could also be the cause. Frequently, when I see such

Re: suspend on 'idle'

2008-08-07 Thread Ixo X oxI
One method also to keep the XO from going into 'keyboard-idle' mode... Sometimes what I do, is hit one of the 'modifer' keys on the keyboard to keep the machine awake. (i.e. Hand, Fn, Ctrl, Shift, Top row function keys, etc) I wonder if there's a method to simulate this in software, so one

Re: Need help: mounting usb devices on headless machines

2008-08-07 Thread Rahul Sundaram
Martin Langhoff wrote: On Thu, Aug 7, 2008 at 9:19 PM, Martin Langhoff [EMAIL PROTECTED] wrote: FWIW, I've imported the history into git, made some minor changes and it installs and works on F7. git git://dev.laptop.org/users/martin/usbmount.git gitweb

RE: [Xorg-driver-geode] xf86-video-geode: double the RandR for half theprice

2008-08-07 Thread Dhimant Bhayani
Hello Jordan, This is excellent news. Does this also mean that graphics performance goes up as well? Is anyone you know doing Optimization of OpenGL library for LX800? Lot of new apps are using OpenGL for UI and I have noticed that this becoming an issue. Thanks. db -Original Message-

Re: comments on late joyrides re: rt performance

2008-08-07 Thread Deepak Saxena
On Aug 07 2008, at 21:45, victor was caught saying: a few ms. I wondered about a change in preemption settings in the kernel that comes with the new OS. For some reason, 2263 seems slightly better than 2232, but I have to test more (I only updated it this evening) As noted in #7603, the

Re: New Trac Reports

2008-08-07 Thread Deepak Saxena
On Aug 08 2008, at 00:13, Michael Stone was caught saying: Friends, I took a few minutes today to piece together two new Trac reports which I hope will aid us in reaching our 8.2.0 goals: http://dev.laptop.org/report/24 - Bugs blocking 8.2.0 Release Contracts Is #6211 (Per-packet mesh

Re: Please help test our new 8.2.0 weekly beta, joyride-2263!

2008-08-07 Thread Martin Langhoff
On Fri, Aug 8, 2008 at 6:45 AM, Michael Stone [EMAIL PROTECTED] wrote: http://wiki.laptop.org/go/Friends_in_testing Preparing for a smoketest event I'm organising tomorrow, I am doing a copy-nand install on 5 XOs I have here, and want to have a consistent set of activities. What activities do

Re: Please help test our new 8.2.0 weekly beta, joyride-2263!

2008-08-07 Thread Martin Langhoff
On Fri, Aug 8, 2008 at 5:15 PM, Martin Langhoff [EMAIL PROTECTED] wrote: is there a better / handier way? On first boot, it found my local School Server and up a big Software Update window popped, and said do you want to install all these activities. Colour me impressed. Bravo! Now, who's

Re: [Server-devel] Need help: mounting usb devices on headless machines

2008-08-07 Thread James Cameron
Don't know about Fedoristas, but on Debian and derivatives this is what I do for a backup disk that is identified by UUID and then backed up to ... all when plugged in ... beep ... wait for rsync ... beep beep ... pull it out. /etc/udev/rules.d/010_local.rules: # backup drive a 2008-05-02 #

Re: [Server-devel] Need help: mounting usb devices on headless machines

2008-08-07 Thread David Van Assche
The LTSP version of Fedora does automounting of drives (usb, floppy, cd)... maybe take a look at the code used to implement it... David On Thu, Aug 7, 2008 at 3:04 PM, Martin Langhoff [EMAIL PROTECTED] wrote: On Thu, Aug 7, 2008 at 6:37 PM, Martin Langhoff [EMAIL PROTECTED] wrote: Option two

[Server-devel] not up for Friday meeting about the XS

2008-08-07 Thread Bryan Berry
Hey guys, I am still not feeling well and not sure I can make tomorrow's meeting. Can we postpone it until next week? -- Bryan W. Berry Systems Engineer OLE Nepal, http://www.olenepal.org ___ Server-devel mailing list Server-devel@lists.laptop.org

Re: [Server-devel] not up for Friday meeting about the XS

2008-08-07 Thread Greg Smith
Hi Guys, I'm OK with reschedule. How about next week at the same time? Hope you feel better soon. Thanks, Greg S Bryan Berry wrote: Hey guys, I am still not feeling well and not sure I can make tomorrow's meeting. Can we postpone it until next week?

Re: [Server-devel] not up for Friday meeting about the XS

2008-08-07 Thread Jim Gettys
On Fri, 2008-08-08 at 08:48 +1200, Martin Langhoff wrote: On Fri, Aug 8, 2008 at 3:48 AM, Greg Smith [EMAIL PROTECTED] wrote: I'm OK with reschedule. How about next week at the same time? Hope you feel better soon. Same here. Postpone 7 days? Can Jim make it too next week? I think so.

Re: [Server-devel] Need help: mounting usb devices on headless machines

2008-08-07 Thread Martin Langhoff
On Thu, Aug 7, 2008 at 9:19 PM, Martin Langhoff [EMAIL PROTECTED] wrote: FWIW, I've imported the history into git, made some minor changes and it installs and works on F7. git git://dev.laptop.org/users/martin/usbmount.git gitweb

[Server-devel] Pass that USB drive - We now have automount triggers -

2008-08-07 Thread Martin Langhoff
After a bit of looking around, I've packaged and added usbmoutn to our repository. yum install usbmount (from the testing repo) will do the trick, With this, teachers and field technicians can trigger actions just by plugging USB sticks on the XS. For example, I am working on a script that will