* Re: time in the future during make for 2.4.0
@ 2001-01-28 19:49 Mikael Pettersson
2001-01-28 19:56 ` phil
0 siblings, 1 reply; 4+ messages in thread
From: Mikael Pettersson @ 2001-01-28 19:49 UTC (permalink / raw)
To: linux-kernel, tmolina; +Cc: sensors
On Sun, 28 Jan 2001 12:27:46 -0600 (CST), Thomas Molina wrote:
>I seem to recall a discussion on faster processors causing timing
>problems during a kernel make, but I'm unable to find it in the kernel
>archives. I've now upgraded to an Athlon 900 MHz processor and an ASUS
>A7V motherboard and have started seeing this. It shows up as the
>following messages during a make bzImage:
>
>make[3]: *** Warning: Clock skew detected. Your build may be
>incomplete.
>make[3]: *** Warning: File
>`/mnt/hd/local/kernel/linux.24.new/include/linux/sched.h' has
>modification time in the future (2001-01-28 17:41:05 > 2001-01-28
>10:07:02)
No, this doesn't look like the "fast CPU" problem you are alluding to
(look for subject MODVERSIONS in the archives). We fixed that one.
Your problem is that your kernel source dir (unpacked tarball?)
contains files with time stamps several hours in the future;
'make' doesn't take kindly to this.
I've seen this happen once: during an upgrade (RH-style, i.e. not
fresh install) from RH6.2 to RH7.0, my /etc/localtime had become
overwritten and my machine in an instant moved from CET to some US
time zone 6 or 8 hrs back. Then when I unpacked my kernel tarball to
build a real kernel, I got exactly the problems you listed above.
Check your clock & time zone settings.
/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: time in the future during make for 2.4.0
2001-01-28 19:49 time in the future during make for 2.4.0 Mikael Pettersson
@ 2001-01-28 19:56 ` phil
2001-01-28 21:00 ` Thomas Molina
0 siblings, 1 reply; 4+ messages in thread
From: phil @ 2001-01-28 19:56 UTC (permalink / raw)
To: Mikael Pettersson; +Cc: linux-kernel, tmolina, sensors
I had this problem when I was upgrading my kernel, and happened to do
it during the daylight savings time roll-back. Confused the heck out
of me for a while. Anyways, you can try 'touching' all your files,
and do a 'make clean' then try again. If it doesn't complain about a
long arg list, you can try 'touch `find . -type f`'.
Phil
On Sun, Jan 28, 2001 at 08:49:38PM +0100, Mikael Pettersson wrote:
> On Sun, 28 Jan 2001 12:27:46 -0600 (CST), Thomas Molina wrote:
>
> >I seem to recall a discussion on faster processors causing timing
> >problems during a kernel make, but I'm unable to find it in the kernel
> >archives. I've now upgraded to an Athlon 900 MHz processor and an ASUS
> >A7V motherboard and have started seeing this. It shows up as the
> >following messages during a make bzImage:
> >
> >make[3]: *** Warning: Clock skew detected. Your build may be
> >incomplete.
> >make[3]: *** Warning: File
> >`/mnt/hd/local/kernel/linux.24.new/include/linux/sched.h' has
> >modification time in the future (2001-01-28 17:41:05 > 2001-01-28
> >10:07:02)
>
> No, this doesn't look like the "fast CPU" problem you are alluding to
> (look for subject MODVERSIONS in the archives). We fixed that one.
>
> Your problem is that your kernel source dir (unpacked tarball?)
> contains files with time stamps several hours in the future;
> 'make' doesn't take kindly to this.
>
> I've seen this happen once: during an upgrade (RH-style, i.e. not
> fresh install) from RH6.2 to RH7.0, my /etc/localtime had become
> overwritten and my machine in an instant moved from CET to some US
> time zone 6 or 8 hrs back. Then when I unpacked my kernel tarball to
> build a real kernel, I got exactly the problems you listed above.
>
> Check your clock & time zone settings.
>
> /Mikael
--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
phil@netroedge.com -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: time in the future during make for 2.4.0
2001-01-28 19:56 ` phil
@ 2001-01-28 21:00 ` Thomas Molina
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Molina @ 2001-01-28 21:00 UTC (permalink / raw)
To: phil; +Cc: Mikael Pettersson, linux-kernel, sensors
On Sun, 28 Jan 2001 phil@Stimpy.netroedge.com wrote:
>
> I had this problem when I was upgrading my kernel, and happened to do
> it during the daylight savings time roll-back. Confused the heck out
> of me for a while. Anyways, you can try 'touching' all your files,
> and do a 'make clean' then try again. If it doesn't complain about a
> long arg list, you can try 'touch `find . -type f`'.
Several people emailed me with similar comments. It seems I
occasionally have this habit of making myself look foolish. The
explanation is this: Yesterday I put a new processor and motherboard
into the system. When I set up the BIOS I put in a date one day into
the future. This morning's cron job called a remote time server which
corrected the date. When I compiled the kernel this morning, confusion
reigned. Sorry for bothering everyone. Touching the files did fix the
problem. I'll probably find a few more floating around causing problems
until 0302 tomorrow morning when I'm past all the future dates.
The motherboard change was instructive as was going from a K6-2 to an
Athlon. Linux booted up without a problem while Windows crashed and
burned. The best part was that I knew what was going to happen and I
had an audience.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* time in the future during make for 2.4.0
@ 2001-01-28 18:27 Thomas Molina
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Molina @ 2001-01-28 18:27 UTC (permalink / raw)
To: linux-kernel; +Cc: sensors
I seem to recall a discussion on faster processors causing timing
problems during a kernel make, but I'm unable to find it in the kernel
archives. I've now upgraded to an Athlon 900 MHz processor and an ASUS
A7V motherboard and have started seeing this. It shows up as the
following messages during a make bzImage:
make[3]: *** Warning: Clock skew detected. Your build may be
incomplete.
make[3]: *** Warning: File
`/mnt/hd/local/kernel/linux.24.new/include/linux/sched.h' has
modification time in the future (2001-01-28 17:41:05 > 2001-01-28
10:07:02)
I would appreciate any pointers to the discussion archive or solutions.
It doesn't seem to have a major problem with kernel compiles, but it
appears to send compiles of lm-sensors 2.5.5 into endless loops. Each
loop begins with the following:
make: *** Warning: File `/usr/local/kernel/linux/include/linux/types.h'
has modification time in the future (2001-01-28 17:41:05 > 2001-01-28
12:21:28)
gcc -M -MG -I. -Ikernel/include -I/usr/local/include
-I/usr/local/kernel/linux/include -O2 prog/detect/i2cdetect.c | \
sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd
prog/detect/i2cdetect.ro: Makefile '`dirname
prog/detect/i2cdetect.rd`/Module.mk' @' > prog/detect/i2cdetect.rd
and ends with the following before starting over again:
gcc -M -MG -I. -Ikernel/include -I/usr/local/include
-I/usr/local/kernel/linux/include -O2 -D__KERNEL__ -DMODULE
-fomit-frame-pointer -DEXPORT_SYMTAB -DMODVERSIONS -include
/usr/local/kernel/linux/include/linux/modversions.h kernel/sensors.c | \
sed -e 's@^\(.*\)\.o:@kernel/sensors.d kernel/sensors.o:
Makefile '`dirname kernel/sensors.d`/Module.mk' @' > kernel/sensors.d
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-28 21:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-28 19:49 time in the future during make for 2.4.0 Mikael Pettersson
2001-01-28 19:56 ` phil
2001-01-28 21:00 ` Thomas Molina
-- strict thread matches above, loose matches on Subject: below --
2001-01-28 18:27 Thomas Molina
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.