* real time interrupts
@ 2010-10-13 8:10 ratheesh k
2010-10-13 8:37 ` John Kacur
0 siblings, 1 reply; 6+ messages in thread
From: ratheesh k @ 2010-10-13 8:10 UTC (permalink / raw)
To: linux-rt-users
I am using 2.6.18 kernel with rt-linux patch. In my userspace program
, I registered for signals 65,64,63,62 ( timer ) . In my signal
handler , i have a call to localtime(). local_time() seems to be
invoking an io call.
program seems to be frozen , when all interrupts comes together. i
could see from the core ( grenerated forcifully using ABRT signal )
that all signal handler acquire some lock and suddently some other
inteerupt comes....this leads to deadlock
#15 <signal handler called>
#16 0x0070a886 in _IO_vfscanf_internal () from /lib/libc.so.6
#17 0x007170c1 in vsscanf () from /lib/libc.so.6
#18 0x00711dae in sscanf () from /lib/libc.so.6
#19 0x0073ff9f in __tzset_parse_tz () from /lib/libc.so.6
#20 0x00740f8f in __tzfile_compute () from /lib/libc.so.6
#21 0x00740845 in __tz_convert () from /lib/libc.so.6
#22 0x0073ecff in localtime () from /lib/libc.so.6
How to get away from this ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: real time interrupts
2010-10-13 8:10 real time interrupts ratheesh k
@ 2010-10-13 8:37 ` John Kacur
2010-10-13 8:50 ` Michael Mueller
0 siblings, 1 reply; 6+ messages in thread
From: John Kacur @ 2010-10-13 8:37 UTC (permalink / raw)
To: ratheesh k; +Cc: linux-rt-users
On Wed, Oct 13, 2010 at 10:10 AM, ratheesh k <ratheesh.ksz@gmail.com> wrote:
> I am using 2.6.18 kernel with rt-linux patch. In my userspace program
> , I registered for signals 65,64,63,62 ( timer ) . In my signal
> handler , i have a call to localtime(). local_time() seems to be
> invoking an io call.
>
> program seems to be frozen , when all interrupts comes together. i
> could see from the core ( grenerated forcifully using ABRT signal )
> that all signal handler acquire some lock and suddently some other
> inteerupt comes....this leads to deadlock
>
>
> #15 <signal handler called>
> #16 0x0070a886 in _IO_vfscanf_internal () from /lib/libc.so.6
> #17 0x007170c1 in vsscanf () from /lib/libc.so.6
> #18 0x00711dae in sscanf () from /lib/libc.so.6
> #19 0x0073ff9f in __tzset_parse_tz () from /lib/libc.so.6
> #20 0x00740f8f in __tzfile_compute () from /lib/libc.so.6
> #21 0x00740845 in __tz_convert () from /lib/libc.so.6
> #22 0x0073ecff in localtime () from /lib/libc.so.6
>
> How to get away from this ?
> --
I'm afraid that with such an old kernel, you are unlikely to find any
support here. If it is at all possible for you, please update to
something newer.
Thanks.
John Kacur
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: real time interrupts
2010-10-13 8:37 ` John Kacur
@ 2010-10-13 8:50 ` Michael Mueller
2010-10-13 12:07 ` Sven-Thorsten Dietrich
0 siblings, 1 reply; 6+ messages in thread
From: Michael Mueller @ 2010-10-13 8:50 UTC (permalink / raw)
To: linux-rt-users
On Wed, Oct 13, 2010 at 4:37 AM, John Kacur <jkacur@redhat.com> wrote:
> On Wed, Oct 13, 2010 at 10:10 AM, ratheesh k <ratheesh.ksz@gmail.com> wrote:
>> I am using 2.6.18 kernel with rt-linux patch.
>
> I'm afraid that with such an old kernel, you are unlikely to find any
> support here. If it is at all possible for you, please update to
> something newer.
i tried dropping a new kernel into a distro using 2.6.18 (centos) and
did not succeed; success came after moving to distro with a recent
kernel and toolchain (fedora)
mike
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: real time interrupts
2010-10-13 8:50 ` Michael Mueller
@ 2010-10-13 12:07 ` Sven-Thorsten Dietrich
2010-10-13 15:58 ` Reagan Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Sven-Thorsten Dietrich @ 2010-10-13 12:07 UTC (permalink / raw)
To: Michael Mueller; +Cc: linux-rt-users
On 10/13/2010 04:50 AM, Michael Mueller wrote:
> On Wed, Oct 13, 2010 at 4:37 AM, John Kacur<jkacur@redhat.com> wrote:
>> On Wed, Oct 13, 2010 at 10:10 AM, ratheesh k<ratheesh.ksz@gmail.com> wrote:
>>> I am using 2.6.18 kernel with rt-linux patch.
>> I'm afraid that with such an old kernel, you are unlikely to find any
>> support here. If it is at all possible for you, please update to
>> something newer.
>
> i tried dropping a new kernel into a distro using 2.6.18 (centos) and
> did not succeed; success came after moving to distro with a recent
> kernel and toolchain (fedora)
>
> mike
Can you be more specific about the failure you encountered?
And the version of the 'new' Kernel.
(Oracle didn't seem to have any trouble updating RHEL 5 from 2.6.18 to
2.6.32 -- maybe use their .config)
Sven
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: real time interrupts
2010-10-13 12:07 ` Sven-Thorsten Dietrich
@ 2010-10-13 15:58 ` Reagan Thomas
2010-10-13 17:32 ` Sven-Thorsten Dietrich
0 siblings, 1 reply; 6+ messages in thread
From: Reagan Thomas @ 2010-10-13 15:58 UTC (permalink / raw)
To: Sven-Thorsten Dietrich; +Cc: Michael Mueller, linux-rt-users
On 10/13/2010 7:07 AM, Sven-Thorsten Dietrich wrote:
> On 10/13/2010 04:50 AM, Michael Mueller wrote:
>> On Wed, Oct 13, 2010 at 4:37 AM, John Kacur<jkacur@redhat.com> wrote:
>>> On Wed, Oct 13, 2010 at 10:10 AM, ratheesh
>>> k<ratheesh.ksz@gmail.com> wrote:
>>>> I am using 2.6.18 kernel with rt-linux patch.
>>> I'm afraid that with such an old kernel, you are unlikely to find any
>>> support here. If it is at all possible for you, please update to
>>> something newer.
>>
>> i tried dropping a new kernel into a distro using 2.6.18 (centos) and
>> did not succeed; success came after moving to distro with a recent
>> kernel and toolchain (fedora)
>>
>> mike
>
> Can you be more specific about the failure you encountered?
>
> And the version of the 'new' Kernel.
>
> (Oracle didn't seem to have any trouble updating RHEL 5 from 2.6.18 to
> 2.6.32 -- maybe use their .config)
>
> Sven
> --
At a minimum, he should add:
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
I'm pretty sure that's all I had to add to get 2.6.33.7-rt29 to work
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: real time interrupts
2010-10-13 15:58 ` Reagan Thomas
@ 2010-10-13 17:32 ` Sven-Thorsten Dietrich
0 siblings, 0 replies; 6+ messages in thread
From: Sven-Thorsten Dietrich @ 2010-10-13 17:32 UTC (permalink / raw)
To: Reagan Thomas; +Cc: Michael Mueller, linux-rt-users
On Wed, 2010-10-13 at 10:58 -0500, Reagan Thomas wrote:
> On 10/13/2010 7:07 AM, Sven-Thorsten Dietrich wrote:
> > On 10/13/2010 04:50 AM, Michael Mueller wrote:
> >> On Wed, Oct 13, 2010 at 4:37 AM, John Kacur<jkacur@redhat.com> wrote:
> >>> On Wed, Oct 13, 2010 at 10:10 AM, ratheesh
> >>> k<ratheesh.ksz@gmail.com> wrote:
> >>>> I am using 2.6.18 kernel with rt-linux patch.
> >>> I'm afraid that with such an old kernel, you are unlikely to find any
> >>> support here. If it is at all possible for you, please update to
> >>> something newer.
> >>
> >> i tried dropping a new kernel into a distro using 2.6.18 (centos) and
> >> did not succeed; success came after moving to distro with a recent
> >> kernel and toolchain (fedora)
> >>
> >> mike
> >
> > Can you be more specific about the failure you encountered?
> >
> > And the version of the 'new' Kernel.
> >
> > (Oracle didn't seem to have any trouble updating RHEL 5 from 2.6.18 to
> > 2.6.32 -- maybe use their .config)
> >
> > Sven
> > --
>
>
> At a minimum, he should add:
>
> CONFIG_SYSFS_DEPRECATED=y
> CONFIG_SYSFS_DEPRECATED_V2=y
>
> I'm pretty sure that's all I had to add to get 2.6.33.7-rt29 to work
Nod.
That's what I was fishing for.
The same also applies when trying to get Suse / SLES 10 era systems to
work with RT Kernels later than 2.6.20 or so.
Regards,
Sven
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-10-13 17:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 8:10 real time interrupts ratheesh k
2010-10-13 8:37 ` John Kacur
2010-10-13 8:50 ` Michael Mueller
2010-10-13 12:07 ` Sven-Thorsten Dietrich
2010-10-13 15:58 ` Reagan Thomas
2010-10-13 17:32 ` Sven-Thorsten Dietrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).