Subject: Re: kern/26681
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-bugs
Date: 02/18/2005 23:27:01
The following reply was made to PR kern/26681; it has been noted by GNATS.

From: Jukka Salmi <j+nbsd@2005.salmi.ch>
To: gnats-bugs@NetBSD.org
Cc: flack@cs.purdue.edu
Subject: Re: kern/26681
Date: Sat, 19 Feb 2005 00:26:01 +0100

 I updated my current i386 system today (2.99.16) and tried to use
 ehci again. Writing to a SanDisk CF still causes the write process
 to hang reproducible. However, I could _not_ reproduce the problem
 with a new Apacher flash drive. Partial dmesg output:
 
 NetBSD 2.99.16 (GENERIC) #0: Fri Feb 18 19:17:10 CET 2005
 [...]
 ehci0 at pci0 dev 16 function 3: VIA Technologies VT8237 EHCI USB Controller (rev. 0x82)
 ehci0: interrupting at irq 3
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
 usb3 at ehci0: USB revision 2.0
 uhub3 at usb3
 uhub3: VIA Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub3: single transaction translator
 uhub3: 6 ports with 6 removable, self powered
 
 
 The SanDisk CF hanging on writes:
 
 umass0 at uhub3 port 1 configuration 1 interface 0
 umass0: SanDisk ImageMate CF, rev 2.00/1.19, 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, STORAGE DEVICE, 0119> disk removable
 sd0: fabricating a geometry
 sd0: 122 MB, 122 cyl, 64 head, 32 sec, 512 bytes/sect x 250880 sectors
 
 ...some time after a write:
 
 umass0: BBB reset failed, TIMEOUT
 umass0: at uhub3 port 1 (addr 2) disconnected
 umass0: BBB bulk-in clear stall failed, IOERROR
 sd0(umass0:0:0:0): generic HBA error
 sd0(umass0:0:0:0): generic HBA error
 sd0 detached
 
 ...another time:
 
 ehci_idone: need toggle update status=cc000c41 nstatus=b0008c80
 umass0: at uhub3 port 1 (addr 2) disconnected
 sd0(umass0:0:0:0): generic HBA error
 sd0(umass0:0:0:0): generic HBA error
 sd0 detached
 
 
 The Apacher flash drive working without any problems so far:
 
 umass0 at uhub3 port 1 configuration 1 interface 0
 umass0: vendor 0x1005 USB Flash Drive, 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: <USB, Flash Drive, 2.04> disk removable
 sd0: 247 MB, 6349 cyl, 16 head, 5 sec, 512 bytes/sect x 507901 sectors
 
 
 So I'm not sure wheter it's a kernel or a hardware problem...
 
 -- 
 bashian roulette:
 $ ((RANDOM%6)) || rm -rf ~