From owner-svn-src-head@freebsd.org Sat Jan 6 13:23:34 2018 Return-Path: Delivered-To: svn-src-head@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 24842EB92E8; Sat, 6 Jan 2018 13:23:34 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7A046D8F9; Sat, 6 Jan 2018 13:23:33 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2003:cd:6beb:2600:a470:65d3:e324:200f] (p200300CD6BEB2600A47065D3E324200F.dip0.t-ipconnect.de [IPv6:2003:cd:6beb:2600:a470:65d3:e324:200f]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 45999721E282E; Sat, 6 Jan 2018 14:23:28 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: svn commit: r327563 - in head/sys: arm/allwinner arm/conf arm64/conf conf From: Michael Tuexen In-Reply-To: <201801042237.w04MbFVR015965@repo.freebsd.org> Date: Sat, 6 Jan 2018 14:23:25 +0100 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6F912304-B760-4DA2-AB74-C2C934026FC1@freebsd.org> References: <201801042237.w04MbFVR015965@repo.freebsd.org> To: Kyle Evans X-Mailer: Apple Mail (2.3445.5.20) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 13:23:34 -0000 > On 4. Jan 2018, at 23:37, Kyle Evans wrote: >=20 > Author: kevans > Date: Thu Jan 4 22:37:15 2018 > New Revision: 327563 > URL: https://svnweb.freebsd.org/changeset/base/327563 >=20 > Log: > if_awg: Use syscon prop if it exists >=20 > The emac bindings that are landing in Linux 4.15 specify a syscon = property > on the emac node that point to /soc/syscon. Use this property if it's > specified, but maintain backwards compatibility with the old method. >=20 > The older method is still used for boards that we get .dtb from = u-boot, such > as pine64, that did not yet have stable emac bindings. >=20 > Tested on: Banana Pi-M3 (a83t) > Tested on: Pine64 (a64) > Reviewed by: manu > Differential Revision: https://reviews.freebsd.org/D13296 This breaks booting on a RPi3. Please note that it is not only = panic'ing, but there are multiple errors before that. >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: UFS Probing 3 block devices.....* done UFS found 1 partition Consoles: EFI console =20 Command line arguments: loader.efi Image base: 0x39ab8008 EFI version: 2.05 EFI Firmware: Das U-boot (rev 0.00) FreeBSD/arm64 EFI loader, Revision 1.1 (Wed Dec 6 19:13:14 CET 2017 root@bsd18.fh-muenster.de) EFI boot environment Loading /boot/defaults/loader.conf /boot/kernel/kernel text=3D0x7f3b28 data=3D0xaac80+0x3a106d = syms=3D[0x8+0x10e870+0x8+0x101345] /boot/entropy size=3D0x1000 /boot/kernel/geom_label.ko text=3D0x2a80 text=3D0x2710 = data=3D0x10118+0xfeec syms=3D[0x8+0x1548+0x8+0xef2] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 Using DTB provided by EFI at 0x8004000. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #21 r327563M: Sat Jan 6 14:16:20 CET 2018 = tuexen@bsd10.fh-muenster.de:/usr/home/tuexen/head/sys/arm64/compile/TCP = arm64 FreeBSD clang version 5.0.1 (branches/release_50 319231) (based on LLVM = 5.0.1) VT: init without driver. sysctl_warn_reuse: can't re-use a leaf (kern.features.geom_label)! module_register: cannot register g_label from kernel; already loaded = from geom_label.ko Module g_label failed to register: 17 Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. module_register_init: MOD_LOAD (efirt, 0xffff0000000cb414, 0) error 12 random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 syscon_generic0: mem 0x40000000-0x400000ff on simplebus0 psci0: on ofwbus0 local_intc0: mem 0x40000000-0x400000ff on = simplebus0 local_intc0: could not allocate memory resource device_attach: local_intc0 attach returned 6 intc0: mem 0x7e00b200-0x7e00b3ff irq 16 = on simplebus0 local_intc0: mem 0x40000000-0x400000ff on = simplebus0 local_intc0: could not allocate memory resource device_attach: local_intc0 attach returned 6 local_intc0: mem 0x40000000-0x400000ff on = simplebus0 local_intc0: could not allocate memory resource device_attach: local_intc0 attach returned 6 local_intc0: mem 0x40000000-0x400000ff on = simplebus0 local_intc0: could not allocate memory resource device_attach: local_intc0 attach returned 6 generic_timer0: irq 47,48,49,50 on simplebus0 generic_timer0: could not allocate resources device_attach: generic_timer0 attach returned 6 bcm_dma0: mem 0x7e007000-0x7e007eff irq = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 on simplebus0 bcmwd0: mem 0x7e100000-0x7e100027 on simplebus0 bcmrng0: mem 0x7e104000-0x7e10400f on simplebus0 device_attach: bcmrng0 attach returned 6 mbox0: mem 0x7e00b880-0x7e00b8bf irq 17 on = simplebus0 gpio0: mem 0x7e200000-0x7e2000b3 irq = 18,19 on simplebus0 gpiobus0: on gpio0 gpioc0: on gpio0 uart0: mem 0x7e201000-0x7e201fff irq 20 on = simplebus0 uart0: console (115200,n,8,1) spi0: mem 0x7e204000-0x7e204fff irq 21 on = simplebus0 spibus0: on spi0 spibus0: at cs 0 mode 0 spibus0: at cs 1 mode 0 iichb0: mem 0x7e804000-0x7e804fff irq 32 = on simplebus0 bcm283x_dwcotg0: mem = 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 38,39 on simplebus0 usbus0 on bcm283x_dwcotg0 sdhci_bcm0: mem 0x7e300000-0x7e3000ff = irq 42 on simplebus0 mmc0: on sdhci_bcm0 fb0: on simplebus0 fbd0 on fb0 VT: initialize with new VT driver "fb". fb0: 656x416(656x416@0,0) 24bpp fb0: fbswap: 1, pitch 1968, base 0x3db33000, screen_size 818688 local_intc0: mem 0x40000000-0x400000ff on = simplebus0 local_intc0: could not allocate memory resource device_attach: local_intc0 attach returned 6 pmu0: irq 46 on simplebus0 pmu0: could not allocate resources device_attach: pmu0 attach returned 6 generic_timer0: irq 47,48,49,50 on simplebus0 generic_timer0: could not allocate resources device_attach: generic_timer0 attach returned 6 gpioled0: on ofwbus0 gpioled0: failed to map pin gpioled0: failed to map pin cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 cryptosoft0: panic: No usable event timer found! cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x28 pc =3D 0xffff00000062b308 lr =3D 0xffff000000086b78 sp =3D 0xffff0000000107c0 fp =3D 0xffff0000000109d0 db_trace_self_wrapper() at vpanic+0x184 pc =3D 0xffff000000086b78 lr =3D 0xffff0000003258a4 sp =3D 0xffff0000000109e0 fp =3D 0xffff000000010a60 vpanic() at panic+0x44 pc =3D 0xffff0000003258a4 lr =3D 0xffff00000032571c sp =3D 0xffff000000010a70 fp =3D 0xffff000000010af0 panic() at cpu_initclocks_bsp+0x410 pc =3D 0xffff00000032571c lr =3D 0xffff00000066a6ec sp =3D 0xffff000000010b00 fp =3D 0xffff000000010b50 cpu_initclocks_bsp() at initclocks+0x28 pc =3D 0xffff00000066a6ec lr =3D 0xffff0000002c4b9c sp =3D 0xffff000000010b60 fp =3D 0xffff000000010b60 initclocks() at mi_startup+0xc8 pc =3D 0xffff0000002c4b9c lr =3D 0xffff0000002c148c sp =3D 0xffff000000010b70 fp =3D 0xffff000000010bb0 mi_startup() at virtdone+0x54 pc =3D 0xffff0000002c148c lr =3D 0xffff000000001084 sp =3D 0xffff000000010bc0 fp =3D 0x0000000000000000 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at 0 db>=20 Revision 327562 boots fine: Using DTB provided by EFI at 0x8004000. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #19 r327562M: Sat Jan 6 14:00:01 CET 2018 = tuexen@bsd10.fh-muenster.de:/usr/home/tuexen/head/sys/arm64/compile/TCP = arm64 FreeBSD clang version 5.0.1 (branches/release_50 319231) (based on LLVM = 5.0.1) VT: init without driver. sysctl_warn_reuse: can't re-use a leaf (kern.features.geom_label)! module_register: cannot register g_label from kernel; already loaded = from geom_label.ko Module g_label failed to register: 17 Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. module_register_init: MOD_LOAD (efirt, 0xffff0000000cb414, 0) error 12 random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 psci0: on ofwbus0 local_intc0: mem 0x40000000-0x400000ff on = simplebus0 intc0: mem 0x7e00b200-0x7e00b3ff irq 16 = on simplebus0 generic_timer0: irq 47,48,49,50 on simplebus0 Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000 bcm_dma0: mem 0x7e007000-0x7e007eff irq = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 on simplebus0 bcmwd0: mem 0x7e100000-0x7e100027 on simplebus0 bcmrng0: mem 0x7e104000-0x7e10400f on simplebus0 device_attach: bcmrng0 attach returned 6 mbox0: mem 0x7e00b880-0x7e00b8bf irq 17 on = simplebus0 gpio0: mem 0x7e200000-0x7e2000b3 irq = 18,19 on simplebus0 gpiobus0: on gpio0 gpioc0: on gpio0 uart0: mem 0x7e201000-0x7e201fff irq 20 on = simplebus0 uart0: console (115200,n,8,1) spi0: mem 0x7e204000-0x7e204fff irq 21 on = simplebus0 spibus0: on spi0 spibus0: at cs 0 mode 0 spibus0: at cs 1 mode 0 iichb0: mem 0x7e804000-0x7e804fff irq 32 = on simplebus0 bcm283x_dwcotg0: mem = 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 38,39 on simplebus0 usbus0 on bcm283x_dwcotg0 sdhci_bcm0: mem 0x7e300000-0x7e3000ff = irq 42 on simplebus0 mmc0: on sdhci_bcm0 fb0: on simplebus0 fbd0 on fb0 VT: initialize with new VT driver "fb". fb0: 656x416(656x416@0,0) 24bpp fb0: fbswap: 1, pitch 1968, base 0x3db33000, screen_size 818688 pmu0: irq 46 on simplebus0 gpioled0: on ofwbus0 gpioled0: failed to map pin gpioled0: failed to map pin cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 cryptosoft0: Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to = accept, logging disabled iicbus0: on iichb0 iic0: on iicbus0 The GEOM class LABEL is already loaded. usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 mmcsd0: 64GB at mmc0 = 41.6MHz/4bit/65535-block bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF Release APs CPU 0: ARM Cortex-A53 r0p4 affinity: 0 Instruction Set Attributes 0 =3D Instruction Set Attributes 1 =3D <> Processor Features 0 =3D Processor Features 1 =3D <0> Memory Model Features 0 =3D <4k Granule,64k = Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA> Memory Model Features 1 =3D <> Memory Model Features 2 =3D <32b CCIDX,48b VA> Debug Features 0 =3D <2 CTX Breakpoints,4 Watchpoints,6 = Breakpoints,PMUv3,Debug v8> Debug Features 1 =3D <0> Auxiliary Features 0 =3D <0> Auxiliary Features 1 =3D <0> CPU 1: ARM Cortex-A53 r0p4 affinity: 1 CPU 2: ARM Cortex-A53 r0p4 affinity: 2 CPU 3: ARM Cortex-A53 r0p4 affinity: 3 Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... Warning: no time-of-day clock registered, system time will not be set = accurately uhub0: 1 port with 1 removable, self powered sysctl: net.inet.sctp.udp_tunneling_port=3D9899 at line 11: Can't assign = requested address Setting hostuuid: 30303030-3030-3030-3138-303365396335. Setting hostid: 0xede1b97d. No suitable dump device was found. Starting file system checks: /dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s2a: clean, 12823920 free (74496 frags, 1593678 blocks, 0.5% = fragmentation) ugen0.2: at usbus0 uhub1 on uhub0 uhub1: = on usbus0 uhub1: MTT enabled Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib = /usr/local/lib/perl5/5.24/mach/CORE uhub1: 5 ports with 4 removable, self powered Setting hostname: bsd10.fh-muenster.de. Setting up harvesting: = [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATT= ACH,CACHED Feeding entropy: . ugen0.3: at usbus0 smsc0 on uhub1 smsc0: on usbus0 smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 smscphy0: PHY 1 on miibus0 smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on smsc0 ue0: Ethernet address: b8:27:eb:03:e9:c5 Starting Network: lo0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128=20 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1=20 inet 127.0.0.1 netmask 0xff000000=20 groups: lo=20 nd6 options=3D21 Starting devd. ue0: link state changed to UP smsc0: chip 0xec00, rev. 0002 ue0: link state changed to DOWN ue0: link state changed to UP Starting Network: ue0. ue0: flags=3D8843 metric 0 mtu = 1500 options=3D80009 ether b8:27:eb:03:e9:c5 inet 212.201.121.100 netmask 0xffffffe0 broadcast = 212.201.121.127=20 inet6 fe80::ba27:ebff:fe03:e9c5%ue0 prefixlen 64 scopeid 0x2=20 inet6 2a02:c6a0:4015:10::100 prefixlen 64=20 media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D21 add net default: gateway 212.201.121.97 add host 127.0.0.1: gateway lo0 fib 0: route already in table add net default: gateway 212.201.121.97 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 add net default: gateway fe80::a236:9fff:fe80:e9de%ue0 Creating and/or trimming log files. Starting syslogd. Setting date via ntp. 6 Jan 14:20:41 ntpdate[526]: step time server 204.9.54.119 offset = 84.882792 sec Clearing /tmp (X related). Updating motd:. Mounting late filesystems:. Starting thttpd. Configuring vt: blanktime. Performing sanity check on sshd configuration. Starting sshd. Starting cron. Starting background file system checks in 60 seconds. Sat Jan 6 14:20:42 CET 2018 FreeBSD/arm64 (bsd10.fh-muenster.de) (ttyu0) login:=20 The kernel config being used is: include GENERIC-NODEBUG ident TCP =20 makeoptions WITH_EXTRA_TCP_STACKS=3D1 options TCP_RFC7413 options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=3D5 options IPFIREWALL_DEFAULT_TO_ACCEPT nooptions COMPAT_FREEBSD32 Best regards Michael