Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you encounter problems you don't see solutions for on this page, navigate to the Xilinx Developer Forums for additional help.

Kernel call traces

When running Linux on top of Dom0, Linux can go in kernel panic due to insufficient memory for dom0. Example:

Code Block
[   12.747244]  dump_backtrace+0x0/0x190
[   12.747750]  show_stack+0x18/0x30
[   12.748176]  dump_stack+0xd4/0x110
[   12.748530]  dump_header+0x48/0x1e8
[   12.748902]  out_of_memory+0x2c4/0x310
[   12.749289]  __alloc_pages_nodemask+0x72c/0xc64

Solution

Increase the dom0 allocated memory. Check xen_boot_tftp.source or xen_boot_sd.source relevant file and see “dom0_mem=1G”, increase this memory appropriately to > 1G. Save the file and recreate the xen_boot_tftp.scr using below command:

...

Reboot the machine with latest scripts.

Xen ethernet passthrough failures

When creating a new DomU using example-passnet.cfg file. If DomU create fails like below example:

Code Block
xl create -c xl create -c /etc/xen/example-passnet.cfg
ERROR:
Parsing config from /etc/xen/example-passnet.cfg
(XEN) memory_map:fail: dom1 gfn=ff0e0 mfn=ff0e0 nr=1 ret:-38

Solution

Update the xen.dts file as per instruction from Starting Linux guests with Pass-through networking page and re-boot the machine(dom0) and then create DomUs.

...