Re: motherboard serial port dropping chars ?

1999-12-23 Thread Mike Smith
> > I have an application where I need to receive data constantly on > a serial port at 38,400. When we write the data to a database, > we constantly see dropped chars on the incoming serial port. > > Is the stock PC serial hardware capable of sustained thruput at > 38.4K? Easily, modulo othe

Re: Question about GLIDE...

1999-12-23 Thread Mike Smith
> well this one was obviously announced with a lot of fanfare! > I'm glad to see it however! It was announced, and has been referenced many times subsequently. It's only been in the tree since mid-1998, and I suspect that the usual blindness to improvement that greets so many of these little u

Re: Question about GLIDE...

1999-12-23 Thread Julian Elischer
well this one was obviously announced with a lot of fanfare! I'm glad to see it however! On Thu, 23 Dec 1999, Mike Smith wrote: > > > Though doug didn't say so, I think the equivalent code in freeBSD is > > > > > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > > > ERROR... > > > } > > > >

Re: Question about GLIDE...

1999-12-23 Thread Jordan K. Hubbard
> > > Though doug didn't say so, I think the equivalent code in freeBSD is > > > > > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > > > ERROR... > > > } > > > > Correct, and I find it a little embarassing. I mean god, what a hack! :-) > > There has just *got* to be a better way of granting

Re: Question about GLIDE...

1999-12-23 Thread Mike Smith
> > Though doug didn't say so, I think the equivalent code in freeBSD is > > > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > > ERROR... > > } > > Correct, and I find it a little embarassing. I mean god, what a hack! :-) > There has just *got* to be a better way of granting (and checking

Re: Question about GLIDE...

1999-12-23 Thread Jordan K. Hubbard
> Though doug didn't say so, I think the equivalent code in freeBSD is > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > ERROR... > } Correct, and I find it a little embarassing. I mean god, what a hack! :-) There has just *got* to be a better way of granting (and checking for) this pri

Re: deX OErrs on crossed link.

1999-12-23 Thread David Gilbert
> "John" == John Capo <[EMAIL PROTECTED]> writes: John> The de driver for stable will not select full-duplex on some John> (all?) cards with MII transceivers. I posted a patch for the John> DLINK 570TX quad port card that may work with other 21143/MII John> cards. I don't have the patch ha

Re: ASYCH/message-based programming style

1999-12-23 Thread Wes Peters
[EMAIL PROTECTED] wrote: > > Thanks for your immediate response: > > It enlights me of some principles to access event driven programming > library. But I can't imagine what the primitives you mentioned would like, > can you give a breif list of them? Or, can you indicate what part of X > wind

Re: Status of kernel threads.

1999-12-23 Thread Julian Elischer
this is the small realtime kernel mentionned at usenix. It is not a replacement for Unix/BSD. On Thu, 23 Dec 1999, Chuck Robey wrote: > On Thu, 23 Dec 1999, scott wrote: > > > I've found > > > > http://www.cornfed.com/pk > > > > looks weird, but says it will do kernel threads for FreeBSD. >

Re: Status of kernel threads.

1999-12-23 Thread Chuck Robey
On Thu, 23 Dec 1999, scott wrote: > I've found > > http://www.cornfed.com/pk > > looks weird, but says it will do kernel threads for FreeBSD. I looked to see this, but didn't. It does say it has a "BSD" license, and it says it *cross*builds* under FreeBSD (and, for that matter, Linux also), b

Re: Status of kernel threads.

1999-12-23 Thread scott
I've found http://www.cornfed.com/pk looks weird, but says it will do kernel threads for FreeBSD. It replaces the kernel, though, so I don't know how it works with FreeBSD hardware drivers. I was bit by soddy mysql performance when the number of concurrent clients and queries was high under Fr

