Lexar Jumpdrive / umass problems

From: Mike Tancsa <mike_at_sentex.net>
Date: Wed, 27 Oct 2004 14:06:03 -0400
Hi,

I am experimenting with this device on RELENG_5 (Oct 26th) ? The unit is 
recognized

releng5-865# usbdevs -v
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 addr 2: high speed, power 100 mA, config 1, product 
0xa400(0xa400), Lexar Media(0x05dc), rev 20.00
  port 5 powered
  port 6 powered
  port 7 powered
  port 8 powered
releng5-865#


But something like

dd if=image of=/dev/da0 bs=64k

will blast data to it for about 10 seconds, and then it locks up.

I try
releng5-865# camcontrol reset all
Reset of bus 1 returned error 0x3a
releng5-865#

On the console, all I see is

umass1: BBB reset failed, TIMEOUT
umass1: BBB bulk-in clear stall failed, TIMEOUT
umass1: BBB bulk-out clear stall failed, TIMEOUT
umass1: BBB reset failed, TIMEOUT

If I try and ^C out of the dd, the process just stalls.  Here is the output 
of  breaking to the debugger

db> trace
kdb_enter(c06f8bdf) at kdb_enter+0x2b
siointr1(c1673800) at siointr1+0xce
siointr(c1673800) at siointr+0x5a
intr_execute_handlers(c14d5090,cbc5eca4,4,cbc5ece8,c0686e63) at 
intr_execute_handlers+0x85
lapic_handle_intr(34) at lapic_handle_intr+0x2e
Xapic_isr1() at Xapic_isr1+0x33
--- interrupt, eip = 0xc0835afd, esp = 0xcbc5ece8, ebp = 0xcbc5ece8 ---
acpi_cpu_c1(e5890d95,c802e19,1,c14dc4b0,4) at acpi_cpu_c1+0x5
acpi_cpu_idle(cbc5ed20,c050e7e9,c14dbc5c,c050e7d0,cbc5ed34) at 
acpi_cpu_idle+0xc9
cpu_idle(c14dbc5c,c050e7d0,cbc5ed34,c050e585,0) at cpu_idle+0x1f
idle_proc(0,cbc5ed48) at idle_proc+0x19
fork_exit(c050e7d0,0,cbc5ed48) at fork_exit+0x75
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcbc5ed7c, ebp = 0 ---
db>
db> ps
   pid   proc     uarea   uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
   538 c19471c4 d53a6000    0   537   538 0004002 [SLPQ ttyin 
0xc152ec10][SLP] csh
   537 c1947a98 d53ab000 1001   529   537 0004102 [SLPQ wait 
0xc1947a98][SLP] su
   529 c18358d4 d5339000 1001   528   529 0004002 [SLPQ pause 
0xc183590c][SLP] csh
   528 c1835a98 d533a000 1001   526   526 0000100 [SLPQ select 
0xc0747b24][SLP] sshd
   526 c1947000 d52fc000    0   377   526 0000100 [SLPQ sbwait 
0xc17e5ab8][SLP] sshd
   525 c1835710 d5338000    0   504   525 0004002 [SLPQ cgticb 
0xc14dae38][SLP] camcontrol
   504 c18351c4 d5335000    0   503   504 0004002 [SLPQ pause 
0xc18351fc][SLP] csh
   503 c1835388 d5336000 1001   496   503 0004102 [SLPQ wait 
0xc1835388][SLP] su
   496 c1835c5c d533b000 1001   495   496 0004002 [SLPQ pause 
0xc1835c94][SLP] csh
   495 c15b6a98 cc730000 1001   493   493 0000100 [SLPQ select 
0xc0747b24][SLP] sshd
   493 c1947710 d53a9000    0   377   493 0000100 [SLPQ sbwait 
0xc17e5830][SLP] sshd
   492 c19478d4 d53aa000    0   466   492 0024002 stop[SLPQ physwr 
0xc659a2ec][SLP] dd
   466 c1947388 d53a7000    0   465   466 0004002 [SLPQ pause 
0xc19473c0][SLP] csh
   465 c194754c d53a8000 1001   460   465 0004102 [SLPQ wait 
0xc194754c][SLP] su
   460 c183354c d532e000 1001   459   460 0004002 [SLPQ pause 
0xc1833584][SLP] csh
   459 c175854c d4a53000 1001   457   457 0000100 [SLPQ select 
0xc0747b24][SLP] sshd
   457 c1833000 d52fa000    0   377   457 0000100 [SLPQ sbwait 
0xc17e46ec][SLP] sshd
   453 c18331c4 d52ff000    0     1   453 0004002 [SLPQ ttyin 
0xc16a3810][SLP] getty
   452 c1758c5c d4a57000    0     1   452 0004002 [SLPQ ttyin 
0xc16a2810][SLP] getty
   451 c1758a98 d4a56000    0     1   451 0004002 [SLPQ ttyin 
0xc16a2a10][SLP] getty
   450 c1833388 d532d000    0     1   450 0004002 [SLPQ ttyin 
0xc16a2c10][SLP] getty
   449 c1758e20 d4a58000    0     1   449 0004002 [SLPQ ttyin 
0xc16a2e10][SLP] getty
   448 c1835000 d5334000    0     1   448 0004002 [SLPQ ttyin 
0xc16a3010][SLP] getty
   447 c17558d4 d4a4c000    0     1   447 0004002 [SLPQ ttyin 
0xc16a3210][SLP] getty
   446 c18338d4 d5330000    0     1   446 0004002 [SLPQ ttyin 
0xc15ef010][SLP] getty
   445 c17588d4 d4a55000    0     1   445 0004002 [SLPQ ttyin 
0xc15d7c10][SLP] getty
   411 c1833710 d532f000    0     1   410 0000000 [SLPQ nanslp 
0xc074454c][SLP] smartd
   399 c1758710 d4a54000    0     1   399 0000000 [SLPQ nanslp 
0xc074454c][SLP] cron
   387 c1833c5c d5332000   25     1   387 0000100 [SLPQ pause 
0xc1833c94][SLP] sendmail
   383 c1755388 d4a0d000    0     1   383 0000100 [SLPQ select 
0xc0747b24][SLP] sendmail
   377 c15b6c5c cc731000    0     1   377 0000100 [SLPQ select 
0xc0747b24][SLP] sshd
   342 c1755000 d4a0b000    0     1   342 0000000 [SLPQ select 
0xc0747b24][SLP] usbd
   267 c1755710 d4a4b000    0     1   267 0000000 [SLPQ select 
0xc0747b24][SLP] syslogd
   247 c15b6e20 cc732000    0     1   247 0000000 [SLPQ select 
0xc0747b24][SLP] devd
   191 c17551c4 d4a0c000    0     1   191 0000000 [SLPQ pause 
0xc17551fc][SLP] adjkerntz
    66 c1755a98 d4a4d000    0     0     0 0000204 [SLPQ - 0xd4a22d18][SLP] 
