[pso] [tema2][windows] DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
Andrei Dragus
adragus at gmail.com
Sun Apr 25 01:00:26 EEST 2010
WARNING: Frame IP not in any known module. Following frames may be wrong.
f78e6b90 80887734 82235d98 81e720e0 00000033 <Unloaded_uart16550.sys>+0x1680
f78e6bb4 808876e8 82419a00 00000033 f78e6c88 nt!KiChainedDispatch2ndLvl+0x3c
f78e6bb4 80a54305 82419a00 00000033 f78e6c88 nt!KiChainedDispatch+0x28
f78e6c34 f7848c80 000002f9 00000003 8088d069 hal!WRITE_PORT_UCHAR+0x9
f78e6c88 808eed5d 823cf030 81ed3000 00000000 uart16550!DriverEntry+0x1b0
[c:\cygwin\home\administrator\tema2\uart16550.c @ 617]
Din cate inteleg eu de aici instructiunea care genereaza BSOD este exatct
WRITE_PORT_UCHAR, nu ajunge la intrerupere.
Andrei
On Sun, Apr 25, 2010 at 12:54 AM, Octavian Voicu
<octavian.voicu at gmail.com>wrote:
> On Sun, Apr 25, 2010 at 12:32 AM, Andrei Dragus <adragus at gmail.com> wrote:
> > Urmatoarea line de cod:
> >
> > WRITE_PORT_UCHAR(IER(di->address), ENABLE_RDAI | ENABLE_THREI);
> >
> > genereaza BSOD cu :
> >
> > DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
> > An attempt was made to access a pageable (or completely invalid) address
> > at an interrupt request level (IRQL) that is too high. This is usually
> > caused by drivers using improper addresses.
> >
> > dar
> >
> > WRITE_PORT_UCHAR(IER(di->address), ENABLE_RDAI);
> >
> > nu genereaza.
> >
> > Are cineva idee de ce?
>
> Incarca memory.dmp in WinDbg si da !analyze -v, o sa-ti zica exact ce
> linie genereaza BSOD-ul; cel mai probabil apare in IRQ handler pe
> ramura care trateaza intreruperea THREI, pentru ca activarea ei duce
> la BSOD. In principiu ai incercat sa accesezi o zona de memorie
> swapabila sau o adresa invalida din context intrerupere.
>
> Asigura-te ca zonele de memorie alocate pe care le folosesti in
> handelerul de intrerupere sunt alocate din NonPagedPool.
>
> Octavian
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/lurker/list/pso.html/attachments/20100425/73569299/attachment.htm>
More information about the pso
mailing list