LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-23-2022, 11:52 PM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Rep: Reputation: 148Reputation: 148
Question LILO 'timestamp mismatch': no boot/menu


I had a 14.2+current problem (and thread but can't edit old posts/titles) now also on 15 stable & current. After I ran LILO and rebooted, LILO said 'timestamp mismatch' and showed no menu (I have several OSs) and wouldn't boot. No matter what I tried, it wouldn't fix. I set BIOS clock two days ahead (though BIOS & OS times were identical beforehand... my BIOS is set for zone so OS gets it exact so presumably NTPD changes remain exact in BIOS). I zeroed entire drive & boot sector, rebuilt partition table, reinstalled LILO. Same happened and I tried many times.

LILO timestamp mismatch test should probably be optional: more a desktop users' hindrance and servers have timekeeping tools.

Some people didn't read and wildly speculated I had different BIOS & OS times though originally stated they're identical: nevertheless I triple-checked and reset BIOS which clearly changed nothing. I think I also turned off NTPD but of course the problem actually has nothing to do with (identical) time.

The problem may be known (and discussed various other places) some SSD/M2/NVME drives stopped working with LILO: they used to just fine before changes in later 2021. After that apparently SSD/M2?NVMEs are specified differently in a way LILO hasn't been updated for.

Meantime I installed GRUB2 (works but quite hate it).

What do I need to do to use LILO again?

Last edited by dchmelik; 08-24-2022 at 03:57 AM.
 
Old 08-24-2022, 02:24 AM   #2
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 332

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
LILO's "timestamp mismatch" is not about your system time or BIOS time.
The LILO boot process is done in a few stages. When you install/update LILO, it updates all the stages and writes a timestamp inside each of them.
Usually when you get the "timestamp mismatch" it means that the LILO first stage (containing a specific timestamp) is trying to load the second stage in order to start it, but founds out it contains a different timestamp.
This error typically means that the last LILO update did not update all the stages correctly, or that one of the disks contains an old LILO installation.
 
1 members found this post helpful.
Old 08-24-2022, 02:59 AM   #3
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,530

Rep: Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368Reputation: 3368
Quote:
Originally Posted by dchmelik View Post
The problem may be known (and discussed various other places) some SSD/M2/NVME drives stopped working with LILO: they used to just fine before changes in later 2021. After that apparently SSD/M2?NVMEs are specified differently in a way LILO hasn't been updated for.

Meantime I installed GRUB2 (works but quite hate it).

What do I need to do to use LILO again?
That's exactly the catch - in AD 2021 the kernel developers changed something in the NVME management, and LILO hasn't been updated for, because it's last release was made in November 22, 2015. Yes, nobody updates LILO today. Nobody updates LILO anymore.

I wonder what's so complicated to understand on that LILO, ELILO and SYSLINUX are abandoned by their authors since long years, even years before of Slackware 14.2 release?

Read: this horse is dead, Jim! Stop kicking those bones!

Last edited by LuckyCyborg; 08-24-2022 at 03:20 AM.
 
1 members found this post helpful.
Old 08-24-2022, 03:56 AM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Original Poster
Rep: Reputation: 148Reputation: 148
Thumbs down

Quote:
Originally Posted by ctrlaltca View Post
This error typically means that the last LILO update did not update all the stages correctly, or that one of the disks contains an old LILO installation.
After zeroing entire drive (dd to plain block device itself, blkdiscard & similar UNIX/*BSD trim) & entire boot sector & reinstalling many times but always getting same result, seems case of something else.
        I heard others might've been maintaining LILO but maybe that was only until 2015... SYSLINUX was updated a couple years ago.

Last edited by dchmelik; 08-24-2022 at 04:01 AM.
 
Old 08-24-2022, 05:09 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by dchmelik View Post
What do I need to do to use LILO again?
Take over its development.
 
3 members found this post helpful.
Old 08-26-2022, 07:05 AM   #6
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by LuckyCyborg View Post
That's exactly the catch - in AD 2021 the kernel developers changed something in the NVME management
I made a mistake: they changed it in 2016 which immediately broke LILO for some, but others including mine worked into 2021, though they may have also changed something then.
 
Old 08-26-2022, 09:48 PM   #7
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
how does LuckyCyborg boot ?
 
Old 08-27-2022, 04:43 AM   #8
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by glorsplitz View Post
how does LuckyCyborg boot ?
It is a well known fact that he prefers grub.

regards Henrik
 
2 members found this post helpful.
Old 08-28-2022, 02:19 AM   #9
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,462
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Is this the same machine which regularly gets a zap of static electricity powerful enough to reset the BIOS?
 
Old 08-28-2022, 02:31 AM   #10
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by rkelsen View Post
Is this the same machine which regularly gets a zap of static electricity powerful enough to reset the BIOS?
Not since a year or so ago.
 
Old 12-25-2023, 08:43 AM   #11
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Original Poster
Rep: Reputation: 148Reputation: 148
Unhappy

Apparently no choice but to switch to GRUB2: solved that way (not in the code).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Slackware64-current] LILO: 'timestamp mismatch,' no menu, no boot dchmelik Slackware 23 08-25-2022 08:32 PM
LILO: timestamp mismatch - what causes this error? Spectek1 Slackware 8 05-12-2004 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration