geom mirror and gbde

2005-01-21 Thread Attila Nagy
Hello, I would like to use gbde on a geom mirror, but /etc/rc.d/gbde fails if there is a slash in the device name. I don't know what would be the clean solution, I used the attached diff to solve the problem. Please review it and if there is a better solution, commit it. Thanks, -- Attila Nagy

Re: clock time in milliseconds into a c program

2005-01-21 Thread Claudiu Dragalina-Paraipan
Or you can use PERFMON. Check manual page for perfmon. It gives you access to internal counters of CPU. Of course this is a subjective measurement, since, AFAIK, the counters are not kept separately for every process, but for entire system, including kernel. Maybe repeating the same measurement fo

Re: clock time in milliseconds into a c program

2005-01-21 Thread Alin-Adrian Anton
Erich Dollansky wrote: Hi, Alin-Adrian Anton wrote: For this snippet (which deals with a B+tree) i got results of the form 0.3445866564 microseconds, which means 344.5867 miliseconds.. etc.. You mixed the units up 1 second is 1 000 ms which is 1 000 000 µs which is 1 000 000 000 ns. Yes I noticed

Re: clock time in milliseconds into a c program

2005-01-21 Thread Alin-Adrian Anton
Claudiu Dragalina-Paraipan wrote: Or you can use PERFMON. Check manual page for perfmon. It gives you access to internal counters of CPU. Of course this is a subjective measurement, since, AFAIK, the counters are not kept separately for every process, but for entire system, including kernel. Maybe

Re: device id question (usb and scsi)

2005-01-21 Thread Bram Van Steenlandt
Hi, Thanks a lot ,it works bram Bernd Walter wrote: On Thu, Jan 20, 2005 at 04:45:49PM +0100, Bram Van Steenlandt wrote: Hi Thanks a lot for the response I've done some reading and googling and this does seems to be the best way. I am however also rather new to FreeBSD and I don't really where

Re: Wondering about a patch (DELL ERA/RAC)

2005-01-21 Thread dpk
On Thu, 20 Jan 2005, Bruce M Simpson wrote: > On Wed, Jan 19, 2005 at 03:58:23PM -0800, dpk wrote: > > I just got a test server set up for this. The patch worked fine. I lifted > > a pppd command line from a linux mailing list: > > > > pppd /dev/cuaa4 1382400 crtscts noipdefault noauth lock persis

Two keyboards

2005-01-21 Thread Bram Van Steenlandt
Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). I've read a previous post and there it was supposed that one should write a driver to accomplish this. I am not a C programmer and know far to little from FreeBSD to accompli

Re: clock time in milliseconds into a c program

2005-01-21 Thread art yerkes
Remember to calibrate RDTSC against the RTC first if you're using it in production. It's quite accurate but some mobile CPUs count in coarser units than you'd predict from master clock rate. -- Here's a simple experiment. Stand on a train track between two locomotives which are pushing on you wit

Re: geom mirror and gbde

2005-01-21 Thread Pawel Jakub Dawidek
On Fri, Jan 21, 2005 at 09:56:58AM +0100, Attila Nagy wrote: +> Hello, +> +> I would like to use gbde on a geom mirror, but /etc/rc.d/gbde fails if +> there is a slash in the device name. +> +> I don't know what would be the clean solution, I used the attached diff +> to solve the problem. +>

Re: geom mirror and gbde

2005-01-21 Thread Attila Nagy
Pawel Jakub Dawidek wrote: Acha! I fixed gbde(8) to accept devices with / in them, but forgot about rc.d/gbde. I guess this is to handle mirror/foo without the /dev/ prefix, so I have an older gbde. Committed to HEAD, MFC after 1 week. Thanks! Thanks! -- Attila Nagy

Re: Geode integrated peripherals support?

2005-01-21 Thread Bernd Walter
On Fri, Jan 21, 2005 at 06:52:41AM +0100, Milan Obuch wrote: > On Friday 21 January 2005 00:51, John-Mark Gurney wrote: > > Milan Obuch wrote this message on Wed, Jan 19, 2005 at 10:00 +0100: > > > > [skip] > > > Great, could we cooperate? > > > > Sure, though Joerg Wunsch has been doing work w/ I2

Re: HEADSUP: ahc driver will be retired!

2005-01-21 Thread Livingston Dell
In article <[EMAIL PROTECTED]> PHK writes: > >Maybe we should put a special marker in -currents sendmail and >reject all email to the current list if they don't originate >from such a system. > >I'll tell you in case you can't figure out the answer to that rather >simple question: You're annoying

Re: Two keyboards

2005-01-21 Thread Brooks Davis
On Fri, Jan 21, 2005 at 10:46:21AM +0100, Bram Van Steenlandt wrote: > Hi > > For a pos system I am working on I need support for two keyboards > (actually one keyboard(ps/2) and one scanner(usb)). > > I've read a previous post and there it was supposed that one should > write a driver to accom

"Could not find a spill register" error on alpha-4

2005-01-21 Thread Igor Pokrovsky
Hi, One of my ports refuses to build on alpha-4. Pointyhat gets the following error: rib.cpp:4130: Could not find a spill register (insn 4709 4708 4710 (set (reg:DI 15 $15) (plus:DI (reg:DI 15 $15) (cons

Re: Two keyboards

2005-01-21 Thread Kris Maglione
Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). I've read a previous post and there it was supposed that one should write a driver to accomplish this. I am not a C programmer and know far to littl

Re: clock time in milliseconds into a c program

2005-01-21 Thread Marco Trentini
On Wed, Jan 19, 2005 at 08:12:13PM -0600, Ryan Sommers wrote: > Marco Trentini wrote: > >Hi, I need to clock the function execution time into a C > >program. I know /usr/include/time.h library but I need to > >clock the time in milliseconds. > > > >Any suggestions, links? > > > > Are you looking f

Re: Two keyboards

2005-01-21 Thread Julian Elischer
Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). you can already do this.. what makes you call the scanner a keyboard? I've read a previous post and there it was supposed that one should write a

Re: Two keyboards

2005-01-21 Thread Julian Elischer
Brooks Davis wrote: On Fri, Jan 21, 2005 at 10:46:21AM +0100, Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). I've read a previous post and there it was supposed that one should write a driver

Re: Two keyboards

2005-01-21 Thread David Scheidt
Julian Elischer wrote: Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). you can already do this.. what makes you call the scanner a keyboard? Proabably, because it acts like one? I don't know abo

Re: process checkpoint restore facility now in DragonFly BSD

2005-01-21 Thread Avleen Vig
On Mon, Jan 17, 2005 at 06:31:06PM -0800, Peter Kieser wrote: > I have no problem with bringing up the discussion of process > checkpointing on FreeBSD, what I _DO_ have a problem with is all this > cruft about DF on the list all the time. We keep getting the, "DragonFly > does it this way" or "