From: Royce M. I. <ro...@ev...> - 2002-08-31 21:04:13
|
Okay, I finally had a little bit of time to play around with ReactOS again, so I downloaded the latest CVS, compiled with DBG=1, and it's still crashing, but now, at least, I have been able to produce a valid stack trace. I took the screen dump, and did an addr2line on each entry. Here are my results: -------------------------------------------------------------------------------- Here is the line that's crashing: portio.c:68 : __asm__ __volatile__ ("cld ; rep ; insw" : "=D" (Buffer), "=c" (Count) : "d" (Port),"0" (Buffer),"1" (Count)); Here's my results on the stack trace: <hal.dll: 4228> portio.c:68 READ_PORT_BUFFER_USHORT -> see the code pasted above <atapi: 1a3c> atapi.c:782 AtapiInterrupt() calling IDEReadBlock() /* defined as READ_PORT_BUFFER_USHORT in ide.h */ <scsiport: 25b1> scsiport.c:1303 ScsiPortIsr() calling DeviceExtension->HwInterrupt() <ntoskrnl.exe: 2388> irq.c:423 KiInterruptDispatch2() calling isr->ServiceRoutine() <hal.dll: 5694> irql.c:94 HalpExecuteIrqs() calling KiInterruptDispatch2() <hal.dll: 56e8> irql.c:108 HalpLowerIrql() calling HalpExecuteIrqs() <hal.dll: 57f3> irql.c:164 KfLowerIrql() calling HalpLowerIrql() <hal.dll: 580f> irql.c:188 KeLowerIrql() calling KfLowerIrql() <ntoskrnl.exe: ec7f> spinlock.c:50 KeSynchronizeExecution() calling KeLowerIrql() <scsiport: 1de6> scsiport.c:956 ScsiPortStartIo() calling KeSynchronizeExecution() <ntoskrnl.exe: 39d73> queue.c:133 IoStartPacket() calling DeviceObject->DriverObject->DriverStartIo() <scsiport: 19f5> scsiport.c:736 ScsiPortDispatchScsi() calling IoStartPacket() <ntoskrnl.exe: 36d04> irp.c:130 IofCallDriver() calling DriverObject->MajorFunction[Param->MajorFunction]() <ntoskrnl.exe: 36d2b> irp.c:141 IoCallDriver() calling IofCallDriver <ntoskrnl.exe: 31d6e> device.c:531 IopInitializeDriver() calling DriverEntry() <ntoskrnl.exe: 42191> loader.c:538 LdrInitializeBootStartDriver() calling IopInitializeDriver() <ntoskrnl.exe: d507> main.c:513 ExpInitializeExecutive() calling LdrInitializeBootStartDriver() <ntoskrnl.exe: d641> main.c:593 KiSystemStartup() calling ExpInitializeExecutive() <ntoskrnl.exe: dbbc> main.c:752 _main() calling KiSystemStartup() <ntoskrnl.exe: 126c> invalid :) -------------------------------------------------------------------------------- Here's the screen dump itself: 000 (ke/main.c:436) Module: 'system32\ntoskrnl\ntoskrnl.sym' at c0115000, length 0x0 0002000 (ke/main.c:436) Module: 'hal\halx86\hal.sym' at c0117000, length 0x0003d000 (ke/main.c:436) Module: 'drivers\storage\scsiport\scsiport.sym' at c0154000, len gth 0x00030000 (ke/main.c:436) Module: 'drivers\storage\atapi\atapi.sym' at c0154000, length 0x 00031000 (ke/main.c:436) Module: 'drivers\storage\class2\class2.sym' at c01b5000, length 0x00031000 (ke/main.c:436) Module: 'drivers\fs\vfat\vfstfs.sym' at c0216000, length 0x0003f 000 (ke/main.c:484) Process registry chunk at c0113000 (ke/main.c:512) Initializing driver 'system32\drivers\scsiport.sys' at c00d4000, length 0x0000a000 Initializing system32\drivers\scsiport.sys... DriverBase for system32\drivers\scsiport.sys: dccb3000 (ke/main.c:512) Initializing driver 'system32\drivers\atapi.sys' at c00de000, le ngth 0x00009000 Initializing system32\drivers\atapi.sys... DriverBase for system32\drivers\atapi.sys: dccbb000 (ke/main.c:512) Initializing driver 'system32\drivers\class2.sys' at c00e7000, l ength 0x0000b000 Initializing system32\drivers\class2.sys... DriverBase for system32\drivers\class2.sys: dccc3000 (ke/main.c:512) Initializing driver 'system32\drivers\disk.sys' at c00f2000, len gth 0x00009000 Initializing system32\drivers\disk.sys... DriverBase for system32\drivers\disk.sys: dcccc000 Page fault at high IRQL was 12 Bug detected code: 0x1D Page Fault Exception: 14(2) Processor: 0 CS:EIP 8:c0259228 <hal.dll: 4228> cr2 c04e2000 cr3 28e000 Proc: c0474b3a Pid: 1 <SYSTEM> Thrd: c04857e4 Tid: 1 DS 10 ES 10 FS 30 GS 10 EAX: 00006868 EBX: c04ea85a ECX: 0000442d EDX: 00000170 EBP: c00b40a0 ESI: 00200000 EDI: c04e2000 EFLAGS: 00010212 kESP: c00b4028 kernel stack base c00b2000 ESP c00b4028 Frames: <atapi: 1a3c> <scsiport: 25b1> <ntoskrnl.exe: 2388> <hal.dll: 5694> <hal .dll: 56e8> <hal.dll: 57f3> <hal.dll: 580f> <ntoskrnl.exe: ec7f> <scsiport: 1de6 > <ntoskrnl.exe: 39d73> <scsiport: 19f5> <ntoskrnl.exe: 36d04> <ntoskrnl.exe: 36 d2b> <ntoskrnl.exe: 31d6e> <ntoskrnl.exe: 42191> <ntoskrnl.exe: d507> <nto skrnl.exe: d641> <ntoskrnl.exe: dbbc> <ntoskrnl.exe: 126c> |