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

Frans Pop
2009-03-10T03:40:11Z

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?

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?

Cheers,
FJP