NetBSD-Bugs archive

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

kern/50491: unkillable wait in usbd_transfer while using usmsc0 on raspberry pi 2



>Number:         50491
>Category:       kern
>Synopsis:       unkillable wait in usbd_transfer while using usmsc0 on raspberry pi 2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 01 06:50:00 +0000 2015
>Originator:     Michael Plass
>Release:        NetBSD-7.0
>Organization:
>Environment:
NetBSD mipi 7.0 NetBSD 7.0 (RPI2) #0: Thu Oct 29 03:02:03 PDT 2015  michael%home.plass-family.net@localhost:/home/michael/NetBSD-7.0/build/usr/src/sys/arch/evbarm/compile/obj/RPI2 evbarm

>Description:
When using the built-in usmsc0 network interface on a raspberry pi 2, a process will occasionally get stuck waiting on usbxfer. When in this state, the process does not respond to signals. Processes that do not use the network can continue; for instance it is usually possible to login on the serial console.

Sometimes, but not always, there are also kernel messages logged - see the bottom of the two dmesg outputs below for a couple of examples.

This example happened while transferring data with ssh:

mipi# Stopped in pid 0.2 (system) at  netbsd:cpu_Debugger+0x4:        bx      r14
db{0}> ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
936      1 3   1        80           b9ee16e0                 dd pipe_rd
3388     1 3   3         0           b9ee00e0                ssh usbxfer
2872     1 3   2        80           b9ee19a0                 sh wait
2635     1 3   2        80           bac12e60                top ttyout
1598     1 3   3        80           bacc1c00                 sh wait
114      1 3   1        80           bac13120               sshd select
1925     1 3   1        80           bac133e0               sshd select
2634     1 3   1        80           bac12360                 sh wait
2449     1 3   2         0           bac12ba0               sshd tstile
2127     1 3   1        80           bac12620               sshd select
2303     1 3   1        80           bacfab60                 sh ttyraw
2436     1 3   1        80           bacfa320              login wait
2423     1 3   1        80           b9ee0ea0               cron nanoslp
2133     1 3   1        80           b9ee0660              inetd kqueue
2074     1 3   1        80           ba5ae0c0               qmgr kqueue
2009     1 3   3        80           ba5ae640             pickup kqueue
2036     1 3   3        80           b9ee0920             master kqueue
1709     1 3   1        80           ba5ae900               sshd select
1203     1 3   2        80           ba5aebc0               ntpd pause
1411     1 3   1        80           ba5af6c0            devpubd devmon
925      1 3   1        80           ba5afc40            syslogd kqueue
db{0}> bt/tl 0t3388 
trace: pid 3388 lid 1 at 0xba7f39cc
0xba7f39cc: netbsd:mi_switch+0x10
0xba7f39fc: netbsd:sleepq_block+0xb4
0xba7f3a2c: netbsd:cv_wait+0x104
0xba7f3a5c: netbsd:usbd_transfer+0x23c
0xba7f3aac: netbsd:usbd_do_request_flags_pipe+0xd8
0xba7f3ad4: netbsd:usbd_do_request+0x38
0xba7f3b04: netbsd:smsc_read_reg+0x60
0xba7f3b2c: netbsd:smsc_wait_for_bits+0x4c
0xba7f3b54: netbsd:smsc_chip_init+0x30
0xba7f3b74: netbsd:smsc_stop+0x274
0xba7f3bac: netbsd:smsc_encap+0xd0
0xba7f3bcc: netbsd:smsc_start+0x6c
0xba7f3bf4: netbsd:ifq_enqueue+0xdc
0xba7f3c3c: netbsd:ether_output+0x2d4
0xba7f3cdc: netbsd:ip_output+0xb60
0xba7f3dbc: netbsd:tcp_output+0x1360
0xba7f3de4: netbsd:tcp_rcvd_wrapper+0x94
0xba7f3e6c: netbsd:soreceive+0x5ac
0xba7f3e84: netbsd:soo_read+0x30
0xba7f3edc: netbsd:dofileread+0x94
0xba7f3f0c: netbsd:sys_read+0x70
0xba7f3f7c: netbsd:syscall+0x88
0xba7f3fac: netbsd:swi_handler+0x98
db{0}> dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
   2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
   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.0 (RPI2) #0: Thu Oct 29 03:02:03 PDT 2015
       michael%home.plass-family.net@localhost:/home/michael/NetBSD-7.0/build/usr/src/sys
