NetBSD-Bugs archive

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

port-evbarm/54215: port-evbarm RPi3+ aarch64 USB crash



>Number:         54215
>Category:       port-evbarm
>Synopsis:       doing cvs -d anoncvs%anoncvs.netbsd.org@localhost:/cvsroot checkout -P pkgsrc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 18 23:05:00 +0000 2019
>Originator:     mac%culver.net@localhost
>Release:        NetBSD 8.99.41
>Organization:
 
>Description:
 machine crash due to USB problem

[ 705.3887822] panic: kernel diagnostic assertion "xfer->ux_state == XFER_BUSY" failed: file "/usr/src/sys/dev/usb/usbdi.c", line 1039 xfer 0xffff00003ad27900 state is 9e
[ 705.4087864] cpu2: Begin traceback...
[ 705.4087864] trace fp ffffffc032dcf6a0
[ 705.4087864] fp ffffffc032dcf6c0 vpanic() at ffffffc000477b70 netbsd:vpanic+0x198
[ 705.4187885] fp ffffffc032dcf720 kern_assert() at ffffffc0005b2bc4 netbsd:kern_assert+0x5c
[ 705.4287903] fp ffffffc032dcf7b0 usb_insert_transfer() at ffffffc0000c33c4 netbsd:usb_insert_transfer+0xdc
[ 705.4387905] fp ffffffc032dcf7d0 dwc2_device_bulk_transfer() at ffffffc00032d730 netbsd:dwc2_device_bulk_transfer+0x28
[ 705.4487918] fp ffffffc032dcf7f0 usbd_transfer() at ffffffc0000c20c8 netbsd:usbd_transfer+0x98
[ 705.4587941] fp ffffffc032dcf820 mue_start() at ffffffc0000febf0 netbsd:mue_start+0x260
[ 705.4687962] fp ffffffc032dcf8a0 if_transmit() at ffffffc000504cf0 netbsd:if_transmit+0x150
[ 705.4787954] fp ffffffc032dcf8e0 ether_output() at ffffffc000511320 netbsd:ether_output+0x440
[ 705.4887967] fp ffffffc032dcf940 ip_if_output() at ffffffc00021791c netbsd:ip_if_output+0xac
[ 705.4987980] fp ffffffc032dcf980 ip_output() at ffffffc0002191c0 netbsd:ip_output+0x1160
[ 705.5088003] fp ffffffc032dcfb40 tcp_output() at ffffffc000224464 netbsd:tcp_output+0x1624
[ 705.5188012] fp ffffffc032dcfc60 tcp_send_wrapper() at ffffffc00022a8a4 netbsd:tcp_send_wrapper+0x94
[ 705.5288039] fp ffffffc032dcfcc0 sosend() at ffffffc0004ae5ec netbsd:sosend+0x66c
[ 705.5388046] fp ffffffc032dcfda0 dofilewrite() at ffffffc000484fe0 netbsd:dofilewrite+0x78
[ 705.5488053] fp ffffffc032dcfe20 syscall() at ffffffc0000728b4 netbsd:syscall+0x19c
[ 705.5588067] tf ffffffc032dcfed0 el0_trap() at ffffffc000070f40 netbsd:el0_trap
[ 705.5588067] ---- trapframe 0xffffffc032dcfed0 (304 bytes) ----
[ 705.5688084]     pc=0000fa124b918338,   spsr=0000000020000000
[ 705.5788077]    esr=0000000056000004,    far=ffffffc03203a000
[ 705.5788077]     x0=0000000000000005,     x1=0000fa124b5adc00
[ 705.5888104]     x2=0000000000000024,     x3=0000000000000000
[ 705.5888104]     x4=0000000000000000,     x5=0000000000000000
[ 705.5988103]     x6=0000fa124c0467a0,     x7=0000000000000003
[ 705.6088113]     x8=0000ffffffd17e90,     x9=0000000000000006
[ 705.6088113]    x10=0000000000000040,    x11=000000000000003f
[ 705.6188127]    x12=000003ffffff45a3,    x13=000003ffffff45a6
[ 705.6188127]    x14=0000000000afe256,    x15=0000ffffffd169b8
[ 705.6288145]    x16=0000fa124c09f428,    x17=0000fa124b918334
[ 705.6288145]    x18=00000000001307a4,    x19=0000000000000024
[ 705.6388152]    x20=0000000000000005,    x21=0000fa124b7bb000
[ 705.6488169]    x22=00000000000002c1,    x23=0000000000000000
[ 705.6488169]    x24=0000000000000000,    x25=0000000000000005
[ 705.6588179]    x26=000000007fffffff,    x27=0000000200143000
[ 705.6588179]    x28=0000000000000000, fp=x29=0000000000000000
[ 705.6688191] lr=x30=0000fa124c038a28,     sp=0000ffffffd18020
[ 705.6688191] ------------------------------------------------
[ 705.6788205] cpu2: End traceback...

[ 705.6788205] dump to dev 92,1 not possible
[ 710.8995015] rebooting...
ok
[   1.0000000] uboot: args 0x2effab00, 0, 0, 0
[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] FDT /memory [0] @ 0x0 size 0x3b400000
[   1.0000000] initarm: memory start 0 end 3b400000 (len 3b400000)
[   1.0000000] initarm: fdt_build_bootconfig
[   1.0000000] Usable memory:
[   1.0000000]   1000 - 3b3fffff
[   1.0000000] Creating KSEG tables for 0x0000000000000000-0x000000003b400000
[   1.0000000] cpu_kernel_vm_init: kernel phys start 200000 end f6f000+8000
[   1.0000000] bootargs: bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa020d3 bcm2709.serial=0xf244be30 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=29 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  root=ld0a
[   1.0000000] Memory regions:
[   1.0000000]   1000 - 1fffff
[   1.0000000]   f77000 - 3b3fffff
[   1.0000000] ------------------------------------------
[   1.0000000] kern_vtopdiff         = 0xffffffbfffe00000
[   1.0000000] physical_start        = 0x0000000000001000
[   1.0000000] kernel_startffc000d77000
[   1.0000000] kernel_end_l2         = 0xffffffc000e00000
[   1.0000000] module_start          = 0xffffffc000e00000
[   1.0000000] module_end            = 0xffffffc002e00000
[   1.0000000] (kernel va area)
[   1.0000000] (devmap va area)      = 0xfffffffff0000000
[   1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffffffe00000
[   1.0000000] ------------------------------------------
[   1.0000000] mpstart
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 200                                                        4, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 8.99.41 (GENERIC64) #0: Fri May 17 18:50:40 UTC 2019
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 934 MB
[   1.0000000] avail memory = 900 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Raspberry Pi 3 Model B Plus Rev 1.3
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] simplebus3 at simplebus1
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus4 at simplebus0
[   1.0000000] cpu0 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)



>How-To-Repeat:
"cvs -d anoncvs%anoncvs.netbsd.org@localhost:/cvsroot checkout -P pkgsrc" in /usr as root  
>Fix:

>Unformatted:
   System: NetBSD A.Culver.Net 8.99.41 NetBSD 8.99.41 (GENERIC64) #0: Fri May 17 18:50:40 UTC 2019 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
   Architecture: aarch64
   Machine: evbarm


Home | Main Index | Thread Index | Old Index