schedcpu
    65 c1755c5c d4a4e000    0     0     0 0000204 [SLPQ - 0xc074ddac][SLP] 
nfsiod 3
    64 c1755e20 d4a4f000    0     0     0 0000204 [SLPQ - 0xc074dda8][SLP] 
nfsiod 2
    63 c1758000 d4a50000    0     0     0 0000204 [SLPQ - 0xc074dda4][SLP] 
nfsiod 1
    62 c17581c4 d4a51000    0     0     0 0000204 [SLPQ - 0xc074dda0][SLP] 
nfsiod 0
    61 c1758388 d4a52000    0     0     0 0000204 [SLPQ syncer 
0xc07442cc][SLP] syncer
    60 c15351c4 cc6e6000    0     0     0 0000204 [SLPQ vlruwt 
0xc15351c4][SLP] vnlru
    59 c1535388 cc6e7000    0     0     0 0000204 [SLPQ psleep 
0xc07480ec][SLP] bufdaemon
    58 c153554c cc6e8000    0     0     0 000020c [SLPQ pgzero 
0xc07547d0][SLP] pagezero
    57 c1535710 cc6e9000    0     0     0 0000204 [SLPQ psleep 
0xc0754824][SLP] vmdaemon
    56 c15358d4 cc6ea000    0     0     0 0000204 [SLPQ psleep 
0xc07547e0][SLP] pagedaemon
    55 c1535a98 cc727000    0     0     0 0000204 [SLPQ - 0xc166793c][SLP] fdc0
    54 c1535c5c cc728000    0     0     0 0000204 [IWAIT] swi0: sio
    53 c1535e20 cc729000    0     0     0 0000204 [SLPQ usbevt 
0xc1592a10][SLP] usb4
    52 c15b6000 cc72a000    0     0     0 0000204 [SLPQ usbevt 
0xc15d1210][SLP] usb3
    51 c15b61c4 cc72b000    0     0     0 0000204 [SLPQ usbevt 
0xc15ce210][SLP] usb2
    50 c15b6388 cc72c000    0     0     0 0000204 [SLPQ usbevt 
0xc15bc210][SLP] usb1
    49 c15b654c cc72d000    0     0     0 0000204 [SLPQ usbtsk 
0xc073c4b0][SLP] usbtask
    48 c15b6710 cc72e000    0     0     0 0000204 [SLPQ usbevt 
0xc1599210][SLP] usb0
    47 c15b68d4 cc72f000    0     0     0 0000204 [SLPQ tzpoll 
0xc0845694][SLP] acpi_thermal
    46 c1522a98 cc6bb000    0     0     0 0000204 [SLPQ actask 
0xc0845a2c][SLP] acpi_task2
    45 c1522c5c cc6bc000    0     0     0 0000204 [SLPQ actask 
0xc0845a2c][SLP] acpi_task1
     9 c1522e20 cc6bd000    0     0     0 0000204 [SLPQ actask 
0xc0845a2c][SLP] acpi_task0
    44 c152f000 cc6be000    0     0     0 0000204 [IWAIT] swi6:+
    43 c152f1c4 cc6dd000    0     0     0 0000204 [IWAIT] swi6: task queue
    42 c152f388 cc6de000    0     0     0 0000204 [IWAIT] swi6: acpitaskq
     8 c152f54c cc6df000    0     0     0 0000204 [SLPQ - 0xc158e240][SLP] 
