LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-01-2018, 12:39 AM   #1
diya26
LQ Newbie
 
Registered: Jul 2015
Posts: 13

Rep: Reputation: Disabled
How to overcome PCI SERR Error ?


Hi,

Working in FPGA based Audio Codec which is connected to Xeon Processor through PCI bus directly i.e., no PCIe switch in-between. Integrating on REDHAT-7.3.

When trying to perform DMA transfer using FPGA DMA from Xeon memory to FPGA, processor pop-up SERR error and all device in PCI bus get to hang. I am not able to get any crash log to probe further. Need to restart or reboot the whole system to initiate transfers.

Any idea why this SERR error pop-up during transfers and how to overcome?
 
Old 11-01-2018, 01:36 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,791

Rep: Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674
Tricky. That's a job for diagnostics with advanced equipment, and a thorough knowledge of PCs. We are being asked with no circuit, no machinery, etc.

My first advice is: Don't do dma if you can avoid it. Audio data isn't that massive that you need to risk the wrath of Machinery by attempting it. In my mind, DMA was fine in the days of Z80s and suchlike but becomes increasingly impractical in today's high speed boxes. Old style DMA on single tasking cpu's could effectively 'pause' the one running program, write one memory into another, and then 'restart' the cpu. The engineer had direct access to the cpu databus. No such luck with a multiprocess multicore Xeon, I imagine.

Now the bottleneck I see is the pci interface, and your dma is limited to the 33/66/?? Mhz that your interface does. Even your fpga should write that fast. The advantage of DMA as I know it is lost. Is your pci card on a system clock or it's own clock?

I imagine your errors will be in speeds, and synchronization. And even if you get that working on one setup, will it sing on another wildly different one?
 
  


Reply

Tags
linux kernels


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Can Lawyers 'Overcome' The Bogus Copyright On 'We Shall Overcome' And Free It To The Public Domain? LXer Syndicated Linux News 0 04-17-2016 08:45 AM
overcome the error desiretolearn Linux - Newbie 5 02-03-2014 06:17 AM
How to overcome the following error? arungpillai09054 Programming 6 04-23-2013 02:48 AM
How to overcome the following error? arungpillai09054 Linux - Newbie 3 04-19-2013 03:22 PM
imp...!grub error 23 how to overcome farhan Linux - General 0 03-11-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration