Hi all!

I am running SXCE 121 on a dual quad-core X2200M2 (64 bit of course).
During an installation of a NetBSD 5.0.1 PVM domU, the entire machine
crashed with a kernel panic.  Here's what I managed to salvage from
the LOM console of the machine:

  Sep  2 18:55:19 glaurung genunix: /xpvd/x...@41,51712 (xdb5) offline
  Sep  2 18:55:19 glaurung genunix: /xpvd/x...@41,51728 (xdb6) offline
  Sep  2 18:55:19 glaurung genunix: /xpvd/x...@41,0 (xnbo3) offline
  Sep  2 18:56:36 glaurung genunix: /xpvd/x...@42,51712 (xdb5) online
  Sep  2 18:56:36 glaurung genunix: /xpvd/x...@42,51728 (xdb6) online
  Sep  2 18:56:37 glaurung genunix: /xpvd/x...@42,0 (xnbo3) online
  Xen panic[dom=0xffff8300defb2080/vcpu=0xffff8300dfcdc080]: Xen BUG at mm.c:101


  ffff828c8024f558 xpv:do_invalid_op+4d1
  ffff828c8024f5f8 xpv:handle_exception+45
  ffff828c8024f6d8 xpv:map_pages_to_xen+471
  ffff828c8024f768 xpv:get_page_from_l1e+464
  ffff828c8024f7c8 xpv:ptwr_emulated_update+142
  ffff828c8024f848 xpv:ptwr_emulated_cmpxchg+a9
  ffff828c8024f878 xpv:x86_emulate+525f
  ffff828c8024fe68 xpv:ptwr_do_page_fault+12e
  ffff828c8024fed8 xpv:do_page_fault+208
  ffff828c8024ff18 xpv:handle_exception+45
  ffffff003e031a90 unix:hati_pte_map+123 ()
  ffffff003e031b10 unix:hati_load_common+15d ()
  ffffff003e031bd0 unix:hat_devload+198 ()
  ffffff003e031c80 xnb:xnb_to_peer+12c ()
  ffffff003e031d40 xnb:xnb_copy_to_peer+64d ()
  ffffff003e031d70 xnbo:xnbo_from_mac+20 ()
  ffffff003e031db0 mac:mac_promisc_dispatch_one+5f ()
  ffffff003e031e10 mac:mac_promisc_client_dispatch+8c ()
  ffffff003e031e90 mac:mac_rx_srs_drain+117 ()
  ffffff003e031f20 mac:mac_rx_srs_process+1db ()
  ffffff003e032010 mac:mac_tx_send+519 ()
  ffffff003e032080 mac:mac_tx_single_ring_mode+f4 ()
  ffffff003e032110 mac:mac_tx+302 ()
  ffffff003e032170 dld:str_mdata_fastpath_put+a4 ()
  ffffff003e032270 ip:udp_xmit+806 ()
  ffffff003e032310 ip:udp_send_data+3b3 ()
  ffffff003e032470 ip:udp_output_v4+9f9 ()
  ffffff003e0324f0 ip:udp_send_not_connected+eb ()
  ffffff003e032550 ip:udp_wput+fe ()
  ffffff003e0325c0 unix:putnext+21e ()
  ffffff003e032600 rpcmod:rpcmodwput+9b ()
  ffffff003e032620 rpcmod:rmm_wput+1e ()
  ffffff003e032690 unix:put+1aa ()
  ffffff003e0326f0 rpcmod:svc_clts_ksend+1da ()
  ffffff003e032770 rpcmod:svc_sendreply+56 ()
  ffffff003e032a70 nfssrv:common_dispatch+6b2 ()
  ffffff003e032a90 nfssrv:rfs_dispatch+2d ()
  ffffff003e032b70 rpcmod:svc_getreq+19c ()
  ffffff003e032bd0 rpcmod:svc_run+16b ()
  ffffff003e032c00 rpcmod:svc_do_run+81 ()
  ffffff003e032ec0 nfs:nfssys+765 ()
  ffffff003e032f10 unix:brand_sys_syscall32+1cd ()

  syncing file systems... done
  dumping to /dev/zvol/dsk/BOOTDISK/dump, offset 65536, content: kernel

  panic[cpu0]/thread=ffffff08e137bc20: Illegally issued hypercall 2 during 
panic!

  dump aborted: please record the above information!


Here is the XML file I have used to "virsh define" the domain:

  <domain type='xen'>
    <name>nbsd-01</name>
    <uuid>4a872c6d-cb4c-431c-6899-8e925bbc2001</uuid>
    <memory>1048576</memory>
    <currentMemory>1048576</currentMemory>
    <vcpu>1</vcpu>
    <bootloader></bootloader>
    <os>
      <type>linux</type>
      <kernel>/var/tmp/netbsd.gz</kernel>
      <initrd>/var/tmp/install.fs</initrd>
    </os>
    <clock offset='localtime'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>destroy</on_reboot>
    <on_crash>destroy</on_crash>
    <distro>
      <type>unix</type>
      <variant>openbsd4</variant>
    </distro>
    <devices>
      <disk type='block' device='disk'>
        <driver name='phy'/>
        <source dev='/dev/zvol/dsk/DATADISK/vol-nbsd-01'/>
        <target dev='xvda' bus='xen'/>
      </disk>
      <disk type='file' device='cdrom'>
        <driver name='file'/>
        <source file='/xvm/img/amd64cd-5.0.1.iso'/>
        <target dev='xvdb' bus='xen'/>
        <readonly/>
      </disk>
      <interface type='bridge'>
        <mac address='00:bb:c0:00:20:01'/>
        <source bridge='public0'/>
        <script path='/usr/lib/xen/scripts/vif-vnic'/>
      </interface>
      <console type='pty'>
        <target port='0'/>
      </console>
    </devices>
  </domain>

(HTML entities inserted for the poor forum readers :-)

Note that even though I had the NetBSD install ISO specified as a disk,
I ended up running the actual installation via NFS because the names
on the image would not map correctly (some RockRidge problem I guess).

In /var/log/xen/xend.log I see only INFO and DEBUG messages dating
from before the panic.  The crash occurred during unpacking of the
distribution sets (.tar.gz) via NFS3 from localhost:/tmp.

Has anyone seen this crash before?  What could I do to keep the box
from crashing while I continue my experiments?


Thanks -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt                  Consulting and Support for Sun Solaris
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim                     Email: [email protected]
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 45
Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to