Jump to content











Photo
- - - - -

Community OFA NVMe 1.5 Storport Miniport for Windows Server 2003 R2 SP2

nvme ofa storport 2003

  • Please log in to reply
327 replies to this topic

#201 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15537 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 30 March 2019 - 07:18 PM

After copy, disconnect your harddisk from compi before first boot from nvme!

In other case, strange things happen, because XP sees now 2 identic drives,

Or.- maybe more simple :unsure: - change disk signature of the NVME device and change accordingly the contents of the HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices in the Registry on the nvme.

 

:duff:

Wonko



#202 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 30 March 2019 - 07:25 PM

storeport.sys file will install/copy itself automaticly to Windows or driver folder when I run that KB patch (on newly installed WinXP), or do I need to do something else to run it (since it's patch for Windows Server) ?

I'm asking because I don't see that file anywhere...


Edited by agent_x007, 30 March 2019 - 07:57 PM.


#203 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 30 March 2019 - 07:43 PM

I cant upload storport.sys here.

Do you have an email adress?

Dietmar



#204 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 30 March 2019 - 07:57 PM

Google drive ?



#205 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 31 March 2019 - 01:59 AM

Progress : 
P5hD5by.png

:D

 

Now to load ntdlr/boot.ini from Windows 10 x64 BCD or by using Clover (w/NTFS.efi and Legacy boot options).


Edited by agent_x007, 31 March 2019 - 01:59 AM.


#206 Blackcrack

Blackcrack

    Frequent Member

  • Advanced user
  • 438 posts
  •  
    Germany

Posted 31 March 2019 - 06:20 AM

is this under gpl2 ? why i ask, maybe implementing in reactos ?

just so an idea .. or ask the project owner to set the sources under gpl2 ...



#207 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 31 March 2019 - 09:57 AM

@agent_x007,

I am happy, that it works for you also!

Can you please describe step by step, how you did it?

When you put Win10 on another disk,

you can chose via boot menue,

which OS to start,

Dietmar



#208 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 31 March 2019 - 10:55 AM

Stages so far :
1) Create a bootable/working Windows XP environment on modern hardware (ie. standard SATA drive and with standard installation)
^This proved quite challenging, since I had to enable IDE Enhanced mode and disable almost all USB ports to make it work.
USB ports were quite extreme, but I wanted to avoid "7B BSOD" at all costs (CD loading stuff takes SOO LOOONG).
Notes :
When I tried adding drivers via USB floppy drive to Windows installation (F6 key), I got this : "You can't use this install disk  because installer isn't detecting previous Windows installation on this computer, please insert Windows 2000/NT/98/95 or 3.1 install disk into CD if you want to proceed further" - type of error. I got it on both USB and CD installation.
I did burn Win98 disk to check what it does, and installation went to selecting drive stage, however after that I got "not enough memory to install Windows" error, a.k.a. "back to square".

 

After this, I downloaded custom SP3 installtion (with most drivers and stuff already integrated), and burn that on another CD (I have cake of 50 empty CDs, which I had lying around ;))

That installed properly, and I could proceed to next step.
Side note : I used 64GB SATA Intel SSD as "test drive" for this install (I formatted it on Win10 with default settings as 64GB NTFS drive). Drive model : X25-E.
 

2) Add NVMe drives and install them on WinXP
I added two NVMe drives to my PC : Samsung SM961 NVMe 256GB with working Windows 10 x64 (GPT drive) and 32GB Optane module (MBR).
Then selected NVMe OFE (nvme.ini/nvme.sys) files you provided as drivers for them.

Not sure if storeport.sys was used at this point (?)

Just to be clear : Screenshot from earlier was done after NVMe driver was installed and XP rebooted from SATA drive.
GPT drive is NOT usable under Windows XP x86 SP3 I used (it's visible in device manager, but not accessable).
I'm added it for convenience when doing next step.

3) Copying Windows XP partition to Optane
As suggested I used free version of AOMEI Partition Assistant (on Windows 10), to copy partition.
I didn't know how much space it uses, so I let it install on 64GB partition, and then I used Windows 10 build-in drive utility to decrease it's size.
This way, my Windows XP partition was slightly over 3GB in size, and I could fit it on Optane with 1:1 copy option :)

There was option to "optimise partition for SSD" which I checked :

ZCVqWoM.png

