From owner-freebsd-arm@freebsd.org Tue Oct 2 18:52:09 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0049910A85D4 for ; Tue, 2 Oct 2018 18:52:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.ne1.yahoo.com (sonic314-21.consmr.mail.ne1.yahoo.com [66.163.189.147]) (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 8F4CC77404 for ; Tue, 2 Oct 2018 18:52:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: hIBRrJkVM1k7vp5SjG7SkXl5O1KM2UWuiQbTj58Z0mIgtQxbqNWzjNFKf1b2AdD IbKcKtTTIQUMQi7vFTmuGAPRo4pXMbcs_lAbDZMH7LPl5gldLcfFQLbkABOTKWFnE17G_xYgsQ.3 zFk2Hqn4P.dhgngomJeujSoHN56ZqzkFl_TGh1rRYCPDx8.M.dbOlnvtiRNuGZbzEbXP3ObJiMfv N7qk26Be3rgu8jN9wRGKiG.IlkswaifxJ_Hr1YPI.BJz.HV7NiqgIEzC8r7V5lWTldFC90PiKrzb g_2NKOPAk0IFnpCEpWWOwEcwnZSihauWaL5jJTKt9APfY8bZPOKbuXgkGyEPEj2mIv5Hris5SLcN SjIO8hDs1b05ihlrQ8YFt7tM2_RxE.FkO9MNFaVtL95OwtCtpo0RS17P1VgzAfbm3H0vsSQWGBPG Bs4CK18WVtpPVjtUsaBljs6b9NTvawrfGa.k.hzp6XR6HnFvfIgVDtiPgzei5wv67QewY0myVuoe o8lKvsZZlBtq5d6bT3NO7IS70q3Ahicv9_tBPg0YCVy4DyycYFsK5IHlA21.ko1yIjNOEv0X1oik 0ZRxgxZ4U3Tbw6d1Zez3Zu5lzoGS5JKC5FoFhAPnxVFU18Yd7EgBSmyJ84aHlGKLL.jnOBJPqrUm psvYS.6lv9rXr8x_yo7i6Xg8kwote9.1Jh7.blW0q1Lq23QXIQh.yxnGoeF_AlqwZ3goFMi1mRJX uUP3NtsHhavjVDxh0ny7O.7tAd0MR0lssH6g1Ox.uTSBCH1J3MH.zlHtWzPu6e3dAj_YOivVGBzu smRuOg_BsGyD3bWKsS.ystRb00qkdD8OWLEzXn5M2vmEpcG_vXiOujMo_2FRQxNZwd3ozuWnsXxf U2Ar_RIj5gilXfV1uXA_hTdVTMvlqOEIl3K_Aq53F1cjxCCRlWbxlElCiShVzkoorluwmB.vdtE6 tucOsaL3Va3OBvuJ1Qv99d.XVWRxz.CpNtdItoWcMTdZ7vbU2x8H_21Gpq0eiKL2zKB0Ljl2f805 O.ThqnBx.WdEOOYKGUKx2IJg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 2 Oct 2018 18:52:02 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.101]) ([76.115.7.162]) by smtp423.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID cdf23a586050e0a351dd32887e560bc7; Tue, 02 Oct 2018 18:52:00 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Timeout poll on interrupt endpoint for RPI3 with keyboard and mouse From: Mark Millard In-Reply-To: <20181002203135.245edff2acfcbd8441d67cc3@bidouilliste.com> Date: Tue, 2 Oct 2018 11:51:58 -0700 Cc: bob prohaska , freebsd-arm@freebsd.org, Trevor Roydhouse Content-Transfer-Encoding: 7bit Message-Id: <296E5CCA-19D5-4C5C-A641-2E8899917556@yahoo.com> References: <20180929185213.GA58381@www.zefox.net> <20180930111208.5df04f5b7fb336cdfcf2fd74@bidouilliste.com> <20180930130930.GB58381@www.zefox.net> <20180930132928.GC58381@www.zefox.net> <20180930155055.2c35693431e8dfff4eb7d7bd@bidouilliste.com> <20180930145702.GD58381@www.zefox.net> <20181001022415.GA63212@www.zefox.net> <20181002203135.245edff2acfcbd8441d67cc3@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 18:52:09 -0000 On 2018-Oct-2, at 11:31 AM, Emmanuel Vadot wrote: > On Sun, 30 Sep 2018 19:24:16 -0700 > bob prohaska wrote: > >> On Mon, Oct 01, 2018 at 08:57:04AM +1000, Trevor Roydhouse wrote: >>> >>> You just need to change one character in the file >>> .../sys/arm64/include/pte.h - change the 4 to an 8 in this existing line: >>> >>> #define PMAP_MAPDEV_EARLY_SIZE (L2_SIZE * 4) >>> >> >> Ok, that wasn't hard 8-) >> >> The machine now boots with the monitor connected and continues to run >> correctly when keyboard and mouse are plugged in. >> >> With monitor, keyboard and mouse connected it still spits out a stream of >> Timeout poll on interrupt endpoint >> Timeout poll on interrupt endpoint >> .... >> during the boot process. The spew seems continuous, but when I typed >> boot >> into the spew, it looks as if the kernel took over and the machine is >> now multi-user. >> >> Evidently it got stuck in loader, the boot command got it unstuck and >> after that all is normal. >> >> So, I guess the video issue was a distraction that's now fixed. The >> problem with USB mouse and keyboard remain unresolved but nonfatal. > > So I've just tested ALPHA8 on my RPI3 and RPI3B+. > > With *just* keyboard and mouse plugged in I do not have any problem at > all. I could only have one plugged in without a problem, but it may depend on the specific devices. > If I plug a cheap usb stick, same, no problem. > But if I plug my Corsair Voyager USB3, u-boot is really slow to probe > usb devices. I didn't see the Timeout poll message but I didn't have > serial connected (I think it doesn't matter since u-boot send all > prints to every console). My separate report that listed various combinations was using a USB 3.0 capable powered hub when a hub was used and was using media readers/writers that are USB 3.0 capable (4 LUN's per reader/writer, 8 overall). I forgot to mention the USB-3.0-capable aspect at the time. It was so slow overall that it got: EFI: Watchdog timeout and only managed to boot a couple of times out of lots of tries. So I can confirm your observation is not limited to your context. > The RPI u-boot maintainer is aware that there is issue regarding USB > on RPI3B+, now he's aware that there is some on RPI3. > > I see in your mail that you have some usb harddrive or usb stick > plugged too, can you try without them ? I happen to have done such in my context already . . . One of my tests that got "Timeout poll on interrupt endpoint" messages had no USB devices plugged in other than the keyboard and mouse that I tried (not even the powered hub). It had the serial console and Ethernet plugged in but no HDMI. With just the USB 3.0 capable powered hub plugged in as far as USB goes, and the keyboard and mouse as the only devices on the hub, I still got the "Timeout poll on interrupt endpoint" messages. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)