Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2009 10:08:52 -0500
From:      Randall Stewart <rrs@lakerest.net>
To:        current@freebsd.org
Subject:   Re: [head tinderbox] failure on i386/i386
Message-ID:  <BACD2281-C8EA-411C-80CD-BAAAAAEA33F7@lakerest.net>
In-Reply-To: <20090203143730.2CC3C7302F@freebsd-current.sentex.ca>
References:  <20090203143730.2CC3C7302F@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-24--184021460
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed
Content-Transfer-Encoding: 7bit

Hmm:

I hit this early this AM.. and did a quick hack patch
that will get around this. The function USB_MAKE_DEBUG.. is obviously
not making the array of strings... a quick comment out and a building
of the strings will get you through until the owner fixes this :-)


--Apple-Mail-24--184021460
Content-Disposition: attachment;
	filename=usb_quirk.patch
Content-Type: application/octet-stream; x-unix-mode=0644;
	name="usb_quirk.patch"
Content-Transfer-Encoding: 7bit

Index: usb2_quirk.c
===================================================================
--- usb2_quirk.c	(revision 188069)
+++ usb2_quirk.c	(working copy)
@@ -112,8 +112,33 @@
 	{USB_QUIRK_ENTRY(USB_VENDOR_METAGEEK, USB_PRODUCT_METAGEEK_WISPY24X, 0x0000, 0xFFFF, UQ_KBD_IGNORE, UQ_HID_IGNORE, UQ_NONE)},
 };
 
