interrupt handling,1) Hangs,2)waits,3)services, 3 different cases happens in different system..

Hi all,

There is a peculiar problem with our pcmcia 16-bit memory card device driver and application…I had done the driver on windows 2000 with interrupt handling in such a way that, user mode thread waits for an event signalled from the DpcforIsr() in kernel mode driver when interrupt occur…,when the event is signalled, a function in the user mode services the additional interrupt handling from the user mode…

This works fine on my system with AMD k6 processor , as well as on my laptop with intel celeron processor…,but in other systems,

two different cases happens,

  1. some systems ,when i enable the interrupts, to come to the host, the pc hangs…

2)in few other systems, after enabling interrupts, the user mode waitforsingleobject() keeps on waiting for the interrupt…

The interrupt’s is the only issue differing between different systems…other than that, R/W operations are normal in all the other operations…

Is there any problem because of difference in APIC in different systems…or is there any s/w issue to cause this problem…

I am using Ricoh’s pci-to-pcmcia adapter…

if anybody needs further information to solve this problem, i am ready to provide more information to solve my problem…

thanx, in anticipation of some solutions,

Shiva Prasad

Hi,

Not sure if this would solve.
Try these 2 settings in BIOS.

Installed OS : Others (Win2K and many would be there)
For your PCI slot, Enable “Master DMA”.

Similar to this, earlier I had problem in Win2K (working fine in NT4).
After changing these settings, INTERRUPT worked fine.

Try this. Let us try to find out why the behaviour is like this. Anybody
have any other idea ???

Thanks,
Sathya

-----Original Message-----
From: Shiva Prasad T.S. [mailto:xxxxx@rassit.com]
Sent: Thursday, December 05, 2002 10:35 AM
Subject: interrupt handling,1) Hangs,2)waits,3)services, 3 different
cases happens in different system…

Hi all,

There is a peculiar problem with our pcmcia 16-bit memory card device
driver and application…I had done the driver on windows 2000 with
interrupt handling in such a way that, user mode thread waits for an
event signalled from the DpcforIsr() in kernel mode driver when
interrupt occur…,when the event is signalled, a function in the user
mode services the additional interrupt handling from the user mode…

This works fine on my system with AMD k6 processor , as well as on my
laptop with intel celeron processor…,but in other systems,

two different cases happens,

  1. some systems ,when i enable the interrupts, to come to the host, the
    pc hangs…

2)in few other systems, after enabling interrupts, the user mode
waitforsingleobject() keeps on waiting for the interrupt…

The interrupt’s is the only issue differing between different
systems…other than that, R/W operations are normal in all the other
operations…

Is there any problem because of difference in APIC in different
systems…or is there any s/w issue to cause this problem…

I am using Ricoh’s pci-to-pcmcia adapter…

if anybody needs further information to solve this problem, i am ready
to provide more information to solve my problem…

thanx, in anticipation of some solutions,

Shiva Prasad