From owner-freebsd-current@FreeBSD.ORG Thu Dec 25 10:33:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E461106564A; Thu, 25 Dec 2008 10:33:10 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 573CB8FC1E; Thu, 25 Dec 2008 10:33:08 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=pgw_eo6bRDYA:10 a=JgwOP_QsqSoA:10 a=EmD7YgjV_IgLhmFRBxsA:9 a=MUpjq7cjewOrl6AN888A:7 a=0gGfXHuXH7zZWLARCKFC3xeE44gA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 781664455; Thu, 25 Dec 2008 11:33:07 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 25 Dec 2008 11:35:27 +0100 User-Agent: KMail/1.9.7 References: <20081222214010.GA18389@elvis.mu.org> <200812241212.02913.hselasky@c2i.net> <20081224214435.GA46772@localhost.my.domain> In-Reply-To: <20081224214435.GA46772@localhost.my.domain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812251135.28003.hselasky@c2i.net> Cc: Alexey Shuvaev , Renato Botelho , Alfred Perlstein Subject: Re: HEADSUP usb2 (usb4bsd) to become default in 2 weeks. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 10:33:10 -0000 On Wednesday 24 December 2008, Alexey Shuvaev wrote: > On Wed, Dec 24, 2008 at 12:12:02PM +0100, Hans Petter Selasky wrote: > > Hi, > > > > I have made some patches for this kind of issues which are not yet > > in -current. > > > > You can try to fetch the latest from: > > > > svn --username anonsvn --password anonsvn \ > > checkout svn://svn.turbocat.net/i4b > > > > cd i4b/trunk/i4b/src/sys/dev > > cp -r usb2 /sys/dev/ > > make -C /sys/modules/usb2 clean all install > > Hello! > > During buildworld I'm getting: > > ===> usr.bin/kdump (all) > cc -O2 -pipe -march=pentium4m -I/usr/src/usr.bin/kdump/../ktrace > -I/usr/src/usr. bin/kdump -I/usr/src/usr.bin/kdump/../.. -fstack-protector > -c /usr/src/usr.bin/ kdump/kdump.c > cc -O2 -pipe -march=pentium4m -I/usr/src/usr.bin/kdump/../ktrace > -I/usr/src/usr. bin/kdump -I/usr/src/usr.bin/kdump/../.. -fstack-protector > -c ioctl.c In file included from ioctl.c:55: > /usr/obj/usr/src/tmp/usr/include/dev/usb2/include/urio2_ioctl.h:27: error: > redef inition of 'struct RioCommand' > *** Error code 1 > > Stop in /usr/src/usr.bin/kdump. > *** Error code 1 > > > Some investigations: > [localhost] /usr/src/sys/dev/usb2> grep -R urio2_ioctl.h * > include/.svn/text-base/urio2_ioctl.h.svn-base:/* $FreeBSD: > src/sys/dev/usb2/include/urio2_ioctl.h,v 1.1 2008/11/04 02:31:03 alfred Exp > $ */ include/.svn/entries:urio2_ioctl.h > include/urio2_ioctl.h:/* $FreeBSD: > src/sys/dev/usb2/include/urio2_ioctl.h,v 1.1 2008/11/04 02:31:03 alfred Exp > $ */ > > After > localhost# rm sys/dev/usb2/include/urio2_ioctl.h > localhost# rm > /usr/obj/usr/src/tmp/usr/include/dev/usb2/include/urio2_ioctl.h > > and -DNO_CLEAN buildworld is gone beyond kdump > (doing honest buildworld takes more then 2.5 hours -> no fun :). > > Some stale file? The file is not in CVS: % less /usr/obj/usr/src/tmp/usr/include/dev/usb2/include/urio2_ioctl.h /usr/obj/usr/src/tmp/usr/include/dev/usb2/include/urio2_ioctl.h: No such file or directory I've removed the file from my private SVN. Maybe that is where you got the files from? --HPS