USB-related problem

Boris Grosbein gba at grosbein.net
Mon Nov 9 16:33:07 UTC 2015


On 09.11.2015 23:25, Eugene Grosbein wrote:
> On 09.11.2015 22:53, Adrian Chadd wrote:
>> ok, let's get it to hang, then break into ddb and do 'show
>> allthreads', 'show alllocks', 'bufvars' with my vfs_bio.c patch, etc.
> 
> Here it is:

That's r290541 with vfs_bio.c patch. And I forgot "ps":

db> ps
  pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
  666   665   666   100  R+                          systat
  665   664   665   100  S+      wait     0x82839378 sh
  664   663   664     0  Ss+     wait     0x828396f0 login
  663   629   663     0  Ss      select   0x809935e4 telnetd
  659   658   658     0  R+                          pkg-static
  658   654   658     0  S+      wait     0x80946a68 pkg-static
  654   651   654     0  S+      wait     0x809466f0 sh
  651     1   651     0  Ss+     wait     0x80a52a68 login
  629     1   629     0  Ss      select   0x80a360a4 inetd
  609     1   609     0  Rs                          cron
  606     1   606     0  Ss      select   0x80a361e4 sshd
  447     1   447     0  Ss      select   0x80a36324 syslogd
   39     0     0     0  DL      mdwait   0x80eca800 [md1]
   29     0     0     0  DL      mdwait   0x80eca000 [md0]
   15     0     0     0  RL                          [schedcpu]
   14     0     0     0  RL      CPU 0               [syncer]
    9     0     0     0  RL                          [vnlru]
    8     0     0     0  RL                          [bufspacedaemon]
    7     0     0     0  RL                          [bufdaemon]
--More--            6     0     0     0  RL                          [pagezero]
    5     0     0     0  RL      (threaded)          [pagedaemon]
100031                   RunQ                        [pagedaemon]
100038                   D       umarcl   0x80474bc8 [uma]
    4     0     0     0  DL      jobqueue 0x809f2900 [task: mx25l flash]
   13     0     0     0  DL      (threaded)          [usb]
100021                   D       -        0xc0888ca4 [usbus0]
100022                   D       -        0xc0888cd4 [usbus0]
100023                   D       -        0xc0888d04 [usbus0]
100024                   D       -        0xc0888d34 [usbus0]
100025                   D       -        0xc0888d64 [usbus0]
    3     0     0     0  DL      (threaded)          [cam]
100011                   D       -        0x803f9640 [doneq0]
100030                   D       -        0x803f9574 [scanner]
   12     0     0     0  DL      (threaded)          [geom]
100007                   D       -        0x804018b4 [g_event]
100008                   D       -        0x804018bc [g_up]
100009                   D       -        0x804018c0 [g_down]
   11     0     0     0  RL      (threaded)          [intr]
100004                   RunQ                        [swi4: clock (0)]
--More--        100005                   I                           [swi3: vm]
100006                   I                           [swi1: netisr 0]
100012                   I                           [swi5: fast taskq]
100014                   I                           [swi6: Giant taskq]
100015                   I                           [swi6: task queue]
100018                   RunQ                        [swi0: uart]
100019                   I                           [apb intr2: gpio0]
100020                   I                           [int1 ehci0]
100026                   RunQ                        [int2 arge0]
100027                   I                           [int3 arge1]
   10     0     0     0  RL                          [idle]
    2     0     0     0  RL                          [rand_harvestq]
    1     0     1     0  SLs     wait     0x80946000 [init]
    0     0     0     0  RLs     (threaded)          [kernel]
100000                   RunQ                        [swapper]
100010                   D       -        0x80961000 [firmware taskq]
100013                   D       -        0x80960780 [thread taskq]
100016                   D       -        0x80960000 [kqueue taskq]
100017                   D       -        0x8095ff00 [ffs_trim taskq]
100029                   D       -        0x80960a80 [CAM taskq]
--More--        db>



More information about the freebsd-mips mailing list