NetBSD-Bugs archive

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

port-amd64/53807: ena(4) on NetBSD/amd64 8.99.28 on Amazon Web Service EC2 c5.large instance causes kernel panic



>Number:         53807
>Category:       port-amd64
>Synopsis:       ena(4) on NetBSD/amd64 8.99.28 on Amazon Web Service EC2 c5.large instance causes kernel panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 21 16:25:00 +0000 2018
>Originator:     Ryo ONODERA
>Release:        NetBSD 8.99.28
>Organization:
	
>Environment:
	
	
System: NetBSD brownie 8.99.28 NetBSD 8.99.28 (DTRACE7) #9: Fri Dec 21 18:26:39 JST 2018 ryoon@brownie:/usr/world/8.99/amd64/obj/sys/arch/amd64/compile/DTRACE7 amd64
Architecture: x86_64
Machine: amd64
>Description:
NetBSD/amd64 8.99.28 on Amazon Web Service (AWS) EC2 c5.large instance gets
kernel panic in ena(4) detection.

I have added the following line to my kernel configuration file:
ena*    at pci? dev ? function ?        # Amazon Elastic Network Adapter

From screenshot of c5.large instance (manual transcript):
http://www.netbsd.org/~ryoon/ena/ena-panic-20181221.png

ena0 at pci0 dev 5 function 0: vendor 1d0f product ec20 (rev. 0x00)
pci0: Elastic Network Adapter (ENA)ena vDRV_MODULE_VER_MAJOR.DRV_MODULE_VER_MINOR.DRV_MODULE_VER_SUBMINOR
ena0: initialize 2 io queues
ena0: failed to allocate interrupt
ena0: Frror with ESI-X enablement
ena0: Failed to enable and set the admin interrupts
uvm_fault(0xfffffffff8157a680, 0x0, 2) -> e
fatal page fault in supervisor mode
trap type 6 code 0x2 rip 0xffffffffff8022680c cs 0x8 rflags 0x10246 cr2 0 ilevel 0x8 rsp 0xffffffff81904638
curlwp 0xxxxxxxxx81457d00 pid 0.1 lowesr kstack 0xffffffff819012c0
kernel: page fault trap, code=0
Stopped in pid 0.1 (system) at netbsd:mutex_enter+0xc: lock cmpxchgq %rcx,0(%rdi)

If you want to create AMI for yoe test, See:
http://www.netbsd.org/~ryoon/ena/how-to-create-ami-for-aws-c5.txt

>How-To-Repeat:
Run NetBSD/amd64 8.99.28 on AWS EC2 c5.large instance.
	
>Fix:
	
I have no idea.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index