Re: Writing Device Drivers

2000-12-18 Thread Gregory Sutter
On 2000-12-17 22:12 -0700, Wes Peters [EMAIL PROTECTED] wrote: Sergey Babkin wrote: David Preece wrote: At 13:02 17/12/00 +, you wrote: Does anyone have any good tips to get started / HowTo's, or some simple examples that will give me knowledge like the PC Speaker or something

Re: kernel type

2000-12-18 Thread Matthew Seaman
Jordan Hubbard wrote: Yeah, but in what sense is that use of Mach a serious microkernel, if it's only got one server: BSD? I've never understood the point of that sort of use. It makes sense for a QNX or GNU/Hurd or minix or Amoeba style of architecture, but how does Mach help

Re: DOS Emulation KLD

2000-12-18 Thread Mike Smith
Any comments or suggestions welcome. Fix doscmd, which does the emulation in userland (which is even better than running as a KLD). -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents,

Re: Writing Device Drivers

2000-12-18 Thread Julian Elischer
Wes Peters wrote: Devin Butterfield wrote: This is IMHO one of the advantages linux has over FreeBSD. You can run by your local Barnes Noble bookstore and pick up a copy of "Linux Device Drivers" and start writing code that you actually understand. And they'll run fine in Linux

Re:

2000-12-18 Thread Jamie Heckford
Yes, after a cold boot. The machine is dual boot Windows ME (came with the laptop, need it for DVD!!) The output of dmesg is below - should I turn of Plug and Play in the BIOS? Dmesg - Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,

Re: kernel type

2000-12-18 Thread Louis A. Mamakos
As I remember, way back in the mists of 1990 when I first encountered a NeXT box, one of the principal reasons for selecting the Mach 2.x micro kernel was "mach messaging". This was a unified mechanism for almost all IPC both within one host or distributed over a network, where eg. sockets

RE: yet another unsupported PHY in fxp driver

2000-12-18 Thread Dennis
Any word on the latest "Unsupported PHY" , or info that will help me or someone else fix it? DB To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

RE: yet another unsupported PHY in fxp driver

2000-12-18 Thread Metz, E.T.
As far as I know there is no progress yet. I understood from the replies (and searching the archive) that Intel has the key to the solution, in that they need to provide the required information on what has changed in the rev-8 cards. I'm not sure what else can be done, can there? Possible

Swedish accent key

2000-12-18 Thread Carl Johan Madestrand
Hi Im using FreeBSD 4.2 STABLE and I have a problem. I cant get the swedish accent character to work. Pressing the key to the left of the backspace key on my swedish keyboard followed by e should produce it but it doesnt. If I press alt+gr+*/'+e I will get something that looks like it but

Re: Writing Device Drivers

2000-12-18 Thread Warner Losh
In message [EMAIL PROTECTED] Julian Elischer writes: : I have the pci/isa driver skeleton pretty up-to-date, but it doesn't : have any DMA example code, nor does it have any sample code for : pccard or cardbus . Aren't there two kinds of DMA that we need to worry about? Those that are "isadma"

Re: DOS Emulation KLD

