From mboxrd@z Thu Jan 1 00:00:00 1970 From: oliver.heid at siemens.com (Heid, Oliver) Date: Fri, 1 Dec 2006 12:23:41 +0100 Subject: weird printk timestamps In-Reply-To: <45700BF3.5030607@solvo.ru> Message-ID: <1AB3B76EE8C0614FADF6C41157ABFB5405EC03B4@ERLM863A.ww001.siemens.net> Hello Sergey, thanks a lot - that was quick! Just switch on the printk timestamp in kernel config, and take a look at dmesg. The time is (obviously) monotonous, but all times are larger than >4.000.000s. Its probably only a cosmetic thing. I'll prepare a sample dmesg output.. Oliver -----Original Message----- From: axp-list-bounces at redhat.com [mailto:axp-list-bounces at redhat.com] On Behalf Of Sergey Tikhonov Sent: Friday, December 01, 2006 12:03 To: Linux on Alpha processors Subject: Re: weird printk timestamps Hi, Heid, Oliver wrote: >Dear all, >I've noticed that printk has weird timestamps in 2.6.1[78] kernels on >all my UP2000+, PC164 and XP1000 boxes. It seems that some recent CPU >jiffies changes have not been ported to the alpha tree. My quick fix >(???) for the (otherwise nicely working - a big thanks!!) 2.6.17.1[13] >kernels was > >************ >--- include/linux/jiffies.h~ 2006-06-18 03:49:35.000000000 +0200 >+++ include/linux/jiffies.h 2006-12-01 11:30:32.000000000 +0100 >@@ -119,7 +119,7 @@ > * Have the 32 bit jiffies value wrap 5 minutes after boot > * so jiffies wrap bugs show up earlier. > */ >-#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ)) >+#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (0*HZ)) > > /* > * Change timeval to jiffies, trying to avoid the >************ > >Any comments?! > Oliver > >_______________________________________________ >axp-list mailing list >axp-list at redhat.com >https://www.redhat.com/mailman/listinfo/axp-list > > > Could you post the sample program that shows the problem? I will check it on my (AC3pre) kernel. Regards, -- Sergey Tikhonov Solvo Ltd. Saint-Petersburg, Russia tsv at solvo.ru _______________________________________________ axp-list mailing list axp-list at redhat.com https://www.redhat.com/mailman/listinfo/axp-list