From owner-freebsd-arm@freebsd.org Tue Aug 8 02:22:58 2017 Return-Path: Delivered-To: freebsd-arm@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 E7604DDAD95 for ; Tue, 8 Aug 2017 02:22:58 +0000 (UTC) (envelope-from visteksales03@163.com) Received: from m13-96.163.com (m13-96.163.com [220.181.13.96]) by mx1.freebsd.org (Postfix) with ESMTP id E323369D0E for ; Tue, 8 Aug 2017 02:22:57 +0000 (UTC) (envelope-from visteksales03@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=I2yWK 0KajRmAjbirSptKvEMq1uA4AUyBMaPk3F/srwE=; b=E4UZevIDXL+/2ZXwXPUqB taHS1/yOcWWIo9VqgNwt3E8iKY2P/M5uJbemiMbsISkHJ6z7mH9kqcFED6tNeb+H QJGjnqxmdEvadUnqFVqADi68RrzDnXZDDeCg1GMGY+iU+eQcA3zwqc9kzKmp51wt hF/NBZYM56KiApkNGoI6XA= Received: from visteksales03$163.com ( [219.133.178.53] ) by ajax-webmail-wmsvr96 (Coremail) ; Tue, 8 Aug 2017 10:03:41 +0800 (CST) X-Originating-IP: [219.133.178.53] Date: Tue, 8 Aug 2017 10:03:41 +0800 (CST) From: visteksales03 To: freebsd-arm@freebsd.org Subject: New house decor and duplex wall cover plates X-Priority: 1 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160729(86883.8884) Copyright (c) 2002-2017 www.mailtech.cn 163com X-CM-CTRLDATA: PTIKfWZvb3Rlcl9odG09NDYwOTo1Ng== MIME-Version: 1.0 Message-ID: <3a10e258.2a41.15dbf95578e.Coremail.visteksales03@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: YMGowACH7bj+G4lZ9xl+AA--.43568W X-CM-SenderInfo: xylv3vxnvdzvrvqtqiywtou0bp/1tbiSBougFXljmOhEgABsT X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 02:22:59 -0000 SGVsbG8sCgoKSSBoYXZlIHNlbnQgeW91IG91ciBVU0Igd2FsbCBwbGF0ZSBjaGFyZ2VyIGFuZCBM RUQgbmlnaHQgbGlnaHQgd2FsbCBwbGF0ZSBpbmZvIGJlZm9yZSwgdGhpcyBwcm9kdWN0IGlzIGNv bWJpbmVkIHR3byBmdW5jdGlvbnMgaW50byBvbmUgcGxhdGVzLgoKCldlIHdpbGwgaGF2ZSBzYW1w bGVzIHJlYWR5IHRoaXMgd2VlayxwbHMgZG8gbm90IGhlc2l0YXRlIHRvIGNvbnRhY3QgZm9yIGFu eSBxdWVzdGlvbnMuCgoKLS0KQmVzdCBSZWdhcmRzClJvZ2VyLkx1byB8IFNhbGVzIG1hbmFnZXIK CgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoK CgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoK CgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoK CiA= From owner-freebsd-arm@freebsd.org Tue Aug 8 11:22:15 2017 Return-Path: Delivered-To: freebsd-arm@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 F35C8DD4EB8 for ; Tue, 8 Aug 2017 11:22:15 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B3A64810D4 for ; Tue, 8 Aug 2017 11:22:15 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from [195.4.92.142] (helo=mjail2.freenet.de) by mout3.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (port 25) (Exim 4.89 #1) id 1df2aT-0003i0-41 for freebsd-arm@freebsd.org; Tue, 08 Aug 2017 13:22:13 +0200 Received: from localhost ([::1]:40869 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.85 #1) id 1df2aS-0001R6-VL for freebsd-arm@freebsd.org; Tue, 08 Aug 2017 13:22:13 +0200 Received: from mx8.freenet.de ([195.4.92.18]:57190) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.85 #1) id 1df2Xw-00007m-EG for freebsd-arm@freebsd.org; Tue, 08 Aug 2017 13:19:36 +0200 Received: from p5ddd6d1c.dip0.t-ipconnect.de ([93.221.109.28]:30383 helo=freebsd-t420.fritz.box) by mx8.freenet.de with esmtpsa (ID freebsdnewbie@freenet.de) (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (port 587) (Exim 4.89 #1) id 1df2Xw-0006EQ-68 for freebsd-arm@freebsd.org; Tue, 08 Aug 2017 13:19:36 +0200 Date: Tue, 8 Aug 2017 13:19:34 +0200 From: Manuel =?iso-8859-15?Q?St=FChn?= To: freebsd-arm@freebsd.org Subject: [BBB] kernel panic during boot Message-ID: <20170808111918.GA38273@freebsd-t420.fritz.box> Reply-To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="XF85m9dhOBO43t/C" Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-Originated-At: 93.221.109.28!30383 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 11:22:16 -0000 --XF85m9dhOBO43t/C Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Hi, booting a FreeBSD CURRENT r322118 on a BBB (GENERIC-NODEBUG kernel) ends with a panic: [...] iichb0: mem 0x44e0b000-0x44e0bfff irq 17 on simplebus0 iichb0: I2C revision 4.0 FIFO size: 32 bytes iicbus0: on iichb0 panic: timed sleep before timers are working cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self [...] The complete boot log incl. backtrace is attached. Any ideas? --XF85m9dhOBO43t/C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="boot.log" U-Boot SPL 2017.01-rc3 (Feb 11 2017 - 00:43:55) Trying to boot from MMC1MMC partition switch failed *** Warning - MMC partition switch failed, using default environment reading u-boot.img reading u-boot.img U-Boot 2017.01-rc3 (Feb 11 2017 - 00:43:55 +0000) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Card did not respond to voltage select! *** Warning - MMC init failed, 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 237704 bytes read in 20 ms (11.3 MiB/s) ## Starting application at 0x82000000 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x9df30c58 FreeBSD/armv6 U-Boot loader, Revision 1.2 (Sat Mar 11 12:11:52 CET 2017 manuel@freebsd-t420) DRAM: 512MB Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Number of U-Boot devices: 2 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. Booting from disk0s2a: /boot/kernel/kernel data=0x813d80+0x180280 syms=[0x4+0x8c6a0+0x4+0xc9f3c] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... /boot/dtb/am335x-boneblack.dtb size=0x103f9 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-2017 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 #0 3df4ae2137c(master): Mon Aug 7 16:03:23 CEST 2017 manuel@freebsd-t420:/usr/home/manuel/devel/github/freebsd/obj/arm.armv6/usr/home/manuel/devel/github/freebsd/src/sys/GENERIC-NODEBUG arm FreeBSD clang version 5.0.0 (branches/release_50 309439) (based on LLVM 5.0.0svn) VT: init without driver. 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 = 536870912 (512 MB) avail memory = 511221760 (487 MB) Texas Instruments AM335x Processor, Revision ES2.1 arc4random: no preloaded entropy cache random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 simplebus1: on simplebus0 simplebus2: mem 0x210000-0x211fff on simplebus1 ti_scm0: mem 0-0x7ff on simplebus2 regfix0: on ofwbus0 clk_fixed0: on ofwbus0 ti_aintc0: mem 0x48200000-0x48200fff on simplebus0 ti_aintc0: Revision 5.0 cpulist0: on ofwbus0 cpu0: on cpulist0 pmu0: irq 0 on ofwbus0 am335x_prcm0: mem 0x200000-0x203fff on simplebus1 am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000 MHz ti_pinmux0: mem 0x800-0xa37 on simplebus2 am335x_scm0: on ti_scm0 gpio0: mem 0x44e07000-0x44e07fff irq 7 on simplebus0 gpiobus0: on gpio0 gpioc0: on gpio0 gpio1: mem 0x4804c000-0x4804cfff irq 8 on simplebus0 gpiobus1: on gpio1 gpioc1: on gpio1 gpio2: mem 0x481ac000-0x481acfff irq 9 on simplebus0 gpiobus2: on gpio2 gpioc2: on gpio2 gpio3: mem 0x481ae000-0x481aefff irq 10 on simplebus0 gpiobus3: on gpio3 gpioc3: on gpio3 uart0: console (115384,n,8,1)atible)> mem 0x44e09000-0x44e0afff irq 11 on simplebus0 iichb0: mem 0x44e0b000-0x44e0bfff irq 17 on simplebus0 iichb0: I2C revision 4.0 FIFO size: 32 bytes iicbus0: on iichb0 panic: timed sleep before timers are working cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self pc = 0xc05a1b7c lr = 0xc0061f5c (db_trace_self_wrapper+0x30) sp = 0xc0c138a8 fp = 0xc0c139c0 db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc = 0xc0061f5c lr = 0xc028cd18 (vpanic+0x158) sp = 0xc0c139c8 fp = 0xc0c139e8 r4 = 0x00000100 r5 = 0x00000001 r6 = 0xc06cd645 r7 = 0xc091b2c8 vpanic() at vpanic+0x158 pc = 0xc028cd18 lr = 0xc028cbc0 (vpanic) sp = 0xc0c139f0 fp = 0xc0c139f4 r4 = 0xc093ddc0 r5 = 0x00000004 r6 = 0xfffffa38 r7 = 0xc2997600 r8 = 0xfffffa3c r9 = 0xfffffa38 r10 = 0x00000001 vpanic() at vpanic pc = 0xc028cbc0 lr = 0xc02e6a80 (sleepq_timeout) sp = 0xc0c139fc fp = 0xc0c13a48 r4 = 0xc2997600 r5 = 0xfffffa3c r6 = 0xfffffa38 r7 = 0x00000001 r8 = 0xc0c139f4 r9 = 0xc028cbc0 r10 = 0xc0c139fc sleepq_timeout() at sleepq_timeout pc = 0xc02e6a80 lr = 0xc0298390 (_sleep+0x24c) sp = 0xc0c13a50 fp = 0xc0c13aa0 r4 = 0xc2997618 r5 = 0x00000000 r6 = 0xc2997600 r7 = 0xfffffa3c r8 = 0xfffffa38 r10 = 0x00000001 _sleep() at _sleep+0x24c pc = 0xc0298390 lr = 0xc063b8cc (ti_i2c_transfer+0x260) sp = 0xc0c13aa8 fp = 0xc0c13ae8 r4 = 0x00000000 r5 = 0x00000000 r6 = 0xc299760c r7 = 0x00000000 r8 = 0xc0c13afc r9 = 0xc2997600 r10 = 0x00000000 ti_i2c_transfer() at ti_i2c_transfer+0x260 pc = 0xc063b8cc lr = 0xc00847b0 (ds133x_probe+0x64) sp = 0xc0c13af0 fp = 0xc0c13b38 r4 = 0x00000002 r5 = 0x0000000f r6 = 0x000000d0 r7 = 0xc2a46800 r8 = 0x000100d0 r9 = 0xc0c13b14 r10 = 0xc2ae5b80 ds133x_probe() at ds133x_probe+0x64 pc = 0xc00847b0 lr = 0xc02c9018 (device_probe_child+0x1dc) sp = 0xc0c13b40 fp = 0xc0c13b68 r4 = 0xc2ae5b80 r5 = 0x00000000 r6 = 0xc29aa800 r7 = 0xc2a46800 r8 = 0x00000000 r9 = 0x00000000 r10 = 0xc285d280 device_probe_child() at device_probe_child+0x1dc pc = 0xc02c9018 lr = 0xc02c9d24 (device_probe+0x90) sp = 0xc0c13b70 fp = 0xc0c13b80 r4 = 0xffffffff r5 = 0xc2ae5b80 r6 = 0x00000000 r7 = 0xc06a5d7b r8 = 0xc2aa34c0 r9 = 0xc0c13ca8 r10 = 0xc07d9ed8 device_probe() at device_probe+0x90 pc = 0xc02c9d24 lr = 0xc02cb64c (bus_generic_attach+0x1c) sp = 0xc0c13b88 fp = 0xc0c13b90 r4 = 0xc2ae5b80 r5 = 0xc06e1d53 r6 = 0x00000000 r10 = 0xc07d9ed8 bus_generic_attach() at bus_generic_attach+0x1c pc = 0xc02cb64c lr = 0xc0089ee8 (ofw_iicbus_attach+0x2e4) sp = 0xc0c13b98 fp = 0xc0c13cd0 r4 = 0xc2ae5c00 r10 = 0xc07d9ed8 ofw_iicbus_attach() at ofw_iicbus_attach+0x2e4 pc = 0xc0089ee8 lr = 0xc02ca2ec (device_attach+0x4ec) sp = 0xc0c13cd8 fp = 0xc0c13d20 r4 = 0xc2ae5c00 r5 = 0xc095a270 r6 = 0xc29a3780 r7 = 0x00000000 r8 = 0xc093aa4c r9 = 0xc02ce34c r10 = 0xc2ae5c50 device_attach() at device_attach+0x4ec pc = 0xc02ca2ec lr = 0xc02cb658 (bus_generic_attach+0x28) sp = 0xc0c13d28 fp = 0xc0c13d30 r4 = 0xc2ae5c00 r5 = 0x80040006 r6 = 0x00000000 r7 = 0x00000000 r8 = 0xc29a37d0 r9 = 0xc2997628 r10 = 0xc2997600 bus_generic_attach() at bus_generic_attach+0x28 pc = 0xc02cb658 lr = 0xc063b494 (ti_i2c_attach+0x364) sp = 0xc0c13d38 fp = 0xc0c13d78 r4 = 0xc29a3780 r10 = 0xc2997600 ti_i2c_attach() at ti_i2c_attach+0x364 pc = 0xc063b494 lr = 0xc02ca2ec (device_attach+0x4ec) sp = 0xc0c13d80 fp = 0xc0c13dc8 r4 = 0xc29a3780 r5 = 0xc095a270 r6 = 0xc29a4480 r7 = 0x00000000 r8 = 0xc093aa4c r9 = 0xc02ce34c r10 = 0xc29a37d0 device_attach() at device_attach+0x4ec pc = 0xc02ca2ec lr = 0xc02cbc98 (bus_generic_new_pass+0xf8) sp = 0xc0c13dd0 fp = 0xc0c13de8 r4 = 0xc29a3780 r5 = 0xc07d0a94 r6 = 0xc080d3f4 r7 = 0x00000000 r8 = 0xc092b3b0 r9 = 0xc07074d4 r10 = 0xc093e188 bus_generic_new_pass() at bus_generic_new_pass+0xf8 pc = 0xc02cbc98 lr = 0xc02cbc78 (bus_generic_new_pass+0xd8) sp = 0xc0c13df0 fp = 0xc0c13e08 r4 = 0xc29a4480 r5 = 0xc07d0a94 r6 = 0xc07be0a8 r7 = 0x00000000 r8 = 0xc092b3b0 r10 = 0xc093e188 bus_generic_new_pass() at bus_generic_new_pass+0xd8 pc = 0xc02cbc78 lr = 0xc02cbc78 (bus_generic_new_pass+0xd8) sp = 0xc0c13e10 fp = 0xc0c13e28 r4 = 0xc29a4800 r5 = 0xc07d0a94 r6 = 0xc07f4a60 r7 = 0x00000000 r8 = 0xc092b3b0 r10 = 0xc093e188 bus_generic_new_pass() at bus_generic_new_pass+0xd8 pc = 0xc02cbc78 lr = 0xc02cbc78 (bus_generic_new_pass+0xd8) sp = 0xc0c13e30 fp = 0xc0c13e48 r4 = 0xc29a4a80 r5 = 0xc07d0a94 r6 = 0xc092b3b0 r7 = 0x00000000 r8 = 0xc092b3b0 r10 = 0xc093e188 bus_generic_new_pass() at bus_generic_new_pass+0xd8 pc = 0xc02cbc78 lr = 0xc02cd6ec (root_bus_configure+0x80) sp = 0xc0c13e50 fp = 0xc0c13e68 r4 = 0xc07d0a94 r5 = 0xc29a4c80 r6 = 0xc092b3b0 r7 = 0xc285e060 r8 = 0xc093ebcc r10 = 0xc093e188 root_bus_configure() at root_bus_configure+0x80 pc = 0xc02cd6ec lr = 0xc0222114 (mi_startup+0xfc) sp = 0xc0c13e70 fp = 0xc0c13e90 r4 = 0xc093e284 r5 = 0x00000001 r6 = 0xc07065cc r7 = 0x00000000 r8 = 0xc093e280 r10 = 0xc093e188 mi_startup() at mi_startup+0xfc pc = 0xc0222114 lr = 0xc0000244 (btext+0x144) sp = 0xc0c13e98 fp = 0x00000000 r4 = 0xc0000378 r5 = 0xc0990000 r6 = 0x82056600 r7 = 0x00c52078 r8 = 0xc0b0e000 r9 = 0x9ff9dee0 r10 = 0x44e35000 btext() at btext+0x144 pc = 0xc0000244 lr = 0xc0000244 (btext+0x144) sp = 0xc0c13e98 fp = 0x00000000 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at $d.3: ldrb r15, [r15, r15, ror r15]! db> --XF85m9dhOBO43t/C--