Tuesday, June 01, 2010

rBuilder 4.1.2 on Dell R710- fails to Boot with Kernel Panic

rBuilder 4.1.2 on dell R710 with 24 GB memory fails to boot with kernel Panic after installation.

Error seems to be because of swiotlb initialization failure.

http://lists.xensource.com/archives/html/xen-devel/2007-11/msg00887.html

From above mail archive.
< mail archive >
Have you assigned any physical devices to this domU? If not then it is not allowed to request contiguous multi-page allocations, and this will cause swiotlb initialization to fail (and hence panic the kernel). If you do not assign any physical devices to the domU then there is no point in it having a swiotlb anyway
< mail archive >

Extract from the console log
< error >
.................
......................
...........................
Kernel panic - not syncing: No suitable physical memory available for SWIOTLB buffer!
Use dom0_mem Xen boot parameter to reserve
some DMA memory (e.g., dom0_mem=-128M).
...
.....
< /error >

Solution which worked for me.

Default installation of rbuilder4.1.2 on dell R710 have a kernel parameter "dom0_mem=2048MB" which when changed to dom0_mem=512MB made xen kernel to boot properly.

One needs to enter into edit mode at grub itself otherwise system will keep booting and rebooting in cycles.

After first boot edit /etc/grub.conf file with the kernel parameter as dom0_mem=512MB.

cheers,
make world open.