RPI-B 11.0-ALPHA3 r301815 panic

From: Keith White <kwhite_at_site.uottawa.ca>
Date: Wed, 15 Jun 2016 21:48:49 -0400 (EDT)
I get the following panic when connecting via WiFi to an RPI-B
running the r301815 snapshot:

Fatal kernel mode data abort: 'Alignment Fault' on read
trapframe: 0xc18f28c0
FSR=00000001, FAR=c21a287a, spsr=60000013
r0 =c07a6548, r1 =00000004, r2 =c060513d, r3 =000007b6
r4 =c18f2a28, r5 =c18f2b40, r6 =c21a2876, r7 =c1cce3e0
r8 =c1cce3e0, r9 =c21a2876, r10=c18f2b40, r11=c18f2988
r12=00000000, ssp=c18f2950, slr=c1a48370, pc =c0449928

Suggestions on where to start to track this down?


Here's the console output over the serial port from boot to panic:

U-Boot 2016.01 (Jun 11 2016 - 12:28:01 +0000)

DRAM:  224 MiB
RPI Model B (no P5) (0x3)
MMC:   bcm2835_sdhci: 0
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

In:    serial
Out:   lcd
Err:   lcd
Net:   Net Initialization Skipped
No ethernet found.
reading uEnv.txt
** Unable to read file uEnv.txt **
Hit any key to stop autoboot:  0 
starting USB...
USB0:   Core Release: 2.80a
scanning bus 0 for devices... 4 USB Device(s) found
        scanning usb for storage devices... 0 Storage Device(s) found
        scanning usb for ethernet devices... 1 Ethernet Device(s) found
Booting from: mmc 0 ubldr.bin
reading ubldr.bin
223912 bytes read in 30 ms (7.1 MiB/s)
## No elf image at address 0x00200000
## Starting application at 0x00200000 ...
Consoles: U-Boot console 
Compatible U-Boot API signature found _at_0xdb464d0

FreeBSD/armv6 U-Boot loader, Revision 1.2
(root_at_releng2.nyi.freebsd.org, Sat Jun 11 12:55:20 UTC 2016)

DRAM: 224MB
Number of U-Boot devices: 2
U-Boot env: loaderdev='mmc 0'
Found U-Boot device: disk
   Checking unit=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel data=0x606164+0xfde9c syms=[0x4+0xcaf70+0x4+0x984e7]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]... 
Using DTB provided by U-Boot at address 0x100.
Kernel entry at 0x0x400100...
Kernel args: (null)
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-ALPHA3 #0 r301815: Sat Jun 11 13:02:45 UTC 2016
     root_at_releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
VT: init without driver.
sema_sysinit
CPU: ARM1176JZ-S rev 7 (ARM11J core)
  Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext
  WB enabled LABT branch prediction disabled
   16KB/32B 4-way instruction cache
   16KB/32B 4-way write-back-locking-C data cache
