Message-ID: <4DYThN$BO0@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 72, Issue 2
Date: Mon, 09 Aug 2004 12:25:11 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news1.google.com!newshub.sdsu.edu!news-xfer.cox.net!peer01.cox.net!cox.net!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!news.bylinux.net!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1092054311.A
Lines: 1414
Xref: 74.82.202.154 cn.bbs.comp.unix:1436


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: Signal 11/Signal 10 Instability? (cpghost@cordula.ws)
   2. PCMCIA bridge card won't initialise: 'bad Vcc request',
      'cbb_power:	0V' (Bruce Cran)
   3. Re: world broken (due to gcc import?) (Stephan van Beerschoten)
   4. Re: [PLEASE TEST] Better support for Synaptics Touchpads
      (Philip Paeps)
   5. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
      fixes) (David O'Brien)
   6. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
      fixes) (Oliver Eikemeier)
   7. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
      fixes) (David O'Brien)
   8. Re: Need help: buildworld for CURRENT while under STABLE is
      not  working (Danny Braniss)
   9. Re: slice weirdness (Stijn Hoop)
  10. Re: Need help: buildworld for CURRENT while under STABLE is
      not  working (Harti Brandt)
  11. Re: panic: mutex vr0 not owned at ...if_vr.c:571 when doing
      ifconfig (Mike Bristow)
  12. Re: Simple BDE disc encryption benchmark (Maxim Sobolev)
  13. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
      fixes) (Oliver Eikemeier)
  14. Re: Simple BDE disc encryption benchmark  (Poul-Henning Kamp)
  15. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
      fixes) (David O'Brien)
  16. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
      fixes) (Oliver Eikemeier)
  17. [current tinderbox] failure on i386/i386 (FreeBSD Tinderbox)
  18. [current tinderbox] failure on i386/pc98 (FreeBSD Tinderbox)
  19. Re: geom stripe/concat metadata suggestion (Pawel Jakub Dawidek)
  20. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
  21. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
  22. Re: Need help: buildworld for CURRENT while under STABLE is
      not	working (Barry Bouwsma)
  23. Re: x server breakage? (Joao Pedras)
  24. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
      fixes) (Edwin Groothuis)
  25. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)


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

Message: 1
Date: Mon, 9 Aug 2004 10:25:20 +0200
From: cpghost@cordula.ws
Subject: Re: Signal 11/Signal 10 Instability?
To: Tim <tim-freebsd@picosat.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040809082520.GA85910@bsdbox.farid-hajji.net>
Content-Type: text/plain; charset=us-ascii

On Sun, Aug 08, 2004 at 07:16:36PM -0400, Tim wrote:
> pid 31350 (glxinfo), uid 1001: exited on signal 11 (core dumped)
> pid 32991 (uic), uid 0: exited on signal 11 (core dumped)
> pid 34460 (uic), uid 0: exited on signal 11 (core dumped)
> pid 34480 (firefox-bin), uid 1001: exited on signal 10 (core dumped)
> pid 38612 (firefox-bin), uid 1001: exited on signal 10
> pid 38653 (firefox-bin), uid 1001: exited on signal 10
> pid 38673 (glxgears), uid 1001: exited on signal 11
> pid 38707 (firefox-bin), uid 1001: exited on signal 10
> pid 38744 (firefox-bin), uid 1001: exited on signal 10 (core dumped)
> pid 66084 (uic), uid 0: exited on signal 11 (core dumped)
> pid 66170 (uic), uid 0: exited on signal 11 (core dumped)
> pid 66255 (uic), uid 0: exited on signal 11 (core dumped)
> 
> Those are from dmesg.  The last three most recent ones are from attempts
> to build djvulibre, which depends on Qt.   The system hasn't crashed or
> anything, but i'm wondering if i'm missing something.

This could have been caused by the recent gcc 3.4.2 upgrade.
gcc broke ABI compat once again, and you need to recompile
every C++ app. See /usr/src/UPDATING:

20040728:
        System compiler has been upgraded to GCC 3.4.2-pre. As with any major
        compiler upgrade, there are several issues to be aware of. GCC 3.4.x
        has broken C++ ABI compatibility with previous releases yet again
        and users will have to rebuild all their C++ programs with the new
        compiler. A new unit-at-a-time optimization mode, which is default
        in this compiler release, is more aggressive in removing unused
        static symbols. This is the likely cause of 'make buildworld'
        breakages with non-default CFLAGS where optimization level is set
        to -O2 or higher.

G'luck!

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

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

Message: 2
Date: Mon, 9 Aug 2004 09:21:37 +0100
From: Bruce Cran <bruce@cran.org.uk>
Subject: PCMCIA bridge card won't initialise: 'bad Vcc request',
	'cbb_power:	0V'
To: current@freebsd.org
Message-ID: <21C8C699-E9DD-11D8-944B-000D93ACEE20@cran.org.uk>
Content-Type: text/plain; charset="us-ascii"

I've been attempting to turn an old K6-200 machine into a wireless ADSL 
router.    I started out by installing FreeBSD 5.2.1, but decided to 
upgrade to -CURRENT after a few panics.   Under 5.2.1 my wireless card, 
which is installed via a PCI-PCMCIA bridge, worked perfectly.   Now in 
-CURRENT, though, the bridge card fails to initialise: I keep getting:

cbb0: bad Vcc request. ctrl=0xf000ef08, status=0xf000e2c3
cbb_power: 0V

ACPI isn't loaded.    This problem looks similar to bug #66290, but I 
get the message even if no card is plugged in.   Is there anything I 
can do to help diagnose where the bug is?

--
Bruce Cran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: application/octet-stream
Size: 18715 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040809/4e87dcd8/dmesg-0001.obj

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

Message: 3
Date: Mon, 09 Aug 2004 10:28:14 +0200
From: Stephan van Beerschoten <stephanb@whacky.net>
Subject: Re: world broken (due to gcc import?)
To: Stephan van Beerschoten <stephanb@whacky.net>
Cc: current@freebsd.org
Message-ID: <4117359E.3000003@whacky.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Stephan van Beerschoten wrote:

