Re: Geode integrated peripherals support?

2005-01-20 Thread Milan Obuch
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/ I2C more recently than > me, so you might want to drop him an email. > Is he

Re: resize freebsd partition

2005-01-20 Thread Jason Henson
On 01/20/05 01:42:19, Kamal R. Prasad wrote: Hello, Can someone tell me how to resize the freebsd partition without losing any data? I have a 8GB freebsd partition and 1/2 GB swap and want to install another *bsd onto the harddisk. thanks -kamal I don't think you can shrink, but you can grow a fi

Re: RFC: WARNS=6 patch for libexec/rpc.rstatd

2005-01-20 Thread Xin LI
I've posted an revised patch here: http://people.freebsd.org/~delphij/patch-rpc.rstatd Which has integrated many of Stefan (stefanf@)'s suggestions. I'd appreciate other comments, and will commit the patch some point next week if there is no problem with it. Thanks in advance! Cheers, -

Re: clock time in milliseconds into a c program

2005-01-20 Thread Joseph Koshy
> I don't think there is a streight way to speed-up the default > unix time resolution, which is, as far as i know, in > microseconds. On i386 (and possibly amd64) platforms you can use the RDTSC instruction to get a direct measure of processor cycles elapsed. -- FreeBSD Volunteer, http://peop

Re: clock time in milliseconds into a c program

2005-01-20 Thread Erich Dollansky
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. Erich __

Re: Geode integrated peripherals support?

2005-01-20 Thread John-Mark Gurney
Milan Obuch wrote this message on Wed, Jan 19, 2005 at 10:00 +0100: > On Wednesday 19 January 2005 01:43, John-Mark Gurney wrote: > > Milan Obuch wrote this message on Mon, Jan 17, 2005 at 13:14 +0100: > > > On Monday 17 January 2005 12:55, Bruce M Simpson wrote: > > > > On Sun, Jan 16, 2005 at 03:

Re: Wireless SENAO SL-2511CD

2005-01-20 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Paulo Fragoso <[EMAIL PROTECTED]> writes: : Hi, : : We have a NIC wireless SENAO SL-2511CD, it has chipset Prism 3.0. When : using kernel with new cbb it doesn't work with FreeBSD 5.3: : : Jan 18 10:58:41 teste1 kernel: pccard0: : (manufacturer=0x000

RFC: WARNS=6 patch for libexec/rpc.rstatd

2005-01-20 Thread Xin LI
Hello, everyone, I have a preliminary patch against rpc.rstatd to get it WARNS=6 clean on both i386 and all Tier-1 64-bit platforms. Since I'm not quite familiar with the rpc* code I would like to solicit a review on the patch, see attachment. Changes include: - Avoid 64-bit platform com

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

2005-01-20 Thread Bruce M Simpson
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 persist connect 'chat > -v "" CLIENT CLIENTSERVER "\\c"' >

rstat_timeval: Different type from timeval on 64-bit platforms

2005-01-20 Thread Xin LI
Dear folks, During my recent overhaul of our code I found that rstat_timeval (defined in include/rpcsvc/rstat.h) did the following: %%% struct rstat_timeval { u_int tv_sec; u_int tv_usec; }; %%% While we have timeval defined as: %%% struct timeval { longtv_sec;

Re: freebsd problem: Cannot detect Hard Disk (SATA)

2005-01-20 Thread yoke an
>Scott Long writes: >| On Thu, 20 Jan 2005, yoke an wrote: >| > My motherboard is using an ICH5 southbridge and your suggestion is works. >| > As you said, my sata disks appear to be normal IDE drives but it is not >| > running on Raid mode. Currently I'm having 2 HDD, if I do this

Re: clock time in milliseconds into a c program

2005-01-20 Thread Alin-Adrian Anton
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? ---snip--- #include struct timeval tv1,tv2; struct timezone tz1,tz2; gettimeofday(&tv1,&tz1); for (i=0;i<

Re: device id question (usb and scsi)

2005-01-20 Thread Bernd Walter
On Thu, Jan 20, 2005 at 10:59:39AM +0100, Bram Van Steenlandt wrote: > Hi, > > I've been having some problems with the following: > ex1: I have two scsi scanners and I use sane to scan all works well my > two scanners are /dev/pass0 and /dev/pass1 however when one of them is > turned of the devi

Re: device id question (usb and scsi)

2005-01-20 Thread Ryan Sommers
Bram Van Steenlandt wrote: Hi, I've been having some problems with the following: ex1: I have two scsi scanners and I use sane to scan all works well my two scanners are /dev/pass0 and /dev/pass1 however when one of them is turned of the device are renumbered (wich is a problem because then I ha

device id question (usb and scsi)

2005-01-20 Thread Bram Van Steenlandt
Hi, I've been having some problems with the following: ex1: I have two scsi scanners and I use sane to scan all works well my two scanners are /dev/pass0 and /dev/pass1 however when one of them is turned of the device are renumbered (wich is a problem because then I have to change the sane confi