Re: mountd will not start at boot. Or function later...

2001-10-28 Thread Seth Kingsley
On Thu, Oct 25, 2001 at 04:15:39PM +0300, Peter Pentchev wrote: > On Thu, Oct 25, 2001 at 04:13:09AM -0600, Joesh Juphland wrote: > > > > I cannot mount any of the NFS shares that I share from my server due to a > > problem with mountd and RPC. > > > > rc.conf looks like this: > > > > network_

Re: Simple x86 assembler question

2001-10-28 Thread Sergey Babkin
Matthew Emmerton wrote: > > Hi all, > > This weekend I decided to do some assembly hacking on some object-only code > that I've lost the C source for. Since I haven't coded assembler for at > least 8 years, and I threw my x86 assembly manuals out when I moved 6 months > ago, there are a few thi

Re: Simple x86 assembler question

2001-10-28 Thread Seth Kingsley
On Sat, Oct 27, 2001 at 07:08:58PM -0400, Matthew Emmerton wrote: > In particular, am I interpreting these instructions correctly? > > 0x80839fb : movzbl (%edx,%eax,1),%eax > > > Takes %eax + %edx, obtains the byte value in memory at that address, > zero-extends and places into %eax > >

RE: Simple x86 assembler question

2001-10-28 Thread John Baldwin
On 27-Oct-01 Matthew Emmerton wrote: > Hi all, > > This weekend I decided to do some assembly hacking on some object-only code > that I've lost the C source for. Since I haven't coded assembler for at > least 8 years, and I threw my x86 assembly manuals out when I moved 6 months > ago, there ar

Re: syslogd and kqueue

2001-10-28 Thread Terry Lambert
Garance A Drosihn wrote: > >Until newsyslog is fixed to not be able to stage a > >denial of service attack against you, I really, really > >recommend against its use. > > Seems like it would be more user-friendly (to freebsd users > in general) to fix newsyslog, instead of just telling people > t

boot -v capture

