- Timestamp:
- Oct 15, 2010 12:11:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_Troubleshooting.xml
r32945 r33156 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> 4 4 <chapter id="Troubleshooting"> 5 5 <title>Troubleshooting</title> … … 194 194 <computeroutput>VBOX_GUI_DBG_ENABLED</computeroutput> or 195 195 <computeroutput>VBOX_GUI_DBG_AUTO_SHOW</computeroutput> 196 environment variable to <computeroutput>true</computeroutput> 197 before launching the VirtualBox process. Setting these variables 196 environment variable to <computeroutput>true</computeroutput> 197 before launching the VirtualBox process. Setting these variables 198 198 (only their presence is checked) is effective even when the first 199 VirtualBox process is the VM selector window. VMs subsequently 199 VirtualBox process is the VM selector window. VMs subsequently 200 200 launched from the selector will have the debugger enabled.</para> 201 201 </listitem> 202 202 203 203 <listitem> 204 <para>Set the 205 <computeroutput>GUI/Dbg/Enabled</computeroutput> extra data item to 206 <computeroutput>true</computeroutput> before launching the 207 VM. This can be set globally or on a per VM basis.</para> 208 </listitem> 209 204 <para>Set the <computeroutput>GUI/Dbg/Enabled</computeroutput> 205 extra data item to <computeroutput>true</computeroutput> before 206 launching the VM. This can be set globally or on a per VM 207 basis.</para> 208 </listitem> 210 209 </itemizedlist></para> 211 210 … … 300 299 <para><computeroutput>bc</computeroutput> -- clear a 301 300 breakpoint</para> 301 </listitem> 302 303 <listitem> 304 <para><computeroutput>writecore</computeroutput> -- writes a VM 305 core file to disk, refer <xref linkend="guestcoreformat" /> 306 </para> 302 307 </listitem> 303 308 </itemizedlist></para> … … 398 403 provided can be invaluable.</para> 399 404 </sect2> 405 406 <sect2 id="guestcoreformat"> 407 <title>VM core format</title> 408 409 <para>VirtualBox uses the 64-bit ELF format for its VM core files. The 410 VM core file contain the memory and CPU dumps of the VM and can be 411 useful for debugging your guest OS. The 64-bit ELF object format 412 specficiation can be obtained here: <literal><ulink 413 url="http://www.tkk.fi/Misc/Electronics/faq/vga2rgb/calc.html">http://downloads.openwatcom.org/ftp/devel/docs/elf-64-gen.pdf</ulink></literal>.</para> 414 415 <para>The overall layout of the VM core format is as follows:</para> 416 417 <para><screen>[ ELF 64 Header] 418 [ Program Header, type PT_NOTE ] 419 -> offset to COREDESCRIPTOR 420 [ Program Header, type PT_LOAD ] - one for each contiguous physical memory range 421 -> Memory offset of range 422 -> File offset 423 [ Note Header, type NT_VBOXCORE ] 424 [ COREDESCRIPTOR ] 425 -> Magic 426 -> VM core file version 427 -> VBox version 428 -> Number of vCPUs etc. 429 [ Note Header, type NT_VBOXCPU ] - one for each vCPU 430 [ vCPU 1 Note Header ] 431 [ CPUMCTX - vCPU 1 dump ] 432 [ Additional Notes + Data ] - currently unused 433 [ Memory dump ]</screen></para> 434 435 <para>The memory descriptors contain physical addresses relative to the 436 guest and not virtual addresses. Regions of memory such as MMIO regions 437 are not included in the core file.</para> 438 439 <para>The relevant data structures and definitions can be found in the 440 VirtualBox sources under the following header files: 441 <computeroutput>include/VBox/dbgfcorefmt.h</computeroutput>, 442 <computeroutput>include/VBox/cpumctx.h</computeroutput> and 443 <computeroutput>src/VBox/Runtime/include/internal/ldrELFCommon.h</computeroutput>.</para> 444 445 <para>The VM core file can be inspected using 446 <computeroutput>elfdump</computeroutput> and GNU 447 <computeroutput>readelf</computeroutput> or other similar 448 utilities.</para> 449 </sect2> 400 450 </sect1> 401 451 … … 648 698 for download instructions.</para> 649 699 </sect2> 700 650 701 <sect2> 651 702 <title>Long delays when accessing shared folders</title> 652 <para>The performance for accesses to shared folders from a Windows guest 653 might be decreased due to delays during the resolution of the VirtualBox 654 shared folders name service. To fix these delays, add the following entries 655 to the file 656 <computeroutput>\windows\system32\drivers\etc\lmhosts</computeroutput> 657 of the Windows guest:</para> 658 <screen>255.255.255.255 VBOXSVR #PRE 703 704 <para>The performance for accesses to shared folders from a Windows 705 guest might be decreased due to delays during the resolution of the 706 VirtualBox shared folders name service. To fix these delays, add the 707 following entries to the file 708 <computeroutput>\windows\system32\drivers\etc\lmhosts</computeroutput> 709 of the Windows guest:</para> 710 711 <screen>255.255.255.255 VBOXSVR #PRE 659 712 255.255.255.255 VBOXSRV #PRE</screen> 660 <para>After doing this change, a reboot of the guest is required.</para> 661 < /sect2>662 713 714 <para>After doing this change, a reboot of the guest is required.</para> 715 </sect2> 663 716 </sect1> 664 717 … … 733 786 using the following command lines <screen>VBoxClient --clipboard 734 787 VBoxClient --display 735 VBoxClient --seamless</screen> when your X11 user session is started 736 if you are using a common desktop environment (Gnome, KDE and others).737 If aparticular desktop service is not working correctly, it is worth788 VBoxClient --seamless</screen> when your X11 user session is started if you 789 are using a common desktop environment (Gnome, KDE and others). If a 790 particular desktop service is not working correctly, it is worth 738 791 checking whether the process which should provide it is running.</para> 739 792 … … 1119 1172 <title>VM aborts with out of memory errors on Solaris 10 hosts</title> 1120 1173 1121 <para>32-bit Solaris 10 hosts (bug 1225025) require swap space equal to, or1122 greater than the host's physical memory size. For example, 8 GB physical1123 memory would require at least 8 GB swap. This can be configured during a1124 Solaris 10 install by choosing a 'custom install' and changing the1125 default partitions.</para>1174 <para>32-bit Solaris 10 hosts (bug 1225025) require swap space equal to, 1175 or greater than the host's physical memory size. For example, 8 GB 1176 physical memory would require at least 8 GB swap. This can be configured 1177 during a Solaris 10 install by choosing a 'custom install' and changing 1178 the default partitions.</para> 1126 1179 1127 1180 <note> 1128 1181 <para>This restriction applies only to 32-bit Solaris hosts, 64-bit 1129 1182 hosts are not affected!</para> 1130 1183 </note> 1131 1184
Note:
See TracChangeset
for help on using the changeset viewer.