-USB_MAKE_DEBUG_TABLE(USB_QUIRK);
-
+/* USB_MAKE_DEBUG_TABLE(USB_QUIRK);*/
+char *USB_QUIRK[USB_QUIRK_MAX] = {
+	"UQ_NONE",
+	"UQ_AUDIO_SWAP_LR",	/* left and right sound channels are swapped */
+	"UQ_AU_INP_ASYNC",	/* input is async despite claim of adaptive */
+	"UQ_AU_NO_FRAC",		/* don't adjust for fractional samples */
+	"UQ_AU_NO_XU",		/* audio device has broken extension unit */
+	"UQ_BAD_ADC",		/* bad audio spec version number */
+	"UQ_BAD_AUDIO",		/* device claims audio class, but isn't */
+	"UQ_BROKEN_BIDIR",	/* printer has broken bidir mode */
+	"UQ_BUS_POWERED",		/* device is bus powered, despite claim */
+	"UQ_HID_IGNORE",		/* device should be ignored by hid class */
+	"UQ_KBD_IGNORE",		/* device should be ignored by kbd class */
+	"UQ_MS_BAD_CLASS",	/* doesn't identify properly */
+	"UQ_MS_LEADING_BYTE",	/* mouse sends an unknown leading byte */
+	"UQ_MS_REVZ",		/* mouse has Z-axis reversed */
+	"UQ_NO_STRINGS",		/* string descriptors are broken */
+	"UQ_OPEN_CLEARSTALL",	/* device needs clear endpoint stall */
+	"UQ_POWER_CLAIM",		/* hub lies about power status */
+	"UQ_SPUR_BUT_UP",		/* spurious mouse button up events */
+	"UQ_SWAP_UNICODE",	/* has some Unicode strings swapped */
+	"UQ_CFG_INDEX_1",		/* select configuration index 1 by default */
+	"UQ_CFG_INDEX_2",		/* select configuration index 2 by default */
+	"UQ_CFG_INDEX_3",		/* select configuration index 3 by default */
+	"UQ_CFG_INDEX_4",		/* select configuration index 4 by default */
+	"UQ_CFG_INDEX_0"		/* select configuration index 0 by default */
+};
 /*------------------------------------------------------------------------*
  *	usb2_quirkstr
  *

--Apple-Mail-24--184021460
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit




R


On Feb 3, 2009, at 9:37 AM, FreeBSD Tinderbox wrote:

> TB --- 2009-02-03 12:46:19 - tinderbox 2.6 running on freebsd- 
> current.sentex.ca
> TB --- 2009-02-03 12:46:19 - starting HEAD tinderbox run for i386/i386
> TB --- 2009-02-03 12:46:19 - cleaning the object tree
> TB --- 2009-02-03 12:46:52 - cvsupping the source tree
> TB --- 2009-02-03 12:46:52 - /usr/bin/csup -z -r 3 -g -L 1 -h  
> localhost -s /tinderbox/HEAD/i386/i386/supfile
> TB --- 2009-02-03 12:47:01 - building world
> TB --- 2009-02-03 12:47:01 - MAKEOBJDIRPREFIX=/obj
> TB --- 2009-02-03 12:47:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2009-02-03 12:47:01 - TARGET=i386
> TB --- 2009-02-03 12:47:01 - TARGET_ARCH=i386
> TB --- 2009-02-03 12:47:01 - TZ=UTC
> TB --- 2009-02-03 12:47:01 - __MAKE_CONF=/dev/null
> TB --- 2009-02-03 12:47:01 - cd /src
> TB --- 2009-02-03 12:47:01 - /usr/bin/make -B buildworld
>>>> World build started on Tue Feb  3 12:47:05 UTC 2009
>>>> 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
>>>> stage 3: cross tools
>>>> stage 4.1: building includes
>>>> stage 4.2: building libraries
>>>> stage 4.3: make dependencies
>>>> stage 4.4: building everything
>>>> World build completed on Tue Feb  3 14:07:10 UTC 2009
> TB --- 2009-02-03 14:07:10 - generating LINT kernel config
> TB --- 2009-02-03 14:07:10 - cd /src/sys/i386/conf
> TB --- 2009-02-03 14:07:10 - /usr/bin/make -B LINT
> TB --- 2009-02-03 14:07:11 - building LINT kernel
> TB --- 2009-02-03 14:07:11 - MAKEOBJDIRPREFIX=/obj
> TB --- 2009-02-03 14:07:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2009-02-03 14:07:11 - TARGET=i386
> TB --- 2009-02-03 14:07:11 - TARGET_ARCH=i386
> TB --- 2009-02-03 14:07:11 - TZ=UTC
> TB --- 2009-02-03 14:07:11 - __MAKE_CONF=/dev/null
> TB --- 2009-02-03 14:07:11 - cd /src
> TB --- 2009-02-03 14:07:11 - /usr/bin/make -B buildkernel  
> KERNCONF=LINT
>>>> Kernel build for LINT started on Tue Feb  3 14:07:11 UTC 2009
>>>> stage 1: configuring the kernel
>>>> stage 2.1: cleaning up the object tree
>>>> stage 2.2: rebuilding the object tree
>>>> stage 2.3: build tools
>>>> stage 3.1: making dependencies
>>>> stage 3.2: building everything
> [...]
> cc1: warnings being treated as errors
> /src/sys/modules/usb2/quirk/../../../dev/usb2/quirk/usb2_quirk.c: 
> 115: warning: data definition has no type or storage class
> /src/sys/modules/usb2/quirk/../../../dev/usb2/quirk/usb2_quirk.c: 
> 115: warning: type defaults to 'int' in declaration of  
> 'USB_MAKE_DEBUG_TABLE'
> /src/sys/modules/usb2/quirk/../../../dev/usb2/quirk/usb2_quirk.c: 
> 115: warning: parameter names (without types) in function declaration
> /src/sys/modules/usb2/quirk/../../../dev/usb2/quirk/usb2_quirk.c: In  
> function 'usb2_quirkstr':
> /src/sys/modules/usb2/quirk/../../../dev/usb2/quirk/usb2_quirk.c: 
> 126: error: 'USB_QUIRK' undeclared (first use in this function)
> /src/sys/modules/usb2/quirk/../../../dev/usb2/quirk/usb2_quirk.c: 
> 126: error: (Each undeclared identifier is reported only once
> /src/sys/modules/usb2/quirk/../../../dev/usb2/quirk/usb2_quirk.c: 
> 126: error: for each function it appears in.)
> *** Error code 1
>
> Stop in /src/sys/modules/usb2/quirk.
> *** Error code 1
>
> Stop in /src/sys/modules/usb2.
> *** Error code 1
>
> Stop in /src/sys/modules.
> *** Error code 1
>
> Stop in /obj/src/sys/LINT.
> *** Error code 1
>
> Stop in /src.
> *** Error code 1
>
> Stop in /src.
> TB --- 2009-02-03 14:37:30 - WARNING: /usr/bin/make returned exit  
> code  1
> TB --- 2009-02-03 14:37:30 - ERROR: failed to build lint kernel
> TB --- 2009-02-03 14:37:30 - 5458.37 user 466.36 system 6670.40 real
>
>
> http://tinderbox.des.no/tinderbox-head-HEAD-i386-i386.full
> _______________________________________________
> 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 
> "
>

------------------------------
Randall Stewart
803-317-4952 (cell)
803-345-0391(direct)


--Apple-Mail-24--184021460--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BACD2281-C8EA-411C-80CD-BAAAAAEA33F7>