Error while detecting PCIe

Post Reply
gunjae
Posts: 10
Joined: Fri May 26, 2017 6:58 pm

Error while detecting PCIe

Post by gunjae » Thu Jun 01, 2017 12:42 am

Hello,

I programmed FPGA and launched the firmware on the hardware.
I was able to see "Turn on the host PC" message and turned it on.

Followings are messages from the firmware.

PCIe Link: 1
PCIe Bus Master: 1
PCIe Bus Master: 0
PCIe Bus Master: 1
NVME CC.EN: 1

NVMe ready!!
num_of_queue 10001
Set Feature FID:7
Done Admin Command OPC: 9
CI:0, CB259018, 0, CB25A000


error in ../src/nvme/nvme_admin_cmd.c: Line 309
NVME CC.EN: 0
PCIe IRQ Disable:0
PCIe MSI Enable: 1, 0x0
PCIe MSI Enable: 0, 0x0
PCIe IRQ Disable:1
PCIe Bus Master:0

----------------------

On the host machine, the OpenSSD is detected when I checked with "lspci"
but nvme device is not shown under /dev folder

Can anyone guess what the issue is?

Thanks.
----------------------------------------
Gunjae Koo
Assistant Professor
School of Electronics and Electrical Engineering
Hongik University
Homepage: http://gunjaekoo.com
-----------------------------------------------------------------

gunjae
Posts: 10
Joined: Fri May 26, 2017 6:58 pm

Re: Error while detecting PCIe

Post by gunjae » Thu Jun 01, 2017 12:42 am

It looks like it is because the mainboard used for the host machine is not compatible with OpenSSD.
When I used the somewhat old generation board (e.g. Intel P67 or H67 chip is equipped), not error like "line 309" doesn't appear. Also I found the tested boards appearing on the tutorial slides are also kind of "old generation"
(I tested with Ubuntu 14.04 and Ubuntu 16.04. I need linux OSes for research)

Can anyone list the good host machine boards working fine with OpenSSD?
----------------------------------------
Gunjae Koo
Assistant Professor
School of Electronics and Electrical Engineering
Hongik University
Homepage: http://gunjaekoo.com
-----------------------------------------------------------------

SangjinLee
Posts: 4
Joined: Thu Mar 30, 2017 9:24 am

Re: Error while detecting PCIe

Post by SangjinLee » Thu Jun 01, 2017 4:17 am

Dear Gunjae,

You could find the list on Cosmos+ 2017 tutorial (page 56).

And could I request a test and a result with comment out the line, /src/nvme/nvme_admin_cmd.c: Line 309?

As issued on github repo, Cosmos+ NVMe controller has 4-byte addressing (for host) problem.
The problem is coverable by update firmware for temporary measure.
FIxed firmware is under verification.
We'll upload the firmware by early next week.

Regards,
Sangjin Lee

gunjae
Posts: 10
Joined: Fri May 26, 2017 6:58 pm

Re: Error while detecting PCIe

Post by gunjae » Mon Jun 12, 2017 11:29 pm

Dear Sangjin,

I appreciate your team's effort for the new firmware.
Will the new firmware code be very different from the current one? I am going to analyze and develop our code based on the current code, but if the changes are huge I'm afraid porting to the new version may be tough.
----------------------------------------
Gunjae Koo
Assistant Professor
School of Electronics and Electrical Engineering
Hongik University
Homepage: http://gunjaekoo.com
-----------------------------------------------------------------

changye
Posts: 3
Joined: Thu Oct 26, 2017 5:29 am

Re: Error while detecting PCIe

Post by changye » Mon Dec 04, 2017 5:45 am

Hi Sangjin,

I have download the latest firmware(2.7.1.d), but the 4-byte addressing problem still exists.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest