Project

General

Profile

Bug #8746

Xen: text-install: #de Divide error; xdf:xdf_lb_rdwr+66

Added by Michal Nowak over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2017-10-30
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

When running OI ISO built from yesterday's sources (illumos-2727bb055f) the VM under xen-4.9.0_50 from openSUSE Leap 42.3 (kernel-default-4.13.10) crashes with following backtrace:

panic[cpu0]/thread=ffffff01896d0b60: BAD TRAP: type=0 (#de Divide error) rp=ffffff000595a940 addr=0

text-install: #de Divide error
pid=1983, pc=0xfffffffff7902b26, sp=0xffffff000595aa30, eflags=0x10246
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 1406f8<smep,osxsav,xmme,fxsr,pge,mce,pae,pse,de>
cr2: feeb0cabcr3: d5c1000cr8: c

        rdi: ffffff0186bd9ec8 rsi:                0 rdx:                0
        rcx:                0  r8:              200  r9:                0
        rax:              200 rbx: ffffff01896fbe00 rbp: ffffff000595aaa0
        r10: fffffffffb858cd4 r11:                0 r12:                0
        r13: ffffff0186414700 r14:              200 r15:                0
        fsb:                0 gsb: fffffffffbc39780  ds:               4b
         es:               4b  fs:                0  gs:              1c3
        trp:                0 err:                0 rip: fffffffff7902b26
         cs:               30 rfl:            10246 rsp: ffffff000595aa30
         ss:               38

Warning - stack not written to the dump buffer
ffffff000595a820 unix:die+89 ()
ffffff000595a930 unix:trap+c95 ()
ffffff000595a940 unix:cmntrap+e6 ()
ffffff000595aaa0 xdf:xdf_lb_rdwr+66 ()
ffffff000595ab10 cmlb:cmlb_dkio_get_mboot+8f ()
ffffff000595ab90 cmlb:cmlb_ioctl+2b9 ()
ffffff000595ac80 xdf:xdf_ioctl+1ff ()
ffffff000595acc0 genunix:cdev_ioctl+39 ()
ffffff000595ad10 specfs:spec_ioctl+60 ()
ffffff000595ada0 genunix:fop_ioctl+55 ()
ffffff000595aec0 genunix:ioctl+9b ()
ffffff000595af10 unix:brand_sys_sysenter+1c9 ()

More verbose log attached. libvirt VM description attached as well.

When disk is attached as IDE, booting hangs at "Probing for device nodes", with SCSI disk instead it boots to text-install, but fails to recognize the disk. The scenario with Xen disk used to work (perhaps a change related to the Xen interface changes?).


Files

xen_crash.txt (11.5 KB) xen_crash.txt Verbose boot log Michal Nowak, 2017-10-30 06:38 AM
sut-21.xml (1.78 KB) sut-21.xml libvirt VM description Michal Nowak, 2017-10-30 06:40 AM

History

#1

Updated by Yuri Pankov over 2 years ago

This is related to #7777 - we now have xdf devices with all minor nodes exposed, but the CD handling is unrealiable. I have several changes that fix this (and a lot of other issues) that I need to upstream, stay tuned.

#2

Updated by Michal Nowak over 2 years ago

This is where OI with the latest illumos gets with IDE CDROM and Xen disk in HVM mode: https://openqa.oi.mnowak.cz/tests/1806#step/bootloader_textmode/8.

Also available in: Atom PDF