Project

General

Profile

Actions

Bug #9871

open

panic[cpu0]/thread=ffffff0008532c40: BAD TRAP: type=e (#pf Page fault) on `zpool import`

Added by Michal Nowak over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2018-10-05
Due date:
% Done:

0%

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

Description

I did zpool import on illumos b86e7e3f0e from a test snapshot of OpenIndiana Minimal ISO built today in Linux QEMU 2.13; one additional hard disk with OpenIndiana 2018.04 MATE rpool was attached.

I was importing 10 QEMU QCOW2 virtual images which hold default OpenIndiana installations from 2016.10 up to 2018.04 snapshots of Minimal, Server, and MATE variants and only OpenIndiana 2018.04 MATE crashed the OS.

panic[cpu0]/thread=ffffff0008532c40: BAD TRAP: type=e (#pf Page fault) rp=ffffff00085322c0 addr=ffffff0206f67060

sched: #pf Page fault
Bad kernel fault at addr=0xffffff0206f67060
pid=0, pc=0xfffffffffb874e22, sp=0xffffff00085323b8, eflags=0x10246
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe>  cr4: 1606f8<smep,osxsav,pcide,xmme,fxsr,pge,mce,pae,pse,de>
cr2: ffffff0206f67060  cr3: c400000  cr8: 0

        rdi: ffffff024d1606c0 rsi: ffffff0206f67060 rdx:                c
        rcx: ffffff0250cb7060  r8:               12  r9:                0
        rax: ffffff0206f27020 rbx: ffffff024bf90000 rbp: ffffff00085323d0
        r10:                0 r11:                3 r12: ffffff024bf900c0
        r13: ffffff02518ca4e0 r14:             ffff r15:               a3
        fsb:                0 gsb: fffffffffbc4c000  ds:               4b
         es:               4b  fs:                0  gs:              1c3
        trp:                e err:                0 rip: fffffffffb874e22
         cs:               30 rfl:            10246 rsp: ffffff00085323b8
         ss:               38

Warning - stack not written to the dump buffer
ffffff00085321b0 unix:die+89 ()
ffffff00085322b0 unix:trap+e10 ()
ffffff00085322c0 unix:cmntrap+e6 ()
ffffff00085323d0 unix:ddi_getl+12 ()
ffffff0008532410 ehci:ehci_handle_get_port_status+4b ()
ffffff0008532480 ehci:ehci_handle_root_hub_request+118 ()
ffffff00085324f0 ehci:ehci_hcdi_pipe_ctrl_xfer+fe ()
ffffff0008532570 usba:usb_pipe_ctrl_xfer+229 ()
ffffff0008532600 usba:usb_pipe_sync_ctrl_xfer+137 ()
ffffff00085326f0 usba:hubd_determine_port_status+f2 ()
ffffff0008532760 usba:hubd_config_one+130 ()
ffffff0008532860 usba:hubd_bus_config+16d ()
ffffff00085328d0 genunix:ndi_devi_config_one+186 ()
ffffff00085329b0 genunix:resolve_pathname+155 ()
ffffff00085329e0 genunix:ddi_pathname_to_dev_t+19 ()
ffffff0008532ac0 zfs:vdev_disk_open+265 ()
ffffff0008532b30 zfs:vdev_open+dd ()
ffffff0008532b60 zfs:vdev_open_child+28 ()
ffffff0008532c20 genunix:taskq_thread+2d0 ()
ffffff0008532c30 unix:thread_start+8 ()

Full output attached.

Also attaching a script which I use for the import/export of the pool, notably it holds the QEMU configuration.

When I remove -device usb-ehci -device usb-tablet from the QEMU configuration, I am able to import & export the rpool without a crash.

Let me know should you need the boot ISO or the QCOW2 with the rpool.


Files

import-export-vm.sh (1.44 KB) import-export-vm.sh test script Michal Nowak, 2018-10-05 06:19 PM
ehci.panic (3.22 KB) ehci.panic output Michal Nowak, 2018-10-05 06:20 PM

No data to display

Actions

Also available in: Atom PDF