Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 07:15:04 +0100
From:      freebsdnewbie@freenet.de
To:        freebsd-arm@freebsd.org
Subject:   [bbb] kernel panic during boot
Message-ID:  <6efca938e9fcefb04b528cdb4d8f0080@email.freenet.de>

next in thread | raw e-mail | index | archive | help

Booting CURRENT r329950 (GENERIC-NODEBUG Kernel) on a Beaglebone Black resu=
lts in a kernel panic:


U-Boot 2017.09 (Oct 19 2017 - 22:27:23 +0000)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

 not set. Validating first E-fuse MAC
Net:   cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found FreeBSD U-Boot Loader (bin)
reading ubldr.bin
232876 bytes read in 22 ms (10.1 MiB/s)
## Starting application at 0x82000000 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0x9df2dc60

FreeBSD/armv6 U-Boot loader, Revision 1.2
(Thu Jan  4 03:32:38 UTC 2018 root@releng3.nyi.freebsd.org)

DRAM: 512MB
Number of U-Boot devices: 3
U-Boot env: loaderdev not set, will probe all devices.
Found U-Boot device: disk
   Probing all disk devices...
   Checking unit=3D0 slice=3D partition=3D... good.
Booting from disk0s2a:
/boot/kernel/kernel data=3D0x8ad194+0x186e6c syms=3D[0x4+0x97930+0x4+0xdbe9=
9]

Hit [Enter] to boot immediately, or any other key for command .
Booting [/boot/kernel/kernel]...
/boot/dtb/am335x-boneblack.dtb size=3D0xc8b3
Loaded DTB from file 'am335x-boneblack.dtb'.
Kernel entry at 0x82200100...
Kernel args: (null)
ARM Debug Architecture not supported
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2018 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 12.0-CURRENT #2 r329982: Sun Feb 25 15:52:01 CET 2018
     root@valinor:/usr/obj/usr/src/arm.armv7/sys/GENERIC-NODEBUG arm
FreeBSD clang version 6.0.0 (branches/release_60 325330) (based on LLVM=20
6.0.0)
VT: init without driver.
module_register: cannot register simplebus/ahci from kernel; already=20
loaded from kernel
Module simplebus/ahci failed to register: 17
module_register: cannot register simplebus/ehci from kernel; already=20
loaded from kernel
Module simplebus/ehci failed to register: 17
module_register: cannot register simplebus/pcib from kernel; already=20
loaded from kernel
Module simplebus/pcib failed to register: 17
module_register: cannot register simplebus/ehci from kernel; already=20
loaded from kernel
Module simplebus/ehci failed to register: 17
CPU: ARM Cortex-A8 r3p2 (ECO: 0x00000000)
CPU Features:
   Thumb2, Security, VMSAv7
Optional instructions:
   UMULL, SMULL, SIMD(ext)
LoUU:2 LoC:3 LoUIS:1
Cache level 1:
  32KB/64B 4-way data cache WT WB Read-Alloc
  32KB/64B 4-way instruction cache Read-Alloc
Cache level 2:
  256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc
real memory  =3D 536870912 (512 MB)
avail memory =3D 511311872 (487 MB)
Texas Instruments AM335x Processor, Revision ES2.1
arc4random: no preloaded entropy cache
random: entropy device external interface
panic: kobj_class_compile: out of memory
cpuid =3D 0
time =3D 1
KDB: stack backtrace:
db_trace_self() at db_trace_self
 pc =3D 0xc05f4c10  lr =3D 0xc00a25d8 (db_trace_self_wrapper+0x30)
 sp =3D 0xc0c13cb0  fp =3D 0xc0c13dc8
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 pc =3D 0xc00a25d8  lr =3D 0xc02d2210 (vpanic+0x154)
 sp =3D 0xc0c13dd0  fp =3D 0xc0c13df0
 r4 =3D 0x00000100  r5 =3D 0x00000001
 r6 =3D 0xc0746bb4  r7 =3D 0xc09baa58
vpanic() at vpanic+0x154
 pc =3D 0xc02d2210  lr =3D 0xc02d20bc (vpanic)
 sp =3D 0xc0c13df8  fp =3D 0xc0c13dfc
 r4 =3D 0x00000000  r5 =3D 0xc088c10c
 r6 =3D 0xc30dc4c0  r7 =3D 0x0000000f
 r8 =3D 0xc1e81780  r9 =3D 0xc08a766c
r10 =3D 0xc09ba7c8
vpanic() at vpanic
 pc =3D 0xc02d20bc  lr =3D 0xc0321394 (kobj_class_compile_static)
 sp =3D 0xc0c13e04  fp =3D 0xc0c13e20
 r4 =3D 0x0000000f  r5 =3D 0xc1e81780
 r6 =3D 0xc08a766c  r7 =3D 0xc09ba7c8
 r8 =3D 0xc0c13dfc  r9 =3D 0xc02d20bc
r10 =3D 0xc0c13e04
kobj_class_compile_static() at kobj_class_compile_static
 pc =3D 0xc0321394  lr =3D 0xc030ed94 (devclass_add_driver+0x48)
 sp =3D 0xc0c13e28  fp =3D 0xc0c13e40
 r4 =3D 0xc30dc4c0 r10 =3D 0x0000000f
devclass_add_driver() at devclass_add_driver+0x48
 pc =3D 0xc030ed94  lr =3D 0xc02b57e0 (module_register_init+0xd4)
 sp =3D 0xc0c13e48  fp =3D 0xc0c13e68
 r4 =3D 0xc088c0e8  r5 =3D 0xc1e99900
 r6 =3D 0xc076e386  r7 =3D 0x00000001
 r8 =3D 0xc09df118  r9 =3D 0xc08a766c
module_register_init() at module_register_init+0xd4
 pc =3D 0xc02b57e0  lr =3D 0xc0268f20 (mi_startup+0x18c)
 sp =3D 0xc0c13e70  fp =3D 0xc0c13e90
 r4 =3D 0xc09def24  r5 =3D 0x00000001
 r6 =3D 0xc07846cc  r7 =3D 0x00000000
 r8 =3D 0xc09def20  r9 =3D 0xc07854e4
r10 =3D 0xc09dee28
mi_startup() at mi_startup+0x18c
 pc =3D 0xc0268f20  lr =3D 0xc0000244 (btext+0x144)
 sp =3D 0xc0c13e98  fp =3D 0x00000000
 r4 =3D 0xc0000378  r5 =3D 0xc0a30000
 r6 =3D 0x82059480  r7 =3D 0x00c52078
 r8 =3D 0xc0bc3000  r9 =3D 0x00000014
r10 =3D 0x44e35000
btext() at btext+0x144
 pc =3D 0xc0000244  lr =3D 0xc0000244 (btext+0x144)
 sp =3D 0xc0c13e98  fp =3D 0x00000000
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at      $d.3:   ldrb    r15, [r15, r15, ror r15]!
db>

Any Ideas?




Sichern Sie sich mit freenet Mail start 20 GB CLOUD-SPEICHER=0Azus=C3=A4tzl=
ich zu Ihrem werbefreien Postfach sowie h=C3=B6chste=0ASicherheitsstandards=
=0Ahttps://email.freenet.de/start/index.html=0A[https://email.freenet.de/s=
tart/index.html?utm_medium=3DMail%20Start&utm_source=3DMailfooter&utm_campa=
ign=3DFooter%20B&epid=3De9900000928&utm_content=3DLink]=0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6efca938e9fcefb04b528cdb4d8f0080>