Re: RTC broken under 2.6.15-rc7-rt1 (was: Re: MPlayer broken under 2.6.15-rc7-rt1?)

Bradley Reed
2005-12-31T23:22:49Z

On Sat, 31 Dec 2005 17:46:55 -0500
Steven Rostedt <rostedt@goodmis.org> wrote:

> On Sat, 2005-12-31 at 21:58 +0100, Jan Engelhardt wrote:
> > >Subject: Re: MPlayer broken under 2.6.15-rc7-rt1?
> >
> > I seriously demand that this be changed into "RTC broekn
> > under..."! :)
>
> Done ;)
>
> [...]
>
> > >
> > >Index: linux-2.6.15-rc7-rt1/drivers/char/rtc.c
> >
> > This patch fixes the rtc BUG for me.
>

And me too. I had inadvertently cut off a bit at the very top of your
patch, when I re-cut and pasted, it applied fine.

Shouldn't patch kernels this close to new years. (Which was an hour and
a half ago here...)

> Yeah, attached is a program that does what mplayer does. I run it
> from the command line like this:
>
> # for i in `seq 10000`; do ./rtc_ioctl ; done
>
> And with the patch it runs perfectly fine. Without it, it segfaults
> several times.

Without it, it segfaults 100% here:

root@galactus:~[1002]# for i in `seq 10`; do ./rtc_ioctl; done
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault

Brad