Re: USB no proper work

From: Alexander <vsityz_at_gmail.com>
Date: Wed, 28 Aug 2013 20:28:15 +0300
19.08.2013 22:57, Hans Petter Selasky пишет:
> On 08/19/13 21:54, Alexander Panyushkin wrote:
>> 18.08.2013 01:04, Hans Petter Selasky пишет:
>>> On 08/17/13 23:55, Alexander Panyushkin wrote:
>>>> 17.08.2013 19:41, Alexander Motin пишет:
>>>>> On 17.08.2013 09:22, Hans Petter Selasky wrote:
>>>
>>>>
>>>> On USB device  FAT-32 file system.  When I removed flash drive, the
>>>> file
>>>> system has been unmounted.
>>>
>>> Hi,
>>>
>>> The problem might be in the GELI module then. Did you test that
>>> Alexander ?
>>>
>>> Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Device gpt/swap0.eli
>>> created.
>>> Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Encryption: AES-XTS 128
>>> Aug 16 23:23:43 scorpion kernel: GEOM_ELI:     Crypto: software
>>>
>>> Hint: You can set the following knob to disable the USB waiting at
>>> reboot.
>>>
>>> hw.usb.no_shutdown_wait=1
>>>
>> If set hw.usb.no_shutdown_wait = 1
>> Reboot  successful,  but if detach and attach again, USB device not
>> detecting.
>
> This test is an indication that the USB stack is waiting for the CAM
> layer to finish detaching its clients. Maybe you can turn on cam
> debugging to figure out who is leaking a ref. Alexander Motin knows how.
>
> --HPS
>
Hi
This is debug information

ugen3.4: <Generic> at usbus3
umass0: <Generic USB2.0-CRW, class 0/0, rev 2.00/19.81, addr 4> on usbus3
da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
da0: <Generic- SD/MMC 1.00> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 7580MB (15523840 512 byte sectors: 255H 63S/T 966C)
da0: quirks=0x2<NO_6_BYTE>
(noperiph:umass-sim0:0:0:0): debugging flags now 1
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
ugen3.4: <Generic> at usbus3 (disconnected)
umass0: at uhub5, port 5, addr 4 (disconnected)
(pass3:umass-sim0:0:0:0): Periph invalidated
(sg0:umass-sim0:0:0:0): Periph invalidated
(da0:umass-sim0:0:0:0): Periph invalidated
(da0:umass-sim0:0:0:0): lost device - 0 outstanding, 2 refs
(pass3:umass-sim0:0:0:0): Periph destroyed
Received on Wed Aug 28 2013 - 15:28:22 UTC

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