2000-12-18 Thread Jeremiah Gowdy
Any comments or suggestions welcome. Fix doscmd, which does the emulation in userland (which is even better than running as a KLD). What's wrong with doscmd ? I hadn't noticed this one used BSD filesystems in addition to image files. That was my #1 issue with some of the other emulators.

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Joseph Scott
On Sun, 17 Dec 2000, Dan Langille wrote: # Which list would be more appropriate for asking advice on designing a # mail processing strategy for FreshPorts 2 (i.e. processing all of cvs-all, # not just the ports)? # # I'm looking for recommendations and guidance on how to capture the #

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Vivek Khera
"JSF" == Joseph Scott [EMAIL PROTECTED] writes: JSFIf you don't want to process a message the instant it comes in JSF (via feeding it to a perl script or what ever) you'll need to setup some JSF sort of queue, then have a cron job come through and process the JSF queue. Or, you could use a

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
On 18 Dec 2000, at 11:22, Joseph Scott wrote: On Sun, 17 Dec 2000, Dan Langille wrote: # Which list would be more appropriate for asking advice on designing a # mail processing strategy for FreshPorts 2 (i.e. processing all of # cvs-all, not just the ports)? # # I'm looking for

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
On 18 Dec 2000, at 12:58, Vivek Khera wrote: "JSF" == Joseph Scott [EMAIL PROTECTED] writes: JSF If you don't want to process a message the instant it comes in JSF (via feeding it to a perl script or what ever) you'll need to setup some JSF sort of queue, then have a cron job come

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Joseph Scott
On Mon, 18 Dec 2000, Vivek Khera wrote: # "JSF" == Joseph Scott [EMAIL PROTECTED] writes: # # JSF If you don't want to process a message the instant it comes in # JSF (via feeding it to a perl script or what ever) you'll need to setup some # JSF sort of queue, then have a cron job come

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c)

2000-12-18 Thread Jacques A. Vidrine
On Sun, Dec 17, 2000 at 10:01:58PM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] "Jacques A. Vidrine" writes: : I hate to give up a line for : : if (data) : free(data); : : but neither do I care for ``if (data) free(data);''. I guess if I : were writing

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Joseph Scott
On Tue, 19 Dec 2000, Dan Langille wrote: # If you don't want to process a message the instant it comes in # (via feeding it to a perl script or what ever) you'll need to setup some # sort of queue, then have a cron job come through and process the queue. # # Thanks. Since posting my

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c)

2000-12-18 Thread Warner Losh
In message [EMAIL PROTECTED] "Jacques A. Vidrine" writes: : None taken. It is however a simple and safe optimization, with no : apparent downsides. It has the same attraction as using bit shifts : instead of multiplication/division, or saving the value from a function : call that will be needed

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
On 18 Dec 2000, at 12:03, Joseph Scott wrote: Let's say, at a minimum you want the queue to run every 30 minutes. However, if there are a large number of commits in the queue, you may want to be able ramp up to queue processing as quickly as every 5 minutes. If there's only two items

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Joseph Scott
On Tue, 19 Dec 2000, Dan Langille wrote: # On 18 Dec 2000, at 12:03, Joseph Scott wrote: # # Let's say, at a minimum you want the queue to run every 30 # minutes. However, if there are a large number of commits in the queue, # you may want to be able ramp up to queue processing as

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
On 18 Dec 2000, at 12:11, Joseph Scott wrote: On Tue, 19 Dec 2000, Dan Langille wrote: # On 18 Dec 2000, at 12:03, Joseph Scott wrote: # #Let's say, at a minimum you want the queue to run every 30 # minutes. However, if there are a large number of commits in the queue, # you

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c)

2000-12-18 Thread Matt Dillon
:: None taken. It is however a simple and safe optimization, with no :: apparent downsides. It has the same attraction as using bit shifts :: instead of multiplication/division, or saving the value from a function :: call that will be needed again later, even if you know the function call :: is

Maestro audio in Dell Latitude CPt

2000-12-18 Thread Guy Helmer
Does anyone happen to have patches for FreeBSD 4.2 to make the pcm driver drive the sound device in the Dell Latitude CPt (identified as vendor 0x125d, dev 0x199[89])? If so, could you either send them to me or provide a pointer to them? Thanks, Guy -- Guy Helmer, Ph.D. Sr. Software Engineer,

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c)

