Message-ID: <4DPkED$Ce4@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 70, Issue 11
Date: Thu, 29 Jul 2004 10:25:49 +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!proxad.net!newsfeed1.ip.tiscali.net!tiscali!newsfeed2.ip.tiscali.net!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1091096749.A
Xref: 74.82.202.154 cn.bbs.comp.unix:1397
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. Re: /usr/ports/UPDATING announcement (was: Re: Xorg built
fails on CURRENT: can't find Xauth.h) (Michael Nottebrock)
2. Re: /usr/ports/UPDATING announcement (was: Re: Xorg built
fails on CURRENT: can't find Xauth.h) (Dan Langille)
3. Re: /usr/ports/UPDATING announcement (was: Re: Xorg built
fails on CURRENT: can't find Xauth.h) (Michael Nottebrock)
4. Re: xl(4) autonegotiation trouble - ng_pppoe related?
(Maxim Maximov)
5. Re: Problems with ntp4.2 when names resolve to IPv6 addresses
(David Malone)
6. Re: Problems with ntp4.2 when names resolve to IPv6 addresses
(Brad Knowles)
7. -fformat-extensions (was: Re: build is broken after gcc
import) (Marius Strobl)
8. ipsec/racoon broken (Michael Lestinsky)
9. Re: ipsec/racoon broken (Robert Watson)
10. portalfs in -CURRENT? (Tim)
11. Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
(Alexander Kabaev)
12. Re: -fformat-extensions (was: Re: build is broken after gcc
import) (Alexander Kabaev)
13. Compiling FreeBSD with non-standard flags. (Alexander Kabaev)
14. Re: A couple of SMP deadlock patches (Maxim Maximov)
15. Re: ipsec/racoon broken (Bosko Milekic)
16. Re: ath driver and wg311t (John Kennedy)
17. Re: A couple of SMP deadlock patches (Brian Fundakowski Feldman)
18. build error (frank brierley)
19. Re: build error (Steve Kargl)
20. Re: build error (John Merryweather Cooper)
21. Re: FreeBSD and wine mmap (John Birrell)
22. Re: Compiling FreeBSD with non-standard flags. (Divacky Roman)
23. RFC: Alternate patch to have true new-style rc.d ports
scripts(without touching localpkg) (Oliver Eikemeier)
24. [current tinderbox] failure on alpha/alpha (FreeBSD Tinderbox)
25. Re: [current tinderbox] failure on alpha/alpha
(Dag-Erling Sm?rgrav)
26. Re: ipsec/racoon broken (Simon L. Nielsen)
27. [current tinderbox] failure on amd64/amd64 (FreeBSD Tinderbox)
28. Kernel build error (Alex Dupre)
29. malloc in the slow lane (Danny Braniss)
30. Re: malloc in the slow lane (Simon L. Nielsen)
----------------------------------------------------------------------
Message: 1
Date: Wed, 28 Jul 2004 21:08:05 +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: Dan Langille <dan@langille.org>
Cc: freebsd-current@freebsd.org
Message-ID: <200407282108.11377.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="iso-8859-1"
On Wednesday 28 July 2004 20:51, Dan Langille wrote:
> Yep, and if it had been sent to freebsd-announce, many more people would
> have read about it. current@ and doc@ is insufficient.
When I said "here", I didn't realise what lists I was posting to - it had been
announced on ports (and since then mentioned there many times).
--
,_, | 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/
53f0bd72/attachment-0001.bin
------------------------------
Message: 2
Date: Wed, 28 Jul 2004 15:14:34 -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-current@freebsd.org
Message-ID: <20040728151340.U61655@xeon.unixathome.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Wed, 28 Jul 2004, Michael Nottebrock wrote:
> On Wednesday 28 July 2004 20:51, Dan Langille wrote:
>
> > Yep, and if it had been sent to freebsd-announce, many more people would
> > have read about it. current@ and doc@ is insufficient.
>
> When I said "here", I didn't realise what lists I was posting to - it had be
en
> announced on ports (and since then mentioned there many times).
OK. ports@ is also insufficient. To expect all users of the ports tree to
track ports@ is unreasonable. A post to announce@ is still justified.
IMHO.
--
Dan Langille - http://www.langille.org/
------------------------------
Message: 3
Date: Wed, 28 Jul 2004 21:36:34 +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: Dan Langille <dan@langille.org>
Cc: freebsd-current@freebsd.org
Message-ID: <200407282136.34894.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="iso-8859-1"
On Wednesday 28 July 2004 21:14, Dan Langille wrote:
> OK. ports@ is also insufficient. To expect all users of the ports tree to
> track ports@ is unreasonable. A post to announce@ is still justified.
> IMHO.
Certainly. Write a up an announcement, send it to freebsd-announce@ and let
the moderation pass it on.
--
,_, | 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/
148a187c/attachment-0001.bin
------------------------------
Message: 4
Date: Wed, 28 Jul 2004 23:41:29 +0400
From: Maxim Maximov <mcsi@mcsi.pp.ru>
Subject: Re: xl(4) autonegotiation trouble - ng_pppoe related?
To: freebsd-current@freebsd.org
Message-ID: <41080169.5000904@mcsi.pp.ru>
Content-Type: text/plain; charset=us-ascii; format=flowed
Matthias Andree wrote:
> "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> writes:
>
>
>>On Fri, 23 Jul 2004, Matthias Andree wrote:
>>
>>
>>>>It's quite obvious that you can't do pppoEthernet w/o a working
>>>>ethernet link.
>>>
>>>The link IS working: if I use rp-pppoe, a user-space PPPoE driver, it
>>>works on the same interface where ppp (with ng_pppoe) fails.
>>
>>can you please check if rp-pppoe does put the interface into promisc
>>mode ?
>
>
> I have checked, zero hints to promiscuous mode:
> ifconfig has no "PROMISC" tag,
> nothing in dmesg or /var/log/messages.
>
>
>>and - do you have s.th. like
>> ifconfig_xl1="up"
>>in your /etc/rc.conf ? Else I think it won't work with ppp/ng_pppoe
>
>
> Yes, I do. ppp/ng_pppoe has worked a few weeks ago and I hadn't changed
> my configuration for months.
>
Well, now ng_pppoe stops working with sk(4) driver. The breakage was
introduced in the last week.
Here's ppp logs:
Jul 28 23:19:58 ultra ppp[288]: tun0: Timer: Select returns 1
Jul 28 23:19:58 ultra ppp[288]: tun0: DNS: DIALbound query IN AAAA
ntp.psn.ru.
Jul 28 23:19:58 ultra ppp[288]: tun0: Phase: bundle: Establish
Jul 28 23:19:58 ultra ppp[288]: tun0: Phase: deflink: closed -> opening
Jul 28 23:19:58 ultra ppp[288]: tun0: TCP/IP: OUT UDP: 172.16.0.1:63737
---> 213.85.31.229:53 (28/56)
Jul 28 23:19:58 ultra ppp[288]: tun0: DNS: OUTbound query IN AAAA
ntp.psn.ru.
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: m_enqueue: len = 1
Jul 28 23:19:58 ultra ppp[288]: tun0: Timer: tun: fdset(r) 9
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 4 = kldload("netgraph")
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 5 = kldload("ng_ether")
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 6 = kldload("ng_pppoe")
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 7 = kldload("ng_socket")
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 0 = NgMkSockNode("", &cs, &ds)
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: List of netgraph node
``sk0:'' (id 1) hooks:
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Creating PPPoE netgraph
node [1]:orphans -> ethernet
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Connecting netgraph socket
:tun0 -> sk0:orphans:tun0
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 6 = socket(2, 2, 0)
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 0 = ioctl(6, 3223349521,
0xbfbfddb0)
Jul 28 23:19:58 ultra ppp[288]: tun0: ID0: 0 = ioctl(6, 2149607696,
0xbfbfddb0)
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Found the following interfaces:
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Index 1, name "sk0"
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Index 2, name "fwe0"
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Index 3, name "plip0"
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Index 4, name "pflog0"
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Index 5, name "lo0"
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Index 6, name "tun0"
Jul 28 23:19:58 ultra ppp[288]: tun0: Timer: timer_Start: Inserting
physical throughput timer[0x80be068]
Jul 28 23:19:58 ultra ppp[288]: tun0: Phase: deflink: Connected!
Jul 28 23:19:58 ultra ppp[288]: tun0: Phase: deflink: opening -> dial
Jul 28 23:19:58 ultra ppp[288]: tun0: Chat: deflink: Dial attempt 1 of 1
Jul 28 23:19:58 ultra ppp[288]: tun0: Phase: deflink: dial -> carrier
Jul 28 23:19:58 ultra ppp[288]: tun0: Debug: Waiting for carrier
Jul 28 23:19:59 ultra ppp[288]: tun0: Timer: Select returns -1
Jul 28 23:19:59 ultra ppp[288]: tun0: Timer: ---- Begin of Timer Service
List---
Jul 28 23:19:59 ultra ppp[288]: tun0: Timer: physical throughput
timer[0x80be068]: freq = 1.00s, next = 0.00s, state = running
Jul 28 23:19:59 ultra ppp[288]: tun0: Timer: ---- End of Timer Service
List ---
Jul 28 23:19:59 ultra ppp[288]: tun0: Timer: timer_Start: Inserting
physical throughput timer[0x80be068]
Jul 28 23:19:59 ultra ppp[288]: tun0: Timer: tun: fdset(r) 9
Jul 28 23:19:59 ultra ppp[288]: tun0: Debug: Waiting for carrier
Jul 28 23:20:00 ultra ppp[288]: tun0: Timer: Select returns -1
Jul 28 23:20:00 ultra ppp[288]: tun0: Timer: ---- Begin of Timer Service
List---
Jul 28 23:20:00 ultra ppp[288]: tun0: Timer: physical throughput
timer[0x80be068]: freq = 1.00s, next = 0.00s, state = running
Jul 28 23:20:00 ultra ppp[288]: tun0: Timer: ---- End of Timer Service
List ---
Jul 28 23:20:00 ultra ppp[288]: tun0: Timer: timer_Start: Inserting
physical throughput timer[0x80be068]
Jul 28 23:20:00 ultra ppp[288]: tun0: Timer: tun: fdset(r) 9
Jul 28 23:20:00 ultra ppp[288]: tun0: Debug: Waiting for carrier
Jul 28 23:20:01 ultra ppp[288]: tun0: Timer: Select returns -1
Jul 28 23:20:01 ultra ppp[288]: tun0: Timer: ---- Begin of Timer Service
List---
Jul 28 23:20:01 ultra ppp[288]: tun0: Timer: physical throughput
timer[0x80be068]: freq = 1.00s, next = 0.00s, state = running
Jul 28 23:20:01 ultra ppp[288]: tun0: Timer: ---- End of Timer Service
List ---
Jul 28 23:20:01 ultra ppp[288]: tun0: Timer: timer_Start: Inserting
physical throughput timer[0x80be068]
Jul 28 23:20:01 ultra ppp[288]: tun0: Timer: tun: fdset(r) 9
Jul 28 23:20:01 ultra ppp[288]: tun0: Debug: Waiting for carrier
Jul 28 23:20:02 ultra ppp[288]: tun0: Timer: Select returns -1
Jul 28 23:20:02 ultra ppp[288]: tun0: Timer: ---- Begin of Timer Service
List---
Jul 28 23:20:02 ultra ppp[288]: tun0: Timer: physical throughput
timer[0x80be068]: freq = 1.00s, next = 0.00s, state = running
Jul 28 23:20:02 ultra ppp[288]: tun0: Timer: ---- End of Timer Service
List ---
Jul 28 23:20:02 ultra ppp[288]: tun0: Timer: timer_Start: Inserting
physical throughput timer[0x80be068]
Jul 28 23:20:02 ultra ppp[288]: tun0: Timer: tun: fdset(r) 9
Jul 28 23:20:02 ultra ppp[288]: tun0: Debug: Waiting for carrier
Jul 28 23:20:03 ultra ppp[288]: tun0: Timer: Select returns 1
Jul 28 23:20:03 ultra ppp[288]: tun0: TCP/IP: OUT UDP: 172.16.0.1:61436
---> 213.85.31.229:53 (28/56)
Jul 28 23:20:03 ultra ppp[288]: tun0: DNS: OUTbound query IN AAAA
ntp.psn.ru.
Jul 28 23:20:03 ultra ppp[288]: tun0: Debug: m_enqueue: len = 2
Jul 28 23:20:03 ultra ppp[288]: tun0: Timer: tun: fdset(r) 9
Jul 28 23:20:03 ultra ppp[288]: tun0: Phase: deflink: Disconnected!
Jul 28 23:20:03 ultra ppp[288]: tun0: Phase: deflink: carrier -> hangup
Jul 28 23:20:03 ultra ppp[288]: tun0: Debug: deflink: Close
Jul 28 23:20:03 ultra ppp[288]: tun0: Phase: deflink: Connect time: 5
secs: 0 octets in, 0 octets out
Jul 28 23:20:03 ultra ppp[288]: tun0: Phase: deflink: 0 packets in, 0
packets out
Jul 28 23:20:03 ultra ppp[288]: tun0: Phase: total 0 bytes/sec, peak 0
bytes/sec on Wed Jul 28 23:19:58 2004
Jul 28 23:20:03 ultra ppp[288]: tun0: Phase: deflink: hangup -> closed
Jul 28 23:20:03 ultra ppp[288]: tun0: Phase: bundle: Dead
--
Maxim Maximov
------------------------------
Message: 5
Date: Wed, 28 Jul 2004 21:15:15 +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: <200407282115.aa83026@salmon.maths.tcd.ie>
[Ntpd uses the first answer from getaddrinfo]
> If this were true, then pool.ntp.org would be totally and
> completely useless.
Regardless of the truth of this, pool.ntp.org would still be useful.
Ntpd calls getaddrinfo for each server directive and, as IPv4 responses
are not sorted by getaddrinfo, the response will probably be
round-robbined (or whatever your recursive name server does).
> If the initial connection attempt fails or times
> out, the next IP address in sequence should be used. However, I
> don't know how the switch-over from IPv6 to IPv4 works.
I'm fairly sure that this isn't the case. See the example at the
end of this mail where ntpd initially choses an IP that won't respond
(10.231.37.83) and over an hour later hasn't sent any bothered
switching to the IP that does respond (134.226.81.3). Then I restart
ntpd, it chooses the other IP and immediately gets a response. This
was with a ntp checkout from just befor 4.2.0.
> So far as I know, we're not doing anything unusual with regards
> to resolving IP addresses or switching from one advertised address to
> the next. If you've got IP stack problems, that's an issue we may
> not be able to help with.
Indeed.
David.
19:20:gonzo 6# cat /etc/ntp.test.conf
server testname.dwmalone.net
19:20:gonzo 7# dig a testname.dwmalone.net | grep ^testname
testname.dwmalone.net. 1H IN A 134.226.81.3
testname.dwmalone.net. 1H IN A 10.231.37.83
19:21:gonzo 8# /usr/local/bin/ntpd -c /etc/ntp.test.conf -p /var/run/ntpd.test
p
id -f /var/db/ntpd.drift
19:21:gonzo 9# /usr/local/bin/ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
10.231.37.83 .INIT. 16 u - 64 0 0.000 0.000 4000.00
19:28:gonzo 10# sleep 3600
20:29:gonzo 11# /usr/local/bin/ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
21:08:gonzo 12# killall ntpd
21:08:gonzo 13# /usr/local/bin/ntpd -c /etc/ntp.test.conf -p /var/run/ntpd.tes
t.pid -f /var/db/ntpd.drift
21:09:gonzo 14# /usr/local/bin/ntpq -pn
remote refid st t when poll reach delay offset jitt
er
==============================================================================
134.226.81.3 .GPS. 1 u 5 64 1 56.088 -113.72 0.002
------------------------------
Message: 6
Date: Wed, 28 Jul 2004 22:54:31 +0200
From: Brad Knowles <brad@stop.mail-abuse.org>
Subject: Re: Problems with ntp4.2 when names resolve to IPv6 addresses
To: FreeBSD-CURRENT Mailing List <freebsd-current@freebsd.org>
Message-ID: <p06002000bd2d9429e65e@[192.168.50.233]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
[Retransmitting from correct e-mail address. -Brad]
At 3:57 PM +0100 2004-07-28, David Malone wrote:
> 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".
If this were true, then pool.ntp.org would be totally and
completely useless. If the initial connection attempt fails or times
out, the next IP address in sequence should be used. However, I
don't know how the switch-over from IPv6 to IPv4 works.
Once ntpd has latched onto a particular number, it won't use any
others. Nor will it re-resolve the name into IP addresses, which
makes a DNS rotor like pool.ntp.org somewhat less useful.
What I'd like to see happen is to have ntpd latch onto all the
advertised IP addresses for a given server, and at least contact all
of them. If they really are different, then they should be used
separately -- kind of like the OpenNTPd "servers" directive.
> (The same problem exists with servers with multiple IPv4 addresses,
> some of which are unreachable, it's just less obvious...)
So far as I know, we're not doing anything unusual with regards
to resolving IP addresses or switching from one advertised address to
the next. If you've got IP stack problems, that's an issue we may
not be able to help with.
--
======================================================================
Brad Knowles, <brad@stop.mail-abuse.org>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
------------------------------
Message: 7
Date: Wed, 28 Jul 2004 23:23:32 +0200
From: Marius Strobl <marius@alchemy.franken.de>
Subject: -fformat-extensions (was: Re: build is broken after gcc
import)
To: kan@freebsd.org
Cc: Maxim Maximov <mcsi@mcsi.pp.ru>
Message-ID: <20040728232332.C57988@newtrinity.zeist.de>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 28, 2004 at 06:34:55PM +0200, Marius Strobl wrote:
> 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.
>
Ok, that patch misses the part for c-opts.c which is also needed to
recognize "-fformat-extensions". But I don't see how this option
is supposed to work, even before the GCC 3.4.2 import c-format.c
didn't use flag_format_extensions but seems to use these extensions
unconditionally.
------------------------------
Message: 8
Date: Thu, 29 Jul 2004 00:40:00 +0200
From: Michael Lestinsky <michael@lestinsky.de>
Subject: ipsec/racoon broken
To: freebsd-current@freebsd.org
Message-ID: <20040728224000.GA6887@zaphod.lestinsky.de>
Content-Type: text/plain; charset=us-ascii
Hi,
for some time now my IPsec connection over my wireless network doesn't
seem to work. I've enabled debugging in racoon (it's used on both ends
of the connection) and get this in the log:
2004-07-29 00:37:56: DEBUG: oakley.c:436:oakley_compute_keymat(): KEYMAT compu
ted.
2004-07-29 00:37:56: DEBUG: isakmp_quick.c:649:quick_i2send(): call pk_sendupd
ate
2004-07-29 00:37:56: DEBUG: algorithm.c:513:alg_ipsec_encdef(): encription(3de
s)
2004-07-29 00:37:56: DEBUG: algorithm.c:556:alg_ipsec_hmacdef(): hmac(hmac_sha
1)
2004-07-29 00:37:56: DEBUG: pfkey.c:1061:pk_sendupdate(): call pfkey_send_upda
te
2004-07-29 00:37:56: ERROR: pfkey.c:1076:pk_sendupdate(): libipsec failed send
update (No buffer space available)
2004-07-29 00:37:56: ERROR: isakmp_quick.c:651:quick_i2send(): pfkey update fa
iled.
2004-07-29 00:37:56: ERROR: isakmp.c:750:quick_main(): failed to process packe
t.
2004-07-29 00:37:56: ERROR: isakmp.c:541:isakmp_main(): phase2 negotiation fai
led.
Can someone help me here?
Thanks,
Michael
--
"Einige Hersteller verstehen sich gut auf Vermarktung und Vaporware -
andere Firmen liefern."
-- CNet
------------------------------
Message: 9
Date: Wed, 28 Jul 2004 21:00:13 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: ipsec/racoon broken
To: Michael Lestinsky <michael@lestinsky.de>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040728205816.31673A-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 29 Jul 2004, Michael Lestinsky wrote:
> for some time now my IPsec connection over my wireless network doesn't
> seem to work. I've enabled debugging in racoon (it's used on both ends
> of the connection) and get this in the log:
Could you try editing src/sys/net/raw_cb.h and editing RAWSNDQ and RAWRCVQ
to set both values to 32768? This probably won't fix it, but it might be
an easy way to see if we're looking at the size of a pfkey packet
exceeding the available socket buffer space.
Question: are you using KAME IPSEC or FAST_IPSEC?
Another thing to try: could you use ktrace to identify the system call and
arguments generating the ENOBUFS return value?
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
>
> 2004-07-29 00:37:56: DEBUG: oakley.c:436:oakley_compute_keymat(): KEYMAT com
puted.
> 2004-07-29 00:37:56: DEBUG: isakmp_quick.c:649:quick_i2send(): call pk_sendu
pdate
> 2004-07-29 00:37:56: DEBUG: algorithm.c:513:alg_ipsec_encdef(): encription(3
des)
> 2004-07-29 00:37:56: DEBUG: algorithm.c:556:alg_ipsec_hmacdef(): hmac(hmac_s
ha1)
> 2004-07-29 00:37:56: DEBUG: pfkey.c:1061:pk_sendupdate(): call pfkey_send_up
date
> 2004-07-29 00:37:56: ERROR: pfkey.c:1076:pk_sendupdate(): libipsec failed se
nd update (No buffer space available)
> 2004-07-29 00:37:56: ERROR: isakmp_quick.c:651:quick_i2send(): pfkey update
failed.
> 2004-07-29 00:37:56: ERROR: isakmp.c:750:quick_main(): failed to process pac
ket.
> 2004-07-29 00:37:56: ERROR: isakmp.c:541:isakmp_main(): phase2 negotiation f
ailed.
>
> Can someone help me here?
>
> Thanks,
> Michael
>
> --
> "Einige Hersteller verstehen sich gut auf Vermarktung und Vaporware -
> andere Firmen liefern."
> -- CNet
> _______________________________________________
> 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"
>
------------------------------
Message: 10
Date: Wed, 28 Jul 2004 21:33:52 -0400
From: Tim <tim-freebsd@picosat.org>
Subject: portalfs in -CURRENT?
To: freebsd-current@FreeBSD.org
Message-ID: <20040729013352.GA22005@istari.subastral.com>
Content-Type: text/plain; charset=us-ascii
It seems that portalfs is deprecated, but in favor of what, i'm
not sure. Can someone describe [perhaps privately] the state of
portalfs in -CURRENT and whether it is usable, as a basis for
an sshfs-like layer?
Thanks,
Tim
------------------------------
Message: 11
Date: Thu, 29 Jul 2004 02:19:19 +0000
From: Alexander Kabaev <kan@FreeBSD.ORG>
Subject: Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
To: Max Khon <fjoe@samodelkin.net>
Cc: current@FreeBSD.ORG
Message-ID: <20040729021919.GA47196@freefall.freebsd.org>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 27, 2004 at 05:20:21PM +0700, Max Khon wrote:
> Hi, Alexander!
>
> On Tue, Jul 27, 2004 at 02:18:20AM +0000, Alexander Kabaev wrote:
>
> > I am going to do an import of GCC 3.4.x snapshot in approximately
> > 24 hours. At this time I would like to request anyone planning any
> > sweeping changes in the tree to pospone them until new GCC is in.
> > The snapshot will be followed by GCC 3.4.2 release when it is available.
>
> Do you plan to enable HANDLE_PRAGMA_PACK_PUSH_POP feature?
>
> /fjoe
Is was too late in the game for me to enable it in this snapshot. I will
consider doing that in the next GCC update. I do not recall anyone ever
mentioning this feature to me before, let alone aking me to enable it.
--
Alexander Kabaev
------------------------------
Message: 12
Date: Thu, 29 Jul 2004 02:23:33 +0000
From: Alexander Kabaev <kan@freebsd.org>
Subject: Re: -fformat-extensions (was: Re: build is broken after gcc
import)
To: Marius Strobl <marius@alchemy.franken.de>
Cc: Maxim Maximov <mcsi@mcsi.pp.ru>
Message-ID: <20040729022333.GA47288@freefall.freebsd.org>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 28, 2004 at 11:23:32PM +0200, Marius Strobl wrote:
> On Wed, Jul 28, 2004 at 06:34:55PM +0200, Marius Strobl wrote:
> > 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.
> >
>
> Ok, that patch misses the part for c-opts.c which is also needed to
> recognize "-fformat-extensions". But I don't see how this option
> is supposed to work, even before the GCC 3.4.2 import c-format.c
> didn't use flag_format_extensions but seems to use these extensions
> unconditionally.
You are correct. This flag was not really doing anything for the most of
FreeBSD-5 lifetime. I will probably remove it altogether in 6.x.
I committed the fix for now.
--
Alexander Kabaev
------------------------------
Message: 13
Date: Thu, 29 Jul 2004 02:32:59 +0000
From: Alexander Kabaev <kan@FreeBSD.ORG>
Subject: Compiling FreeBSD with non-standard flags.
To: current@FreeBSD.ORG
Cc: Andrzej Tobo??a <ato@iem.pw.edu.pl>
Message-ID: <20040729023259.GA47439@freefall.freebsd.org>
Content-Type: text/plain; charset=us-ascii
Hello all,
> % make buildworld
> .....
> ===> libexec/atrun
> cc -O2 -fomit-frame-pointer -pipe -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"
/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -D
VERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -D
DEFAULT_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 -fomit-frame-pointer -pipe -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"
/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -D
VERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -D
DEFAULT_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 -fomit-frame-pointer -pipe -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"
/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -D
VERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -D
DEFAULT_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'
> ..........
>
There were a number of reports of buildworld breakage due to people using
non-default flags like -Os, -O2 and even -fomit-frame-pointer. While desire
to squeeze the very last drop of performance out of their systems is
understandable goal, you should understand, that you are on your own while
you are doing that, especially right after a major GCC version upgrade.
I will try to fix this particular breakage when other, more pressing issues
have been addressed.
--
Alexander Kabaev
------------------------------
Message: 14
Date: Thu, 29 Jul 2004 07:29:41 +0400
From: Maxim Maximov <mcsi@mcsi.pp.ru>
Subject: Re: A couple of SMP deadlock patches
To: current@freebsd.org
Message-ID: <41086F25.3070707@mcsi.pp.ru>
Content-Type: text/plain; charset=us-ascii; format=flowed
John Baldwin wrote:
> 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 wakin
g
> up to swap the process back in.
I'm sorry, but for me PREEMPTION defined in kernel with these patches is
still causing deadlocks. SMP, HTT enabled.
--
Maxim Maximov
------------------------------
Message: 15
Date: Thu, 29 Jul 2004 03:38:14 +0000
From: Bosko Milekic <bmilekic@FreeBSD.org>
Subject: Re: ipsec/racoon broken
To: freebsd-current@freebsd.org, Michael Lestinsky
<michael@lestinsky.de>
Message-ID: <20040729033814.GA56115@freefall.freebsd.org>
Content-Type: text/plain; charset=us-ascii
Someone sent me a bug report about this and I'll look
into it. I'll post with results when I get around to
it (by this weekend I hope).
For now, you can set MSIZE=512 in your kernel config to
work around it.
-Bosko
------------------------------
Message: 16
Date: Wed, 28 Jul 2004 20:51:07 -0700
From: John Kennedy <jk@jk.homeunix.net>
Subject: Re: ath driver and wg311t
To: freebsd-current@freebsd.org
Message-ID: <20040729035107.GA6635@memnoch.jk.homeunix.net>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 29, 2004 at 02:53:45AM +1000, Geoff Roberts wrote:
> > On Monday 26 July 2004 07:35 am, Geoff Roberts wrote:
> > > 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.
> >
> > 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.
>
> 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.
As a client, at least, I don't seem to be having any trouble with 11g.
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::209:5bff:fee8:14e1%ath0 prefixlen 64 scopeid 0x5
inet 192.168.0.201 netmask 0xffffff00 broadcast 192.168.0.255
ether zzzz
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
status: associated
ssid xxxx 1:yyyy
channel 11 authmode OPEN powersavemode OFF powersavesleep 100
wepmode MIXED weptxkey 1
wepkey 1:104-bit
[ifconfig -m ath0 | grep '11g$']
media OFDM/54Mbps mode 11g
media OFDM/48Mbps mode 11g
media OFDM/36Mbps mode 11g
media OFDM/24Mbps mode 11g
media OFDM/18Mbps mode 11g
media OFDM/12Mbps mode 11g
media OFDM/9Mbps mode 11g
media OFDM/6Mbps mode 11g
media DS/11Mbps mode 11g
media DS/5.5Mbps mode 11g
media DS/2Mbps mode 11g
media DS/1Mbps mode 11g
media autoselect mode 11g
I'm not seeing a 108Mbps mode available, but haven't got an AP to sync
with yet anyway.
Note that I'm a client, not an AP. FreeBSD 5.2.1-RELEASE-p9 #18.
[from dmesg]
ath0: <Atheros 5212> mem 0xf7010000-0xf701ffff irq 20 at device 8.0 on pci2
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
36Mbps 48Mbps 54Mbps
------------------------------
Message: 17
Date: Wed, 28 Jul 2004 23:57:04 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: A couple of SMP deadlock patches
To: Maxim Maximov <mcsi@mcsi.pp.ru>
Cc: current@freebsd.org
Message-ID: <20040729035704.GA1021@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 29, 2004 at 07:29:41AM +0400, Maxim Maximov wrote:
> John Baldwin wrote:
> >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.
>
> I'm sorry, but for me PREEMPTION defined in kernel with these patches is
> still causing deadlocks. SMP, HTT enabled.
These changes seem totally unrelated to my instability with PREEMPTION
(so I didn't try to enable it at all, but am running with these changes).
They should instead fix some issues Kris Kennaway has been seeing with
the ports cluster (but I have not tried to reproduce myself).
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green@FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
------------------------------
Message: 18
Date: Thu, 29 Jul 2004 14:45:32 +1000
From: frank brierley <frank@brierley.id.au>
Subject: build error
To: freebsd current <current@freebsd.org>
Message-ID: <410880EC.4040307@brierley.id.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
Experiencing a kernel build error.
The machine has just (last night) cvsuped from
*default release=cvs tag=RELENG_5_2
to
*default release=cvs tag=.
Firstly, is this the correct mail list to post this question?
Secondly, any thoughts as to what is going on? See snipped make output
below for buildkernel and buildworld
And thirdly, UPDATING has the following item
20040716: The sound device drivers are renamed. `sound' is always
required, while `snd_*' should be configured accordingly to your
hardware. Refer to NOTES for the detail of the drivers.
does this mean that the device pcm error is here to stay? Where might
the NOTES file be for a via VT8233 chip set?
make buildkernel produces this output. This is an unmolested GENERIC
kernel config file.
--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/GENERIC; 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/GENERIC.
*** Error code 1
Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
and make buildworld produces this.
--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/GENERIC; 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/GENERIC.
*** Error code 1
Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
------------------------------
Message: 19
Date: Wed, 28 Jul 2004 22:01:21 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: build error
To: frank brierley <frank@brierley.id.au>
Cc: freebsd current <current@freebsd.org>
Message-ID: <20040729050120.GA55033@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 29, 2004 at 02:45:32PM +1000, frank brierley wrote:
>
> Experiencing a kernel build error.
>
> The machine has just (last night) cvsuped from
>
> *default release=cvs tag=RELENG_5_2
Is there a RELENG_5_2 tag?
>
> to
>
> *default release=cvs tag=.
>
> Firstly, is this the correct mail list to post this question?
Yes.
>
> Secondly, any thoughts as to what is going on? See snipped make output
> below for buildkernel and buildworld
Subscribe to the freebsd-current and cvs-all mailing list.
--
Steve
------------------------------
Message: 20
Date: Wed, 28 Jul 2004 22:03:28 -0700
From: John Merryweather Cooper <john_m_cooper@yahoo.com>
Subject: Re: build error
To: freebsd-current@freebsd.org
Cc: frank brierley <frank@brierley.id.au>
Message-ID: <200407282203.37374.john_m_cooper@yahoo.com>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 28 July 2004 09:45 pm, frank brierley wrote:
> Hi,
>
> Experiencing a kernel build error.
>
> The machine has just (last night) cvsuped from
>
> *default release=cvs tag=RELENG_5_2
>
> to
>
> *default release=cvs tag=.
>
> Firstly, is this the correct mail list to post this question?
>
Yes.
> Secondly, any thoughts as to what is going on? See snipped make output
> below for buildkernel and buildworld
>
There's been a major import and merge of gcc 3.4.2. Things are a little
broken up in -CURRENT land at the moment.
> And thirdly, UPDATING has the following item
>
> 20040716: The sound device drivers are renamed. `sound' is always
> required, while `snd_*' should be configured accordingly to your
> hardware. Refer to NOTES for the detail of the drivers.
>
> does this mean that the device pcm error is here to stay? Where might
> the NOTES file be for a via VT8233 chip set?
>
I never heard it was going. The entry for the VT8233 is
device "snd_via8233"
> make buildkernel produces this output. This is an unmolested GENERIC
> kernel config file.
The compiler merge is still working on being ready for prime time. :)
jmc
>
> --------------------------------------------------------------
>
> >>> stage 3.1: making dependencies
>
> --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/GENERIC; 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
>
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> and make buildworld produces this.
>
> --------------------------------------------------------------
>
> >>> stage 3.1: making dependencies
>
> --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/GENERIC; 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
>
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> _______________________________________________
> 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"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFBCIUmvBSBfjNhsrIRAguuAKCYfDyOnsudAXTgCzazW8Vxo5cbgwCdHnX1
LV3iqJ/pkfZaYpk8o5yKFHo=
=MdpV
-----END PGP SIGNATURE-----
------------------------------
Message: 21
Date: Thu, 29 Jul 2004 15:33:55 +1000
From: John Birrell <jb@cimlogic.com.au>
Subject: Re: FreeBSD and wine mmap
To: Anish Mistry <mistry.7@osu.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <20040729053355.GG34260@freebsd3.cimlogic.com.au>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 27, 2004 at 05:30:59PM -0400, Anish Mistry wrote:
> Has there been any progress on changing the mmap so that wine will work with
> FreeBSD beyond May's version?
I didn't get a response to my mail to FreeBSD's Arch mailing list regarding th
is.
It's still on my list of things to do, but isn't a high priority for me at the
moment
given the other things I have to work on.
If you've got time to do a bit of kernel hacking, I can point you in the right
direction. 8-)
--
John Birrell
------------------------------
Message: 22
Date: Thu, 29 Jul 2004 08:30:46 +0200
From: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Subject: Re: Compiling FreeBSD with non-standard flags.
To: current@freebsd.org
Message-ID: <20040729063046.GA24516@stud.fit.vutbr.cz>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 29, 2004 at 02:32:59AM +0000, Alexander Kabaev wrote:
> Hello all,
>
> > % make buildworld
> > .....
> > ===> libexec/atrun
> > cc -O2 -fomit-frame-pointer -pipe -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 -fomit-frame-pointer -pipe -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 -fomit-frame-pointer -pipe -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_mut
ex_destroy_int'
> > /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `pthread_con
d_destroy_exp'
> > ..........
> >
>
> There were a number of reports of buildworld breakage due to people using
> non-default flags like -Os, -O2 and even -fomit-frame-pointer. While desire
> to squeeze the very last drop of performance out of their systems is
> understandable goal, you should understand, that you are on your own while
> you are doing that, especially right after a major GCC version upgrade.
>
> I will try to fix this particular breakage when other, more pressing issues
> have been addressed.
I was just reporting a bug... not ranting ;)
btw: -O2 is officially supported, isnt it? and tinderboxes also compiles with
-O2
anyway - thnx for great work in upgrading gcc!
roman
------------------------------
Message: 23
Date: Thu, 29 Jul 2004 10:39:33 +0200
From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: RFC: Alternate patch to have true new-style rc.d ports
scripts(without touching localpkg)
To: current@freebsd.org
Message-ID: <4108B7C5.5000802@fillmore-labs.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
I made an alternate patch to have true new-style rc.d scripts in
ports.
I'm especially interested in feedback from people who use some form
of diskless booting or remote mounted filesystems whether they see
any potential for conflicts.
Scripts in ${local_startup} are processed as follows:
- scripts ending in .sh are treated as old-style scripts, which means
they need to have it's executable bit set to be considered by localpkg
as before. Whether they partially use rc.subr features or not isn't
relevant. They are executed in lexicographical order like specified in
rc(8).
- scripts without any extension participate in a system wide rcorder(8).
To enable diskless booting and remote mounting they are not executed
before a configurable barrier script ${rclocal_barrier} is executed,
which is PORTS is this patch.
I'm not sure if we should filter out *all* scripts with extensions.
There might be a startup.app port we like to add, perhaps just a list of
values like `.old', `.sample' e.t.c. should be filtered out. OTOH this
is easily changeable, should the need arise.
Also we could set the default of rclocal_barrier to be `LOGIN' in case
we are not sure what the effects of starting ports early is. Users who
know their files systems are all local could even set rclocal_barrier to
be an earlier value. Perhaps the dummy `PORTS' target isn't needed at
all and simply using `SERVERS' will do the trick.
This patch could go into the tree independent of `fixing' any scripts,
since it does not break backwards compatibility. We can add the necessary
infrastructure to bsd.port.mk and begin to slowly migrate the ports to
extensionless startup scripts. New -CURRENTs can continue to use old or
already installed packages, while older systems will ignore the startup
scripts in packages build on newer systems. We could add stubs that are
only executed on older systems, but I'm not sure wheter this is worth
the effort.
The bsd.port.mk integration might be something like
RC_SCRIPTS= apache
which will install `apache' or `apache.sh' depending on OSVERSION. A
variable RC_SUFX is set that could be used in pkg-message or other
places when necessary.
Sourcing port scripts is not possible with this patch, which is a good
thing IMHO. Also some documentation needs to added to rc(8) before this
patch can go in.
-Oliver
Index: etc/rc
===================================================================
RCS file: /home/ncvs/src/etc/rc,v
retrieving revision 1.333
diff -u -u -r1.333 rc
--- etc/rc 24 Jul 2004 16:30:31 -0000 1.333
+++ etc/rc 28 Jul 2004 14:13:27 -0000
@@ -70,6 +70,44 @@
[ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] && skip="$skip -s nojail"
files=`rcorder -k ${os} ${skip} /etc/rc.d/* 2>/dev/null`
+# execute startup scripts up to rclocal_barrier (which is available after rcc
onf.sh)
+_rc_done=""
+for _rc_elem in ${files}; do
+ run_rc_script ${_rc_elem} ${_boot}
+ _rc_done="${_rc_done}${_rc_elem} "
+ if [ "/${_rc_elem##*/}" = "/${rclocal_barrier-}" ]; then
+ break
+ fi
+done
+
+# enough of the system is up to include local_startup in rcorder
+case ${local_startup} in
+[Nn][Oo] | '')
+ ;;
+*)
+ _rc_startup="/etc/rc.d/*"
+ for dir in ${local_startup}; do
+ [ -d "${dir}" ] || continue
+ for script in "${dir}"/*; do
+ case "${script##*/}" in
+ *.*) ;;
+ *) if [ -f "${script}" ]; then
+ _rc_startup="${_rc_startup} ${script}"
+ fi ;;
+ esac
+ done
+ done
+ files=`rcorder -k ${os} -s nostart ${_rc_startup} 2>/dev/null`
+esac
+
+# execute the remaining startup scripts, avoiding duplicates
+files=`echo "${_rc_done}<> ${files}" |
+ tr -s ' ' '\n' |
+ awk '
+ /^<>$/ {exec=1; next}
+ !exec {done[$0]=1; next}
+ !done[$0] {print}
+ '`
for _rc_elem in ${files}; do
run_rc_script ${_rc_elem} ${_boot}
done
Index: etc/rc.shutdown
===================================================================
RCS file: /home/ncvs/src/etc/rc.shutdown,v
retrieving revision 1.27
diff -u -u -r1.27 rc.shutdown
--- etc/rc.shutdown 26 Jun 2004 09:27:30 -0000 1.27
+++ etc/rc.shutdown 28 Jul 2004 11:51:47 -0000
@@ -82,7 +82,24 @@
# XXX - rcorder(8) with multiple -k switches works as a logical OR,
# so, we can't do this: rcorder -k shutdown -k FreeBSD.
#
-files=`eval grep -l \'^# KEYWORD:.*FreeBSD\' \`rcorder -k shutdown /etc/rc.d/
* 2>/dev/null\``
+_rc_startup="/etc/rc.d/*"
+case ${local_startup} in
+[Nn][Oo] | '')
+ ;;
+*)
+ for dir in ${local_startup}; do
+ [ -d "${dir}" ] || continue
+ for script in "${dir}"/*; do
+ case "${script##*/}" in
+ *.*) ;;
+ *) if [ -f "${script}" ]; then
+ _rc_startup="${_rc_startup} ${script}"
+ fi ;;
+ esac
+ done
+ done
+esac
+files=`eval grep -El \'^# KEYWORDS?:.*FreeBSD\' \`rcorder -k shutdown ${_rc_s
tartup} 2>/dev/null\``
for _rc_elem in `reverse_list $files`; do
debug "run_rc_script $_rc_elem faststop"
Index: etc/defaults/rc.conf
===================================================================
RCS file: /home/ncvs/src/etc/defaults/rc.conf,v
retrieving revision 1.212
diff -u -u -r1.212 rc.conf
--- etc/defaults/rc.conf 27 Jul 2004 00:28:16 -0000 1.212
+++ etc/defaults/rc.conf 28 Jul 2004 11:58:52 -0000
@@ -46,6 +46,7 @@
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs
..
script_name_sep=" " # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
+rclocal_barrier="PORTS" # Barrier for local_startup scripts to participate in
rcorder(8)
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
Index: etc/rc.d/Makefile
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/Makefile,v
retrieving revision 1.41
diff -u -u -r1.41 Makefile
--- etc/rc.d/Makefile 24 May 2004 14:17:19 -0000 1.41
+++ etc/rc.d/Makefile 28 Jul 2004 13:39:43 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.16 2001/01/14 15:37:22 minoura Exp $
# $FreeBSD: src/etc/rc.d/Makefile,v 1.41 2004/05/24 14:17:19 des Exp $
-FILES= DAEMON LOGIN NETWORKING SERVERS \
+FILES= DAEMON LOGIN NETWORKING PORTS SERVERS \
abi accounting addswap adjkerntz amd \
apm apmd archdep atm1 atm2 atm3 \
bgfsck bootparams \
Index: etc/rc.d/PORTS
===================================================================
RCS file: etc/rc.d/PORTS
diff -N etc/rc.d/PORTS
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ etc/rc.d/PORTS 28 Jul 2004 14:57:58 -0000
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: PORTS
+# REQUIRE: mountcritremote
+# BEFORE: SERVERS
+# KEYWORD: FreeBSD
+
+# This is a dummy dependency, marking earliest
+# moment ports can participate in rcorder(8)
------------------------------
Message: 24
Date: Thu, 29 Jul 2004 04:39:36 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on alpha/alpha
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<alpha@freebsd.org>
Message-ID: <20040729083936.7103C7303F@freebsd-current.sentex.ca>
TB --- 2004-07-29 08:00:00 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-29 08:00:00 - starting CURRENT tinderbox run for alpha/alpha
TB --- 2004-07-29 08:00:00 - checking out the source tree
TB --- 2004-07-29 08:00:00 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha
TB --- 2004-07-29 08:00:00 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-07-29 08:05:13 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-29 08:05:13 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/sr
c
TB --- 2004-07-29 08:05:13 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_getspecific_ex
p'
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_signal_in
t'
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_once_exp'
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_init_exp'
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_mutex_lock_int
'
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_rwlock_init_in
t'
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `_pthread_cond_destroy'
/home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/
alpha/src/i386/usr/lib/libc.so: undefined reference to `_pthread_once'
*** Error code 1
Stop in /tinderbox/CURRENT/alpha/alpha/src/libexec/atrun.
*** Error code 1
Stop in /tinderbox/CURRENT/alpha/alpha/src/libexec.
*** Error code 1
Stop in /tinderbox/CURRENT/alpha/alpha/src.
*** Error code 1
Stop in /tinderbox/CURRENT/alpha/alpha/src.
*** Error code 1
Stop in /tinderbox/CURRENT/alpha/alpha/src.
TB --- 2004-07-29 08:39:36 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-29 08:39:36 - ERROR: failed to build world
TB --- 2004-07-29 08:39:36 - tinderbox aborted
------------------------------
Message: 25
Date: Thu, 29 Jul 2004 10:46:33 +0200
From: des@des.no (Dag-Erling Sm?rgrav)
Subject: Re: [current tinderbox] failure on alpha/alpha
To: <current@freebsd.org>
Message-ID: <xzpbrhzgpzq.fsf@dwp.des.no>
Content-Type: text/plain; charset=iso-8859-1
FreeBSD Tinderbox <tinderbox@freebsd.org> writes:
>>>> stage 4.4: building everything
> [...]
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_getspecific_
exp'
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_signal_
int'
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_once_exp'
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_init_ex
p'
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_mutex_lock_i
nt'
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `pthread_rwlock_init_
int'
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `_pthread_cond_destro
y'
> /home/tinderbox/sandbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alph
a/alpha/src/i386/usr/lib/libc.so: undefined reference to `_pthread_once'
> *** Error code 1
I get this on i386 as well:
===> libexec/atrun
cc -O2 -pipe -march=pentium4 -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 -g -c /usr/src/libexec/atrun/atrun.c
cc -O2 -pipe -march=pentium4 -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 -g -c /usr/src/libexec/atrun/gloadavg.c
cc -O2 -pipe -march=pentium4 -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 -g -o atrun atrun.o gloadavg.o
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `pthread_mutex_d
estroy_int'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_de
stroy_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `pthread_mutex_t
rylock_exp'
/usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `pthread_key_cre
ate_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'
[...]
note that atrun is the very first program built in stage 4.4, and
hence the very first program to be linked against the newly built
(non-bootstrap) libc.
DES
--
Dag-Erling Sm�rgrav - des@des.no
------------------------------
Message: 26
Date: Thu, 29 Jul 2004 11:09:29 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: ipsec/racoon broken
To: Michael Lestinsky <michael@lestinsky.de>
Cc: freebsd-current@freebsd.org
Message-ID: <20040729090928.GC92949@eddie.nitro.dk>
Content-Type: text/plain; charset="us-ascii"
On 2004.07.29 00:40:00 +0200, Michael Lestinsky wrote:
> for some time now my IPsec connection over my wireless network doesn't
> seem to work. I've enabled debugging in racoon (it's used on both ends
> of the connection) and get this in the log:
>
> 2004-07-29 00:37:56: DEBUG: oakley.c:436:oakley_compute_keymat(): KEYMAT com
puted.
> 2004-07-29 00:37:56: DEBUG: isakmp_quick.c:649:quick_i2send(): call pk_sendu
pdate
> 2004-07-29 00:37:56: DEBUG: algorithm.c:513:alg_ipsec_encdef(): encription(3
des)
> 2004-07-29 00:37:56: DEBUG: algorithm.c:556:alg_ipsec_hmacdef(): hmac(hmac_s
ha1)
> 2004-07-29 00:37:56: DEBUG: pfkey.c:1061:pk_sendupdate(): call pfkey_send_up
date
> 2004-07-29 00:37:56: ERROR: pfkey.c:1076:pk_sendupdate(): libipsec failed se
nd update (No buffer space available)
The line above is the problem...
> 2004-07-29 00:37:56: ERROR: isakmp_quick.c:651:quick_i2send(): pfkey update
failed.
> 2004-07-29 00:37:56: ERROR: isakmp.c:750:quick_main(): failed to process pac
ket.
> 2004-07-29 00:37:56: ERROR: isakmp.c:541:isakmp_main(): phase2 negotiation f
ailed.
>
> Can someone help me here?
The problem is related to the mbuma change.. A workaround I got from
Christian Brueffer is to add
options MSIZE=512 # mbuf size in bytes
to your kernel configuration file. Bosko Milekic (mbuma author) is
aware of the problem, but I don't think he has found the problem (or if
it's even a mbuma bug and not a racoon bug that was just exposed by
mbuma).
--
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040729/
33a41548/attachment-0001.bin
------------------------------
Message: 27
Date: Thu, 29 Jul 2004 05:19:55 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on amd64/amd64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<amd64@freebsd.org>
Message-ID: <20040729091955.BC5EF7303F@freebsd-current.sentex.ca>
TB --- 2004-07-29 08:39:36 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-29 08:39:36 - starting CURRENT tinderbox run for amd64/amd64
TB --- 2004-07-29 08:39:36 - checking out the source tree
TB --- 2004-07-29 08:39:36 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64
TB --- 2004-07-29 08:39:36 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-07-29 08:45:06 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-29 08:45:06 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/sr
c
TB --- 2004-07-29 08:45:06 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_signal_in
t'
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `pthread_once_exp'
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_init_exp'
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `pthread_mutex_lock_int
'
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `pthread_rwlock_init_in
t'
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `_pthread_cond_destroy'
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `_mcount'
/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/
amd64/src/i386/usr/lib/libc.so: undefined reference to `_pthread_once'
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/src/libexec/atrun.
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/src/libexec.
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/src.
TB --- 2004-07-29 09:19:55 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-29 09:19:55 - ERROR: failed to build world
TB --- 2004-07-29 09:19:55 - tinderbox aborted
------------------------------
Message: 28
Date: Thu, 29 Jul 2004 11:20:19 +0200
From: Alex Dupre <ale@FreeBSD.org>
Subject: Kernel build error
To: current@FreeBSD.org
Message-ID: <4108C153.7080602@FreeBSD.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/ARMADA; MAKEOBJDIRPREFIX=/usr/obj
MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=p3
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
make KERNEL=kernel depend -DNO_MODULES_OBJ
rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
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 -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: invalid parameter `inline-unit-growth'
cc1: error: invalid parameter `large-function-growth'
*** Error code 1
--
Alex Dupre
------------------------------
Message: 29
Date: Thu, 29 Jul 2004 12:22:09 +0300
From: Danny Braniss <danny@cs.huji.ac.il>
Subject: malloc in the slow lane
To: freebsd current <current@freebsd.org>
Message-ID: <20040729092235.5F3B143D66@mx1.FreeBSD.org>
Content-Type: text/plain; charset=us-ascii
hi,
just came across a 'anomality'. The kernel is -current,
the same program, compiled under -stable, runs 'fast', while
the compiled under -current, is slowwwwwwwwwwww.
According to the UPDATING note, this is supposed to be expected, but
can't find a fix.
some data:
i386-freebsd5.2/memsize:
libm.so.2 => /lib/libm.so.2 (0x48077000)
libc.so.5 => /lib/libc.so.5 (0x48090000)
i386-freebsd4.9/memsize:
libm.so.2 => /lib/libm.so.2 (0x48078000)
libc.so.4 => /usr/lib/compat/libc.so.4 (0x48091000)
time i386-freebsd5.2/memsize 32
0.548u 1.073s 0:01.62 99.3% 25+33211k 0+0io 0pf+0w
time i386-freebsd4.9/memsize 32
0.009u 0.062s 0:00.07 85.7% 32+43957k 0+0io 0pf+0w
any insights?
danny
------------------------------
Message: 30
Date: Thu, 29 Jul 2004 11:35:28 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: malloc in the slow lane
To: Danny Braniss <danny@cs.huji.ac.il>
Cc: freebsd current <current@freebsd.org>
Message-ID: <20040729093527.GD92949@eddie.nitro.dk>
Content-Type: text/plain; charset="us-ascii"
On 2004.07.29 12:22:09 +0300, Danny Braniss wrote:
> hi,
> just came across a 'anomality'. The kernel is -current,
> the same program, compiled under -stable, runs 'fast', while
> the compiled under -current, is slowwwwwwwwwwww.
malloc in -CURRENT has some debug flags enabled by default (can't
remember which). See malloc(3) on how to disable the debug flags.
--
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040729/
615211d1/attachment.bin
------------------------------
_______________________________________________
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 11
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[37m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m