Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 21:57:48 +0200
From:      Hans Petter Selasky <hps@bitfrost.no>
To:        Alexander Panyushkin <vsityz@gmail.com>
Cc:        Alexander Motin <mav@FreeBSD.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: USB no proper work
Message-ID:  <521278BC.5010009@bitfrost.no>
In-Reply-To: <521277DB.4010200@gmail.com>
References:  <520E8602.5050408@gmail.com> <520E8842.4020609@bitfrost.no> <520E8DE1.1090609@gmail.com> <520F16B6.1070106@bitfrost.no> <520FA7C3.2060708@FreeBSD.org> <520FF137.1020709@gmail.com> <520FF37D.6050002@bitfrost.no> <521277DB.4010200@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521278BC.5010009>