Re: lots of things (pcic, pccard, ep0) on irq3. Problem ?

2001-10-29 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Joesh Juphland" writes: : 2. Somehow, some way, in upgrading from 4.3 to 4.4 on this laptop, I have : developed irq conflicts - maybe 4.4 just arranges things differently. :-) We now share interrupts for pccard. : The end result ? ep0 works, on irq 3, and ep1 b

Re: C++ code in the FreeBSD kernel

2001-10-29 Thread Warner Losh
In message <[EMAIL PROTECTED]> Jean-Francois Dive writes: : I beleive that something to do as well is to remove the RTTI support from : the compilation ... Yes. I also think that the default turned on exceptions, which caused some issues. There were also a few headers I had to patch to make t

Re: 4.4 boot question

2001-10-29 Thread Warner Losh
In message <006f01c15d7c$1e995e20$050a@LORENZO> "Dr. Lorenzo Iania" writes: : pci_cfgintr_search: linked (41) to configured irq 0 at 0:2:0 I have a patch for this: Index: pci.c === RCS file: /cache/ncvs/src/sys/pci/Attic/pci.c,v

Re: C++ code in the FreeBSD kernel

2001-10-29 Thread Warner Losh
In message <[EMAIL PROTECTED]> Denis Serenyi writes: : Has anyone out there tried to get C++ code running in the freebsd kernel : (like as a .ko)? Yes. In fact, it used to work OK if you don't do exceptions. But there are some issues with the newer compilers I've never bothered to track down.

Panic w/ bqrelse: multiple ref .. we thought fixed a year ago

2001-10-29 Thread kjerste soderberg
Hello Sorry to be cross posting it here BUT we did post this to questions w/o any resolution or responses. well actually we did get 1 response fr Kirk I think telling us that this should not be happening in the 4.X series. Everyone pls take a look at this, as it is certainly a strange 1. We're

Re: I will be in Europe and the UK from Nov 5th through Nov 14th.

2001-10-29 Thread Josef Grosch
On Tue, Oct 30, 2001 at 03:18:47AM +, George Reid wrote: > On Mon, Oct 29, 2001 at 05:53:05PM -0800, Jordan Hubbard wrote: > > > If anyone's interested in meeting up with us, that's where we'll be! > > Visit Oxford! We have old stuff! Most of Europe is old stuff, some much older than Oxfor

Re: I will be in Europe and the UK from Nov 5th through Nov 14th.

2001-10-29 Thread George Reid
On Mon, Oct 29, 2001 at 05:53:05PM -0800, Jordan Hubbard wrote: > If anyone's interested in meeting up with us, that's where we'll be! Visit Oxford! We have old stuff! -- George C A ReidTel: (08701) 200870 Ext. 26654 FreeBSD Committer/Developer [EMAIL PROTECTE

I will be in Europe and the UK from Nov 5th through Nov 14th.

2001-10-29 Thread Jordan Hubbard
JFYI, Brett Halle (the director of CoreOS engineering for Apple) and I will be speaking at the NLUUG's Autumn Conference in Ede, The Netherlands on November 8th and then travelling on to BSDCon Europe in Brighton, UK immediately thereafter (the 9th) and staying in the UK until November 14th. If a

Re: MT-Safe wrapper around memcpy()?

2001-10-29 Thread Lamont Granquist
Thanks! Precisely what I was looking for. I coded up the routines today and they seem to work fine. On Mon, 29 Oct 2001, Daniel Eischen wrote: > The _THREAD_SAFE macro has gone away anyways (in -current), and we > (FreeBSD) shouldn't be conditionally compiling code in libc dependent > on wheth

vnode locking state for bread()

2001-10-29 Thread Semen A. Ustimenko
Hi! Forgive me if i overlooked documentation and sources, but i can't find any references on subject. Could somebody shed light if i need to lock vnode or not to call bread()? Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: problems with recurring SIGTRAP under gdb

2001-10-29 Thread k Macy
SIGIO is used, but only for AIO and at this point no aio_* calls have been made. The loop for reading from STDIN may be a problem but I don't see how - this same loop is used without problems on Linux, OSF, and Solaris (although on Linux if you press Ctrl-C in gdb it often won't let you conti

