NetBSD-Bugs archive

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

Re: kern/56739: Hang during boot since recent USB changes



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

From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%netbsd.org@localhost, riastradh%NetBSD.org@localhost
Cc: 
Subject: Re: kern/56739: Hang during boot since recent USB changes
Date: Fri, 4 Mar 2022 23:18:47 +0200

 Taylor,
 
 You asked (though not in this order):
 > Does the hang happen only with ualea(4) or also with other USB
 > devices?
 
 I tried an old USB WiFi adapter.  When I connect it directly to a USB
 port on the laptop, it attaches to the EHCI controller and the machine
 boots successfully:
 
   [   4.0162847] ural0 at uhub3 port 4
   [   4.0571843] ural0: Buffalo (0x0411) WLI-U2-KG54 (0x0066), rev 2.00/0.01, addr 2
   [   4.2562884] ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526
 
 But when I connect it via a full speed hub to force the use of the
 UHCI companion controller, it hangs the same way as with the ualea,
 after the message
 
   [   3.4862757] ehci0: handing over full speed device on port 4 to uhci1
 
 So the problem appears not to be related to ualea, but to either UHCI
 or the use of a companion controller.
 
 > Can you get into ddb when it hangs?  If yes, can you share `ps' output
 > at ddb?
 
 Yes.  This is with the full speed hub and WiFi adapter:
 
 db{0}> ps
 PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
 1        1 3   0         0           c24fe240               init lbolt
 0      115 3   0       200           c24fe500             npfgc0 npfgcw
 0      114 3   0       200           c24edd00            rt_free rt_free
 0      113 3   0       200           c24eda40              unpgc unpgc
 0      112 3   0       200           c24ed780    key_timehandler key_timehandler
 0      111 3   0       200           c24ed4c0    icmp6_wqinput/0 icmp6_wqinput
 0      110 3   0       200           c24ed200          nd6_timer nd6_timer
 0      109 3   0       200           c247ecc0    carp6_wqinput/0 carp6_wqinput
 0      108 3   0       200           c247ea00     carp_wqinput/0 carp_wqinput
 0      107 3   0       200           c247e740     icmp_wqinput/0 icmp_wqinput
 0      106 3   0       200           c247c9c0           rt_timer rt_timer
 0      105 3   0       200           c247c440        vmem_rehash vmem_rehash
 0      104 3   0       200           c247c700          entbutler entropy
 0      103 3   0       200           c247c180               usb3 usbevt
 0      102 3   0       200           c246bc40               usb2 usbevt
 0      101 3   0       200           c246b980               usb1 usbdly
 0      100 3   0       200           c247cc80               usb0 usbevt
 0       99 3   0       200           c247e1c0           acpibat0 acpibat0
 0       98 3   0       200           c247e480            acpitz0 acpitz0
 0       24 3   0       200           c246b6c0            atabus1 atainitq
 0       23 3   0       200           c246b400            atabus0 atadrdy
 0       22 3   0       200           c246b140          cardslot1 evexit
 0       21 3   0       200           c2340c00          cardslot0 evexit
 0       20 3   0       380           c2340940           fw0probe ieee1394
 0       19 3   0       200           c2340680         usbtask-dr usbtsk
 0       18 3   0       200           c23403c0         usbtask-hc usbtsk
 0       17 3   0       200           c2340100               pms0 pmsreset
 0       16 3   0       200           c222cbc0               apm0 apmev
 0       15 3   0       200           c222c900             sysmon smtaskq
 0       14 3   0       200           c222c640         pmfsuspend pmfsuspend
 0       13 3   0       200           c222c380           pmfevent pmfevent
 0       12 3   0       200           c222c0c0         sopendfree sopendfr
 0       11 3   0       200           c221db80            iflnkst iflnkst
 0       10 3   0       200           c221d8c0           nfssilly nfssilly
 0        9 3   0       200           c221d600             vdrain vdrain
 0        8 3   0       200           c221d340          modunload mod_unld
 0        7 3   0       200           c221d080            xcall/0 xcall
 0        6 1   0       200           c221bb40          softser/0
 0        5 3   0       200           c221b880          softclk/0 tstile
 0        4 1   0       200           c221b5c0          softbio/0
 0        3 1   0       200           c221b300          softnet/0
 0    >   2 1   0       201           c221b040             idle/0
 0        0 3   0       200           c15909c0            swapper cfgmisc
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index