<div dir="auto"><div dir="ltr">Rudolf,<div><br></div><div>Thank you so much for your response.</div><div><br></div><div>Its working now. The problem was that i was writting the ELCR register as a 16bit I/O register, because it is listed as one 16 bit register in BKDG @0x4D0. When i wrote the slave IRQs to 0x4D1, it worked.</div><div dir="auto"><br></div><div dir="auto">Thank you once again for your time.</div><div dir="auto"><br></div><div dir="auto">Thanks.</div><div dir="auto">Abhishek.</div></div><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 1:38 AM, Rudolf Marek <span dir="ltr"><<a href="mailto:r.marek@assembler.cz" target="_blank">r.marek@assembler.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Abhishek,<br>
<br>
Please can you check if you programmed the ELCR registers 0x4d0/0x4d1<br>
to level for PCI registers?<br>
<br>
In other words, you should set bits to 1 to corresponding IRQ to be level<br>
triggered. Eg. for IRQ 5, you need to write 1 to bit5 to 8bit I/O port 0x4d0 For<br>
IRQ 9, you need to program bit 1 of 0x4d1<br>
<br>
You can also check the PCI status register (regĀ  of Ethernet device, there is<br>
"interrupt pending" bit, to verify that the device actually tries to trigger the<br>
IRQ. Also, you can check if INTX disable is not set in PCI register by accident.<br>
<br>
lspci -vvv<br>
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-<br>
SERR- FastB2B- DisINTx+<br>
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort-<br>
>SERR- <PERR- INTx-<br>
<br>
You should seeĀ  DisINTx- and INTx+ (if interrupt is pending).<br>
<br>
<br>
The local APIC has also individual vector interrupt disable bits (but you say<br>
local apic is disabled, normally for te local APIC should have programmed EXTINT<br>
mode on LINT0, or virtual wire in IOAPIC)<br>
<br>
Has this platform more than 1 IOAPIC, or just IOAPIC in SB?<br>
<br>
Thanks<br>
<span class="m_9186543995961519627HOEnZb"><font color="#888888">Rudolf<br>
<br>
</font></span></blockquote></div><br></div>
</div>