Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2008 11:35:27 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>, Renato Botelho <rbgarga@gmail.com>, Alfred Perlstein <alfred@freebsd.org>
Subject:   Re: HEADSUP usb2 (usb4bsd) to become default in 2 weeks.
Message-ID:  <200812251135.28003.hselasky@c2i.net>
In-Reply-To: <20081224214435.GA46772@localhost.my.domain>
References:  <20081222214010.GA18389@elvis.mu.org> <200812241212.02913.hselasky@c2i.net> <20081224214435.GA46772@localhost.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812251135.28003.hselasky>