LINT börked...

2002-03-24 Thread Poul-Henning Kamp
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes - Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. -I../. ./../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../../include

Re: can't build world on alpha

2002-03-24 Thread Wilko Bulte
On Sat, Mar 23, 2002 at 11:02:26AM -0800, Matthew Dillon wrote: As a datapoint, this does work when starting from a 4.5-RELEASE I just did a build yesterday on the AS500 Wilko Anyone have any ideas? I'm trying to build the latest -current (from cvs) on an alpha running

Re: is 'device ether' mandatory now?

2002-03-24 Thread Oleg V. Naumann
On Sat, Mar 23, 2002 at 08:50:19PM +0300, Maxim Konovalov wrote: Hello, After this commit 'device ether' is mandatory if ever there is no any ethernet or token-ring devices. The same problem in STABLE... from revision 1.85.2.15 of net/if.c: #ifdef INET /* *

Re: is 'device ether' mandatory now?

2002-03-24 Thread Luigi Rizzo
Do you have a suggestion for an #ifdef /#endif to remove the problem you mention ? cheers luigi On Sat, Mar 23, 2002 at 08:50:19PM +0300, Maxim Konovalov wrote: Hello, After this commit 'device ether' is mandatory if ever there is no any ethernet or token-ring devices.

Re: turning off malloc's AJ by default

2002-03-24 Thread Robert Watson
On Sat, 23 Mar 2002, M. Warner Losh wrote: In message: [EMAIL PROTECTED] David O'Brien [EMAIL PROTECTED] writes: : The RE's are wanting to ship 5.0 DP#1 w/this patch applied. : If having 'AJ' by default is deemed not useful (by being removed from the : DP), it sounds like we

Re: turning off malloc's AJ by default

2002-03-24 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Robe rt Watson writes: With new userland code coming into -CURRENT at a rapid rate, it may be useful in -CURRENT for developers. For DPs, probably not. I don't have to tell you what the 'D' in 'DP' means, right ? :-) Robert, I can only say that I disagree 100%

Re: turning off malloc's AJ by default

2002-03-24 Thread David O'Brien
On Sun, Mar 24, 2002 at 11:28:27AM -0500, Robert Watson wrote: Not clear from your suggestion if you mean the branch or the dp's. My feeling is that a useful strategy is: - -CURRENT has AJ from inception of branch until final DP before release. - DP's don't have AJ The DP's should have

Re: can't build world on alpha

2002-03-24 Thread David O'Brien
On Sat, Mar 23, 2002 at 11:02:26AM -0800, Matthew Dillon wrote: Anyone have any ideas? I'm trying to build the latest -current (from cvs) on an alpha running 4.3-RELEASE, using 'make buildworld'. I have thought about what could be the problem several times and cannot come up with

Re: turning off malloc's AJ by default

2002-03-24 Thread Robert Watson
On Sun, 24 Mar 2002, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Robe rt Watson writes: With new userland code coming into -CURRENT at a rapid rate, it may be useful in -CURRENT for developers. For DPs, probably not. I don't have to tell you what the 'D' in 'DP' means,

Re: turning off malloc's AJ by default

2002-03-24 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Robe rt Watson writes: A few weeks ago, I would have believed you. Except that using -J was a workaround recommended in a recent security advisory--prior to recommending it, I ran it on a server of mine for a few days. You'd be surprised how many random

Re: turning off malloc's AJ by default

2002-03-24 Thread Dag-Erling Smorgrav
David O'Brien [EMAIL PROTECTED] writes: Should I also mention the DP's GENERIC kernel has no INVARIANTS and no WITNESS? I have not gotten a response back from the RE's about that one yet. This is also wrong. INVARIANTS is low-impact. I can kind of accept WITNESS -- maybe we should turn it

Re: turning off malloc's AJ by default

2002-03-24 Thread Robert Watson
On Sun, 24 Mar 2002, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Robe rt Watson writes: A few weeks ago, I would have believed you. Except that using -J was a workaround recommended in a recent security advisory--prior to recommending it, I ran it on a server of mine for a