Re: syslogd and kqueue

2001-10-29 Thread Alfred Perlstein
* Michael Sinz <[EMAIL PROTECTED]> [011029 14:07] wrote: > > This has bitten a number of support people - a server fills up and they > get a bit too loose with the "rm" command and logging stops. > > I actually somewhat understand why syslogd does not open/create the file > using the current sys

Re: syslogd and kqueue

2001-10-29 Thread Michael Sinz
David O'Brien wrote: > > On Sat, Oct 27, 2001 at 12:26:22AM -0400, Mike Barcroft wrote: > > Just to clarify. This is still a POLA violation. If a log file is > > pulled out from underneath syslogd(8), one wouldn't expect it to start > > logging again, even if the file was re-created. > > I dis

PATCH for review: ipfilter changes in rc.*

2001-10-29 Thread Arjan de Vet
Darren Reed wrote: >In some email I received from Arjan de Vet, sie wrote: >> I wrote similar patches (see http://home.iae.nl/users/devet/freebsd/) >> trying to fix more or less the same bugs/problems. >> >> Maybe it's a good idea if Giorgos and I together come up with 1 'big' >> ipfilter /etc/r

Re: syslogd and kqueue

2001-10-29 Thread David O'Brien
On Mon, Oct 29, 2001 at 09:42:19AM -0800, Terry Lambert wrote: > David O'Brien wrote: > > > > On Mon, Oct 29, 2001 at 08:35:35AM -0800, Terry Lambert wrote: > > > > No muss, no fuss. So where is the race? > > > > Mike had the only justification so far -- that of permissions of the > > > > file.

Re: syslogd and kqueue

2001-10-29 Thread Peter Pentchev
On Mon, Oct 29, 2001 at 01:16:29PM -0500, Leo Bicknell wrote: > On Sun, Oct 28, 2001 at 07:40:34PM -0800, Terry Lambert wrote: > > The _useful_ thing to do would be to roll the newsyslog > > functionality into syslogd; however, as a .conf file that > > is expected to be distributed over NIS, I thi

Re: syslogd and kqueue

2001-10-29 Thread Leo Bicknell
On Sun, Oct 28, 2001 at 07:40:34PM -0800, Terry Lambert wrote: > The _useful_ thing to do would be to roll the newsyslog > functionality into syslogd; however, as a .conf file that > is expected to be distributed over NIS, I think that doing > the syntax change is probably a bad idea... After see

Re: syslogd and kqueue

2001-10-29 Thread Terry Lambert
David O'Brien wrote: > > On Mon, Oct 29, 2001 at 08:35:35AM -0800, Terry Lambert wrote: > > > No muss, no fuss. So where is the race? > > > Mike had the only justification so far -- that of permissions of the > > > file. > > > > Think multiple instances of syslogd. > > You are going to have to

jail's /proc

2001-10-29 Thread opr
Hello, i really have no clue if i should mail this to you guys, but we've found some issue's in de jail's /proc. We were able to find information about processes running outside the jail, or running in other jails. eg. when i run sshd in the host system, and it has PID 655, i can login on the

Re: syslogd and kqueue

2001-10-29 Thread David O'Brien
On Mon, Oct 29, 2001 at 08:35:35AM -0800, Terry Lambert wrote: > > No muss, no fuss. So where is the race? > > Mike had the only justification so far -- that of permissions of the > > file. > > Think multiple instances of syslogd. You are going to have to help me out a little bit more -- I can

Re: Test Suites

2001-10-29 Thread Terry Lambert
Alfred Perlstein wrote: > > * Thomas S. Greenwalt <[EMAIL PROTECTED]> [011028 23:04] wrote: > > Are there any test suite packages available similiar to Visual Test from > > Rational? Not necessarily with a GUI, but the ability to build test scripts > > to test features of applications written fo

Re: syslogd and kqueue

2001-10-29 Thread Terry Lambert
David O'Brien wrote: > > If it created the file itself, there would be a potential > > race issue that would remain unresolved, which is hidden by > > the seperation of the create and the subsequent signal. > > Come again? > > 1. syslogd calls open(2) with O_CREAT. At this point syslogd happily

PCChips M765VMRT VIA 82C596B and Smbbus

2001-10-29 Thread Simon Griffiths
Hi There, [posted to -questions some time back] I'm trying to get the power monitoring functions of this motherboard going and have run into some problems. I've found this doesnt seem to be supported at all in 4.4 but have found some code on http://people.freebsd.org/~nsouch/iicbus.html and att

Re: MT-Safe wrapper around memcpy()?

2001-10-29 Thread Daniel Eischen
On Mon, 29 Oct 2001, Lamont Granquist wrote: > On Mon, 29 Oct 2001, Alfred Perlstein wrote: > > * Alfred Perlstein <[EMAIL PROTECTED]> [011029 00:53] wrote: > > > * Lamont Granquist <[EMAIL PROTECTED]> [011029 00:43] wrote: > > > > > > > > I'm trying to figure out the best way to write a wrapper a

Re: problems with recurring SIGTRAP under gdb

2001-10-29 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, k Macy writes: >Any idea why when I insert a breakpoint I get a >SIGTRAP >and can't continue any further? Is this a bug in the I've seen this on applications that use SIGIO on stdin. If this is the case, a workaround is to disable the SIGIO signal while using the

Re: MT-Safe wrapper around memcpy()?

2001-10-29 Thread Lamont Granquist
On Mon, 29 Oct 2001, Alfred Perlstein wrote: > * Alfred Perlstein <[EMAIL PROTECTED]> [011029 00:53] wrote: > > * Lamont Granquist <[EMAIL PROTECTED]> [011029 00:43] wrote: > > > > > > I'm trying to figure out the best way to write a wrapper around memcpy() > > > which can call fprintf() without

Re: MT-Safe wrapper around memcpy()?

2001-10-29 Thread Lamont Granquist
On Mon, 29 Oct 2001, Alfred Perlstein wrote: > * Lamont Granquist <[EMAIL PROTECTED]> [011029 00:43] wrote: > > I'm trying to figure out the best way to write a wrapper around memcpy() > > which can call fprintf() without winding up getting into a recursive > > loop. The problem is that fprintf

Re: Fiskars UPS

2001-10-29 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Andrzej Bialecki writes: >Poul-Henning Kamp wrote: >> >> In message <[EMAIL PROTECTED]>, "Julian Stacey [EMAIL PROTECTED] >> e" writes: >> >"doc. dr. Marjan Mihelin, dipl. ing." wrote: >> >> Hello, >> >> We are using from 1993 Fiskars UPS 0.8 A UPS unit >> >> Fisk

Re: Fiskars UPS

2001-10-29 Thread Andrzej Bialecki
Poul-Henning Kamp wrote: > > In message <[EMAIL PROTECTED]>, "Julian Stacey [EMAIL PROTECTED] > e" writes: > >"doc. dr. Marjan Mihelin, dipl. ing." wrote: > >> Hello, > >> We are using from 1993 Fiskars UPS 0.8 A UPS unit > > Fiskars is part of Invensys/Powercom these days. Together with a co-w

Re: syslogd and kqueue

2001-10-29 Thread David Malone
On Mon, Oct 29, 2001 at 05:58:22PM +1000, Greg Black wrote: > Here's a proposal to cope with that. Add an optional sub-field > to any action field in syslog.conf that begins with a slash, > perhaps in the form `:0640:root:wheel'. FWIW, we have a format like this in inetd.conf for unix domain soc

Re: Simple x86 assembler question

2001-10-29 Thread John Baldwin
On 29-Oct-01 David O'Brien wrote: > On Sun, Oct 28, 2001 at 09:21:33AM -0700, John Baldwin wrote: >> Almost. The '2' there is a multiplier on (I think) %eax, so it uses >> 'ebx + 2 * eax + 0xe90' for the memory address. Either that or 'eax + >> 2 * ebx + 0xe90'. Check the gas info page for the