/arch/evbarm/compile/obj/RPI2
total memory = 944 MB
avail memory = 928 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
kern.module.path=/stand/evbarm/7.0/modules
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 core 0: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu0: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu0: pfr: [0]=0x1131 [1]=0x11011
cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp0: mvfr: [0]=0x10110222 [1]=0x11111111
cpu1 at mainbus0 core 1
cpu2 at mainbus0 core 2
cpu3 at mainbus0 core 3
obio0 at mainbus0
bcmicu0 at obio0: Multiprocessor
armgtmr0 at obio0: ARMv7 Generic 64-bit Timer (19200 kHz)
armgtmr0: interrupting on irq 3
timecounter: Timecounter "armgtmr0" frequency 19200000 Hz quality 500
bcmmbox0 at obio0: VC mailbox
vcmbox0 at bcmmbox0
vchiq0 at obio0 intr 194: BCM2835 VCHIQ
bcmpm0 at obio0: Power management, Reset and Watchdog controller
bcmdmac0 at obio0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
bcmrng0 at obio0: RNG
plcom0 at obio0 intr 185
plcom0: txfifo disabled
plcom0: console
genfb0 at obio0
genfb0: framebuffer at 0x3d876000, size 1280x720, depth 32, stride 5120
wsdisplay0 at genfb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
sdhc0 at obio0 intr 190: SDHC controller
sdhc0: interrupting on intr 190
dwctwo0 at obio0 intr 137: USB controller
bcmspi0 at obio0 intr 182: SPI
spi0 at bcmspi0: SPI bus
bsciic0 at obio0 intr 181: BSC0
iic0 at bsciic0: I2C bus
bsciic1 at obio0 intr 181: BSC1
iic1 at bsciic1: I2C bus
bcmgpio0 at obio0: GPIO [0...31]
gpio0 at bcmgpio0: 32 pins
bcmgpio1 at obio0: GPIO [32...53]
gpio1 at bcmgpio1: 22 pins
usb0 at dwctwo0: USB revision 2.0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu3: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu3: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu3: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu3: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu3: pfr: [0]=0x1131 [1]=0x11011
cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp3: mvfr: [0]=0x10110222 [1]=0x11111111
cpu1: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu1: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu1: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu1: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu1: pfr: [0]=0x1131 [1]=0x11011
cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp1: mvfr: [0]=0x10110222 [1]=0x11111111
cpu2: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu2: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu2: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu2: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu2: pfr: [0]=0x1131 [1]=0x11011
cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp2: mvfr: [0]=0x10110222 [1]=0x11111111
sdhc0: SD Host Specification 3.0, rev.153
sdhc0: using DMA transfer
sdmmc0 at sdhc0 slot 0
uhub0 at usb0: vendor 0x0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
ld0 at sdmmc0: <0x03:0x5344:SU08G:0x80:0x611ed719:0x0e5>
ld0: 7580 MB, 3850 cyl, 64 head, 63 sec, 512 bytes/sect x 15523840 sectors
ld0: 4-bit width, bus clock 50.000 MHz
uhub1 at uhub0 port 1: vendor 0x0424 product 0x9514, class 9/0, rev 2.00/2.00, a
ddr 2
uhub1: multiple transaction translators
uhub1: 5 ports with 4 removable, self powered
usmsc0 at uhub1 port 1
usmsc0: vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3
usmsc0:  Ethernet address b8:27:eb:19:a8:ec
ukphy0 at usmsc0 phy 1: OUI 0x00800f, model 0x000c, rev. 3
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
umidi_search_quirk: v=1204, p=26672, i=0
umass0 at uhub1 port 3 configuration 1 interface 0
umass0: vendor 0x04b4 Cypress AT2LP RC42, rev 2.00/4.20, addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <SAMSUNG, SP1604N, 0000> disk fixed
umass0: dCSWDataResidue=20 req=40 act=40
sd0: 149 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
vchiq: local ver 6 (min 3), remote ver 6.
vcaudio0 at vchiq0: auds
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
audio0 at vcaudio0: half duplex, playback, capture, independent
umass0: dCSWDataResidue=20 req=40 act=40
wsdisplay0: screen 4 added (default, vt100 emulation)
usb_insert_transfer: xfer=0xbacb9440 not busy 0x0000009e