> The following has occured I believe since yesterday or the day before. 
> I just cvsupped again and the problem is still there:
>
> <...>
>
> Any clue ?

Nobody has any idea how to fix this ? This error happends right at the 
start of the following segment:
 >>> stage 4.2: building libraries

I'm surprised nobody else has this error. CVSup is freshly done; tree 
has been cleaned multiple times with no effect. I haven't done anything 
odd with my tree, but make buildworld is not going anywhere.

Let me copy in some more output:

--------------------------------------------------------------
 >>> stage 4.2: building libraries
--------------------------------------------------------------
cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  
MACHINE=i386  CPUTYPE=  
GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac  
DESTDIR=/usr/obj/usr/src/i386  _SHLIBDIRPREFIX=/usr/obj/usr/src/i386  
INSTALL="sh /usr/src/tools/install.sh"  
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
make -f Makefile.inc1 -DNOFSCHG -DNOHTML -DNOINFO -DNOLINT -DNOMAN 
-DNOPROFILE  libraries
cd /usr/src;  make -f Makefile.inc1 _startup_libs;  make -f 
Makefile.inc1 _prebuild_libs;  make -f Makefile.inc1 _generic_libs;
===> gnu/lib/csu
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tconfig.h
echo '#ifndef GCC_TCONFIG_H'                    > tconfig.h
echo '#define GCC_TCONFIG_H'                    >> tconfig.h
echo '#ifdef IN_GCC'                            >> tconfig.h
echo '# include "ansidecl.h"'                   >> tconfig.h
echo '#endif'                                   >> tconfig.h
echo '#define USED_FOR_TARGET'                  >> tconfig.h
echo '#endif /* GCC_TCONFIG_H */'               >> tconfig.h
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tm.h
echo '#ifndef GCC_TM_H'                         > tm.h
echo '#define GCC_TM_H'                         >> tm.h
echo '#ifdef IN_GCC'                            >> tm.h
echo '#include "i386/i386.h"'                           >> tm.h
echo '#include "i386/unix.h"'                           >> tm.h
echo '#include "i386/att.h"'                            >> tm.h
echo '#include "dbxelf.h"'                              >> tm.h
echo '#include "elfos.h"'                               >> tm.h
echo '#include "freebsd-native.h"'                              >> tm.h
echo '#include "freebsd-spec.h"'                                >> tm.h
echo '#include "freebsd.h"'                             >> tm.h
echo '#include "i386/freebsd.h"'                                >> tm.h
echo '#include "defaults.h"'                            >> tm.h
echo '#if !defined GENERATOR_FILE && !defined USED_FOR_TARGET' >> tm.h
echo '# include "insn-constants.h"'             >> tm.h
echo '# include "insn-flags.h"'                 >> tm.h
echo '#endif'                                   >> tm.h
echo '#endif'                                   >> tm.h
echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h
echo '#endif /* GCC_TM_H */'                    >> tm.h
rm -f .depend
mkdep -f .depend -a -DCRT_BEGIN   -DIN_GCC -DHAVE_LD_EH_FRAME_HDR 
-I/usr/src/gnu/lib/csu/../../../contrib/gcc/config 
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. 
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools 
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
In file included from 
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:60:
/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/auto-host.h:4:23: 
sys/param.h: No such file or directory
/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/auto-host.h:5:24: 
sys/endian.h: No such file or directory
In file included from 
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:62:
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:44:20: stddef.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:45:19: float.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:76:20: stdarg.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:79:19: stdio.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:82:23: sys/types.h: 
No such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:85:19: errno.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:92:20: string.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:93:20: stdlib.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:94:20: unistd.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:97:20: limits.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:100:18: time.h: No 
such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/gnu/lib/csu.
*** Error code 1

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


/Stephan

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

Message: 4
Date: Mon, 9 Aug 2004 11:07:23 +0200
From: Philip Paeps <philip@freebsd.org>
Subject: Re: [PLEASE TEST] Better support for Synaptics Touchpads
To: freebsd-current@freebsd.org
Message-ID: <20040809090723.GI642@loge.nixsys.be>
Content-Type: text/plain; charset=us-ascii

On 2004-08-08 21:46:09 (-0500), Jon Drews <jon.drews@gmail.com> wrote:
> On Thu, 5 Aug 2004 09:12:36 +0200, Philip Paeps <philip@freebsd.org> wrote:
> > Since the original synaptics support was added to psm, there have been
> > some reports of malfunctions and missing magic.  I've tried to fix all
> > that, but it's still work in progress.
> 
> I get freezes when I attempt to configure my synaptics touchpad,
> with sysinstall.

Which revision of psm.c is this?  r1.71 or r1.76?

> dmesg output:     psm0: model Synaptics Touchpad, device ID 0

Could you also post the 'info*' and 'cap*' lines from a verbose boot?

> I will apply your patch tonight and test again.

Thanks.  It's in -current now by the way.

 - Philip

-- 
Philip Paeps                                    Please don't Cc me, I am
philip@freebsd.org                               subscribed to the list.

  BOFH Excuse #29:
    It works the way the Wang did, what's the problem

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

Message: 5
Date: Mon, 9 Aug 2004 02:07:40 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
	fixes)
To: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <20040809090740.GB31766@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii

On Tue, Aug 03, 2004 at 08:31:15PM +0200, Oliver Eikemeier wrote:
> As usual, file(1) has to follow. Anyway, since it works for now, and 
> currently there is no reason to break it, why is it bad? I actually like 
> that feature, and it is useful for debugging ports that should have been 
> recompiled after a system upgrade.

Sounds like you're trying to work around bugs in the Ports Collection,
please go fix those bugs and use the proper tool for the job.

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

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

Message: 6
Date: Mon, 9 Aug 2004 11:19:29 +0200
From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
	fixes)
To: obrien@freebsd.org
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <37C15666-E9E5-11D8-9C56-00039312D914@fillmore-labs.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

David O'Brien wrote:

> On Tue, Aug 03, 2004 at 08:31:15PM +0200, Oliver Eikemeier wrote:
>> As usual, file(1) has to follow. Anyway, since it works for now, and
>> currently there is no reason to break it, why is it bad? I actually 
>> like
>> that feature, and it is useful for debugging ports that should have 
>> been
>> recompiled after a system upgrade.
>
> Sounds like you're trying to work around bugs in the Ports Collection,
> please go fix those bugs and use the proper tool for the job.

