Re: Serial ATA 4.8 Installation -help

2003-09-09 Thread Soren Schmidt
It seems florian mettetal wrote: > > Now, I am at the Select Drives (Second screen) which menas that 5.1 does > see my promise SATA raid controller. Now... I have 3 selections to use > for drives, ad4, ad6, ar0 > First, I have 2 drives, and one is just a mirror of the other. my > presumption is t

Re: Booting a machine over the network without pxe.

2003-09-09 Thread John-Mark Gurney
omestre wrote this message on Tue, Sep 09, 2003 at 14:22 +: > On Tue, 2 Sep 2003, Josef Karthauser wrote: > > Here is How i have made this task: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=54383 > > I guess that is exactly what you want. I have posted a > PR, and maybe the FreeBSD devel

FYI: NetBSD mmap Improvements

2003-09-09 Thread Pedro F. Giffuni
taken from wine HQ: http://www.winehq.com/?issue=186#NetBSD mmap Improvements "On NetBSD (upcoming 1.6.2, and 1.7/2.0-current), there is a new extension flag MAP_TRYFIXED that essentially simulates current Linux mmap behavior: try the mmap() hint first, without clobbering mapped pages, even if th

Re: NFS mounts and jails

2003-09-09 Thread Brian Reichert
On Wed, Sep 10, 2003 at 01:08:50AM +, Nielsen wrote: > > - is my assertion correct; that is, do I need to redundantly mount > > the same NFS partition for each jail for each jail to access it? > > As far as I know, yes that's the case. If you're mounting the same system > however you may wan

Re: Serial ATA 4.8 Installation -help

2003-09-09 Thread florian mettetal
On Tue, 2003-09-09 at 02:54, Soren Schmidt wrote: > It seems florian mettetal wrote: > > Greetings, > > > > I have built a brand new system founded on an Asus P4PE motherboard, and > > using the FastTrack raid function I have turned my two Maxtor 80GB > > Serial ATA (now reffered to as SATA) hard

Re: NFS mounts and jails

2003-09-09 Thread Nielsen
> As far as I know, that means that NFS partition has to be mounted > (redundantly?) for each jail, even in (in my case), they'll all be > access in the the same way (eg. read-only). Yup, that's right. > - is my assertion correct; that is, do I need to redundantly mount > the same NFS partition

Basic C++ fBSD 5.x kernel module

2003-09-09 Thread John Giacomoni
I have succeeded in getting a basic C++ module to function inside the FreeBSD 5.1 kernel. I figured I'd show the small example I have cooked up which uses basic C++ constructs such a new/delete and virtual inheritance. As suggested I have turned off exceptions have been turned off along with RTTI.

Re: C++ code in a kernel module?

2003-09-09 Thread Vaclav Haisman
Apart from -fno-rtti and -fno-exceptions you will probably need to use also -ffreestanding. Excerpt from gcc man page: -ffreestanding Assert that compilation takes place in a freestanding environment. This implies -fno-builtin. A freestanding environment is one in

Re: C++ code in a kernel module?

2003-09-09 Thread Jordan K Hubbard
I can't believe nobody has yet suggested that FreeBSD switch to IOKit... On Sep 9, 2003, at 12:38 PM, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> "Matthew Emmerton" <[EMAIL PROTECTED]> writes: : I've been silently following this thread, and unless I missed something, has :

NFS mounts and jails

2003-09-09 Thread Brian Reichert
I've successfully been exploring using NFS mounts within a jail. It's clear to me that a host box running multiple jails needs to expose that NFS mount to each jail. As far as I know, that means that NFS partition has to be mounted (redundantly?) for each jail, even in (in my case), they'll all b

Re: C++ code in a kernel module?

2003-09-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Matthew Emmerton" <[EMAIL PROTECTED]> writes: : I've been silently following this thread, and unless I missed something, has : anyone asked John why he wants/needs to use C++ in the kernel? I refrained from posting the name of a good neurologist in Boul

Re: OpenBFS (was Re: C++ code in a kernel module?)

2003-09-09 Thread Pedro F. Giffuni
--- Doug Barton <[EMAIL PROTECTED]> wrote: > On Mon, 8 Sep 2003, Pedro F. Giffuni wrote: > > > Hi; > > > > Attached is a good reasons why someone my want to use C++ in the kernel. > > Sorry, I don't see anything here except "this is all we know how to do." > But, I'm a curmudgeon. :) > To be go

