Date: Fri, 31 Jan 2020 23:05:27 +0100 From: Ralf Wenk <iz-rpi03@hs-karlsruhe.de> To: Kyle Evans <kevans@freebsd.org> Cc: bob prohaska <fbsd@www.zefox.net>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: panic: deadlres_td_sleep_q: possible deadlock detected on RPI3 Message-ID: <E1ixePn-0000RO-Ep@iz-wera-new.HS-Karlsruhe.DE> In-Reply-To: <CACNAnaG=G-KSbd_d-XZtVpx01fC0m9h0n0JbMP2zSjcZWsgw4A@mail.gmail.com> References: <20200123164419.GA81833@www.zefox.net> <20200125153229.GA3768@www.zefox.net> <E1ivfCl-0073zQ-M1@smtp.hs-karlsruhe.de> <20200126164211.GB7312@www.zefox.net> <20200130162055.GA21879@www.zefox.net> <E1ixVNL-0004Px-Be@iz-wera-new.HS-Karlsruhe.DE> <CACNAnaG=G-KSbd_d-XZtVpx01fC0m9h0n0JbMP2zSjcZWsgw4A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multipart MIME message. --==_Exmh_1580506002_15060 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2020-01-31 at 7:48 -0600 Kyle Evans wrote: > =5B...=5D > These results should no longer be reproducible in recent loaders -- > the effect you're seeing is an extraordinarily long redraw times as > that's roughly in the range where serial console in loader was > effectively borked. Things were later hashed out such that we use the > old console driver for serial in many (most? all?) situations. Now having upgraded the contents of /boot/msdos aka =22the boot partition= =22 to those of the FreeBSD-13.0-CURRENT-arm64-aarch64-RPI3-20200130-r357276.img and the result stays as described: Autoboot in 10 seconds, hit =5BEnter=5D to boot or any other key to sto= p =20 Autoboot in -6 seconds, hit =5BEnter=5D to boot or any other key to sto= p =20 Loading kernel... The /boot/loader*efi files are from 25 of January. r357112 I think. On this machine I am using EFI/HDMI and serial console parallel boot_mulicons=3DYES=22, boot_serial=3D=22YES=22, console=3D=22comconsole,= efi=22. In the attached file you will find a part of the serial console output during boot where you can see the loader version used and the jump from 10 to -6 seconds with immediate boot. As you also can see the cursor control sequences of the beastie are printed and not executed any more. With the exception of the =5EH (which I removed) during the spinning wheels. This happened at some time in the past when I did not kept sufficient backups. So I can not help to point at a range of releases. While writing this, I remembered that Bob Prohaskas 'five seconds per =22click=22' did only happened on my RPi3 systems when some USB keyboards= are plugged in during boot. Never without a USB keyboard. It seems to depend on the manufacturer and/or chip. Didn't had/have the spare time to figure it out, but this may be a hint. The system with the negative time jump in loader is equipped with a USB keyboard parallel to the serial console. Ralf --==_Exmh_1580506002_15060 Content-Type: text/plain ; name="script-log-of-boot"; charset=utf-8 Content-Description: script-log-of-boot Content-Disposition: attachment; filename="script-log-of-boot" Content-Transfer-Encoding: quoted-printable EFI boot manager: Cannot load any image 679320 bytes read in 70 ms (9.3 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Consoles: EFI console =20 =7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C= =7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C= =7C/-=5C Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: =7C/-=5C=7C/FreeBSD/arm64 EFI loader, Revision 1.1 (Thu Nov 14 08:36:43 UTC 2019 root=40releng1.nyi.freebsd.org) Command line arguments: loader.efi EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8217.4096) Console: efi (0x1000) Load Path: /efi=5Cboot=5Cbootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/= HD(1,MBR,0x11f39717,0x800,0x19000) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1= ,MBR,0x11f39717,0x800,0x19000) Setting currdev to disk0p1: -=5C=7C/-=5C=7C/-=5C=7C/Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f362= 8b)/SD(1)/SD(0)/HD(2,MBR,0x11f39717,0x19800,0x3a00000) -=5C=7C/Setting currdev to zfs:rootpool/ROOT/default.defect: -=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-Loading /boot/def= aults/loader.conf Loading /boot/device.hints =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5CLoadin= g /boot/loader.conf =7C/-=5C=7C/-=5C=7C/-console comconsole is invalid=21 Available consoles: efi Loading /boot/loader.conf.local =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5BH=5BJ=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5B8;48H =60=60= =60 =60=5B9;48H s=60 =60.....---.......--.=60=60= =60 -/=5B10;48H +o .--=60 /y:=60 +.=5B11;48H yo=60:. = :o =60+-=5B12;48H y/ -/=60 -o/=5B13;48H = .- ::/sy+:.=5B14;48H / =60-- /=5B1= 5;48H =60: :=60=5B16;48H =60: = :=60=5B17;48H / /=5B18;48H .- = -.=5B19;48H -- -.=5B20;48H =60:= =60 =60:=60=5B21;48H .-- =60--.=5B22;48= H .---.....----.=5B1;2H ______ ____ _____ _____ = =5B2;2H =7C ____=7C =7C _ =5C / ____=7C __ =5C =5B3;2H = =7C =7C___ _ __ ___ ___ =7C =7C_) =7C (___ =7C =7C =7C =7C=5B4;2H =7C = ___=7C '__/ _ =5C/ _ =5C=7C _ < =5C___ =5C=7C =7C =7C =7C=5B5;2H =7C = =7C =7C =7C =7C __/ __/=7C =7C_) =7C____) =7C =7C__=7C =7C=5B6;2H =7C= =7C =7C =7C =7C =7C =7C=7C =7C =7C =7C=5B7;2H =7C_= =7C =7C_=7C =5C___=7C=5C___=7C=7C____/=7C_____/=7C_____/ =5B9;2H+=5B22= ;2H+=5B9;44H+=5B22;44H+=5B9;3H-----------------------------------------= =5B22;3H-----------------------------------------=5B10;2H=7C=5B10;44H=7C= =5B11;2H=7C=5B11;44H=7C=5B12;2H=7C=5B12;44H=7C=5B13;2H=7C=5B13;44H=7C=5B1= 4;2H=7C=5B14;44H=7C=5B15;2H=7C=5B15;44H=7C=5B16;2H=7C=5B16;44H=7C=5B17;2H= =7C=5B17;44H=7C=5B18;2H=7C=5B18;44H=7C=5B19;2H=7C=5B19;44H=7C=5B20;2H=7C= =5B20;44H=7C=5B21;2H=7C=5B21;44H=7C=5B9;14HWelcome to FreeBSD=5B11;5H1. B= oot Multi user =5BEnter=5D=5B12;5H2. Boot Single user=5B13;5H3. Escape to= loader prompt=5B14;5H4. Reboot=5B15;5H=5B16;5HOptions:=5B17;5H=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7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-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C5. Kernel: default/kernel (1 of 7)= =5B18;5H6. Boot Options=5B19;5H7. Boot Environments=5B25;0H=5B23;4HAutobo= ot in 10 seconds, hit =5BEnter=5D to boot or any other key to stop =20 =5B25;0H=5B23;4HAutoboot in -6 seconds, hit =5BEnter=5D to boot or any ot= her key to stop =20 =5B25;0HLoading kernel... /-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/= -=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C//boot/ker= nel/kernel text=3D0x987f7c -=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C= =7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5Cdata=3D0x1905a8 =7C/-=5C=7Cdata=3D0x0+0x7= 9d260 /syms=3D=5B0x8+0x10bd38-=5C=7C/+0x8+0x130464-=5C=7C/-=5D Loading configured modules... =5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-=5C/boot/kernel/zfs.ko text=3D0xa3e40 =7C/text=3D0x14cb60= -=5C=7C/-data=3D0x17f10+0x91170 =5C=7Csyms=3D=5B0x8+0x26040/+0x8+0x1fc2a= =5D -=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-= =5C=7C/-=5C=7C/-/boot/kernel/mac_ntpd.ko text=3D0x8f7 text=3D0x48 data=3D= 0xad8 =5Csyms=3D=5B0x8+0x588+0x8+0x433=5D =7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C= =7C/-=5C=7C/-=5C/boot/kernel/opensolaris.ko text=3D0x12ed text=3D0xc40 da= ta=3D0x440+0x6830 =7Csyms=3D=5B0x8+0xfc0+0x8+0x894=5D /-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C=7C/-=5C/boot/entropy size=3D0x1000 Using DTB provided by EFI at 0x7ef6000. =7C/-=5C=7C/-=5C=7C/-=5C=7C/-EFI framebuffer information: addr, size 0x3e330000, 0x8ca000 dimensions 1920 x 1200 stride 1920 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 --==_Exmh_1580506002_15060--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ixePn-0000RO-Ep>