2000-12-18 Thread Jack Rusher
"Jacques A. Vidrine" wrote: I doubt that you could measure any difference between if (foo) free(foo); and free(foo); Nevertheless, I tend to write it that way at times -- maybe because it seems so natural to me to ask `do I need to free this thing?' -- and that gets translated

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread void
On Mon, Dec 18, 2000 at 11:22:58AM -0800, Joseph Scott wrote: If the problem is load then another approach would be to heavily nice(1) the perl script the is launched when a commit mail comes in. I could be wrong, but I think there's a potential problem with this strategy -- namely,

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen ..

2000-12-18 Thread Matt Dillon
: I find that I still use the: : :if( foo ) :free( foo ); : :...syntax a large part of the time. It's a habit developed before you :could trust the free() implementation on every platform to conform to :sanity. It also prevents me from getting into the habit of using syntax :that

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c)

2000-12-18 Thread Jacques A. Vidrine
On Mon, Dec 18, 2000 at 11:40:43AM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] "Jacques A. Vidrine" writes: : None taken. It is however a simple and safe optimization, with no : apparent downsides. It has the same attraction as using bit shifts : instead of

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Gary Kline
On Tue, Dec 19, 2000 at 07:23:11AM +1300, Dan Langille wrote: On 18 Dec 2000, at 12:58, Vivek Khera wrote: "JSF" == Joseph Scott [EMAIL PROTECTED] writes: JSFIf you don't want to process a message the instant it comes in JSF (via feeding it to a perl script or what ever)

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
On 18 Dec 2000, at 11:11, Gary Kline wrote: elm used to have a program /usr/local/bin/filter that did what you want to do, I think. There were concise examples in the elm documentation and it worked well if the load wasn't extremely heavy. I used the filter binary

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c)

2000-12-18 Thread Warner Losh
In message [EMAIL PROTECTED] "Jacques A. Vidrine" writes: : Ever notice that you tend to send more email when you should be studying : for a final? That's why Style(9) wars break out this time of year. :-) : /* Case 1 */ /* Case 2 */ : if (data)

Re: [dn-core] Re: Writing Device Drivers

2000-12-18 Thread Brett Taylor
Hi guys, On Mon, 18 Dec 2000, Gregory Sutter wrote: On 2000-12-17 22:12 -0700, Wes Peters [EMAIL PROTECTED] wrote: Sergey Babkin wrote: Look at the DaemonNews (www.daemonnews.org), the Blueprints column. If I remember the months correctly, in the July 2000 issues there is an

Re: Why not another style thread? (was Re: cvs commit:src/lib/libc/gen getgrent.c)

2000-12-18 Thread Garance A Drosihn
At 1:11 PM -0600 12/18/00, Jacques A. Vidrine wrote: Ever notice that you tend to send more email when you should be studying for a final? I did notice that I write very few letters now, compared to when I was in college and still facing exams/finals... /* Case 1 */

National Semiconductor 82c168/82c169 driver

2000-12-18 Thread Doug Luce
I haven't been able to find a driver for this ethernet card, so I'm working on porting the Linux driver over. It seems to have "natsemi" coded in as the default device mnenomic. Is it a good idea to pull this name directly over to FreeBSD? So my Ethernet interface would be natsemi0 instead of

Re: National Semiconductor 82c168/82c169 driver

2000-12-18 Thread Warner Losh
In message [EMAIL PROTECTED] Doug Luce writes: : I haven't been able to find a driver for this ethernet card, so I'm : working on porting the Linux driver over. It seems to have "natsemi" : coded in as the default device mnenomic. Is it a good idea to pull this : name directly over to FreeBSD?

National Semiconductor DP83815

2000-12-18 Thread Doug Luce
On my previous message, please ignore the designation I gave for the card. The card I'm messing with is a Bay Netgear FA311, based on the National Semiconductor DP83815. My pasting ability was somewhat hampered during the last composition. Doug To Unsubscribe: send mail to [EMAIL

Re: National Semiconductor 82c168/82c169 driver

2000-12-18 Thread Bill Paul
I haven't been able to find a driver for this ethernet card, That's because it doesn't exist. There is no such thing as a "National Semiconductor 82c168/82c169." There is such a thing as a National Semiconductor DP83815 (MacPHYter), and there's also such a thing as a Lite-On 82c168/82c169

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Vivek Khera
"JS" == Joseph Scott [EMAIL PROTECTED] writes: JS How does postfix determine that a message has been delivered JS though? From reading Dan's first message, my though was the problem was JS doing the processing of the commit, all the db stuff, which would happen JS after the perl script had

Re: Writing Device Drivers

2000-12-18 Thread Julian Elischer
Warner Losh wrote: In message [EMAIL PROTECTED] Julian Elischer writes: : I have the pci/isa driver skeleton pretty up-to-date, but it doesn't : have any DMA example code, nor does it have any sample code for : pccard or cardbus . Aren't there two kinds of DMA that we need to worry

Text mode video operations

2000-12-18 Thread Nathaniel G H
I was wondering why VESA_800x600 refreshes to 80x25 and figured out, that size[0] = 80; /* columns */ size[1] = 25; /* rows */ for mode SW_VESA_800x600 (line 319 of src/usr.sbin/vidcontrol.c). A screen resolution of 800x600 would make size[0] = 100; /* columns */ size[1] = 37; /* rows

Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c)

2000-12-18 Thread Drew Eckhardt
In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes: /* Case 1 */ /* Case 2 */ if (data) vs. free(data) free(data); I don't see that Case 1 obfuscates anything. In some cases I find it clearer: Case 1 implies that

Re: StrongARM support?

2000-12-18 Thread Warner Losh
In message [EMAIL PROTECTED] "Michael C . Wu" writes: : IIRC, NetBSD doesn't have the newer StrongARM SA-11xx ports. : And that's why we have to work from ARM/Linux. In conversations that I had with an unnamed vendor a while ago, the newer parts should be just a few days of casual effort to

Re: DOS Emulation KLD

2000-12-18 Thread Mike Smith
Any comments or suggestions welcome. Fix doscmd, which does the emulation in userland (which is even better than running as a KLD). What's wrong with doscmd ? I hadn't noticed this one used BSD filesystems in addition to image files. That was my #1 issue with some of the other

Re: Text mode video operations

2000-12-18 Thread Drew Eckhardt
In message [EMAIL PROTECTED], bsd_appliance@bemail. org writes: I specifically need to know, if possible, how to display hardware- rendered character- and software-rendered pixel-based images on the same display at the same time. This is not possible with straight VGA. If the graphics aren't

Re: Text mode video operations

2000-12-18 Thread Mike Smith
Speaking of video operations... does anybody know where I can find some decent VGA programming documentation? (Or, if possible, someone who knows a few obscure details.) I specifically need to know, if possible, how to display hardware- rendered character- and software-rendered

Re: StrongARM support?

2000-12-18 Thread Robert Swindells
Warner Losh wrote: In message [EMAIL PROTECTED] "Michael C . Wu" writes: : IIRC, NetBSD doesn't have the newer StrongARM SA-11xx ports. : And that's why we have to work from ARM/Linux. In conversations that I had with an unnamed vendor a while ago, the newer parts should be just a few days of

Re: StrongARM support?

2000-12-18 Thread Michael C . Wu
On Mon, Dec 18, 2000 at 02:19:02PM -0700, Warner Losh scribbled: | In message [EMAIL PROTECTED] "Michael C | . Wu" writes: | : IIRC, NetBSD doesn't have the newer StrongARM SA-11xx ports. | : And that's why we have to work from ARM/Linux. | | In conversations that I had with an unnamed vendor a

Re: diskless/pxe boot

2000-12-18 Thread Doug White
On Fri, 15 Dec 2000, Danny Braniss wrote: hi all, I can't get the pxe/dhcp to work when it's 100Mbit Ethernet, it works fine when it's 10Mbit. Actually a newer Intel MB just succeeded, but 99% of the pxe enabled cards fail at 100Mbit. from sniffing the net the broadcast dhcp request

FreeBSD vs Linux, Solaris, and NT

2000-12-18 Thread Murray Stokely
I'm trying to come up with a comprehensive comparison that shows off the strengths of FreeBSD when compared to alternative operating systems. In particular, I would like information about : * Large BSD installations * Performance advantages of FreeBSD * Specific subsystems where

Re: StrongARM support?

2000-12-18 Thread Devin Butterfield
"Michael C . Wu" wrote: [sent to -small too] I would be quite interested. But do we have the resouces and the man-hours to handle IA-64/KA-64/PPC/Alpha/StrongARM at the same time? I am very interested in the PPC and StrongARM port, but there are so few of us on -ppc... Perhaps the

Re: StrongARM support?

2000-12-18 Thread Warner Losh
In message [EMAIL PROTECTED] "Michael C . Wu" writes: : Do you use the gcc embedded optimizations? No. Not directly. My install script assumes that : | which lets you tweak things to year heart's delight. Every time I go : | to put this script up, I run into the "oh, but I want it to do X Y

Re: StrongARM support?

2000-12-18 Thread Michael C . Wu
On Mon, Dec 18, 2000 at 05:21:27PM -0700, Warner Losh scribbled: | In message [EMAIL PROTECTED] "Michael C . Wu" writes: | : Just an idea/question: | : Can we possibly use crunchgen to generate a big binary for userland tools | : only? Then we can drop in new binaries with ease. | | No. I

Re: StrongARM support?

2000-12-18 Thread Warner Losh
In message [EMAIL PROTECTED] "Michael C . Wu" writes: : Would 20mb be a comfortable target for : "make buildsmallworld installsmallworld" ? The build would have to : be interactive. And the interactive build can record all the : options/choices done by the user for future builds. That :

Re: FreeBSD vs Linux, Solaris, and NT

2000-12-18 Thread Boris
Hello Murray, Monday, December 18, 2000, 2:51:25 PM, you wrote: MS I'm trying to come up with a comprehensive comparison that shows off MS the strengths of FreeBSD when compared to alternative operating MS systems. In particular, I would like information about : Here are some suggestions to

Re: FreeBSD vs Linux, Solaris, and NT

2000-12-18 Thread Matt Dillon
: I'm trying to come up with a comprehensive comparison that shows off :the strengths of FreeBSD when compared to alternative operating :systems. In particular, I would like information about : : :* Large BSD installations :* Performance advantages of FreeBSD :* Specific subsystems

ata weirdness

2000-12-18 Thread Christian Kuhtz
Hey gang, for some reason, when I boot off the FreeBSD 4.2-RELEASE floppies or the CD-ROM, one of my drives isn't recognized. Here's what the system looks like: ASUS K7V, Athlon 850, 512MB on the on-board IDE controller.. 1st channel: Maxtor 54098U8 UDMA4 Kenwood CD-R

Re: DOS Emulation KLD

2000-12-18 Thread Jeremiah Gowdy
What's wrong with doscmd ? I hadn't noticed this one used BSD filesystems in addition to image files. That was my #1 issue with some of the other emulators. It needs a lot of TLC; there are plenty of places where it could be usefully extended as well. One might also consider

Need to edit VM tuning section in handbook, any special requirements?

2000-12-18 Thread Matt Dillon
Is there anything special I need to do to edit a section in the handbook, or can I just commit it? -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Floppy disk is full

2000-12-18 Thread Aoyama, Kieko
Hello, I am Kieko Aoyama. I am working at Compaq Computer K.K. in Japan. Please tell me the way of "getting boot.flp,fixit.flp,,kern.flp from FTP directory" But, I know the location of FTP directory,and I am going to getting these files to floppy disk(1.6MB). And I get the ERROR "You

Re: Floppy disk is full

2000-12-18 Thread Kent Stewart
"Aoyama, Kieko" wrote: Hello, I am Kieko Aoyama. I am working at Compaq Computer K.K. in Japan. Please tell me the way of "getting boot.flp,fixit.flp,,kern.flp from FTP directory" But, I know the location of FTP directory,and I am going to getting these files to floppy