NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55839: nvme(4) panic on amd64 9.99.76 when loaded as a module



The following reply was made to PR kern/55839; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/55839: nvme(4) panic on amd64 9.99.76 when loaded as a
 module
Date: Fri, 4 Dec 2020 10:34:53 -0800 (PST)

 Backtrace from gdb (with argument names & values):
 
          .rodata_addr = 0xffffffff80e77000
 add symbol table from file 
 "/stand/amd64/9.99.76/modules/wapbl/wapbl.kmod" at
          .text_addr = 0xffffffff80ea0000
          .data_addr = 0xffffffff80e98000
          .rodata_addr = 0xffffffff80e99000
 (gdb) bt
 #0  0xffffffff80223945 in cpu_reboot (howto=howto@entry=256,
      bootstr=bootstr@entry=0x0 <nvme_ns_identify.cold>)
      at /build/netbsd-local/src_ro/sys/arch/amd64/amd64/machdep.c:713
 #1  0xffffffff8060e5c5 in kern_reboot (howto=256,
      bootstr=bootstr@entry=0x0 <nvme_ns_identify.cold>)
      at /build/netbsd-local/src_ro/sys/kern/kern_reboot.c:73
 #2  0xffffffff8054de29 in db_reboot_cmd (addr=<optimized out>,
      have_addr=<optimized out>, count=<optimized out>, modif=<optimized out>)
      at /build/netbsd-local/src_ro/sys/ddb/db_command.c:1471
 #3  0xffffffff8054e637 in db_command (
      last_cmdp=last_cmdp@entry=0xffffffff80a2b640 <db_last_command>)
      at /build/netbsd-local/src_ro/sys/ddb/db_command.c:955
 #4  0xffffffff8054e98c in db_command_loop ()
      at /build/netbsd-local/src_ro/sys/ddb/db_command.c:614
 #5  0xffffffff80552503 in db_trap (type=type@entry=1, code=code@entry=0)
      at /build/netbsd-local/src_ro/sys/ddb/db_trap.c:91
 #6  0xffffffff80220b4f in kdb_trap (type=type@entry=1, code=code@entry=0,
      regs=regs@entry=0xffffb70927ed29f0)
      at /build/netbsd-local/src_ro/sys/arch/amd64/amd64/db_interface.c:249
 #7  0xffffffff80225c76 in trap (frame=0xffffb70927ed29f0)
      at /build/netbsd-local/src_ro/sys/arch/amd64/amd64/trap.c:315
 #8  0xffffffff8021ead3 in alltraps ()
 #9  0xffffffff8021f415 in breakpoint ()
 #10 0xffffffff8064e2e3 in vpanic (
      fmt=0xffffffff80faa060 <cfattach_ioconf_nvme_pci> "kernel %sassertion \"%s\" failed: file \"%s\", line %d ", ap=ap@entry=0xffffb70927ed2b28)
      at /build/netbsd-local/src_ro/sys/kern/subr_prf.c:288
 #11 0xffffffff807217b3 in kern_assert (
      fmt=fmt@entry=0x100 <error: Cannot access memory at address 0x100>)
      at /build/netbsd-local/src_ro/sys/lib/libkern/kern_assert.c:51
 #12 0xffffffff80fb2d0f in nvme_ns_identify (sc=0xffffb701045e3000, nsid=1)
      at /build/netbsd-local/src_ro/sys/dev/ic/nvme.c:637
 #13 0xffffffff80fb2dd8 in nvme_rescan (self=0xffffdaaf83c67780,
      attr=<optimized out>, flags=<optimized out>)
      at /build/netbsd-local/src_ro/sys/dev/ic/nvme.c:490
 #14 0xffffffff80635220 in rescan_with_cfdata (cf=0xffffffff80f9b000)
      at /build/netbsd-local/src_ro/sys/kern/subr_autoconf.c:2995
 #15 config_cfdata_attach (cf=0xffffffff80f9b000, scannow=<optimized out>)
      at /build/netbsd-local/src_ro/sys/kern/subr_autoconf.c:928
 #16 0xffffffff806352e6 in config_init_component (cfdriverv=0xffffffff80f9c0c0,
      cfattachv=0xffffffff80f9c0e0, cfdatav=0xffffffff80f9b000)
      at /build/netbsd-local/src_ro/sys/kern/subr_autoconf.c:388
 #17 0xffffffff805ffc79 in module_do_load (
      name=name@entry=0xffffdaaf845b8068 "ld_nvme", isdep=isdep@entry=false,
      flags=flags@entry=0, props=props@entry=0xffffdaaf832133b8,
      modp=modp@entry=0x0 <nvme_ns_identify.cold>,
      modclass=modclass@entry=MODULE_CLASS_ANY, autoload=autoload@entry=false)
      at /build/netbsd-local/src_ro/sys/kern/kern_module.c:1363
 #18 0xffffffff806006c3 in module_load (
      filename=filename@entry=0xffffdaaf845b8068 "ld_nvme", flags=flags@entry=0,
      props=props@entry=0xffffdaaf832133b8,
      modclass=modclass@entry=MODULE_CLASS_ANY)
      at /build/netbsd-local/src_ro/sys/kern/kern_module.c:678
 #19 0xffffffff8065e207 in handle_modctl_load (ml_filename=<optimized out>,
      ml_flags=0, ml_props=<optimized out>, ml_propslen=190)
      at /build/netbsd-local/src_ro/sys/kern/sys_module.c:99
 #20 0xffffffff8065e54a in sys_modctl (l=<optimized out>,
      uap=0xffffb70927ed3000, retval=<optimized out>)
      at /build/netbsd-local/src_ro/sys/kern/sys_module.c:285
 #21 0xffffffff802a9cfe in sy_call (rval=0xffffb70927ed2fb0,
      uap=0xffffb70927ed3000, l=0xffffdaaf83cc52c0,
      sy=0xffffffff80a347d0 <sysent+5904>)
      at /build/netbsd-local/src_ro/sys/sys/syscallvar.h:65
 #22 sy_invoke (code=246, rval=0xffffb70927ed2fb0, uap=0xffffb70927ed3000,
      l=0xffffdaaf83cc52c0, sy=0xffffffff80a347d0 <sysent+5904>)
      at /build/netbsd-local/src_ro/sys/sys/syscallvar.h:94
 #23 syscall (frame=0xffffb70927ed3000)
      at /build/netbsd-local/src_ro/sys/arch/x86/x86/syscall.c:138
 #24 0xffffffff802096ad in handle_syscall ()
 (gdb)
 
 
 
 +--------------------+--------------------------+-----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
 +--------------------+--------------------------+-----------------------+
 


Home | Main Index | Thread Index | Old Index