Another example, while stopping mdnsd:
Stopped in pid 0.2 (system) at  netbsd:cpu_Debugger+0x4:        bx      r14
db{0}> ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
2508     1 3   1        80           ba55f140               tset nanoslp
2613     1 3   1        80           baba68e0                 sh pipe_rd
2873     1 3   0        80           baba6360              sleep nanoslp
264      1 3   0        80           ba55f400                 sh wait
1966     1 3   0   1000000           ba55f6c0               ntpd tstile
1626     1 3   1        80           b9c963a0             pickup kqueue
70       1 3   0        80           baba6620                 sh wait
73       1 3   1        80           baba6e60                 su wait
2442     1 3   1        80           b9c96ea0                 sh wait
2422     1 3   1         0           b88a7700               sshd tstile
2181     1 3   1        80           bacfae20              login wait
2255     1 3   1        80           b88a7180               cron nanoslp
2308     1 3   1        80           b88a7c80               sshd select
2339     1 3   1        80           b9c960e0              inetd kqueue
2015     1 3   2         0           b9c96920              mdnsd usbxfer
2061     1 3   1        80           b9c96660               qmgr kqueue
1908     1 3   1        80           b88a79c0             master kqueue
1291     1 3   1        80           b9c96be0               sshd select
1464     1 3   1        80           baba60a0            devpubd devmon
859      1 3   1        80           ba55ee80            syslogd kqueue
541      1 3   3        80           ba55f980             dhcpcd select
1        1 3   1        80           bacc1100               init wait
0       64 3   1       200           bacc0e40            physiod physiod
0       63 3   1       200           baba7c20           aiodoned aiodoned
0       62 3   1       200           bacfa5e0            ioflush syncer
0       61 3   1       200           bacfab60           pgdaemon pgdaemon
0       60 3   1       280           bacc0080          VCHIQka-0 lnxcmplt
0       59 3   1       280           bacc0340            vcaudio data
0       58 3   1       280           bacc0600           VCHIQs-0 semacv
0       57 3   1       280           bacc08c0           VCHIQr-0 semacv
0       56 3   1       280           bacc0b80            VCHIQ-0 semacv
0       53 3   1       200           bacfa8a0               usb0 usbevt
0       52 3   1       200           bacfa320              unpgc unpgc
0       50 3   1       200           bacc1940        vmem_rehash vmem_rehash
0       49 3   0       200           bacc13c0             sdmmc0 mmctaskq
0       48 3   1       200           bacc1680            vcmbox0 vcmbox0
0       39 3   1       200           bacfb0e0         usbtask-dr usbxfer
0       38 3   1       200           bacfb3a0         usbtask-hc usbtsk
0       37 3   1       200           bacfb660               dwc2 dwc2
0       36 3   3       200           bacfb920               iic1 iicintr
0       35 3   0       200           bacfbbe0               iic0 iicintr
0       34 3   1       200           bada4040             sysmon smtaskq
0       33 3   3       200           bada4300            xcall/3 xcall
0       32 1   3       200           bada45c0          softser/3
0       31 1   3       200           bada4880          softclk/3
0       30 1   3       200           bada4b40          softbio/3
0       29 1   3       200           bada4e00          softnet/3
0    >  28 7   3       201           bada50c0             idle/3
0       27 3   2       200           bada5380            xcall/2 xcall
0       26 1   2       200           bada5640          softser/2
0       25 1   2       200           bada5900          softclk/2
0       24 1   2       200           bada5bc0          softbio/2
0       23 1   2       200           badd4020          softnet/2
0    >  22 7   2       201           badd42e0             idle/2
0       21 3   1       200           badd45a0            xcall/1 xcall
0       20 1   1       200           badd4860          softser/1
0       19 3   1       200           badd4b20          softclk/1 tstile
0       18 1   1       200           badd4de0          softbio/1
0       17 1   1       200           badd50a0          softnet/1
0    >  16 7   1       201           badd5360             idle/1
0       15 3   1       200           badd5620         pmfsuspend pmfsuspend
0       14 3   1       200           badd58e0           pmfevent pmfevent
0       13 3   1       200           badd5ba0         sopendfree sopendfr
0       12 3   1       200           baf04000           nfssilly nfssilly
0       11 3   1       200           baf042c0            cachegc cachegc
0       10 3   2       200           baf04580              vrele vrele
0        9 3   0       200           baf04840             vdrain vdrain
0        8 3   1       200           baf04b00          modunload mod_unld
0        7 3   0       200           baf04dc0            xcall/0 xcall
0        6 1   0       200           baf05080          softser/0
0        5 3   0       200           baf05340          softclk/0 tstile
0        4 1   0       200           baf05600          softbio/0
0        3 3   0       200           baf058c0          softnet/0 tstile
0    >   2 7   0       201           baf05b80             idle/0
0        1 3   1       200           805718c0            swapper uvm
db{0}> bt/t 0t2015
trace: pid 2015 lid 1 at 0xb98a7b54
0xb98a7b54: netbsd:mi_switch+0x10
0xb98a7b84: netbsd:sleepq_block+0xb4
0xb98a7bb4: netbsd:cv_wait+0x104
0xb98a7be4: netbsd:usbd_transfer+0x23c
0xb98a7c34: netbsd:usbd_do_request_flags_pipe+0xd8
0xb98a7c5c: netbsd:usbd_do_request+0x38
0xb98a7c8c: netbsd:smsc_write_reg+0x60
0xb98a7cb4: netbsd:smsc_setmulti+0x110
0xb98a7ce4: netbsd:smsc_ioctl+0x124
0xb98a7d8c: netbsd:if_mcast_op+0x50
0xb98a7db4: netbsd:in_delmulti+0x78
0xb98a7dd4: netbsd:ip_freemoptions+0x34
0xb98a7df4: netbsd:in_pcbdetach+0xac
0xb98a7e14: netbsd:udp_detach_wrapper+0x40
0xb98a7e3c: netbsd:soclose+0x7c
0xb98a7e54: netbsd:soo_close+0x20
0xb98a7e94: netbsd:closef+0x6c
0xb98a7ef4: netbsd:fd_close+0x180
0xb98a7f0c: netbsd:sys_close+0x2c
0xb98a7f7c: netbsd:syscall+0x88
0xb98a7fac: netbsd:swi_handler+0x98
db{0}> dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    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.0 (RPI2) #0: Thu Oct 29 03:02:03 PDT 2015
        michael%home.plass-family.net@localhost:/home/michael/NetBSD-7.0/build/usr/src/sys
