From owner-freebsd-current@freebsd.org Thu Jun 16 09:08:08 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 F1933A3131D for ; Thu, 16 Jun 2016 09:08:07 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFA80125B for ; Thu, 16 Jun 2016 09:08:07 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id f30so35766100ioj.2 for ; Thu, 16 Jun 2016 02:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VqXetE29SQH3e8gMuRazO4QGta+SVf87fuEAyfDiPPo=; b=NjF+HLI3bfC34YF2JM0yI176GXuA5odlMiqRTLqaLSQmeRJl0MvXYuleSWi2pXGyXL CgSViD26yJtpqvxFNwzcLbqAsaQxKdAYoswoPgY/6LZWKdbQ9fQNAmX2g/CoqgDJ1jlN fpk5kMCiHXLochDimBPni5oMcxghGlSztm0s+eU9YGZM1AzesjigmS+1wjhTEDeBdQI0 BY2AiiktiE1+wOOgnP5IkgBIVvL4Zkr8eXVz3+Vat4z1zgPf39QX+Zx9CA1gxLETdgA7 MZwVH7XmqOV04ZlwdaFi2JJ2bPUjTW+B4tMekcgBYtbivlW3dsKon+RbJid7SpK16nPK DOOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VqXetE29SQH3e8gMuRazO4QGta+SVf87fuEAyfDiPPo=; b=OQNsZCaGcwj8OPq21Cr9WC4txpCYrhsDcHaVxzbTH+v+fP3BQTXvzQ3SP/bgeLr3X0 ujdl5WnKQrABWlvyPINPgf29h9iIQfK8ZSplnJok9nGE5lhuQqxXNbOqQ+62hIlDbmeP /TKyfUc4SPdGySUlbROfjEg26oSckqnJAUtEjSLqO6+BU/LMQqGj55MOdzjyn/Wuc/5d fttcII6Z/3U7AwnMX7fP9uoi3NTEvmZSAyZhgoUy7iIU73M9jqtNskS7OIVvSEs/8TbH Z0KhkvtQi/rJkNHR6mmBF7OwMzFK+C8/vQpnfKugUrJ1zXZX5RA9S7CS2RSpBDGbcGHw QBAQ== X-Gm-Message-State: ALyK8tKtbrI9huE1glSQ2GAnfyeuBZK2VUiGzTE3M9PIadmF0/q5dghFYWT+A4Vbm8wqJpPem4gic60xpY4dVw== X-Received: by 10.107.162.131 with SMTP id l125mr5874207ioe.84.1466068086824; Thu, 16 Jun 2016 02:08:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.60.67 with HTTP; Thu, 16 Jun 2016 02:08:06 -0700 (PDT) In-Reply-To: References: From: Svatopluk Kraus Date: Thu, 16 Jun 2016 11:08:06 +0200 Message-ID: Subject: Re: RPI-B 11.0-ALPHA3 r301815 panic To: Keith White Cc: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 09:08:08 -0000 There was a fix committed in r301872 which should help. Svatopluk Kraus On Thu, Jun 16, 2016 at 3:48 AM, Keith White wrote: > 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: Hz quality 1000 > Timecounter "BCM2835-3" frequency 1000000 Hz quality 1000 > bcmwd0: 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: removable, self powered > mmcsd0: 2GB 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"