# [OmniOS-discuss] Panic when trying to remove an unused LUN with stmfadm

Stephan Budach stephan.budach at JVM.DE
Sat Apr 16 11:30:04 UTC 2016

- Previous message: [OmniOS-discuss] cifs anonymous troubles
- Next message: [OmniOS-discuss] OmniOS 151016/ 151017 not listed in network environment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    I have experienced this issue a couple of times now. First in r016 but
    just today on r018, too. When trying to remove a LUN by issueing
    something like

    root at nfsvmpool05:/root# stmfadm delete-lu 600144F04E4653564D504F4F4C303538
    packet_write_wait: Connection to 10.11.14.49: Broken pipe
    Shared connection to nfsvmpool05 closed.

    the system hung up. When it came back online, I was able to remove that
    LUN without any issue. The fun thing is, that I created that LUN just
    before and it hadn't even been in use, as it hadn't been attached to any
    view.

    The syslog shows the usual COMSTAR thingy about kernel heap corruption,
    which I encountered already a couple of times, although in rather normal
    operation mode.

    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 478202 kern.notice] kernel
    memory allocator:
    Apr 16 10:17:15 nfsvmpool05 unix: [ID 836849 kern.notice]
    Apr 16 10:17:15 nfsvmpool05 ^Mpanic[cpu6]/thread=ffffff0e495c4880:
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 812275 kern.notice] kernel heap
    corruption detected
    Apr 16 10:17:15 nfsvmpool05 unix: [ID 100000 kern.notice]
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 802836 kern.notice]
    ffffff003df44ae0 fffffffffba4e8d4 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44b20 genunix:kmem_free+1a8 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44b60 stmf:stmf_deregister_lu+1a7 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44ba0 stmf_sbd:sbd_delete_locked_lu+95 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44c00 stmf_sbd:sbd_delete_lu+a9 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44c80 stmf_sbd:stmf_sbd_ioctl+292 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44cc0 genunix:cdev_ioctl+39 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44d10 specfs:spec_ioctl+60 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44da0 genunix:fop_ioctl+55 ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44ec0 genunix:ioctl+9b ()
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 655072 kern.notice]
    ffffff003df44f10 unix:brand_sys_sysenter+1c9 ()
    Apr 16 10:17:15 nfsvmpool05 unix: [ID 100000 kern.notice]
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 672855 kern.notice] syncing
    file systems...
    Apr 16 10:17:15 nfsvmpool05 genunix: [ID 904073 kern.notice]  done
    Apr 16 10:17:16 nfsvmpool05 genunix: [ID 111219 kern.notice] dumping to
    /dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
    Apr 16 10:17:16 nfsvmpool05 ahci: [ID 405573 kern.info] NOTICE: ahci0:
    ahci_tran_reset_dport port 1 reset port
    Apr 16 10:20:46 nfsvmpool05 genunix: [ID 100000 kern.notice]
    Apr 16 10:20:46 nfsvmpool05 genunix: [ID 665016 kern.notice] ^M100%
    done: 1153955 pages dumped,
    Apr 16 10:20:46 nfsvmpool05 genunix: [ID 851671 kern.notice] dump succeeded

    Fortuanetly this time, there has been a debug kernel running, as Dan
    suggested on former occurances and I do have a dump at hand, which I
    could upload to uploads.omniti.com, if I'd get a token to do so.

    @Dan, may I get one?

    Thanks,
    Stephan

- Previous message: [OmniOS-discuss] cifs anonymous troubles
- Next message: [OmniOS-discuss] OmniOS 151016/ 151017 not listed in network environment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list