NetBSD Problem Report #40485

From www@NetBSD.org  Mon Jan 26 17:35:55 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id B475763C00E
	for <gnats-bugs@gnats.netbsd.org>; Mon, 26 Jan 2009 17:35:55 +0000 (UTC)
Message-Id: <20090126173555.8662163BAB8@narn.NetBSD.org>
Date: Mon, 26 Jan 2009 17:35:55 +0000 (UTC)
From: scotte@warped.com
Reply-To: scotte@warped.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD/Alpha on Multia does not configure USB2.0 controller properly
X-Send-Pr-Version: www-1.0

>Number:         40485
>Category:       port-alpha
>Synopsis:       NetBSD/Alpha on Multia does not configure USB2.0 controller properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 26 17:40:01 +0000 2009
>Originator:     Scott Ellis
>Release:        5.0_Beta
>Organization:
>Environment:
NetBSD 5.0_BETA (GENERIC-$Revision: 1.325 $) #0: Thu Jan 15 13:44:44 PST 
2009
        builds@wb27:/home/builds/ab/netbsd-5/alpha/200901150002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/alpha/compile/GENERIC
>Description:
Installing an NEC or VIA based USB2.0 card in my Multia does not work entirely.  The first uhci controller is found and configured, but the subsequent ones, and ehci are not configured:

uhci0 at pci0 dev 12 function 0: VIA Technologies VT83C572 USB 
Controller (rev. 0x50)
uhci0: interrupting at isa irq 15
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 12 function 1: VIA Technologies VT83C572 USB 
Controller (rev. 0x50)
uhci1: can't map i/o space
ehci0 at pci0 dev 12 function 2: VIA Technologies VT8237 EHCI USB 
Controller (rev. 0x51)
ehci0: can't map memory space

Devices plugged into uhci0 appear to work fine.

Using isacfg to disable floppy/com2/lpt doesn't matter.

Full dmesg follows:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008
     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 5.0_BETA (GENERIC-$Revision: 1.325 $) #0: Thu Jan 15 13:44:44 PST 
2009
        builds@wb27:/home/builds/ab/netbsd-5/alpha/200901150002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/alpha/compile/GENERIC
(PCI ISA), 167MHz, s/n
8192 byte page size, 1 processor.
total memory = 65536 KB
(2368 KB reserved for PROM, 63168 KB used by NetBSD)
avail memory = 51664 KB
timecounter: Timecounters tick every 0.976 msec
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), LCA-2 (21066)

lca0 at mainbus0
pci0 at lca0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 6 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at isa irq 11
scsibus0 at siop0: 8 targets, 8 luns per target
sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (rev. 0x03)
tlp0 at pci0 dev 8 function 0: DECchip 21040 Ethernet, pass 2.3
tlp0: interrupting at isa irq 14
tlp0: Ethernet address 08:00:2b:e4:2f:ca
tlp0: 10baseT, 10baseT-FDX, 10base5, manual
unknown vendor 0x0047 product 0x0280 (miscellaneous network, revision 
0x47) at pci0 dev 9 function 0 not configured
tga0 at pci0 dev 11 function 0: DC21030 step B, board type T8-02
tga0: 1280 x 1024, 8bpp, Bt485 RAMDAC
tga0: interrupting at isa irq 10
wsdisplay0 at tga0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 12 function 0: VIA Technologies VT83C572 USB 
Controller (rev. 0x50)
uhci0: interrupting at isa irq 15
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 12 function 1: VIA Technologies VT83C572 USB 
Controller (rev. 0x50)
uhci1: can't map i/o space
ehci0 at pci0 dev 12 function 2: VIA Technologies VT8237 EHCI USB 
Controller (rev. 0x51)
ehci0: can't map memory space
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
attimer0: attached to pcppi0
stray isa irq 3
stray isa irq 4
timecounter: Timecounter "clockinterrupt" frequency 1024 Hz quality 0
timecounter: Timecounter "PCC" frequency 166639024 Hz quality 1000
scsibus0: waiting 2 seconds for devices to settle...
pcic0: controller 0 detecting irqs with mask 0xdeb8:..5
pcic0: can't share irq with cards; polling for socket events
pcic0: WARNING: powerhook_establish is deprecated
pcic0: WARNING: powerhook_establish is deprecated
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, 
addr 1
uhub0: 2 ports with 2 removable, self powered
sd0 at scsibus0 target 0 lun 0: <TOSHIBA, MK1824FBV, 805B> disk fixed
sd0: 335 MB, 4195 cyl, 4 head, 41 sec, 512 bytes/sect x 687980 sectors
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
sd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
Kernelized RAIDframe activated
root on sd0a dumps on sd0b
root file system type: ffs
WARNING: preposterous TOD clock time
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!

>How-To-Repeat:
Install a USB2.0 card into the Multia PCI slot.
Boot.
Note what gets configured.
>Fix:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.