Re: Raw disk access in userland

2001-07-05 Thread Mike Smith
On Wed, Jul 04, 2001 at 20:18:51 -0400, Kevin Hui wrote: Then the question is whether the kernel is copying data between userspace and kernelspace or whether it just DMAs the data straight in/out of the user program's address space. In Linux raw-io, given that it is a block device and

Re: Raw disk access in userland

2001-07-05 Thread Kenneth D. Merry
On Wed, Jul 04, 2001 at 23:42:50 -0700, Mike Smith wrote: On Wed, Jul 04, 2001 at 20:18:51 -0400, Kevin Hui wrote: Then the question is whether the kernel is copying data between userspace and kernelspace or whether it just DMAs the data straight in/out of the user program's address

Re: [Q] msgs

2001-07-05 Thread Ian Trudel
On Tue, Jul 03, 2001 at 06:43:08PM +0200, Karsten W. Rohrbach wrote: omit the space? /k I have tried with an ending space, it will not work and produce de same error. Actually, I have barely uncommented what was already there. I was suspecting permissions faultive, but as far as my tests

()s missing in condvar.h

2001-07-05 Thread Harti Brandt
Hi, ()s are missing around the macro argument in cv_waitq_empty. The call if(!(cv_waitq_empty(sc-foo_cv))) ... will otherwise fail to compile. harti Index: condvar.h === RCS file:

Re: Status of dialog(1) and libdialog.

2001-07-05 Thread Andrey Simonenko
- Original Message - From: Jordan Hubbard [EMAIL PROTECTED] Newsgroups: lucky.freebsd.hackers Sent: Wednesday, July 04, 2001 11:05 PM Subject: Re: Status of dialog(1) and libdialog. I suppose that depends on how you define future. Do we want to be using libdialog in the year 2010?

kernel panic when trying to use init's address space

2001-07-05 Thread Eugene L. Vorokov
Hello, Some time ago I was asking about I/O in kernel mode when I don't have struct proc to use syscalls. Actually I just wanted my kld to read it's config file on load. Terry told me it's tricky, and I was thinking about possible workarounds. I decided to try the following: look for some

Re: kernel panic when trying to use init's address space

2001-07-05 Thread Bernd Walter
On Thu, Jul 05, 2001 at 04:51:22PM +0400, Eugene L. Vorokov wrote: Hello, Some time ago I was asking about I/O in kernel mode when I don't have struct proc to use syscalls. Actually I just wanted my kld to read it's config file on load. Terry told me it's tricky, and I was thinking about

SCSI Boot order