Could you please elaborate which bugs you are referring to? The current 
file(1) works fine for me in this aspect, so what are better tools for 
the job?

-Oliver


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

Message: 7
Date: Mon, 9 Aug 2004 02:28:56 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
	fixes)
To: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <20040809092856.GA33479@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii

On Mon, Aug 09, 2004 at 11:19:29AM +0200, Oliver Eikemeier wrote:
> David O'Brien wrote:
> 
> >On Tue, Aug 03, 2004 at 08:31:15PM +0200, Oliver Eikemeier wrote:
> >>As usual, file(1) has to follow. Anyway, since it works for now, and
> >>currently there is no reason to break it, why is it bad? I actually 
> >>like
> >>that feature, and it is useful for debugging ports that should have 
> >>been
> >>recompiled after a system upgrade.
> >
> >Sounds like you're trying to work around bugs in the Ports Collection,
> >please go fix those bugs and use the proper tool for the job.
> 
> Could you please elaborate which bugs you are referring to? The current 
> file(1) works fine for me in this aspect, so what are better tools for 
> the job?

It appears you're concerned when FreeBSD X.Y comes out, you've got ports
compiled on X.(Y-1).  This is not a problem, and I'm not sure why you
feel it is that you appear to run file(1) across all of /usr/local and
/usr/X11R6 and reinstall any binaries you find from X.(Y-1).  Since X.Y
will run X.(Y-1) binaries just fine I'm not sure why you have this need.
portupgrade(8) is the proper tool to refresh all your ports.  If you find
that X.Y can't run an X.(Y-1) binary then the root cause of that bug
should be fixed.

I don't see that your method of running file(1) across everything scales
well to the typical user.

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

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

Message: 8
Date: Mon, 09 Aug 2004 12:31:42 +0300
From: Danny Braniss <danny@cs.huji.ac.il>
Subject: Re: Need help: buildworld for CURRENT while under STABLE is
	not  working
To: "Michael C. Shultz" <ringworm@inbox.lv>
Cc: YONETANI Tomokazu <qhwt+freebsd-current@les.ath.cx>
Message-ID: <20040809093143.B2FFD43D1D@mx1.FreeBSD.org>
Content-Type: text/plain; charset=us-ascii