RE: C++ code in a kernel module?

2003-09-09 Thread Don Bowman
> From: John Giacomoni [mailto:[EMAIL PROTECTED] > On Tuesday, Sep 9, 2003, at 00:29 America/Denver, Peter Jeremy wrote: > > > On Mon, Sep 08, 2003 at 11:12:59PM -0400, Alexander Kabaev wrote: > >> On Mon, 8 Sep 2003 23:02:33 -0400 > >> "Matthew Emmerton" <[EMAIL PROTECTED]> wrote: > >> > >>> I've

Re: Perl 5.8.1-RC4 release notes mention FreeBSD malloc upto 200 times slower than perl malloc

2003-09-09 Thread Enache Adrian
On Tue, Sep 09, 2003 a.d., Yusuf Goolamabbas wrote: > # slurping the whole compressed Perl source code into $a > if (open F,"perl-5.8.1.tar.gz") { local $/; $a= } I fortunately fixed that in perl 5.8.1, so when "slurping" regular files the buffer is no longer grown by little steps with realloc. R

Re: C++ code in a kernel module?

2003-09-09 Thread Fred Gilham
> I don't know about __gxx_personaility_v0, but your best bet is to > look at the .o's and find where it is referenced. Then back track > it to what function, then to what construct and go from there. The __gxx_personality_v0 stuff is actually related to distinguishing between C++ and Java exc

Re: C++ code in a kernel module?

2003-09-09 Thread Justin C. Walker
On Tuesday, September 9, 2003, at 08:58 AM, John Giacomoni wrote: On Tuesday, Sep 9, 2003, at 00:29 America/Denver, Peter Jeremy wrote: On Mon, Sep 08, 2003 at 11:12:59PM -0400, Alexander Kabaev wrote: On Mon, 8 Sep 2003 23:02:33 -0400 "Matthew Emmerton" <[EMAIL PROTECTED]> wrote: [snip] simple,

Re: C++ code in a kernel module?

2003-09-09 Thread John Giacomoni
On Tuesday, Sep 9, 2003, at 00:29 America/Denver, Peter Jeremy wrote: On Mon, Sep 08, 2003 at 11:12:59PM -0400, Alexander Kabaev wrote: On Mon, 8 Sep 2003 23:02:33 -0400 "Matthew Emmerton" <[EMAIL PROTECTED]> wrote: I've been silently following this thread, and unless I missed something, has anyon

Re: Perl 5.8.1-RC4 release notes mention FreeBSD malloc upto 200 times slower than perl malloc

2003-09-09 Thread Kris Kennaway
On Tue, Sep 09, 2003 at 03:00:17PM +0800, Yusuf Goolamabbas wrote: > Maybe the test case can assist FreeBSD kernel hackers to make malloc > faster. This is a FAQ. For any algorithm one can come up with a workload that makes it perform badly. The trick is making it perform well for common worklo

Re: Booting a machine over the network without pxe.

2003-09-09 Thread omestre
On Tue, 2 Sep 2003, Josef Karthauser wrote: Here is How i have made this task: http://www.freebsd.org/cgi/query-pr.cgi?pr=54383 I guess that is exactly what you want. I have posted a PR, and maybe the FreeBSD devel team "think about it". :) []'s Leal > Date: Tue, 2 Sep 2003 21:54:18 +0100

Re: OpenBFS (was Re: C++ code in a kernel module?)

2003-09-09 Thread Doug Barton
On Mon, 8 Sep 2003, Pedro F. Giffuni wrote: > Hi; > > Attached is a good reasons why someone my want to use C++ in the kernel. Sorry, I don't see anything here except "this is all we know how to do." But, I'm a curmudgeon. :) Doug -- This .signature sanitized for your protection

Re: linprocfs issues

2003-09-09 Thread Dag-Erling Smørgrav
"Steven Hartland" <[EMAIL PROTECTED]> writes: > Also it seems that linprocfs relies on procfs being mounted > however I cant find any docs that mention this and see no > reason why it should be the case. The problem I see > is that I get errors from linux apps about /proc//file > not existing. When