Menu

#186 OpenSolaris 64bit panic with kvm-54

closed
nobody
None
3
2012-10-09
2007-11-30
No

Wouldn't mark it as a regression per-se as vanilla kvm-53 wouldn't work (because of the need for IDE patches to get it to run/install), but vanilla kvm-54 or kvm-54 + the same patches added to kvm-53 and including pre-kvm-55 patches like 71be592a14aa8d127315b2c47bf83cc0d810a341 wouldn't work.

The panic is observed in kvm-54 (--no-kvm runs ok, and --no-kvm-irqchip doesn't help) while running nexenta OpenSolaris alpha 7 or beta 1 (other OpenSolaris distributions most likely affected as well) and with the following trace :

panic[cpu0]/thread=fffffffec2de2260: BAD TRAP: type=e (#pf Page fault) rp=ffffff0001735f30 addr=0 occurred in module "unix" due to a NULL pointer dereference

dbus: #pf Page fault
Bad kernel fault at addr=0x0
pid=278, pc=0xfffffffffb83c189, sp=0xffffff0001736028, eflags=0x10246
cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 6b8<xmme,fxsr,pge,pae,pse,de>
cr2: 0 cr3: 7dc4000 cr8: 0
rdi: 0 rsi: fffffffec0025630 rdx: fffffffec2de2260
rcx: 10000 r8: fffffffec0025630 r9: 3
rax: 0 rbx: 0 rbp: ffffff0001736080
r10: 1 r11: fffffffec1ad31e0 r12: 0
r13: fffffffec0025680 r14: c002548800000000 r15: 0
fsb: 0 gsb: fffffffffbc26ef0 ds: 4b
es: 4b fs: 0 gs: 1c3
trp: e err: 0 rip: fffffffffb83c189
cs: 30 rfl: 10246 rsp: ffffff0001736028
ss: 38

ffffff0001735e10 unix:die+c8 ()
ffffff0001735f20 unix:trap+135b ()
ffffff0001735f30 unix:cmntrap+e9 ()
ffffff0001736080 unix:mutex_exit+9 ()
ffffff00017360c0 genunix:kmem_alloc+88 ()
ffffff0001736110 zfs:zio_push_transform+3a ()
ffffff0001736190 zfs:zio_create+256 ()
ffffff0001736240 zfs:zio_vdev_child_io+97 ()
ffffff0001736320 zfs:vdev_cache_read+182 ()
ffffff0001736370 zfs:vdev_disk_io_start+41 ()
ffffff0001736390 zfs:vdev_io_start+1d ()
ffffff00017363d0 zfs:zio_vdev_io_start+123 ()
ffffff00017363f0 zfs:zio_next_stage_async+bb ()
ffffff0001736410 zfs:zio_nowait+11 ()
ffffff0001736450 zfs:vdev_mirror_io_start+18f ()
ffffff0001736490 zfs:zio_vdev_io_start+131 ()
ffffff00017364b0 zfs:zio_next_stage+b3 ()
ffffff00017364e0 zfs:zio_ready+10e ()
ffffff0001736500 zfs:zio_next_stage+b3 ()
ffffff0001736550 zfs:zio_wait_for_children+5d ()
ffffff0001736570 zfs:zio_wait_children_ready+20 ()
ffffff0001736590 zfs:zio_next_stage_async+bb ()
ffffff00017365b0 zfs:zio_nowait+11 ()
ffffff0001736660 zfs:arc_read+4e8 ()
ffffff0001736700 zfs:dbuf_read_impl+129 ()
ffffff0001736760 zfs:dbuf_read+c5 ()
ffffff0001736810 zfs:dmu_buf_hold_array_by_dnode+1c4 ()
ffffff00017368a0 zfs:dmu_buf_hold_array+74 ()
ffffff0001736930 zfs:dmu_read_uio+4d ()
ffffff00017369c0 zfs:zfs_read+15e ()
ffffff0001736a30 genunix:fop_read+69 ()
ffffff0001736af0 genunix:vn_rdwr+161 ()
ffffff0001736c70 genunix:gexec+11c ()
ffffff0001736e90 genunix:exec_common+41d ()
ffffff0001736ec0 genunix:exece+1b ()
ffffff0001736f10 unix:brand_sys_sysenter+1f2 ()

while running in a Gentoo Linux 2007.0 host with Intel(R) Core(TM)2 CPU 6320.

32bit OpenSolaris works fine

Discussion

  • Carlo Marcelo Arenas Belon

    Logged In: YES
    user_id=36771
    Originator: YES

    kvm-53 also crashes randomly so it might not be a regression anyway, but though it might be interesting to mention that kvm-54 + previously detailed patches and also including fixes for is_long_mode as reported here :

    http://www.mail-archive.com/kvm-devel%40lists.sourceforge.net/msg08947.html

    are able to run most versions of Solaris 10 64bit x86

     
  • Jes Sorensen

    Jes Sorensen - 2010-06-11

    Hi,

    I notice this one has been open for a long time. If you are still interested in this, could you please try it against a recent KVM. If that works fine, lets close this bug.

    Thanks,
    Jes

     
  • Stefan Neufeind

    Stefan Neufeind - 2010-06-18

    saw this with OpenSolaris 2009.6 (booting from iso, freely available) under a fully updated Fedora 13 (qemu-kvm-0.12.3-8.fc13.x86_64). using a 32bit-CPU for the guest works fine.

     
  • Jes Sorensen

    Jes Sorensen - 2010-06-18

    Interesting, can you give me a pointer to where I can download that ISO image from?

    Thanks,
    Jes

     
  • Stefan Neufeind

    Stefan Neufeind - 2010-06-18

    simply from the OpenSolaris-website:
    http://hub.opensolaris.org/bin/view/Main/downloads
    Release 2009.06 for x86, installing it with x86_64-processor in KVM

     
  • Jes Sorensen

    Jes Sorensen - 2010-06-21

    Hi,

    I pulled down the iso image you mentioned, and it seems to boot fine for me here. I was able to run the install to a local disk image and boot it again afterwards. This is using a 64 bit guest CPU on a Fedora 12 system.

    What flags are you using to launch it when you see the crash? Are you running on an Intel or an AMD system and did you specify SMP by any chance?

    Cheers,
    Jes

     
  • Jes Sorensen

    Jes Sorensen - 2010-08-19

    Hi,

    I didn't see any replies to my question as of June 21, are you still seeing this? I wasn't able
    to reproduce this in my testing.

    Regards,
    Jes

     
  • Jes Sorensen

    Jes Sorensen - 2010-11-18

    Works for me per previous comments. If you see this again, please open a new bug in Launchpad.

    Thanks,
    Jes

     

Log in to post a comment.