Subject: kern/10469: uhci halting problem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@cjones.org>
List: netbsd-bugs
Date: 06/28/2000 15:19:13
>Number:         10469
>Category:       kern
>Synopsis:       uhci halting problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 28 15:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Chris Jones
>Release:        <NetBSD-current source date>Jun 25 2000 (approx.)
>Organization:
---------------------------------------------------- cjones@rightnowtech.com
Chris Jones
           System Administrator, Right Now Technologies, Inc.
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Environment:
	
System: NetBSD reddwarf 1.4ZD NetBSD 1.4ZD (REDDWARF) #25: Mon Jun 26 11:17:41 MDT 2000 cjones@reddwarf:/usr/people/cjones/work/current/src/sys/arch/i386/compile/REDDWARF i386

reddwarf# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
 port 1 addr 2: self powered, config 1, UT-USB41 hub(0x1446), Texas Instruments(0x0451), rev 1.10
  port 1 powered
  port 2 addr 3: power 100 mA, config 1, Monterey KBD HUB   (0x9472), ALCOR(0x058f), rev 0.01
   port 1 addr 4: self powered, config 1, Monterey KBD HUB   (0x2802), ALCOR(0x0566), rev 0.01
   port 2 powered
   port 3 addr 5: low speed, power 100 mA, config 1, Cypress USB Mouse(0x0001), Cypress Sem(0x04b4), rev 0.00
  port 3 powered
  port 4 addr 6: power 90 mA, config 1, USB-Ethernet(0x0008), Kawasaki LSI Inc.(0x05e9), rev 2.02
 port 2 powered

>Description:
uhci0: host controller halted
>How-To-Repeat:
If my kue is ifconfig'd up at the same time that I try to run
pilot-xfer to back up my uvisor, I will usually see this error
somewhere in the process.

Jun 21 17:18:16 reddwarf /netbsd: uvisor0 at uhub1 port 3
Jun 21 17:18:16 reddwarf /netbsd: 
Jun 21 17:18:16 reddwarf /netbsd: uvisor0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 7
Jun 21 17:18:16 reddwarf /netbsd: ucom0 at uvisor0
Jun 21 17:18:19 reddwarf sbin/dhclient: DHCPDISCOVER on ne0 to 255.255.255.255 port 67 interval 13
Jun 21 17:18:20 reddwarf /netbsd: uhci0: host controller process error
Jun 21 17:18:20 reddwarf /netbsd: uhci0: host controller halted
Jun 21 17:18:20 reddwarf /netbsd: uhci0 regs: cmd=0080, sts=0030, intr=000f, frnum=06ea, flbase=00003ba8, sof=0040, portsc1=0095, portsc2=0c80
Jun 21 17:18:20 reddwarf /netbsd: intrs=4323843
Jun 21 17:18:20 reddwarf /netbsd: QH(0xc53dbfc0) at 00004fc0: hlink=00004fe2 elink=00000001

>Fix:
Workaround is to "ifconfig kue0 down", then run pilot-xfer.
>Release-Note:
>Audit-Trail:
>Unformatted: