HEADSUP usb2 (usb4bsd) to become default in 2 weeks.

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Wed Dec 24 21:44:20 UTC 2008

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

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/
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/urio2_ioctl.h:/*  $FreeBSD: src/sys/dev/usb2/include/urio2_ioctl.h,v 1.1 2008/11/04 02:31:03 alfred Exp $ */

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?


More information about the freebsd-current mailing list