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

From: Bradley Reed
Date: Sat Dec 31 2005 - 18:24:44 EST


On Sat, 31 Dec 2005 17:46:55 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/