NetBSD-Bugs archive

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

Re: kern/51241: USB Drive detect failure on Tegra K1



For those playing the home game:

(tldr; updated .tdb gets us further, small drive works, large drive broken)


Using the updated .tdb suggested by Nick (should be on the wiki now),  things progress a little further:

armv7# umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Western Digital My Book 1230, rev 2.10/10.65, addr 2
scsibus0 at umass0: 2 targets, 2 luns per target
sd0 at scsibus0 target 0 lun 0: <WD, My Book 1230, 1065> disk fixed
sd0(umass0:0:0:0): not ready, data = 00 00 00 00 04 01 00 00 00 00
sd0: drive offline
sd0: fabricating a geometry

armv7# fdisk sd0
^C^C^C^C

Process is wedged. (tstile, blocking on [scsibus0], which is stuck in a biowait under read_mbr)

However, with another drive (2TB):
armv7# umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Western Digital My Passport 0748, rev 2.10/10.19, addr 2
scsibus0 at umass0: 2 targets, 2 luns per target
sd0 at scsibus0 target 0 lun 0: <WD, My Passport 0748, 1019> disk fixed
sd0(umass0:0:0:0): not ready, data = 00 00 00 00 04 01 00 00 00 00
sd0: drive offline
sd0: fabricating a geometry
dk9 at sd0: "EFI System Partition", 409600 blocks at 40, type: msdos
dk10 at sd0: "Passport", 3906291632 blocks at 409640, type: <unknown>
dk11 at sd0: "Booter", 262144 blocks at 3906701272, type: <unknown>
scsibus0 target 0 lun 1: <WD, SES Device, 1019> enclosure services fixed not configured

(Note: the type for the second volume (dk10) is an encrypted HFS+ volume.)


More trace files on ftp.


On June 14, 2016 at 4:35:07 PM, cyber%netbsd.org@localhost (cyber%netbsd.org@localhost) wrote:
> >Number: 51241
> >Category: kern
> >Synopsis: USB Drive detect failure on Tegra K1
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: kern-bug-people
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Tue Jun 14 23:35:00 +0000 2016
> >Originator: Erik Berls
> >Release: NetBSD armv7 7.99.30 NetBSD 7.99.30 (TEGRA.201606011320Z) evbarm
> >Organization:
> NetBSD
> >Environment:
> NetBSD armv7 7.99.30 NetBSD 7.99.30 (TEGRA) #3: Thu Jun 2 23:36:05 UTC 2016 root@armv7:/home/netbsd-src/src/sys/arch/evbarm/compile/obj/TEGRA  
> evbarm
>  
> >Description:
> Plugging in a USB drive into a TEGRA K1 fails to probe.
>  
> dmesg: ftp://ftp.netbsd.org:/pub/NetBSD/misc/cyber/TEGRA-USB/dmesg.txt
> usbhist: ftp://ftp.netbsd.org:/pub/NetBSD/misc/cyber/TEGRA-USB/usbhist.txt  
>  
> >How-To-Repeat:
> 1. Boot Tegra
> 2. Plug in USB drive (In this case a WD My Book, 5TB, also tested with 2TB My Passport)
> 3. Note that it spits out some kernel messages but doesn't attach.
>  
> Full dmesg and vmstat -u usbhist available via ftp (see above).
>  
> >Fix:
>  
>  

--  
Erik Berls




Home | Main Index | Thread Index | Old Index