NetBSD-Bugs archive

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

kern/51093:



>Number:         51093
>Category:       kern
>Synopsis:       
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 25 19:10:00 +0000 2016
>Originator:     Chris Baird
>Release:        NetBSD 7.99.28 -- Apr 25 12:26 AEST (3 hours ago..)
>Organization:
Australian Public Access Network Assocation
>Environment:
System: NetBSD brushtail 7.99.28 NetBSD 7.99.28 (BRUSHTAIL) #640: Tue Apr 26 03:07:01 AEST 2016 cjb@brushtail:/root/Brushtail amd64
Architecture: x86_64
Machine: amd64
>Description:

	Recent USB changes will make a kernel panic when an
	application attempts direct access of USB hid devices.
	
console:
----------------------------------------------------------------------

uvm_fault(0xfffffe8428d23e90, 0x0, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff8036c8b4 cs 8 rflags 10246 cr2 36 ilevel 0 rsp fffffe811f57aa10
curlwp 0xfffffe8439876000 pid 1185.1 lowest kstack 0xfffffe811f5782c0
kernel: page fault trap, code=0
Stopped in pid 1185.1 (x64) at  netbsd:vmem_alloc+0x3e: movq    0(%rax),%rdi
vmem_alloc() at netbsd:vmem_alloc+0x3e
uvm_km_kmem_alloc() at netbsd:uvm_km_kmem_alloc+0x46
kmem_intr_alloc() at netbsd:kmem_intr_alloc+0x6d
uhidopen() at netbsd:uhidopen+0xaf
cdev_open() at netbsd:cdev_open+0xbe
spec_open() at netbsd:spec_open+0x265
VOP_OPEN() at netbsd:VOP_OPEN+0x33
vn_open() at netbsd:vn_open+0x1eb
do_open() at netbsd:do_open+0x112
do_sys_openat() at netbsd:do_sys_openat+0x68
sys_open() at netbsd:sys_open+0x24
syscall() at netbsd:syscall+0x9c
--- syscall (number 5) ---
7f7ff203d60a:
ds          aa10
es          84b0
fs          8000
gs          e04a
rdi         ffffffff80803340    kmem_va_arena_store
rsi         1
rbp         fffffe811f57aa40
rbx         fffffe811f57aa68
rdx         0
rcx         c
rax         36
r8          0
r9          fffffe8436a16800
r10         200
r11         0
r12         fffffe811d8e9818
r13         0
r14         1001
r15         fffffe811f57aab8
rip         ffffffff8036c8b4    vmem_alloc+0x3e
cs          8
rflags      10246
rsp         fffffe811f57aa10
ss          10
netbsd:vmem_alloc+0x3e: movq    0(%rax),%rdi
db{7}> reboot
rebooting...
----------------------------------------------------------------------

>How-To-Repeat:

	# install pkgsrc/emulators/vice
	$ /usr/pkg/bin/x64
	
>Fix:
	Fnord.
	



Home | Main Index | Thread Index | Old Index