Message-ID: <4DPMfE$Ba5@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 70, Issue 10
Date: Wed, 28 Jul 2004 19:25:50 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!news-out.octanews.net!indigo.octanews.net!feed5.newsreader.com!newsreader.com!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1091042750.A
Lines: 1545
Xref: 74.82.202.154 cn.bbs.comp.unix:1396


Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Synaptics Touchpad xfree driver hack :) (Fr?d?ric Hardy)
   2. Re: Problems with ntp4.2 when names resolve to IPv6 addresses
      (Brad Knowles)
   3. Re: Fatal LOR: PV ENTRY (UMA zone) @
      /home2/src/sys/vm/uma_core.c:2033 (Bjoern A. Zeeb)
   4. Re: HEADS UP: recompile network interface modules (Angelo Turetta)
   5. Re: Ok, who broke interface autoconfiguration? (Angelo Turetta)
   6. Re: Xorg built fails on CURRENT: can't find Xauth.h
      (Michael Nottebrock)
   7. Re: Xorg built fails on CURRENT: can't find Xauth.h (Dan Langille)
   8. Re: Synaptics Touchpad xfree driver hack :) (Arne Schwabe)
   9. Re: 'sort' tool is eating my system ressources (Tillman Hodgson)
  10. buildworld failure with -Os (Divacky Roman)
  11. Re: build is broken after gcc import (Maxim Maximov)
  12. Re: Problems with ntp4.2 when names resolve to IPv6 addresses
      (David Malone)
  13. Re: 'sort' tool is eating my system ressources (Ion-Mihai Tetcu)
  14. Re: build is broken after gcc import (Maxim Maximov)
  15. Re: build is broken after gcc import (Maxime Henrion)
  16. Re: build is broken after gcc import (Marius Strobl)
  17. Re: Synaptics Touchpad xfree driver hack :) (Norikatsu Shigemura)
  18. Another broken buildworld (Mike Jakubik)
  19. Re: ath driver and wg311t (Geoff Roberts)
  20. Re: Another broken buildworld (Divacky Roman)
  21. /usr/ports/UPDATING announcement (was: Re: Xorg built fails
      on	CURRENT: can't find Xauth.h) (Joan Picanyol)
  22. Re: Ok, who broke interface autoconfiguration? (John Baldwin)
  23. A couple of SMP deadlock patches (John Baldwin)
  24. new compiler fails to build amd64 kernel (Sean McNeil)
  25. Re: new compiler fails to build amd64 kernel (Kenneth Culver)
  26. Re: Athlon64 SMP motherboards? (David O'Brien)
  27. Re: magic sysrq keys functionality (John-Mark Gurney)
  28. Re: /usr/ports/UPDATING announcement (was: Re: Xorg built
      fails on	CURRENT: can't find Xauth.h) (Michael Nottebrock)
  29. Re: fixing out of order first fragment processing?
      (Maxim Konovalov)
  30. Re: /usr/ports/UPDATING announcement (was: Re: Xorg built
      fails on CURRENT: can't find Xauth.h) (Dan Langille)


----------------------------------------------------------------------

Message: 1
Date: Tue, 27 Jul 2004 18:14:40 +0200
From: Fr?d?ric Hardy<f.hardy@hexanet.fr>
Subject: Synaptics Touchpad xfree driver hack :)
To: freebsd-current@freebsd.org
Message-ID: <41067F70.3010308@hexanet.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello !

I have a compaq 2519eu with a synaptics touchpad.
I was tried your driver, but I can not patch may kernel.
I am using a freeBSD 4.10 CURRENT.
Have you got any solutions ?

Best regards,

Fred

-- 
===================================================================
Frederic HARDY                        Email: fch@hexanet.fr
HEXANET SARL                          URL: http://www.hexanet.fr/
ZAC Les Charmilles                    Tel: +33 (0)3 26 79 30 05
3, all�e Thierry Sabine               Direct: +33 (0)3 26 61 77 84
BP 202 - 51686 REIMS CEDEX 2 FRANCE
===================================================================

------------------------------

Message: 2
Date: Tue, 27 Jul 2004 23:46:31 +0200
From: Brad Knowles <brad.knowles@skynet.be>
Subject: Re: Problems with ntp4.2 when names resolve to IPv6 addresses
To: "Kevin Oberman" <oberman@es.net>
Cc: current@freebsd.org
Message-ID: <p0600201bbd2c7d596650@[192.168.50.233]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 6:20 PM -0700 2004-07-25, Kevin Oberman wrote:

>  I did not notice any problem while I was on an IPv6 connected network at
>  work or while on travel at a networking conference as they have IPv6
>  connectivity, but when I tried from home, where my broadband provider
>  does not provide any IPv6 routing, ntp simply spits out messages that it
>  failed to connect to each server.

	This may be a bug with the base code from ntp.org.  We'd want to 
know more about this particular problem.  Can you file a bug at 
bugzilla.ntp.org?

-- 
Brad Knowles, <brad.knowles@skynet.be>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.

------------------------------

Message: 3
Date: Wed, 28 Jul 2004 07:27:03 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb+freebsd+lor@zabbadoz.net>
Subject: Re: Fatal LOR: PV ENTRY (UMA zone) @
	/home2/src/sys/vm/uma_core.c:2033
To: Willem Jan Withagen <wjw@withagen.nl>
Cc: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
	<Pine.BSF.4.53.0407280725410.15082@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 28 Jul 2004, Willem Jan Withagen wrote:

> lock order reversal
>  1st 0xffffff007fed7c10 PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:2
033
>  2nd 0xffffffff8063dce0 UMA pcpu (UMA pcpu) @ /home2/src/sys/vm/uma_core.c:2
015

for the archives: added as LOR #019
	http://sources.zabbadoz.net/freebsd/lor.html#019

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

------------------------------

Message: 4
Date: Wed, 28 Jul 2004 09:47:58 +0200
From: "Angelo Turetta" <aturetta@commit.it>
Subject: Re: HEADS UP: recompile network interface modules
To: <current@FreeBSD.org>
Cc: Robert Watson <rwatson@FreeBSD.org>
Message-ID: <00d801c47477$349ad8b0$7c2aa8c0@lan>
Content-Type: text/plain;	charset="iso-8859-1"

----- Original Message ----- 
From: "Robert Watson" <rwatson@FreeBSD.org>
Sent: Wednesday, July 28, 2004 1:32 AM


>
> If you rebuild all your kernel modules every time you build a new kernel,
> this won't affect you.  However, this will affect you if you use any
> customer kernel modules implementing network device drivers, such as third
> party device driver modules.  I've changed the size of 'struct ifnet',
> which requires that said drivers be recompiled.
>
> Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
> robert@fledge.watson.org      Principal Research Scientist, McAfee
Research

This seems like one of those changes worth increasing FreeBSD version
number.

Angelo Turetta


------------------------------

Message: 5
Date: Wed, 28 Jul 2004 10:04:02 +0200
From: "Angelo Turetta" <aturetta@commit.it>
Subject: Re: Ok, who broke interface autoconfiguration?
To: <freebsd-current@FreeBSD.org>
Cc: John Baldwin <jhb@FreeBSD.org>
Message-ID: <00e001c47479$76d6a5e0$7c2aa8c0@lan>
Content-Type: text/plain;	charset="iso-8859-1"

----- Original Message ----- 
From: "John Baldwin" <jhb@FreeBSD.org>
Sent: Wednesday, July 28, 2004 5:50 AM
>
> What happens for me is that it configures the interface for IP 0.0.0.0,
but it
> sends out lease requests from its earlier lease IP (10.x.x.x) rather than
> 0.0.0.0.  The problem for me is when I switch between my home network
> (192.168.0.x) and my work network (10.x.x.x), in which cases the source IP
> address it is using is invalid and I think the DHCP server is thus
ignoring
> the request.  Removing the leases file and restarting dhclient seems to be
> the only fix.  It also seems to have recently been broken (like in the
last
> few weeks or months).

I've seen this happen (I mean, problem getting a lease after moving to a
different network) when one of the ISC DHCP servers had not been set to
authoritative (and the client was Windows2000).

Angelo Turetta

------------------- from the sample dhcpd.conf
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
---------------------------------------------------


------------------------------

Message: 6
Date: Wed, 28 Jul 2004 15:26:48 +0200
From: Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Re: Xorg built fails on CURRENT: can't find Xauth.h
To: freebsd-current@FreeBSD.org
Cc: Dan Langille <dan@langille.org>
Message-ID: <200407281526.48591.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 28 July 2004 03:14, Dan Langille wrote:

> I'm all for announcing it.  I never heard of it until last week.  I too
> was told to read it, I was stupid for not reading it, why aren't you
> reading it?

> It needs to go out on freebsd-announce IMHO.

How about putting <some number> of the most recent entries in it on the 
freshports frontpage?

-- 
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040728/
a9e0e00f/attachment-0001.bin

------------------------------

Message: 7
Date: Wed, 28 Jul 2004 09:29:32 -0400 (EDT)
From: Dan Langille <dan@langille.org>
Subject: Re: Xorg built fails on CURRENT: can't find Xauth.h
To: Michael Nottebrock <michaelnottebrock@gmx.net>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040728092855.V46853@xeon.unixathome.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 28 Jul 2004, Michael Nottebrock wrote:

> On Wednesday 28 July 2004 03:14, Dan Langille wrote:
>
> > I'm all for announcing it.  I never heard of it until last week.  I too
> > was told to read it, I was stupid for not reading it, why aren't you
> > reading it?
>
> > It needs to go out on freebsd-announce IMHO.
>
> How about putting <some number> of the most recent entries in it on the
> freshports frontpage?

If someone wants to maintain that, I'll give them access.  Alternatively,
some up with a script to automate it.

-- 
Dan Langille - http://www.langille.org/

------------------------------

Message: 8
Date: Wed, 28 Jul 2004 16:19:45 +0200
From: Arne Schwabe <arne@rfc2549.org>
Subject: Re: Synaptics Touchpad xfree driver hack :)
To: f.hardy@hexanet.fr
Cc: freebsd-current@freebsd.org
Message-ID: <863c3cqkn2.fsf@kamino.rfc1149.org>
Content-Type: text/plain; charset=utf-8

Fr茅d茅ric Hardy <f.hardy@hexanet.fr> writes:

> Hello !
>
> I have a compaq 2519eu with a synaptics touchpad.
> I was tried your driver, but I can not patch may kernel.
> I am using a freeBSD 4.10 CURRENT.
> Have you got any solutions ?

I have written the Driver  for 5-Current, but at the Moment I have no
time for 4.10, but it should not be too difficult if you can do it
yourself, the touchpad should work without the driver but without the
advanced features.

Arne
-- 
compiling millions of tiny c-programs...done
checking for a working configure script... not found

------------------------------

Message: 9
Date: Wed, 28 Jul 2004 08:22:36 -0600
From: Tillman Hodgson <tillman@seekingfire.com>
Subject: Re: 'sort' tool is eating my system ressources
To: freebsd-current@freebsd.org
Message-ID: <20040728142236.GI52250@seekingfire.com>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 28, 2004 at 05:26:08PM +0800, Jiawei Ye wrote:
> I recommend highly sysutils/portindex, which does incremental builds
> and takes very little time to build new INDEX, INDEX-5.

I hadn't played with the port yet so I thought I'd take a poke at it.

It's an odd port ... no pkg-plist, no man pages. The web page that
pkg-descr points to has little more than what pkg-descr itself says.
There's a README.TXT that gives a few one-liners on what the various
python scripts do, and there's a DBSETUP.TXT that mentions a postgres
database (?!).

Do you have an example of how you use it in your cvsup script? Any links
that discuss how it works in a bit more detail? It looks interesting,
but unfriendly ;-)

