RELENG_5 panic: mtx_lock() with ACPI

Anish Mistry mistry.7 at osu.edu
Mon Oct 18 12:12:11 PDT 2004


On Thursday 30 September 2004 03:06 pm, Poul-Henning Kamp wrote:
> In message <415C4F5A.2080701 at root.org>, Nate Lawson writes:
> >I assume phk would be handling this since it's in the tty code.  If not,
> >please let us know so one of us can address this before the release.
> >
> >>>>struct tty *
> >>>>ttymalloc(struct tty *tp)
> >>>>{
> >>>>        static int once;
> >>>>
> >>>>        if (!once) {
> >>>>                mtx_init(&tty_list_mutex, "ttylist", NULL, MTX_DEF);
> >>>>                once++;
> >>>>        }
> >>>>
> >>>>This code is not MP safe as multiple processors could attempt to call
> >>>>mtx_init() twice.
>
> We have no calls to ttymalloc() which are not protected by Giant,
> so this theory doesn't explain the problem.
Any progress, I'd hate to have to disable ACPI for the release.  Is there any 
way I could provide more info?
-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041018/3e8115c8/attachment.bin


More information about the freebsd-current mailing list