2001-10-28 Thread Jon Parise
[Posted to freebsd-questions will little result. I figured I'd give -hackers a try before I give up and copy the output by hand.] Can anyone suggest a means by which to capture the 'boot -v' output without using a serial console? I'm stuck without any serial ports on my notebook. -- Jon Pari

disabling dynamic route addition

2001-10-28 Thread David Kirchner
Hi, Is there currently a way (sysctl, patch?) to disable dynamic route addition? We have a few very busy web servers here, and we're running in to a bug in FreeBSD 4.2 (which is related to a bug in previous versions of FreeBSD - the one that's fixed by lowering net.inet.ip.rtexpire to 10 from 360

Re: boot -v capture

2001-10-28 Thread Seth Kingsley
On Sun, Oct 28, 2001 at 02:08:08PM -0500, Jon Parise wrote: > Can anyone suggest a means by which to capture the 'boot -v' > output without using a serial console? dmesg(8), so long as it doesn't overrun the buffer. -current is also writing boot messages to syslog presumably with the facility of

Re: boot -v capture

2001-10-28 Thread Jon Parise
On Sun, Oct 28, 2001 at 12:39:34PM -0800, Seth Kingsley wrote: > > Can anyone suggest a means by which to capture the 'boot -v' > > output without using a serial console? > > dmesg(8), so long as it doesn't overrun the buffer. > > -current is also writing boot messages to syslog presumably with

Re: disabling dynamic route addition

2001-10-28 Thread Mike Silbersack
On Sun, 28 Oct 2001, David Kirchner wrote: > Hi, > > Is there currently a way (sysctl, patch?) to disable dynamic route > addition? We have a few very busy web servers here, and we're running in > to a bug in FreeBSD 4.2 (which is related to a bug in previous versions of > FreeBSD - the one that

Re: disabling dynamic route addition

2001-10-28 Thread Bernd Walter
On Sun, Oct 28, 2001 at 11:47:16AM -0800, David Kirchner wrote: > Hi, > > Is there currently a way (sysctl, patch?) to disable dynamic route I asume your "dynamic" routes are simple redirects. sysctl -w net.inet.icmp.drop_redirect=1 or in /etc/rc.conf: icmp_drop_redirect="YES" Or get a better r

Re: boot -v capture

2001-10-28 Thread Bernd Walter
On Sun, Oct 28, 2001 at 04:01:00PM -0500, Jon Parise wrote: > On Sun, Oct 28, 2001 at 12:39:34PM -0800, Seth Kingsley wrote: > > > > Can anyone suggest a means by which to capture the 'boot -v' > > > output without using a serial console? > > > > dmesg(8), so long as it doesn't overrun the buffe

Re: Simple x86 assembler question

2001-10-28 Thread David O'Brien
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 AT&T syntax to > figure out exactly whi

Re: syslogd and kqueue

2001-10-28 Thread David O'Brien
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 disagree, if the file was re-created.

problems with recurring SIGTRAP under gdb

2001-10-28 Thread k Macy
Any idea why when I insert a breakpoint I get a SIGTRAP and can't continue any further? Is this a bug in the FreeBSD distribution's gdb? I don't see this behavior on any other platform that I am using. (Linux/ Solaris/ OSF1) I am only seeing on this particular application. The binary is 60MB d

Re: syslogd and kqueue

2001-10-28 Thread Mike Barcroft
David O'Brien <[EMAIL PROTECTED]> writes: > Actually, I find it weird and counter intuitive that syslogd will not > log to the files in the config file (/etc/syslog.conf) unless they > already exists. It really feels like we are living with a programming > bug 25 years later > > If I didn't

Re: disabling dynamic route addition

2001-10-28 Thread Terry Lambert
Mike Silbersack wrote: > > Also, if this happens again, what additional information could I grab so I > > or others could (hopefully) successfully find the bug? > > Many dynamic route related changes have been made since 4.2, your bug may > already be fixed. You should invest time in transitioni

Re: syslogd and kqueue

2001-10-28 Thread Terry Lambert
David O'Brien wrote: > Actually, I find it weird and counter intuitive that syslogd will not > log to the files in the config file (/etc/syslog.conf) unless they > already exists. It really feels like we are living with a programming > bug 25 years later > > If I didn't want syslogd to log s

ip_icmp.c's ancient bug-feature (fixed)

2001-10-28 Thread Igor Podlesny
Hello! Really micro patch :-) fixing odd behavior (well, in fact, I deem an error) of FreeBSD' ip_icmp.c. You might observe this bug doing traceroute while standing behind a GW's interface with several IP-addresses (aliases). In this case you always got ICMP.TIMXCEED (time

Re: syslogd and kqueue

2001-10-28 Thread David O'Brien
On Sun, Oct 28, 2001 at 07:40:34PM -0800, Terry Lambert wrote: > By using the rename/create/signal approach, syslogd is > guaranteed to log new messages to the old file, despite the > rename, until signalled to close and reopen the file (or a > new file of another name, if syslog.conf is changed).

Test Suites

2001-10-28 Thread Thomas S. Greenwalt
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 for BSD? Thanks. -- Tom Greenwalt (F.O.E.) Trancer Software Inc. [EMAIL PROTECTED] 9099 7th Street NE

Re: Test Suites

2001-10-28 Thread Alfred Perlstein
* 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 for BSD? > Thanks. There's a tool

Re: Test Suites

2001-10-28 Thread Matthew Jacob
DejaGNU is a testsuite around expect and tcl/tk that is more of a test suite builder. There's also something called TET from OpenGroup (http://www.opengroup.org) which some people think highly of (I'm just now familiarizing myself with it) On Sun, 28 Oct 2001, Alfred Perlstein wrote: > * Thoma

MT-Safe wrapper around memcpy()?

2001-10-28 Thread Lamont Granquist
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() will call memcpy() and around and around we go. I can use a global variable to prevent this, but that usage isn't thr

Re: MT-Safe wrapper around memcpy()?

2001-10-28 Thread Alfred Perlstein
* 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() will call memcpy() and around and > around we go.

Re: MT-Safe wrapper around memcpy()?

2001-10-28 Thread Alfred Perlstein
* 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 winding up getting into a recursive > > loop. The prob

Re: syslogd and kqueue

2001-10-28 Thread Greg Black
"David O'Brien" wrote: | On Sun, Oct 28, 2001 at 07:40:34PM -0800, Terry Lambert wrote: | > By using the rename/create/signal approach, syslogd is | > guaranteed to log new messages to the old file, despite the | > rename, until signalled to close and reopen the file (or a | > new file of another