Jump to content

reboot12

Member
  • Posts

    358
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Poland

Posts posted by reboot12

  1. @George King

    I have a question? Before installing the NVMe 1.3 driver by Schtrom installed the WindowsServer2003.WindowsXP-KB932755-x64-ENU.exe update that updates files: storport.sys and diskdump.sys

    Then I updated the NVMe driver for a corrected Samsung_NVMe_3.3.0.2003 which probably replaced the storport.sys file. The diskdump.sys file was remained from the KB ...755 update.

    Will NVMe drivers work properly without an updated diskdump.sys file?

  2. @George King

    • I have fixed the secnvme.inf x64 file and works without any problems including TRIM in O&O Defrag
      secnvme_fix_by_Gelip.zip
      9484653300_1670753042_thumb.jpg
    • Silicon Motion Generic_NVMe_10.4.49.0 works only because I updated the driver when the Samsung driver operated - it is exactly about the secnvmeF service running. After switching off the service:
      sc config secnvmeF start= disabled
      I turned on the Windows debug through the serial port in BCD and after restart OS I have a 7B error in WinDbg:
      WinDbg 7B error log
    • SmartDefrag 4.2 and TxBENCH 0.98 not make TRIM on any driver
    • O&O Defrag make TRIM on Generic_NVMe_6.1.7601.23403, fixed_Samsung_NVMe_3.3.0.2003 and Silicon Motion Generic_NVMe_10.4.49.0 with secnvmeF service running (from Samsung driver)
  3. 11 minutes ago, Andalu said:

    Regarding the Samsung NVMe 3.3.0.2003 driver, the secnvme.inf file must be modified to recognize non-Samsung generic NVMe drives.

    I have a Samsung 970 EVO Plus disk and the secnvme.inf file is appropriate PCI VEN DEV

    However, I looked at file and it looks like there are simply mistakes:

    [SourceDisksFiles.amd64] should be probably [SourceDisksFiles.NTamd64]

    [nvme_inst.NTx86.CopyFiles] should be probably [nvme_inst.NTamd64.CopyFiles]

    18 minutes ago, Andalu said:

    Below are images with the Samsung driver (here working even without secnvmeF.sys):

    I don't understand why you are running the TrimCheck program 3 times? All you need is 2 times! During the first launch, the program creates a trimcheck.bin file on the disk, saves its location and a few bytes of data in the .json file and then deletes the trimcheck.bin file and then informs the user to now make a manual trim so you do TRIM, e.g. in O&O Defrag. After TRIM You run TrimCheck again, which compares the data contained in the .json file with data in the disk cluster.

  4. 2 hours ago, George King said:

    There is really newer ported drivers collection here

    Thanks but I checked these drivers and there are still the same problems as in the August version:

    • Samsung_NVMe_3.3.0.2003 - error while installation in .inf file
      4827557000_1670690063_thumb.jpg
    • Generic_NVMe_10.4.49.0 - after restart WinXP SP2 x64 not boot - probably BSOD

    Of course, it's about x64 versions !

  5. 7 hours ago, reboot12 said:

    I am only thinking about one thing - why I can't use a small text file for the test - a few bytes ???

    I already know the answer to this question.

    Small text file is located in $MFT record and not occupied any cluster - that's why TRIM has no access to it.

  6. @George King

    I tested your NVMe x64 drivers from the Ported_Drivers_for_XP2ESD.7z

    • Samsung_NVMe_3.3.0.2003 - error while installation in .inf file
    • Generic_NVMe_10.4.49.0 - after restart WinXP SP2 x64 not boot - probably BSOD
    • Generic_NVMe_6.1.7601.23403 - working :-)

    With this driver, the O&O Defrag program no longer displays a warning and makes a TRIM - the progress bar goes as a percentage - unfortunately after making a TRIM in the sector in which the file was still no zero

    but trimcheck-0.7-win64.exe (second run after TRIM by O&O Defrag) displays that TRIM works:

    6934613000_1670659139_thumb.jpg

    Maybe I check the sector in WinHex badly ???

    EDITED

    =====

    My test text file is too small because it has only a few bytes.

    I noticed that the trimcheck program creates a 64MB test file. So I copied to the desktop some other file, e.g. explorer.exe 1.30MB, checked the sector in WinHex, removed the file - also from the Recycle Bin, I made a TRIM in O&O Defrag and now I have zero in the sector where the file was :D

    So I have a way to make a TRIM on the NVMe disk at WinXP SP2 64-bit - ported driver Generic_NVMe_6.1.7601.23403 + O&O Defrag v17.5.559 :cheerleader::thumbup

    P.S. I wonder why Smart Defrag doesn't do TRIM ???

    I am only thinking about one thing - why I can't use a small text file for the test - a few bytes ???

     

  7. @MrMateczko

    In the time of Win95 there was no such thing as FullHD and no one had such a monitor and graphics card with memory that would support such resolution - at least an ordinary user did not have such things. Then the S3 Trio/Virge cards were popular with 2MB memory. At that time, 15" monitors were popular and 800x600 32-bit resolution. 2MB is not enough to display the image in 1024x768x24-bit - for this you need 2.25MB:

    7924947200_1611387197_thumb.jpg

    1920x1080    = 2 073 600x24 bits/pixel
            = 49 766 400 bits
            = 6 220 800 bytes
            = 5,93 MB

    So today FullHD in Win95 is fancy.

  8. 3 hours ago, j7n said:

    Maybe you could install NT6 in dual boot, and occcasionally run ForceTrim from there.

    What program is to make a TRIM under Win7 or newer? Samsung Magician only shows TRIM Status

    P.S. I found it:

    One consequence of the flash translation layer is that logical blocks do not necessarily correspond to physical locations on the NAND at all times. In fact, there is a command that clears the translation for a block. In NVMe, this command is called deallocate, in SCSI it is called unmap, and in SATA it is called trim.

    SATA > TRIM

    SCSI > UNMAP

    NVMe > DEALLOCATE

  9. @Mov AX, 0xDEAD

    1) trimcheck - second run:

    D:\soft>trimcheck-0.7-win64.exe
    TRIM check v0.7 - Written by Vladimir Panteleev
    https://github.com/CyberShadow/trimcheck
    
    Loading continuation data from D:\soft\trimcheck-cont.json...
      Drive path   :  \\.\D:
      Offset       :  31755780096
      Random data  :  87 2C EF 4E B1 FA 98 42 BE 32 EC 9C B2 B5 B0 36...
    
    Reading raw volume data...
      Opening \\.\D:...
      Seeking to position 31755780096...
      Reading 16384 bytes...
      First 16 bytes: 87 2C EF 4E B1 FA 98 42 BE 32 EC 9C B2 B5 B0 36...
    Data unchanged.
    
    CONCLUSION: TRIM appears to be NOT WORKING (or has not kicked in yet).
    
    You can re-run this program to test again with the same data block,
    or delete trimcheck-cont.json to create a new test file.
    
    Press Enter to exit...

    2) TxBENCH:

    7893074600_1670265340_thumb.jpg

    In disks SSD on SCSI - TRIM is basically UNMAP:

    TRIM (UNMAP in SCSI terminology)

    1508696200_1670266592_thumb.jpg

    So maybe I need a program for UNMAP and not TRIM?

  10. Virtual machine but not that way.

    You need a modern desktop computer with CPU, chipset and bios support VT-d feature, integrated iGPU, old PCIe graphics card with WinXP drivers e.g AMD HD7450 and second monitor. You install Linux on it, e.g. Debian 9, put the virt-manager virtual machine with WinXP and passthrough the PCIe graphics card into this WinXP vm machine :P

    It works very efficiently. Here I did it on a laptop: PCI passthrough karty graficznej na Debian 9 64-bit

    But I also tested it on the desktop computer recently and it works without a problem - preferably with the PCIe AMD graphics card.

  11. On SATA SSD disks you can do TRIM manually under WinXP using programs e.g. Intel SSD Toolbox, Solid State Doctor etc.

    I have a NVMe disk and when I run these programs on WinXP, they see the disk but they do not support the TRIM because the disk is connected using the SCSI controller and not SATA, e.g. Solid State Doctor display this:

    2731823500_1667647054_thumb.jpg

    Quote from the program manufacturer:

    Not compatible with RAID, drives that detect as SCSI, or with Serial Attached SCSI (SAS) SSDs

    Does anyone know any program for making TRIM on a NVMe disk?

  12. @DrunkenTanker

    • extract archive ASUS_VA247_WHQL_Driver.zip
    • delete file ASUS VA247.inf and copy my modded file ASUS VA247_xp.inf
    • right-click on the Desktop and select Properties
    • Settings tab > Advanced button > Monitor tab > Properties button > Driver tab > Update driver button > select Install from a list or specific location (Advanced) > select Don't search. I will choose the driver to install. > Next button > Have disk button > Browse button > open file ASUS VA247_xp.inf
      6300849800_1668104946_thumb.jpg 8338307000_1668104952_thumb.jpg

    The monitor driver can also be built using the Monitor Asset Manager tool. From menu File select Create INF...

  13. On 10/30/2022 at 2:17 PM, jaclaz said:

    As a windows XP FTP client I can suggest (good ol') LeechFTP

    As an Android FTP server, you can use Material Files 1.5.2 or FTP Server 0.11.5 and on WinXP for FTP Client (download/upload), you don't need anything more than built-in old Internet Explorer 6 :)

    6930419200_1667501393_thumb.jpg

    Instead of FTP, you can use the AndSMB application via WiFi (download/upload).

  14. @George King

    You would be able to add support for edit boot order in NVRAM UEFI from WinXP 64-bit - access to table efi_boot_services

    EFI_BOOT_SERVICES

    You can do it under Linux with efibootmgr:

    root #efibootmgr -v
    
    BootCurrent: 0002
    Timeout: 3 seconds
    BootOrder: 0003,0003,0002,0000,0004
    Boot0000* CD/DVD Drive  BIOS(3,0,00)
    Boot0001* Hard Drive    BIOS(2,0,00)
    Boot0002* Gentoo        HD(1,800,61800,6d98f360-cb3e-4727-8fed-5ce0c040365d)File(\EFI\boot\bootx64.efi)
    Boot0003* Hard Drive    BIOS(2,0,00)P0: ST1500DM003-9YN16G
    

    Under UEFI Shell: dmpstore Boot*

    Dump Variable Boot*
    Variable NV+RT+BS 'Efi:Boot0002' DataSize = 5F
      00000000: 01 00 00 40 41 00 45 00-46 00 49 00 20 00 4E 00  *...@A.E.F.I. .N.*
      00000010: 65 00 74 00 77 00 6F 00-72 00 6B 00 00 00 02 01  *e.t.w.o.r.k.....*
      00000020: 0C 00 D0 41 03 0A 00 00-00 00 01 01 06 00 00 11  *...A............*
      00000030: 01 01 06 00 00 00 03 0B-25 00 00 0C 29 80 4C 58  *........%...).LX*
      00000040: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
      00000050: 00 00 00 00 00 00 00 00-00 00 00 7F FF 04 00     *...............*
    Variable NV+RT+BS 'Efi:Boot0003' DataSize = 3E
      00000000: 01 00 00 40 22 00 45 00-46 00 49 00 20 00 46 00  *...@".E.F.I. .F.*
      00000010: 6C 00 6F 00 70 00 70 00-79 00 00 00 02 01 0C 00  *l.o.p.p.y.......*
      00000020: D0 41 03 0A 00 00 00 00-01 01 06 00 00 07 02 01  *.A..............*
      00000030: 0C 00 D0 41 04 06 00 00-00 00 7F FF 04 00        *...A..........*
    Variable NV+RT+BS 'Efi:Boot0000' DataSize = 7C
      00000000: 01 00 00 40 24 00 45 00-46 00 49 00 20 00 56 00  *...@$.E.F.I. .V.*
      00000010: 4D 00 77 00 61 00 72 00-65 00 20 00 56 00 69 00  *M.w.a.r.e. .V.i.*
      00000020: 72 00 74 00 75 00 61 00-6C 00 20 00 53 00 43 00  *r.t.u.a.l. .S.C.*
      00000030: 53 00 49 00 20 00 48 00-61 00 72 00 64 00 20 00  *S.I. .H.a.r.d. .*
      00000040: 44 00 72 00 69 00 76 00-65 00 20 00 28 00 30 00  *D.r.i.v.e. .(.0.*
      00000050: 2E 00 30 00 29 00 00 00-02 01 0C 00 D0 41 03 0A  *..0.)........A..*
      00000060: 00 00 00 00 01 01 06 00-00 15 01 01 06 00 00 00  *................*
      00000070: 03 02 08 00 00 00 00 00-7F FF 04 00              *............*
    Variable NV+RT+BS 'Efi:Boot0004' DataSize = 7E
      00000000: 01 00 00 40 1E 00 45 00-46 00 49 00 20 00 56 00  *...@..E.F.I. .V.*
      00000010: 4D 00 77 00 61 00 72 00-65 00 20 00 56 00 69 00  *M.w.a.r.e. .V.i.*
      00000020: 72 00 74 00 75 00 61 00-6C 00 20 00 49 00 44 00  *r.t.u.a.l. .I.D.*
      00000030: 45 00 20 00 43 00 44 00-52 00 4F 00 4D 00 20 00  *E. .C.D.R.O.M. .*
      00000040: 44 00 72 00 69 00 76 00-65 00 20 00 28 00 49 00  *D.r.i.v.e. .(.I.*
      00000050: 44 00 45 00 20 00 30 00-3A 00 30 00 29 00 00 00  *D.E. .0.:.0.)...*
      00000060: 02 01 0C 00 D0 41 03 0A-00 00 00 00 01 01 06 00  *.....A..........*
      00000070: 01 07 03 01 08 00 00 00-00 00 7F FF 04 00        *..............*
    Variable NV+RT+BS 'Efi:Boot0005' DataSize = 86
      00000000: 01 00 00 40 30 00 45 00-46 00 49 00 20 00 49 00  *...@0.E.F.I. .I.*
      00000010: 6E 00 74 00 65 00 72 00-6E 00 61 00 6C 00 20 00  *n.t.e.r.n.a.l. .*
      00000020: 53 00 68 00 65 00 6C 00-6C 00 20 00 28 00 55 00  *S.h.e.l.l. .(.U.*
      00000030: 6E 00 73 00 75 00 70 00-70 00 6F 00 72 00 74 00  *n.s.u.p.p.o.r.t.*
      00000040: 65 00 64 00 20 00 6F 00-70 00 74 00 69 00 6F 00  *e.d. .o.p.t.i.o.*
      00000050: 6E 00 29 00 00 00 01 03-18 00 0B 00 00 00 00 B0  *n.).............*
      00000060: 73 1E 00 00 00 00 FF 8F-BA 1E 00 00 00 00 04 06  *s...............*
      00000070: 14 00 B7 D6 7A C5 15 05-A8 40 9D 21 55 16 52 85  *....z....@.!U.R.*
      00000080: 4E 37 7F FF 04 00                                *N7....*
    Variable RT+BS 'Efi:BootOptionSupport' DataSize = 4
      00000000: 03 03 00 00                                      *....*
    Variable NV+RT+BS 'Efi:BootOrder' DataSize = A
      00000000: 02 00 03 00 00 00 04 00-05 00                    *..........*
    Variable RT+BS 'Efi:BootCurrent' DataSize = 2
      00000000: 05 00                                            *..*

    Under Win7 or newer with BootICE 1.3.3.2 > UEFI tab:

    http://reboot.pro/uploads/monthly_12_2019/post-62763-0-92463200-1576988228.png

    If we follow mem command in UEFI Shell, it shows the addresses of Runtime Services, Boot Services:

    Valid EFI Header at Address 000000001FB77018
      --------------------------------------------
      System: Table Structure size 00000078 revision 0002001F
      ConIn (1F061298) ConOut (1DE10C18) StdErr (1F05CD98)
     Console Out on PciRoot(0x0)/Pci(0x7,0x0)/Floppy(0x0)/\/mem.log
      Runtime Services     000000001FB77B98
      Boot Services        000000001FFD4410
      ACPI 2.0 Table       000000001DDDC000
      SMBIOS Table         000000001FB95000

    After boot WinXP 64-bit under UEFI, these tables are still in memory, only the system has no access to them.

×
×
  • Create New...