Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 16:32:50 -0700
From:      jungleboogie0 <jungleboogie0@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Raspberry pi 11 Current panic
Message-ID:  <CAKE2PDu9C==qZOZy0CT983gU=56OMVVqK-Mcj%2Bt4vbXRsm9G=g@mail.gmail.com>
In-Reply-To: <CAJ-Vmona-PrELOyz1jEy9VoSyxQrYGrOybkQMQyXkDDrUtE1oA@mail.gmail.com>
References:  <CAKE2PDtG%2BdqkvASjUBLx2QNyVSpqU1-_oGCERDCmcAMHUYuzgg@mail.gmail.com> <CAJ-Vmona-PrELOyz1jEy9VoSyxQrYGrOybkQMQyXkDDrUtE1oA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=<auto> partition=<auto>... 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: <Software, Yarrow> initialized
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> mem 0x20000000-0x20ffffff on
ofwbus0
intc0: <BCM2835 Interrupt Controller> mem 0xb200-0xb3ff on simplebus0
systimer0: <BCM2835 System Timer> 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: <BCM2708/2835 Watchdog> mem 0x10001c-0x100027 on simplebus0
gpio0: <BCM2708/2835 GPIO controller> 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: <GPIO controller> on gpio0
gpiobus0: <OFW GPIO bus> on gpio0
gpioled0: <GPIO led> at pin(s) 16 on gpiobus0
iichb0: <BCM2708/2835 BSC controller> mem 0x205000-0x20501f irq 61 on
simplebus0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
iichb1: <BCM2708/2835 BSC controller> mem 0x804000-0x80401f irq 61 on
simplebus0
iicbus1: <OFW I2C bus> on iichb1
iic1: <I2C generic I/O> on iicbus1
spi0: <BCM2708/2835 SPI controller> mem 0x204000-0x20401f irq 62 on
simplebus0
spibus0: <OFW SPI bus> on spi0
bcm_dma0: <BCM2835 DMA Controller> mem 0x7000-0x7fff,0xe05000-0xe05fff irq
24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0
mbox0: <BCM2835 VideoCore Mailbox> mem 0xb880-0xb8bf irq 1 on simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x300000-0x3000ff irq 70
on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
uart0: <PrimeCell UART (PL011)> mem 0x201000-0x201fff irq 65 on simplebus0
uart0: console (115200,n,8,1)
dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0x980000-0x99ffff irq
17 on simplebus0
usbus0 on dwcotg0
fb0: <BCM2835 VT framebuffer driver> on ofwbus0
simplebus1: <Flattened device tree simple bus> 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: <DWCOTG> at usbus0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
mmcsd0: 16GB <SDHC SU16G 8.0 SN 44764038 MFG 06/2012 by 3 SD> 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: <vendor 0x0424> at usbus0
uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> 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: <vendor 0x0424> at usbus0
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> 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: <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: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<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
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80001<RXCSUM,LINKSTATE>
        ether b8:27:eb:1c:6a:26
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
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/ <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/<http://www.freebsd.org/>;
 and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/ <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 <adrian@freebsd.org> wrote:

> Can you type 'bt' in the debugger and paste that?
>
>
> -a
>
>
> On 25 March 2014 09:43, jungleboogie0 <jungleboogie0@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKE2PDu9C==qZOZy0CT983gU=56OMVVqK-Mcj%2Bt4vbXRsm9G=g>