> On Sunday 08 August 2004 06:51 am, you wrote:
> > > --Boundary-00=_yfRFBa4bKiL1gzl
> > > Content-Type: text/plain;
> > >   charset="us-ascii"
> > > Content-Transfer-Encoding: 7bit
> > > Content-Disposition: inline
> > >
> > > I have STABLE on ad0 and a working snapshot of CURRENT on ad1, I am
> > > trying to run:
> > >
> > > make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep
> > > getting the following error: (Note: cvsup'ed just before running make
> > > build world still didn't help, neither does cleaning before hand...) 
> > > I'll attach my make.conf in case that helps...
> >
> > type
> > 	make buildworld
> > then when you  are ready to install:
> > 	make installworld DESTDIR=/ad1
> > (notice no -DESTDIR ...)
> >
> > danny
> 
> OK, I just tried that after cleaning the tree and   Igetexaclt y the same 
> failure:
> 
> ===> usr.sbin/bsnmpd/gensnmptree
> /usr/obj/ad1/usr/src/i386/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree created 
> for /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree
> rm -f .depend
> mkdep -f .depend -a    
> -I/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/lib 
> -I/usr/obj/ad1/usr/src/i386/legacy/usr/include /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c
> /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c:66: 
> stdint.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
> 
> Stop in /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree.
> *** Error code 1
> 
> Stop in /ad1/usr/src.
> *** Error code 1
> 
> Stop in /ad1/usr/src.
> *** Error code 1
> 
> Stop in /ad1/usr/src.
> 
> Now here are the locations of stdint.h on my system:
> [mike]/ad1/usr/src>locate stdint.h
> /ad1/usr/include/machine/_stdint.h
> /ad1/usr/include/stdint.h
> /ad1/usr/include/sys/stdint.h
> /ad1/usr/src/sys/alpha/include/_stdint.h
> /ad1/usr/src/sys/amd64/include/_stdint.h
> /ad1/usr/src/sys/arm/include/_stdint.h
> /ad1/usr/src/sys/i386/include/_stdint.h
> /ad1/usr/src/sys/ia64/include/_stdint.h
> /ad1/usr/src/sys/powerpc/include/_stdint.h
> /ad1/usr/src/sys/sparc64/include/_stdint.h
> /ad1/usr/src/sys/sys/stdint.h
> [mike]/ad1/usr/src>
> 
> It wants to pull from /usr/include.  I tested this by putting a soft link 
> from /usr/include/stdint.h to /ad1/usr/include/stdint.h and it got past that 
> one error to only error on another header file.  It is my understanding that
> only header files from under (in my case)/ad1/usr/src should be needed to 
> compile the world correct?
> 
> -Mike

after my last cvsupdate, now im also suffering from this :-(,
the problem is indeed in /usr/src/usr.sbin/bsnmpd/gensnmptree/gensnmptree.c,
i simply removed the offending include and now it's at least cross compiling.

danny



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

Message: 9
Date: Mon, 9 Aug 2004 11:36:52 +0200
From: Stijn Hoop <stijn@win.tue.nl>
Subject: Re: slice weirdness
To: Allan Fields <bsd@afields.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <20040809093652.GE91609@pcwin002.win.tue.nl>
Content-Type: text/plain; charset="us-ascii"

On Mon, Aug 09, 2004 at 04:19:01AM -0400, Allan Fields wrote:
> Something to try: once in a kernel, try either not using devfs or
> manually creating device nodes and see if you can make it work with
> ad1s2.

Will do tomorrow.

> > > i.e. if you were to go the sysinstall route and do a fresh install
> > > on ad1, exhibit same behaviour?
> > 
> > Yes, it does. I didn't use sysinstall but 'make installworld' but either
> > doing fdisk / disklabel by hand or by doing it using sysinstall, both
> > methods stop at the same 'cannot find root' prompt when booting off the
> > slice. A reboot into the old install later and my device entry is gone
> > again.
> 
> You mean you can't see the new ad1s2 slice from a kernel booted off
> ad0 either?  Which would be consistent to the problem.

Exactly, but as far as I can determine it only disappears if I boot from the
new slice (which is why I suspect geometry bugs; I guess something in the
bootblocks/loader is writing something to the disk which foobar's the new
slice).

> Try:
> sysctl -b kern.geom.confxml

Great, will try tomorrow (machine's at home and I won't be until late tonight).

--Stijn

-- 
In the force if Yoda's so strong, construct a sentence with words in
the proper order then why can't he?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040809/b2bbbba3/attachment-0001.bin

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

Message: 10
Date: Mon, 9 Aug 2004 11:39:08 +0200 (CEST)
From: Harti Brandt <harti@freebsd.org>
Subject: Re: Need help: buildworld for CURRENT while under STABLE is
	not  working
To: Danny Braniss <danny@cs.huji.ac.il>
Cc: YONETANI Tomokazu <qhwt+freebsd-current@les.ath.cx>
Message-ID: <20040809113434.T12541@beagle.kn.op.dlr.de>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 9 Aug 2004, Danny Braniss wrote:

DB>> On Sunday 08 August 2004 06:51 am, you wrote:
DB>> > > --Boundary-00=_yfRFBa4bKiL1gzl
DB>> > > Content-Type: text/plain;
DB>> > >   charset="us-ascii"
DB>> > > Content-Transfer-Encoding: 7bit
DB>> > > Content-Disposition: inline
DB>> > >
DB>> > > I have STABLE on ad0 and a working snapshot of CURRENT on ad1, I am
DB>> > > trying to run:
DB>> > >
DB>> > > make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep
DB>> > > getting the following error: (Note: cvsup'ed just before running make
DB>> > > build world still didn't help, neither does cleaning before hand...) 
DB>> > > I'll attach my make.conf in case that helps...
DB>> >
DB>> > type
DB>> > 	make buildworld
DB>> > then when you  are ready to install:
DB>> > 	make installworld DESTDIR=/ad1
DB>> > (notice no -DESTDIR ...)
DB>> >
DB>> > danny
DB>> 
DB>> OK, I just tried that after cleaning the tree and   Igetexaclt y the same 
DB>> failure:
DB>> 
DB>> ===> usr.sbin/bsnmpd/gensnmptree
DB>> /usr/obj/ad1/usr/src/i386/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree created 
DB>> for /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree
DB>> rm -f .depend
DB>> mkdep -f .depend -a    
DB>> -I/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/lib 
DB>> -I/usr/obj/ad1/usr/src/i386/legacy/usr/include /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c
DB>> /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c:66: 
DB>> stdint.h: No such file or directory
DB>> mkdep: compile failed
DB>> *** Error code 1
DB>> 
DB>> Stop in /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree.
DB>> *** Error code 1
DB>> 
DB>> Stop in /ad1/usr/src.
DB>> *** Error code 1
DB>> 
DB>> Stop in /ad1/usr/src.
DB>> *** Error code 1
DB>> 
DB>> Stop in /ad1/usr/src.
DB>> 
DB>> Now here are the locations of stdint.h on my system:
DB>> [mike]/ad1/usr/src>locate stdint.h
DB>> /ad1/usr/include/machine/_stdint.h
DB>> /ad1/usr/include/stdint.h
DB>> /ad1/usr/include/sys/stdint.h
DB>> /ad1/usr/src/sys/alpha/include/_stdint.h
DB>> /ad1/usr/src/sys/amd64/include/_stdint.h
DB>> /ad1/usr/src/sys/arm/include/_stdint.h
DB>> /ad1/usr/src/sys/i386/include/_stdint.h
DB>> /ad1/usr/src/sys/ia64/include/_stdint.h
DB>> /ad1/usr/src/sys/powerpc/include/_stdint.h
DB>> /ad1/usr/src/sys/sparc64/include/_stdint.h
DB>> /ad1/usr/src/sys/sys/stdint.h
DB>> [mike]/ad1/usr/src>
DB>> 
DB>> It wants to pull from /usr/include.  I tested this by putting a soft link 
DB>> from /usr/include/stdint.h to /ad1/usr/include/stdint.h and it got past that 
DB>> one error to only error on another header file.  It is my understanding that
DB>> only header files from under (in my case)/ad1/usr/src should be needed to 
DB>> compile the world correct?
DB>> 
DB>> -Mike
DB>
DB>after my last cvsupdate, now im also suffering from this :-(,
DB>the problem is indeed in /usr/src/usr.sbin/bsnmpd/gensnmptree/gensnmptree.c,
DB>i simply removed the offending include and now it's at least cross compiling.

Removing the include is problematic because the program needs the fixed 
size integer types (uint32_t for example). The correct thing to get these 
is to include <stdint.h> (see 7.19 of C99). There appears to be another 
header defining these types that probably shouldn't do this.

I'm currently looking into properly getting tools/build/Makefile to 
install the necessary file into 
${MAKEOBJDIRPREFIX}/usr/src/{MACHINE}/legacy/include. That appears to be 
not easy, because stdint.h is a symbolic link to sys/stdint.h which in 
turn needs sys/_types.h, machine/_stdint.h which in turn needs 
machine/_types.h. Argh....

harti

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

Message: 11
Date: Mon, 09 Aug 2004 10:41:22 +0100
From: Mike Bristow <mike@urgle.com>
Subject: Re: panic: mutex vr0 not owned at ...if_vr.c:571 when doing
	ifconfig
To: freebsd-current@freebsd.org
Message-ID: <1092044482.20927.35.camel@singsing.eng.demon.net>
Content-Type: text/plain

On Sat, 2004-08-07 at 18:19, Andreas Kohn wrote:
> Hi,
> 
> with sources from earlier today, I get a panic when doing ifconfig (no
> arguments):

I saw the same thing earlier this week;  PR 70189 contains a patch that
works for me.

(Sorry for the repetition, Andreas:  I forgot to CC the list)

-- 
Mike Bristow - http://www.urgle.com/~mike/ - mike@urgle.com
Why didn't the skeleton go to the New Years Eve party?
A naughty bus

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

Message: 12
Date: Mon, 09 Aug 2004 12:42:03 +0300
From: Maxim Sobolev <sobomax@portaone.com>
Subject: Re: Simple BDE disc encryption benchmark
To: Daniel Eriksson <daniel_k_eriksson@telia.com>
Cc: freebsd-current@FreeBSD.ORG
Message-ID: <411746EB.5030006@portaone.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Daniel Eriksson wrote:

> Hi! I just ran a very simple benchmark on the GBDE disc encryption in
> CURRENT. The benchmark setup looked like this:
> 
> * Slow machine (Celeron 366, 128MB mem)
> * 5-CURRENT from yesterday, running off of some old ATA disc
> * 2 x 9GB 10k rpm SCSI discs hooked up to an Adaptec 2940
> 
> The benchmark was to copy the /usr directory (copied from the ATA disc,
> 1.7GB) or a directory containing big files (/bigfiles, 1.7GB in 16 files
> created by 'dd if=/dev/random ...') from scsi disc 1 to scsi disc 2. I ran
> each benchmark twice and took a simple average of the results.
> 
> unencrypted to unencrypted:
> /usr     :  697 real        10.6 user       235 sys  (~50 135120328dle)
> /bigfiles:  123 real         0.4 user        84 sys  (~25 135120328dle)
> 
> unencrypted to encrypted:
> /usr     : 1778 real        10.7 user       236 sys  (~35 135120328dle)
> /bigfiles:  379 real         0.4 user        82 sys  (~10 135120328dle)
> 
> encrypted to encrypted:
> /usr     : 1978 real        11.6 user       242 sys  (~25 135120328dle)
> /bigfiles:  615 real         0.4 user        80 sys  (0 135120328dle)
> 
> The only time the CPU was completely busy was when copying /bigfiles from
> encrypted to encrypted.
> 
> My question is: Why does the it take so much longer when encryption is
> involved even though 'top' seems to think there are CPU cycles left to burn?

The problem (well, not quite "the problem" since it is design decision) 
is that GBDE tries to rearrange sectors in pseudo-random fashion to make 
cryptoanalysis harder. Usually filesystem tries to place all sectors 
that belong to the same file consequently, to avoid expensive disk 
seeks. But on encrypted disk logically ajaced sectors are physically 
spread, so that reading them introduces seek delays.

-Maxim

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

Message: 13
Date: Mon, 9 Aug 2004 11:48:04 +0200
From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
	fixes)
To: obrien@freebsd.org
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <35CE94B0-E9E9-11D8-9C56-00039312D914@fillmore-labs.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

David O'Brien wrote:

> On Mon, Aug 09, 2004 at 11:19:29AM +0200, Oliver Eikemeier wrote:
>> David O'Brien wrote:
>>
>>> On Tue, Aug 03, 2004 at 08:31:15PM +0200, Oliver Eikemeier wrote:
>>>> As usual, file(1) has to follow. Anyway, since it works for now, and
>>>> currently there is no reason to break it, why is it bad? I actually
>>>> like
>>>> that feature, and it is useful for debugging ports that should have
>>>> been
>>>> recompiled after a system upgrade.
>>>
>>> Sounds like you're trying to work around bugs in the Ports Collection,
>>> please go fix those bugs and use the proper tool for the job.
>>
>> Could you please elaborate which bugs you are referring to? The current
>> file(1) works fine for me in this aspect, so what are better tools for
>> the job?
>
> It appears you're concerned when FreeBSD X.Y comes out, you've got ports
> compiled on X.(Y-1).  This is not a problem, and I'm not sure why you
> feel it is that you appear to run file(1) across all of /usr/local and
> /usr/X11R6 and reinstall any binaries you find from X.(Y-1).  Since X.Y
> will run X.(Y-1) binaries just fine I'm not sure why you have this need.
> portupgrade(8) is the proper tool to refresh all your ports.  If you 
> find
> that X.Y can't run an X.(Y-1) binary then the root cause of that bug
> should be fixed.

You might notice that 5.3-RELEASE won't run all 5.2.1-RELEASE binaries.

> I don't see that your method of running file(1) across everything scales
> well to the typical user.

The magic word here is `debugging' (see above). When you read 
src/UPDATING you might notice that some updates require recompilation of 
affected ports. It is very convenient to let users submitting bug 
reports run file(1) on the affected binary, and, given that it has been 
compiled on an older release, tell them that they missed the entry in 
UPDATING, which suggested to recompile the port.


-Oliver


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

Message: 14
Date: Mon, 09 Aug 2004 11:55:47 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: Simple BDE disc encryption benchmark 
To: Maxim Sobolev <sobomax@portaone.com>
Cc: freebsd-current@freebsd.org
Message-ID: <17520.1092045347@critter.freebsd.dk>

In message <411746EB.5030006@portaone.com>, Maxim Sobolev writes:

>> The only time the CPU was completely busy was when copying /bigfiles from
>> encrypted to encrypted.
>> 
>> My question is: Why does the it take so much longer when encryption is
>> involved even though 'top' seems to think there are CPU cycles left to burn?
>
>The problem (well, not quite "the problem" since it is design decision) 
>is that GBDE tries to rearrange sectors in pseudo-random fashion to make 
>cryptoanalysis harder. Usually filesystem tries to place all sectors 
>that belong to the same file consequently, to avoid expensive disk 
>seeks. But on encrypted disk logically ajaced sectors are physically 
>spread, so that reading them introduces seek delays.

Uhm, this is not quite correct.

It is true that I played around with pseudo-random sector mapping a
fair bit, but since it _totally_ killed performance I dropped it
again.

The mapping GBDE performs is sequential with inserted key sectors,
this was the most performance friendly layout I could come up with.

Poul-Henning

-- 
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: 15
Date: Mon, 9 Aug 2004 10:02:44 +0000
From: David O'Brien <obrien@FreeBSD.ORG>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
	fixes)
To: Jon Noack <noackjr@alumni.rice.edu>
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <20040809100244.GA17314@hub.freebsd.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Aug 02, 2004 at 07:59:14AM -0500, Jon Noack wrote:
> On 08/02/04 07:15, Oliver Eikemeier wrote:
> >I've prepared an upgrade to file-4.10 at:
> >  <http://people.freebsd.org/~eik/patches/fileup.shar>
> >This fixes
> >  PR bin/63830: [patch] file(1) doesn't recognize FreeBSD 5.x 
> >executables properly
> >
> >and an MFC will fix the problems of FreeBSD 4.10 being identified as 
> >4.9.1. I'll do some more testing (GCC 3.4) and think we should commit 
> >this before the 5.3 src freeze, especially since it has been discussed 
> >over a month ago:
> >  <http://lists.freebsd.org/pipermail/freebsd-current/2004-June/thread.html#30172>
> 
> *sigh*  Why does Christos Zoulas ignore me?  He keeps telling me he'll 
> include my patch and then includes someone else's that doesn't fix the 
> problems.  In any case, my patch (against file 4.09) to fix the versioning:
> http://www.noacks.org/freebsd/readelf.c.diff
> 
> I made a test program to compare the output.  Here's the way things 
> would look with file 4.10:
> http://www.noacks.org/freebsd/output-4.10.txt

This is getting really redicious.  Edwin Groothuis <edwin@mavetju.org>
should have never have submitted a patch that hardcoded -CURRENT in 4.08
and -STABLE in 4.10.  And we don't have offical "revisions" (nor
patchlevels, other than security branches), so that output is bad also.

The only reasonable thing that doesn't have us chasing this all over the
place is to print out the FreeBSD major version (and MAYBE the minor
versoin) and leave it at that.  The "FreeBSD" section of file(1)'s
readelf.c has gotten beyond control.

> few months when 5.x goes -STABLE and 6.x appears.  Better not to print 
> branch names at all (for dev branches I just print the whole version 
> value in parentheses).  There are other minor nits like 5.0.4 and 4.15.30...
> 
> Here's the output of my patch:
> http://www.noacks.org/freebsd/output.txt

This output is mostly OK -- but I would drop the __FreeBSD_version.  I
can't see how knowing that helps anyone.  If it is insisted on keeping
it, it should be printed out consistently for *all* __FreeBSD_verions,
not just some.

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

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

Message: 16
Date: Mon, 9 Aug 2004 12:19:40 +0200
From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
	fixes)
To: obrien@freebsd.org
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <9FD3F4B2-E9ED-11D8-9C56-00039312D914@fillmore-labs.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

David O'Brien wrote:

> This output is mostly OK -- but I would drop the __FreeBSD_version.  I
> can't see how knowing that helps anyone.  If it is insisted on keeping
> it, it should be printed out consistently for *all* __FreeBSD_verions,
> not just some.

Please don't. This has been proven very valuable, for example for the 
5.1 -> 5.2 transition, see entry 20031112 in src/UPDATING. -STABLEs 
mostly do not have such problems, but usually you'll notice stuff like 
this when it is too late.

-Oliver


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

Message: 17
Date: Mon,  9 Aug 2004 07:23:31 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/i386
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<i386@freebsd.org>
Message-ID: <20040809112331.C05997303F@freebsd-current.sentex.ca>

TB --- 2004-08-09 11:14:54 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-09 11:14:54 - starting CURRENT tinderbox run for i386/i386
TB --- 2004-08-09 11:14:54 - checking out the source tree
TB --- 2004-08-09 11:14:54 - cd /home/tinderbox/sandbox/CURRENT/i386/i386
TB --- 2004-08-09 11:14:54 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-09 11:20:53 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-08-09 11:20:53 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-09 11:20:53 - /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
[...]
===> usr.bin/awk
yacc -d -o awkgram.c /tinderbox/CURRENT/i386/i386/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y
yacc: 43 shift/reduce conflicts
yacc: 85 reduce/reduce conflicts
ln -sf awkgram.h ytab.h
cc -O2 -pipe -DHAS_ISBLANK -I. -I/tinderbox/CURRENT/i386/i386/src/usr.bin/awk/../../contrib/one-true-awk  -I/home/tinderbox/sandbox/CURRENT/i386/i386/obj/tinderbox/CURRENT/i386/i386/src/i386/legacy/usr/include  -L/home/tinderbox/sandbox/CURRENT/i386/i386/obj/tinderbox/CURRENT/i386/i386/src/i386/legacy/usr/lib /tinderbox/CURRENT/i386/i386/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
===> usr.bin/file
make: don't know how to make build-tools. Stop
*** Error code 2

Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src.
TB --- 2004-08-09 11:23:31 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-09 11:23:31 - ERROR: failed to build world
TB --- 2004-08-09 11:23:31 - tinderbox aborted


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

Message: 18
Date: Mon,  9 Aug 2004 07:28:38 -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: <20040809112838.4E5BA7303F@freebsd-current.sentex.ca>

TB --- 2004-08-09 11:23:31 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-09 11:23:31 - starting CURRENT tinderbox run for i386/pc98
TB --- 2004-08-09 11:23:31 - checking out the source tree
TB --- 2004-08-09 11:23:31 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98
TB --- 2004-08-09 11:23:31 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-09 11:25:53 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-08-09 11:25:53 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-08-09 11:25:53 - /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
[...]
===> usr.bin/awk
yacc -d -o awkgram.c /tinderbox/CURRENT/i386/pc98/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y
yacc: 43 shift/reduce conflicts
yacc: 85 reduce/reduce conflicts
ln -sf awkgram.h ytab.h
cc -O2 -pipe -DHAS_ISBLANK -I. -I/tinderbox/CURRENT/i386/pc98/src/usr.bin/awk/../../contrib/one-true-awk  -I/home/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/i386/legacy/usr/include  -L/home/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/i386/legacy/usr/lib /tinderbox/CURRENT/i386/pc98/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
===> usr.bin/file
make: don't know how to make build-tools. Stop
*** Error code 2

Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src.
TB --- 2004-08-09 11:28:38 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-09 11:28:38 - ERROR: failed to build world
TB --- 2004-08-09 11:28:38 - tinderbox aborted


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

Message: 19
Date: Mon, 9 Aug 2004 13:33:22 +0200
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject: Re: geom stripe/concat metadata suggestion
To: Sam Lawrance <boris@brooknet.com.au>
Cc: current@FreeBSD.org
Message-ID: <20040809113322.GL628@darkness.comp.waw.pl>
Content-Type: text/plain; charset="iso-8859-2"

On Fri, Aug 06, 2004 at 09:38:21PM +1000, Sam Lawrance wrote:
+> Would it be a good idea to store the device name, or something similar,
+> in the metadata?
+> 
+> For example, if I have a disk divided like this:
+> 
+>  |--------------ad0--------------|
+>  |-------------ad0s1-------------|
+>  |----ad0s1g-----|-----ad0s1d----|
+> 
+> The metadata is written into the last sector, so when the stripe/concat
+> classes are tasting they can't work out whether it belongs to ad0s1d,
+> ad0s1 or ad0.
+> 
+> I've had problems creating stripes and concats with this configuration.

I added '-h' option for 'label' command in gconcat(8), gstripe(8) and
gmirror(8), which hardcode providers' names into metadata.

Thank you.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040809/2ca176fc/attachment-0001.bin

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

Message: 20
Date: Mon,  9 Aug 2004 07:38:40 -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: <20040809113840.56CF47303F@freebsd-current.sentex.ca>

TB --- 2004-08-09 11:28:38 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-09 11:28:38 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-08-09 11:28:38 - cleaning the sandbox
TB --- 2004-08-09 11:29:58 - checking out the source tree
TB --- 2004-08-09 11:29:58 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-08-09 11:29:58 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-09 11:36:45 - WARNING: /home/tinderbox/sandbox/ia64.diff does not exist
TB --- 2004-08-09 11:36:45 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-09 11:36:45 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src
TB --- 2004-08-09 11:36:45 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> 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
[...]
===> usr.bin/awk
yacc -d -o awkgram.c /tinderbox/CURRENT/ia64/ia64/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y
yacc: 43 shift/reduce conflicts
yacc: 85 reduce/reduce conflicts
ln -sf awkgram.h ytab.h
cc -O -pipe -DHAS_ISBLANK -I. -I/tinderbox/CURRENT/ia64/ia64/src/usr.bin/awk/../../contrib/one-true-awk  -I/home/tinderbox/sandbox/CURRENT/ia64/ia64/obj/ia64/tinderbox/CURRENT/ia64/ia64/src/i386/legacy/usr/include  -L/home/tinderbox/sandbox/CURRENT/ia64/ia64/obj/ia64/tinderbox/CURRENT/ia64/ia64/src/i386/legacy/usr/lib /tinderbox/CURRENT/ia64/ia64/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
===> usr.bin/file
make: don't know how to make build-tools. Stop
*** Error code 2

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-08-09 11:38:40 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-09 11:38:40 - ERROR: failed to build world
TB --- 2004-08-09 11:38:40 - tinderbox aborted


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

Message: 21
Date: Mon,  9 Aug 2004 07:49:46 -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: <20040809114946.A15D27303F@freebsd-current.sentex.ca>

TB --- 2004-08-09 11:38:40 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-09 11:38:40 - starting CURRENT tinderbox run for powerpc/powerpc
TB --- 2004-08-09 11:38:40 - cleaning the sandbox
TB --- 2004-08-09 11:40:01 - checking out the source tree
TB --- 2004-08-09 11:40:01 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc
TB --- 2004-08-09 11:40:01 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-09 11:47:52 - patching the sources
TB --- 2004-08-09 11:47:52 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src
TB --- 2004-08-09 11:47:52 - /usr/bin/patch -f -s -i/home/tinderbox/sandbox/powerpc.diff
TB --- 2004-08-09 11:47:52 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-09 11:47:52 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src
TB --- 2004-08-09 11:47:52 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> 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
[...]
===> usr.bin/awk
yacc -d -o awkgram.c /tinderbox/CURRENT/powerpc/powerpc/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y
yacc: 43 shift/reduce conflicts
yacc: 85 reduce/reduce conflicts
ln -sf awkgram.h ytab.h
cc -O -pipe -DHAS_ISBLANK -I. -I/tinderbox/CURRENT/powerpc/powerpc/src/usr.bin/awk/../../contrib/one-true-awk  -I/home/tinderbox/sandbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/src/i386/legacy/usr/include  -L/home/tinderbox/sandbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/src/i386/legacy/usr/lib /tinderbox/CURRENT/powerpc/powerpc/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
===> usr.bin/file
make: don't know how to make build-tools. Stop
*** Error code 2

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-08-09 11:49:46 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-09 11:49:46 - ERROR: failed to build world
TB --- 2004-08-09 11:49:46 - tinderbox aborted


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

Message: 22
Date: Sun, 8 Aug 2004 19:30:23 +0200 (CEST)
From: Barry Bouwsma
	<freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk>
Subject: Re: Need help: buildworld for CURRENT while under STABLE is
	not	working
To: freebsd-current@freebsd.org
Message-ID: <200408081730.i78HUN320899@Mail.NOSPAM.DynDNS.dK>

[keep replies to the list and I'll catch up later, thanks]

> > make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep getting the 
> > following error

> Do you get the same error if you run `make buildworld' without
> -DDESTDIR=/ad1 ?

I get the same error (new, since a successful build or at least
a build way past that point, several days ago).

<stdint.h> is not present in my -stable.  I'm able to work around
this requirement in the newly-updated bsnmp by adding the following
dirty hack:


--- /stand/obj/hacks/FreeBSD-CURRENT-src/source-hacks/tools/build/Makefile-ORIG	Mon Mar  1 18:47:38 2004
+++ /stand/obj/hacks/FreeBSD-CURRENT-src/source-hacks/tools/build/Makefile	Sun Aug  8 18:32:44 2004
@@ -63,6 +63,11 @@
 INCS+=		regex.h
 .endif
 
+### HACK  -stable crossbuilds (at least mine) don't have <stdint.h>
+.if !exists(/usr/include/stdint.h)
+INCS+=		stdint.h
+.endif
+
 .if empty(SRCS)
 SRCS=		dummy.c
 .endif



(shoot me if it's /usr/include/something/stdint.h; I don't have a
successful build for any OS in front of me.  anyway...)

For -stable, the mere presence of this file is enough to make the
build progress past this point.  Attempting to create a useful
stdint.h file in tools/build didn't quite do the job, so I took
the easy way out.

Of course someone who knows what they're doing can properly
unbreak crossbuilds on -stable; I can do little more than a hack.

(whether my build breaks further down the line, time will tell,
my machine is slow and old, like me)


thanks
barry bouwsma


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

Message: 23
Date: Sun, 08 Aug 2004 16:55:36 -0700
From: Joao Pedras <jpedras@webvolution.net>
Subject: Re: x server breakage?
To: T Kellers <timothyk@devel.njit.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <4116BD78.1000909@webvolution.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

Tim,

did you figure this one out? After I added 'io' it started complaining 
about /dev/vga not
being there.

The xserver log error is 'xf86MapVidMem: Could not mmap /dev/vga 
(Invalid argument)

I do have 'device vga' in the kernel.

Thanks!

T Kellers wrote:

>On Saturday 07 August 2004 05:38 pm, David Wolfskill wrote:
>  
>
>>Do you have
>>
>>device          io              # I/O device
>>
>>
>>in your kernel config?  If not, did you read /usr/src/UPDATING?
>>
>>Peace,
>>david
>>    
>>
>
>20040802:
>        making /dev/(null|zero) into a module proved to be too unpopular,
>        so this bit has been revoked from the previous (20040801) entry.
>
>20040801:
>        The /dev/mem, /dev/io /dev/(null/zero) devices are now modules,
>        so you may wish to add them to your kernel config file. See
>        GENERIC for examples.
>
>I thought the note on  20040802 backed out all the changes referenced in the 
>note from 20040801, including /dev/io.  
>
>I'll try putting /dev/io in the kernel.
>
>Thanks
>
>Tim
>
>  
>


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

Message: 24
Date: Mon, 9 Aug 2004 21:13:16 +1000
From: Edwin Groothuis <edwin@mavetju.org>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
	fixes)
To: David O'Brien <obrien@FreeBSD.ORG>
Cc: current@freebsd.org
Message-ID: <20040809111316.GJ1826@k7.mavetju>
Content-Type: text/plain; charset=us-ascii

On Mon, Aug 09, 2004 at 10:02:44AM +0000, David O'Brien wrote:
> On Mon, Aug 02, 2004 at 07:59:14AM -0500, Jon Noack wrote:
> > On 08/02/04 07:15, Oliver Eikemeier wrote:
> > >I've prepared an upgrade to file-4.10 at:
> > >  <http://people.freebsd.org/~eik/patches/fileup.shar>
> > >This fixes
> > >  PR bin/63830: [patch] file(1) doesn't recognize FreeBSD 5.x 
> > >executables properly
> > >
> > >and an MFC will fix the problems of FreeBSD 4.10 being identified as 
> > >4.9.1. I'll do some more testing (GCC 3.4) and think we should commit 
> > >this before the 5.3 src freeze, especially since it has been discussed 
> > >over a month ago:
> > >  <http://lists.freebsd.org/pipermail/freebsd-current/2004-June/thread.html#30172>
> > 
> > *sigh*  Why does Christos Zoulas ignore me?  He keeps telling me he'll 
> > include my patch and then includes someone else's that doesn't fix the 
> > problems.  In any case, my patch (against file 4.09) to fix the versioning:
> > http://www.noacks.org/freebsd/readelf.c.diff
> > 
> > I made a test program to compare the output.  Here's the way things 
> > would look with file 4.10:
> > http://www.noacks.org/freebsd/output-4.10.txt
> 
> This is getting really redicious.  Edwin Groothuis <edwin@mavetju.org>
> should have never have submitted a patch that hardcoded -CURRENT in 4.08
> and -STABLE in 4.10.  And we don't have offical "revisions" (nor
> patchlevels, other than security branches), so that output is bad also.

Please have a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html
, please have a look at /usr/include/sys/param.h and come back with
patches if you still have problems.

This nonsense has gone on long enough. It will be better if you
explain where my thinking went wrong in a constructive way instaed
of this constant bickering like old women do. That way we all learn
something from it.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/

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

Message: 25
Date: Mon,  9 Aug 2004 08:00:07 -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: <20040809120007.A44BE7303F@freebsd-current.sentex.ca>

TB --- 2004-08-09 11:49:46 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-09 11:49:46 - starting CURRENT tinderbox run for sparc64/sparc64
TB --- 2004-08-09 11:49:46 - cleaning the sandbox
TB --- 2004-08-09 11:50:48 - checking out the source tree
TB --- 2004-08-09 11:50:48 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc64
TB --- 2004-08-09 11:50:48 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-09 11:58:15 - WARNING: /home/tinderbox/sandbox/sparc64.diff does not exist
TB --- 2004-08-09 11:58:15 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-09 11:58:15 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc64/src
TB --- 2004-08-09 11:58:15 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> 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
[...]
===> usr.bin/awk
yacc -d -o awkgram.c /tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y
yacc: 43 shift/reduce conflicts
yacc: 85 reduce/reduce conflicts
ln -sf awkgram.h ytab.h
cc -O -pipe -DHAS_ISBLANK -I. -I/tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/awk/../../contrib/one-true-awk  -I/home/tinderbox/sandbox/CURRENT/sparc64/sparc64/obj/sparc64/tinderbox/CURRENT/sparc64/sparc64/src/i386/legacy/usr/include  -L/home/tinderbox/sandbox/CURRENT/sparc64/sparc64/obj/sparc64/tinderbox/CURRENT/sparc64/sparc64/src/i386/legacy/usr/lib /tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
===> usr.bin/file
make: don't know how to make build-tools. Stop
*** Error code 2

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-08-09 12:00:07 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-09 12:00:07 - ERROR: failed to build world
TB --- 2004-08-09 12:00:07 - 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"

End of freebsd-current Digest, Vol 72, Issue 2
**********************************************


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


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