Re: [BUG,2.6.28,s390] Fails to boot in Hercules S/390 emulator

John Stultz
2009-03-10T03:42:33Z

On Tue, 2009-03-10 at 04:37 +0100, Frans Pop wrote:
> On Tuesday 10 March 2009, John Stultz wrote:
> > > After reverting 5cd1c9c5cf30 and the somewhat related 6c9bacb41c10 on
> > > top of 2.6.28.7, the system boots OK again [1].
> >
> > Huh. No clue right off. What clocksource is in use on this system?
>
> $ cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> tod
> (That's from 2.6.26.)
>
> > Also can you provide the output with the following patch?
>
> I already did something similar. Did you see my follow-up mail?

No, sorry, I must have missed it.

> I added:
> + if (unlikely(clock->xtime_nsec < ((s64)xtime.tv_nsec << clock->shift)))
> + printk("Negative result: %llu - %lld\n",
> + (unsigned long long)clock->xtime_nsec,
> + (long long)((s64)xtime.tv_nsec << clock->shift));
>
> Which resulted in:
> Negative result: 166039808000 - 166039808256
>
> Would you still like me to try your patch?

No no, I'll try to look again at your data in the morning.

thanks
-john