Re: ucom_free Fatal trap on shutdown / module unload

From: Lundberg, Johannes <johannes_at_brilliantservice.co.jp>
Date: Mon, 30 Jun 2014 15:13:20 +0900
Hi Hans

Thanks for the tips.

I tried both adding them in kernel config and the patch (not
simultaneously) but no effect. Still crash on unload/reboot.

--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.


On Mon, Jun 30, 2014 at 1:13 PM, Hans Petter Selasky <hps_at_selasky.org>
wrote:

> On 06/30/14 06:01, Lundberg, Johannes wrote:
>
>> As I mention in earlier mail, it is when I comment out following lines it
>> works
>>
>> # For full debugger support use (turn off in stable branch):
>> options         DDB                     # Support DDB.
>> options         GDB                     # Support remote GDB.
>> options         DEADLKRES               # Enable the deadlock resolver
>> options         INVARIANTS              # Enable calls of extra sanity
>> checking
>> options         INVARIANT_SUPPORT       # Extra sanity checks of internal
>> structures, required by INVARIANTS
>> options         WITNESS                 # Enable checks to detect
>> deadlocks
>> and cycles
>> options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks
>> for speed
>> options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
>>
>>
>> I have tried different levels of debugging and I have narrowed it down to
>> INVARIANTS.
>>
>>
> Hi,
>
> What happens if you put ucom and uhso in the kernel config file, instead
> of loading them as modules.
>
> Please find attached a patch you can try. It ensures that the ucom mtx is
> not destroyed before we are finished using it at shutdown.
>
> --HPS
>
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
Received on Mon Jun 30 2014 - 04:13:44 UTC

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