[ros-kernel] Crash after Boot Loading.

Hartmut Birr Hartmut.Birr at gmx.de
Wed May 19 18:30:36 CEST 2004


Hi,

I think I know what is wrong. MmMapIoSpace/MmUnmapIoSpace should not change
the mapping count for a physical address if the address is inside the range
from freelist. I will try to fix it. 

You can check the physical address which is accessed by acpi if you change
the DPRINT to DPRINT1 in acpi_os_map_memory (bus\acpi\ospm\osl.c).

- Hartmut

> -----Original Message-----
> From: ros-kernel-bounces at reactos.com 
> [mailto:ros-kernel-bounces at reactos.com] On Behalf Of James Tabor
> Sent: Wednesday, May 19, 2004 4:59 PM
> To: ReactOS Kernel List
> Subject: Re: [ros-kernel] Crash after Boot Loading.
> 
> 
> Hi,
> Hartmut Birr wrote:
> > Hi,
> > 
> > can you disable the call to MmMarkPageMapped in MmMapIoSpace 
> > (ntoskrnl\mm\iospace.c line #129) and try it again?
> > 
> > - Hartmut
> > 
> > 
> I commented out the line.
> 
> 
> DriverBase for \acpi.sys: dde3a000
> Advanced Configuration and Power Interface Bus Driver
> Unmapping not mapped page
> KeBugCheck at mm/freelist.c:644
> Bug detected (code 0 param 0 0 0 0)
>    The bug code is undefined. Please use an existing code instead.
> 
> Frames: <ntoskrnl.exe: 969a> <ntoskrnl.exe: 96ba> 
> <ntoskrnl.exe: 41743> <ntoskrn
> l.exe: 67cb> <ntoskrnl.exe: 43419> <ntoskrnl.exe: 42b6c> 
> <acpi.sys: 5c1e> <acpi.
> sys: 22bfa> <acpi.sys: 22a62> <acpi.sys: 55a4> <acpi.sys: 
> 593a> <acpi.sys: 4825>
>   <ntoskrnl.exe: 31ba7> <ntoskrnl.exe: 31bbd> <ntoskrnl.exe: 
> 33c7a> <ntoskrnl.exe
> : 2bacf> <ntoskrnl.exe: 2e7e6> <ntoskrnl.exe: 2e922> 
> <C007C1E8> <ntoskrnl.exe: a
> a2d> <C007CA3F> <ntoskrnl.exe: 127e>
> 
> This is very different from before.
> Thanks,
> James
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com http://reactos.com/mailman/listinfo/ros-kernel
> 



More information about the Ros-kernel mailing list