Re: What's the best accellerated graphics card for XF86?

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999 [EMAIL PROTECTED] wrote: > On 23 Dec, Joe McGuckin wrote: > > > > Now tha GLIDE for FreeBSD is available, what's the best video card > > for playing quake, etc? > > Well, since GLIDE only support 3DFX cards, I'd say your choice is pretty limited :) Besides that, the port I

Status of kernel threads.

1999-12-23 Thread Scott Hess
I've been looking at hardware upgrades for a production MYSQL server. While banging on a hardware RAID solution, I found that the performance improvement for test harnesses hitting MYSQL sucked badly compared to other tests. My hunch is that the blocking nature of disk I/O is interacting with Fre

Re: What's the best accellerated graphics card for XF86?

1999-12-23 Thread patrick
On 23 Dec, Joe McGuckin wrote: > > Now tha GLIDE for FreeBSD is available, what's the best video card > for playing quake, etc? > > Thanks, > > Joe And, who is going to build us a FreeBSD Quake 1, now that the source is out! Patrick To Unsubscribe: send mail to [EMAIL PROTECTED] with "uns

What's the best accellerated graphics card for XF86?

1999-12-23 Thread Joe McGuckin
Now tha GLIDE for FreeBSD is available, what's the best video card for playing quake, etc? Thanks, Joe -- Joe McGuckin ViaNet Communications 994 San Antonio Road Palo Alto, CA 94303 Phone: 650-969-2203 Cell: 650-207-0372 Fax: 650-969-2124 To Unsubscribe: send mail to [EMAIL PROTECTE

GLIDE for FreeBSD

1999-12-23 Thread Theo van Klaveren
Whew. After two late nights of furious hacking, you can now download the modified source for Glide 2.46 (the Voodoo Graphics version) at ftp://phoenix.student.utwente.nl/pub/glide Note: I have completely hacked the source to bits to achieve this. The source has been autoconf'ed (scary, but at l

Re: SIGFPE on arithmetic overflow

1999-12-23 Thread Ronald F. Guilmette
In message <[EMAIL PROTECTED]>, you wrote: > > >On Thu, 23 Dec 1999 17:14:55 GMT, David Malone wrote: > >> Try adding a fpsetmask(fpgetmask()&(~FP_X_OFL)); before the calculation >> and see what happens. > >It still bombs, although fpsetmask(0) does the trick. I'm really >interested in hearing

Re: Question about GLIDE...u

1999-12-23 Thread Andrew Kenneth Milton
+[ Theo van Klaveren ]- | | I have a Voodoo 1 (and a very limited budget, too :), and the I'm porting | the source you're talking about. I'll clean it up and release it as a | patch as soon as I'm finished. Won't be working on it during the holidays

Re: SIGFPE on arithmetic overflow

1999-12-23 Thread Bosko Milekic
On Thu, 23 Dec 1999, Sheldon Hearn wrote: !> !> !>On Thu, 23 Dec 1999 22:05:15 +0200, Sheldon Hearn wrote: !> !>> It still bombs, although fpsetmask(0) does the trick. I'm really !>> interested in hearing what causes the difference in behaviour. !> !>It seems that the exception is happening on

Re: deX OErrs on crossed link.

1999-12-23 Thread John Capo
The de driver for stable will not select full-duplex on some (all?) cards with MII transceivers. I posted a patch for the DLINK 570TX quad port card that may work with other 21143/MII cards. I don't have the patch handy at the moment, check the list archives if anyone is interested. John Capo

Re: SIGFPE on arithmetic overflow

1999-12-23 Thread Sheldon Hearn
On Thu, 23 Dec 1999 22:05:15 +0200, Sheldon Hearn wrote: > It still bombs, although fpsetmask(0) does the trick. I'm really > interested in hearing what causes the difference in behaviour. It seems that the exception is happening on FP_X_INV, which is odd for what seems to be an under/overflo

Re: SIGFPE on arithmetic overflow

