NetBSD-Bugs archive

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

Re: kern/11018 (VIA VT83C572 UHCI USB controller does not work)



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

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/11018 (VIA VT83C572 UHCI USB controller does not work)
Date: Sun, 12 Feb 2017 23:06:03 +0900

 > Can you try with HEAD and report back.
 
 Finally I've restored my Apus and replaced dead 4.5V backup battery
 so that it now gets working state again.
 
 I've tried 7.99.59 kernel updated around 20170211 with GENERIC + uhci,
 and short result is:
 
 - umass seems working fine
 - ums and ukbd still cause "uhub0: device problem, disabling port N"
 
 ---
 
 [Boot up with mouse and USB stick plugged to the uhci PCI board]
 
 Open Firmware, 2.0
 To continue booting the MacOS type:
 BYE<return>
 To continue booting from the default boot device type:
 BOOT<return>
  ok
 0 > boot -s 
 OF_open bootpath=ata/ATA-Disk@0
 read stage 2 blocks: 01234. done!
 starting stage 2...
 
 >> NetBSD/macppc OpenFirmware Boot, Revision 1.12
 Cannot use bootpath
 Using boot-device instead
 9790564+169704 [407360+391902]=0xa4328c
  start=0x100000
 mem region 0 start=0 size=4000000
 avail region 0 start=0x4800 size=0xefb800
 avail region 1 start=0x1011000 size=0x2fef000
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
     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 7.99.59 (GENERIC_UHCI) #12: Sun Feb 12 22:02:32 JST 2017
 	tsutsui@mirage:/usr/src/sys/arch/macppc/compile/GENERIC_UHCI
 total memory = 65536 KB
 avail memory = 52036 KB
 found ohare PIC at f3000000
 bootpath: ata/ATA-Disk@0/netbsd
 mainbus0 (root)
 cpu0 at mainbus0: 603ev (Revision 2.1), ID 0 (primary)
 cpu0: HID0 0x90c001<DOZE,DPM,ICE,DCE,NOPTI>, powersave: 1
 cpu0: ohare L2 cache enabled
 memory0 at mainbus0
 bandit0 at mainbus0
 pci0 at bandit0 bus 0
 pchb0 at pci0 dev 11 function 0
 pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x02)
 ex0 at pci0 dev 13 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x30)
 ex0: interrupting at irq 23
 ex0: MAC address 00:50:04:65:51:1a
 exphy0 at ex0 phy 24: 3Com internal media interface
 exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 uhci0 at pci0 dev 14 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x04)
 uhci0: interrupting at irq 25
 usb0 at uhci0: USB revision 1.0
 obio0 at pci0 dev 16 function 0: addr 0xf3000000
 mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
 scsibus0 at mesh0: 8 targets, 8 luns per target
 mesh0: couldn't establish power handler
 zsc0 at obio0 irq 15,16
 zstty0 at zsc0 channel 0 (console i/o)
 zstty1 at zsc0 channel 1
 awacs at obio0 offset 0x14000 not configured
 swim3 at obio0 offset 0x15000 not configured
 nvram0 at obio0 offset 0x60000
 cuda0 at obio0 offset 0x16000 irq 18
 nadb0 at cuda0: Apple Desktop Bus
 iic0 at cuda0: I2C bus
 cuda0: error doing I2C
 wdc0 at obio0 offset 0x20000 irq property not found; using 13: DMA transfer
 atabus0 at wdc0 channel 0
 vmmask 7f000000 schedmask 7f000000 highmask 7f000000
 scsibus0: waiting 2 seconds for devices to settle...
 uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 adbkbd0 at nadb0 addr 2: extended keyboard
 wskbd0 at adbkbd0 mux 1
 wsmouse0 at adbkbd0 mux 0
 adbms0 at nadb0 addr 3: 1-button, 100 dpi mouse
 wsmouse1 at adbms0 mux 0
 cd0 at scsibus0 target 3 lun 0: <MATSHITA, CD-ROM CR-506, 8S05> cdrom removable
 wd0 at atabus0 drive 0
 wd0: <ST320011A>
 wd0: 19092 MB, 38792 cyl, 16 head, 63 sec, 512 bytes/sect x 39102336 sectors
 uhub0: device problem, disabling port 1
 umass0 at uhub0 port 2 configuration 1 interface 0
 umass0: Melco product 023b, rev 2.10/0.01, addr 2
 scsibus1 at umass0: 2 targets, 1 lun per target
 sd0 at scsibus1 target 0 lun 0: <BUFFALO, USB Flash Disk, 1.00> disk removable
 sd0: fabricating a geometry
 sd0: 30936 MB, 30936 cyl, 64 head, 32 sec, 512 bytes/sect x 63356928 sectors
 sd0: fabricating a geometry
 swwdog0: software watchdog initialized
 WARNING: 3 errors while detecting hardware; check system log.
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 kern.module.path=/stand/macppc/7.99.59/modules
 Enter pathname of shell or RETURN for /bin/sh: 
 Terminal type? [unknown] kterm
 Terminal type is kterm.
 We recommend creating a non-root account and using su(1) for root access.
 # dd if=/dev/rsd0c of=/dev/null bs=1m
 ^C5+0 records in
 5+0 records out
 5242880 bytes transferred in 6.255 secs (838190 bytes/sec)
 
 [unplug mouse, and plug mouse again]
 
 uhub0: device problem, disabling port 1
 
 [unplug mouse, and plug mouse again]
 
 uhub0: device problem, disabling port 1
 
 [unplug mouse, and plug USB hub with keyboard and mouse]
 
 uhub1 at uhub0 port 1: Genesys Logic product 0608, class 9/0, rev 2.00/77.61, addr 3
 uhub1: device problem, disabling port 1
 uhub1: device problem, disabling port 3
 
 [unplug the USB stick and the hub, plug the USB stick to the hub,
  and then plug the USB hub again]
 
 sd0: detached
 scsibus1: detached
 umass0: detached
 umass0: at uhub0 port 2 (addr 2) disconnected
 uhub1: detached
 uhub1: at uhub0 port 1 (addr 3) disconnected
 uhub1 at uhub0 port 2: Genesys Logic product 0608, class 9/0, rev 2.00/77.61, addr 2
 uhub1: device problem, disabling port 1
 umass0 at uhub1 port 2 configuration 1 interface 0
 umass0: Melco product 023b, rev 2.10/0.01, addr 3
 scsibus1 at umass0: 2 targets, 1 lun per target
 sd0 at scsibus1 target 0 lun 0: <BUFFALO, USB Flash Disk, 1.00> disk removable
 sd0: fabricating a geometry
 sd0: 30936 MB, 30936 cyl, 64 head, 32 sec, 512 bytes/sect x 63356928 sectors
 sd0: fabricating a geometry
 uhub1: device problem, disabling port 3
 
 ---
 
 So it looks USB 1.1 devices still have some issue.
 
 I'll check details with USB_DEUBG and UHCI_DEBUG later in this week.
 (actually I'm tired today to restoring the old machine...)
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index