NetBSD-Bugs archive

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

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



The following reply was made to PR kern/50491; it has been noted by GNATS.

From: Michael Plass <mfpnb%plass-family.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/50491: unkillable wait in usbd_transfer while using usmsc0 on raspberry pi 2
Date: Tue, 8 Dec 2015 19:27:02 -0800

 On Dec 7, 2015, at 9:50 PM, Michael Plass wrote:
 
 > I'm going to try it using a kernel without LOCKDEBUG
 
 It looks good! No more unkillable lockups.
 
 Maybe related, maybe not:
 I did have a dropped tcp connection (ip4, I think). Also, I had a ipv6 =
 connection
 transferring from the pi to my laptop (inetd/chargen on the pi), and =
 that transfer stalled - no data moving, but the connection didn't drop.  =
 This happened twice.  The first time I killed the transfer, the other =
 one is still in the stuck state.
 
 The kernel and user stack traces are:
 db{0}> bt/a b5ce74a0
 trace: pid 4567 lid 1 at 0xb4e2fcdc
 0xb4e2fcdc: netbsd:mi_switch+0x10
 0xb4e2fd0c: netbsd:sleepq_block+0xb4
 0xb4e2fd44: netbsd:cv_timedwait_sig+0x108
 0xb4e2fee4: netbsd:kevent1+0x2cc
 0xb4e2ff0c: netbsd:sys___kevent50+0x38
 0xb4e2ff7c: netbsd:syscall+0x88
 0xb4e2ffac: netbsd:swi_handler+0x98
 db{0}> cont
 
 mipi# gdb /usr/sbin/inetd 21203
 GNU gdb (GDB) 7.7.1
 Copyright (C) 2014 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later =
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show =
 copying"
 and "show warranty" for details.
 This GDB was configured as "arm--netbsdelf-eabihf".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from /usr/sbin/inetd...(no debugging symbols =
 found)...done.
 Attaching to program: /usr/sbin/inetd, process 21203
 Reading symbols from /usr/lib/libwrap.so.1...(no debugging symbols =
 found)...done.
 Loaded symbols for /usr/lib/libwrap.so.1
 Reading symbols from /usr/lib/libutil.so.7...(no debugging symbols =
 found)...done.
 Loaded symbols for /usr/lib/libutil.so.7
 Reading symbols from /usr/lib/libipsec.so.3...(no debugging symbols =
 found)...done.
 Loaded symbols for /usr/lib/libipsec.so.3
 Reading symbols from /usr/lib/libc.so.12...(no debugging symbols =
 found)...done.
 Loaded symbols for /usr/lib/libc.so.12
 Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols =
 found)...done.
 Loaded symbols for /usr/libexec/ld.elf_so
 0x401e3358 in write () from /usr/lib/libc.so.12
 (gdb) where
 #0  0x401e3358 in write () from /usr/lib/libc.so.12
 #1  0x00012498 in chargen_stream ()
 #2  0x00011b80 in run_service ()
 #3  0x00014ffc in main ()
 (gdb) quit
 
 Thanks,
 - Michael=
 



Home | Main Index | Thread Index | Old Index