I think it does "2048 sector" tweak automaticly (?)
Either way, after it was done, I checked allignment with AS SSD Benchmark (still under Win10), and was pleased to see "1024 kB - OK" text.
At this point everything is done, and only one more step is left...
 

3) Booting NVMe Windows XP

Just to be clear : I did NOT successfully booted my Windows XP from NVMe drive yet at this point.
Optane drive isn't recognized as available boot option under UEFI/BIOS - board "needs" UEFI booting for NVMe drives to show up, and that means in Windows terms, a GPT style drive - my Windows XP doesn't have that.
At this point I managed to make it visible under Clover (using NTFS.efi file and LegacyBoot set to "2" instead of "0").
However it hangs on "_" with no signes on going further :(
 

Now I'm trying to add Windows XP as boot option under Windows 10 install.

And this is point at which I'm at right now :D
I disabled "Metro", and turned on Windows select boot list.
Forgot to add : EasyBCD editing will not work in my case, because under my Win10 it assumes "EFI" booting of any operating system (ie. it tries to load winload.efi file on Windows XP drive... which doesn't exists).
And system type select option is greyed out :
6pOzVic.png

Here's a though :
Maybe I could copy boot partition from Windows 10 (UEFI one) onto my MBR drive, and edit that to boot my Windows XP directly ?
Because, from what I understand, UEFI boards don't NEED GPT drive per se, but only need EFI boot files located on hidden EFI partition (which is created by Windows 7/8/10 installer during installation stage on any GPT style drive).


Edited by agent_x007, 31 March 2019 - 11:22 AM.


#209 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 31 March 2019 - 11:18 AM

I just see, that on Asus webside the x79 Sabertooth Bios has no support for nvme.

But the x79 deluxe Bios 4805 has.

So, with some risk you can make a try to flash X79-DELUXE-ASUS-4805.CAP

to the x79 Sabertooth board. This Bios has full nvme support and works with XP

for nvme boot. There is a Bios 4804 for x79 Sabertooth, but it has only nvme support for Win10.

 

BUT do this only if you are sure, that you can backflash to the old Bios!!!

 

I got crazy situations, that compi does not do anything after an operation like that!

In some cases CMOS reset helps, but not always. In other case, you have to desolder the Bios chip.

 

So, it is a big risk

Dietmar



#210 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 31 March 2019 - 11:28 AM

My board has USB Bios Flashback :
It can update BIOS without CPU/RAM installed, so I should be good even if with "bad flash" happends.
Still : I already patched my UEFI with NVMe booting (I used NvmExpressDxe_4.ffs) ? 
That's how I use SM961 drive in my PC.

How can I get .ffs that Windows XP needs (or is it the same one I used) ?
I would prefered to extract the stuff I need from Deluxe BIOS, and simply mod my own UEFI BIOS to support NVMe XP boot.


Edited by agent_x007, 31 March 2019 - 11:35 AM.


#211 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 31 March 2019 - 11:36 AM

Until now, I do not get that to work.

The Bios needs NVMEint13.

This you can check with UEFI tool.

But this is not enough.

The whole Bios with legacy nvme support

is other than Bios without nvme

Dietmar

 

PS: NvmExpressDxe_4 works ONLY for Win10, no chance for legacy, even not Win7.

 

EDIT: On hardwarebot forum a member told, that even with BIOS flashback he crashes his board!!!

 

EDIT2: You can use the s4e methode. This boots XP from nvme as long as the board has an PCIE connector.



#212 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 31 March 2019 - 12:20 PM

I see, that x79 Sabertooth board has Winbond Bios chip on socket.

So, you can give it a try

 

Dietmar



#213 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 31 March 2019 - 12:52 PM

No. It only has one.

I'm trying to use stuff from Deluxe BIOS and see what sticks.
Modules added so far :
nvme.ffs

nvmeint13.ffs
nvmesmm.ffs

and I replaced NTFS.ffs (this one was twice the size on Deluxe vs. Sabertooth)

I didn't delete NvmExpressDxe_4.ffs
Sadly, so far no luck :(

I may have to replace CSM module (on Deluxe is smaller though).


Edited by agent_x007, 31 March 2019 - 12:54 PM.


#214 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 31 March 2019 - 01:03 PM

@agent_x007,

I tried the same and Fernando also.

It does not work.

Only chance is Bios with native full nvme support

Dietmar



#215 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15537 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 31 March 2019 - 01:23 PM

@agent_x007

 

If I were you I would try a "XP Kansas City Shuffle" or "fake signature method".

Some reference:

https://web.archive....showtopic=21242

http://reboot.pro/to...method-creator/

 

And re-mentioned around here:

http://reboot.pro/to...2-sp2/?p=207380

 

Files added here:

http://reboot.pro/to...2-sp2/?p=207270

 

There is a later version of the cdob's Winbuilder script, I just uploaded it to here, should you need it:

https://www.filedrop...om/chainbootxp2

 

 

:duff:

Wonko



#216 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 31 March 2019 - 01:50 PM

@Jaclaz

@agent_x007

 

The easiest way for s4e ("XP Kansas City Shuffle") is:

Copy bit by bit with Winhex the XP from your nvme device to an USB stick.

Now the magic happens:

When you boot from the USB stick,

it has the same signature and everything else exact like the nvme disk.

During boot the USB stick lost contact because no USB drivers there

and takes the nvme disk,

really cool

Dietmar



#217 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 31 March 2019 - 11:08 PM

I just installed XP SP3 on

EVGA Z390 DARK motherboard with full ACPI support

on 32 GB Optane nvme drive.

This is the fastest operating system,

that I ever had

Dietmar

 

PS: Boottime is 4 sec.

 

6dac46-1554076683.jpg



#218 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 02 April 2019 - 08:30 PM

XP SP3 with all updates April 2019 from posready

on Intel Optane 905 P,

nice,

Dietmar

 

cc4f0c-1554236983.jpg



#219 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 03 April 2019 - 05:35 PM

And now XP SP3 on EVGA dark motherboard,

this is really fast

Dietmar

 

2f27aa-1554312807.jpg



#220 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 06 April 2019 - 02:59 PM

I know, why I love XP :)

 

Optane 905P on XP

c2fe94-1554562707.jpg

 

Optane 905P on Win10

d2b2cc-1554562764.jpg

 

 

Dietmar

 

EDIT: I just see, that the versions of CristalDiskMark are different 5 for XP and 6 for Win10.



#221 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 06 April 2019 - 04:34 PM

You aren't testing them on the same version...
Also, you could try AS SSD Benchmark or Anvil's benchmark, or ATTO (for max. throughput).



#222 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 06 April 2019 - 04:40 PM

@agent_x007

 

Yes, I just see it and I am sorry for this.

I thought, that I installed the same version but for Win10

it installs automatically version 6.

 

I just ordered a Sabertooth x79 board

and soon I will install there the Bios from the Asus x79 Deluxe board.

Those Bios are nearly identic,

so I hope for the best for nvme boot :)

Dietmar

 

 

#223 agent_x007

agent_x007

    Newbie

  • Members
  • 23 posts
  •  
    Poland

Posted 06 April 2019 - 04:45 PM

I should add, that my Sabertooth X79 doesn't like MSI R9 280X Gaming 6GB I bought recently (no VGA error ?).
280X works in old S939 board, and X79 doesn't have any issues with other recent GPUs as well.

Just wanted to warn about it, since you are going to be using it.

Good luck with Legacy NVMe booting  :thumbup:


Edited by agent_x007, 06 April 2019 - 04:48 PM.


#224 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 06 April 2019 - 05:01 PM

Here is Win10 with the version 5 CristalDiskMark.

47b532-1554570071.jpg

 

Win10 is on Optane 905P only half as bad ^_^

as I thought

 

Dietmar



#225 Dietmar

Dietmar

    Frequent Member

  • Advanced user
  • 237 posts
  •  
    Afghanistan

Posted 07 April 2019 - 10:19 PM

Oha,
I just noticed, that the timer in the original XP Bios from EVGA for the z390 dark motherboard not works.
And also compi stays always in C0 state, brrr.
And the most crazy thing: This happens also in Win10, power consumption on 9900k always about 27 Watt..

Now I chance all against my modified

acpi.sys
hal.dll
intelppm.sys

and all is nice:
Full ACPI support with Hyperthreading, Timer works, powerconsumption on 9900k about 2 Watt:)).

This simple means,
we, Mov AX, 0xDEAD and me Dietmar
are better :)
Dietmar

 

PS: XP SP3 on 9900k at 5.100 GHZ

 

935f34-1554677475.jpg






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users