From owner-freebsd-ppc@freebsd.org Tue Jul 28 02:47:14 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E5E9C378439 for ; Tue, 28 Jul 2020 02:47:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BG1Ks5H5dz3RkN for ; Tue, 28 Jul 2020 02:47:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: a17KbKkVM1l5OXBhDQbxGLjyHz4x2otf3jZNGPPM5IqgAh0w7AlESRYWjxjTQKp PJt1i3W_ZFMSb_toQHcOPCbYn6uRhEIbtdSXFYfWClyfwNY1kT7bxI4Iv6ewvZKMS0x6kBpR9oDA pvIHYMwvTlFrBSbFul9harcso5_MpadHhLzyH_QsIBlAaFhbzuH4vzAizBiRXjUWh.pynhNj.YnL ZfwmImuY5M1QuHMNky1VlW.Wkwponzp8E4lOegWpiTlyGHn3T2gVn2EE0U1tpVdo2aWuwXuLPbgJ dtidR_UIlHS_mts07PKxI7D4xJlL4FlQ1OTxIawglJBeyBJj4EhFr4NjKwMM8a0hllMdrio5cMfT GxHW.ewm3ki2qKFdypbZEGO8EMVWam7JoYuMXz5sz4awfcnlgK_7oPvYwPynQd2O2eH0oKOCfG96 qvKNTJiWomXKWc6Co2EYXksrx9_DiWGfDg4YgMHgAsdbnZ1aUgKAgm75SkesRJdSS3YzWCBVnka. pXNxd.85fyVTHBbm8mbxrYaN2wb8MfhZbYaWCeq2hgeBJT2feuCC2Abx4dIvxhaucGNYmvPHGfeL zIX6g.cNg2ZgjrZXVkXEEWh7GxpKMHGSozXUI3CKOJzy91JCmBn0ZiaIotQXd1vyg4J0yrWMmqhR 2z5cZkFLbovBcvdDJEPGV1A4TW57HSQv9eisrGlgN8sHrzMjOQe14zpMg_tWN3oGqQaUyyAt8hGw 1cVAau55TCvfXhLpOSmBwcgX46x9PMDqSHCVIgsSTzPz_sk6wJUbtirNGPKVx7BTbE9UUoE3DEPv F.81x39uyxhiYI4OE3i6kCAdUGTD5rHKKl5_z3xoFfi28dCgJueukwTnVrfkyzjllPPPcN654m0q oillnIQhprhuHa0.0Nn63ZFTvlKPY2kOdIsiM7wKpue92U6pZYxxUXUtATL31HyG8vFhifIpLQlD tqmbL8_beoFurkc53V7kbYPRer.rKGTqUAvy6x8..5b0u.3G0QuRrawxy49bRQoR67g4lXj9ESrY 3n8DV.irvXc0OIh7Fg9rMyXZn86n.l9_Kdv_ZC_A.V4ZHNMlvpaRGBA1S6tZLeSg9tid76Kw9GI1 1EhZFJ4fbc1qH551m0MuSg5TlWuctspwROOnsgXn3eK1I.2JiUxTNvlLI69_ofkyqWLMKTUtwqH5 JB9MJ8NAOan9vZr2dUjHD_uqXUTZcWcVc0PNpy8vMCmcno0plFgHbOtYTLNbBlvEg6Q8xfdShPks WnAKvetZb0DRNhQeWcffCCkr3CFuJ4QHrX8e8vhgPuDpov.IupHMy1zMwj4OKs2CLRasWcxuKZ9o C4X9KX9mRvrpXf_uMSjQSdjTI7Z9vsv2rV87zGa5VL4cSnjvOUzAcaB3J7UpQi7UaZWno5zPDiNQ 3qYGW9A2unY3nfmu0a464c3iKI07WgJDzd2K6yR268pE- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Tue, 28 Jul 2020 02:47:12 +0000 Received: by smtp417.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f025a8675f54d83c7212ac6df245cb2e; Tue, 28 Jul 2020 02:47:07 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Expected issue? Old PowerMac G5 "quad" vs. USB 2.0 devices ( without hw.usb.xhci.use_polling=1 ) Message-Id: Date: Mon, 27 Jul 2020 19:47:06 -0700 To: freebsd-ppc X-Mailer: Apple Mail (2.3608.80.23.2.2) References: X-Rspamd-Queue-Id: 4BG1Ks5H5dz3RkN X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.56 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.04)[-0.040]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.012]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.011]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2020 02:47:15 -0000 Context: head -r363590 based context, non-debug build. Using a couple of USB EtherNet devices (with different chip set families from different companies), I get the like of: usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT ugen2.2: at usbus2 (disconnected) uhub_reattach_port: could not allocate new device when I plug in the device. The one way I've found to avoid that is to boot using: hw.usb.xhci.use_polling=3D1 but this appears to have large performance consequences for receiving data over the device. (The only reason I've tried this on a PowerMac G5 is as a test for a Realtek driver update that John-Mark Gurney has produced and requested testing of: PowerPC is the only Big Endian type of context that I have access to. Going the other way, the only powerpc families that I have access to are in old PowerMacs. The above is not limited to Realtek chipsets.) With the forced polling I get (for the device I originally intended to test with): ugen2.2: at usbus2 ure0 numa-domain 0 on uhub2 ure0: = on usbus2 miibus2: numa-domain 0 on ure0 rgephy0: PHY 0 on miibus2 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto ue0: on ure0 ue0: Ethernet address: ### ue0: link state changed to DOWN and: ue0: flags=3D8843 metric 0 mtu = 1500 = options=3D68009b ether ### inet 192.168.1.149 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 I will note that the USB device is USB3 capable but supports use on USB2 as well. This was also true of the other device that I tried that had a different chip set. I do not know if some other types of USB devices also have such problems on old PowerMacs (or powerpc64 more generally). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)