Re: devd, crunchgen, C++, and /rescue

2003-01-03 Thread Tim Kientzle
M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Tim Kientzle <[EMAIL PROTECTED]> writes: : To me, this looks like a library entry : (locale-inst.o in libstdc++) is not finding a : requirement (std::min). ... But libstdc++ shoudln't be rewritten by crunchgen. I'm now stumped. I

question about SMP stack pointer

2003-01-03 Thread Chuck Tuffli
In debugging a new SCSI driver for 4.7-RELEASE on a SMP machine, there is a panic I'm trying to understand. I found a comment in sys/i386/include/globaldata.h that says * SMP_PRIVPAGES: The per-cpu address space is 0xff8 -> 0xffbf The panic I see on the console prints Fatal double fault

Re: devd, crunchgen, C++, and /rescue

2003-01-03 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Tim Kientzle <[EMAIL PROTECTED]> writes: : You apparently didn't read the end of my message. : My apologies if I didn't format it well; : the important points may have not been very clear. Oh no. You are right. :-( : However, linking with 'c++' doesn't

Re: Kernel panic with ATA RAID

2003-01-03 Thread Sean Hamilton
From: "Brian F. Feldman" <[EMAIL PROTECTED]> | The program plus output given when you recompile/run gdb -k with a debugging kernel | would be really useful here. I can't try it again (the system has gone off to production) but here is the perl script: --- #!/usr/bin/perl system ('atacontrol', 'c

Synaptics touchpad extendid support.

2003-01-03 Thread Marcin Dalecki
Here is my first cut at support for the Synaptics touchpads, which are commonly used on notebooks. Contrary to the default "Windows installation mode" those devices come up at boot, this is enabling full support for all buttons present on the device and works nicely with moused together. Have fun!

Re: Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Maxim Mazurok
On Fri, Jan 03, 2003 at 02:53:32PM +, Olafur Osvaldsson wrote: >Removing the exclude for sparc64 in src/share/Makefile rebuilding/installing >fixes this for me and I see nothing wrong with the is_IS.ISO8859-1 locale so >far. > >Unless there is some real reason for excluding it I suggest that t

Re: Multi-threaded or async Mozilla (NSPR, really)

2003-01-03 Thread David Schultz
Thus spake D J Hawkey Jr <[EMAIL PROTECTED]>: > Is there an appreciable difference between "re-entrant" and "thread-safe"? ``Thread-safe'' just means that multiple threads can call the routine without something blowing up due to a race. ``Reentrant'' means that the routine is thread-safe, AND tha

vfork/execve programming trouble

2003-01-03 Thread rmkml
Hi, I've a problem with a C program: This is a multithread client/server; there are 3 mains threads functions: - one to receive signals (pthread_setmask() SIGQUIT, HUP, ALRM, sigwait()...) - one to proceed tasks (pthread_cond_wait in an infinite loop) - one to accept tcp cnx (listen, accept, fgets

Re: devd, crunchgen, C++, and /rescue

2003-01-03 Thread Tim Kientzle
M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Tim Kientzle <[EMAIL PROTECTED]> writes: : devd.lo: In function `event_proc::~event_proc()': So I'd say that crunchgen doesn't grok c++ mangled symbols, which isn't that surprising... You apparently didn't read the end of my

Re: freebsd running on a cdrom

2003-01-03 Thread Joe
Unfortunately freeSBIE seems to require buildworld. I'm not sure if they have a downloadable version. I don't want X installed, I want dns, ssh and cron as the only daemons. ipfw and natd for the firewall / nat. I also don't want to have to do any configuration after it starts up or use the fl

How to jump start a solaris/linux developer to freebsd?

2003-01-03 Thread Jeff Adams
Hello, I've installed 5.0-rc2 and read the web site extensively. What I hope someone can direct me to is some sort of a primer as to the kernel functions that set freebsd apart for creating high-performance network applications. I found the zero_copy reference in the release notes to 5.0-rc2 w

Re: Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Thomas Moestl
On Fri, 2003/01/03 at 15:29:27 +0200, Peter Pentchev wrote: > On Fri, Jan 03, 2003 at 02:31:41PM +0200, Peter Pentchev wrote: > > FWIW, I can reproduce this on panther.FreeBSD.org, a sparc64 running > > 5.0-CURRENT as of December 6, 2001. All the other machines in the > > FreeBSD cluster that I co

Re: printing of uint64_t in the kernel

2003-01-03 Thread Brooks Davis
On Fri, Jan 03, 2003 at 06:00:04PM +0100, Harti Brandt wrote: > > 2. cast always to uintmax_t and use %ju. This is correct. > The first possibilities seems wrong, because one should not include a > non-system header, the second because given a (hypothetical) machine with > 128-bit uintmax_t this

printing of uint64_t in the kernel

2003-01-03 Thread Harti Brandt
Hi, while porting the NgATM stuff to sparc64 I could not answer the following question: What is the correct way to printf() an uint64_t in the kernel. For i386 I need %llu, for sparc64 I need %lu or gcc will give a warning. I see two variants: 1. include or and use the standard printf format s

Re: Reading rc.conf from C programs?

2003-01-03 Thread Miguel Mendez
On Thu, 2 Jan 2003 16:20:23 -0700 Chad David <[EMAIL PROTECTED]> wrote: Hi, > Here is a very simple lex/yacc parser that reads simple key value > pairs. The whole thing took about 30 minutes to write. Exclusive > states may not be the easiest or best way to handle the parts of the > sh syntax th

Re: Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Olafur Osvaldsson
Removing the exclude for sparc64 in src/share/Makefile rebuilding/installing fixes this for me and I see nothing wrong with the is_IS.ISO8859-1 locale so far. Unless there is some real reason for excluding it I suggest that the sparc64 test is removed from that file. /Oli On Fri, 03 Jan 2003, Pe

Re: Kernel panic with ATA RAID

2003-01-03 Thread Brian F. Feldman
"Sean Hamilton" <[EMAIL PROTECTED]> wrote: > Seems my toying with atacontrol caused a reproducable panic. I have a perl > script which causes the panic right away every time, I'll mail that to > anybody @freebsd.org that wants it. (Or is such paranoia unnecessary?) > > I believe everything else ne

Re: Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Peter Pentchev
On Fri, Jan 03, 2003 at 02:31:41PM +0200, Peter Pentchev wrote: > On Fri, Jan 03, 2003 at 12:00:57PM +, Olafur Osvaldsson wrote: > > Hi, > > I'm having some problems with seting the locale on 5.0 wich I have set > > up on sparc hardware...I'm pretty sure this is not sparc related but if > > so

Re: key=value in rc.conf (was Re: Reading rc.conf from C programs?)

2003-01-03 Thread .
> > > On Thu, 2 Jan 2003, Terry Lambert wrote: > > > They're in the CVS repository. Do a "cvs diff -c" before and after > > the code was added to the file, and you'll get my diffs. 8-). > > Perhaps the stuff at the bottom of defaults/rc.conf needs to be in a > seperate file (like read_rc_conf

Re: Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Peter Pentchev
On Fri, Jan 03, 2003 at 12:00:57PM +, Olafur Osvaldsson wrote: > Hi, > I'm having some problems with seting the locale on 5.0 wich I have set > up on sparc hardware...I'm pretty sure this is not sparc related but if > so please correct me. [snip] > > When run on the 5.0 system: > > # ./locale

Re: bzero() in mfs_doio()

2003-01-03 Thread Dimitar Peikov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Upps, sorry, too much wine during the holidays. I've not read the code correctly ;-( On Friday 03 January 2003 15:19, Dimitar Peikov wrote: > Hi, > > I've read some part of the UFS/MFS code and saw the bzero() in code, but > according the madvice() m

bzero() in mfs_doio()

2003-01-03 Thread Dimitar Peikov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've read some part of the UFS/MFS code and saw the bzero() in code, but according the madvice() manual page for MADV_FREE, this step is not needed. Also frequent calls to mfs_doio() causes serious performance penalty, am I right? >>

make world - 'touch' breakage

2003-01-03 Thread Dirk-Willem van Gulik
The last few weeks 'make world' &.al. breaks for me on 'touch' not found. It is easy to hack the script as to pass; but is there a reason/real-fix for this ? Dw. ===> include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/co

Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Olafur Osvaldsson
Hi, I'm having some problems with seting the locale on 5.0 wich I have set up on sparc hardware...I'm pretty sure this is not sparc related but if so please correct me. On all my intel machines (4.*) I set the lang and locale by adding the following to the default section in /etc/login.conf:

Christmas Season Is Over! Bill Season Is Here! 1/3/2003 6:56:25 AM

2003-01-03 Thread Adam Smith
Apply Today at www.SmartChoiceLoanCenter.com Save Big On your Mortgage or Credit Card Debts! The Easy Way to Save yourself literally thousands a year! The best part is your Quote is FREE and we will show you how much money you can SAVE INSTANTLY! Bottom-line: If we can't lower your existing

Re: freebsd running on a cdrom

2003-01-03 Thread Marco Molteni
On Thu, 2 Jan 2003, Joe <[EMAIL PROTECTED]> wrote: > I've been trying to get FreeBSD to run off a cdrom. [..] As somebody else already mentioned, try www.freesbie.org. It is based on another project that seems stalled, livecd. Works fine, the development team is italian but we do understand

Re: Reading rc.conf from C programs?

2003-01-03 Thread Neil Blakey-Milner
On Thu 2003-01-02 (13:52), Jordan K Hubbard wrote: > In hindsight, if we'd really wanted a key/value pair database then we > should have done it in XML and simply dealt with it at arm's length > through a accessor utility, e.g. instead of: > > case ${ipsec_enable} in > > We'd have: >

Re: key=value in rc.conf (was Re: Reading rc.conf from C programs?)

2003-01-03 Thread Neil Blakey-Milner
On Fri 2003-01-03 (14:11), Andrew wrote: > > They're in the CVS repository. Do a "cvs diff -c" before and after > > the code was added to the file, and you'll get my diffs. 8-). > > Perhaps the stuff at the bottom of defaults/rc.conf needs to be in a > seperate file (like read_rc_conf.sh) with a