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

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Thu, 25 Dec 2008 11:35:27 +0100
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
Received on Thu Dec 25 2008 - 09:33:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC