RE: [ntdev] Legacy Driver on XP Looks like a good FAQ item, if not already in MS’s KB.
“Set PnP OS = No in BIOS if you have any interrupt vector related issues on PCI bus” - the very, very good advice.
For instance, under NT4 with PnP OS = yes, HalAssignSlotResources just skipped the IRQ, and provided the driver with register addresses only, as if the interrupt does not exist.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Calvin Guan
To: Windows System Software Devs Interest List
Sent: Tuesday, August 10, 2004 6:29 PM
Subject: RE: [ntdev] Legacy Driver on XP
Max, it rings the bell.
Changing the “PNP OS” did solve problem on some of the system in question.
Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, August 10, 2004 6:06 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Legacy Driver on XP
The “PnP OS = No” BIOS setting plays the main role in this mechanism.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Calvin Guan
To: Windows System Software Devs Interest List
Sent: Tuesday, August 10, 2004 12:55 AM
Subject: RE: [ntdev] Legacy Driver on XP
I’ve seen this before on some platforms which drove me nuts years ago. The reason is that HalAssigneSlotResources return bogus IRQ information but HalGetInterruptVector seems happy with it. On W2k/xp IIRC, HAL does not seem to enable the interrupt mask on (a)PIC if no Isr is connected to that pin, so I saw the hardware is firing interupts in the scope but ISR is not called and PC won’t lock.
Things even strange is HalAssigneSlotResources may return different IRQ info if I net start/stop the driver several times in a row. Eventually I have to make it WDM to fix it.
Calvin
Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com
-----Original Message-----
> From: Don Burn [mailto:xxxxx@acm.org]
> Sent: Monday, August 09, 2004 4:32 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Legacy Driver on XP
>
>
> I have a customer with a NT4.0 legacy driver, they wish to
> run on Windows XP
> embeded. In debugging the driver, the calls to
> HalGetInterruptVector and
> IoConnectInterrupt work correctly but no interrupts ever get
> signalled. For
> a lot of reasons, it is not desirable to make this a PNP
> driver, and there
> is little value in an embedded device. So can someone
> suggest a reason
> this legacy driver would not work with Windows XP?
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@ati.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com