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: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default? (Maxime Henrion)
2. Re: about the gcc 3.4.x problems (Thomas David Rivers)
3. re: problems compiling latest -current (Peter Grehan)
4. Re: problems compiling latest -current (Danny Braniss)
5. Re: Sil3114 SATA RAID (S?ren Schmidt)
6. hw.bus.devctl_disable: 0 -> 1 (Roberto Nunnari)
7. Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default? (S?ren Schmidt)
8. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
9. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
10. Re: hw.bus.devctl_disable: 0 -> 1 (M. Warner Losh)
11. Re: acd(4) is no longer listed among other disk devices in
vmstat(8) (Dan Nelson)
12. Re: acd(4) is no longer listed among other disk devices in
vmstat(8) (Poul-Henning Kamp)
13. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
14. Re: problems compiling latest -current (M. Warner Losh)
15. Re: hw.bus.devctl_disable: 0 -> 1 (Roberto Nunnari)
16. Re: acd(4) is no longer listed among other disk devices in
vmstat(8) (Dan Nelson)
17. Re: Curious MySQL building problem /w GCC 3.4.2 (Bruce A. Mah)
18. Re: Curious MySQL building problem /w GCC 3.4.2 (Bruce A. Mah)
19. Re: hw.bus.devctl_disable: 0 -> 1 (M. Warner Losh)
20. Re: HEADS UP! boot2 problems (Alexander Kabaev)
21. Re: Curious MySQL building problem /w GCC 3.4.2 (Anish Mistry)
22. Re: acd(4) is no longer listed among other disk devices in
vmstat(8) (Poul-Henning Kamp)
23. Re: PPPoE problems with latest -CURRENT (Julian Elischer)
24. Re: Curious MySQL building problem /w GCC 3.4.2 (Geoff Speicher)
25. Re: about the gcc 3.4.x problems (Chuck Swiger)
26. Re: Curious MySQL building problem /w GCC 3.4.2 (Bruce A. Mah)
27. Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default? (Chuck Swiger)
28. Re: PPPoE problems with latest -CURRENT (Gleb Smirnoff)
29. Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default? (S?ren Schmidt)
30. Re: panic from July 21 kernel (acpi related?) (Doug White)
31. Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default? (Chuck Swiger)
32. Funky compile error with new gcc (Michael Nottebrock)
33. disk reade/write errors upon resume (Jake Khuon)
34. Re: Funky compile error with new gcc (Marcel Moolenaar)
35. Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default? (S?ren Schmidt)
36. rrestore and setsockopt interaction? (Steve Kargl)
----------------------------------------------------------------------
Message: 1
Date: Fri, 30 Jul 2004 14:17:13 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default?
To: Maxim Sobolev <sobomax@portaone.com>
Cc: current@freebsd.org
Message-ID: <20040730121713.GG13608@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
Maxim Sobolev wrote:
> Since high-speed CD-RW/DVD-RW recorders (32x - 52x) are commodity now
> IMO it makes sense to review hw.ata.atapi_dma default of 0, since
> apparently PIO mode can't support necessary sustained data transfer
> rates anymore. For example I had had problems burning RWs on 16-24x with
> several drives in PIO mode, which gone when I've switched to DMA.
>
> I easily imagine newbies who make a conclusion that "FreeBSD sucks"
> after installing FreeBSD and finding that they can't burn CDs, while
> other operating system do it without any problems.
I think it should be enabled by default when the DMA mode of the ATAPI
device is UDMA33 or higher, not when it's WDMA2. The atapi_dma sysctl
is off by default to guard against buggy ATAPI devices which are
incorrectly reporting themselves as being able to do DMA, however
I think this mostly applies to old devices, which won't do UDMA33 or
higher. Soren would know better than me though.
Cheers,
Maxime
------------------------------
Message: 2
Date: Fri, 30 Jul 2004 08:22:31 -0400 (EDT)
From: Thomas David Rivers <rivers@dignus.com>
Subject: Re: about the gcc 3.4.x problems
To: geoff@sea-incorporated.com, pdseniura@techie.com
Cc: freebsd-current@freebsd.org
Message-ID: <200407301222.i6UCMVr13060@lakes.dignus.com>
"Geoffrey C. Speicher" <geoff@sea-incorporated.com>
>
> GCC-3.4 is in the tree; rejoice and be glad. GCC-3.5 is not even an
> issue. Just because Apple is using it doesn't mean everybody should.
> Apple has the resources to adopt gcc prereleases early, and thoroughly
> test and fix all the problems that they will undoubtedly find.
>
On a side note - I'm not sure Apple has/had those resources.
We reported a bug in their gcc (it wouldn't compile some of
our sources, complaining of an internal error) in OS X 10.1.
(A pre-release of GCC 3.2.x, I think.)
The problem was fixed, about a year later, when the latest
OS X was released... so, at last, our products are available
on a mac. We never received a fix and had to buy the new
release to get the new versions.
Many e-mails went to Apple asking about the status of the
problem, pointing to where the fix needed to be made,
etc... but - nothing _ever_ came back from Apple... and then,
a couple of days before the latest release, the bug was
simply closed.
So - it seems, they didn't, in our case, have the resources
to test and correct problems. I have the opinion they
simply jump on the latest... this is admittedly anecdotal.
And, might simply be the exception that proves the rule :-)
- Dave Rivers -
--
rivers@dignus.com Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
------------------------------
Message: 3
Date: Fri, 30 Jul 2004 22:31:46 +1000
From: Peter Grehan <grehan@freebsd.org>
Subject: re: problems compiling latest -current
To: Danny Braniss <danny@cs.huji.ac.il>
Cc: current@freebsd.org
Message-ID: <410A3FB2.908@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
> Since noone is complaining, then it might be that I cross >compile -
compiling
>under stable (4.10) for current, this worked fine till now.
I get this too, using 5.1-RELEASE. The fix was:
RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_int/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile 28 Jul 2004 05:27:20 -0000 1.41
+++ Makefile 29 Jul 2004 10:24:33 -0000
@@ -9,7 +9,7 @@
# Files from libiberty.
SRCS= choose-temp.c concat.c cp-demangle.c cp-demint.c cplus-dem.c \
- dyn-string.c errors.c fibheap.c getpwd.c getruntime.c hashtab.c \
+ dyn-string.c fibheap.c getpwd.c getruntime.c hashtab.c \
hex.c lbasename.c make-temp-file.c md5.c obstack.c partition.c \
pexecute.c physmem.c splay-tree.c xexit.c xmalloc.c xmemdup.c \
xstrdup.c xstrerror.c xexit.c
The routines in errors.c are contained in diagnostic.c, so I couldn't
really see why they were needed, and I guess binutils < 2.15 isn't
happy with having duplicate routines in an archive.
later,
Peter.
------------------------------
Message: 4
Date: Fri, 30 Jul 2004 15:32:19 +0300
From: Danny Braniss <danny@cs.huji.ac.il>
Subject: Re: problems compiling latest -current
To: Peter Grehan <grehan@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040730123220.7257B43D67@mx1.FreeBSD.org>
Content-Type: text/plain; charset=us-ascii
> > Since noone is complaining, then it might be that I cross >compile -
> compiling
> >under stable (4.10) for current, this worked fine till now.
>
> I get this too, using 5.1-RELEASE. The fix was:
>
> RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_int/Makefile,v
> retrieving revision 1.41
> diff -u -r1.41 Makefile
> --- Makefile 28 Jul 2004 05:27:20 -0000 1.41
> +++ Makefile 29 Jul 2004 10:24:33 -0000
> @@ -9,7 +9,7 @@
>
> # Files from libiberty.
> SRCS= choose-temp.c concat.c cp-demangle.c cp-demint.c cplus-dem.c \
> - dyn-string.c errors.c fibheap.c getpwd.c getruntime.c hashtab.c \
> + dyn-string.c fibheap.c getpwd.c getruntime.c hashtab.c \
> hex.c lbasename.c make-temp-file.c md5.c obstack.c partition.c \
> pexecute.c physmem.c splay-tree.c xexit.c xmalloc.c xmemdup.c \
> xstrdup.c xstrerror.c xexit.c
>
> The routines in errors.c are contained in diagnostic.c, so I couldn't
> really see why they were needed, and I guess binutils < 2.15 isn't
> happy with having duplicate routines in an archive.
>
> later,
>
> Peter.
>
thanks, now lets see waht the new compiler can do.
danny
------------------------------
Message: 5
Date: Fri, 30 Jul 2004 15:00:11 +0200
From: S?ren Schmidt<sos@DeepCore.dk>
Subject: Re: Sil3114 SATA RAID
To: yuval levy <yuval_levy@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <410A465B.4050101@DeepCore.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
yuval levy wrote:
> Good day
> Is support for the Sil3114 (as found on Tyan S2882
> motherboard) in RAID mode planned for FreeBSD 5.3?
Depends on which RAID type your particular one is using. The "RAID" on
these controllers are done in software so the driver has to know how to
read the metadata defining the RAID setup from the drives.
Currently I support Promise/HighPoint/LSI metadata, Adaptec is being
worked on..
-S�ren
------------------------------
Message: 6
Date: Fri, 30 Jul 2004 15:01:23 +0200
From: Roberto Nunnari <roberto.nunnari@supsi.ch>
Subject: hw.bus.devctl_disable: 0 -> 1
To: freebsd-current@freebsd.org
Message-ID: <410A46A3.60903@supsi.ch>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hello.
I'm running 5.2-Release-p1 and at boot time I get the following message:
hw.bus.devctl_disable: 0 -> 1
Can anybody explain what is that about?
Thank you.
--
Roberto Nunnari -software engineer-
mailto:roberto.nunnari@supsi.ch
Scuola Universitaria Professionale della Svizzera Italiana
Dipartimento Tecnologie Innovative
http://www.dti.supsi.ch
SUPSI-DTI
Via Cantonale tel: +41-91-6108561
6928 Manno """ fax: +41-91-6108570
Switzerland (o o)
=======================oOO==(_)==OOo========================
------------------------------
Message: 7
Date: Fri, 30 Jul 2004 15:06:15 +0200
From: S?ren Schmidt<sos@DeepCore.dk>
Subject: Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default?
To: Maxim Sobolev <sobomax@portaone.com>
Cc: current@freebsd.org
Message-ID: <410A47C7.1080808@DeepCore.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Maxim Sobolev wrote:
> Since high-speed CD-RW/DVD-RW recorders (32x - 52x) are commodity now
> IMO it makes sense to review hw.ata.atapi_dma default of 0, since
> apparently PIO mode can't support necessary sustained data transfer
> rates anymore. For example I had had problems burning RWs on 16-24x with
> several drives in PIO mode, which gone when I've switched to DMA.
Hmm, things are still messy, but most drives that support UDMA33 can do
ATAPI dma. However, that is only part of the equation, the chipset has
its hands in there as well, and unfortunatly there seems to be no good
way to detect when it works and when it doesnt.
This is more of a decision thing, until now its been decided to have it
off by default, if there is consensus to change it, I'll just do that
and only enable dma on udma33 and above (is there any such animals at
all, I've newer seen an ATAPI device support > UDMA33).
-S�ren
------------------------------
Message: 8
Date: Fri, 30 Jul 2004 09:34:26 -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: <20040730133426.0CE887303F@freebsd-current.sentex.ca>
TB --- 2004-07-30 12:30:56 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-30 12:30:56 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-07-30 12:30:56 - cleaning the sandbox
TB --- 2004-07-30 12:32:04 - checking out the source tree
TB --- 2004-07-30 12:32:04 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-07-30 12:32:04 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A
src
TB --- 2004-07-30 12:39:41 - WARNING: /home/tinderbox/sandbox/ia64.diff does n
ot exist
TB --- 2004-07-30 12:39:41 - building world (CFLAGS=-O -pipe)
TB --- 2004-07-30 12:39:41 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src
TB --- 2004-07-30 12:39:41 - /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
[...]
gzip -cn /tinderbox/CURRENT/ia64/ia64/src/usr.sbin/amd/wire-test/../../../cont
rib/amd/wire-test/wire-test.8 > wire-test.8.gz
===> usr.sbin/ancontrol
cc -O -pipe -DANCACHE -I/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol/.
/../sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-string
s -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -
Wredundant-decls -c /tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol/ancont
rol.c
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol/ancontrol.c: In function `
an_dumpstats':
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol/ancontrol.c:452: warning:
cast increases required alignment of target type
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol/ancontrol.c: In function `
an_readcache':
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol/ancontrol.c:1226: warning:
cast increases required alignment of target type
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol/ancontrol.c:1229: warning:
cast increases required alignment of target type
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src/usr.sbin/ancontrol.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src/usr.sbin.
*** 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-07-30 13:34:26 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-30 13:34:26 - ERROR: failed to build world
TB --- 2004-07-30 13:34:26 - tinderbox aborted
------------------------------
Message: 9
Date: Fri, 30 Jul 2004 09:51:34 -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: <20040730135134.B9AEC7303F@freebsd-current.sentex.ca>
TB --- 2004-07-30 13:34:27 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-30 13:34:27 - starting CURRENT tinderbox run for powerpc/powerp
c
TB --- 2004-07-30 13:34:27 - cleaning the sandbox
TB --- 2004-07-30 13:35:41 - checking out the source tree
TB --- 2004-07-30 13:35:41 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c
TB --- 2004-07-30 13:35:41 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A
src
TB --- 2004-07-30 13:43:37 - WARNING: /home/tinderbox/sandbox/powerpc.diff doe
s not exist
TB --- 2004-07-30 13:43:37 - building world (CFLAGS=-O -pipe)
TB --- 2004-07-30 13:43:37 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c/src
TB --- 2004-07-30 13:43:37 - /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 -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/li
b/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerp
c/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFI
G_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../inclu
de -DINET6 -c asn1_TGS_REP.c -o asn1_TGS_REP.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/li
b/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerp
c/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFI
G_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../inclu
de -DINET6 -c asn1_TGS_REQ.c -o asn1_TGS_REQ.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/li
b/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerp
c/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFI
G_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../inclu
de -DINET6 -c asn1_Ticket.c -o asn1_Ticket.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/li
b/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerp
c/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFI
G_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../inclu
de -DINET6 -c asn1_TicketFlags.c -o asn1_TicketFlags.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/li
b/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerp
c/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFI
G_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../inclu
de -DINET6 -c asn1_TransitedEncoding.c -o asn1_TransitedEncoding.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/li
b/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerp
c/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFI
G_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../inclu
de -DINET6 -c asn1_UNSIGNED.c -o asn1_UNSIGNED.So
building shared library libasn1.so.7
Abort trap (core dumped)
*** Error code 134
Stop in /tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1.
*** 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.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-07-30 13:51:34 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-30 13:51:34 - ERROR: failed to build world
TB --- 2004-07-30 13:51:34 - tinderbox aborted
------------------------------
Message: 10
Date: Fri, 30 Jul 2004 08:06:48 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: hw.bus.devctl_disable: 0 -> 1
To: roberto.nunnari@supsi.ch
Cc: freebsd-current@freebsd.org
Message-ID: <20040730.080648.101833340.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <410A46A3.60903@supsi.ch>
Roberto Nunnari <roberto.nunnari@supsi.ch> writes:
: Hello.
:
: I'm running 5.2-Release-p1 and at boot time I get the following message:
:
: hw.bus.devctl_disable: 0 -> 1
:
: Can anybody explain what is that about?
It means that you've not enabled devd, so devctl is being shut off to
conserve kernel memory.
Warner
------------------------------
Message: 11
Date: Fri, 30 Jul 2004 09:25:38 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: acd(4) is no longer listed among other disk devices in
vmstat(8)
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <20040730142537.GH9911@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
In the last episode (Jul 30), Poul-Henning Kamp said:
> In message <410A2C88.10204@portaone.com>, Maxim Sobolev writes:
> > I've noticed that acd(4) is no longer listed among other disk devices in
> > vmstat(8). I wonder if it has something to do with conversion to GEOM.
>
> Yes, probably.
>
> Somebody needs to fix vmstat(8), iostat(8) and systat(8) to look at the
> stats inside GEOM instead of the driver stats. It's not very hard to
> change, it just takes some work.
Just as long as we don't lose stats for non-disk devices like pass and sa.
It might be easier to just fix acd.
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 12
Date: Fri, 30 Jul 2004 15:48:06 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: acd(4) is no longer listed among other disk devices in
vmstat(8)
To: Dan Nelson <dnelson@allantgroup.com>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <84071.1091195286@critter.freebsd.dk>
In message <20040730142537.GH9911@dan.emsphone.com>, Dan Nelson writes:
>> Somebody needs to fix vmstat(8), iostat(8) and systat(8) to look at the
>> stats inside GEOM instead of the driver stats. It's not very hard to
>> change, it just takes some work.
>
>Just as long as we don't lose stats for non-disk devices like pass and sa.
>It might be easier to just fix acd.
We won't loose stats for non-disk devices.
And it wouldn't be "fix acd", it would be "kludge acd".
Can we try to get into the habbit of doing things right instead of just
banging a rusty nail in a nearby post and tie things to it with pieces
of string ?
Please ?
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 13
Date: Fri, 30 Jul 2004 10:42:33 -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: <20040730144233.1D7587303F@freebsd-current.sentex.ca>
TB --- 2004-07-30 13:51:35 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-30 13:51:35 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-07-30 13:51:35 - cleaning the sandbox
TB --- 2004-07-30 13:52:40 - checking out the source tree
TB --- 2004-07-30 13:52:40 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-07-30 13:52:40 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A
src
TB --- 2004-07-30 13:59:51 - WARNING: /home/tinderbox/sandbox/sparc64.diff doe
s not exist
TB --- 2004-07-30 13:59:51 - building world (CFLAGS=-O -pipe)
TB --- 2004-07-30 13:59:51 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-30 13:59: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
[...]
gzip -cn /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/amd/wire-test/../../.
/contrib/amd/wire-test/wire-test.8 > wire-test.8.gz
===> usr.sbin/ancontrol
cc -O -pipe -DANCACHE -I/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ancon
trol/../../sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prot
otypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-
strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-ext
erns -Wredundant-decls -c /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/anco
ntrol/ancontrol.c
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ancontrol/ancontrol.c: In func
tion `an_dumpstats':
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ancontrol/ancontrol.c:452: war
ning: cast increases required alignment of target type
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ancontrol/ancontrol.c: In func
tion `an_readcache':
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ancontrol/ancontrol.c:1226: wa
rning: cast increases required alignment of target type
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ancontrol/ancontrol.c:1229: wa
rning: cast increases required alignment of target type
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ancontrol.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin.
*** 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-07-30 14:42:32 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-30 14:42:32 - ERROR: failed to build world
TB --- 2004-07-30 14:42:32 - tinderbox aborted
------------------------------
Message: 14
Date: Fri, 30 Jul 2004 08:50:27 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: problems compiling latest -current
To: grehan@freebsd.org
Cc: current@freebsd.org
Message-ID: <20040730.085027.63047675.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <410A3FB2.908@freebsd.org>
Peter Grehan <grehan@freebsd.org> writes:
: > Since noone is complaining, then it might be that I cross >compile -
: compiling
: >under stable (4.10) for current, this worked fine till now.
:
: I get this too, using 5.1-RELEASE. The fix was:
:
: RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_int/Makefile,v
: retrieving revision 1.41
: diff -u -r1.41 Makefile
: --- Makefile 28 Jul 2004 05:27:20 -0000 1.41
: +++ Makefile 29 Jul 2004 10:24:33 -0000
: @@ -9,7 +9,7 @@
:
: # Files from libiberty.
: SRCS= choose-temp.c concat.c cp-demangle.c cp-demint.c cplus-dem.c \
: - dyn-string.c errors.c fibheap.c getpwd.c getruntime.c hashtab.c \
: + dyn-string.c fibheap.c getpwd.c getruntime.c hashtab.c \
: hex.c lbasename.c make-temp-file.c md5.c obstack.c partition.c \
: pexecute.c physmem.c splay-tree.c xexit.c xmalloc.c xmemdup.c \
: xstrdup.c xstrerror.c xexit.c
:
: The routines in errors.c are contained in diagnostic.c, so I couldn't
: really see why they were needed, and I guess binutils < 2.15 isn't
: happy with having duplicate routines in an archive.
This also is a happiness making patch for me. I'm nearly all the way
through a buildworld right now on 4.10 PRERELEASE. There are new
warnings that weren't there before, but they are also there on my
current box...
Maybe now is the right time to take the plunge and upgrade my 'stable'
system to current... Now that I'm no longer married and required to
have a stable mail server at all times for domestic harmony, I can
take more risks...
Warner
------------------------------
Message: 15
Date: Fri, 30 Jul 2004 16:59:42 +0200
From: Roberto Nunnari <roberto.nunnari@supsi.ch>
Subject: Re: hw.bus.devctl_disable: 0 -> 1
To: "M. Warner Losh" <imp@bsdimp.com>
Cc: freebsd-current@freebsd.org
Message-ID: <410A625E.3070607@supsi.ch>
Content-Type: text/plain; charset=us-ascii; format=flowed
Thank you.
M. Warner Losh wrote:
> In message: <410A46A3.60903@supsi.ch>
> Roberto Nunnari <roberto.nunnari@supsi.ch> writes:
> : Hello.
> :
> : I'm running 5.2-Release-p1 and at boot time I get the following message:
> :
> : hw.bus.devctl_disable: 0 -> 1
> :
> : Can anybody explain what is that about?
>
> It means that you've not enabled devd, so devctl is being shut off to
> conserve kernel memory.
>
> Warner
> _______________________________________________
> 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"
--
Roberto Nunnari -software engineer-
mailto:roberto.nunnari@supsi.ch
Scuola Universitaria Professionale della Svizzera Italiana
Dipartimento Tecnologie Innovative
http://www.dti.supsi.ch
SUPSI-DTI
Via Cantonale tel: +41-91-6108561
6928 Manno """ fax: +41-91-6108570
Switzerland (o o)
=======================oOO==(_)==OOo========================
------------------------------
Message: 16
Date: Fri, 30 Jul 2004 10:00:39 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: acd(4) is no longer listed among other disk devices in
vmstat(8)
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <20040730150039.GA68176@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
In the last episode (Jul 30), Poul-Henning Kamp said:
> In message <20040730142537.GH9911@dan.emsphone.com>, Dan Nelson writes:
> >> Somebody needs to fix vmstat(8), iostat(8) and systat(8) to look at the
> >> stats inside GEOM instead of the driver stats. It's not very hard to
> >> change, it just takes some work.
> >
> >Just as long as we don't lose stats for non-disk devices like pass and
> >sa. It might be easier to just fix acd.
>
> We won't loose stats for non-disk devices.
gstat doesn't print them, so I wasn't sure if GEOM even knew about them. If
it does, great!
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 17
Date: Fri, 30 Jul 2004 08:00:47 -0700
From: "Bruce A. Mah" <bmah@freebsd.org>
Subject: Re: Curious MySQL building problem /w GCC 3.4.2
To: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
Cc: freebsd-current@freebsd.org
Message-ID: <1091199647.850.178.camel@localhost>
Content-Type: text/plain; charset="us-ascii"
On Thu, 2004-07-29 at 09:05, Roderick van Domburg wrote:
> First off, thumbs up for the GCC import. I was awaiting the import to
> get a couple of sparc64 boxes up and running!
>
> I know I should normally report this to the maintainer or file a PR, but
> since this seems so curious and hot on the heels of the GCC import, I
> figured I'd post it here.
>
> I CVSupped and rebuilt a quad Xeon III on July 29th, and it runs just
> fine. However, when recompiling MySQL, progressed just came to a halt at:
>
> make all-am
> Making all in strings
> cc -DDBUG_OFF -O -pipe -march=pentium3 -c `test -f 'strings-x86.s' ||
> echo './'`strings-x86.s
>
> 0% CPU and virtually no memory in use.
>
> Workaround: compiling strings-x86.s without -pipe. I re-enabled it for
> the rest of the build, which is now running in the background and seems
> peachy.
>
> No idea what causes it, but here's the report. Should I report it to the
> maintainer or the GCC team instead?
Roderick, if you can try this again, what happens if you hit Ctrl-D (or
whatever your EOF character is) at the point where it hangs?
I ran into a similar problem with the www/mozilla port configure, but I
didn't get a chance to investigate in much detail. Basically, the
configure process stops at this point:
checking for .hidden assembler directive...
At this point it's trying to compile an assembler file. Relevant
processes running at the time are (subject to linewrap):
tomcat:bmah% ps -auxww | grep root | grep conftest
root 15871 0.0 0.0 328 232 p3 S+ 7:54AM 0:00.00 cc -c -O
-pipe conftest.s
root 15872 0.0 0.2 1052 900 p3 S+ 7:54AM 0:00.00 /usr/bin/as
-o conftest.o conftest.s -
Note the as process with a trailing "-" argument. I guessed that it was
for some reason waiting for something from stdin, so I typed the EOF
character on the keyboard and that allowed the as process to continue.
Now I have a freshly recompiled mozilla, but I'm not sure why. :-p
Bruce.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040730/
1414bcee/attachment-0001.bin
------------------------------
Message: 18
Date: Fri, 30 Jul 2004 08:10:30 -0700
From: "Bruce A. Mah" <bmah@freebsd.org>
Subject: Re: Curious MySQL building problem /w GCC 3.4.2
To: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
Cc: freebsd-current@freebsd.org
Message-ID: <1091200229.850.183.camel@localhost>
Content-Type: text/plain; charset="us-ascii"
On Fri, 2004-07-30 at 08:00, Bruce A. Mah wrote:
> Note the as process with a trailing "-" argument. I guessed that it was
> for some reason waiting for something from stdin, so I typed the EOF
> character on the keyboard and that allowed the as process to continue.
> Now I have a freshly recompiled mozilla, but I'm not sure why. :-p
Sorry to reply to myself, but my current mailer happens to bind "send
the email you're currently writing" to a key combination that I
frequently type by accident (Control-Enter).
I just wanted to mention that this is on a CURRENT machine updated
yesterday and that other than the "huh?" factor above, everything's
working fine. Thanks to kan@ for all his hard work!
Bruce.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040730/
548846ce/attachment-0001.bin
------------------------------
Message: 19
Date: Fri, 30 Jul 2004 09:13:18 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: hw.bus.devctl_disable: 0 -> 1
To: roberto.nunnari@supsi.ch
Cc: freebsd-current@freebsd.org
Message-ID: <20040730.091318.06947367.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <410A625E.3070607@supsi.ch>
Roberto Nunnari <roberto.nunnari@supsi.ch> writes:
: M. Warner Losh wrote:
: > In message: <410A46A3.60903@supsi.ch>
: > Roberto Nunnari <roberto.nunnari@supsi.ch> writes:
: > : Hello.
: > :
: > : I'm running 5.2-Release-p1 and at boot time I get the following message:
: > :
: > : hw.bus.devctl_disable: 0 -> 1
: > :
: > : Can anybody explain what is that about?
: >
: > It means that you've not enabled devd, so devctl is being shut off to
: > conserve kernel memory.
: Thank you.
No problem. In 5.3 devd will be on by default, so you won't see this
message.
Warner
------------------------------
Message: 20
Date: Fri, 30 Jul 2004 15:21:19 +0000
From: Alexander Kabaev <kan@freebsd.org>
Subject: Re: HEADS UP! boot2 problems
To: Scott Long <scottl@samsco.org>
Cc: FreeBSD Current List <current@freebsd.org>
Message-ID: <20040730152119.GA43119@freefall.freebsd.org>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 29, 2004 at 08:39:43PM -0600, Scott Long wrote:
> All,
>
> The GCC 3.4 import seems to have broken the boot2 loader on at least
> i386. This doesn't affect normal world and kernel builds and installs,
> but does affect writing new bootblocks via the disklabel program. You
> should refrain from doing this until it gets fixed. It's being looked
> into right now.
>
> Scott
Commit below made boot2 usable again.
kan 2004-07-30 04:27:20 UTC
FreeBSD src repository
Modified files:
sys/boot/i386/boot2 Makefile
Log:
Compile boot2 with -fno-unit-at-a-time. GCCs aggressive optimization
breaks boot in spectacular ways otherwise.
Revision Changes Path
1.56 +3 -1 src/sys/boot/i386/boot2/Makefile
------------------------------
Message: 21
Date: Fri, 30 Jul 2004 11:22:58 -0400
From: Anish Mistry <mistry.7@osu.edu>
Subject: Re: Curious MySQL building problem /w GCC 3.4.2
To: freebsd-current@freebsd.org
Message-ID: <200407301123.06870.mistry.7@osu.edu>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 30 July 2004 11:10 am, Bruce A. Mah wrote:
> On Fri, 2004-07-30 at 08:00, Bruce A. Mah wrote:
> > Note the as process with a trailing "-" argument. I guessed that it was
> > for some reason waiting for something from stdin, so I typed the EOF
> > character on the keyboard and that allowed the as process to continue.
> > Now I have a freshly recompiled mozilla, but I'm not sure why. :-p
>
> Sorry to reply to myself, but my current mailer happens to bind "send
> the email you're currently writing" to a key combination that I
> frequently type by accident (Control-Enter).
>
> I just wanted to mention that this is on a CURRENT machine updated
> yesterday and that other than the "huh?" factor above, everything's
> working fine. Thanks to kan@ for all his hard work!
>
> Bruce.
I'm seeing this too with the xmms port.
- --
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFBCmfaxqA5ziudZT0RAvz0AJ9UH95Dgs8dh+znZDEtwLpdTEoNIQCgxm0P
mF02ayWGV/Uo5ZAHBuV0JxA=
=UjLR
-----END PGP SIGNATURE-----
------------------------------
Message: 22
Date: Fri, 30 Jul 2004 18:15:32 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: acd(4) is no longer listed among other disk devices in
vmstat(8)
To: Dan Nelson <dnelson@allantgroup.com>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <86118.1091204132@critter.freebsd.dk>
In message <20040730150039.GA68176@dan.emsphone.com>, Dan Nelson writes:
>In the last episode (Jul 30), Poul-Henning Kamp said:
>> In message <20040730142537.GH9911@dan.emsphone.com>, Dan Nelson writes:
>> >> Somebody needs to fix vmstat(8), iostat(8) and systat(8) to look at the
>> >> stats inside GEOM instead of the driver stats. It's not very hard to
>> >> change, it just takes some work.
>> >
>> >Just as long as we don't lose stats for non-disk devices like pass and
>> >sa. It might be easier to just fix acd.
>>
>> We won't loose stats for non-disk devices.
>
>gstat doesn't print them, so I wasn't sure if GEOM even knew about them. If
>it does, great!
OK, the long story:
It used to be that the device driver were responsible for doing the
device statistics. These were exported to userland with a sysctl.
In GEOM we collect statistics at all providers (and optionally consumers).
At the same time I taught devstat subsystem to use shared memory
rather than sysctl to export the data to userland. (there's a blueprints
article about this stuff in a previous Daemonnews).
The geom_disk class bridges these two, and therefore collects statitics
for both the old "per driver" and for the GEOM way. This is wasteful
since it is the same data collected twice.
So the situation right now is that for geom disk device-drivers we
have both the old per-driver statistics which programs like
vmstat/iostat/systat presents and the per provider statistics which
gstat presents.
ACD on the other hand is a pure GEOM driver, it does not rely on
geom_disk and therefore it only exports the GEOM per-provider
statistics and does not show up in systat/vmstat/iostat.
So what needs to happen:
Teach the selection code in libdevstat some sort of syntax for
expressing which devstat entries we want to see in such a manner
that we can also show the geom provider entries. (Suggested default:
Anything with a geom-rank of one plus anything with no geom connection)
[This is perfect bikeshed material btw].
Remove the "per-driver" devstats in geom_disk.c
Anyone wanting to attack this problem: please do so and keep the
geom@freebsd.org crowd in the loop.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 23
Date: Fri, 30 Jul 2004 10:59:43 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: PPPoE problems with latest -CURRENT
To: Peter Ulrich Kruppa <root@pukruppa.net>
Cc: freebsd-current@freebsd.org
Message-ID: <410A8C8F.6010205@elischer.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Peter Ulrich Kruppa wrote:
>Hi!
>
>I use my -CURRENT machine to connect with /usr/sbin/ppp to the
>internet via a DSL modem (or bridge as some people say).
>Since my cvsup yesterday this doesn't work anymore - and what is
>even worse I can't see any errror messages:
>neither in my ppp.logs nor when I run ppp manually; it just
>doen't connect.
>I have got a 4.8 -RELEASE on my machine, too. There everything
>works as usual - with the same ppp.conf .
>Does anyone have a clue what happened?
>
please supply a tcpdump trace of a successful and a failed transaction.
>
>Thanks,
>
>Uli.
>_______________________________________________
>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: 24
Date: Fri, 30 Jul 2004 14:03:51 -0400
From: Geoff Speicher <geoff@speicher.org>
Subject: Re: Curious MySQL building problem /w GCC 3.4.2
To: "Bruce A. Mah" <bmah@freebsd.org>
Cc: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
Message-ID: <20040730180351.GA40639@sirius.speicher.org>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 30, 2004 at 08:00:47AM -0700, Bruce A. Mah wrote:
> On Thu, 2004-07-29 at 09:05, Roderick van Domburg wrote:
> >
> > I CVSupped and rebuilt a quad Xeon III on July 29th, and it runs just
> > fine. However, when recompiling MySQL, progressed just came to a halt at:
> >
> > make all-am
> > Making all in strings
> > cc -DDBUG_OFF -O -pipe -march=pentium3 -c `test -f 'strings-x86.s' ||
> > echo './'`strings-x86.s
> >
> > 0% CPU and virtually no memory in use.
> >
> > Workaround: compiling strings-x86.s without -pipe. I re-enabled it for
> > the rest of the build, which is now running in the background and seems
> > peachy.
>
> Roderick, if you can try this again, what happens if you hit Ctrl-D (or
> whatever your EOF character is) at the point where it hangs?
>
> I ran into a similar problem with the www/mozilla port configure, but I
> didn't get a chance to investigate in much detail. Basically, the
> configure process stops at this point:
>
> checking for .hidden assembler directive...
>
> At this point it's trying to compile an assembler file. Relevant
> processes running at the time are (subject to linewrap):
>
> tomcat:bmah% ps -auxww | grep root | grep conftest
> root 15871 0.0 0.0 328 232 p3 S+ 7:54AM 0:00.00 cc -c -O
> -pipe conftest.s
> root 15872 0.0 0.2 1052 900 p3 S+ 7:54AM 0:00.00 /usr/bin/as
> -o conftest.o conftest.s -
>
> Note the as process with a trailing "-" argument. I guessed that it was
> for some reason waiting for something from stdin, so I typed the EOF
> character on the keyboard and that allowed the as process to continue.
> Now I have a freshly recompiled mozilla, but I'm not sure why. :-p
Are you guys sure the following commit didn't fix that already?
http://docs.freebsd.org/cgi/mid.cgi?20040729215559.GB1021
Geoff
------------------------------
Message: 25
Date: Fri, 30 Jul 2004 14:12:53 -0400
From: Chuck Swiger <cswiger@mac.com>
Subject: Re: about the gcc 3.4.x problems
To: freebsd-current@freebsd.org
Cc: Dan Nelson <dnelson@allantgroup.com>
Message-ID: <410A8FA5.4070008@mac.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Dan Nelson wrote:
[ ... ]
> In general, C++ object files are not portable across different gcc releases,
> since they fix ABI bugs in every release. Code built with 3.4 may not link
> to an old 3.3 libstdc++, thus the dependency on the port's own libstdc++. I
> don't see a problem here.
I see a problem with C++ object files not being portable from release to
release, but you're certainly right that it's not a new problem or one
designed to bedevil Paul Seniura in particular. :-)
I was going to suggest to Paul that if you run into problems when something
changes, using cvsup and a date specification to track down the specific
timeframe when something broke can be quite helpful. It also means that you
can update back a few days (um, "backdate"?) to a system which was working
until the problem gets fixed. However, I don't know whether CTM or whatever
it was lets you do that.
--
-Chuck
PS: I suppose that asking why GCC keeps changing how it does C++ symbol name
mangling ought to be discussed on a GCC forum, but considering that FreeBSD
keeps a vendor branch, why don't the maintainers choose not import changes
which break the C++ ABI into the FreeBSD version of GCC?
------------------------------
Message: 26
Date: Fri, 30 Jul 2004 11:29:04 -0700
From: "Bruce A. Mah" <bmah@freebsd.org>
Subject: Re: Curious MySQL building problem /w GCC 3.4.2
To: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
Cc: Geoff Speicher <geoff@speicher.org>
Message-ID: <1091212144.850.233.camel@localhost>
Content-Type: text/plain; charset="us-ascii"
On Fri, 2004-07-30 at 11:12, Roderick van Domburg wrote:
> Geoff Speicher wrote:
>
> >>Note the as process with a trailing "-" argument. I guessed that it was
> >>for some reason waiting for something from stdin, so I typed the EOF
> >>character on the keyboard and that allowed the as process to continue.
> >>Now I have a freshly recompiled mozilla, but I'm not sure why. :-p
>
> Hitting Ctrl-D did the trick alright. "Huh!" ;-)
>
> > Are you guys sure the following commit didn't fix that already?
> >
> > http://docs.freebsd.org/cgi/mid.cgi?20040729215559.GB1021
>
> I suppose you are right. I will check at my next buildworld cycle. Thanks!
That should do it, although when I wrestling with Mozilla yesterday,
green's followup hadn't hit my inbox yet. I probably glossed over the
original commit because it didn't look relevant. Thanks all, and sorry
for not doing a better job at playing "connect the dots".
Bruce.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040730/
9fe911d6/attachment-0001.bin
------------------------------
Message: 27
Date: Fri, 30 Jul 2004 15:02:48 -0400
From: Chuck Swiger <cswiger@mac.com>
Subject: Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default?
To: S?ren Schmidt<sos@DeepCore.dk>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <410A9B58.8000502@mac.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
S�ren Schmidt wrote:
> Maxim Sobolev wrote:
>> Since high-speed CD-RW/DVD-RW recorders (32x - 52x) are commodity now
>> IMO it makes sense to review hw.ata.atapi_dma default of 0, since
>> apparently PIO mode can't support necessary sustained data transfer
>> rates anymore. For example I had had problems burning RWs on 16-24x
>> with several drives in PIO mode, which gone when I've switched to DMA.
Before CD burners became common, having this sysctl default to zero was almost
entirely harmless: people would simply read from CD-ROM drives slower than
optimal. If we change the default to one, people with fast burners will no
longer generate coasters by default too. In other words, Maxim has provided a
pretty good reason for changing the default of atapi_dma, I think. :-)
> Hmm, things are still messy, but most drives that support UDMA33 can do
> ATAPI dma. However, that is only part of the equation, the chipset has
> its hands in there as well, and unfortunatly there seems to be no good
> way to detect when it works and when it doesnt.
If the chipset is broken, why doesn't it default to using PIO4 rather than
UDMA? :-) Anyway, doesn't there exist fallback code in dev/ata/ata-disk.c:
/* if this is a UDMA CRC error, reinject request */
[ ... ]
printf(" falling back to PIO mode\n");
..which will switch a device generating errors from UDMA mode to PIO? Can
this check also turn off using atapi_dma (if using PIO doesn't already imply
not using DMA)?
--
-Chuck
------------------------------
Message: 28
Date: Fri, 30 Jul 2004 23:03:27 +0400
From: Gleb Smirnoff <glebius@freebsd.org>
Subject: Re: PPPoE problems with latest -CURRENT
To: Peter Ulrich Kruppa <root@pukruppa.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040730190327.GD30998@cell.sick.ru>
Content-Type: text/plain; charset=koi8-r
On Fri, Jul 30, 2004 at 09:28:05AM +0000, Peter Ulrich Kruppa wrote:
P> I use my -CURRENT machine to connect with /usr/sbin/ppp to the
P> internet via a DSL modem (or bridge as some people say).
P> Since my cvsup yesterday this doesn't work anymore - and what is
P> even worse I can't see any errror messages:
P> neither in my ppp.logs nor when I run ppp manually; it just
P> doen't connect.
Can you check that you have rebuilt both ppp and kernel with _all_
modules?
Do you use net.graph.nonstandard_pppoe in your /etc/sysctl.conf?
--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
------------------------------
Message: 29
Date: Fri, 30 Jul 2004 21:11:51 +0200
From: S?ren Schmidt<sos@DeepCore.dk>
Subject: Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default?
To: Chuck Swiger <cswiger@mac.com>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <410A9D77.4030703@DeepCore.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Chuck Swiger wrote:
> S�ren Schmidt wrote:
>
>> Maxim Sobolev wrote:
>>
>>> Since high-speed CD-RW/DVD-RW recorders (32x - 52x) are commodity now
>>> IMO it makes sense to review hw.ata.atapi_dma default of 0, since
>>> apparently PIO mode can't support necessary sustained data transfer
>>> rates anymore. For example I had had problems burning RWs on 16-24x
>>> with several drives in PIO mode, which gone when I've switched to DMA.
>
>
> Before CD burners became common, having this sysctl default to zero was
> almost entirely harmless: people would simply read from CD-ROM drives
> slower than optimal. If we change the default to one, people with fast
> burners will no longer generate coasters by default too. In other
> words, Maxim has provided a pretty good reason for changing the default
> of atapi_dma, I think. :-)
Actually not, most if not all modern fast burners implements some sort
of "burn proof" ie no coasters at all due to buffer underruns...
>> Hmm, things are still messy, but most drives that support UDMA33 can
>> do ATAPI dma. However, that is only part of the equation, the chipset
>> has its hands in there as well, and unfortunatly there seems to be no
>> good way to detect when it works and when it doesnt.
>
>
> If the chipset is broken, why doesn't it default to using PIO4 rather
> than UDMA? :-) Anyway, doesn't there exist fallback code in
> dev/ata/ata-disk.c:
>
> /* if this is a UDMA CRC error, reinject request */
> [ ... ]
> printf(" falling back to PIO mode\n");
>
> ...which will switch a device generating errors from UDMA mode to PIO?
> Can this check also turn off using atapi_dma (if using PIO doesn't
> already imply not using DMA)?
Not really, the problem with ATAPI dma is that if it fails it most
likely locks up the machine, so there is no way to back pedal...
-S�ren
------------------------------
Message: 30
Date: Fri, 30 Jul 2004 12:26:56 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: panic from July 21 kernel (acpi related?)
To: Mike Hunter <mhunter@ack.Berkeley.EDU>
Cc: freebsd-current@freebsd.org
Message-ID: <20040730122351.O74805@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 29 Jul 2004, Mike Hunter wrote:
> > If it has 2, try plugging each into the machine directly.
>
> I don't know what you mean by this. When I've run with the external
> keyboard and mouse, I do plug in directly (I don't have a docking
> station.)
>
Plug both keyboard and mouse into the onboard ports as opposed to plugging
the mouse into the keyboard and the keyboard into the machine.
> I don't believe it's truly a power problem, because it works fine under
> windows XP and knoppix linux. I've never had it crash when plugging in a
> USB device, and this crash seems to happen right before it wants to give
> me the login prompt, so it seems like if it were truly a power issue I'd
> have problems in these circumstances.
Not necessarily, it depends on how the OS is configuring the ACPI CPU
states. At the log prompt is a big CPU load and disk i/o spurt and it
might drain the system enough, but linux & windows access patterns don't
happend to draw enough juice at one point to cause the memory error.
Otherwise it must be a chipset config issue or a quirk in the controller
which would have to be debugged with the hardware in hand. Definitely not
a problem that would be debuggable over email.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 31
Date: Fri, 30 Jul 2004 15:46:45 -0400
From: Chuck Swiger <cswiger@mac.com>
Subject: Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default?
To: S?ren Schmidt<sos@DeepCore.dk>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <410AA5A5.4000001@mac.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
S�ren Schmidt wrote:
> Chuck Swiger wrote:
[ ... ]
>> Before CD burners became common, having this sysctl default to zero
>> was almost entirely harmless: people would simply read from CD-ROM
>> drives slower than optimal. If we change the default to one, people
>> with fast burners will no longer generate coasters by default too. In
>> other words, Maxim has provided a pretty good reason for changing the
>> default of atapi_dma, I think. :-)
>
> Actually not, most if not all modern fast burners implements some sort
> of "burn proof" ie no coasters at all due to buffer underruns...
You're right that truly modern fast burners ought to implement "justlink" or
"burn proof". However, I don't think it's a good idea to depend on the burner
to be able to handle underruns; I'd rather run CD/DVD burners using UDMA.
[ FWIW, I've got a 16/10/40x Yamaha burner which just predates the first
generation of burners with underrun protection-- this affects me directly. ]
[ ... ]
>> ...which will switch a device generating errors from UDMA mode to
>> PIO? Can this check also turn off using atapi_dma (if using PIO
>> doesn't already imply not using DMA)?
>
> Not really, the problem with ATAPI dma is that if it fails it most
> likely locks up the machine, so there is no way to back pedal...
Oh. Ewww. Could chipsets which do that be added to a "quirks" table similar
to the way USB devices are being handled? Or is it not just the chipset, but
some more complex interaction between ATAPI DMA and other devices in the
system which want to do DMA which causes the lockup?
--
-Chuck
------------------------------
Message: 32
Date: Fri, 30 Jul 2004 21:59:45 +0200
From: Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Funky compile error with new gcc
To: freebsd-current@FreeBSD.org
Cc: asa@gascom.ru
Message-ID: <200407302159.45444.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="iso-8859-15"
The cups-base port fails in a rather strange fashion since the recent gcc
import. Does anybody have a clue what might be the cause and how to fix it?
cc -L../cups -L../filter �-L/usr/local/lib -Wl,-R/usr/local/lib -Wall
-fPIC �-o pdftops pdftops.o libxpdf.a -lcups �-lcrypt � -lsupc++ -lm
/usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x1a): In function
`__cxa_throw':
: undefined reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x22): In function
`__cxa_throw':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt9terminatev+0x8): In function
`std::terminate()':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt10unexpectedv+0x8): In function
`std::unexpected()':
: undefined reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt13set_terminatePFvvE+0x4): In
function `std::set_terminate(void (*)())':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt13set_terminatePFvvE+0xd): In
function `std::set_terminate(void (*)())':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt14set_unexpectedPFvvE+0x4): In
function `std::set_unexpected(void (*)())':
: undefined reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt14set_unexpectedPFvvE+0xd): In
function `std::set_unexpected(void (*)())':
: undefined reference to `__cxxabiv1::__unexpected_handler'
gmake[1]: *** [pdftops] Error 1
gmake[1]: Leaving directory
`/tmp/a/ports/print/cups-base/work/cups-1.1.20/pdftops'
gmake: *** [all] Error 1
*** Error code 2
--
,_, | 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/20040730/
ecd8da4a/attachment-0001.bin
------------------------------
Message: 33
Date: Fri, 30 Jul 2004 13:13:34 -0700
From: "Jake Khuon" <khuon@NEEBU.Net>
Subject: disk reade/write errors upon resume
To: freebsd-current@freebsd.org
Message-ID: <200407302013.i6UKDYIu021011@Espresso.NEEBU.Net>
Forgive me father for I could not sync. It's been two months since I last
cvsup'd and after doing a buildworld last night, I'm getting the following
errors when coming back from APM suspend.
Jul 30 12:14:56 Mocha kernel: ad0: WARNING - WRITE_DMA interrupt was seen
but timeout fired LBA=33661472
Jul 30 12:15:01 Mocha kernel: ad0: WARNING - READ_DMA interrupt was seen but
timeout fired LBA=33788704
Jul 30 12:15:06 Mocha kernel: ad0: WARNING - READ_DMA interrupt was seen but
timeout fired LBA=33788704
Jul 30 12:15:11 Mocha kernel: ad0: WARNING - READ_DMA interrupt was seen but
taskqueue stalled LBA=33788704
--
/*===================[ Jake Khuon <khuon@NEEBU.Net> ]======================+
| Packet Plumber, Network Engineers /| / [~ [~ |) | | --------------- |
| for Effective Bandwidth Utilisation / |/ [_ [_ |) |_| N E T W O R K S |
+=========================================================================*/
------------------------------
Message: 34
Date: Fri, 30 Jul 2004 13:22:29 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: Funky compile error with new gcc
To: Michael Nottebrock <michaelnottebrock@gmx.net>
Cc: asa@gascom.ru
Message-ID: <20040730202229.GA77274@ns1.xcllnt.net>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 30, 2004 at 09:59:45PM +0200, Michael Nottebrock wrote:
> The cups-base port fails in a rather strange fashion since the recent gcc
> import. Does anybody have a clue what might be the cause and how to fix it?
>
> cc -L../cups -L../filter ?-L/usr/local/lib -Wl,-R/usr/local/lib -Wall
> -fPIC ?-o pdftops pdftops.o libxpdf.a -lcups ?-lcrypt ? -lsupc++ -lm
> /usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x1a): In function
> `__cxa_throw':
> : undefined reference to `__cxxabiv1::__unexpected_handler'
opteron% nm libsupc++.a | grep unexpected_
U _ZN10__cxxabiv120__unexpected_handlerE
U _ZN10__cxxabiv120__unexpected_handlerE
opteron% nm libstdc++.a | grep unexpected_
0000000000000000 D _ZN10__cxxabiv120__unexpected_handlerE
U _ZN10__cxxabiv120__unexpected_handlerE
U _ZN10__cxxabiv120__unexpected_handlerE
You probably want to use the C++ driver for the link, add libstdc++
yourself or remove libsupc++ from the link...
--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
------------------------------
Message: 35
Date: Fri, 30 Jul 2004 22:26:12 +0200
From: S?ren Schmidt<sos@DeepCore.dk>
Subject: Re: Is there still sufficient reason for hw.ata.atapi_dma
being 0 by default?
To: Chuck Swiger <cswiger@mac.com>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <410AAEE4.7070409@DeepCore.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Chuck Swiger wrote:
> S�ren Schmidt wrote:
>> Actually not, most if not all modern fast burners implements some sort
>> of "burn proof" ie no coasters at all due to buffer underruns...
>
> You're right that truly modern fast burners ought to implement
> "justlink" or "burn proof". However, I don't think it's a good idea to
> depend on the burner to be able to handle underruns; I'd rather run
> CD/DVD burners using UDMA.
>
> [ FWIW, I've got a 16/10/40x Yamaha burner which just predates the first
> generation of burners with underrun protection-- this affects me
> directly. ]
Hmn, you should be able to burn 16x in PIO4 mode...
>> Not really, the problem with ATAPI dma is that if it fails it most
>> likely locks up the machine, so there is no way to back pedal...
> Oh. Ewww. Could chipsets which do that be added to a "quirks" table
> similar to the way USB devices are being handled? Or is it not just the
> chipset, but some more complex interaction between ATAPI DMA and other
> devices in the system which want to do DMA which causes the lockup?
Right, its a combination of chipset and device, the matrix would be
impossible to maintain.
-S�ren
------------------------------
Message: 36
Date: Fri, 30 Jul 2004 13:48:10 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: rrestore and setsockopt interaction?
To: freebsd-current@freebsd.org
Message-ID: <20040730204810.GA1915@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
I'm trying to use rrestore to move filesystems from
an old i386 FreeBSD system to a new amd64 FreeBSD
system. My attempt is met with
dhcp-78-74:kargl[39] rrestore xbf 64 troutmask:/dev/nsa0
Connection to troutmask.apl.washington.edu established.
IP_TOS:IPTOS_THROUGHPUT setsockopt: Operation not supported
TCP_NODELAY setsockopt: Operation not supported
Do I need to fiddle with a sysctl variable?
--
Steve
------------------------------
_______________________________________________
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 17
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[32m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m