1999-12-23 Thread Sheldon Hearn
On Thu, 23 Dec 1999 17:14:55 GMT, David Malone wrote: > Try adding a fpsetmask(fpgetmask()&(~FP_X_OFL)); before the calculation > and see what happens. It still bombs, although fpsetmask(0) does the trick. I'm really interested in hearing what causes the difference in behaviour. Ciao, Sheldo

Re: Shrinking the BSD kernel

1999-12-23 Thread Wilko Bulte
On Thu, Dec 23, 1999 at 07:32:47AM -0800, Kris Kennaway wrote: > On Thu, 23 Dec 1999, Stefan Parvu wrote: > > > Does anybody know real procedures, steps whatever to keep a small an > > efficient kernel ? > > Don't include the stuff you don't need. This belongs on questions-, not > hackers- Hm.

Re: deX OErrs on crossed link.

1999-12-23 Thread Daniel Eischen
On Thu, 23 Dec 1999, David Gilbert wrote: > > "Daniel" == Daniel Eischen <[EMAIL PROTECTED]> writes: > > Daniel> Someone else, just yesterday, posted the a similar problem on > Daniel> the -stable list. He was using a 4-port ZNYX card (de driver > Daniel> also). With the de driver in -stab

Re: deX OErrs on crossed link.

1999-12-23 Thread Nick Rogness
On Thu, 23 Dec 1999, David Gilbert wrote: > I am using the 4-port DLink adapter (uses tulip chips) on the server > and currently intel fxp0 chips on the clients. With this setup, I get > a huge number of OErrs on the deX interface (nothing shows on the fxp0 > on the other end). If I use an fx

Re: deX OErrs on crossed link.

1999-12-23 Thread David Gilbert
> "Daniel" == Daniel Eischen <[EMAIL PROTECTED]> writes: Daniel> Someone else, just yesterday, posted the a similar problem on Daniel> the -stable list. He was using a 4-port ZNYX card (de driver Daniel> also). With the de driver in -stable, he got a huge number of Daniel> output errors, bu

Re: wchar support?

1999-12-23 Thread Jeroen Ruigrok/Asmodai
-On [19991223 12:00], Nik Clayton ([EMAIL PROTECTED]) wrote: >On Tue, Dec 21, 1999 at 08:30:21PM +0100, Jeroen Ruigrok/Asmodai wrote: >> -On [19991221 18:25], Nik Clayton ([EMAIL PROTECTED]) wrote: >> >I'm trying to compile OpenJade 1.3, a C++ application, for the Doc. Pr

Re: PCMCIA-ATA/USB support for SanDisk/Digital Cameras

1999-12-23 Thread John W. De Boskey
Hi, Many thanks for the pointer! I'm going to give this a try. It looks like it will be a great solution... For those interested, I borrowed a friends SanDisk unit and plugged it into a FreeBSD-current box with usb enabled (along with all the debug features). The following is the appropri

Re: deX OErrs on crossed link.

1999-12-23 Thread Daniel Eischen
David Gilbert wrote: > I've been trying a number of different ethernet configurations > out... and at first I was willing to accept that the cable may have > been at fault. However, Now that I have had the chance for further > experimentation, it appears that it may not. > > I am using the 4-por

deX OErrs on crossed link.

1999-12-23 Thread David Gilbert
I've been trying a number of different ethernet configurations out... and at first I was willing to accept that the cable may have been at fault. However, Now that I have had the chance for further experimentation, it appears that it may not. I am using the 4-port DLink adapter (uses tulip chips

Re: Preliminary Intel PRO/1000 Gigabit driver for FreeBSD-current

1999-12-23 Thread Matthew Jacob
> > > > I should note, btw, that this is, in fact, better than I could get the > > Linux released Intel driver to do, so far all I know it's just the cards I > > have. > > fwiw, the intel donated linux driver is of dubious quaility. The curious > can compare its architecture to the acenic drive

Re: DES routines?

