element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Mini-ITX Hardware Design 3.17 Kernel hang
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 5 replies
  • Subscribers 347 subscribers
  • Views 869 views
  • Users 0 members are here
Related

3.17 Kernel hang

Former Member
Former Member over 10 years ago

Hello,

We are currently running M-ITX platform with modified PCIe root complex design and patched up Linux kernel (2014.4) 3.17 version.

We have a Nvidia GPU sitting in the PCIe slot and lspci shows the device with BARs allocated. When trying to modprobe the kernel module for that specific GPU,it causes the kernel to hang and there's no output on the console. What's the best way to debug the problem?

Please let me know.

Thank you!

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Debugging PCIe drivers in the kernel is an ugly task.  To be efficient, this usually requires special hw tools from manufacturers like ARM (DS-5) or Lauterbach to be able to stop kernel threads while still allowing the rest of the system to run.  Without these you may be stuck with instrumenting the NVidea driver to see if you can narrow down the cause of the issue.  Sounds like loading the driver is causing the problem, so if you have eliminated issues with the devicetree (BARS are allocated correctly, so sounds like this is ok) I would start with printk in that area and go from there.

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    Hello Ron,

    Thank you for that suggestion. Is it not possible to debug using the USB-JTAG module on-board the m-ITX kit along with necessary software tools? If not, would you mind pointing out a recommended solution for Zynq?

    I see some previous posts on the forum where Windriver linux was suggested as a solution for a similar PCIe-GPU problem. Does that still hold? We are looking for a quicker fix if possible without debugging the driver issues.

    In terms of hardware, can 1GB memory connected to PS be a limiting factor for the GPU drivers to load and function efficiently?


    Thank you!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    You can use the Xilinx tools for LInux application debug, but for kernel debug additional hardware is required.  This is generally true of all Linux systems.  Depending on your level of familiarity with the drivers and kernel, the printk option can be quite useful in identifying the problems.  It's a shortcut that can give you insight into the driver operation, and in general one needs to understand exactly which part of the driver function is failing (or most likely waiting for a response from the system, if you don't see the kernel panic) before you can determine what form a solution will take.

    I like the Wind River platform for a couple of reasons.  One, it is a much more complete system that is very good for prototyping and allows you to augment the software system on target quickly and easily using tools like the Smart Package Manager.  The version for the Mini-ITX is built for the PCIe hardware as well.  The kernel and user space are maintained by Wind River, so you can gain access to much more Linux-specific support through their online support.   However, if it comes back in the end to kernel debug, the procedure is the same. 

    You can find links to download the Wind River Pulsar image for the version of Mini-ITX you are using under the Mini-ITX reference designs on this site.  Further documentation for getting started with the platform after booting are found on the Wind River Pulsar site.

    http://www.windriver.com/products/operating-systems/pulsar/

    Scroll down to the bottom where you will see Knowledge Library and click the link for "Learn More".

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Hi h@qdi

    Any luck with getting this board up and running with an NVIDIA GPU? We're just getting started with it.

    Have you looked into running Ubuntu on the board?

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    We recently found an issue with PCIe on Pulsar Linux for the Zynq Mini-ITX.  See the resolution here:

    http://zedboard.org/content/pcie-issue-pulsar-linux-zynq-mini-itx

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube