From: Marcel Holtmann <marcel@holtmann.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: bluez-devel@lists.sourceforge.net,
kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Problems with CF bluetooth (fwd) (fwd)
Date: Fri, 30 Sep 2005 10:08:22 +0200 [thread overview]
Message-ID: <1128067703.4955.12.camel@localhost.localdomain> (raw)
In-Reply-To: <20050930080034.GB5598@elf.ucw.cz>
Hi Pavel,
> > > Thanks, Russell. Marcel, this is probably solution to that oops.
> >
> > cool that you worked something out. Do you have a patch for me?
>
> Well, I have that ugly workaround that helps me, but is wrong (as rmk
> confirmed). His comment was:
>
> |> Sep 29 15:42:34 amd kernel: Call Trace:
> |> Sep 29 15:42:34 amd kernel: [<c03f9df6>] hci_uart_flush+0x66/0x80
> |> Sep 29 15:42:34 amd kernel: [<c03f9e27>] hci_uart_close+0x17/0x20
> |> Sep 29 15:42:34 amd kernel: [<c03f9f86>]
> |> hci_uart_tty_close+0x26/0x60
> |> Sep 29 15:42:34 amd kernel: [<c02a5ed7>] release_dev+0x587/0x670
> |
> |Looking at release_dev(), it does things in the following order:
> |
> |1. various sanity checks
> |2. close the driver
> |3. more sanity checks and other housekeeping
> |4. close the ldisc
> |5. reset the ldisc for the tty to N_TTY
> |
> |This means that bluetooth is calling into a TTY driver with a tty
> |for which the driver has already shut down. No surprise it oopses.
> |Bluetooth should not call the driver during it's closedown.
> |
> |(There also appears to be an interesting race condition between the
> |driver shutting down and the ldisc write functions getting to know
> |about it... Alan?)
>
> But no, I do not have patch for that.
I won't have time to look at it for the next two weeks. So if someone
comes up with a patch I am happy to create another -mh patch to make it
available for testing.
Regards
Marcel
prev parent reply other threads:[~2005-09-30 8:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-29 22:37 Pavel Machek
2005-09-30 7:43 ` Marcel Holtmann
2005-09-30 8:00 ` Pavel Machek
2005-09-30 8:08 ` Marcel Holtmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1128067703.4955.12.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®