Re: can't build world on alpha

2002-03-24 Thread Matthew Dillon
:On Sat, Mar 23, 2002 at 11:02:26AM -0800, Matthew Dillon wrote: : Anyone have any ideas? I'm trying to build the latest -current : (from cvs) on an alpha running 4.3-RELEASE, using 'make buildworld'. : :I have thought about what could be the problem several times and cannot :come up

Re: turning off malloc's AJ by default

2002-03-24 Thread David O'Brien
On Sun, Mar 24, 2002 at 12:34:08PM -0500, Robert Watson wrote: Hmm. The argument for A is, I think, is a lot stronger than for J, since it comes without the performance impact, and you can actually generate useful diagnostics. I would be fine with leaving A in the developer snapshot. Lets

Re: turning off malloc's AJ by default

2002-03-24 Thread Robert Watson
On Sun, 24 Mar 2002, David O'Brien wrote: On Sun, Mar 24, 2002 at 12:34:08PM -0500, Robert Watson wrote: Hmm. The argument for A is, I think, is a lot stronger than for J, since it comes without the performance impact, and you can actually generate useful diagnostics. I would be fine

Re: turning off malloc's AJ by default

2002-03-24 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Robe rt Watson writes: Something that phk and I have discussed out-of-band is the idea of keying phkmalloc behavior to kernel selection. I.e., exposing a policy sysctl from the kernel, keyed to the kernel identity/option, causing phkmalloc to behave different

Cross architecture disklabels...

2002-03-24 Thread Poul-Henning Kamp
I belive GEOM will now correctly identify the following label formats on all platforms: MSDOS MBR MSDOS MBR extended partitions FreeBSD/i386 disklabel FreeBSD/alpha disklabel Solaris/disklabel This in practice means that one can move a disk from one

Re: turning off malloc's AJ by default

2002-03-24 Thread Robert Watson
This seems like a reasonable strategy. If we do this, we'll need to expand the discussion of performance tuning and usability in the release notes for the DP. We'll also need to formalize the notion of DP3: right now we have only DP1 and DP2 formally scheduled, and DP2 is expected to have some

How to make USB scanners work in FreeBSD (well at least Agfa ones..)

2002-03-24 Thread Anders Nordby
Hi, Attached are patches that makes scanning work with sane, using an Agfa Snapscan 1212U USB scanner for me. They are merely reworked from PRs 32652 and 32653 by [EMAIL PROTECTED] NB: Only tested in 4.5-stable, not in -current (sorry). Patches should apply cleanly in -stable. It would be nice

Re: turning off malloc's AJ by default

2002-03-24 Thread Doug Barton
David O'Brien wrote: On Sun, Mar 24, 2002 at 12:34:08PM -0500, Robert Watson wrote: Hmm. The argument for A is, I think, is a lot stronger than for J, since it comes without the performance impact, and you can actually generate useful diagnostics. I would be fine with leaving A in the

Lock order reversals in sys_pipe.c

2002-03-24 Thread Kris Kennaway
The bento cluster is now running with WITNESS enabled to try and track down some odd UMA lock corruption panics. Instead, it found the following lock order reversal in sys_pipe.c overnight: Mar 24 07:31:44 user.crit gohan17 kernel: lock order reversal Mar 24 07:31:44 user.crit gohan17 kernel:

Re: Lock order reversals in sys_pipe.c

2002-03-24 Thread Kenneth Culver
On Sunday 24 March 2002 05:26 pm, you wrote: The bento cluster is now running with WITNESS enabled to try and track down some odd UMA lock corruption panics. Instead, it found the following lock order reversal in sys_pipe.c overnight: Mar 24 07:31:44 user.crit gohan17 kernel: lock order

New expr(1) breaks ports

2002-03-24 Thread Kris Kennaway
...for example, the w3m port. As part of the configure script, it executes the following shell command: expr --prefix=/usr/local : -*prefix=\(.*\) expr: syntax error Is expr to blame, or w3m? Kris msg36527/pgp0.pgp Description: PGP signature

