NetBSD Problem Report #42752

From www@NetBSD.org  Sat Feb  6 00:21:35 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7503A63B9FC
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  6 Feb 2010 00:21:35 +0000 (UTC)
Message-Id: <20100206002135.4499963B886@www.NetBSD.org>
Date: Sat,  6 Feb 2010 00:21:35 +0000 (UTC)
From: jgw@freeshell.org
Reply-To: jgw@freeshell.org
To: gnats-bugs@NetBSD.org
Subject: Silicon Motion, Inc. Generic USB SDHC reader umass error
X-Send-Pr-Version: www-1.0

>Number:         42752
>Category:       kern
>Synopsis:       Silicon Motion, Inc. Generic USB SDHC reader umass error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 06 00:25:00 +0000 2010
>Last-Modified:  Sat Feb 06 20:40:02 +0000 2010
>Originator:     Jeff Woodall
>Release:        5.99.23
>Organization:
>Environment:
NetBSD simple.sleepy.cat 5.99.23 NetBSD 5.99.23 (GENERIC) #0: Thu Jan 14 09:27:52 UTC 2010  builds@b7.netbsd.org:/home/builds/ab/HEAD/i386/201001140000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
>Description:
Unmarked SDHC USB card reader fails detection.  Device tested with
Kingston 8GB SDHC card.  Reader works fine on Ubuntu.  Card formatted
FAT32 (msdos).

# dmesg
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Silicon Motion, Inc. Generic USB2.0 card, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Generic, USB  SD Reader, 1.00> disk removable
sd0(umass0:0:0:0): generic HBA error
sd0: drive offline
sd0(umass0:0:0:0): generic HBA error
sd0: unable to open device, error = 5
>How-To-Repeat:
Obtain similar reader/card and plug into USB port
>Fix:
My guess is it needs some sort of minor fudge.  There was a related
discussion recently on netbsd-users list WRT digital cameras mounting
issues.  One suggestion was relaxing the probing a little.

>Audit-Trail:
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/42752: Silicon Motion, Inc. Generic USB SDHC reader umass error
Date: Sat, 6 Feb 2010 07:44:39 +0100

 On Sat, Feb 06, 2010 at 12:25:00AM +0000, jgw@freeshell.org wrote:
 [..]

 > # dmesg
 > umass0 at uhub0 port 2 configuration 1 interface 0
 > umass0: Silicon Motion, Inc. Generic USB2.0 card, rev 2.00/1.00, addr 2
 > umass0: using SCSI over Bulk-Only

 Please add the usb chipset information too (*hci, usb, uhub ..)

 Bernd

From: Jeff_W<jgw@tx0.org>
To: gnats-bugs@NetBSD.org
Cc: netbsd@lists.veego.de, kern-bug-people@NetBSD.org
Subject: Re: kern/42752: Silicon Motion, Inc. Generic USB SDHC reader umass
 error
Date: Sat, 06 Feb 2010 12:39:26 -0800

 Bernd Ernesti <netbsd@lists.veego.de> wrote:

 > The following reply was made to PR kern/42752; it has been noted by GNATS.
 >
 > From: Bernd Ernesti <netbsd@lists.veego.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: kern/42752: Silicon Motion, Inc. Generic USB SDHC reader umass error
 > Date: Sat, 6 Feb 2010 07:44:39 +0100
 >
 >  On Sat, Feb 06, 2010 at 12:25:00AM +0000, jgw@freeshell.org wrote:
 >  [..]
 >  
 >  > # dmesg
 >  > umass0 at uhub0 port 2 configuration 1 interface 0
 >  > umass0: Silicon Motion, Inc. Generic USB2.0 card, rev 2.00/1.00, addr 2
 >  > umass0: using SCSI over Bulk-Only
 >  
 >  Please add the usb chipset information too (*hci, usb, uhub ..)
 >  
 >  Bernd
 >  
 Bernd Ernesti <netbsd@lists.veego.de> wrote:

 > The following reply was made to PR kern/42752; it has been noted by GNATS.
 >
 > From: Bernd Ernesti <netbsd@lists.veego.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: kern/42752: Silicon Motion, Inc. Generic USB SDHC reader umass error
 > Date: Sat, 6 Feb 2010 07:44:39 +0100
 >
 >  On Sat, Feb 06, 2010 at 12:25:00AM +0000, jgw@freeshell.org wrote:
 >  [..]
 >
 >  > # dmesg
 >  > umass0 at uhub0 port 2 configuration 1 interface 0
 >  > umass0: Silicon Motion, Inc. Generic USB2.0 card, rev 2.00/1.00, addr 2
 >  > umass0: using SCSI over Bulk-Only
 >
 >  Please add the usb chipset information too (*hci, usb, uhub ..)
 >

 Hope this is what you're after...

 # dmesg | egrep "^usb.|^.hci.|^uhub."
 uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x2658 (rev. 0x03)
 uhci0: interrupting at ioapic0 pin 23
 usb0 at uhci0: USB revision 1.0
 uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x2659 (rev. 0x03)
 uhci1: interrupting at ioapic0 pin 19
 usb1 at uhci1: USB revision 1.0
 uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x265a (rev. 0x03)
 uhci2: interrupting at ioapic0 pin 18
 usb2 at uhci2: USB revision 1.0
 ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x265c (rev. 0x03)
 ehci0: interrupting at ioapic0 pin 23
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
 usb3 at ehci0: USB revision 2.0
 uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhub3 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub3: 6 ports with 6 removable, self powered


 Let me know if you need anything else.

 Jeff

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.