Date: Fri, 23 Aug 2013 17:47:28 +0800 From: XiaoQI Ge <ghw@7axu.com> To: freebsd-arm <freebsd-arm@freebsd.org> Subject: My BB-Black boot failure Message-ID: <CAKrd9eUKjc6sDJBB9hx34PeWHP-B6cnSLv0GCOjKzvsJagZZgw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
My BB-Black boot failure Patched this patch http://people.freebsd.org/ ~ gonzo/arm/patches/bbb-emmc1-fix.diff this patch Yesterday also boot, boot failure today === KDB: current backend: ddb Copyright (c) 1992-2013 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 10.0-CURRENT #0 r254628M: Fri Aug 23 02:57:38 CST 2013 root@7axu.com:/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/BB-Black arm FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. CPU: Cortex A8-r3 rev 2 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:2 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 = 536870912 (512 MB) avail memory = 515387392 (491 MB) Texas Instruments AM3358 Processor, Revision ES1.1 random device not loaded; using insecure entropy random: <Software, Yarrow> initialized simplebus0: <Flattened device tree simple bus> on fdtbus0 aintc0: <TI AINTC Interrupt Controller> mem 0x48200000-0x48200fff on simplebus0 aintc0: Revision 5.0 ti_scm0: <TI Control Module> mem 0x44e10000-0x44e11fff on simplebus0 am335x_prcm0: <AM335x Power and Clock Management> mem 0x44e00000-0x44e012ff on simplebus0 am335x_prcm0: Clocks: System 24.0 MHz, CPU 550 MHz am335x_dmtimer0: <AM335x DMTimer> mem 0x44e05000-0x44e05fff,0x44e31000-0x44e31fff,0x48040000-0x48040fff,0x48042000-0x48042fff,0x48044000-0x48044fff,0x48046000-0x48046fff,0x48048000-0x48048fff,0x4804a000-0x4804afff irq 66,67,68,69,92,93,94,95 on simplebus0 Timecounter "AM335x Timecounter" frequency 24000000 Hz quality 1000 Event timer "AM335x Eventtimer0" frequency 24000000 Hz quality 1000 gpio0: <TI General Purpose I/O (GPIO)> mem 0x44e07000-0x44e07fff,0x4804c000-0x4804cfff,0x481ac000-0x481acfff,0x481ae000-0x481aefff irq 96,97,98,99,32,33,62,63 on simplebus0 gpioc0: <GPIO controller> on gpio0 gpiobus0: <GPIO bus> on gpio0 uart0: <TI UART (16550 compatible)> mem 0x44e09000-0x44e09fff irq 72 on simplebus0 uart0: console (115384,n,8,1) ti_edma30: <TI EDMA Controller> mem 0x49000000-0x490fffff,0x49800000-0x498fffff,0x49900000-0x499fffff,0x49a00000-0x49afffff irq 12,13,14 on simplebus0 ti_edma30: EDMA revision 40014c00 sdhci_ti0: <TI MMCHS (SDHCI 2.0)> mem 0x48060000-0x48060fff irq 64 on simplebus0 mmc0: <MMC/SD bus> on sdhci_ti0 sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 28 on simplebus0 mmc1: <MMC/SD bus> on sdhci_ti1 cpsw0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a103fff irq 40,41,42,43 on simplebus0 cpsw0: CPSW SS Version 1.12 (0) cpsw0: Initial queue size TX=128 RX=384 cpsw0: Ethernet address: c8:a0:30:b2:e3:cb cpsw0: Failed to read from PHY. cpsw0: attaching PHYs failed vm_fault(0xc08341a0, 0, 1, 0) -> 1 Fatal kernel mode data abort: 'Translation Fault (S)' trapframe: 0xc0932b58 FSR=00000005, FAR=00000018, spsr=80000093 r0 =c2df2780, r1 =00000000, r2 =00000019, r3 =60000193 r4 =00000000, r5 =c2df2780, r6 =00000006, r7 =c05791d4 r8 =c2df2780, r9 =ffffffff, r10=c2db0800, r11=c0932bb8 r12=00000000, ssp=c0932ba8, slr=c0594714, pc =c0394f28 [ thread pid 0 tid 100000 ] Stopped at device_delete_child+0x14: ldr r1, [r4, #0x018] db> bt Tracing pid 0 tid 100000 td 0xc0833e90 db_trace_self() at db_trace_self pc = 0xc057d10c lr = 0xc022bc60 (db_stack_trace+0xf4) sp = 0xc0932860 fp = 0xc0932878 r10 = 0xc06844c0 db_stack_trace() at db_stack_trace+0xf4 pc = 0xc022bc60 lr = 0xc022b5cc (db_command+0x264) sp = 0xc0932880 fp = 0xc0932920 r4 = 0x00000000 r5 = 0x00000000 r6 = 0xc05e05e4 db_command() at db_command+0x264 pc = 0xc022b5cc lr = 0xc022b33c (db_command_loop+0x60) sp = 0xc0932928 fp = 0xc0932938 r4 = 0xc05bf0e2 r5 = 0xc05d9ef9 r6 = 0xc0832f20 r7 = 0xc0932b58 r8 = 0xc0932b58 r9 = 0xc06cfb94 r10 = 0xc0684730 db_command_loop() at db_command_loop+0x60 pc = 0xc022b33c lr = 0xc022dd3c (db_trap+0xdc) sp = 0xc0932940 fp = 0xc0932a60 r4 = 0x00000000 r5 = 0xc0932948 r6 = 0xc06cfbc0 db_trap() at db_trap+0xdc pc = 0xc022dd3c lr = 0xc039f534 (kdb_trap+0xd4) sp = 0xc0932a68 fp = 0xc0932a88 r4 = 0x00000000 r5 = 0x00000005 r6 = 0xc06cfbc0 r7 = 0xc0932b58 kdb_trap() at kdb_trap+0xd4 pc = 0xc039f534 lr = 0xc058c4b0 (dab_fatal+0x174) sp = 0xc0932a90 fp = 0xc0932aa8 r4 = 0xc0932b58 r5 = 0x600001d3 r6 = 0x00000018 r7 = 0x00000005 r8 = 0xc0932b58 r9 = 0x00000001 r10 = 0xc08341a0 dab_fatal() at dab_fatal+0x174 pc = 0xc058c4b0 lr = 0xc058c314 ($d) sp = 0xc0932ab0 fp = 0xc0932b50 r4 = 0xc0833b68 r5 = 0xc0833e90 r6 = 0xc0833c10 r7 = 0xc060b671 $d() at $d pc = 0xc058c314 lr = 0xc057e944 (exception_exit) sp = 0xc0932b58 fp = 0xc0932bb8 r4 = 0x00000000 r5 = 0xc2df2780 r6 = 0x00000006 r7 = 0xc05791d4 r8 = 0xc2df2780 r9 = 0xffffffff r10 = 0xc2db0800 exception_exit() at exception_exit pc = 0xc057e944 lr = 0xc0594714 (cpsw_detach+0x178) sp = 0xc0932bac fp = 0xc0932bb8 r0 = 0xc2df2780 r1 = 0x00000000 r2 = 0x00000019 r3 = 0x60000193 r4 = 0x00000000 r5 = 0xc2df2780 r6 = 0x00000006 r7 = 0xc05791d4 r8 = 0xc2df2780 r9 = 0xffffffff r10 = 0xc2db0800 r12 = 0x00000000 device_delete_child() at device_delete_child+0x14 pc = 0xc0394f28 lr = 0xc0594714 (cpsw_detach+0x178) sp = 0xc0932bc0 fp = 0xc0932be0 r4 = 0xc2e43000 r5 = 0xc2e43000 r6 = 0x00000006 cpsw_detach() at cpsw_detach+0x178 pc = 0xc0594714 lr = 0xc0594300 (cpsw_attach+0x7cc) sp = 0xc0932be8 fp = 0xc0932c60 r4 = 0x00000000 r5 = 0xc2e43000 r6 = 0x00000006 r7 = 0xc05791d4 r8 = 0xc2df2780 r9 = 0xffffffff cpsw_attach() at cpsw_attach+0x7cc pc = 0xc0594300 lr = 0xc039670c (device_attach+0x324) sp = 0xc0932c68 fp = 0xc0932c98 r4 = 0xc2df2780 r5 = 0xc2df2c80 r6 = 0xc2df27b8 r7 = 0x00000000 r8 = 0xc060a939 r9 = 0xc0399f34 r10 = 0xc2e2c214 device_attach() at device_attach+0x324 pc = 0xc039670c lr = 0xc039783c (bus_generic_attach+0x50) sp = 0xc0932ca0 fp = 0xc0932cb0 r4 = 0xc2df2780 r5 = 0xc0834864 r6 = 0xc05dc69f r7 = 0x00000aad r8 = 0xc05c02ae r9 = 0xc2e2c200 bus_generic_attach() at bus_generic_attach+0x50 pc = 0xc039783c lr = 0xc0234910 (simplebus_attach+0x1ac) sp = 0xc0932cb8 fp = 0xc0932cd8 r4 = 0xc2df2c80 r5 = 0x00000000 r6 = 0xc0686c20 r7 = 0xc05c02c8 simplebus_attach() at simplebus_attach+0x1ac pc = 0xc0234910 lr = 0xc039670c (device_attach+0x324) sp = 0xc0932ce0 fp = 0xc0932d10 r4 = 0xc2df2c80 r5 = 0xc2df2d80 r6 = 0xc2df2cb8 r7 = 0x00000000 r8 = 0xc060a939 r9 = 0xc0399f34 r10 = 0x00000025 device_attach() at device_attach+0x324 pc = 0xc039670c lr = 0xc039783c (bus_generic_attach+0x50) sp = 0xc0932d18 fp = 0xc0932d28 r4 = 0xc2df2c80 r5 = 0xc0834864 r6 = 0xc05dc69f r7 = 0x00000aad r8 = 0xc2c790f0 r9 = 0xc0399f34 bus_generic_attach() at bus_generic_attach+0x50 pc = 0xc039783c lr = 0xc02341c4 (fdtbus_attach+0x564) sp = 0xc0932d30 fp = 0xc0932da0 r4 = 0x00000002 r5 = 0x00000000 r6 = 0x000000c4 r7 = 0xc2c71400 fdtbus_attach() at fdtbus_attach+0x564 pc = 0xc02341c4 lr = 0xc039670c (device_attach+0x324) sp = 0xc0932da8 fp = 0xc0932dd8 r4 = 0xc2df2d80 r5 = 0xc2df2dd0 r6 = 0xc2df2db8 r7 = 0x00000000 r8 = 0xc060a939 r9 = 0xc0399f34 r10 = 0x00000025 device_attach() at device_attach+0x324 pc = 0xc039670c lr = 0xc039783c (bus_generic_attach+0x50) sp = 0xc0932de0 fp = 0xc0932df0 r4 = 0xc2df2d80 r5 = 0xc0834864 r6 = 0xc05dc69f r7 = 0x00000aad r8 = 0xc060a939 r9 = 0xc0399f34 bus_generic_attach() at bus_generic_attach+0x50 pc = 0xc039783c lr = 0xc0582bb0 (nexus_attach+0x6c) sp = 0xc0932df8 fp = 0xc0932e00 r4 = 0xc2df3980 r5 = 0xc0831e04 r6 = 0xc2df39b8 r7 = 0x00000000 nexus_attach() at nexus_attach+0x6c pc = 0xc0582bb0 lr = 0xc039670c (device_attach+0x324) sp = 0xc0932e08 fp = 0xc0932e38 r4 = 0xc2df3980 r5 = 0xc2df39d0 device_attach() at device_attach+0x324 pc = 0xc039670c lr = 0xc0397d18 (bus_generic_new_pass+0x118) sp = 0xc0932e40 fp = 0xc0932e58 r4 = 0xc2df3980 r5 = 0xc0692f00 r6 = 0xc0834864 r7 = 0x00000aad r8 = 0xc05dc69f r9 = 0xc0834b60 bus_generic_new_pass() at bus_generic_new_pass+0x118 pc = 0xc0397d18 lr = 0xc0394308 (bus_set_pass+0x84) sp = 0xc0932e60 fp = 0xc0932e78 r4 = 0x7fffffff r5 = 0xc0692f00 r6 = 0xc2c7b000 r7 = 0xc2c7a620 r8 = 0xc06cf320 bus_set_pass() at bus_set_pass+0x84 pc = 0xc0394308 lr = 0xc0399148 (root_bus_configure+0x10) sp = 0xc0932e80 fp = 0xc0932e80 r4 = 0x00000001 r5 = 0xc0833e88 r6 = 0x00000000 r7 = 0xc06119d4 r8 = 0xc0834694 r9 = 0xc0834690 root_bus_configure() at root_bus_configure+0x10 pc = 0xc0399148 lr = 0xc0578004 (configure+0xc) sp = 0xc0932e88 fp = 0xc0932e88 configure() at configure+0xc pc = 0xc0578004 lr = 0xc031a12c (mi_startup+0x11c) sp = 0xc0932e90 fp = 0xc0932ea8 mi_startup() at mi_startup+0x11c pc = 0xc031a12c lr = 0xc0200224 (virt_done+0x34) sp = 0xc0932eb0 fp = 0x00000000 r4 = 0x80200264 r5 = 0x80200158 r6 = 0x88046a88 r7 = 0x8020014c r8 = 0x0000000a r9 = 0xc0921000 virt_done() at virt_done+0x34 pc = 0xc0200224 lr = 0xc0200224 (virt_done+0x34) sp = 0xc0932eb0 fp = 0x00000000 Unable to unwind further db>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKrd9eUKjc6sDJBB9hx34PeWHP-B6cnSLv0GCOjKzvsJagZZgw>