New expr(1) breaks ports

2002-03-24 Thread Garrett Wollman
On Sun, 24 Mar 2002 16:59:36 -0800, Kris Kennaway [EMAIL PROTECTED] said: expr --prefix=/usr/local : -*prefix=\(.*\) expr: syntax error Is expr to blame, or w3m? w3m is to blame. See expr(1) for more details and a workaround which is portable to both historic and POSIX expr

Re: New expr(1) breaks ports

2002-03-24 Thread Kris Kennaway
On Sun, Mar 24, 2002 at 08:05:26PM -0500, Garrett Wollman wrote: On Sun, 24 Mar 2002 16:59:36 -0800, Kris Kennaway [EMAIL PROTECTED] said: expr --prefix=/usr/local : -*prefix=\(.*\) expr: syntax error Is expr to blame, or w3m? w3m is to blame. See expr(1) for more details and a

stdout changes break some ports

2002-03-24 Thread Kris Kennaway
The changes to the definitions of stdout/stdin/stderr from a while back caused a number of ports to break (somewhere around 84, according to bento). For example, the cap port fails like this: http://bento.freebsd.org/errorlogs/5-latest/cap-6.0.198.log cc -DBYTESWAPPED -DPHASE2 -O

Ports broken by OpenPAM

2002-03-24 Thread Kris Kennaway
..include the following: bftpd-1.0.22.log pam-pgsql-0.5.2_2.log pam_ldap-1.4.0.log pam_mysql-0.4.7.log pam_ssh-1.5.log samba-3.0a15.log vlock-1.3.log Logs available on bento: http://bento.freebsd.org/errorlogs/5-latest/ Kris msg36531/pgp0.pgp Description: PGP signature

Re: stdout changes break some ports

2002-03-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Kris Kennaway [EMAIL PROTECTED] writes: : The changes to the definitions of stdout/stdin/stderr from a while : back caused a number of ports to break (somewhere around 84, according : to bento). For example, the cap port fails like this: : :

Re: stdout changes break some ports

2002-03-24 Thread Kris Kennaway
On Sun, Mar 24, 2002 at 06:43:13PM -0700, M. Warner Losh wrote: : David O'Brien committed a workaround to the clog port yesterday to : move the initializer to main() instead of trying to do it statically. : : Is this something which is supposed to work? No. This isn't something that is

Re: turning off malloc's AJ by default

2002-03-24 Thread David O'Brien
On Sun, Mar 24, 2002 at 01:59:56PM -0500, Robert Watson wrote: The goal of DP's is to increase exposure of the development branch in some key audiences, including the developer community, and community of early adopters. Part of the discussion that lead up to deciding to follow through on

[Q] Cardbus NICs drivers : xl and dc

2002-03-24 Thread
Hi, everybody... Because I have to test 100Mbps network performance w/ notebook pc, I've installed FreeBSD 5.0 Current (3/22). But, there's some curious things. I have - Xircom RealPort CardBus Ethernet 10/100+Modem 56 (RBEM56G-100) w/ 'dc' driver - 3Com Megahertz 10/100 LAN CardBus

Re: can't build world on alpha

2002-03-24 Thread David O'Brien
On Sun, Mar 24, 2002 at 09:38:42AM -0800, Matthew Dillon wrote: :On Sat, Mar 23, 2002 at 11:02:26AM -0800, Matthew Dillon wrote: : Anyone have any ideas? I'm trying to build the latest -current : (from cvs) on an alpha running 4.3-RELEASE, using 'make buildworld'. I just verified one

Broken bktr(4) module

2002-03-24 Thread Crist J. Clark
I believe the recent changes to the bktr(4) module Makefile broke it, === bktr === bktr/bktr make: don't know how to make smbus.h. Stop *** Error code 2 Stop in /usr/src/sys/modules/bktr. *** Error code 1 . . . A fresh checkout on freefall still seems to have this problem. -- Crist J. Clark