1999-12-23 Thread Ptacek
Yes. I have to interface to an existing system that is encrypting its data using the ECB format. Thanks for the info, by the way I found the ecb_crypt by doing a man des_crypt. Thanks, Chris - Original Message - From: Kris Kennaway <[EMAIL PROTECTED]> To: Ptacek <[EMAIL PROTECTED]

Re: SIGFPE on arithmetic overflow

1999-12-23 Thread David Malone
On Thu, Dec 23, 1999 at 03:43:37PM +0200, Sheldon Hearn wrote: > The following code, compiled on a stock FreeBSD 4.0-CURRENT machine > cores on SIGFPE. On a NetBSD 1.4.1 machine (gcc-2.91.60), the program > prints the value of INT_MAX. Try adding a fpsetmask(fpgetmask()&(~FP_X_OFL)); before the

Re: Preliminary Intel PRO/1000 Gigabit driver for FreeBSD-current

1999-12-23 Thread Zach Brown
On Tue, 21 Dec 1999, Matthew Jacob wrote: > > Performance is abysmal (~130Mbit). That's next to figure out > > what's up and what I've done stupidly. Feel free to comment.. > > I should note, btw, that this is, in fact, better than I could get the > Linux released Intel driver to do, so

Re: Code

1999-12-23 Thread Kip Macy
> Taking a more direct implementation approach in our process model is, > I feel, what also led to the current model of the open file descriptor > table, a primitive mechanism which isn't even close to being abstract > enough to allow one to do the really neat stuff, like break or insert > things

Re: DES routines?

1999-12-23 Thread Kris Kennaway
On Sun, 19 Dec 1999, Ptacek wrote: > I am looking for some routines to perform DES encryption in electronic code > book mode. I assume you have some reason for wanting ECB, and not the usual (more secure) CBC mode.. > I have found the ecb_cyrpt function, however when I try and use it the > buff

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > I added it to the -current build a couple of weeks ago when I was working > on Glide. > Hadn't seen it :) Thanks! Theo van Klaveren <[EMAIL PROTECTED]> http://phoenix.student.utwente.nl / ICQ #1353681 - Why, oh why didn't I take the _blue_ pill?

Re: Question about GLIDE...u

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > On Thu, 23 Dec 1999, Andrew Kenneth Milton wrote: > > > +[ Doug Rabson ]- > > | On Wed, 22 Dec 1999, Theo van Klaveren wrote: > > | > > | I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. Yo

Re: Shrinking the BSD kernel

1999-12-23 Thread Kris Kennaway
On Thu, 23 Dec 1999, Stefan Parvu wrote: > Does anybody know real procedures, steps whatever to keep a small an > efficient kernel ? Don't include the stuff you don't need. This belongs on questions-, not hackers- Kris To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-

Re: Question about GLIDE...u

1999-12-23 Thread Doug Rabson
On Thu, 23 Dec 1999, Andrew Kenneth Milton wrote: > +[ Doug Rabson ]- > | On Wed, 22 Dec 1999, Theo van Klaveren wrote: > | > | I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. You can > | find patches at: > | > | http://www.fr

Re: PCMCIA-ATA/USB support for SanDisk/Digital Cameras

1999-12-23 Thread Oliver Fromme
Daniel J. O'Connor wrote in list.freebsd-hackers: > On 23-Dec-99 John W. DeBoskey wrote: > > Basically, it appears to be a combination of PCMCIA-ATA > > support melded together with USB. > > I have a Kodak DC-240.. > > There is a program floating around called ophoto which talks to i

Re: Question about GLIDE...

