WANTED: nvme(4) driver testing on MP systems on -current

2016-09-21 Thread Jaromír Doleček
Hello, NVMe driver in NetBSD-current was recently tweaked to fix several MP and locking issues, and the driver is now marked as MPSAFE by default. Most of this work was done on emulators since I lack the the hardware, so it's not clear if everything would work properly on real systems too. Anyon

RE: WANTED: nvme(4) driver testing on MP systems on -current

2016-09-23 Thread Derrick Lobo
I have the hardware and can test this out on amd -Original Message- From: port-i386-ow...@netbsd.org [mailto:port-i386-ow...@netbsd.org] On Behalf Of Jaromír Dole?ek Sent: Wednesday, September 21, 2016 4:54 PM To: current-users@netbsd.org Subject: WANTED: nvme(4) driver testing on MP

Re: WANTED: nvme(4) driver testing on MP systems on -current

2016-10-18 Thread Masanobu SAITOH
On 2016/09/22 5:54, Jaromír Doleček wrote: Hello, NVMe driver in NetBSD-current was recently tweaked to fix several MP and locking issues, and the driver is now marked as MPSAFE by default. Most of this work was done on emulators since I lack the the hardware, so it's not clear if everything wo

Re: WANTED: nvme(4) driver testing on MP systems on -current

2016-10-18 Thread Jaromír Doleček
Hey, thank you. This iostat_unbusy panic is typical symptom of the current MP issues, the command completion queue gets corrupted, and nvme_q_complete() delivers some commands twice. It causes either this panic (due to duplicate lddone() for stale buf), or a random kernel crash. I've been working

Re: WANTED: nvme(4) driver testing on MP systems on -current

2016-10-20 Thread Jaromír Doleček
I've now committed my fixes for NVMe driver, should be more stable now, give it a try. With those fixes, the driver works without any problem, even under fairly heavy i/o load, when nvme.c and ld_nvme.c is compiled with -O0, on both virtual and real MP machine. -O2 kernel works also on virtual mac

Re: WANTED: nvme(4) driver testing on MP systems on -current

2016-10-20 Thread Thor Lancelot Simon
On Thu, Oct 20, 2016 at 11:09:02PM +0200, Jarom??r Dole??ek wrote: > I've now committed my fixes for NVMe driver, should be more stable > now, give it a try. > > With those fixes, the driver works without any problem, even under > fairly heavy i/o load, when nvme.c and ld_nvme.c is compiled with -

Re: WANTED: nvme(4) driver testing on MP systems on -current

2016-10-22 Thread Chavdar Ivanov
VirtualBox On Fri, 21 Oct 2016, 04:17 Thor Lancelot Simon, wrote: > On Thu, Oct 20, 2016 at 11:09:02PM +0200, Jarom??r Dole??ek wrote: > > I've now committed my fixes for NVMe driver, should be more stable > > now, give it a try. > > > > With those fixes, the driver works without any problem, ev