<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div>
<div>
<div>And I think current issue with "Kernel panic - not syncing: IO-APIC + timer doesn't work!" is also clear.</div>
<div><br>
</div>
<div>timer_irq_works(void) never returns 1:</div>
<div>https://github.com/torvalds/linux/blob/d966564fcdc19e13eb6ba1fbe6b8101070339c3d/arch/x86/kernel/apic/io_apic.c#L1641</div>
<div><br>
</div>
<div>I think it happens because of jiffies (http://www.makelinux.net/books/lkd2/ch10lev1sec3#ch10fig01)</div>
<div><br>
</div>
<div>It should have the same address as jiffies_64:</div>
<div>https://github.com/torvalds/linux/blob/b66484cd74706fa8681d051840fe4b18a3da40ff/arch/x86/kernel/vmlinux.lds.S#L41</div>
<div><br>
</div>
<div>And that is true for BFD linked binary:</div>
<div> 10595: ffffffff8140b000     8 OBJECT  GLOBAL DEFAULT    8 jiffies</div>
<div> 11730: ffffffff8140b000     8 OBJECT  GLOBAL DEFAULT    8 jiffies_64</div>
<div> </div>
<div>But something is wrong with them for LLD case:</div>
<div> 6422: ffffffff8140b000     8 OBJECT  GLOBAL DEFAULT   19 jiffies</div>
<div> 7416: ffffffff81400000     0 NOTYPE  GLOBAL DEFAULT   19 jiffies_64</div>
<div>  </div>
<div>I think we probably incorrectly assign symbols outside SECTIONS declarations in scripts. Looking at it.<br>
</div>
<br>
</div>
<p>George.<br>
</p>
</div>
</div>
</body>
</html>