• Joined on 2024-07-22
ramenu commented on issue GSoC/kolibrios-nvme-driver#5 2024-09-13 02:28:17 +02:00
Shutdown Freezes System

Hello again, @ramenu! It's been a long time, but finally I am here. And if it is still actual, here are results of testing latest driver version (commit c2ee9ee16d).

  • In VirtualBox,…
ramenu commented on issue GSoC/kolibrios-nvme-driver#5 2024-08-31 14:37:50 +02:00
Shutdown Freezes System

@Burer, no worries. I knew you were busy, take your time. :)

And I received your email. I'll reply in a short bit, you'll get it from a different email though so check if it goes to spam.

ramenu commented on issue GSoC/kolibrios-nvme-driver#7 2024-08-26 23:56:32 +02:00
File Corruption?

Mostly fixed in 3d95901b65 but there's still a few files causing problems.

ramenu commented on issue GSoC/kolibrios-nvme-driver#5 2024-08-26 23:28:27 +02:00
Shutdown Freezes System

@Burer, you mentioned that it freezes on startup in VMWare right? For some reason, I'm also getting this issue when disabling debug logs on screen. It's weird.

ramenu commented on issue GSoC/kolibrios-nvme-driver#7 2024-08-26 19:16:08 +02:00
File Corruption?

Aha! So it looks like if you pass a page-aligned buffer then PRP2 allocates successfully and no problems occur. However, if a unaligned buffer is used, then it doesn't. So there's a problem with…

ramenu commented on pull request KolibriOS/kolibrios#91 2024-08-26 18:36:46 +02:00
WIP: feat: add NVMe driver

Nevermind, there's another nasty bug I found which only happens under certain circumstances, see GSoC/kolibrios-nvme-driver#7.

ramenu commented on issue GSoC/kolibrios-nvme-driver#7 2024-08-26 18:36:32 +02:00
File Corruption?

It seems like this issue always occurs for files between 4KiB and 8Kib. Files below and above that seem to be fine. So it's possible this has to do a bug with allocating a PRP entry for PRP2.

ramenu commented on issue GSoC/kolibrios-nvme-driver#7 2024-08-26 18:15:11 +02:00
File Corruption?

Ok, there's definitely something weird going on. This has happened on more than one occasion. Both on QEMU and Virtualbox, however it's random.

I don't know why exactly this happens, especially…

ramenu pushed to main at ramenu/kolibrios 2024-08-23 18:35:44 +02:00
011e55907f NVMe: shutdown all controllers and fix IRQ handler
088dbaed5f NVMe: add TODO comment suggested by @sdongles
5f4fc14007 NVMe: remove macros.inc
Compare 3 commits »
ramenu commented on pull request KolibriOS/kolibrios#91 2024-08-23 14:22:27 +02:00
WIP: feat: add NVMe driver

@sdongles, I found a ugly bug prior to line 1290 which will cause the system to freeze if there's more than one NVMe device registered in the system. I'll add a fix for this later today. Thank you…

ramenu commented on pull request KolibriOS/kolibrios#91 2024-08-23 13:45:49 +02:00
WIP: feat: add NVMe driver

You decided to leave the spinlock mechanism. It is not a problem. But can you add some to-do comments about replacing it and why we need to do it later? Also, what problem did you face trying to…

ramenu pushed to main at ramenu/kolibrios 2024-08-21 19:40:02 +02:00
0aace3dc73 apply fixes mentioned by @Sweetbread and @Doczom
ramenu commented on pull request KolibriOS/kolibrios#91 2024-08-21 19:09:24 +02:00
WIP: feat: add NVMe driver

You still have TODO comments. Will they be implemented? Also, I don't think it's worth to add special vim comments

Most of the TODO comments are just future enhancements. The TODO comment…

ramenu created pull request KolibriOS/kolibrios#91 2024-08-21 17:26:47 +02:00
feat: add NVMe driver
ramenu pushed to main at ramenu/kolibrios 2024-08-21 17:05:45 +02:00
d4441724ce feat: add NVMe driver
ramenu created repository ramenu/kolibrios 2024-08-20 13:33:38 +02:00
ramenu commented on issue GSoC/kolibrios-nvme-driver#5 2024-08-20 13:29:42 +02:00
Shutdown Freezes System

@ramenu, got it, just want to say, that there is nothing to be sorry about, if you are not active on it. VMWare website for some reason throws server errors when trying to download it for last…

ramenu commented on issue GSoC/kolibrios-nvme-driver#5 2024-08-20 13:17:23 +02:00
Shutdown Freezes System

@Burer, I'll try and download VMWare today and see what I can do. :) That being said, were there any other issues you discovered in your testing? Does read/write work okay? No crashes or freezing?…

ramenu commented on issue GSoC/kolibrios-nvme-driver#5 2024-08-19 13:39:17 +02:00
Shutdown Freezes System

@Burer, don't get me wrong. I'm still interested in making it work on VMWare. It's just difficult to work on until I install it.

And by automatically updating the image I mean having the…

ramenu commented on issue GSoC/kolibrios-nvme-driver#5 2024-08-18 18:27:54 +02:00
Shutdown Freezes System

Also, I'm going to remove the image from the repository as its using quite a bit of storage space and git isn't really suitable for this kind of thing, so I'll edit the Makefile later to…