Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-15562

Assertion failed: Extent->Length <= Length in 2nd stage if an Ext2 partition is present BEFORE the ros OS partition

    XMLWordPrintable

Details

    Description

      While booting to 2nd stage, ReactOS is likely to hit this Assertion if an Ext2 partition is present in the same harddisk.

      Seems that our NT kernel is failing to write the page file on the Ext2 partition.

      This causes to being unable to complete 2nd stage without breaking the entire ReactOS installation.

      (base/system/autochk/autochk.c:422) AUTOCHK: Checking \??\C:
      (base/system/autochk/autochk.c:422) AUTOCHK: Checking \??\D:
      (ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\ext2fs.sys at F9BF5000 with 140 pages
      Ext2Fsd -- Version 0.69 Checked -- Jan  3 2019 21:41:24.
      Ext2Fsd:~0: 13:56:56:757 b0949b40:   Ext2QueryParameters: HidingPrefix not specified.
      Ext2Fsd:~0: 13:56:56:757 b0949b40:   Ext2QueryParameters: HidingSuffix not specified.
      WARNING:  Ext2Chkdsk at sdk/lib/fslib/ext2lib/Mke2fs.c:1015 is UNIMPLEMENTED!
      (base/system/autochk/autochk.c:422) AUTOCHK: Checking \??\E:
      (drivers/filesystems/fastfat/misc.c:426) VfatCheckForDismount(B054F0D0, 0)
      (drivers/filesystems/fastfat/misc.c:426) VfatCheckForDismount(B054F0D0, 0)
      (ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\cdfs.sys at F9BA7000 with 4e pages
      (drivers/storage/scsiport/scsiport.c:2894)   unknown ioctl code: 0x24054
      (base/system/smss/pagefile.c:878) SMSS:PFILE: Open volume `\??\F:\' failed with status C0000022
      (base/system/smss/pagefile.c:601) SMSS:PFILE: Failing for min 109AF000, max 109AF000, real min 17F5F800
       
      *** Assertion failed: Extent->Length <= Length
      ***   Source File: E:/ReactOS/SRC/drivers/filesystems/ext2/src/write.c, line 513
       
      Break repeatedly, break Once, Ignore, terminate Process or terminate Thread (boipt)? 
      kdb:> o
      Execute '.cxr F9EC86FC' to dump context
      
      Entered debugger on embedded INT3 at 0x0008:0x8095150e.
      kdb:> bt
      Eip:
      <ntoskrnl.exe:15150f (:0 (DbgUserBreakPoint))>
      Frames:
      <ext2fs.sys:42e80 (drivers/filesystems/ext2/src/write.c:513 (Ext2WriteVolume))>
      <ext2fs.sys:4459b (drivers/filesystems/ext2/src/write.c:1392 (Ext2Write))>
      <ext2fs.sys:2732a (drivers/filesystems/ext2/src/dispatch.c:235 (Ext2DispatchRequest))>
      <ext2fs.sys:27615 (drivers/filesystems/ext2/src/dispatch.c:335 (Ext2BuildRequest))>
      <ntoskrnl.exe:71910 (ntoskrnl/io/iomgr/irp.c:1286 (IofCallDriver))>
      <ntoskrnl.exe:69f9e (ntoskrnl/io/iomgr/iofunc.c:1083 (IoSynchronousPageWrite))>
      <ntoskrnl.exe:4966 (ntoskrnl/cc/copy.c:206 (CcWriteVirtualAddress))>
      <ntoskrnl.exe:9c17 (ntoskrnl/cc/view.c:172 (CcRosFlushVacb))>
      <ntoskrnl.exe:a04e (ntoskrnl/cc/view.c:246 (CcRosFlushDirtyPages))>
      <ntoskrnl.exe:6765 (ntoskrnl/cc/lazywrite.c:126 (CcWriteBehind))>
      <ntoskrnl.exe:6b8e (ntoskrnl/cc/lazywrite.c:311 (CcWorkerThread))>
      <ntoskrnl.exe:3ffd3 (ntoskrnl/ex/work.c:162 (ExpWorkerThreadEntryPoint))>
      <ntoskrnl.exe:119614 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup))>
      <ntoskrnl.exe:131a75 (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup))>
      <ntoskrnl.exe:1195db (ntoskrnl/ps/state.c:565 (NtQueueApcThread))>
      <5d8950ec>
      <00000000>
      kdb:> cont
       
      *** Assertion failed: Extent->Length >= SECTOR_SIZE
      ***   Source File: E:/ReactOS/SRC/drivers/filesystems/ext2/src/write.c, line 516
      Break repeatedly, break Once, Ignore, terminate Process or terminate Thread (boipt)? 
      kdb:> o
      Execute '.cxr F9EC86FC' to dump context
       
      Entered debugger on embedded INT3 at 0x0008:0x8095150e.
      kdb:> bt
      Eip:
      <ntoskrnl.exe:15150f (:0 (DbgUserBreakPoint))>
      Frames:
      <ext2fs.sys:42eb6 (drivers/filesystems/ext2/src/write.c:516 (Ext2WriteVolume))>
      <ext2fs.sys:4459b (drivers/filesystems/ext2/src/write.c:1392 (Ext2Write))>
      <ext2fs.sys:2732a (drivers/filesystems/ext2/src/dispatch.c:235 (Ext2DispatchRequest))>
      <ext2fs.sys:27615 (drivers/filesystems/ext2/src/dispatch.c:335 (Ext2BuildRequest))>
      <ntoskrnl.exe:71910 (ntoskrnl/io/iomgr/irp.c:1286 (IofCallDriver))>
      <ntoskrnl.exe:69f9e (ntoskrnl/io/iomgr/iofunc.c:1083 (IoSynchronousPageWrite))>
      <ntoskrnl.exe:4966 (ntoskrnl/cc/copy.c:206 (CcWriteVirtualAddress))>
      <ntoskrnl.exe:9c17 (ntoskrnl/cc/view.c:172 (CcRosFlushVacb))>
      <ntoskrnl.exe:a04e (ntoskrnl/cc/view.c:246 (CcRosFlushDirtyPages))>
      <ntoskrnl.exe:6765 (ntoskrnl/cc/lazywrite.c:126 (CcWriteBehind))>
      <ntoskrnl.exe:6b8e (ntoskrnl/cc/lazywrite.c:311 (CcWorkerThread))>
      <ntoskrnl.exe:3ffd3 (ntoskrnl/ex/work.c:162 (ExpWorkerThreadEntryPoint))>
      <ntoskrnl.exe:119614 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup))>
      <ntoskrnl.exe:131a75 (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup))>
      <ntoskrnl.exe:1195db (ntoskrnl/ps/state.c:565 (NtQueueApcThread))>
      <5d8950ec>
      <00000000>
      kdb:> cont
      

      Attachments

        Activity

          People

            extravert34 extravert34
            Julcar Julcar
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: