Re: timeout of 10 usecs

2009-03-17 Thread Raz
you can try and use hpet directly. 10MHZ is the minimum by spec. On Mon, Mar 16, 2009 at 2:07 PM, Denis Borisevich dennis...@gmail.com wrote: 2009/3/16 Matthias Kaehlcke matth...@kaehlcke.net: El Mon, Mar 16, 2009 at 01:03:35PM +0300 Denis Borisevich ha dit: 2009/3/16 Razvan Deaconescu

how much updating of scripts/ directory from 2.6.21 to now?

2009-03-17 Thread Robert P. J. Day
i'm currently trying to do the documented (ARM cross-compile) build of a particular 2.6 source tree described here: http://www.embeddedarm.com/software/arm-linux-26-ts72xx.php the instructions in question: 1. Download and install (decompress) the cross-compiler on your Linux x86 PC

Re: how much updating of scripts/ directory from 2.6.21 to now?

2009-03-17 Thread Robert P. J. Day
On Tue, 17 Mar 2009, Robert P. J. Day wrote: i'm currently trying to do the documented (ARM cross-compile) build of a particular 2.6 source tree described here: http://www.embeddedarm.com/software/arm-linux-26-ts72xx.php the instructions in question: 1. Download and install

How to convert a port number (_be16) to a string

2009-03-17 Thread Cliffe
Hi, I have the destination port from a struct socket and I need to convert it to a string. struct inet_sock *inet = inet_sk(sock-sk); unsigned int sport = inet-sport; I have tried using snprintf with %d, and %lu but I am not getting the values I expect. For example port 80 is

Re: How to convert a port number (_be16) to a string

2009-03-17 Thread Matthias Kaehlcke
El Wed, Mar 18, 2009 at 02:59:28AM +0800 Cliffe ha dit: I have the destination port from a struct socket and I need to convert it to a string. struct inet_sock *inet = inet_sk(sock-sk); unsigned int sport = inet-sport; I have tried using snprintf with %d, and %lu but I am

Fwd: Re: any NX memory areas?

2009-03-17 Thread lech
Original Message Subject: Re: any NX memory areas? Date: Tue, 17 Mar 2009 19:01:24 +0100 From: l...@dev.superhost.pl To: Peter Teoh htmldevelo...@gmail.com i will be very interested in specificsif u have a specific problemwe can discuss.i am keen on solving

Re: linux switch_to function

2009-03-17 Thread Peter Teoh
I don't pretend to know everything either, and worst.don't understand very well either: Both asked the same question: http://lkml.org/lkml/2000/10/30/106 http://lkml.org/lkml/2004/5/8/50 And the answer is in Wolfgang book, as copied here (page 104) (u really need to see the diagram):

How to get node property in the /sys device model

2009-03-17 Thread Ahmed A
Hello, I have an entry (end node) in the device model - /sys/class/scsi_host/host2/scan. It is writable. However, when I try to write to it some character that I figured might be valid, I get an error: # echo 1 /sys/class/scsi_host/host2/scan bash: echo: write error: Invalid argument #