/arch/evbarm/compile/obj/RPI2
total memory = 944 MB
avail memory = 928 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
kern.module.path=/stand/evbarm/7.0/modules
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 core 0: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu0: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu0: pfr: [0]=0x1131 [1]=0x11011
cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp0: mvfr: [0]=0x10110222 [1]=0x11111111
cpu1 at mainbus0 core 1
cpu2 at mainbus0 core 2
cpu3 at mainbus0 core 3
obio0 at mainbus0
bcmicu0 at obio0: Multiprocessor
armgtmr0 at obio0: ARMv7 Generic 64-bit Timer (19200 kHz)
armgtmr0: interrupting on irq 3
timecounter: Timecounter "armgtmr0" frequency 19200000 Hz quality 500
bcmmbox0 at obio0: VC mailbox
vcmbox0 at bcmmbox0
vchiq0 at obio0 intr 194: BCM2835 VCHIQ
bcmpm0 at obio0: Power management, Reset and Watchdog controller
bcmdmac0 at obio0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
bcmrng0 at obio0: RNG
plcom0 at obio0 intr 185
plcom0: txfifo disabled
plcom0: console
genfb0 at obio0
genfb0: framebuffer at 0x3d876000, size 1280x720, depth 32, stride 5120
wsdisplay0 at genfb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
sdhc0 at obio0 intr 190: SDHC controller
sdhc0: interrupting on intr 190
dwctwo0 at obio0 intr 137: USB controller
bcmspi0 at obio0 intr 182: SPI
spi0 at bcmspi0: SPI bus
bsciic0 at obio0 intr 181: BSC0
iic0 at bsciic0: I2C bus
bsciic1 at obio0 intr 181: BSC1
iic1 at bsciic1: I2C bus
bcmgpio0 at obio0: GPIO [0...31]
gpio0 at bcmgpio0: 32 pins
bcmgpio1 at obio0: GPIO [32...53]
gpio1 at bcmgpio1: 22 pins
usb0 at dwctwo0: USB revision 2.0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu1: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu1: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu1: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu1: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu1: pfr: [0]=0x1131 [1]=0x11011
cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp1: mvfr: [0]=0x10110222 [1]=0x11111111
cpu3: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu3: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu3: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu3: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu3: pfr: [0]=0x1131 [1]=0x11011
cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp3: mvfr: [0]=0x10110222 [1]=0x11111111
cpu2: 600 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu2: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu2: isar: [0]=0x2101110 [1]=0x13112111 [2]=0x21232041 [3]=0x11112131, [4]=0x10
011142, [5]=0
cpu2: mmfr: [0]=0x10101105 [1]=0x40000000 [2]=0x1240000 [3]=0x2102211
cpu2: pfr: [0]=0x1131 [1]=0x11011
cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp2: mvfr: [0]=0x10110222 [1]=0x11111111
sdhc0: SD Host Specification 3.0, rev.153
sdhc0: using DMA transfer
sdmmc0 at sdhc0 slot 0
uhub0 at usb0: vendor 0x0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
ld0 at sdmmc0: <0x03:0x5344:SU08G:0x80:0x611ed719:0x0e5>
ld0: 7580 MB, 3850 cyl, 64 head, 63 sec, 512 bytes/sect x 15523840 sectors
ld0: 4-bit width, bus clock 50.000 MHz
uhub1 at uhub0 port 1: vendor 0x0424 product 0x9514, class 9/0, rev 2.00/2.00, a
ddr 2
uhub1: multiple transaction translators
uhub1: 5 ports with 4 removable, self powered
usmsc0 at uhub1 port 1
usmsc0: vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3
usmsc0:  Ethernet address b8:27:eb:19:a8:ec
ukphy0 at usmsc0 phy 1: OUI 0x00800f, model 0x000c, rev. 3
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
vchiq: local ver 6 (min 3), remote ver 6.
vcaudio0 at vchiq0: auds
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
audio0 at vcaudio0: half duplex, playback, capture, independent
wsdisplay0: screen 4 added (default, vt100 emulation)
usbd_do_request: not in process context
usmsc0: warning: Failed to write register 0x10c
usbd_do_request: not in process context
usmsc0: warning: Failed to write register 0x110
usbd_do_request: not in process context
usmsc0: warning: Failed to write register 0x100
db{0}> sync
syncing disks... 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 giving up

dump to dev 92,1 not possible
rebooting...

>How-To-Repeat:
It can happen anytime the usmsc0 network interface is in use, but one of the more likely ways to provoke it is to close a multicast socket.
For instance,
# service mdnsd restart

It won't happen all the time, so many repetitions may be required.

The problem becomes less likely to happen when all but one CPU is taken offline; I have had an uptime of several days of normal use this way, but eventually the problem did occur.

To rule out any obvious hardware problem, I ran continuous network transfers while running raspbian for several days, without any problems.


>Fix:



Home | Main Index | Thread Index | Old Index