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 12:21:11 -0800 (PST)

 Interestingly, when nvme(4) module is loaded, it seems to go through
 nvme_rescan() twice.  The panic occurs the second time through (and
 that is where I got all the previous stack traces).
 
 For the _first_ time through, here is the backtrace.  Note that it
 results from a call to the _parent_ device's pci_rescan().
 
 [    17.422137] cpu1: Begin traceback...
 [    17.422137] vpanic() at netbsd:vpanic+0x156
 [    17.422137] __x86_indirect_thunk_rax() at 
 netbsd:__x86_indirect_thunk_rax
 [    17.422137] nvme_ns_identify() at nvme:nvme_ns_identify+0x1b3
 [    17.422137] nvme_rescan() at nvme:nvme_rescan+0xc0
 [    17.422137] nvme_attach() at nvme:nvme_attach+0xa22
 [    17.422137] nvme_pci_attach() at nvme:nvme_pci_attach+0x383
 [    17.422137] config_attach_loc() at netbsd:config_attach_loc+0x17e
 [    17.422137] pci_probe_device() at netbsd:pci_probe_device+0x585
 [    17.422137] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x1b5
 [    17.422137] pcirescan() at netbsd:pcirescan+0x4e
 [    17.422137] config_cfdata_attach() at netbsd:config_cfdata_attach+0xc3
 [    17.432137] config_init_component() at netbsd:config_init_component+0x7a
 [    17.432137] nvme_modcmd() at nvme:nvme_modcmd+0x71
 [    17.432137] module_do_load() at netbsd:module_do_load+0x5c9
 [    17.432137] module_do_load() at netbsd:module_do_load+0x48b
 [    17.432137] module_load() at netbsd:module_load+0x85
 [    17.432137] handle_modctl_load() at netbsd:handle_modctl_load+0x157
 [    17.432137] sys_modctl() at netbsd:sys_modctl+0x324
 [    17.432137] syscall() at netbsd:syscall+0x23e
 [    17.432137] --- syscall (number 246) ---
 [    17.432137] netbsd:syscall+0x23e:
 [    17.432137] cpu1: End traceback...
 
 
 
 +--------------------+--------------------------+-----------------------+
 | 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