Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 2016 17:11:18 +0000
From:      sig6247 <sig6247@openmailbox.org>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: BananaPi hangs with ARM_INTRNG
Message-ID:  <20160209171146.47F0A2AC618A@mail2.openmailbox.org>
In-Reply-To: <c6fcb535d70c40e2fb9bae51e9d72221@megadrive.org> (Emmanuel Vadot's message of "Mon, 08 Feb 2016 06:52:38 %2B0100")
References:  <20160207143346.172DF7CBD04@mail2.openmailbox.org> <c6fcb535d70c40e2fb9bae51e9d72221@megadrive.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 08 Feb 2016 06:52:38 +0100, Emmanuel Vadot <manu@bidouilliste.com> wrote:

>  Hi,
>
>  Could you do a boot -v at ubldr stage and post the full boot log please
> ?

Sure. Here's the boot log of a kernel with ARM_INTRNG
it just hangs at the line "ahcich0: AHCI reset: device ready after 0ms".

/boot/dtb/bananapi.dtb size=0xf56
Loaded DTB from file 'bananapi.dtb'.
Kernel entry at 0x42200100...
Kernel args: -v
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 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 11.0-CURRENT #0 r295368: Tue Feb  9 10:20:05 UTC 2016
    root@bpi.localhost:/usr/obj/usr/src/sys/A20 arm
FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0941000.
Preloaded dtb "/boot/dtb/bananapi.dtb" at 0xc0941704.
CPU: Cortex A7 rev 4 (Cortex-A core)
 Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext
 WB enabled LABT branch prediction disabled
LoUU:2 LoC:3 LoUIS:2
Cache level 1:
 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc
 32KB/32B 2-way instruction cache Read-Alloc
Cache level 2:
 256KB/64B 8-way unified cache WB Read-Alloc Write-Alloc
real memory  = 1073741824 (1024 MB)
avail memory = 1037066240 (989 MB)
Physical memory chunk(s):
  0x40000000 - 0x7fffffff,  1024 MB ( 262144 pages)
Excluded memory regions:
  0x42200000 - 0x42a53fff,     8 MB (   2132 pages) NoAlloc
Static device mappings:
  0x01c00000 - 0x01ffffff mapped at VA 0xffb00000
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
ULE: setup cpu 0
ULE: setup cpu 1
random: entropy device external interface
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
mem: <memory>
nfslock: pseudo-device
crypto: <crypto core>
random: harvesting attach, 8 bytes (4 bits) from nexus0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
random: harvesting attach, 8 bytes (4 bits) from simplebus0
random: harvesting attach, 8 bytes (4 bits) from ofwbus0
gic0: <ARM Generic Interrupt Controller> mem 0x1c81000-0x1c81fff,0x1c82000-0x1c820ff on simplebus0
simplebus0: no default resources for rid = 0, type = 1
gic0: pn 0x10, arch 0x2, rev 0x1, implementer 0x43b irqs 160
random: harvesting attach, 8 bytes (4 bits) from gic0
a10_sramc0: <Allwinner sramc module> mem 0x1c00000-0x1c00fff on simplebus0
random: harvesting attach, 8 bytes (4 bits) from a10_sramc0
a20_cpu_cfg0: <A20 CPU Configuration Module> mem 0x1c25c00-0x1c25fff on simplebus0
random: harvesting attach, 8 bytes (4 bits) from a20_cpu_cfg0
a10_ccm0: <Allwinner Clock Control Module> mem 0x1c20000-0x1c203ff on simplebus0
random: harvesting attach, 8 bytes (4 bits) from a10_ccm0
a10_timer0: <Allwinner A10/A20 timer> mem 0x1c20c00-0x1c20c8f irq 0 on simplebus0
Event timer "a10_timer Eventtimer" frequency 24000000 Hz quality 1000
Timecounter "a10_timer timer0" frequency 24000000 Hz quality 1000
a10_timer0: clock: hz=100 stathz = 0
a10_timer0: event timer clock frequency 24000000
a10_timer0: timecounter clock frequency 24000000
random: harvesting attach, 8 bytes (4 bits) from a10_timer0
a10wd0: <Allwinner A10 Watchdog> mem 0x1c20c90-0x1c20c9f on simplebus0
random: harvesting attach, 8 bytes (4 bits) from a10wd0
gpio0: <Allwinner GPIO controller> mem 0x1c20800-0x1c20bff irq 1 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
gpioled0: <GPIO led> at pin 248 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled0
random: harvesting attach, 8 bytes (4 bits) from gpiobus0
gpioc0: <GPIO controller> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpioc0
random: harvesting attach, 8 bytes (4 bits) from gpio0
ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c14000-0x1c14fff irq 2 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci0: usbpf: Attached
random: harvesting attach, 8 bytes (4 bits) from usbus0
random: harvesting attach, 8 bytes (4 bits) from ehci0
ehci1: <Allwinner Integrated USB 2.0 controller> mem 0x1c1c000-0x1c1cfff irq 3 on simplebus0
usbus1: EHCI version 1.0
usbus1 on ehci1
ehci1: usbpf: Attached
random: harvesting attach, 8 bytes (4 bits) from usbus1
random: harvesting attach, 8 bytes (4 bits) from ehci1
a10_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x1c0f000-0x1c0ffff irq 4 on simplebus0
a10_mmc0: DMA status: enabled
mmc0: <MMC/SD bus> on a10_mmc0
random: harvesting attach, 8 bytes (4 bits) from mmc0
random: harvesting attach, 8 bytes (4 bits) from a10_mmc0
ahci0: <Allwinner Integrated AHCI controller> mem 0x1c18000-0x1c18fff irq 5 on simplebus0
ahci0: AHCI v1.10 with 1 3Gbps ports, Port Multiplier not supported
ahci0: quirks=0x2<NOPMP>
ahci0: Caps: NCQ SNTF SS ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC 1ports
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:
random: harvesting attach, 8 bytes (4 bits) from ahcich0
random: harvesting attach, 8 bytes (4 bits) from ahci0
uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 6 on simplebus0
uart0: console (115200,n,8,1)
uart0: fast interrupt
uart0: PPS capture mode: DCDinvalid
random: harvesting attach, 8 bytes (4 bits) from uart0
simplebus0: <emac@01c0b000> mem 0x1c0b000-0x1c0bfff irq 7 disabled compat allwinner,sun4i-emac (no driver attached)
dwc0: <A20 Gigabit Ethernet Controller> mem 0x1c50000-0x1c5ffff irq 8 on simplebus0
miibus0: <MII bus> on dwc0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
rgephy0: OUI 0x00e04c, model 0x0011, rev. 5
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from rgephy0
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1: OUI 0x00e04c, model 0x0011, rev. 5
rgephy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from rgephy1
random: harvesting attach, 8 bytes (4 bits) from miibus0
dwc0: bpf attached
dwc0: Ethernet address: 02:86:0b:02:2d:7a
random: harvesting attach, 8 bytes (4 bits) from dwc0
ofwbus0: <leds> compat gpio-leds (no driver attached)
cryptosoft0: <software crypto>
crypto: assign cryptosoft0 driver id 0, flags 100663296
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
random: harvesting attach, 8 bytes (4 bits) from cryptosoft0
procfs registered
Timecounters tick every 10.000 msec
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192
IPsec: Initialized Security Association Processing.
lo0: bpf attached
mmc0: Probing bus
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ahcich0: AHCI reset...
ahcich0: SATA connect time=100us status=00000123
ahcich0: AHCI reset: device found
ahcich0: AHCI reset: device ready after 0ms

Thanks,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160209171146.47F0A2AC618A>