All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] but still panic: [WAS: 2.6.10-rc1-pa15 boot fine on n4k but still annoying bactrace]
       [not found] <418A80E800005C38@mail-6-bnl.tiscali.it>
@ 2004-11-25 20:39 ` James Bottomley
  2004-11-26  7:22   ` Joel Soete
  2004-12-16 14:19   ` Joel Soete
  0 siblings, 2 replies; 3+ messages in thread
From: James Bottomley @ 2004-11-25 20:39 UTC (permalink / raw)
  To: Joel Soete; +Cc: PARISC list

On Mon, 2004-11-22 at 08:10, Joel Soete wrote:
> IASQ: 0000000000000000 0000000000000000 IAOQ: 000000001016a7cc 000000001016a7d0
>  IIR: 527401a0    ISR: 0000000000000000  IOR: 00000000000000d0
>  CPU:        0   CR30: 000000004d5a0000 CR31: 00000000105f0000
>  ORIG_R28: 000000001010d18c
>  IAOQ[0]: update_one_process+0x74/0x168
>  IAOQ[1]: update_one_process+0x78/0x168
>  RP(r2): update_one_process+0x6c/0x168

As best I can tell, this is in kernel/timer.c here:

        if (p->signal && !unlikely(p->state & (EXIT_DEAD|EXIT_ZOMBIE))
&&
            psecs / HZ >= p->signal->rlim[RLIMIT_CPU].rlim_cur) {

The problem seems to be that p->signal is null, but it wasn't null when
the processor began the evaluation of the condition.  0xd0 is the 64 bit
offset of rlim[RLIMIT_CPU].rlim_cur.

If you look at the code, p->signal should be in r19 which is zero.

I have no explanation for this (other than some weird race in the signal
handling code somewhere).

James


_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] but still panic: [WAS: 2.6.10-rc1-pa15 boot fine on n4k but still annoying bactrace]
  2004-11-25 20:39 ` [parisc-linux] but still panic: [WAS: 2.6.10-rc1-pa15 boot fine on n4k but still annoying bactrace] James Bottomley
@ 2004-11-26  7:22   ` Joel Soete
  2004-12-16 14:19   ` Joel Soete
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Soete @ 2004-11-26  7:22 UTC (permalink / raw)
  To: James Bottomley; +Cc: PARISC list


> -- Original Message --
> From: James Bottomley <James.Bottomley@SteelEye.com>
> To: Joel Soete <soete.joel@tiscali.be>
> Cc: Grant Grundler <grundler@parisc-linux.org>,
>    PARISC list
> 	 <parisc-linux@lists.parisc-linux.org>
> Date: 25 Nov 2004 14:39:05 -0600
> Subject: Re: [parisc-linux] but still panic: [WAS: 2.6.10-rc1-pa15 boot=

fine
> 	on n4k but still	annoying bactrace]
> 
> 
> On Mon, 2004-11-22 at 08:10, Joel Soete wrote:
> > IASQ: 0000000000000000 0000000000000000 IAOQ: 000000001016a7cc 000000=
001016a7d0
> >  IIR: 527401a0    ISR: 0000000000000000  IOR: 00000000000000d0
> >  CPU:        0   CR30: 000000004d5a0000 CR31: 00000000105f0000
> >  ORIG_R28: 000000001010d18c
> >  IAOQ[0]: update_one_process+0x74/0x168
> >  IAOQ[1]: update_one_process+0x78/0x168
> >  RP(r2): update_one_process+0x6c/0x168
> 
> As best I can tell, this is in kernel/timer.c here:
> 
>         if (p->signal && !unlikely(p->state & (EXIT_DEAD|EXIT_ZOMBIE))
> &&
>             psecs / HZ >=3D p->signal->rlim[RLIMIT_CPU].rlim_cur) {
> 
NIce to point it me out :)

> The problem seems to be that p->signal is null, but it wasn't null when=

> the processor began the evaluation of the condition.  0xd0 is the 64 bi=
t
> offset of rlim[RLIMIT_CPU].rlim_cur.
> 
Cool ;-)

> If you look at the code, p->signal should be in r19 which is zero.
>
I will try to figure thid out.
 
> I have no explanation for this (other than some weird race in the signa=
l
> handling code somewhere).
> 
Yes the hazardous aspect of the pb seems to confirm this hypothesis.
The pb is to find where this race condition occurs; I continue investigat=
ion.

Thanks for help,
    Joel

-------------------------------------------------------------------------=
--
Tiscali vous offre 3 mois d'ADSL et 3 mois de DVD gratuits...profitez-en.=
..
http://reg.tiscali.be/adsl/default.asp?lg=3DFR




_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] but still panic: [WAS: 2.6.10-rc1-pa15 boot fine on n4k but still annoying bactrace]
  2004-11-25 20:39 ` [parisc-linux] but still panic: [WAS: 2.6.10-rc1-pa15 boot fine on n4k but still annoying bactrace] James Bottomley
  2004-11-26  7:22   ` Joel Soete
@ 2004-12-16 14:19   ` Joel Soete
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Soete @ 2004-12-16 14:19 UTC (permalink / raw)
  To: James Bottomley; +Cc: PARISC list

Hello all,

> 
> On Mon, 2004-11-22 at 08:10, Joel Soete wrote:
> > IASQ: 0000000000000000 0000000000000000 IAOQ: 000000001016a7cc 000000=
001016a7d0
> >  IIR: 527401a0    ISR: 0000000000000000  IOR: 00000000000000d0
> >  CPU:        0   CR30: 000000004d5a0000 CR31: 00000000105f0000
> >  ORIG_R28: 000000001010d18c
> >  IAOQ[0]: update_one_process+0x74/0x168
> >  IAOQ[1]: update_one_process+0x78/0x168
> >  RP(r2): update_one_process+0x6c/0x168
> 
> As best I can tell, this is in kernel/timer.c here:
> 
>         if (p->signal && !unlikely(p->state & (EXIT_DEAD|EXIT_ZOMBIE))
> &&
>             psecs / HZ >=3D p->signal->rlim[RLIMIT_CPU].rlim_cur) {
> 
> The problem seems to be that p->signal is null, but it wasn't null when=

> the processor began the evaluation of the condition.  0xd0 is the 64 bi=
t
> offset of rlim[RLIMIT_CPU].rlim_cur.
> 
> If you look at the code, p->signal should be in r19 which is zero.
> 
> I have no explanation for this (other than some weird race in the signa=
l
> handling code somewhere).
> 
> James
> 
Could it be simply because in do_irq() we need to embrace action->handler=
()
with (may be more complex, if i read do_IRQ of ia64) spin_lock/unlock()?

Cheers,
    Joel

-------------------------------------------------------------------------=
--
Tiscali vous offre 3 mois d'ADSL et 3 mois de DVD gratuits...profitez-en.=
..
http://reg.tiscali.be/adsl/default.asp?lg=3DFR




_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-16 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <418A80E800005C38@mail-6-bnl.tiscali.it>
2004-11-25 20:39 ` [parisc-linux] but still panic: [WAS: 2.6.10-rc1-pa15 boot fine on n4k but still annoying bactrace] James Bottomley
2004-11-26  7:22   ` Joel Soete
2004-12-16 14:19   ` Joel Soete

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.