Thanks,

-T


-- 
First time I've gotten a programming job that required a drug test.
I was worried they were going to say "you don't have enough LSD in your
system to do Unix programming".
    - A.S.R. quote (Paul Tomblin)

------------------------------

Message: 10
Date: Wed, 28 Jul 2004 16:30:50 +0200
From: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Subject: buildworld failure with -Os
To: current@freebsd.org
Message-ID: <20040728143050.GA51507@stud.fit.vutbr.cz>
Content-Type: text/plain; charset=us-ascii

CFLAGS=-Os -pipe (-Os is basically -O2)

.9\" -DDAEMON_UID=1 -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'
-DDEFAULT_AT_QU
EUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/
usr/src/libexec/atrun   -o atrun atrun.o gloadavg.o
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_des
troy_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_dest
roy_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_try
lock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_key_creat
e_int'


and zillion of others... I also had to disable CXXFLAGS which was set to
CXXFLAGS+= -fmemoize-lookups -fsave-memoized

roman


------------------------------

Message: 11
Date: Wed, 28 Jul 2004 18:54:31 +0400
From: Maxim Maximov <mcsi@mcsi.pp.ru>
Subject: Re: build is broken after gcc import
Cc: current@freebsd.org
Message-ID: <4107BE27.6050003@mcsi.pp.ru>
Content-Type: text/plain; charset=KOI8-R; format=flowed

