NetBSD-Bugs archive

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

Re: kern/54503: Panic during attaching nvme(4) when # of logical CPUs >= 32 ?



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

From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
To: Kimihiro Nonaka <nonakap%gmail.com@localhost>,
 "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: jdolecek%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/54503: Panic during attaching nvme(4) when # of logical CPUs
 >= 32 ?
Date: Fri, 20 Sep 2019 09:45:47 +0900

 On 2019/09/19 1:46, Kimihiro Nonaka wrote:
 > Please try the attached patch.
 
 Thank you for working on this. With your patch, it boots successfully
 with hyper threading enabled:
 
 	cpu0 at mainbus0 apid 0
 	timecounter: Timecounter "lapic" frequency 24973379 Hz quality -100
 	cpu0: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz, id 0x50654
 	cpu0: package 0, core 0, smt 0
 	...
 	cpu47 at mainbus0 apid 59
 	cpu47: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz, id 0x50654
 	cpu47: package 1, core 13, smt 1
 	...
 	nvme0 at pci6 dev 0 function 0: vendor 8086 product 2700 (rev. 0x00)
 	nvme0: NVMe 1.0
 	allocated pic msix4 type edge pin 0 level 6 to cpu0 slot 20 idt entry 102
 	nvme0: for admin queue interrupting at msix4 vec 0
 	nvme0: INTEL SSDPED1D280GA, firmware E2010325, serial PHMB742101WX280CGN
 	allocated pic msix4 type edge pin 1 level 6 to cpu0 slot 21 idt entry 103
 	nvme0: for io queue 1 interrupting at msix4 vec 1 affinity to cpu0
 	...
 	allocated pic msix4 type edge pin 31 level 6 to cpu0 slot 22 idt entry 137
 	nvme0: for io queue 31 interrupting at msix4 vec 31 affinity to cpu30
 	ld0 at nvme0 nsid 1
 	ld0: 260 GB, 34049 cyl, 255 head, 63 sec, 512 bytes/sect x 547002288 sectors
 
 Here's full dmesg of GENERIC kernel (with bump MSGBUFSIZE and boot -v):
 
 	http://www.netbsd.org/~rin/nvme_panic_20190829/dmesg.20190920
 
 Let me thank you again for your efforts!
 
 rin
 


Home | Main Index | Thread Index | Old Index