From: Andrew Morton <andrewm@uow.edu.au>
To: "Manfred H. Winter" <mahowi@gmx.net>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: PROBLEM: [2.4.6] kernel BUG at softirq.c:206!
Date: Fri, 06 Jul 2001 01:23:48 +1000 [thread overview]
Message-ID: <3B448684.8355DB69@uow.edu.au> (raw)
In-Reply-To: <3B4450DF.82EEC851@uow.edu.au> <20010705162812.A602@marvin.mahowi.de>
"Manfred H. Winter" wrote:
>
> ...
> > --- linux-2.4.6/kernel/softirq.c Wed Jul 4 18:21:32 2001
> > +++ lk-ext3/kernel/softirq.c Thu Jul 5 21:32:08 2001
> > @@ -202,8 +202,10 @@ static void tasklet_hi_action(struct sof
> > if (!tasklet_trylock(t))
> > BUG();
> > repeat:
> > - if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state))
> > + if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) {
> > + printk("func: %p\n", t->func);
> > BUG();
> > + }
> > if (!atomic_read(&t->count)) {
> > local_irq_enable();
> > t->func(t->data);
> >
>
> Okay, here's the output of gdb:
>
> (gdb) x/10i 0xc0118028
> 0xc0118028 <bh_action>: mov 0x4(%esp,1),%eax
> 0xc011802c <bh_action+4>: cmpl $0x0,0xc025c2e4
> 0xc0118033 <bh_action+11>: jne 0xc0118043 <bh_action+27>
> 0xc0118035 <bh_action+13>: mov 0xc024af20(,%eax,4),%eax
> 0xc011803c <bh_action+20>: test %eax,%eax
> 0xc011803e <bh_action+22>: je 0xc0118042 <bh_action+26>
> 0xc0118040 <bh_action+24>: call *%eax
> 0xc0118042 <bh_action+26>: ret
> 0xc0118043 <bh_action+27>: lea (%eax,%eax,4),%eax
> 0xc0118046 <bh_action+30>: lea 0xc025bf80(,%eax,4),%eax
>
Well I guess it tells us it's not random uninitialised
crud.
Just for interest: what happens if you swap around the lines
time_init();
softirq_init();
in init/main.c?
-
next prev parent reply other threads:[~2001-07-05 15:22 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3B4450DF.82EEC851@uow.edu.au>
2001-07-05 14:28 ` PROBLEM: [2.4.6] kernel BUG at softirq.c:206! Manfred H. Winter
2001-07-05 15:23 ` Andrew Morton [this message]
2001-07-05 17:31 ` Manfred H. Winter
[not found] <E15I8gj-0002W7-00@the-village.bc.nu>
2001-07-05 13:59 ` Bob_Tracy
2001-07-05 12:14 Bob_Tracy
2001-07-05 13:42 ` Alan Cox
2001-07-05 14:02 ` Bob_Tracy
-- strict thread matches above, loose matches on Subject: below --
2001-07-04 21:28 Manfred H. Winter
2001-07-05 7:46 ` Mircea Damian
2001-07-05 10:52 ` Thibaut Laurent
2001-07-05 13:00 ` Mircea Damian
2001-07-05 11:18 ` Alan Cox
2001-07-05 12:10 ` Bob_Tracy
2001-07-05 13:04 ` Mircea Damian
2001-07-05 14:15 ` Manfred H. Winter
2001-07-05 11:04 ` Manfred H. Winter
2001-07-05 14:20 ` Andrea Arcangeli
2001-07-05 14:30 ` Alan Cox
2001-07-05 14:36 ` Arjan van de Ven
2001-07-05 14:40 ` Andrea Arcangeli
2001-07-05 15:32 ` Thibaut Laurent
2001-07-05 15:46 ` Arjan van de Ven
2001-07-05 15:56 ` Andrew Morton
2001-07-05 16:04 ` Alan Cox
2001-07-05 16:11 ` Andrew Morton
2001-07-05 16:15 ` Andrea Arcangeli
2001-07-05 22:40 ` Bob_Tracy
2001-07-06 3:42 ` Andrew Morton
2001-07-06 10:58 ` Manfred H. Winter
2001-07-06 12:43 ` Andrea Arcangeli
2001-07-06 14:18 ` Thibaut Laurent
2001-07-06 15:02 ` Andrea Arcangeli
2001-07-05 15:19 ` Manfred H. Winter
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=3B448684.8355DB69@uow.edu.au \
--to=andrewm@uow.edu.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mahowi@gmx.net \
/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.