1999-12-23 Thread Doug Rabson
On Thu, 23 Dec 1999, Theo van Klaveren wrote: > On Thu, 23 Dec 1999, Doug Rabson wrote: > > > On Thu, 23 Dec 1999, Julian Elischer wrote: > > > > Thats right. Another gotcha with the Glide code is that it uses the Linux > > convention for outx(), i.e. outb(val, port) where we use outb(port, val

SIGFPE on arithmetic overflow

1999-12-23 Thread Sheldon Hearn
Hi folks, I'm looking for an explanation of a difference I've found between NetBSD and FreeBSD in the handling of arithmetic overflow in typecasting. The following code, compiled on a stock FreeBSD 4.0-CURRENT machine cores on SIGFPE. On a NetBSD 1.4.1 machine (gcc-2.91.60), the program prints

Shrinking the BSD kernel

1999-12-23 Thread Stefan Parvu
Hi all, I was working a couple of days to have a small as possible kernel in FreeBSD 3.3 Release. Well coud somebody point me to some docs about this subject ? Does anybody know real procedures, steps whatever to keep a small an efficient kernel ? thanks, Stef To Unsubscribe: send mail to [

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > On Thu, 23 Dec 1999, Julian Elischer wrote: > > Thats right. Another gotcha with the Glide code is that it uses the Linux > convention for outx(), i.e. outb(val, port) where we use outb(port, val). > That had me going for an hour or two.. Ah-ha, thanks

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Julian Elischer wrote: > Theo, > > Though doug didn't say so, I think the equivalent code in freeBSD is > Theo, > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > ERROR... > } > > you are asking for permission to do direct IO to IO ports from userland. > Right, th

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. You can > find patches at: > > http://www.freebsd.org/~dfr/Glide-V2-2.53.diff > http://www.freebsd.org/~dfr/Glide-V2-3.01.diff > Actually, I was talking about the Voodoo Grap

Re: Question about GLIDE...u

1999-12-23 Thread Andrew Kenneth Milton
+[ Doug Rabson ]- | On Wed, 22 Dec 1999, Theo van Klaveren wrote: | | I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. You can | find patches at: | | http://www.freebsd.org/~dfr/Glide-V2-2.53.diff | http://www.freebsd.or

Re: Question about GLIDE...

1999-12-23 Thread Doug Rabson
On Thu, 23 Dec 1999, Julian Elischer wrote: > Theo, > > Though doug didn't say so, I think the equivalent code in freeBSD is > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > ERROR... > } > > you are asking for permission to do direct IO to IO ports from userland. > > man 4 io Thats

Re: Question about GLIDE...

1999-12-23 Thread Julian Elischer
Theo, Though doug didn't say so, I think the equivalent code in freeBSD is if ((fd = open("/dev/io",O_RDWR,0)) == -1) { ERROR... } you are asking for permission to do direct IO to IO ports from userland. man 4 io julian On Thu, 23 Dec 1999, Doug Rabson wrote: > On Wed, 22 Dec 1999,

Re: Question about GLIDE...

1999-12-23 Thread Doug Rabson
On Wed, 22 Dec 1999, Theo van Klaveren wrote: > Hello, > > I am in the process of porting the GLIDE library to FreeBSD/i386 > which is making good progress so far. My worst enemy has been the > build system itself and the huge amount if `#ifdef __linux__' in > the code. > > I am doing this in

RE: PCMCIA-ATA/USB support for SanDisk/Digital Cameras

1999-12-23 Thread Daniel J. O'Connor
On 23-Dec-99 John W. DeBoskey wrote: > Basically, it appears to be a combination of PCMCIA-ATA > support melded together with USB. I have a Kodak DC-240.. There is a program floating around called ophoto which talks to it over USB, and there is another (more featured) which talks to it via

Re: wchar support?

1999-12-23 Thread Nik Clayton
On Tue, Dec 21, 1999 at 08:30:21PM +0100, Jeroen Ruigrok/Asmodai wrote: > -On [19991221 18:25], Nik Clayton ([EMAIL PROTECTED]) wrote: > >I'm trying to compile OpenJade 1.3, a C++ application, for the Doc. Proj. > >The build fails with > > Bah, you beat me to it ;) If this is going to be a 'fixe