Maxime Henrion wrote:
> Maxim Maximov wrote:
> 
>>Hi.
>>
>>	buildworld fails after GCC import:
>>
>>/usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c: 
>>In function `findsaddr':
>>/usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c:195
: 
>>error: label at end of compound statement
>>*** Error code 1
>>1 error
> 
> 
> This patch should solve this issue.
> 
> Thanks,
> Maxime

Now traceroute builds fine, thanks! But buildkernel fails (after 
successful buildworld):

--------------------------------------------------------------
 >>> stage 3.1: making dependencies
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/ULTRA;  MAKEOBJDIRPREFIX=/usr/obj 
MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE= 
GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac 
DESTDIR=/usr/obj/usr/src/i386  _SHLIBDIRPREFIX=/usr/obj/usr/src/i386 
INSTALL="sh /usr/src/tools/install.sh" 
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bi
n:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/o
bj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/
usr/bin 
/usr/obj/usr/src/make.i386/make KERNEL=kernel depend -DNO_MODULES_OBJ
rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
/usr/obj/usr/src/make.i386/make _kernel-depend
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath 
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
-D_KERNEL -include opt_global.h -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
/usr/src/sys/i386/i386/genassym.c
cc1: error: unrecognized command line option "-fformat-extensions"
*** Error code 1

Stop in /usr/obj/usr/src/sys/ULTRA.
*** Error code 1

Stop in /usr/obj/usr/src/sys/ULTRA.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
����� 1


-- 
Maxim Maximov

------------------------------

Message: 12
Date: Wed, 28 Jul 2004 15:57:38 +0100
From: David Malone <dwmalone@maths.tcd.ie>
Subject: Re: Problems with ntp4.2 when names resolve to IPv6 addresses
To: Brad Knowles <brad.knowles@skynet.be>
Cc: current@freebsd.org
Message-ID: <20040728145738.GA47187@walton.maths.tcd.ie>
Content-Type: text/plain; charset=us-ascii

On Tue, Jul 27, 2004 at 11:46:31PM +0200, Brad Knowles wrote:
> At 6:20 PM -0700 2004-07-25, Kevin Oberman wrote:
> > I did not notice any problem while I was on an IPv6 connected network at
> > work or while on travel at a networking conference as they have IPv6
> > connectivity, but when I tried from home, where my broadband provider
> > does not provide any IPv6 routing, ntp simply spits out messages that it
> > failed to connect to each server.

> 	This may be a bug with the base code from ntp.org.  We'd want to 
> know more about this particular problem.  Can you file a bug at 
> bugzilla.ntp.org?

Ntpd has some issues in this area. It will always try the first
address returned by getaddrinfo and doesn't fall back to other
addresses if things don't work out. This means if you don't have
IPv6 connectivity, but your server does have an AAAA record, then
you probably won't be able to talk NTP to the server. The fix is
to change ntp.conf to say "server -4 server.name" rather than just
"server server.name".

(The same problem exists with servers with multiple IPv4 addresses,
some of which are unreachable, it's just less obvious...)

	David.

------------------------------

Message: 13
Date: Wed, 28 Jul 2004 18:01:26 +0300
From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Subject: Re: 'sort' tool is eating my system ressources
To: Tillman Hodgson <tillman@seekingfire.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040728180126.3ad59f1a@it.buh.tecnik93.com>
Content-Type: text/plain; charset=US-ASCII

On Wed, 28 Jul 2004 08:22:36 -0600
Tillman Hodgson <tillman@seekingfire.com> wrote:

> On Wed, Jul 28, 2004 at 05:26:08PM +0800, Jiawei Ye wrote:
> > I recommend highly sysutils/portindex, which does incremental builds
> > and takes very little time to build new INDEX, INDEX-5.
> 
> I hadn't played with the port yet so I thought I'd take a poke at it.
> 
> It's an odd port ... no pkg-plist,

Look in the Makefile for PLIST_*

> no man pages. The web page that
> pkg-descr points to has little more than what pkg-descr itself says.
> There's a README.TXT that gives a few one-liners on what the various
> python scripts do,

Agree here ;)

> and there's a DBSETUP.TXT that mentions a postgres database (?!).

The db is used for pkghistory

> Do you have an example of how you use it in your cvsup script? Any links
> that discuss how it works in a bit more detail? It looks interesting,
> but unfriendly ;-)

do_build_new_index() {
        echo
        if [ ! -e ${LOG_DIR}/need_new_index ]
        then
                echo "No need to rebuild INDEX-5"
                return 0
        fi
        cd /usr/ports || return 1
        cp INDEX-5 INDEX-5.bak || return 1
        if /usr/local/bin/portindex
        then
                rm ${LOG_DIR}/need_new_index
                cp INDEX.db INDEX.db.bak || return 1
                sort < /usr/ports/INDEX-5 > /tmp/INDEX-5.sorted
                mv /tmp/INDEX-5.sorted /usr/ports/INDEX-5
                /usr/local/sbin/portsdb -u  || cp INDEX.db.bak INDEX.db && ret
urn 1
                cd /var/db/pkg  || return 1
                cp pkgdb.db pkgdb.db.bak || return 1
                /usr/local/sbin/pkgdb -u || cp pkgdb.db.bak pkgdb.db && return
 1
        else
                echo "ports_upd-ERROR: Index build FAILLED, restoring old INDE
X-5"
                echo "ports_upd-ERROR: Index build FAILLED, restoring old INDE
X-5"
                cp INDEX-5.bak INDEX-5
                return 1
        fi
}


-- 
IOnut
Unregistered ;) FreeBSD "user"


------------------------------

Message: 14
Date: Wed, 28 Jul 2004 19:24:09 +0400
From: Maxim Maximov <mcsi@mcsi.pp.ru>
Subject: Re: build is broken after gcc import
To: current@freebsd.org
Message-ID: <4107C519.5040101@mcsi.pp.ru>
Content-Type: text/plain; charset="us-ascii"

Maxim Maximov wrote:

> 
> 
> Now traceroute builds fine, thanks! But buildkernel fails (after 
> successful buildworld):
> 
> --------------------------------------------------------------
>  >>> stage 3.1: making dependencies
> --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/ULTRA;  MAKEOBJDIRPREFIX=/usr/obj 
> MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE= 
> GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin 
> GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font 
> GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac 
> DESTDIR=/usr/obj/usr/src/i386  _SHLIBDIRPREFIX=/usr/obj/usr/src/i386 
> INSTALL="sh /usr/src/tools/install.sh" 
> PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/
bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr
/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin
:/usr/bin 
> /usr/obj/usr/src/make.i386/make KERNEL=kernel depend -DNO_MODULES_OBJ
> rm -f .olddep
> if [ -f .depend ]; then mv .depend .olddep; fi
> /usr/obj/usr/src/make.i386/make _kernel-depend
> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. 
> -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
> -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
> -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath 
> -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
> -D_KERNEL -include opt_global.h -finline-limit=8000 --param 
> inline-unit-growth=100 --param large-function-growth=1000 
> -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
> /usr/src/sys/i386/i386/genassym.c
> cc1: error: unrecognized command line option "-fformat-extensions"
> *** Error code 1

And attached patch fixes the problem.

-- 
Maxim Maximov
-------------- next part --------------
Index: kern.mk
===================================================================
RCS file: /home/ncvs/src/sys/conf/kern.mk,v
retrieving revision 1.42
diff -u -r1.42 kern.mk
--- kern.mk	14 May 2004 13:35:46 -0000	1.42
+++ kern.mk	28 Jul 2004 15:21:26 -0000
@@ -12,7 +12,7 @@
 .else
 CWARNFLAGS?=	-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
 		-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-		-fformat-extensions -std=c99
+		-std=c99
 .endif
 #
 # The following flags are next up for working on:

------------------------------

Message: 15
Date: Wed, 28 Jul 2004 18:06:19 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: build is broken after gcc import
To: Maxim Maximov <mcsi@mcsi.pp.ru>
Cc: current@freebsd.org
Message-ID: <20040728160619.GA13608@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii

Maxim Maximov wrote:
> Maxim Maximov wrote:
> >Now traceroute builds fine, thanks! But buildkernel fails (after 
> >successful buildworld):

Thanks for testing the patch, it has now been committed.

> >--------------------------------------------------------------
> > >>> stage 3.1: making dependencies
> >--------------------------------------------------------------
> >cd /usr/obj/usr/src/sys/ULTRA;  MAKEOBJDIRPREFIX=/usr/obj 
> >MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE= 
> >GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin 
> >GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font 
> >GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac 
> >DESTDIR=/usr/obj/usr/src/i386  _SHLIBDIRPREFIX=/usr/obj/usr/src/i386 
> >INSTALL="sh /usr/src/tools/install.sh" 
> >PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr
/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/us
r/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbi
n:/usr/bin 
> >/usr/obj/usr/src/make.i386/make KERNEL=kernel depend -DNO_MODULES_OBJ
> >rm -f .olddep
> >if [ -f .depend ]; then mv .depend .olddep; fi
> >/usr/obj/usr/src/make.i386/make _kernel-depend
> >cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs 
> >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
> >-Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. 
> >-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
> >-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
> >-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath 
> >-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
> >-D_KERNEL -include opt_global.h -finline-limit=8000 --param 
> >inline-unit-growth=100 --param large-function-growth=1000 
> >-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
> >/usr/src/sys/i386/i386/genassym.c
> >cc1: error: unrecognized command line option "-fformat-extensions"
> >*** Error code 1

It seems you have cvsup'ed at a bad time.  The -fformat-extensions
option is a FreeBSD-specific (and NetBSD, I've been told) option, and
is not in GCC baseline.  It has been merged back in revision 1.24 of
src/contrib/gcc/toplev.c.  Can you check that you have the latest
version of this file?  If you don't just re-cvsup and try again.

> And attached patch fixes the problem.

This patch is incorrect, as should be obvious after the explanation
above.

Cheers,
Maxime

------------------------------

Message: 16
Date: Wed, 28 Jul 2004 18:34:55 +0200
From: Marius Strobl <marius@alchemy.franken.de>
Subject: Re: build is broken after gcc import
To: Maxime Henrion <mux@freebsd.org>
Cc: kan@freebsd.org
Message-ID: <20040728183455.B57988@newtrinity.zeist.de>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 28, 2004 at 06:06:19PM +0200, Maxime Henrion wrote:
> Maxim Maximov wrote:
> > Maxim Maximov wrote:
> > >cc1: error: unrecognized command line option "-fformat-extensions"
> > >*** Error code 1
> 
> It seems you have cvsup'ed at a bad time.  The -fformat-extensions
> option is a FreeBSD-specific (and NetBSD, I've been told) option, and
> is not in GCC baseline.  It has been merged back in revision 1.24 of
> src/contrib/gcc/toplev.c.  Can you check that you have the latest
> version of this file?  If you don't just re-cvsup and try again.
> 

Looks rather like Alexander forgot to commit the patch below, taken
from his http://people.freebsd.org/~kan/gcc341.tar.gz.

Index: c.opt
===================================================================
RCS file: /mnt/futile/usr/data/bsd/cvs/fbsd/src/contrib/gcc/c.opt,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 c.opt
--- c.opt	28 Jul 2004 03:11:34 -0000	1.1.1.1
+++ c.opt	5 Jun 2004 01:00:19 -0000
@@ -822,4 +822,8 @@
 C ObjC C++ ObjC++
 ; Documented in common.opt
 
+fformat-extensions
+C ObjC C++ ObjC++
+Enable FreeBSD format extensions
+
 ; This comment is to ensure we retain the blank line above.

------------------------------

Message: 17
Date: Thu, 29 Jul 2004 01:52:22 +0900
From: Norikatsu Shigemura <nork@FreeBSD.org>
Subject: Re: Synaptics Touchpad xfree driver hack :)
To: freebsd-current@FreeBSD.org, developers@FreeBSD.org
Cc: Arne Schwabe <arne@rfc2549.org>
Message-ID: <20040729015222.0949b382.nork@FreeBSD.org>
Content-Type: text/plain; charset="us-ascii"

	Anyone, would you please commit attached patch?

On Wed, 28 Jul 2004 16:19:45 +0200
Arne Schwabe <arne@rfc2549.org> wrote:
> > I have a compaq 2519eu with a synaptics touchpad.
> > I was tried your driver, but I can not patch may kernel.
> > I am using a freeBSD 4.10 CURRENT.
> > Have you got any solutions ?
> I have written the Driver  for 5-Current, but at the Moment I have no
> time for 4.10, but it should not be too difficult if you can do it
> yourself, the touchpad should work without the driver but without the
> advanced features.

	I have the driver modified arne's patch to clean up.  I am
	testing from before half a year -- the result is good.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synaptic-current.diff
Type: application/octet-stream
Size: 10889 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040729/
dcde32f7/synaptic-current-0001.obj

------------------------------

Message: 18
Date: Wed, 28 Jul 2004 12:53:07 -0400 (EDT)
From: "Mike Jakubik" <mikej@rogers.com>
Subject: Another broken buildworld
To: freebsd-current@freebsd.org
Message-ID: <1282.66.11.183.182.1091033587.squirrel@66.11.183.182>
Content-Type: text/plain;charset=iso-8859-1

This was cvsuped ~2 hours ago.

---
===> libexec/atrun
cc -O2 -pipe -march=pentium3 -DATJOB_DIR=\"/var/at/jobs/\" 
-DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
-DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
-DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
-DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/usr/src/libexec/atrun  -c /usr/src/libexec/atrun/atrun.c
cc -O2 -pipe -march=pentium3 -DATJOB_DIR=\"/var/at/jobs/\" 
-DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
-DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
-DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
-DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/usr/src/libexec/atrun  -c /usr/src/libexec/atrun/gloadavg.c
cc -O2 -pipe -march=pentium3 -DATJOB_DIR=\"/var/at/jobs/\" 
-DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
-DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
-DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
-DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/usr/src/libexec/atrun   -o atrun atrun.o gloadavg.o
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_destroy_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_destroy_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_trylock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_key_create_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_trywrlock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_mutex_lock'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutexattr_settype_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_signal_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_self_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_init_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_sigmask_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_cond_init'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_self_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_trylock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_key_delete_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_sigmask_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_sigmask'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_lock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_rdlock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_mutex_unlock'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_rdlock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_unlock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutexattr_destroy_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_key_create'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_init_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_tryrdlock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_once_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_mutex_destroy'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_destroy_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_main_np_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_destroy_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_broadcast_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_tryrdlock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_pthread_self'

/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_broadcast_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_rwlock_wrlock'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_rwlock_unlock'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_wrlock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_getspecific_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_wait_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutexattr_init_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_setspecific_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_init_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_unlock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_unlock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutexattr_init_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_destroy_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_cond_signal'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_getspecific'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_trywrlock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_key_delete_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_mutex_trylock'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_init_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_main_np'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_wrlock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_unlock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_key_create_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_cond_wait'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_destroy_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_main_np_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutexattr_destroy_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_wait_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutexattr_settype_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_setspecific_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_setspecific'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_rwlock_rdlock'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_getspecific_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_signal_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_once_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_cond_init_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_mutex_lock_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`pthread_rwlock_init_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to
`_pthread_cond_destroy'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_pthread_once'

*** Error code 1

Stop in /usr/src/libexec/atrun.
*** Error code 1
---



------------------------------

Message: 19
Date: Thu, 29 Jul 2004 02:53:45 +1000
From: Geoff Roberts <robertsg@westnet.com.au>
Subject: Re: ath driver and wg311t
To: freebsd-current@freebsd.org
Message-ID: <200407290253.45100.robertsg@westnet.com.au>
Content-Type: text/plain;  charset="iso-8859-1"

> On Monday 26 July 2004 07:35 am, Geoff Roberts wrote:
> > Hi,
> >
> > I've got a Netgear WG311T (Atheros chip) card in my FreeBSD current
> > machine. I'm trying to set it up as an access point.
> >
> > The card at the other end is a netgear WG111 (USB) on windows XP.
> >
> > It is very, very hard to get the two to connect (takes hours). Most of
> > the time they don't. Once connected though they stay connected pretty
> > well.
> >
> > I've turned on debug.ieee80211 and get the error message:
> > unsupported auth 1.
>
> snip
>
> Your problem is likely due to use of 11g. �The existing net80211 code in
> FreeBSD is missing proper 11g support. �Try forcing the ap to use only 11b
> and see if things work.
>
> ��������Sam

The answer is yes and no. The first time I forced the AP to llb the WG111 
connected OK. I've since been rebooting both the W2K machine and FreeBSD 
machine over the last day or so and there is still a lot of unsupported auth 

1 messages. Sometimes they eventually connect and sometimes not.

Again, once connected they stay connected.

Would a tcpdump reveal any more or should I be looking somewhere else for the 

problem? Also, do the parameters for the WG311T on FreeBSD need to be set in 

any particular order?

Thanks,

Geoff


------------------------------

Message: 20
Date: Wed, 28 Jul 2004 19:00:10 +0200
From: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Subject: Re: Another broken buildworld
To: Mike Jakubik <mikej@rogers.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040728170010.GA55171@stud.fit.vutbr.cz>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 28, 2004 at 12:53:07PM -0400, Mike Jakubik wrote:
> This was cvsuped ~2 hours ago.
> 
> ---
> ===> libexec/atrun
> cc -O2 -pipe -march=pentium3 -DATJOB_DIR=\"/var/at/jobs/\" 

[snip]

> Stop in /usr/src/libexec/atrun.
> *** Error code 1

yeah, there's something broken with -O2 (-Os)

roman

------------------------------

Message: 21
Date: Wed, 28 Jul 2004 19:00:42 +0200
From: Joan Picanyol <lists-freebsd-current@biaix.org>
Subject: /usr/ports/UPDATING announcement (was: Re: Xorg built fails
	on	CURRENT: can't find Xauth.h)
To: freebsd-current@freebsd.org
Cc: freebsd-doc@freebsd.org
Message-ID: <20040728170042.GA28008@grummit.biaix.org>
Content-Type: text/plain; charset=us-ascii

* Dan Langille <dan@langille.org> [20040728 03:13]:
> On Tue, 27 Jul 2004, Joe Kelsey wrote:
> > On Tue, 2004-07-27 at 15:37, Kevin Oberman wrote:
> > > > From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
> > > > But... there is nothing in UPDATING. I have copied the list just in ca
se
> > > > someone out there thinks there should be. Right now:
> > > >
> > > > sunny:RabbitsDen>grep -i xorg UPDATING
> > > > sunny:RabbitsDen>grep -i libwnck UPDATING
> > > > sunny:RabbitsDen>grep -i libxklavier UPDATING
> > > > sunny:RabbitsDen>ls -l UPDATING
> > > > -rw-r--r--  1 root  wheel  69125 Jul 25 16:37 UPDATING
> > > >
> > > > Considering that this is ports issue, I honestly did not expect
> > > > anything in UPDATING anyway.
> > > >
> > > Which UPDATING file?
> > > > ls -l /usr/ports/UPDATING
> > > -rw-r--r--  1 root  wheel  19155 Jul 27 03:56 /usr/ports/UPDATING
> > >
> > > ports has its own and that is where to look for such information on port
s.
> >
> > This is EXACTLY the reason that we need to ADVERTISE the NEW UPDATING
> > file much more!  I encountered another problem which had an entry in
> > /usr/ports/UPDATING, but since I completely missed the months-old
> > announcement of the creationof the file, I never looked there and got
> > yelled at my many, many people for my supposed stupidity!
> 
> I'm all for announcing it.  I never heard of it until last week.  I too
> was told to read it, I was stupid for not reading it, why aren't you
> reading it?

Me too :o

> > We need to have a regular announcement on -CURRENT, -STABLE and all
> > ports-related newsgroups that /usr/ports/UPDATING exists and needs to be
> > looked at regularly!  Just because someone created it many months ago
> > does not mean that everyone knows about it!
> 
> It needs to go out on freebsd-announce IMHO.

And the Handbook as well.

qvb
-- 
pica

------------------------------

Message: 22
Date: Wed, 28 Jul 2004 13:19:50 -0400
From: John Baldwin <jhb@FreeBSD.org>
Subject: Re: Ok, who broke interface autoconfiguration?
To: "Angelo Turetta" <aturetta@commit.it>
Cc: freebsd-current@FreeBSD.org
Message-ID: <200407281319.50296.jhb@FreeBSD.org>
Content-Type: text/plain;  charset="iso-8859-1"

On Wednesday 28 July 2004 04:04 am, Angelo Turetta wrote:
> ----- Original Message -----
> From: "John Baldwin" <jhb@FreeBSD.org>
> Sent: Wednesday, July 28, 2004 5:50 AM
>
> > What happens for me is that it configures the interface for IP 0.0.0.0,
>
> but it
>
> > sends out lease requests from its earlier lease IP (10.x.x.x) rather than

> > 0.0.0.0.  The problem for me is when I switch between my home network
> > (192.168.0.x) and my work network (10.x.x.x), in which cases the source
> > IP address it is using is invalid and I think the DHCP server is thus
>
> ignoring
>
> > the request.  Removing the leases file and restarting dhclient seems to
> > be the only fix.  It also seems to have recently been broken (like in the

>
> last
>
> > few weeks or months).
>
> I've seen this happen (I mean, problem getting a lease after moving to a
> different network) when one of the ISC DHCP servers had not been set to
> authoritative (and the client was Windows2000).
>
> Angelo Turetta
>
> ------------------- from the sample dhcpd.conf
> # If this DHCP server is the official DHCP server for the local
> # network, the authoritative directive should be uncommented.
> authoritative;
> ---------------------------------------------------

Aha!  Thanks!

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

------------------------------

Message: 23
Date: Wed, 28 Jul 2004 13:29:27 -0400
From: John Baldwin <jhb@FreeBSD.org>
Subject: A couple of SMP deadlock patches
To: current@FreeBSD.org
Cc: Peter Wemm <peter@FreeBSD.org>
Message-ID: <200407281329.27271.jhb@FreeBSD.org>
Content-Type: text/plain;  charset="us-ascii"

Included below are two patches for two different potential deadlocks on SMP.  

The first one I have sent to the list before, but it didn't seem to help 
anyone.  I do believe it is a fix for a possible deadlock though so I'd like 

some more testing feedback with the aim of committing it.  The second patch 
works around a lock order reversal introduced with the sleep queue code 
(since sched_lock's scope was reduced) at the expense of increasing the 
latency between a swapped out thread becoming runnable and the swapper waking 

up to swap the process back in.

Index: i386/i386/pmap.c
===================================================================
RCS file: /usr/cvs/src/sys/i386/i386/pmap.c,v
retrieving revision 1.488
diff -u -r1.488 pmap.c
--- i386/i386/pmap.c	18 Jul 2004 21:19:10 -0000	1.488
+++ i386/i386/pmap.c	19 Jul 2004 17:15:57 -0000
@@ -185,9 +185,6 @@
 LIST_HEAD(pmaplist, pmap);
 static struct pmaplist allpmaps;
 static struct mtx allpmaps_lock;
-#ifdef SMP
-static struct mtx lazypmap_lock;
-#endif
 
 vm_paddr_t avail_end;	/* PA of last available physical page */
 vm_offset_t virtual_avail;	/* VA of first avail page (after kernel bss) */
@@ -332,9 +329,6 @@
 	kernel_pmap->pm_active = -1;	/* don't allow deactivation */
 	TAILQ_INIT(&kernel_pmap->pm_pvlist);
 	LIST_INIT(&allpmaps);
-#ifdef SMP
-	mtx_init(&lazypmap_lock, "lazypmap", NULL, MTX_SPIN);
-#endif
 	mtx_init(&allpmaps_lock, "allpmaps", NULL, MTX_SPIN);
 	mtx_lock_spin(&allpmaps_lock);
 	LIST_INSERT_HEAD(&allpmaps, kernel_pmap, pm_list);
@@ -1303,7 +1297,7 @@
 	while ((mask = pmap->pm_active) != 0) {
 		spins = 50000000;
 		mask = mask & -mask;	/* Find least significant set bit */
-		mtx_lock_spin(&lazypmap_lock);
+		mtx_lock_spin(&smp_tlb_mtx);
 #ifdef PAE
 		lazyptd = vtophys(pmap->pm_pdpt);
 #else
@@ -1323,7 +1317,7 @@
 					break;
 			}
 		}
-		mtx_unlock_spin(&lazypmap_lock);
+		mtx_unlock_spin(&smp_tlb_mtx);
 		if (spins == 0)
 			printf("pmap_lazyfix: spun for 50000000\n");
 	}
Index: kern/kern_synch.c
===================================================================
RCS file: /usr/cvs/src/sys/kern/kern_synch.c,v
retrieving revision 1.254
diff -u -r1.254 kern_synch.c
--- kern/kern_synch.c	16 Jul 2004 21:04:55 -0000	1.254
+++ kern/kern_synch.c	28 Jul 2004 16:33:45 -0000
@@ -402,7 +402,9 @@
 	if ((p->p_sflag & PS_INMEM) == 0) {
 		if ((p->p_sflag & PS_SWAPPINGIN) == 0) {
 			p->p_sflag |= PS_SWAPINREQ;
+#ifndef SMP
 			wakeup(&proc0);
+#endif
 		}
 	} else
 		sched_wakeup(td);

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

------------------------------

Message: 24
Date: Wed, 28 Jul 2004 10:41:11 -0700
From: Sean McNeil <sean@mcneil.com>
Subject: new compiler fails to build amd64 kernel
To: freebsd-current@freebsd.org
Message-ID: <1091036471.73230.1.camel@server.mcneil.com>
Content-Type: text/plain

There appears to be a switch not supported in gcc 3.4:

--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------
cc1: error: unrecognized command line option "-fformat-extensions"
*** Error code 1

Cheers,
Sean



------------------------------

Message: 25
Date: Wed, 28 Jul 2004 13:48:56 -0400
From: Kenneth Culver <culverk@sweetdreamsracing.biz>
Subject: Re: new compiler fails to build amd64 kernel
To: Sean McNeil <sean@mcneil.com>
Cc: freebsd-current@freebsd.org
Message-ID:
	<20040728134856.usscg00wc0osck84@www.sweetdreamsracing.biz>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"

Quoting Sean McNeil <sean@mcneil.com>:

> There appears to be a switch not supported in gcc 3.4:
>
It's not just having trouble with the amd64 kernel, it's all kernels, I'm
getting the same probem compiling on several of my x86 machines, and my x86
install on my amd64 machine.

Ken

------------------------------

Message: 26
Date: Wed, 28 Jul 2004 10:49:25 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Athlon64 SMP motherboards?
To: Daniel Flickinger <attila@hun.org>
Cc: FreeBSD-CURRENT <current@freebsd.org>
Message-ID: <20040728174925.GC15497@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 26, 2004 at 01:37:59AM +0000, Daniel Flickinger wrote:
>     anyone have experience with Athlon64 SMP motherboards?
>     Tyan will not begin samples until late third quarter.

There is not such a thing as an Athlon64 SMP mothrboard.
Athlon64 is UP only.  Opteron is for SMP.

-- 
-- David  (obrien@FreeBSD.org)

------------------------------

Message: 27
Date: Wed, 28 Jul 2004 11:31:32 -0700
From: John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Subject: Re: magic sysrq keys functionality
To: Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Cc: Scott Long <scottl@FreeBSD.ORG>
Message-ID: <20040728183132.GR991@funkthat.com>
Content-Type: text/plain; charset=us-ascii

Matthias Andree wrote this message on Wed, Jul 28, 2004 at 11:44 +0200:
> Makes me wonder about efficiency (write latency).
> 
> I admit I'm not familiar with how the buffers are scheduled in
> particular, if there are "write batches" or something.
> 
> If however softdep needs to wait for individual blocks, real tagged
> queueing (with ordered tags in the right places and such) might be
> faster because the drive can then decide for itself in which order the
> blocks are written to the disks fastest, without violating any of the
> ordering assumptions softupdates code relies on.

As another person said much more clearly...  Softdep really does
dependancy tracking...  As long as there are no outstanding writes
that it needs (like it can't write a data block till the block is
marked as in use, nor can it update the inode that the file uses that
data block, till the data is writen to disk) are still out standing,
it will submit the write request...  so, if two blocks are not related
and have no oustanding dependancies, they will be scheduled and written
in parallel...  and let the real tag queueing do it's work...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."

------------------------------

Message: 28
Date: Wed, 28 Jul 2004 20:34:31 +0200
From: Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Re: /usr/ports/UPDATING announcement (was: Re: Xorg built
	fails on	CURRENT: can't find Xauth.h)
To: freebsd-current@FreeBSD.org
Cc: freebsd-doc@FreeBSD.org
Message-ID: <200407282034.34549.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 28 July 2004 19:00, Joan Picanyol wrote:

> > I'm all for announcing it. �I never heard of it until last week. �I too
> > was told to read it, I was stupid for not reading it, why aren't you
> > reading it
> Me too :o

[...]

> > It needs to go out on freebsd-announce IMHO.
>
> And the Handbook as well.

That's all somewhat beside the point, IMHO (although it really should be 
documented in the handbook). It was announced (here), many people saw it, 
others didn't. And people will still miss things regardless of how many 
places you announce them in.

The most effective way to spread the news actually _is_ the process you've 
been going through: Someone tells you in a more or less friendly way about 
some new thing (perhaps after you've been complaining about something in a 
more or less friendly way because you missed an announcement). Just ignore 
the bozos who call you dumb and care about the useful pieces of 
information. :)

-- 
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040728/
ac3e7c9c/attachment-0001.bin

------------------------------

Message: 29
Date: Wed, 28 Jul 2004 22:48:28 +0400 (MSD)
From: Maxim Konovalov <maxim@macomnet.ru>
Subject: Re: fixing out of order first fragment processing?
To: othermark <atkin901@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040728221230.O99844@mp2.macomnet.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,

On Thu, 22 Jul 2004, 14:34-0700, othermark wrote:

> Hi,
>
> This is one of those obscure, yet well known issues in FreeBSD,
> some network stacks, like Linux, send the udp/icmp fragment
> first (if multiple frags -- in reverse order), then the orginal
> packet with the header.
>
> In -current, we still cannot process this simple fragged icmp-echo
> request from a Linux host.  For example, 'ping -c 1 -s 1500 <freebsd ip>'.
>
> FreeBSD discards the frag(s) and when it sees the initial packet with
> header waits for the frags.
>
> So two questions:
>
> 1. is there a gnats pr?  I tried various searches with no success.

AFAIK no.

> 2. are there workarounds/patches?

First of all, I can't reproduce this behaviour.  "ping -c 1 -s 4500 freebsd"
from the linux produces a pseudo tcpdump liek below:

linux > freebsd: icmp (frag 64465:68@4440)
linux > freebsd: icmp (frag 64465:1480@2960+)
linux > freebsd: icmp (frag 64465:1480@1480+)
linux > freebsd: icmp: echo request (frag 64465:1480@0+)
freebsd > linux: icmp: echo reply (frag 6529:1480@0+)
freebsd > linux: icmp (frag 6529:1480@1480+)
freebsd > linux: icmp (frag 6529:1480@2960+)
freebsd > linux: icmp (frag 6529:68@4440)

Linux kernel is 2.4.20-ac2, FreeBSD is 5.2.1-RELEASE.  What are yours?
Could you provide netstat -sp ip | grep frag snippet from the FreeBSD
box?  Clear the stats (netstat -zs) before experiments is a good idea
as well.

-- 
Maxim Konovalov

------------------------------

Message: 30
Date: Wed, 28 Jul 2004 14:51:44 -0400 (EDT)
From: Dan Langille <dan@langille.org>
Subject: Re: /usr/ports/UPDATING announcement (was: Re: Xorg built
	fails on CURRENT: can't find Xauth.h)
To: Michael Nottebrock <michaelnottebrock@gmx.net>
Cc: freebsd-doc@FreeBSD.org
Message-ID: <20040728145044.G61655@xeon.unixathome.org>
Content-Type: TEXT/PLAIN; charset=iso-8859-1

On Wed, 28 Jul 2004, Michael Nottebrock wrote:

> On Wednesday 28 July 2004 19:00, Joan Picanyol wrote:
>
> > > I'm all for announcing it. �I never heard of it until last week. �I too

> > > was told to read it, I was stupid for not reading it, why aren't you
> > > reading it
> > Me too :o
>
> [...]
>
> > > It needs to go out on freebsd-announce IMHO.
> >
> > And the Handbook as well.
>
> That's all somewhat beside the point, IMHO (although it really should be
> documented in the handbook). It was announced (here), many people saw it,
> others didn't. And people will still miss things regardless of how many
> places you announce them in.

That is not an excuse for not announcing in the appropriate places.

> The most effective way to spread the news actually _is_ the process you've
> been going through: Someone tells you in a more or less friendly way about
> some new thing (perhaps after you've been complaining about something in a
> more or less friendly way because you missed an announcement). Just ignore
> the bozos who call you dumb and care about the useful pieces of
> information. :)

Yep, and if it had been sent to freebsd-announce, many more people would
have read about it.  current@ and doc@ is insufficient.

-- 
Dan Langille - http://www.langille.org/

------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 70, Issue 10
***********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]