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. [current tinderbox] failure on i386/pc98 (FreeBSD Tinderbox)
2. Re: vfs.usermount not working anymore on SMB shares?
(Rudolf Cejka)
3. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
4. Re: fetch hangs on 6/24/04 current build (Conrad J. Sabatier)
5. Re: sysctl lock, system lockup (Vladimir Grebenschikov)
6. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
7. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
8. Re: sysctl lock, system lockup (Brian Fundakowski Feldman)
9. Re: Re: HEADS UP: SACK committed to HEAD (Daniel Lang)
10. Re: Re: HEADS UP: SACK committed to HEAD (Robert Watson)
11. Re: fetch hangs on 6/24/04 current build (Robert Watson)
12. Re: fetch hangs on 6/24/04 current build (Conrad J. Sabatier)
13. builworld failure on current i386 (Ilker OZUPAK)
14. Re: Project Evil - RTSThreshold (Sahil R Cooner)
15. Re: HEADS UP: SACK committed to HEAD (Kevin Oberman)
16. Re: [current tinderbox] failure on i386/i386 (Liam J. Foy)
17. Re: STI, HLT in acpi_cpu_idle_c1 (John Baldwin)
18. CVSup Deltas (Roman Kurakin)
19. Re: CVSup Deltas (Maxim Konovalov)
----------------------------------------------------------------------
Message: 1
Date: Fri, 25 Jun 2004 08:04:27 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/pc98
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<i386@freebsd.org>
Message-ID: <20040625120427.B34887303F@freebsd-current.sentex.ca>
TB --- 2004-06-25 10:45:02 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-25 10:45:02 - starting CURRENT tinderbox run for i386/pc98
TB --- 2004-06-25 10:45:02 - checking out the source tree
TB --- 2004-06-25 10:45:02 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98
TB --- 2004-06-25 10:45:02 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-06-25 10:49:51 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-25 10:49:51 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-06-25 10:49:51 - /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
TB --- 2004-06-25 11:46:11 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-06-25 11:46:11 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-06-25 11:46:11 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Fri Jun 25 11:46:12 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for GENERIC completed on Fri Jun 25 11:59:30 UTC 2004
TB --- 2004-06-25 11:59:30 - generating LINT kernel config
TB --- 2004-06-25 11:59:30 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src/
sys/pc98/conf
TB --- 2004-06-25 11:59:30 - /usr/bin/make -B LINT
TB --- 2004-06-25 11:59:30 - building LINT kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-06-25 11:59:30 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-06-25 11:59:30 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Fri Jun 25 11:59:31 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/dev/sound/pcm/fake.c
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/dev/sound/pcm/feeder.c
awk -f /tinderbox/CURRENT/i386/pc98/src/sys/tools/makeobjops.awk /tinderbox/CU
RRENT/i386/pc98/src/sys/dev/sound/pcm/feeder_if.m -c ; cc -c -O2 -pipe -fno-s
trict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions
-std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/pc98/src/sys -I/tinder
box/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/pc9
8/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/ipfilter
-I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/p
c98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev
/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/ngatm -D_KERNEL -i
nclude opt_global.h -fno-common -finline-limit=8000 -DGPROF -falign-functions=
16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-bo
undary=2 -ffreestanding -Werror -finstrument-functions
feeder_if.c
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/dev/sound/pcm/feeder_fmt.c
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/dev/sound/pcm/feeder_rate.c
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/dev/sound/pcm/mixer.c
/tinderbox/CURRENT/i386/pc98/src/sys/dev/sound/pcm/mixer.c: In function `mixer
_init':
/tinderbox/CURRENT/i386/pc98/src/sys/dev/sound/pcm/mixer.c:192: warning: `v' m
ight be used uninitialized in this function
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/
sys/LINT.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src.
TB --- 2004-06-25 12:04:27 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-06-25 12:04:27 - ERROR: failed to build lint kernel
TB --- 2004-06-25 12:04:27 - tinderbox aborted
------------------------------
Message: 2
Date: Fri, 25 Jun 2004 14:15:30 +0200
From: Rudolf Cejka <cejkar@fit.vutbr.cz>
Subject: Re: vfs.usermount not working anymore on SMB shares?
To: Simon Barner <barner@in.tum.de>
Cc: Boris Popov <bp@vertex.kz>
Message-ID: <20040625121530.GA30484@fit.vutbr.cz>
Content-Type: text/plain; charset=us-ascii
Simon Barner wrote (2004/06/25):
> > The simplest solution is to preload all necessary conversion
> > tables via creating some mount points as root. iconv interface will reuse
> > them for all subsequent user mounts.
> > The more proper solution will be an userland utility which can
> > preload tables at boot time.
>
> And an accompanying rc.conf hook, like iconv_preload=...
>
> I like that idea a lot, and I'll see that I'll get it implemented
> soon[tm].
You can see http://www.ryu16.org/FreeBSD/kiconv/ - there is something
already and I use it successfully for long time. Unfortunately, it is
not in src and nor in ports yet.
I had plans to ask R. Imura about iconv kernel implementation, because
it seems to me that it has off-by-one bugs and it looks very insecure,
because root can unwittingly overwrite kernel memory, but it seems to
me that he is doing different things now. I have in my todo list,
that /usr/src/lib/libkiconv/xlat16_sysctl.c
if (strlen(from) > ICONV_CSNMAXLEN || strlen(to) > ICONV_CSNMAXLEN)
should be
if (strlen(from) >= ICONV_CSNMAXLEN || strlen(to) >= ICONV_CSNMAXLEN)
and there is no length checking of from and to fields in
/usr/src/sys/libkern/iconv.c, when table is added, however I did not
check it more carefully yet (and it is falling lower and lower in
my todo list :o(.
--
Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66 Brno, Czech Republic
------------------------------
Message: 3
Date: Fri, 25 Jun 2004 08:16:58 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on ia64/ia64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<ia64@freebsd.org>
Message-ID: <20040625121658.519A37303F@freebsd-current.sentex.ca>
TB --- 2004-06-25 12:04:28 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-25 12:04:28 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-06-25 12:04:28 - checking out the source tree
TB --- 2004-06-25 12:04:28 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-06-25 12:04:28 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-06-25 12:08:57 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-25 12:08:57 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src
TB --- 2004-06-25 12:08:57 - /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
[...]
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_Ticket.c -o asn1_Ticket.So
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_TicketFlags.c -o asn1_TicketFlags.So
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_TransitedEncoding.c -o asn1_TransitedEncoding.So
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_UNSIGNED.c -o asn1_UNSIGNED.So
building shared library libasn1.so.7
cc: Internal error: Bus error (program ld)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
TB --- 2004-06-25 12:16:58 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-06-25 12:16:58 - ERROR: failed to build world
TB --- 2004-06-25 12:16:58 - tinderbox aborted
------------------------------
Message: 4
Date: Fri, 25 Jun 2004 07:18:21 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: fetch hangs on 6/24/04 current build
To: Jon Noack <noackjr@alumni.rice.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <XFMail.20040625071821.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii
On 25-Jun-2004 Jon Noack wrote:
> On 06/24/04 23:09, Conrad J. Sabatier wrote:
>> I just upgraded both of my machines today, and since then, I'm
>> getting lots of hangs during port fetches. I don't know if this
>> is just a local problem, or a problem with my ISP's routing, or what.
>>
>> Any recommendations on how to diagnose what's going on here?
>
> This happened to me a week or so ago -- the workaround for me was to
> not set the FTP_PROXY and HTTP_PROXY environment variables. When I
> tried to use a proxy, it hung; without, everything worked fine. By
> the way, wget worked fine even with the proxy, so it was just fetch
> that was misbehaving. Note that I was just starting to define those
> variables when I noticed the problem; I can't say from experience
> that fetch ever worked properly with a proxy...
OK, well, that's one thing we can rule out, since I'm not using a
proxy, neither local nor remote. :-)
I tried switching to wget, using "FETCH_CMD=wget -v -c" in
/etc/make.conf, and got the most bizarre behavior, something I've never
seen before. wget would fail each time, complaining about "invalid
option --". Very strange.
> If you're not using a proxy, there was a recent commit to fetch that
> could have broken things for you:
> http://lists.freebsd.org/pipermail/cvs-src/2004-June/026022.html
>
> This just changed the behavior of -S (checking the size); do you see
> a "size unknown" error message before the hang? In any case, you
> could try to back out rev. 1.68 and recompile fetch.
It's not that, either. Tried it with and without the above patch.
Same deal.
> Speculation:
> There's a lot going on in networking right now. ipf 3.4.35 landed
> recently -- this could be related to that. As I don't use ipf I'm
> not sure of a workaround.
That's a definite possibility. ipf *was* even causing kernel panics at
boot, until Giorgos Keramidas provided a patch.
> Gross speculation at this point:
> Something else you could try is disabling SACK (it just landed a
> couple days ago). To do that just 'sysctl net.inet.tcp.sack.enable=0'
> and try again. However, the SACK implementation came from Yahoo. I
> would bet it's been tested fairly well and doubt that it is to
> blame...
Hey, ya never know, right? :-) At this point, I'm willing to try just
about anything.
> I'm sure someone else more knowledgeable can provide better answers.
> These are just my (hopefully not humorously) ignorant guesses.
Yet another possibility: my ISP (Cox Communications). Late last night,
my digital cable TV went out completely. I'm guessing they were doing
some major upgrades somewhere. Perhaps it was related to that. The
TV's back on this morning, and I notice a few channels that I *was*
having trouble with (picture/sound breaking up, getting all "blocky")
are looking good now, so it's not entirely out of the question that it
had nothing to do with FreeBSD at all. I'll have to try some ports and
see how it goes.
Still, I have no idea why wget acted so weird; it's never done that
before.
I should mention I'm running amd64 here, gatewayed through an i386
(Athlon) box.
Thanks for the feedback; appreciate it.
--
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
------------------------------
Message: 5
Date: Fri, 25 Jun 2004 11:57:16 +0000
From: Vladimir Grebenschikov <vova@fbsd.ru>
Subject: Re: sysctl lock, system lockup
To: Tim Robbins <tim@robbins.dropbear.id.au>
Cc: "'current@freebsd.org'" <current@freebsd.org>
Message-ID: <1088164637.895.9.camel@localhost>
Content-Type: text/plain
On Mon, 2004-05-31 at 14:22 +1000, Tim Robbins wrote:
> I'm not sure where to go from here. A deadlock doesn't seem likely, but
> it's possible that background fsck could lock up the system for quite
> some time by using this sysctl. How long did you wait before dropping to
> ddb (approximately)?
Not sure, probably my problem is related or same (I have posted the
message to current@ before):
--
About 3-5 time per day recent current lockup on my notebook.
Symptoms:
system responsive, not locked processes works, I can switch X to sc0
and back.
processes locked on 'sysctl lock' (see below)
allways there is one process sleeping on allproc
usually it is related with high activity (this case evolution gets bunch
of night mail and pass it through spam-assassin)
I do not know why proc 1037 have such strange backtrace but suspect that
evolution was forked before exec spamc (or like).
proc 658 was created after lock (I switched on free console and type
login) - login was executed but even does not ask password.
May be it is same issue as reported there about lockup of top and ps.
Unfortunately there was no comconsole, so I have retype most important
info:
db> ps
1037 ... 0000000 new [INACTIVE] evolution-1.5
..
790 ... 008c001 stop(threaded) evolution-1.5
thread ... [SUSP]
thread ... [SLPQ spltwt ...][SLP]
thread ... [SUSP]
thread ... [SLPQ select ...][SLP][SUSP]
thread ... [SUSP]
781 ... 0004001 [SLPQ sysctl lock ...][SLP] wireless-applet
..
731 ... 0004000 [SLPQ sysctl lock ...][SLP] metacity
..
477 ... 0000000 [SLPQ allproc ...][SLP] cron
..
658 ... 0004002 [SLPQ sysctl lock ...][SLP] login
..
db> tr 1037
sched_switch(0,...)
(null)(1,..) at 0
_end(1,...)
_end(1,...)
.. a lot of _end(), different args on stack
_end(1,...)
_end() at ...
db> tr 781
sched_switch()
mi_switch()
sleepq_switch()
sleepq_wait()
cv_wait()
_sx_xlock()
userland_sysctl()
__syscall()
..
db> tr 731
sched_switch()
mi_switch()
sleepq_switch()
sleepq_wait()
cv_wait()
_sx_xlock()
userland_sysctl()
__syscall()
..
db> tr 477
sched_switch()
mi_switch()
sleepq_switch()
sleepq_wait()
cv_wait()
_sx_xlock()
fork1()
fork()
syscall()
..
db> tr 658
sched_switch()
mi_switch()
sleepq_switch()
sleepq_wait()
cv_wait()
_sx_xlock()
userland_sysctl()
__syscall()
..
Once again, with serial console this time.
Symptoms are the same.
Processes locket on 'sysctl lock' and 'allproc'.
DDB output:
db> c
Debugger("manual escape to debugger")
Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0
db> ps
pid proc uarea uid ppid pgrp flag stat wmesg wchan
cmd
2420 c296cdc0 cc929000 207 829 757 0000000 new [INACTIVE]
evolution-1.5
2394 c29fb370 cc94d000 207 820 820 0006002 [SLPQ allproc
0xc0693cac][SLP] sleep
2372 c296c6e0 cc925000 207 2371 2357 0004000 [SLPQ select
0xc0698144][SLP] ssh
2371 c2962c08 cc8d7000 207 2359 2357 0004000 [SLPQ sbwait
0xc29bc51c][SLP] vzcpcon
2370 c296c1b8 cc8da000 207 2369 2357 0004000 [SLPQ select
0xc0698144][SLP] ssh
2369 c2962a50 cc8d6000 207 2360 2357 0004000 [SLPQ sbwait
0xc29bc7ec][SLP] vzcpcon
2368 c2962370 cc8d2000 207 2357 2357 0000100 [SLPQ lockf 0xc29ddcc0]
[SLP] httpd
2367 c285a6e0 cc81f000 207 2357 2357 0000100 [SLPQ lockf 0xc29dd840]
[SLP] httpd
2366 c2939a50 cc890000 207 2357 2357 0000100 [SLPQ lockf 0xc29e1c00]
[SLP] httpd
2365 c2939370 cc88c000 207 2363 2357 0004000 [SLPQ select
0xc0698144][SLP] ssh
2364 c2939898 cc88f000 207 2357 2357 0000100 [SLPQ select
0xc0698144][SLP] httpd
2363 c285a898 cc820000 207 2361 2357 0004000 [SLPQ sbwait
0xc29bbc9c][SLP] vzcpcon
2362 c2939dc0 cc892000 207 2357 2357 0000100 [SLPQ lockf 0xc29e4dc0]
[SLP] httpd
2361 c29391b8 cc887000 207 2357 2357 0000100 [SLPQ lockf 0xc29e0580]
[SLP] httpd
2360 c29621b8 cc8d1000 207 2357 2357 0000100 [SLPQ lockf 0xc29e12c0]
[SLP] httpd
2359 c2939c08 cc891000 207 2357 2357 0000100 [SLPQ lockf 0xc29e47c0]
[SLP] httpd
2358 c296c528 cc924000 207 2357 2357 0000100 [SLPQ lockf 0xc29dd9c0]
[SLP] httpd
2357 c2357898 cc7a6000 0 1 2357 0000000 [SLPQ select
0xc0698144][SLP] httpd
2351 c2962000 cc8d0000 0 2343 2351 0004002 [SLPQ ttyin 0xc2882a40]
[SLP] tcsh
2349 c23596e0 cc7d2000 207 2340 2349 0004002 [SLPQ select
0xc0698144][SLP] gnuserv
2343 c285ac08 cc822000 207 2342 2343 0004002 [SLPQ pause 0xc281f000]
[SLP] tcsh
2342 c296c370 cc923000 207 1 757 0004100 [SLPQ select
0xc0698144][SLP] xterm
2340 c2962dc0 cc8d8000 207 2338 2338 0004002 [SLPQ select
0xc0698144][SLP] xemacs-21.5-b15
2338 c285a1b8 cc81c000 207 2335 2338 0004002 [SLPQ wait 0xc285a1b8]
[SLP] sh
2335 c2858dc0 cc7f6000 207 2334 2335 0004002 [SLPQ ttyin 0xc296a240]
[SLP] tcsh
2334 c296c000 cc8d9000 207 1 757 0004100 [SLPQ select
0xc0698144][SLP] xterm
1826 c285adc0 cc823000 207 1772 757 0000000 [SLPQ allproc
0xc0693cac][SLP] opera
1777 c29626e0 cc8d4000 207 1776 757 0004001 [SLPQ select
0xc0698144][SLP] sim
1776 c2962528 cc8d3000 207 1 757 0004000 [SLPQ pause 0xc29a5000]
[SLP] tcsh
1772 c296c898 cc926000 207 1 757 0004001 [SLPQ pause 0xc27c9000]
[SLP] opera
854 c285a370 cc81d000 207 1 854 0000000 [SLPQ select
0xc0698144][SLP] perl
839 c2939528 cc88d000 207 829 757 0004100 [SLPQ select
0xc0698144][SLP] camel-lock-helper
838 c29396e0 cc88e000 207 1 723 000c001 (threaded) evolution-
alarm-not
thread 0xc2985690 ksegrp 0xc2358c00 [SLPQ kserel 0xc2358c5c][SLP]
thread 0xc235a930 ksegrp 0xc2358c00 [SLPQ select 0xc0698144][SLP]
thread 0xc28e6bd0 ksegrp 0xc2358c00 [SLPQ select 0xc0698144][SLP]
thread 0xc224e7e0 ksegrp 0xc2358900 [SLPQ ksesigwait 0xc29397e0][SLP]
833 c28586e0 cc7f2000 207 1 723 000c001 (threaded) evolution-
data-serv
thread 0xc295a7e0 ksegrp 0xc212c600 [SLPQ kserel 0xc212c65c][SLP]
thread 0xc295a150 ksegrp 0xc212c600 [SLPQ select 0xc0698144][SLP]
thread 0xc28e6000 ksegrp 0xc212c600 [SLPQ select 0xc0698144][SLP]
thread 0xc28e6150 ksegrp 0xc2358980 [SLPQ ksesigwait 0xc28587e0][SLP]
829 c285aa50 cc821000 207 1 757 008c001 stop(threaded)
evolution-1.5
thread 0xc295ae70 ksegrp 0xc285f180 [SUSP]
thread 0xc28e6d20 ksegrp 0xc285f180 [SLPQ spltwt 0xc0e87678][SLP]
thread 0xc29fd540 ksegrp 0xc285f180 [SUSP]
thread 0xc28e67e0 ksegrp 0xc285f180 [SLPQ select 0xc0698144][SLP]
[SUSP]
thread 0xc295aa80 ksegrp 0xc2358880 [SUSP]
820 c2939000 cc82b000 207 802 820 0004002 [SLPQ wait 0xc2939000]
[SLP] sh
802 c2357a50 cc7a7000 207 801 802 0004002 [SLPQ pause 0xc2326000]
[SLP] tcsh
801 c2359528 cc7d1000 207 1 757 0004100 [SLPQ select
0xc0698144][SLP] xterm
799 c218fdc0 cbba2000 207 1 723 0004001 [SLPQ select
0xc0698144][SLP] notification-area-a
797 c2858370 cc7f0000 207 1 723 0004001 [SLPQ select
0xc0698144][SLP] clock-applet
795 c2858528 cc7f1000 207 1 723 0004001 [SLPQ select
0xc0698144][SLP] mixer_applet2
793 c28581b8 cc7ef000 207 1 723 0004001 [SLPQ select
0xc0698144][SLP] wnck-applet
789 c2357c08 cc7a8000 207 1 759 0004000 [SLPQ select
0xc0698144][SLP] mapping-daemon
771 c2359dc0 cc7d6000 207 1 723 000c001 (threaded) gnome-vfs-
daemon
thread 0xc2985930 ksegrp 0xc212c880 [SLPQ kserel 0xc212c8dc][SLP]
thread 0xc29fd150 ksegrp 0xc212c880 [SLPQ select 0xc0698144][SLP]
thread 0xc224ee70 ksegrp 0xc212c880 [SLPQ select 0xc0698144][SLP]
thread 0xc235ad20 ksegrp 0xc2358f00 [SLPQ ksesigwait 0xc2359ec0][SLP]
767 c2359a50 cc7d4000 207 1 767 000c101 (threaded) gkrellm
thread 0xc29fd690 ksegrp 0xc212c980 [SLPQ kserel 0xc212c9dc][SLP]
thread 0xc29fdd20 ksegrp 0xc212c980 [SLPQ thrd_sleep 0xc2510b4c][SLP]
thread 0xc235ae70 ksegrp 0xc2358e80 [SLPQ ksesigwait 0xc2359b50][SLP]
759 c2858000 cc7ea000 207 1 759 000c001 (threaded) nautilus
thread 0xc29fd000 ksegrp 0xc212c800 [SLPQ kserel 0xc212c85c][SLP]
thread 0xc28e53f0 ksegrp 0xc212c800 [SLPQ select 0xc0698144][SLP]
thread 0xc28e5d20 ksegrp 0xc212c800 [SLPQ select 0xc0698144][SLP]
thread 0xc285b000 ksegrp 0xc285f000 [SLPQ ksesigwait 0xc2858100][SLP]
757 c2858a50 cc7f4000 207 1 757 0004001 [SLPQ select
0xc0698144][SLP] gnome-panel
755 c224ca50 cc784000 207 1 755 0004000 [SLPQ sysctl lock
0xc069466c][SLP] metacity
740 c2359c08 cc7d5000 207 1 723 0004100 [SLPQ select
0xc0698144][SLP] xscreensaver
727 c2858898 cc7f3000 207 1 723 0004001 [SLPQ select
0xc0698144][SLP] gnome-settings-daem
725 c2858c08 cc7f5000 207 1 725 0004000 [SLPQ select
0xc0698144][SLP] gnome-smproxy
723 c285a000 cc7f7000 207 1 723 0004000 [SLPQ select
0xc0698144][SLP] bonobo-activation-s
721 c224c1b8 cc737000 207 1 696 0000000 [SLPQ select
0xc0698144][SLP] gnome-keyring-daemo
714 c224cc08 cc785000 207 1 696 0004001 [SLPQ select
0xc0698144][SLP] gconfd-2
712 c2357dc0 cc7a9000 207 696 712 0000000 [SLPQ select
0xc0698144][SLP] ssh-agent
696 c2357528 cc7a4000 207 608 696 0004001 [SLPQ select
0xc0698144][SLP] gnome-session
693 c212aa50 cbb64000 0 1 693 0004002 [SLPQ sysctl lock
0xc069466c][SLP] login
669 c23576e0 cc7a5000 0 1 669 0004002 [SLPQ ttyin 0xc25fba10]
[SLP] getty
668 c218f1b8 cbb9b000 0 1 668 0004002 [SLPQ ttyin 0xc25fc010]
[SLP] getty
667 c2359370 cc7ac000 0 1 667 0004002 [SLPQ ttyin 0xc2171010]
[SLP] getty
666 c224c528 cc739000 0 1 666 0004002 [SLPQ ttyin 0xc21a7e10]
[SLP] getty
665 c23571b8 cc7a2000 0 1 665 0004002 [SLPQ ttyin 0xc2171210]
[SLP] getty
664 c2359000 cc7aa000 0 1 664 0004002 [SLPQ ttyin 0xc21a7810]
[SLP] getty
663 c224cdc0 cc786000 0 1 663 0004002 [SLPQ ttyin 0xc21a7410]
[SLP] getty
651 c218f370 cbb9c000 26 1 651 0000100 [SLPQ select
0xc0698144][SLP] exim-4.30-1
627 c2357370 cc7a3000 0 1 627 0000000 [SLPQ select
0xc0698144][SLP] moused
611 c224c898 cc783000 0 608 611 0004000 [SLPQ select
0xc0698144][SLP] XFree86
608 c218fa50 cbba0000 0 605 608 0000100 [SLPQ select
0xc0698144][SLP] gdm-binary
605 c218fc08 cbba1000 0 1 605 0000100 [SLPQ select
0xc0698144][SLP] gdm-binary
563 c2357000 cc7a1000 0 539 539 0004100 [SLPQ nanslp
0xc069481c][SLP] ipp
539 c23591b8 cc7ab000 0 1 539 0000000 [SLPQ select
0xc0698144][SLP] cupsd
457 c218f6e0 cbb9e000 0 1 457 0000100 [SLPQ select
0xc0698144][SLP] sshd
404 c224c6e0 cc73a000 0 1 404 0000000 [SLPQ select
0xc0698144][SLP] usbd
401 c218f528 cbb9d000 0 1 401 0000000 [SLPQ select
0xc0698144][SLP] moused
303 c218f898 cbb9f000 0 1 303 0000000 [SLPQ select
0xc0698144][SLP] syslogd
281 c224c370 cc738000 0 1 281 0000000 [SLPQ dev cv
0xc069522c][SLP] devd
186 c224c000 cc736000 0 1 186 0000000 [SLPQ pause 0xc226d000]
[SLP] adjkerntz
45 c212ac08 cbb65000 0 0 0 0000204 [SLPQ vlruwt
0xc212ac08][SLP] vnlru
44 c212adc0 cbb66000 0 0 0 0000204 [SLPQ syncer
0xc06941e0][SLP] syncer
43 c218c000 cbb6d000 0 0 0 0000204 [SLPQ psleep
0xc06984cc][SLP] bufdaemon
42 c218c1b8 cbb6e000 0 0 0 000020c [SLPQ pgzero
0xc069ca28][SLP] pagezero
41 c218c370 cbb6f000 0 0 0 0000204 [SLPQ psleep
0xc069ca80][SLP] vmdaemon
40 c218c528 cbb70000 0 0 0 0000204 [SLPQ psleep
0xc069ca6c][SLP] pagedaemon
39 c218c6e0 cbb71000 0 0 0 0000204 [IWAIT] swi0: tty:sio
9 c218c898 cbb72000 0 0 0 0000204 [SLPQ cbb cv
0xc2172354][SLP] cbb0
38 c218ca50 cbb73000 0 0 0 0000204 [SLPQ usbtsk
0xc07b1c80][SLP] usbtask
37 c218cc08 cbb98000 0 0 0 0000204 [SLPQ usbevt
0xc21a3210][SLP] usb0
36 c218cdc0 cbb99000 0 0 0 0000204 [SLPQ tzpoll
0xc068bea4][SLP] acpi_thermal
8 c218f000 cbb9a000 0 0 0 0000204 [SLPQ actask
0xc068becc][SLP] acpi_task2
7 c2121528 cbb34000 0 0 0 0000204 [SLPQ actask
0xc068becc][SLP] acpi_task1
6 c21216e0 cbb35000 0 0 0 0000204 [SLPQ actask
0xc068becc][SLP] acpi_task0
5 c2121898 cbb36000 0 0 0 0000204 [SLPQ - 0xc214eb80]
[SLP] taskqueue
35 c2121a50 cbb37000 0 0 0 0000204 [IWAIT] swi6:+
34 c2121c08 cbb38000 0 0 0 0000204 [IWAIT] swi7: task
queue
33 c2121dc0 cbb39000 0 0 0 0000204 [IWAIT] swi3: cambio
32 c212a000 cbb3a000 0 0 0 0000204 [IWAIT] swi2: camnet
31 c212a1b8 cbb5f000 0 0 0 0000204 [IWAIT] swi7: acpitaskq
30 c212a370 cbb60000 0 0 0 0000204 [IWAIT] swi5:+
29 c212a528 cbb61000 0 0 0 0000204 [SLPQ - 0xc068c0e0]
[SLP] random
4 c212a6e0 cbb62000 0 0 0 0000204 [SLPQ - 0xc068ec48]
[SLP] g_down
3 c212a898 cbb63000 0 0 0 0000204 [SLPQ - 0xc068ec44]
[SLP] g_up
2 c0fef1b8 cb334000 0 0 0 0000204 [SLPQ - 0xc068ec3c]
[SLP] g_event
28 c0fef370 cb335000 0 0 0 0000204 [IWAIT] swi1: net
27 c0fef528 cb336000 0 0 0 0000204 [IWAIT] swi4: vm
26 c0fef6e0 cb337000 0 0 0 000020c [RUNQ] swi8: tty:sio
clock
25 c0fef898 cb35c000 0 0 0 0000204 [IWAIT] irq15: ata1
24 c0fefa50 cb35d000 0 0 0 0000204 [IWAIT] irq14: ata0
23 c0fefc08 cb35e000 0 0 0 0000204 [IWAIT] irq13:
22 c0fefdc0 cb35f000 0 0 0 0000204 [IWAIT] irq12: psm0
21 c2121000 cbb31000 0 0 0 0000204 [IWAIT] irq11:
20 c21211b8 cbb32000 0 0 0 0000204 [IWAIT] irq10: sio1
19 c2121370 cbb33000 0 0 0 0000204 [CPU 0] irq9: cbb0 fxp0
++++
18 c0fe8000 cb2e2000 0 0 0 0000204 [IWAIT] irq8: rtc
17 c0fe81b8 cb32b000 0 0 0 0000204 [IWAIT] irq7:
16 c0fe8370 cb32c000 0 0 0 0000204 [IWAIT] irq6:
15 c0fe8528 cb32d000 0 0 0 0000204 [IWAIT] irq5:
14 c0fe86e0 cb32e000 0 0 0 0000204 [IWAIT] irq4: sio0
13 c0fe8898 cb32f000 0 0 0 0000204 [IWAIT] irq3:
12 c0fe8a50 cb330000 0 0 0 0000204 [IWAIT] irq1: atkbd0
11 c0fe8c08 cb331000 0 0 0 0000204 [IWAIT] irq0: clk
10 c0fe8dc0 cb332000 0 0 0 000020c [Can run] idle
1 c0fef000 cb333000 0 0 1 0004200 [SLPQ wait 0xc0fef000]
[SLP] init
0 c068ed40 c081f000 0 0 0 0000200 [SLPQ sched 0xc068ed40]
[SLP] swapper
db> tr 755
sched_switch(c224de70,d99f5503,929c897c,c06b1354,c224de70) at
sched_switch+0xd5
mi_switch(1,c0515ca0,c0515a42,bfbfd000,1) at mi_switch+0x1ab
sleepq_switch(c069466c,cc75eba4,c04c7d0f,c069466c,c069466c) at
sleepq_switch+0x16f
sleepq_wait(c069466c,c069466c,c069313c,c064b519,1) at sleepq_wait+0x11
cv_wait(c069466c,c069313c,2ffffff,bfbfdcd4,bfbfdcd4) at cv_wait+0x12f
_sx_xlock(c0694640,0,0,2000,ffffffff) at _sx_xlock+0x72
userland_sysctl(c224de70,cc75ec7c,2,bfbfdd20,bfbfdcd4) at
userland_sysctl+0xed
__sysctl(c224de70,cc75ed14,18,c0686da0,6) at __sysctl+0xd4
syscall(20002f,80b002f,bfbf002f,2,bfbfdd20) at syscall+0x2f0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x288a7457, esp =
0xbfbfdc4c, ebp = 0xbfbfdc88 ---
db> tr 693
sched_switch(c0ff0e70,3d17d003,29f41a1b,c06b1354,c0ff0e70) at
sched_switch+0xd5
mi_switch(1,c0515ca0,c0515a42,28069000,1) at mi_switch+0x1ab
sleepq_switch(c069466c,cb35bba4,c04c7d0f,c069466c,c069466c) at
sleepq_switch+0x16f
sleepq_wait(c069466c,c069466c,c069313c,c064b519,1) at sleepq_wait+0x11
cv_wait(c069466c,c069313c,2d00610,bfbfecb0,bfbfecb0) at cv_wait+0x12f
_sx_xlock(c0694640,0,0,80,c2a0421c) at _sx_xlock+0x72
userland_sysctl(c0ff0e70,cb35bc7c,2,28069a0c,bfbfecb0) at
userland_sysctl+0xed
__sysctl(c0ff0e70,cb35bd14,18,4,6) at __sysctl+0xd4
syscall(2f,2f,2f,2,28069a0c) at syscall+0x2f0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x2805accf, esp =
0xbfbfec48, ebp = 0xbfbfec84 ---
db> tr 1826
sched_switch(c285b150,1dcd1203,e8f479c,c06b1354,c285b150) at
sched_switch+0xd5
mi_switch(1,c0515ca0,c0515a42,7,1) at mi_switch+0x1ab
sleepq_switch(c0693cac,cc7fdc54,c04c7d0f,c0693cac,c0693cac) at
sleepq_switch+0x16f
sleepq_wait(c0693cac,c0693cac,c0693820,c064aa0b,1) at sleepq_wait+0x11
cv_wait(c0693cac,c0693820,c29ff528,21,21) at cv_wait+0x12f
_sx_xlock(c0693c80,0,0,6,0) at _sx_xlock+0x72
fork1(c285b150,24030,0,cc7fdcd4,c285b150) at fork1+0x3a6
linux_clone(c285b150,cc7fdd14,cc7fdd0c,cc7fdd10,2) at linux_clone+0x69
syscall(bfbf002f,bfbf002f,cc90002f,bf3ffd24,0) at syscall+0x2f0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (120, Linux ELF, linux_clone), eip = 0x28dc2c4e, esp =
0x8dc232c, ebp = 0x8dc237c ---
db> tr 2394
sched_switch(c2985bd0,ebae7c03,f173380a,c06b1354,c2985bd0) at
sched_switch+0xd5
mi_switch(1,c0515ca0,c0515a42,c055905f,1) at mi_switch+0x1ab
sleepq_switch(c0693cac,cc8f8c5c,c04c7d0f,c0693cac,c0693cac) at
sleepq_switch+0x16f
sleepq_wait(c0693cac,c0693cac,c0693820,c064aa0b,1) at sleepq_wait+0x11
cv_wait(c0693cac,c0693820,c2985bd0,c29fb370,c29fb370) at cv_wait+0x12f
_sx_xlock(c0693c80,0,0,cc8f8cc8,200f) at _sx_xlock+0x72
exit1(c2985bd0,0,c0517b46,c2985bd0,cc8f8d40) at exit1+0xce5
sys_exit(c2985bd0,cc8f8d14,4,4,1) at sys_exit+0x67
syscall(2f,2f,2f,bfbfe680,bfbfe68c) at syscall+0x2f0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (1, FreeBSD ELF32, sys_exit), eip = 0x280be0d3, esp =
0xbfbfe62c, ebp = 0xbfbfe648 ---
db> tr 2420
sched_switch(0,1,0,c2a02084,4) at sched_switch+0xd5
db>
This happens only under heavy load (with swapping)
> Tim
> _______________________________________________
> 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"
--
Vladimir B. Grebenchikov
vova@fbsd.ru
------------------------------
Message: 6
Date: Fri, 25 Jun 2004 08:22:39 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on powerpc/powerpc
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<powerpc@freebsd.org>
Message-ID: <20040625122239.8B69F7303F@freebsd-current.sentex.ca>
TB --- 2004-06-25 12:16:58 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-25 12:16:58 - starting CURRENT tinderbox run for powerpc/powerp
c
TB --- 2004-06-25 12:16:58 - checking out the source tree
TB --- 2004-06-25 12:16:58 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c
TB --- 2004-06-25 12:16:58 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-06-25 12:20:28 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-25 12:20:28 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c/src
TB --- 2004-06-25 12:20:28 - /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
[...]
sed -e 's,!!TRAD_HEADER!!,,g' /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.b
in/binutils/libbfd/config.h.fbsd > config.h
echo '#define BFD_VERSION 215000000' > bfdver.h
echo '#define BFD_VERSION_DATE 20040517' >> bfdver.h
echo '#define BFD_VERSION_STRING "2.15 [FreeBSD] 2004-05-23"' >> bfdver.h
rm -f .depend
mkdep -f .depend -a -I. -I/tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bi
n/binutils/libbfd/powerpc -I/tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin
/binutils/libbfd -I/tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils
/libbfd/../libbfd/powerpc -I/tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tin
derbox/CURRENT/powerpc/powerpc/src/i386/tinderbox/CURRENT/powerpc/powerpc/src/
gnu/usr.bin/binutils/libbfd/../libbfd -I/tinderbox/CURRENT/powerpc/powerpc/src
/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/include -DDEFAULT_VE
CTOR=bfd_elf32_powerpc_vec -D_GNU_SOURCE -I/tinderbox/CURRENT/powerpc/powerpc/
src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd -DSELECT_ARCH
ITECTURES=" &bfd_powerpc_arch" -DHAVE_bfd_elf32_powerpc_vec -DHAVE_bfd_elf32_p
owerpcle_vec -DHAVE_ppcboot_vec -DSELECT_VECS=" &bfd_elf32_powerpc_vec ,&bfd_e
lf32_powerpcle_vec ,&ppcboot_vec" -I/home/tinderbox/sandbox/CURRENT/powerpc/po
werpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/sr
c/i386/legacy/usr/include /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/
binutils/libbfd/../../../../contrib/binutils/bfd/cpu-powerpc.c /tinderbox/CURR
ENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binuti
ls/bfd/cpu-rs6000.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutil
s/libbfd/../../../../contrib/binutils/bfd/elf32.c /tinderbox/CURRENT/powerpc/p
owerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-
gen.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../..
/../../contrib/binutils/bfd/elf32-ppc.c /tinderbox/CURRENT/powerpc/powerpc/src
/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elflink.c /tinde
rbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contr
ib/binutils/bfd/ppcboot.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/b
inutils/libbfd/../../../../contrib/binutils/bfd/archive.c /tinderbox/CURRENT/p
owerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../.
./../contrib/binutils/bfd/archive64.c /tinderbox/CURRENT/powerpc/powerpc/src/
gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/archures.c /tinde
rbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contr
ib/binutils/bfd/bfd.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binut
ils/libbfd/../../../../contrib/binutils/bfd/bfdwin.c /tinderbox/CURRENT/powerp
c/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/bin
ary.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../..
/../../contrib/binutils/bfd/cache.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu
/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/coffgen.c /tinderbox
/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/b
inutils/bfd/corefile.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binu
tils/libbfd/../../../../contrib/binutils/bfd/elf.c /tinderbox/CURRENT/powerpc/
powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../co
ntrib/binutils/bfd/elf-eh-frame.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/
usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf-strtab.c /tinderb
ox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib
/binutils/bfd/format.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binu
tils/libbfd/../../../../contrib/binutils/bfd/hash.c /tinderbox/CURRENT/powerpc
/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/ihex
.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../..
/../contrib/binutils/bfd/init.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr
.bin/binutils/libbfd/../../../../contrib/binutils/bfd/libbfd.c /tinderbox/CURR
ENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binuti
ls/bfd/linker.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/li
bbfd/../../../../contrib/binutils/bfd/merge.c /tinderbox/CURRENT/powerpc/power
pc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib
/binutils/bfd/opncls.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/bin
utils/libbfd/../../../../contrib/binutils/bfd/reloc.c /tinderbox/CURRENT/power
pc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/se
ction.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../
./../../contrib/binutils/bfd/srec.c /tinderbox/CURRENT/powerpc/powerpc/src/gn
u/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/stab-syms.c /tinder
box/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contri
b/binutils/bfd/stabs.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binu
tils/libbfd/../../../../contrib/binutils/bfd/syms.c /tinderbox/CURRENT/powerpc
/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/targ
ets.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../..
/../../contrib/binutils/bfd/tekhex.c /tinderbox/CURRENT/powerpc/powerpc/src/gn
u/usr.bin/binutils/libbfd/../../../../contrib/binutils
/bfd/dwarf1.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/lib
bfd/../../../../contrib/binutils/bfd/dwarf2.c /tinderbox/CURRENT/powerpc/power
pc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/bfdio.c /t
inderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../c
ontrib/binutils/bfd/simple.c
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/elf32-ppc.c:34:23:
elf32-ppc.h: No such file or directory
mkdep: compile failed
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-06-25 12:22:39 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-06-25 12:22:39 - ERROR: failed to build world
TB --- 2004-06-25 12:22:39 - tinderbox aborted
------------------------------
Message: 7
Date: Fri, 25 Jun 2004 08:34:58 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on sparc64/sparc64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<sparc64@freebsd.org>
Message-ID: <20040625123458.262AB7303F@freebsd-current.sentex.ca>
TB --- 2004-06-25 12:22:39 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-25 12:22:39 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-06-25 12:22:39 - checking out the source tree
TB --- 2004-06-25 12:22:39 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-06-25 12:22:39 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-06-25 12:24:29 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-25 12:24:29 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-06-25 12:24:29 - /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
[...]
===> lib/libpam/modules/pam_permit
cc -O2 -pipe -I/tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules/pam_
permit/../../../../contrib/openpam/include -I/tinderbox/CURRENT/sparc64/sparc6
4/src/lib/libpam/modules/pam_permit/../../libpam -Wsystem-headers -Werror -Wal
l -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-
uninitialized -c /tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules/pam
_permit/pam_permit.c
building static pam_permit library
ranlib libpam_permit.a
===> lib/libpam/modules/pam_radius
cc -O2 -pipe -I/tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules/pam_
radius/../../../../contrib/openpam/include -I/tinderbox/CURRENT/sparc64/sparc6
4/src/lib/libpam/modules/pam_radius/../../libpam -Wsystem-headers -Werror -Wal
l -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-
uninitialized -c /tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules/pam
_radius/pam_radius.c
/tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules/pam_radius/pam_radiu
s.c: In function `build_access_request':
/tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules/pam_radius/pam_radiu
s.c:114: warning: cast increases required alignment of target type
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules/pam_radius.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam/modules.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/lib/libpam.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
TB --- 2004-06-25 12:34:58 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-06-25 12:34:58 - ERROR: failed to build world
TB --- 2004-06-25 12:34:58 - tinderbox aborted
------------------------------
Message: 8
Date: Fri, 25 Jun 2004 09:16:35 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: sysctl lock, system lockup
To: Vladimir Grebenschikov <vova@fbsd.ru>
Cc: "'current@freebsd.org'" <current@freebsd.org>
Message-ID: <20040625131635.GD1149@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii
On Fri, Jun 25, 2004 at 11:57:16AM +0000, Vladimir Grebenschikov wrote:
> On Mon, 2004-05-31 at 14:22 +1000, Tim Robbins wrote:
>
> > I'm not sure where to go from here. A deadlock doesn't seem likely, but
> > it's possible that background fsck could lock up the system for quite
> > some time by using this sysctl. How long did you wait before dropping to
> > ddb (approximately)?
>
> Not sure, probably my problem is related or same (I have posted the
> message to current@ before):
>
> --
> About 3-5 time per day recent current lockup on my notebook.
>
> Symptoms:
> system responsive, not locked processes works, I can switch X to sc0
> and back.
>
> processes locked on 'sysctl lock' (see below)
> allways there is one process sleeping on allproc
>
> usually it is related with high activity (this case evolution gets bunch
> of night mail and pass it through spam-assassin)
Could you possibly do "show locks" from the DDB prompt? This is
essential as it will tell us where something is holding the sysctl
lock hostage.
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green@FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
------------------------------
Message: 9
Date: Fri, 25 Jun 2004 15:09:52 +0200
From: Daniel Lang <dl@leo.org>
Subject: Re: Re: HEADS UP: SACK committed to HEAD
To: liamfoy@sepulcrum.org
Cc: Paul Saab <ps@freebsd.org>
Message-ID: <20040625130952.GG47324@atrbg11.informatik.tu-muenchen.de>
Content-Type: text/plain; charset="us-ascii"
Hi Kevin,
liamfoy@sepulcrum.org wrote on Fri, Jun 25, 2004 at 11:24:01AM +0200:
[..]
> > > I just commited the work done at Yahoo! to implement SACK in our tcp
> > > stack. Please report any bugs or problems and we'll work on getting
> > > them addressed.
[..]
> What is SACK anyone?
[..]
"Selective Acknowledgement", it allows a host/router to explicitly
acknowledge TCP segments and retransmit them, such that if a
segment gets lost, it can be retransmitted from the last hop
instead of the connection endpoint, which would result in a much
larger delay. Especially if you have wireless links, SACK
can be a huge improvement.
Please correct/elaborate, I'm not sure if I got that entirely
right, except for the idea. ;-)
Best regards,
Daniel
--
IRCnet: Mr-Spock - Soon I will be free, then hungry. -
Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5495 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040625/
6cc7a610/smime-0001.bin
------------------------------
Message: 10
Date: Fri, 25 Jun 2004 09:59:24 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: Re: HEADS UP: SACK committed to HEAD
To: Daniel Lang <dl@leo.org>
Cc: liamfoy@sepulcrum.org
Message-ID:
<Pine.NEB.3.96L.1040625095735.27139E-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 25 Jun 2004, Daniel Lang wrote:
> liamfoy@sepulcrum.org wrote on Fri, Jun 25, 2004 at 11:24:01AM +0200:
> [..]
> > > > I just commited the work done at Yahoo! to implement SACK in our tcp
> > > > stack. Please report any bugs or problems and we'll work on getting
> > > > them addressed.
> [..]
> > What is SACK anyone?
> [..]
>
> "Selective Acknowledgement", it allows a host/router to explicitly
> acknowledge TCP segments and retransmit them, such that if a segment
> gets lost, it can be retransmitted from the last hop instead of the
> connection endpoint, which would result in a much larger delay.
> Especially if you have wireless links, SACK can be a huge improvement.
>
> Please correct/elaborate, I'm not sure if I got that entirely right,
> except for the idea. ;-)
Mostly right, except that it's only the end-hosts in the TCP connection.
Technically, one can be a router, but I'm guessing that's not the common
case. Basically, the original TCP said "retransmit everything" when it
realized a packet was dropped, and TCP SACK allows it to be more
selective, which conserves bandwidth, which has the effective of reducing
load, reducing latency, etc.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 11
Date: Fri, 25 Jun 2004 10:03:58 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: fetch hangs on 6/24/04 current build
To: "Conrad J. Sabatier" <conrads@cox.net>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040625100043.27139F-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 25 Jun 2004, Conrad J. Sabatier wrote:
> I tried switching to wget, using "FETCH_CMD=wget -v -c" in
> /etc/make.conf, and got the most bizarre behavior, something I've never
> seen before. wget would fail each time, complaining about "invalid
> option --". Very strange.
It might be interesting to look at the following:
- Use sockstat/netstat to identify the fetch socket, and see whether
either the send of the receive queue contains some amount of persistent,
un-processed data. This would suggest if the application was stalling
and not reading, or that TCP was stalling and not sending.
- Use DDB to generate a stack trace of the fetch process in-kernel,
perhaps a few to see whether it's stuck in one place, and if so, where.
This would tell us what it's stuck doing.
- Use ktrace to generate a trace of fetch and "see what it's doing" when
it appears to hang -- is it looping waiting for I/O, just blocked in
kernel, etc.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 12
Date: Fri, 25 Jun 2004 09:28:05 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: fetch hangs on 6/24/04 current build
To: Robert Watson <rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <XFMail.20040625092805.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii
On 25-Jun-2004 Robert Watson wrote:
>
> It might be interesting to look at the following:
>
> - Use sockstat/netstat to identify the fetch socket, and see whether
> either the send of the receive queue contains some amount of
> persistent, un-processed data. This would suggest if the
> application was stalling and not reading, or that TCP was stalling
> and not sending.
>
> - Use DDB to generate a stack trace of the fetch process in-kernel,
> perhaps a few to see whether it's stuck in one place, and if so,
> where. This would tell us what it's stuck doing.
>
> - Use ktrace to generate a trace of fetch and "see what it's doing"
> when it appears to hang -- is it looping waiting for I/O, just
> blocked in kernel, etc.
Good suggestions all. Thanks, I'll try those.
Incidentally, it does seem to be working better this morning. Perhaps
it *was* just an ISP glitch.
--
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
------------------------------
Message: 13
Date: Fri, 25 Jun 2004 18:10:38 +0300
From: Ilker OZUPAK <ilker.ozupak@emu.edu.tr>
Subject: builworld failure on current i386
To: freebsd-current@freebsd.org
Message-ID: <200406251810.39247.ilker.ozupak@emu.edu.tr>
Content-Type: text/plain; charset="utf-8"
hello,
im using ctm to update my src tree. i manually dawnload delta's
and apply manually.
I did buildworld tries using src-cur 6385 | 6382 | 6333 | 6330
and all of the tries gave the same results.
there are a few modifications done to etc/make.conf
(file is included at the end)
system is 5.1 release min installation (fresh installed)
builworld did not fail with the default make.conf
(cp /usr/share/examples/etc/make.conf -> /etc/make.conf and build)
I think this is due to
cputype?=p4 definition in my modified make.conf
any ideas?
--
IO
--
<build_output>
----------------------------------------------------------------------
>>> 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
..
..
===> lib/libc
..
..
cc -O3 -pipe -march=pentium4 -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
-c /usr/src/lib/libc/gen/getmntinfo.c
cc -O3 -pipe -march=pentium4 -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
-c /usr/src/lib/libc/gen/getnetgrent.c
In file included from /usr/src/lib/libc/gen/getnetgrent.c:323:
/usr/src/lib/libc/gen/getnetgrent.c: In function `innetgr':
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey'
discards qualifiers from pointer target type
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey'
discards qualifiers from pointer target type
In file included from /usr/src/lib/libc/gen/getnetgrent.c:303:
/usr/src/lib/libc/gen/getnetgrent.c:284: warning: passing arg of `_listmatch'
discards qualifiers from pointer target type
*** Error code 1
Stop in /usr/src/lib/libc.
*** Error code 1
Stop in /usr/src/lib.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
</build_output>
------------------------------------------------
<make_conf>
#### comment parts cleared to shorten the mail.
#
CPUTYPE?=p4
#
CFLAGS= -O3 -pipe
#
#BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
# -Wcast-qual -Wchar-subscripts -Winline \
# -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
# -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
#
COPTFLAGS= -O2 -pipe
#
# Compare before install
INSTALL=install -C
#
# Mtree will follow symlinks
#MTREE_FOLLOWS_SYMLINKS= -L
#
# To build ppp with normal permissions
#PPP_NOSUID= true
#
# To enable installing ssh(1) with the setuid bit turned on
ENABLE_SUID_SSH= true
#
# To enable installing newgrp(1) with the setuid bit turned on.
# Without the setuid bit, newgrp cannot change users' groups.
#ENABLE_SUID_NEWGRP= true
#
# To avoid building various parts of the base system:
#NO_CVS= true # do not build CVS
#NO_CXX= true # do not build C++ and friends
#NO_BIND= true # do not build BIND
#NO_FORTRAN= true # do not build g77 and related libraries
#NO_GDB= true # do not build GDB
#NO_I4B= true # do not build isdn4bsd package
#NO_IPFILTER= true # do not build IP Filter package
#NO_KERBEROS= true # do not build and install Kerberos 5 (KTH Heimdal)
#NO_LPR= true # do not build lpr and related programs
#NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector
#NO_MODULES= true # do not build modules with the kernel
#NO_OBJC= true # do not build Objective C support
#NO_OPENSSH= true # do not build OpenSSH
#NO_OPENSSL= true # do not build OpenSSL (implies NO_KERBEROS and
# NO_OPENSSH)
#NO_SENDMAIL= true # do not build sendmail and related programs
#NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs
#NO_TCSH= true # do not build and install /bin/csh (which is tcsh)
#NO_X= true # do not compile in XWindows support (e.g. doscmd)
#NOCRYPT= true # do not build any crypto code
#NOGAMES= true # do not build games (games/ subdir)
#NOINFO= true # do not make or install info files
#NOLIBC_R= true # do not build libc_r (re-entrant version of libc)
#NOMAN= true # do not build manual pages
NOPROFILE= true # Avoid compiling profiled libraries
#NOSHARE= true # do not go into the share subdir
#
# To build sys/modules when building the world (our old way of doing things)
#MODULES_WITH_WORLD=true # do not build modules when building kernel
#
# The list of modules to build instead of all of them.
#MODULES_OVERRIDE= linux ipfw
#
# If you always want to build the Linux ext2fs kernel module.
WANT_EXT2FS_MODULE=yes
#
#
COMPAT1X= yes
COMPAT20= yes
COMPAT21= yes
COMPAT22= yes
COMPAT3X= yes
COMPAT4X= yes
#
#
</make_conf>
------------------------------
Message: 14
Date: Sat, 26 Jun 2004 00:11:08 -0500
From: Sahil R Cooner <cooner@cs.fsu.edu>
Subject: Re: Project Evil - RTSThreshold
To: "MAin D. ToRK" <tork@n0th1ng.spb.ru>
Cc: freebsd-current@freebsd.org
Message-ID: <40DD056C.2090101@cs.fsu.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
No I do not believe the errors you are receiving are the fault of your
wireless card. I have a linksys wpc54g, that was giving me similar
errors when I was trying to get it to work ... However, I have it
working now, and it's running smooth, so keep trying you'll get it ...
If you have questions though about setting it up. Also you're using
ifconfig and statically setting everything up. Does your access-point
have DHCP if so I would recommend running the dhclient on it to see if
it will automagically configure everything ... Here are the commands I
use to get my net connection on my wireless up and running.
# ifconfig ndis0 up // this picks up my access point funny enough
# dhclient ndis0 // this assigns everything else
that should be all there is to it
--sahil
MAin D. ToRK wrote:
>Hello. << 6/25/2004
>
>RELENG_5_2.
>hardware: adm8211.
>
>cvsup of sys/compat/ndis, sys/modules/ndis/, sys/modules/if_ndis
>cvsup's been made 2 days ago.
>made copy of .inf and .sys to sys/modules/if_ndis
>run ndiscvt
>make && make load in both sys/modules/ndis, sys/modules/if_ndis
>
>
>ndis0: <802.11b Wireless PCI Card> port 0x3000-0x30ff mem 0xf4200000-0xf42003
ff irq 21 at device 5.0 on pci3
>can't re-use a leaf (RTSThreshold)!
>ndis0: NDIS API version: 5.0
>ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>
>ifconfig ndis0 inet 192.168.1.102 netmask 255.255.255.0 channel 6 ssid
>"myssid" media auto
>
>ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> inet 192.168.1.102 netmask 0xffffff00 broadcast 192.168.1.255
> ether 00:e0:98:bd:b7:3e
> media: IEEE 802.11 Wireless Ethernet autoselect
> status: no carrier
> ssid ""
> channel -1 authmode OPEN powersavemode OFF powersavesleep 100
> wepmode OFF weptxkey 1
>
>
>Could a bad connection between card and antenna lead to "can't re-use a
>leaf (RTSThreshold)!"?
>Is this bad connection causes "status: no carrier" or because of RTS
>Threshold?
>
>Can't set SSID and get right status.
>
>Thank you.
>--
>
>MAin D. ToRK
>
> mail@tork.spb.ru
> tork@synomatic.com
>
>_______________________________________________
>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: 15
Date: Fri, 25 Jun 2004 08:24:16 -0700
From: "Kevin Oberman" <oberman@es.net>
Subject: Re: HEADS UP: SACK committed to HEAD
To: Robert Watson <rwatson@freebsd.org>
Cc: liamfoy@sepulcrum.org
Message-ID: <20040625152416.9691C5D09@ptavv.es.net>
> Date: Fri, 25 Jun 2004 09:59:24 -0400 (EDT)
> From: Robert Watson <rwatson@freebsd.org>
> Sender: owner-freebsd-current@freebsd.org
>
>
> On Fri, 25 Jun 2004, Daniel Lang wrote:
>
> > liamfoy@sepulcrum.org wrote on Fri, Jun 25, 2004 at 11:24:01AM +0200:
> > [..]
> > > > > I just commited the work done at Yahoo! to implement SACK in our tcp
> > > > > stack. Please report any bugs or problems and we'll work on getting
> > > > > them addressed.
> > [..]
> > > What is SACK anyone?
> > [..]
> >
> > "Selective Acknowledgement", it allows a host/router to explicitly
> > acknowledge TCP segments and retransmit them, such that if a segment
> > gets lost, it can be retransmitted from the last hop instead of the
> > connection endpoint, which would result in a much larger delay.
> > Especially if you have wireless links, SACK can be a huge improvement.
> >
> > Please correct/elaborate, I'm not sure if I got that entirely right,
> > except for the idea. ;-)
>
> Mostly right, except that it's only the end-hosts in the TCP connection.
> Technically, one can be a router, but I'm guessing that's not the common
> case. Basically, the original TCP said "retransmit everything" when it
> realized a packet was dropped, and TCP SACK allows it to be more
> selective, which conserves bandwidth, which has the effective of reducing
> load, reducing latency, etc.
The issue with wireless networks is questionable, too. SACK is needed
for good throughput on fast links with relatively large latencies. It is
valuable any time a large number of packets are launched before an ACK
is received.
Satellite links are a valid (if fairly uncommon) case where SACK is
really valuable. More important in my case is when you have very high
bandwidth streams over a geographically long distance. E.g. Los Angeles
to Boston or across any ocean. Even if the line is running clean, a
single dropped packet can really kill performance by dropping the stream
into slow start. Even with fast recovery options, just the loss in
retransmitting the large number of frames in transit can be a bit hit.
Single streams of > 1 Gbps are not common on the commercial network, but
in the research community where a physics experiment at Stanford can
generate Terabytes of data that has to be sent to FermiLab and CERN,
this is a very big issue. The lack of SACK in the FreeBSD stack has
caused many to switch to Linux and FreeBSD is no longer the "standard"
for high performance networking.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net Phone: +1 510 486-8634
------------------------------
Message: 16
Date: Fri, 25 Jun 2004 16:29:45 +0100
From: "Liam J. Foy" <liamfoy@sepulcrum.org>
Subject: Re: [current tinderbox] failure on i386/i386
To: FreeBSD Tinderbox <tinderbox@freebsd.org>
Cc: i386@freebsd.org
Message-ID: <20040625162945.5f67d584.liamfoy@sepulcrum.org>
Content-Type: text/plain; charset=US-ASCII
On Fri, 25 Jun 2004 06:45:02 -0400 (EDT)
FreeBSD Tinderbox <tinderbox@freebsd.org> wrote:
> TB --- 2004-06-25 09:21:31 - tinderbox 2.3 running on freebsd-current.sentex
.ca
> TB --- 2004-06-25 09:21:31 - starting CURRENT tinderbox run for i386/i386
> TB --- 2004-06-25 09:21:31 - checking out the source tree
> TB --- 2004-06-25 09:21:31 - cd /home/tinderbox/sandbox/CURRENT/i386/i386
> TB --- 2004-06-25 09:21:31 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -
A src
> TB --- 2004-06-25 09:26:17 - building world (CFLAGS=-O2 -pipe)
> TB --- 2004-06-25 09:26:17 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/sr
c
> TB --- 2004-06-25 09:26:17 - /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
> TB --- 2004-06-25 10:22:17 - building generic kernel (COPTFLAGS=-O2 -pipe)
> TB --- 2004-06-25 10:22:17 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/sr
c
> TB --- 2004-06-25 10:22:17 - /usr/bin/make buildkernel KERNCONF=GENERIC
> >>> Kernel build for GENERIC started on Fri Jun 25 10:22:17 UTC 2004
> >>> stage 1: configuring the kernel
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3.1: making dependencies
> >>> stage 3.2: building everything
> >>> Kernel build for GENERIC completed on Fri Jun 25 10:38:23 UTC 2004
> TB --- 2004-06-25 10:38:23 - generating LINT kernel config
> TB --- 2004-06-25 10:38:23 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/sr
c/sys/i386/conf
> TB --- 2004-06-25 10:38:23 - /usr/bin/make -B LINT
> TB --- 2004-06-25 10:38:23 - building LINT kernel (COPTFLAGS=-O2 -pipe)
> TB --- 2004-06-25 10:38:23 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/sr
c
> TB --- 2004-06-25 10:38:23 - /usr/bin/make buildkernel KERNCONF=LINT
> >>> Kernel build for LINT started on Fri Jun 25 10:38:23 UTC 2004
> >>> stage 1: configuring the kernel
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3.1: making dependencies
> >>> stage 3.2: building everything
> [...]
> cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i38
6/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
/tinderbox/CURRENT/i386/i386/src/sys/dev/sound/pcm/fake.c
> cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i38
6/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
/tinderbox/CURRENT/i386/i386/src/sys/dev/sound/pcm/feeder.c
> awk -f /tinderbox/CURRENT/i386/i386/src/sys/tools/makeobjops.awk /tinderbox/
CURRENT/i386/i386/src/sys/dev/sound/pcm/feeder_if.m -c ; cc -c -O2 -pipe -fno
-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensio
ns -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tind
erbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i
386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilt
er -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386
/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/d
ev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL
-include opt_global.h -fno-common -finline-limit=8000 -DGPROF -falign-function
s=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-
boundary=2 -ffreestanding -Werror -finstrument-functio
ns
> feeder_if.c
> cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i38
6/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
/tinderbox/CURRENT/i386/i386/src/sys/dev/sound/pcm/feeder_fmt.c
> cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i38
6/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
/tinderbox/CURRENT/i386/i386/src/sys/dev/sound/pcm/feeder_rate.c
> cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i38
6/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
/tinderbox/CURRENT/i386/i386/src/sys/dev/sound/pcm/mixer.c
> /tinderbox/CURRENT/i386/i386/src/sys/dev/sound/pcm/mixer.c: In function `mix
er_init':
> /tinderbox/CURRENT/i386/i386/src/sys/dev/sound/pcm/mixer.c:192: warning: `v'
might be used uninitialized in this function
> *** Error code 1
>
> Stop in /tinderbox/CURRENT/i386/i386/obj/tinderbox/CURRENT/i386/i386/src/sys
/LINT.
> *** Error code 1
>
> Stop in /tinderbox/CURRENT/i386/i386/src.
> *** Error code 1
--- /usr/src/sys/dev/sound/pcm/mixer.c Fri Jun 25 16:28:13 2004
+++ /liamfoy/mixer.c Fri Jun 25 16:27:51 2004
@@ -189,7 +189,7 @@
{
struct snddev_info *snddev;
struct snd_mixer *m;
- u_int16_t v;
+ u_int16_t v = 0;
struct cdev *pdev;
int i, unit, val;
I think this should solve the problem, correct me if am wrong. =)
>
> Stop in /tinderbox/CURRENT/i386/i386/src.
> TB --- 2004-06-25 10:45:01 - WARNING: /usr/bin/make returned exit code 1
> TB --- 2004-06-25 10:45:01 - ERROR: failed to build lint kernel
> TB --- 2004-06-25 10:45:01 - tinderbox aborted
>
> _______________________________________________
> 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"
--
-Liam J. Foy
http://liamfoy.kerneled.org
"Love it like maths -- idea is simple but can get complicated"
------------------------------
Message: 17
Date: Fri, 25 Jun 2004 11:43:05 -0400
From: John Baldwin <jhb@FreeBSD.org>
Subject: Re: STI, HLT in acpi_cpu_idle_c1
To: freebsd-current@FreeBSD.org
Cc: kris@FreeBSD.org
Message-ID: <200406251143.05711.jhb@FreeBSD.org>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday 24 June 2004 07:32 pm, Gerrit Nagelhout wrote:
> The system still locked up without hlt on idle. It is
> curious how it's always CPU 1 that ends up in this state
> though...is there anything special about it? Is it
> possible that there is some kind of interaction with
> the BIOS? In this case, CPU1 is still executing instructions,
> but doesn't think it has any interrupts to handle. (it
> keeps going in and out of the mp_grab_cpu_hlt function)
> I included the assembly of where the various
> cpus currently are below, as well as another APIC dump.
> CPU1 has interrupts enabled (as before) (EFLAGS=0x246).
> Does anyone have any recommendations for code that I could
> add to the idle loop to detect and recover from this
> condition? It should be possible to read the icr_lo
> register, and make sure no interrupts are pending, and take
> some action based on this.
>
>
> c06afded <cpu_idle>:
> c06afded: 55 push %ebp
> c06afdee: 89 e5 mov %esp,%ebp
> c06afdf0: e8 08 3b 00 00 call c06b38fd <mp_grab_cpu_hlt>
> c06afdf5: 85 c0 test %eax,%eax
> c06afdf7: 75 1d jne c06afe16 <cpu_idle+0x29>
> c06afdf9: 83 3d 14 f0 74 c0 00 cmpl $0x0,0xc074f014
> c06afe00:(CPU0) 3e 74 13 je,pt c06afe16 <cpu_idle+0x29>
> c06afe03: fa cli
>
>
> c06b38fd <mp_grab_cpu_hlt>:
> c06b38fd: 55 push %ebp
> c06b38fe: 89 e5 mov %esp,%ebp
> c06b3900: 64 8b 15 28 00 00 00 mov %fs:0x28,%edx
> c06b3907: 89 d1 mov %edx,%ecx
> c06b3909: 23 0d 64 8a 79 c0 and 0xc0798a64,%ecx
> c06b390f:(CPU1) 74 0e je c06b391f
> <mp_grab_cpu_hlt+0x22>
> c06b3911: fb sti
> c06b3912: f4 hlt
>
> c06b31d7 <smp_tlb_shootdown>:
> c06b31d7: 55 push %ebp
> c06b31d8: 89 e5 mov %esp,%ebp
> c06b31da: 83 ec 08 sub $0x8,%esp
> c06b31dd: 89 5d fc mov %ebx,0xfffffffc(%ebp)
> c06b31e0: 8b 1d a0 99 76 c0 mov 0xc07699a0,%ebx
> c06b31e6: 83 eb 01 sub $0x1,%ebx
> c06b31e9: 3e 74 3a je,pt c06b3226
> <smp_tlb_shootdown+0x4f>
> c06b31ec: 8b 45 0c mov 0xc(%ebp),%eax
> c06b31ef: a3 70 89 79 c0 mov %eax,0xc0798970
> c06b31f4: 8b 45 10 mov 0x10(%ebp),%eax
> c06b31f7: a3 74 89 79 c0 mov %eax,0xc0798974
> c06b31fc: b8 00 00 00 00 mov $0x0,%eax
> c06b3201: 87 05 78 89 79 c0 xchg %eax,0xc0798978
> c06b3207: 8b 45 08 mov 0x8(%ebp),%eax
> c06b320a: 89 04 24 mov %eax,(%esp,1)
> c06b320d: e8 c2 03 00 00 call c06b35d4 <ipi_all_but_self>
> c06b3212: a1 78 89 79 c0 mov 0xc0798978,%eax
> c06b3217: 39 d8 cmp %ebx,%eax
> c06b3219: 73 0b jae c06b3226
> <smp_tlb_shootdown+0x4f>
> c06b321b: f3 90 repz nop
> c06b321d:(CPU2) a1 78 89 79 c0 mov 0xc0798978,%eax
> c06b3222: 39 d8 cmp %ebx,%eax
> c06b3224: 72 f5 jb c06b321b
> <smp_tlb_shootdown+0x44>
> c06b3226: 8b 5d fc mov 0xfffffffc(%ebp),%ebx
> c06b3229: 89 ec mov %ebp,%esp
> c06b322b: 5d pop %ebp
> c06b322c: c3 ret
>
> c0556d12 <sched_runnable>:
> c0556d12: 55 push %ebp
> c0556d13: 89 e5 mov %esp,%ebp
> c0556d15: 83 ec 18 sub $0x18,%esp
> c0556d18: 89 5d f8 mov %ebx,0xfffffff8(%ebp)
> c0556d1b: 89 75 fc mov %esi,0xfffffffc(%ebp)
> c0556d1e: be 01 00 00 00 mov $0x1,%esi
> c0556d23:(CPU3) 64 a1 24 00 00 00 mov %fs:0x24,%eax
> c0556d29: 69 c0 90 06 00 00 imul $0x690,%eax,%eax
> c0556d2f: 8d 98 80 0c 76 c0 lea 0xc0760c80(%eax),%ebx
> c0556d35: 83 bb 8c 06 00 00 00 cmpl $0x0,0x68c(%ebx)
> c0556d3c: 3e 0f 84 97 00 00 00 je,pt c0556dda
> <sched_runnable+0xc8>
> c0556d43: e8 91 09 ff ff call c05476d9 <critical_enter>
> c0556d48: b8 04 00 00 00 mov $0x4,%eax
>
>
> P3>dumpAllLocalApic
> CPU 0
> ID: 0x6000000
> TPR: 0x0
> PPR: 0x0
> icr_lo:0xf3
> APR: 0x0
> ISR0: 0x0
> ISR1: 0x0
> ISR2: 0x0
> ISR3: 0x0
> ISR4: 0x0
> ISR5: 0x0
> ISR6: 0x0
> ISR7: 0x0
> IRR0: 0x0
> IRR1: 0x0
> IRR2: 0x0
> IRR3: 0x0
> IRR4: 0x0
> IRR5: 0x0
> IRR6: 0x0
> IRR7: 0x0
> TMR0: 0x0
> TMR1: 0x0
> TMR2: 0x0
> TMR3: 0x0
> TMR4: 0x0
> TMR5: 0x0
> TMR6: 0x0
> TMR7: 0x0
> CPU 1
> ID: 0x7000000
> TPR: 0x0
> PPR: 0xf0
> icr_lo:0xf3
> APR: 0x0
> ISR0: 0x0
> ISR1: 0x0
> ISR2: 0x0
> ISR3: 0x0
> ISR4: 0x0
> ISR5: 0x0
> ISR6: 0x0
> ISR7: 0x8000000
This is why it isn't receiving interrupts. It thinks one is still being
serviced and is waiting on the EOI. That is IPI_HARDCLOCK again.
Hmm, try this hack (you can turn idle_hlt back on if you want since it doesn't
seem to have an effect):
Index: intr_machdep.c
===================================================================
RCS file: /usr/cvs/src/sys/i386/i386/intr_machdep.c,v
retrieving revision 1.6
diff -u -r1.6 intr_machdep.c
--- intr_machdep.c 28 May 2004 17:50:07 -0000 1.6
+++ intr_machdep.c 25 Jun 2004 15:42:00 -0000
@@ -184,6 +184,10 @@
clkintr_pending = 1;
if (ih != NULL && ih->ih_flags & IH_FAST) {
+#if 1
+ isrc->is_pic->pic_disable_source(isrc);
+ isrc->is_pic->pic_eoi_source(isrc);
+#endif
/*
* Execute fast interrupt handlers directly.
* To support clock handlers, if a handler registers
@@ -202,7 +206,11 @@
else
ih->ih_handler(ih->ih_argument);
}
+#if 0
isrc->is_pic->pic_eoi_source(isrc);
+#else
+ isrc->is_pic->pic_disable_source(isrc);
+#endif
error = 0;
critical_exit();
} else {
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
------------------------------
Message: 18
Date: Fri, 25 Jun 2004 19:38:04 +0400
From: Roman Kurakin <rik@cronyx.ru>
Subject: CVSup Deltas
To: freebsd-current@freebsd.org
Message-ID: <40DC46DC.30109@cronyx.ru>
Content-Type: text/plain; charset=KOI8-R; format=flowed
Hi,
I have the following task, which I don't know (yet) how to solve.
I need to keep at home a copy of full CVS treee, but I have very
poor modem connection, so I can't cvsup it. The most reasonable
solution is to take it from work. But taking full cvs even tgz-ed not
very fun. So I thought if it is possible to get all deltas or changed files
as a single file it would be much better. Probably there is some
special version of cvsup?
any ideas?
rik
------------------------------
Message: 19
Date: Fri, 25 Jun 2004 19:54:34 +0400 (MSD)
From: Maxim Konovalov <maxim@macomnet.ru>
Subject: Re: CVSup Deltas
To: Roman Kurakin <rik@cronyx.ru>
Cc: freebsd-current@freebsd.org
Message-ID: <20040625195351.X23936@mp2.macomnet.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 25 Jun 2004, 19:38+0400, Roman Kurakin wrote:
> Hi,
>
> I have the following task, which I don't know (yet) how to solve.
> I need to keep at home a copy of full CVS treee, but I have very
> poor modem connection, so I can't cvsup it. The most reasonable
> solution is to take it from work. But taking full cvs even tgz-ed not
> very fun. So I thought if it is possible to get all deltas or changed files
> as a single file it would be much better. Probably there is some
> special version of cvsup?
cvs diff -D, ctm(1)
--
Maxim Konovalov
------------------------------
_______________________________________________
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 66, Issue 17
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[33m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m