From: Bob Breuer <breuerr@mc.net>
To: sparclinux@vger.kernel.org
Subject: Re: sunbmac panic when no card present
Date: Thu, 24 Mar 2005 03:22:36 +0000 [thread overview]
Message-ID: <4242327C.6060901@mc.net> (raw)
In-Reply-To: <Pine.SOC.4.61.0503221030220.29185@math.ut.ee>
Meelis Roos wrote:
>> Looking into it a little more now, uart_tasklet_action() in
>> drivers/serial/serial_core.c looks suspicious. Meelis, can you add a
>> BUG_ON(state->info->tty=NULL) in the middle of uart_tasklet_action()
>> and see if it dies on that instead?
>
> Yes, this BUG triggers
At least I'm looking in the right place, even if I don't know what I'm
looking for.
Ok, one more thing to try. Still in serial_core.c, let's also add a
BUG_ON(info->tty=NULL) in the middle of uart_write_wakeup(). I don't
expect this bug to trigger. My current guess is that the tty is closed
between scheduling and running the tasklet. How about adding a printk
after each time where info->tty is set: near line 1224 in uart_close(),
line 1320 in uart_hangup(), and line 1538 in uart_open(). If my guess
is right, we will see a uart_close just before the BUG from the tasklet.
Bob
next prev parent reply other threads:[~2005-03-24 3:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-22 8:32 sunbmac panic when no card present Meelis Roos
2005-03-23 2:42 ` Eric Brower
2005-03-23 2:55 ` Eric Brower
2005-03-23 3:02 ` David S. Miller
2005-03-23 5:58 ` Meelis Roos
2005-03-23 12:58 ` Meelis Roos
2005-03-23 14:55 ` Meelis Roos
2005-03-23 16:21 ` Bob Breuer
2005-03-23 21:17 ` Meelis Roos
2005-03-24 3:22 ` Bob Breuer [this message]
2005-03-24 6:37 ` Meelis Roos
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=4242327C.6060901@mc.net \
--to=breuerr@mc.net \
--cc=sparclinux@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.