2001-07-05 Thread Leubner, Achim
One of our testers has a boot problem with FreeBSD 4.3. He installed the OS on a onboard SCSI drive. After installing the FreeBSD driver of our ICP controllers and inserting a ICP card with one disk attached, the system has a boot problem. FreeBSD cannot mount the root file system (I think

Re: SCSI Boot order

2001-07-05 Thread E.B. Dreger
Date: Thu, 5 Jul 2001 14:42:41 +0100 From: Leubner, Achim [EMAIL PROTECTED] One of our testers has a boot problem with FreeBSD 4.3. He installed the OS on a onboard SCSI drive. After installing the FreeBSD driver of our ICP controllers and inserting a ICP card with one disk attached, the

Re: Status of dialog(1) and libdialog.

2001-07-05 Thread Jordan Hubbard
From: Andrey Simonenko [EMAIL PROTECTED] Subject: Re: Status of dialog(1) and libdialog. Date: Thu, 5 Jul 2001 13:32:59 +0400 I don't mean this at all, I just wanted to know if somebody improve/patch/develop libdialog, or if somebody is going to remove and add another compatible library with

Re: pthread/longjmp/signal problem

2001-07-05 Thread Louis-Philippe Gagnon
I finally got around to trying the patch on -stable; I can confirm that it solves the problem. Thanks again! Louis-Philippe Gagnon - Original Message - From: Daniel Eischen [EMAIL PROTECTED] To: Louis-Philippe Gagnon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001

RE: recent 4.3-stable freezes my SMP box

2001-07-05 Thread Koster, K.J.
I just upgraded one of my boxes to FreeBSD 4.3-stable with cvsup. Unfortunately the machine now freezes. If you are tracking -stable, then there is a lot of good reason to keep an eye the freebsd-stable mailing list. Particularly when something like this comes up. *blush* I've been

NIS

2001-07-05 Thread Marcelo Pereira
Hi All, Can I set up my NIS Server to serve both FreeBSD and Linux clients ?? Thanks in advance, Marcelo Pereira Math. - Unicamp [Brazil] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: kernel panic when trying to use init's address space

2001-07-05 Thread Bernd Walter
On Thu, Jul 05, 2001 at 02:59:17PM +0200, Bernd Walter wrote: You are mmaping into the address space for the process you use the struct proc from. As long as it's this programm that is curproc everything is fine. That means you are called from that process such in kldload or interrupted that

Re: Quick question: AIO / SMP / process-based threading

2001-07-05 Thread Bernd Walter
On Tue, Jul 03, 2001 at 04:21:14AM -0700, Terry Lambert wrote: Michael C . Wu wrote: On Sat, Jun 30, 2001 at 05:47:49AM +, E.B. Dreger scribbled: | 1. Is AIO SMP-safe? AIO is not safe, SMP or not. Are you maybe confusion AIO (a POSIX mandated API) with async mounts? AIO

Re: Status of dialog(1) and libdialog.

2001-07-05 Thread Eric Melville
I'm working on some patches for dialog(1) and libdialog. Does FreeBSD team want to continue use of dialog(1) program and libdialog in future? I ask this question because I fix some problems I have with dialog(1) (really with libdialog) and I'm going to try to fix the same problems with all

Re: An netgraph firewall module ? Is this possible / good performing ?

2001-07-05 Thread Vladimir B. Grebenschikov
Julian Elischer writes: Nicolai Petri wrote: Hi hackers, I've used some time writing a custom natd like daemon which makes som speciel packet processing. One of the issues with the natd approach is the large amount of context-switches it gives. This can be a real

Re: An netgraph firewall module ? Is this possible / good performing?

2001-07-05 Thread Julian Elischer
you are correct. I had forgotten about that.. On Fri, 6 Jul 2001, Vladimir B. Grebenschikov wrote: Julian Elischer writes: Nicolai Petri wrote: Hi hackers, I've used some time writing a custom natd like daemon which makes som speciel packet processing. One of the

kern/28748: HARP may reject SVCs from certain ATM switches

2001-07-05 Thread Richard Hodges
I just discovered an interesting bug in HARP that prevents SVCs from working on a Xylan switch, and maybe others. The PR is kern/28748, and it includes a detailed description of the problem and a simple patch. Any takers? Thanks, -Richard To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Request for tech review: half of FreeBSD book

2001-07-05 Thread Michael Lucas
Nay, enough! You know, when I requested an article review here several months ago, I was impressed that I got almost fifty responses. So, I think, how many people could possibly want to review a book? In about forty-eight hours, that comes to about 170 people. I want to publically thank

Re: Request for tech review: half of FreeBSD book

2001-07-05 Thread Linh Pham
On 2001-07-05, Michael Lucas scribbled: # I want to publically thank everyone who volunteered. Responses came # from committers, technical editors from other companies, people I've # seen on -hackers for years, and countless folks who must just read # -hackers in hope of achieving

PC with two monitors

2001-07-05 Thread Belial
Hello all! I have PC with dual head video card (Matrox G450) which supports to use both heads independently. I can attach to it two monitors or monitor and tv. Also I can attach two mice(ps/2 and serial) and two keyboards(ps/2 and usb). How I can use all that as two terminals in FreeBSD 4.2? I