kqueue taskq
    41 c152f710 cc6e0000    0     0     0 0000204 [IWAIT] swi3: cambio
    40 c152f8d4 cc6e1000    0     0     0 0000204 [IWAIT] swi2: camnet
    39 c152fa98 cc6e2000    0     0     0 0000204 [IWAIT] swi6:+
     7 c152fc5c cc6e3000    0     0     0 0000204 [SLPQ - 0xc158e480][SLP] 
thread taskq
    38 c152fe20 cc6e4000    0     0     0 0000204 [SLPQ - 0xc073a380][SLP] 
yarrow
     6 c1535000 cc6e5000    0     0     0 0000204 [SLPQ - 0xc073eb08][SLP] 
g_down
     5 c151254c cc691000    0     0     0 0000204 [SLPQ - 0xc073eb04][SLP] g_up
     4 c1512710 cc692000    0     0     0 0000204 [SLPQ - 0xc073eafc][SLP] 
g_event
     3 c15128d4 cc693000    0     0     0 0000204 [SLPQ crypto_ret_wait 
0xc0753804][SLP] crypto returns
     2 c1512a98 cc6b2000    0     0     0 0000204 [SLPQ crypto_wait 
0xc07537c4][SLP] crypto
    37 c1512c5c cc6b3000    0     0     0 0000204 [IWAIT] swi1: net
    36 c1512e20 cc6b4000    0     0     0 0000204 [IWAIT] swi4: vm
    35 c1522000 cc6b5000    0     0     0 000020c [IWAIT] swi5: clock sio
    34 c15221c4 cc6b6000    0     0     0 0000204 [IWAIT] irq0: clk
    33 c1522388 cc6b7000    0     0     0 0000204 [IWAIT] irq23: ehci0
    32 c152254c cc6b8000    0     0     0 0000204 [IWAIT] irq22:
    31 c1522710 cc6b9000    0     0     0 0000204 [IWAIT] irq21:
    30 c15228d4 cc6ba000    0     0     0 0000204 [IWAIT] irq20: fxp0
    29 c14e21c4 cbc98000    0     0     0 0000204 [IWAIT] irq19: uhci1
    28 c14e2388 cbc99000    0     0     0 0000204 [IWAIT] irq18: uhci2 puc0+
    27 c14e254c cbcb8000    0     0     0 0000204 [IWAIT] irq17:
    26 c14e2710 cbcb9000    0     0     0 0000204 [IWAIT] irq16: hifn0 uhci0+
    25 c14e28d4 cbcba000    0     0     0 0000204 [IWAIT] irq15: ata1
    24 c14e2a98 cbcbb000    0     0     0 0000204 [IWAIT] irq14: ata0
    23 c14e2c5c cbcbc000    0     0     0 0000204 [IWAIT] irq13:
    22 c14e2e20 cbcbd000    0     0     0 0000204 [IWAIT] irq12:
    21 c1512000 cc68e000    0     0     0 0000204 [IWAIT] irq11:
    20 c15121c4 cc68f000    0     0     0 0000204 [IWAIT] irq10:
    19 c1512388 cc690000    0     0     0 0000204 [IWAIT] irq9: acpi0
    18 c14db000 cbc52000    0     0     0 0000204 [IWAIT] irq8: rtc
    17 c14db1c4 cbc8f000    0     0     0 0000204 [IWAIT] irq7:
    16 c14db388 cbc90000    0     0     0 0000204 [IWAIT] irq6: fdc0
    15 c14db54c cbc91000    0     0     0 0000204 [IWAIT] irq5:
    14 c14db710 cbc92000    0     0     0 0000204 [IWAIT] irq4: sio0
    13 c14db8d4 cbc93000    0     0     0 0000204 [IWAIT] irq3: sio1
    12 c14dba98 cbc94000    0     0     0 0000204 [IWAIT] irq1: atkbd0
    11 c14dbc5c cbc95000    0     0     0 000020c [CPU 0] idle
     1 c14dbe20 cbc96000    0     0     1 0004200 [SLPQ wait 
0xc14dbe20][SLP] init
    10 c14e2000 cbc97000    0     0     0 0000204 [SLPQ ktrace 
0xc07424f8][SLP] ktrace
     0 c073ec00 c0c1f000    0     0     0 0000200 [SLPQ sched 
0xc073ec00][SLP] swapper
db>



--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike_at_sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike
Received on Wed Oct 27 2004 - 16:00:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC