From owner-freebsd-arm@FreeBSD.ORG Tue Mar 25 23:32:51 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C32E8DB; Tue, 25 Mar 2014 23:32:51 +0000 (UTC) Received: from mail-oa0-x22e.google.com (mail-oa0-x22e.google.com [IPv6:2607:f8b0:4003:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 36E2338C; Tue, 25 Mar 2014 23:32:51 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id i7so1519422oag.5 for ; Tue, 25 Mar 2014 16:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1GaIazvR8RIYDz1Zpxz4O/iBw9vYaW/3grihd4kwcf4=; b=z+S4k7ZZ6yBF7BToaBfCLCmlo97PbnrSj9HfgQL5lb/PB2VvXDFfA4Ur33VXJOFyqT LdsYY1hV9UrqiIahis4OyRiAok2M6FDJFtM37xGtiBqZA5U8yu4Iqe/bsxQoBpl9DkCq uHyHMxPSjMmk6NP+ASMtRI/SIr4BgaZ6EqabyN8ZQT9MQYY4VzbWsbq2+Lcr9j6QSGIL BRJS7BTCD6bnZ2jUsXyvOCieeSy1H2P0mLqNpirVE+BnpOCb23OX3PcPm4Od5DiyYBPk dX2QQ6CEr7uRDCxQpeOjIzivXJZ7yVnPBjD7QfAsQP6CVCwIK92JwQ1t7vjMBSPttDeJ 76Jg== MIME-Version: 1.0 X-Received: by 10.182.1.8 with SMTP id 8mr4203815obi.58.1395790370439; Tue, 25 Mar 2014 16:32:50 -0700 (PDT) Received: by 10.182.123.17 with HTTP; Tue, 25 Mar 2014 16:32:50 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Mar 2014 16:32:50 -0700 Message-ID: Subject: Re: Raspberry pi 11 Current panic From: jungleboogie0 To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 23:32:51 -0000 And now to the group: U-Boot 2013.01-rc1-svn18531 (Mar 24 2014 - 09:11:00) DRAM: 480 MiB WARNING: Caches not enabled MMC: bcm2835_sdhci: 0 Using default environment In: serial Out: lcd Err: lcd mbox: Timeout waiting for response bcm2835: Could not set USB power state Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 reading uEnv.txt 89 bytes read in 9419 ms (0 Bytes/s) Importing environment from mmc ... reading ubldr 249191 bytes read in 54770 ms (3.9 KiB/s) ## Starting application at 0x02000054 ... Consoles: U-Boot console Compatible U-Boot API signature found @1db682a8 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@grind.freebsd.org, Mon Mar 24 09:10:50 UTC 2014) DRAM: 480MB Number of U-Boot devices: 1 U-Boot env: loaderdev not set, will probe all devices. Found U-Boot device: disk Probing all disk devices... Checking unit=0 slice= partition=... good. Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x4b96e4+0x2e91c syms=[0x4+0x86880+0x4+0x50b0b] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0x0x100. Kernel entry at 0x100100... Kernel args: (null) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2014 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 r263665: Mon Mar 24 09:05:52 UTC 2014 root@grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 CPU: ARM1176JZ-S rev 7 (ARM11J core) Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext WB enabled LABT branch prediction enabled 16KB/32B 4-way instruction cache 16KB/32B 4-way write-back-locking-C data cache real memory = 536866816 (511 MB) avail memory = 483893248 (461 MB) random device not loaded; using insecure entropy random: initialized kbd0 at kbdmux0 ofwbus0: simplebus0: mem 0x20000000-0x20ffffff on ofwbus0 intc0: mem 0xb200-0xb3ff on simplebus0 systimer0: mem 0x3000-0x3fff irq 8,9,10,11 on simplebus0 Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000 Timecounter "BCM2835 Timecounter" frequency 1000000 Hz quality 1000 bcmwd0: mem 0x10001c-0x100027 on simplebus0 gpio0: mem 0x200000-0x2000af irq 57,59,58,60 on simplebus0 gpio0: read-only pins: 46,47,48,49,50,51,52,53. gpio0: reserved pins: 48,49,50,51,52,53. gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 16 on gpiobus0 iichb0: mem 0x205000-0x20501f irq 61 on simplebus0 iicbus0: on iichb0 iic0: on iicbus0 iichb1: mem 0x804000-0x80401f irq 61 on simplebus0 iicbus1: on iichb1 iic1: on iicbus1 spi0: mem 0x204000-0x20401f irq 62 on simplebus0 spibus0: on spi0 bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0 mbox0: mem 0xb880-0xb8bf irq 1 on simplebus0 sdhci_bcm0: mem 0x300000-0x3000ff irq 70 on simplebus0 mmc0: on sdhci_bcm0 uart0: mem 0x201000-0x201fff irq 65 on simplebus0 uart0: console (115200,n,8,1) dwcotg0: mem 0x980000-0x99ffff irq 17 on simplebus0 usbus0 on dwcotg0 fb0: on ofwbus0 simplebus1: on ofwbus0 simplebus1: could not get ranges device_attach: simplebus1 attach returned 6 Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 mmcsd0: 16GB at mmc0 50.0MHz/4bit/65535-block fb0: 656x416(0x0@0,0) 16bpp fb0: pitch 1312, base 0x5e006000, screen_size 545792 fbd0 on fb0 vt_allocate: VT initialize with new VT driver. random: unblocking device. Root mount waiting for: usbus0 uhub0: 1 port with 1 removable, self powered ugen0.2: at usbus0 uhub1: on usbus0 uhub1: MTT enabled Root mount waiting for: usbus0 uhub1: 3 ports with 2 removable, self powered Root mount waiting for: usbus0 ugen0.3: at usbus0 smsc0: on usbus0 Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... WARNING: /releng/11-armv6-RPI-B-snap/tmp/crochet/work/_.mount.freebsd was not properly dismounted smsc0: chip 0xec00, rev. 0002 warning: no time-of-day clock registered, system time will not be set accurately 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:1c:6a:26 Enlarging root partition mmcsd0s2 resized mmcsd0s2a resized growfs: requested size 15GB is not larger than the current filesystem size 15GB Setting hostuuid: 9e15ff8d-b334-11e3-a379-b827eb1c6a26. Setting hostid: 0x8ff482a8. No suitable dump device was found. Entropy harvesting: interrupts ethernet point_to_point swi. Starting file system checks: ** SU+J Recovering /dev/mmcsd0s2a ** Reading 4194304 byte journal from inode 4. ** Building recovery table. ** Resolving unreferenced inode list. ** Processing journal entries. ** 17 journal records in 2048 bytes for 26.56% utilization ** Freed 4 inodes (0 dirs) 0 blocks, and 1 frags. ***** FILE SYSTEM MARKED CLEAN ***** Mounting local file systems:. Writing entropy file:. Setting hostname: raspberry-pi. 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 nd6 options=21 ue0: flags=8843 metric 0 mtu 1500 options=80001 ether b8:27:eb:1c:6a:26 media: Ethernet autoselect (none) status: no carrier nd6 options=29 Starting devd. Starting pflogd: 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: .....(no carrier) Creating and/or trimming log files. ELF ldconfig path: /lib /usr/lib /usr/lib/compat Starting casperd. Clearing /tmp (X related). Updating motd:. Mounting late file systems:. Configuring syscons: blanktime. Performing sanity check on sshd configuration. Starting sshd. Starting background file system checks in 60 seconds. Mon Mar 24 09:29:41 UTC 2014 FreeBSD/arm (raspberry-pi) (ttyu0) login: root FreeBSD 11.0-CURRENT (RPI-B) #0 r263665: Mon Mar 24 09:05:52 UTC 2014 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/ . If the doc package has been installed (or fetched via pkg install lang-freebsd-doc, where lang is the 2-letter language code, e.g. en), they are also available formatted in /usr/local/share/doc/freebsd. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. Edit /etc/motd to change this login announcement. root@raspberry-pi:~ # vmstat procs memory page disks faults cpu r b w avmpanic: mutex process lock not owned at /usr/src/sys/kern/kern_sig.c:2874 KDB: enter: panic [ thread pid 746 tid 100070 ] Stopped at $d: ldrb r15, [r15, r15, ror r15]! db> bt Tracing pid 746 tid 100070 td 0xc29e2960 db_trace_self() at db_trace_self pc = 0xc048d0bc lr = 0xc0130e18 (db_stack_trace+0xf4) sp = 0xdcefca30 fp = 0xdcefca48 r10 = 0xc05dac10 db_stack_trace() at db_stack_trace+0xf4 pc = 0xc0130e18 lr = 0xc0130788 (db_command+0x270) sp = 0xdcefca50 fp = 0xdcefcaf0 r4 = 0x00000000 r5 = 0x00000000 r6 = 0x00000000 db_command() at db_command+0x270 pc = 0xc0130788 lr = 0xc01304ec (db_command_loop+0x60) sp = 0xdcefcaf8 fp = 0xdcefcb08 r4 = 0xc04cc6b0 r5 = 0xc04e6743 r6 = 0xc05dabfc r7 = 0xdcefccd8 r8 = 0xc05d14b0 r9 = 0xc05d14b4 r10 = 0xc05832e0 db_command_loop() at db_command_loop+0x60 pc = 0xc01304ec lr = 0xc0132eb4 (db_trap+0xd8) sp = 0xdcefcb10 fp = 0xdcefcc30 r4 = 0x00000000 r5 = 0xc05dac08 r6 = 0xc05d14e0 db_trap() at db_trap+0xd8 pc = 0xc0132eb4 lr = 0xc028c130 (kdb_trap+0xcc) sp = 0xdcefcc38 fp = 0xdcefcc58 r4 = 0x00000000 r5 = 0x00000001 r6 = 0xc05d14e0 r7 = 0xdcefccd8 kdb_trap() at kdb_trap+0xcc pc = 0xc028c130 lr = 0xc04a0960 (undefinedinstruction+0x298) sp = 0xdcefcc60 fp = 0xdcefccd0 r4 = 0x00000000 r5 = 0x00000000 r6 = 0xc04a0618 r7 = 0xe7ffffff r8 = 0xc29e2960 r9 = 0xc028b9f0 r10 = 0xdcefccd8 undefinedinstruction() at undefinedinstruction+0x298 pc = 0xc04a0960 lr = 0xc048ec48 (exception_exit) sp = 0xdcefccd8 fp = 0xdcefcd30 r4 = 0xc04e679d r5 = 0xdcefcd6c r6 = 0xc04e4534 r7 = 0xc05c3a00 r8 = 0xc29e2960 r9 = 0xc05dc660 r10 = 0xc05c3860 exception_exit() at exception_exit pc = 0xc048ec48 lr = 0xc028b9e4 (kdb_enter+0x40) sp = 0xdcefcd28 fp = 0xdcefcd30 r0 = 0xc05d14c4 r1 = 0x00000000 r2 = 0xc04ea00b r3 = 0x000000ab r4 = 0xc04e679d r5 = 0xdcefcd6c r6 = 0xc04e4534 r7 = 0xc05c3a00 r8 = 0xc29e2960 r9 = 0xc05dc660 r10 = 0xc05c3860 r12 = 0x00000000 $a() at $a pc = 0xc028b9f4 lr = 0xc02553d8 (vpanic+0xb4) sp = 0xdcefcd38 fp = 0xdcefcd58 r4 = 0x00000100 vpanic() at vpanic+0xb4 pc = 0xc02553d8 lr = 0xc025543c (kproc_shutdown) sp = 0xdcefcd60 fp = 0xdcefcd64 r4 = 0xc26d9c80 r5 = 0xc0512deb r6 = 0xc04a1318 r7 = 0xec510b10 r8 = 0xc29e2960 r9 = 0x201c2d78 r10 = 0xdcefce68 kproc_shutdown() at kproc_shutdown pc = 0xc025543c lr = 0xc29e2960 (0xc29e2960) sp = 0xdcefcd6c fp = 0xdcefcd78 r4 = 0xc025543c r5 = 0xdcefcd6c Unknown entry: 0 end() at 0xc29e2960 pc = 0xc29e2960 lr = 0xc29e2960 (0xc29e2960) sp = 0xdcefcd6c fp = 0xdcefcd78 Unable to unwind into user mode db> On 25 March 2014 12:35, Adrian Chadd wrote: > Can you type 'bt' in the debugger and paste that? > > > -a > > > On 25 March 2014 09:43, jungleboogie0 wrote: > > Hello All, > > > > > > > > I grabbed 11-CURRENT for raspberry pi here: > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0 > > > > Booted up my pi and I'm trying to run vnstat but this occurs: > > > > root@raspberry-pi:~ # vmstat > > procs memory page disks faults > cpu > > r b w avm fpanic: mutex process lock not owned at > > /usr/src/sys/kern/kern_sig.c:2874 > > KDB: enter: panic > > [ thread pid 747 tid 100063 ] > > Stopped at $d: ldrb r15, [r15, r15, ror r15]! > > > > So far I've been able to do this 3 times in a row by simply logging in > and > > typing vmstat. > > > > Is this expected behavior? > > > > > > > > -- > > ------- > > inum: 883510009902611 > > sip: jungleboogie@sip2sip.info > > xmpp: jungle-boogie@jit.si > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > -- ------- inum: 883510009902611 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si