From owner-freebsd-usb@freebsd.org Sat Nov 19 16:50:30 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FA54C4A11A for ; Sat, 19 Nov 2016 16:50:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E7BC1387 for ; Sat, 19 Nov 2016 16:50:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJGoT09068871 for ; Sat, 19 Nov 2016 16:50:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 205477] urtwn(4) USB wireless driver fails to initialize RTL8188CUS Date: Sat, 19 Nov 2016 16:50:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eimar.koort@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 16:50:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205477 --- Comment #12 from eimar.koort@gmail.com --- (In reply to Andriy Voskoboinyk from comment #11) Sry. I don't know how to add attachment (if even). So here is another long error list from 'rtwn_usb': root@rpi2:~/rtwn-master/sys/modules/rtwn_usb # make depend && make CONF_CFLAGS=3D-march=3Darmv7a && make install machine -> /usr/src/sys/arm/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h :> opt_bus.h :> opt_usb.h echo "#define IEEE80211_DEBUG 1" > opt_wlan.h echo "#define IEEE80211_AMPDU_AGE 1" >> opt_wlan.h echo "#define IEEE80211_SUPPORT_MESH 1" >> opt_wlan.h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h Warning: Object directory not changed from original /root/rtwn-master/sys/modules/rtwn_usb cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc=20 -I/root/rtwn-master/sys/modules/rtwn_usb/../.. -I. -I/usr/src/sys -fno-comm= on=20 -funwind-tables -march=3Darmv7a -MD -MF.depend.rtwn_usb_attach.o -MTrtwn_usb_attach.o -ffreestanding -fwrapv -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kpr= intf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-movt -mfpu=3D= none=20 -std=3Diso9899:1999 -c /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= -o rtwn_usb_attach.o In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :117:2: error: use of undeclared identifier 'USB_PRODUCT_ASUS_USBAC56' RTWN_RTL8812AU_DEV(ASUS, USBAC56), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_ASUS_USBAC56 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :118:2: error: use of undeclared identifier 'USB_PRODUCT_CISCOLINKSYS_WUSB6300' RTWN_RTL8812AU_DEV(CISCOLINKSYS, WUSB6300), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_CISCOLINKSYS_WUSB6300 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :121:2: error: use of undeclared identifier 'USB_PRODUCT_EDIMAX_EW7822UAC' RTWN_RTL8812AU_DEV(EDIMAX, EW7822UAC), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_EDIMAX_EW7822UAC ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :122:2: error: use of undeclared identifier 'USB_PRODUCT_IODATA_WNAC867U' RTWN_RTL8812AU_DEV(IODATA, WNAC867U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_IODATA_WNAC867U ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :123:2: error: use of undeclared identifier 'USB_PRODUCT_MELCO_WIU3866D' RTWN_RTL8812AU_DEV(MELCO, WIU3866D), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_MELCO_WIU3866D ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :124:2: error: use of undeclared identifier 'USB_PRODUCT_NEC_WL900U' RTWN_RTL8812AU_DEV(NEC, WL900U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_NEC_WL900U ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :125:2: error: use of undeclared identifier 'USB_PRODUCT_PLANEX2_GW900D' RTWN_RTL8812AU_DEV(PLANEX2, GW900D), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_PLANEX2_GW900D ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :126:2: error: use of undeclared identifier 'USB_PRODUCT_SENAO_EUB1200AC' RTWN_RTL8812AU_DEV(SENAO, EUB1200AC), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_SENAO_EUB1200AC ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :127:2: error: use of undeclared identifier 'USB_PRODUCT_SITECOMEU_WLA7100' RTWN_RTL8812AU_DEV(SITECOMEU, WLA7100), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_SITECOMEU_WLA7100 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :128:2: error: use of undeclared identifier 'USB_VENDOR_TPLINK' RTWN_RTL8812AU_DEV(TPLINK, T4U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:12: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_VENDOR_TPLINK ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :129:2: error: use of undeclared identifier 'USB_PRODUCT_TRENDNET_TEW805UB' RTWN_RTL8812AU_DEV(TRENDNET, TEW805UB), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_TRENDNET_TEW805UB ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :130:2: error: use of undeclared identifier 'USB_PRODUCT_ZYXEL_NWD6605' RTWN_RTL8812AU_DEV(ZYXEL, NWD6605), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_ZYXEL_NWD6605 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :138:2: error: use of undeclared identifier 'USB_PRODUCT_EDIMAX_EW7811UTC_1' RTWN_RTL8821AU_DEV(EDIMAX, EW7811UTC_1), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_EDIMAX_EW7811UTC_1 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :139:2: error: use of undeclared identifier 'USB_PRODUCT_EDIMAX_EW7811UTC_2' RTWN_RTL8821AU_DEV(EDIMAX, EW7811UTC_2), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_EDIMAX_EW7811UTC_2 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :140:2: error: use of undeclared identifier 'USB_PRODUCT_HAWKING_HD65U' RTWN_RTL8821AU_DEV(HAWKING, HD65U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_HAWKING_HD65U ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :141:2: error: use of undeclared identifier 'USB_PRODUCT_MELCO_WIU2433DM' RTWN_RTL8821AU_DEV(MELCO, WIU2433DM), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_MELCO_WIU2433DM ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :142:2: error: use of undeclared identifier 'USB_PRODUCT_NETGEAR_A6100' RTWN_RTL8821AU_DEV(NETGEAR, A6100) ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ :52:1: note: expanded from here USB_PRODUCT_NETGEAR_A6100 ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :102:49: error: invalid application of 'sizeof' to an incomplete type 'const struct usb_device_id []' return (usbd_lookup_id_by_uaa(rtwn_devs, sizeof(rtwn_devs), uaa)); ^~~~~~~~~~~ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :441:1: error: invalid application of 'sizeof' to an incomplete type 'const struct usb_device_id []' USB_PNP_HOST_INFO(rtwn_devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/dev/usb/usbdi.h:344:12: note: expanded from macro 'USB_PNP_HOST_INFO' sizeof(table) / sizeof(table[0])) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/module.h:178:16: note: expanded from macro 'MODULE_PNP_INF= O' .num_entry =3D n \ ^ 19 errors generated. *** Error code 1 Stop. make: stopped in /root/rtwn-master/sys/modules/rtwn_usb root@rpi2:~/rtwn-master/sys/modules/rtwn_usb # --=20 You are receiving this mail because: You are the assignee for the bug.=