real memory  = 234876928 (223 MB)
avail memory = 219312128simplebus0: <Flattened device tree simple bus> mem 0x20000000-0x20ffffff on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
intc0: <BCM2835 Interrupt Controllvent timer "BCM2835-3" frequency 1000000 Hz quality 1000
Timecounter "BCM2835-3" frequency 1000000 Hz quality 1000
bcmwd0: <BCM2708/2835 Watchdog> mem 0x10001c-0x100027 on simplebus0
gpio0: <BCM2708/2835 GPIO controller> mem 0x200000-0x2000af on simplebus0
gpio0: read-only pins: 46-53.
gpio0: reserved pins: 48-53.
gpiobus0: <OFW GPIO bus> on gpio0
gpioled0: <GPIO led> at pin 16 on gpiobus0
gpioc0: <GPIO controller> on gpio0
iichb0: <BCM2708/2835 BSC controller> mem 0x205000-0x20501f on simplebus0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
iichb1: <BCM2708/2835 BSC controller> mem 0x804000-0x80401f on simplebus0
iicbus1: <OFW I2C bus> on iichb1
iic1: <I2C generic I/O> on iicbus1
spi0: <BCM2708/2835 SPI controller> mem 0x204000-0x20401f on simplebus0
spibus0: <OFW SPI bus> on spi0
bcm_dma0: <BCM2835 DMA Controller> mem 0x7000-0x7fff,0xe05000-0xe05fff on simplebus0
mbox0: <BCM2835 VideoCore Mailbox> mem 0xb880-0xb8bf on simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x300000-0x3000ff on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
uart0: <PrimeCell UART (PL011)> mem 0x201000-0x201fff on simplebus0
uart0: console (115200,n,8,1)
vchiq0: <BCM2835 VCHIQ> mem 0xb800-0xb84f on simplebus0
vchiq: local ver 8 (min 3), remote ver 8.
pcm0: <VCHIQ audio> on vchiq0
bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x980000-0x99ffff on simplebus0
usbus0 on bcm283x_dwcotg0
fb0: <BCM2835 VT framebuffer driver> on ofwbus0
fbd0 on fb0
VT: initialize with new VT driver "fb".
fb0: 656x416(656x416_at_0,0) 24bpp
fb0: fbswap: 1, pitch 1968, base 0x0eaac000, screen_size 818688
cryptosoft0: <software crypto>
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0
bcm2835_cpufreq0: ARM 700MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF
ugen0.1: <DWCOTG> at usbus0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00,uhub0: 1 port with 1 removable, self powered
mmcsd0: 2GB <SD SD02G 2.8 SN A313612D MFG 02/2008 by 2 TM> at mmc0 41.6MHz/4bit/65535-block
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
warning: no time-of-day clock registered, system time will not be set accurately
ugen0.2: <vendor 0x0424> at usbus0
uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> on usbus0
uhub1: MTT enabled
uhub1: 3 ports with 2 removable, self powered
Setting hostuuid: 4af361f9-2fd5-11e6-bfe7-b827ebdc1f36.
Setting hostid: 0xe2d1bb69.
No suitable dump device was found.
Starting file system checks:
ugen0.3: <vendor 0x0424> at usbus0
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
smsc0: chip 0xec00, rev. 0002
miibus0: <MII bus> on smsc0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: <USB Ethernet> on smsc0
ue0: Ethernet address: b8:27:eb:dc/dev/ufs/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufs/rootfs: clean, 276308 free (196 frags, 34514 blocks, 0.0% fragmentation)
ugen0.4: <vendor 0x0bda> at usbus0
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
random: unblocking device.
Soft Float compatibility ldconfig path:
Setting hostname: rpi-b.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
ifconfig: SIOCIFCREATE2: Invalid argument
smsc0: chip 0xec00, rev. 0002
ue0: link state changed to DOWN
Starting Network: lo0 ue0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
         inet 127.0.0.1 netmask 0xff000000
         groups: lo
         nd6 optioue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
         ether b8:27:eb:dc:1f:36
         media: Ethernet autoselect (none)
         status: no carrier
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
urtwn0: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr 4> on usbus0
urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
urtwn0: enabling 11n
wlan0: Ethernet address: 00:13:ef:74:07:a8
Created wlan(4) interfaces: wlan0.
Starting wpa_supplicant.
Starting Network: wlan0.
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether 00:13:ef:74:07:a8
         groups: wlan
         ssid "" channel 1 (2412 MHz 11b)
         regdomain FCC country CA indoor authmode WPA1+WPA2/802.11i
         privacy MIXED deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 wme
         roaming MANUAL bintval 0
         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
         status: no carrier
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 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
Waiting 30s for the default route interface: wlan0: link state changed to UP
.....(wlan0)
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
Configuring vt: blanktime.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.

Sat Jun 11 13:16:12 UTC 2016

FreeBSD/arm (rpi-b) (ttyu0)

login:

["nc rpi-b 22" entered on remote]
Fatal kernel mode data abort: 'Alignment Fault' on read
trapframe: 0xc18f28c0
FSR=00000001, FAR=c21a287a, spsr=60000013
r0 =c07a6548, r1 =00000004, r2 =c060513d, r3 =000007b6
r4 =c18f2a28, r5 =c18f2b40, r6 =c21a2876, r7 =c1cce3e0
r8 =c1cce3e0, r9 =c21a2876, r10=c18f2b40, r11=c18f2988
r12=00000000, ssp=c18f2950, slr=c1a48370, pc =c0449928

[ thread pid 13 tid 100036 ]
Stopped at      $a.17+0x38:     ldmib   r6, {r1-r2}
db>


...keith
Received on Thu Jun 16 2016 - 00:04:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC