Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: current panic on odroid-c1+



On 19 February 2016 at 12:45, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> On Fri, Feb 19, 2016 at 10:37:56AM -0500, Andrew Cagney wrote:
>> On 19 February 2016 at 02:39, Nick Hudson <skrll%netbsd.org@localhost> wrote:
>> > On 02/19/16 01:28, Andrew Cagney wrote:
>> >>
>> >> While trying out an install kernel built today, forgive the typos:
>> >>
>> >> ...
>> >> amlogiccrtc0 at amlogicio0: RTC
>> >> panic: kernel diagnostic assertion "panicstr != NULL || savedipl <
>> >> ci->ci_cpl" failed: file .../sys/arch/arm/pic/pic_splfuncs.c line 96
>> >> splx(7) to a higher ipl than 0
>> >>
>> > Can you get a backtrace?
>>
>> Eventually, but don't hold your breath :-(
>> (fb=hdmi and the usb keyboard is dead after the panic so I'll need to
>> dig up serial)
>
> or you can set ddb.commandonenter to 'tr'

Good idea!

Anyway I managed to extract the device, below is a full log.  Other
than an SD card, there's a wireless usb keyboard plugged in.

QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
-----------------------------------------------------------------------
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec  8 2014) *
-----------------------------------------------------------------------
CPU : AMLogic S805
MEM : 1024MB (DDR3@792MHz)
BID : HKC1310001
S/N : HKC11122F37DF98C
0x0000009f
check SD_boot_type:0x1     card_type:0x
Loading U-boot...success.


U-boot(odroidc@) (Mar 08 2015 - 11:08:17)

DRAM:  1 GiB
relocation Offset is: 2ff1c000
MMC:   SDCARD: 0, eMMC: 1
IR init is done!
vpu clk_level = 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
mode = 6  vic = 4
set HDMI vic: 4
mode is: 6
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK
There is no valid bmp file at the given address
============================================================
Vendor: Man 035344 Snr 00fc270e Rev: 8.0 Prod: SU02G
            Type: Removable Hard Disk
            Capacity: 1886.0 MB = 1.8 GB (3862528 x 512)
------------------------------------------------------------
Partition     Start Sector     Num Sectors     Type
    1              8192        122880     c
    2            393216       2143488    a9
============================================================
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
Hit Enter key to stop autoboot -- :  1  0
exit abortboot: 0
reading boot.ini

198 bytes read
Loading boot.ini from mmc0:1 (vfat)
Executing the script...
setenv bootargs "root=ld0f awge0.mac-address=${ethaddr}"
setenv bootcmd "fatload mmc 0:1 0x21000000 netbsd-ODROID-C1.ub; bootm
0x21000000"
run bootcmd
reading netbsd-ODROID-C1.ub

6030472 bytes read
## Booting kernel from Legacy Image at 21000000 ...
   Image Name:   NetBSD/amlogic 7.99.26
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    6030408 Bytes = 5.8 MiB
   Load Address: 00100000
   Entry Point:  00100000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
uboot time: 5843034 us.
## Transferring control to NetBSD stage-2 loader (at address 00100000) ...
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.26 (ODROID-C1) #0: Thu Feb 18 17:02:30 EST 2016
    cagney@morgan:/home/cagney/NetBSD/trunk/evbearmv7hf-el/sys/arch/evbarm/compile/ODROID-C1
total memory = 1024 MB
avail memory = 1007 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
mainbus0 (root)
cpu0 at mainbus0 core 0: 1536 MHz Cortex-A5 r0p1 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
cpu0: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 512KB/32B 8-way write-back L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at mainbus0 core 1
cpu2 at mainbus0 core 2
cpu3 at mainbus0 core 3
armperiph0 at mainbus0
armgic0 at armperiph0: Generic Interrupt Controller, 256 sources (245 valid)
armgic0: 32 Priorities, 224 SPIs, 5 PPIs, 16 SGIs
a9tmr0 at armperiph0: A5 Global 64-bit Timer (384 MHz)
a9tmr0: interrupting on irq 27
a9wdt0 at armperiph0: A5 Watchdog Timer, default period is 12 seconds
arml2cc0 at armperiph0: ARM PL310 r3p3 L2 Cache Controller (disabled)
arml2cc0: cache enabled
amlogicio0 at mainbus0
amlogiccom0 at amlogicio0 port 0: console
amlogiccom0: interrupting at irq 122
amlogicgpio0 at amlogicio0: GPIO controller
gpio0 at amlogicgpio0 (GPIOX): 22 pins
gpio1 at amlogicgpio0 (GPIOY): 15 pins
gpio2 at amlogicgpio0 (GPIODV): 30 pins
gpio3 at amlogicgpio0 (GPIOH): 6 pins
gpio4 at amlogicgpio0 (GPIOAO): 14 pins
gpio5 at amlogicgpio0 (BOOT): 19 pins
gpio6 at amlogicgpio0 (CARD): 7 pins
genfb0 at amlogicio0
wsdisplay0 at genfb0 kbdmux 1
amlogicrng0 at amlogicio0
dwctwo0 at amlogicio0 port 0: USB controller
dwctwo1 at amlogicio0 port 1: USB controller
awge0 at amlogicio0: Gigabit Ethernet Controller
awge0: interrupting on irq 40
awge0: Ethernet address: 00:1e:06:10:1d:0c
rgephy0 at awge0 phy 0: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 6
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
rgephy1 at awge0 phy 1: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 6
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
amlogicsdio0 at amlogicio0: SDIO controller (port C)
amlogicsdio0: interrupting on irq 60
amlogicsdhc0 at amlogicio0: SDHC controller (port B)
amlogicsdhc0: interrupting on irq 110
amlogicrtc0 at amlogicio0: RTC
panic: kernel diagnostic assertion "panicstr != NULL || savedipl <
ci->ci_cpl" failed: file
"/home/cagney/NetBSD/trunk/src/sys/arch/arm/pic/pic_splfuncs.c", line
96 splx(7) to a higher ipl than 0
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        bx      r14
db{0}> bt
0x8071fc54: netbsd:vpanic+0xc
0x8071fc6c: netbsd:__udivmoddi4
0x8071fcac: netbsd:splx+0xf8
0x8071fccc: netbsd:sleepq_abort+0x30
0x8071fcec: netbsd:dwc2_force_mode.isra.16+0xd4
0x8071fd2c: netbsd:dwc2_get_hwparams+0x13c
0x8071fdd4: netbsd:dwc2_init+0x174
0x8071fdec: netbsd:amlogic_dwctwo_deferred+0x1c
0x8071fe0c: netbsd:config_process_deferred+0x70
0x8071fe44: netbsd:config_attach_loc+0x1dc
0x8071fe5c: netbsd:config_attach+0x24
0x8071fe9c: netbsd:mainbussearch+0x84
0x8071feb4: netbsd:mapply+0x30
0x8071ff04: netbsd:config_search_loc+0x11c
0x8071ff1c: netbsd:config_search_ia+0x1c
0x8071ff54: netbsd:config_attach_loc+0x1b4
0x8071ff7c: netbsd:config_rootfound+0x48
0x8071ff94: netbsd:cpu_configure+0x38
0x8071ffec: netbsd:main+0x25c
0x8071fffc: netbsd:kernel_text+0x50
db{0}>

> --
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --


Home | Main Index | Thread Index | Old Index