From owner-freebsd-current@freebsd.org Thu Jun 16 02:04:01 2016 Return-Path: Delivered-To: freebsd-current@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 85EF5A47070 for ; Thu, 16 Jun 2016 02:04:01 +0000 (UTC) (envelope-from kwhite@site.uottawa.ca) Received: from courriel.site.uottawa.ca (eecsmail.engineering.uottawa.ca [137.122.24.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "courriel.site.uottawa.ca", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A5D01848 for ; Thu, 16 Jun 2016 02:04:00 +0000 (UTC) (envelope-from kwhite@site.uottawa.ca) Received: from [10.0.2.15] (ppp-74-51-49-4.vianet.ca [74.51.49.4]) (authenticated bits=0) by courriel.site.uottawa.ca (8.14.5/8.14.5) with ESMTP id u5G1mrUx073749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 15 Jun 2016 21:48:55 -0400 (EDT) (envelope-from kwhite@site.uottawa.ca) Date: Wed, 15 Jun 2016 21:48:49 -0400 (EDT) From: Keith White X-X-Sender: kwhite@localhost.my.domain To: freebsd-current@freebsd.org Subject: RPI-B 11.0-ALPHA3 r301815 panic Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 02:04:01 -0000 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 @0xdb464d0 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@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= partition=... 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@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: mem 0x20000000-0x20ffffff on ofwbus0 cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 intc0: mem 0x10001c-0x100027 on simplebus0 gpio0: mem 0x200000-0x2000af on simplebus0 gpio0: read-only pins: 46-53. gpio0: reserved pins: 48-53. gpiobus0: on gpio0 gpioled0: at pin 16 on gpiobus0 gpioc0: on gpio0 iichb0: mem 0x205000-0x20501f on simplebus0 iicbus0: on iichb0 iic0: on iicbus0 iichb1: mem 0x804000-0x80401f on simplebus0 iicbus1: on iichb1 iic1: on iicbus1 spi0: mem 0x204000-0x20401f on simplebus0 spibus0: on spi0 bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff on simplebus0 mbox0: mem 0xb880-0xb8bf on simplebus0 sdhci_bcm0: mem 0x300000-0x3000ff on simplebus0 mmc0: on sdhci_bcm0 uart0: mem 0x201000-0x201fff on simplebus0 uart0: console (115200,n,8,1) vchiq0: mem 0xb800-0xb84f on simplebus0 vchiq: local ver 8 (min 3), remote ver 8. pcm0: on vchiq0 bcm283x_dwcotg0: mem 0x980000-0x99ffff on simplebus0 usbus0 on bcm283x_dwcotg0 fb0: on ofwbus0 fbd0 on fb0 VT: initialize with new VT driver "fb". fb0: 656x416(656x416@0,0) 24bpp fb0: fbswap: 1, pitch 1968, base 0x0eaac000, screen_size 818688 cryptosoft0: 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: at usbus0 uhub0: 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: at usbus0 uhub1: 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: at usbus0 smsc0: on usbus0 smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 ukphy0: PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: 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: 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 metric 0 mtu 16384 options=600003 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 metric 0 mtu 1500 options=80009 ether b8:27:eb:dc:1f:36 media: Ethernet autoselect (none) status: no carrier nd6 options=29 Starting devd. urtwn0: 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 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 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