Proper Kernel notification to a user level process

2000-01-27 Thread Dru Nelson
What is the proper or best practice method for the kernel to notify a user level process (or processes) of an event. This event may possibly have data. The processes may or may not exist. The event is generated by some arbitrary kernel event (a counter, a call being made, etc.) Typically I have

Quanta tricks

2000-01-27 Thread Dru Nelson
During one of the BayAreaFreebsdUsersGroup meetings, Matt D. and Terry were mentioning that certain do some tricks to hold their quanta (Apache?). What are these tricks? (Just out of curiousity). Please reply to me directly, I will summarize the results to the list. Dru Nelson San Mateo, Calif

Fwd: New soundcard device driver -TurtleBeach Multisound Monterey for 3.x

2000-01-27 Thread Bob Kot
I offer this new driver to any and all who are interested under the GNU public license. Development was done solely on The Multisound Monterey card (because it's the one I own). The Multisound family also includes the older Classic, the later Pinnacle and Fiji. I would encourage those users to at

RE: Setting the video mode during boot (was: Re: VGA card (mis)b

2000-01-27 Thread John Baldwin
On 28-Jan-00 Kazutaka YOKOTA wrote: >>> The word at 0x463 in the BIOS data area tells at which I/O address the >>> CRTC is sitting on. It's 0x3b4 for the monochrome adapter and EGA/VGA >>> in a monochrome mode, and 0x3d4 for CGA and EGA/VGA in a color mode. >>> >>> So, we should try to set the

Setting the video mode during boot (was: Re: VGA card (mis)behavior)

2000-01-27 Thread Kazutaka YOKOTA
>> The word at 0x463 in the BIOS data area tells at which I/O address the >> CRTC is sitting on. It's 0x3b4 for the monochrome adapter and EGA/VGA >> in a monochrome mode, and 0x3d4 for CGA and EGA/VGA in a color mode. >> >> So, we should try to set the mode 3 when we find 0x3d4 and the mode 7 >

Re: how to allocate an alined address for a device?

2000-01-27 Thread YAMAMOTO Shigeru
> "Warner" == Warner Losh writes: Warner> In a cardbus system, one would force the alignment in the card bus Warner> bridge. It would reject those things that aren't aligned in a sane Warner> manner for cardbus. It would try again to get a different range, if Warner> possible, or would rej

Re: How to write a device-driver?

2000-01-27 Thread Juergen Lock
On Tue, Jan 25, 2000 at 06:54:15PM +0100, Jeroen Ruigrok/Asmodai wrote: > -On [2124 00:00], Joachim Jäckel ([EMAIL PROTECTED]) wrote: > >But how get's the zoran36067_regs structure the information from the > >chip? > > If you were using newbus (on FreeBSD 4.0) I'd say bus_space_read_#() to >

Re: VGA card (mis)behavior

2000-01-27 Thread John Baldwin
On 27-Jan-00 Kazutaka YOKOTA wrote: >>There is a way to detect monochrome or color via one of the 0x3dX registers. >>It's the register that tells you if the rest of the vido registers are at 0x3b >>X >>(mono) or 0x3cX (color). I can't remember which bit in which register that is >>though. If s

Re: VGA card (mis)behavior

2000-01-27 Thread Kazutaka YOKOTA
>There is a way to detect monochrome or color via one of the 0x3dX registers. >It's the register that tells you if the rest of the vido registers are at 0x3b >X >(mono) or 0x3cX (color). I can't remember which bit in which register that is >though. If someone can find that out, then we can fix

Compiling under the linux emulator

2000-01-27 Thread Gene Harris
I need to compile a program under the freebsd linux emulator. How do I set up an environment where make, cc, etcetera point to the emulator binaries? I am attempting to recompile the xfstt port under the linux emulator to test some stability issues. Many thanks, Gene *=

Re: VGA card (mis)behavior

2000-01-27 Thread W Gerald Hicks
Hi Folks, (included Daniel since he had other concerns we discussed elsewhere) I haven't submitted a PR yet, pending the outcome of the discussion; since the right group of people seems to be talking about it, I'll just get out of the way :-) Cheers, Jerry Hicks [EMAIL PROTECTED] To Unsubs

RE: VGA card (mis)behavior

2000-01-27 Thread John Baldwin
On 27-Jan-00 Brian Fundakowski Feldman wrote: > This really does need to be fixed for 4.0-RELEASE. There exists the problem > where certain BIOSes will whack a VGA card out of shape, preventing > FreeBSD from recognizing the card. The proper solution is to whack it > into shape ASAP, and ASAP h

Re: aio_read crashing certain kernels.

2000-01-27 Thread Scott Hess
"Matthew Dillon" <[EMAIL PROTECTED]> wrote: > This is an incredibly scary program! OK, so I was facetious in including that program - my basic point was that it doesn't happen when I'm doing anything weird, it happens with the most straightforward aio_read program imaginable. Furthermore, it

VGA card (mis)behavior

2000-01-27 Thread Brian Fundakowski Feldman
This really does need to be fixed for 4.0-RELEASE. There exists the problem where certain BIOSes will whack a VGA card out of shape, preventing FreeBSD from recognizing the card. The proper solution is to whack it into shape ASAP, and ASAP here would be the loader: you need to be able to interac

Re: disappearing mount points after install

2000-01-27 Thread Marwan Fayed
On Wed, 26 Jan 2000, Brian D. Moffet wrote: > At 03:59 PM 1/22/00 -0500, you wrote: > >FreeBSD loader does not start up, nor does the kernel (obviously). The > >error message I get back is literally translated as "No O.S." > > on the other versions of Intel Unix I have used dd the master boot bl

Re: disappearing mount points after install

2000-01-27 Thread Brian D. Moffet
At 03:59 PM 1/22/00 -0500, you wrote: >FreeBSD loader does not start up, nor does the kernel (obviously). The >error message I get back is literally translated as "No O.S." "No O.S " means that the master boot block has not been written. I have no idea why your version of FreeBSD didn't write on

Re: kern/13644

2000-01-27 Thread Jonathan M. Bresler
s/line/list/ NIL is what you test against to determin if you have reached the end of a list. the empty list is just a NIL ( hand wave over all the car and cdr reality in favor of a simpler albeit not-correct description of how it works.) jmb > > In message <[EMAIL PROTECTED

Success with Dell Poweredge 2400s?

2000-01-27 Thread Geoff Rehmet
Hi all, a short while ago, there was discussion about problems with Dell Poweredge 2400s. We are currently trying to get a couple of these beasts going (dual processor) and I'd like to know if anyone has had any success so far. Last time I looked, there seemed to be an issue about the Chipset?

qpopper and sendmail ports on FreeBSD 3.x : locking process ?

2000-01-27 Thread Gildas PERROT
Hi, I was thinking to use qpopper 2.53 port on FreeBSD 3.3 with sendmail 8.9.3 port (mail.local delivery) but I would like to know the impact of the patches added to source files especially concerning the lock process since I want to run a script to expire mail. Why does ..pop stay in /var/mai

Re: aio_read crashing certain kernels.

2000-01-27 Thread Andrzej Bialecki
On Wed, 26 Jan 2000, Matthew Dillon wrote: > This is an incredibly scary program! It's sending an iocb to aio_read > and then pops the stack and exits. The act of exiting could very well > scribble all over the iocb structure while the I/O is in progress and, > of course, then

Re: compiler errors (fwd)

2000-01-27 Thread Adam
Tell him he cannot claim it is not the hardware until he actually replaces the ram and cpu with truely known good ones and un-overclocks if he is oc'ing. Also try underclocking. I mention truely known good ones because I recently went through *3* bad cpu's before finding a useable one from our c