NetBSD Problem Report #13202

Received: (qmail 25814 invoked from network); 14 Jun 2001 03:12:32 -0000
Message-Id: <20010614031412.D51DF4CE4@yeah-baby.shagadelic.org>
Date: Wed, 13 Jun 2001 20:14:12 -0700 (PDT)
From: thorpej@shagadelic.org
Reply-To: thorpej@shagadelic.org
To: gnats-bugs@gnats.netbsd.org
Subject: uhci does not work on MIPS
X-Send-Pr-Version: 3.95

>Number:         13202
>Category:       kern
>Synopsis:       uhci does not work on MIPS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 14 03:13:01 +0000 2001
>Closed-Date:    Mon Mar 07 05:41:45 +0000 2016
>Last-Modified:  Mon Mar 07 05:41:45 +0000 2016
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.5W, June 13, 2001
>Organization:
Zembu Labs, Inc.
>Environment:

System: NetBSD p5064.fast-100.shagadelic.org 1.5W NetBSD 1.5W (P5064) #82: Wed Jun 13 19:45:28 PDT 2001     thorpej@indy.slow-10.shagadelic.org:/amd/yeah-baby.shagadelic.org/u1/netbsd/src/sys/arch/algor/compile/P5064 algor
Architecture: mipsel
Machine: algor
>Description:
	The `uhci' USB controller driver does not work on MIPS.  The
	error manifests itself on the Algorithmics P-5064 as a bus
	error, and the system hanging before asking the operator
	for the root device.

	The boot messages from a failed boot w/ uhci are:

 [ no symbols available ]

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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 1.5W (P5064) #82: Wed Jun 13 19:45:28 PDT 2001
    thorpej@indy.slow-10.shagadelic.org:/amd/yeah-baby.shagadelic.org/u1/netbsd/src/sys/arch/algor/compile/P5064
Algorithmics P-5064
total memory = 159 MB
avail memory = 144 MB
using 2073 buffers containing 8292 KB of memory
mainbus0 (root)
cpu0 at mainbus0: QED RM5200 CPU (0x2810) Rev. 1.0 with built-in FPU Rev. 1.0
cpu0: L1 cache: 16KB/32B instruction, 16KB/32B data, two way set associative
cpu0: No L2 cache
vtpbc0 at mainbus0 addr 0x1ef00000: V3 V962, revision C0
pci0 at vtpbc0 bus 0
pci0: i/o space, memory space enabled
tlp0 at pci0 dev 0 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at Ethernet IRQ
tlp0: Ethernet address 00:40:bc:04:00:43
qsphy0 at tlp0 phy 13: QS6612 10/100 media interface, rev. 1
qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
siop0 at pci0 dev 1 function 0: Symbios Logic 53c810a (fast scsi)
siop0: interrupting at SCSI IRQ
scsibus0 at siop0: 8 targets, 8 luns per target
pcib0 at pci0 dev 2 function 0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
pciide0 at pci0 dev 2 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: primary channel ignored (disabled)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
uhci0 at pci0 dev 2 function 2: Intel 82371SB USB Host Controller (PIIX3) (rev. 0x01)
uhci0: interrupting at USB IRQ
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ATI Technologies Mach64 B (VGA display, revision 0x5c) at pci0 dev 3 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
scsibus0: waiting 2 seconds for devices to settle...
WARNING: Bus error
uhci0: host system error
uhci0: host controller halted
pcic0: controller 0 detecting irqs with mask 0xdeb8: none
pcic0: no available irq; polling for socket events
IPsec: Initialized Security Association Processing.
pcic_chip_socket_enable: status 8c
pcic_wait_ready: ready never happened, status = 8c

	..the system then hangs.  A kernel without the uhci
	configured in proceeds with:

root device: tlp0
dump device: 
file system (default generic): 
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.2.1
nfs_boot: my_name=p5064.fast-100.shagadelic.org
nfs_boot: my_domain=shagadelic.org
nfs_boot: my_addr=192.168.2.4
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.2.1
root on 192.168.2.1:/u1/diskless/p5064
WARNING: clock gained 6577 days -- CHECK AND RESET THE DATE!
root file system type: nfs
.
.
.

	The "WARNING: Bus error" message is printed by the
	P-5064 error interrupt handler.  It seems as if
	a bogus DMA address is being fed to the uhci controller.

	Note that DMA for SCSI and Ethernet work fine (while there
	are no devices currently plugged into the SCSI controller,
	it has generated several `command complete' interrupts).

>How-To-Repeat:
	Try using uhci on a P-5064.

>Fix:
	Not known.
>Release-Note:
>Audit-Trail:

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: thorpej@shagadelic.org
Cc: gnats-bugs@gnats.netbsd.org, tsutsui@ceres.dti.ne.jp
Subject: Re: kern/13202: uhci does not work on MIPS
Date: Fri, 15 Jun 2001 00:41:10 +0900 (JST)

 In article <20010614031412.D51DF4CE4@yeah-baby.shagadelic.org>
 thorpej@shagadelic.org writes:

 > >Synopsis:       uhci does not work on MIPS

 > >Description:
 > 	The `uhci' USB controller driver does not work on MIPS.  The
 > 	error manifests itself on the Algorithmics P-5064 as a bus
 > 	error, and the system hanging before asking the operator
 > 	for the root device.

 VIA VT83C572 uhci is working on my Express5800/230 (arc).
 At least, ums is recoginized properly.

 ---
 NetBSD 1.5V (ECLIPSE) #139: Sun May 27 22:28:23 JST 2001
     tsutsui@eclipse:/usr/src/sys/arch/arc/compile/ECLIPSE
 NEC-JC94
 total memory = 65536 KB
 avail memory = 55748 KB
 using 844 buffers containing 3376 KB of memory
 mainbus0 (root)
 cpu0 at mainbus0: MIPS R4400 CPU (0x460) Rev. 6.0 with MIPS R4010 FPC Rev. 0.0
 cpu0: L1 cache: 16KB/32B instruction, 16KB/32B data, direct mapped
 cpu0: L2 cache: 1024KB/64B mixed, no snooping
  :
 necpb0 at mainbus0
 pci0 at necpb0 bus 0
 pci0: i/o space, memory space enabled
  :
 uhci0 at pci0 dev 5 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x04)
 uhci0: interrupting at int B
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 scsibus0: waiting 2 seconds for devices to settle...
  :
 boot device: sd0
 root on sd0a dumps on sd0b
 root file system type: ffs
  :
 ums0 at uhub0 port 1 configuration 1 interface 0
 ums0: Cypress Sem Cypress USB Mouse, rev 1.00/0.00, addr 2, iclass 3/1
 ums0: 3 buttons
 wsmouse1 at ums0 mux 0
  :
 ums0: at uhub0 port 1 (addr 2) disconnected
 wsmouse1 detached
 ums0 detached
  :
 ---
 Izumi Tsutsui
 tsutsui@ceres.dti.ne.jp
State-Changed-From-To: open->feedback
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Sun, 08 Mar 2015 12:34:13 +0000
State-Changed-Why:
Assume fixed and close?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 07 Mar 2016 05:41:45 +0000
State-Changed-Why:
submitter's mail is bouncing.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.