Current-Users archive

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

Re: Panic in usbd_create_xfer



Dear current-users,

Happy new year!

On 2020-12-30, Yorick Hardy wrote:
> Dear current-users,
> 
> Is anyone else seeing panics when opening a uhidev? (Generally from SDL.)
> I am using a custom kernel with a uintuos (not commited) Wacom, ukbd
> and ums hid devices. The panic only happens after a few days, the host
> controller is ehci (ATI SB700).
> 
> Some example panics:

I had forgotten to include DIAGNOSTIC, now the panic shows a warning
from ohci:

[   659.829010] uvm_fault(0xffffb2272ae9f480, 0x0, 1) -> e
[   659.829010] fatal page fault in supervisor mode
[   659.829010] trap type 6 code 0 rip 0xffffffff80357ce6 cs 0x8 rflags 0x210206 cr2 0 ilevel 0 rsp 0xffffce014cdbea30
[   659.829010] curlwp 0xffffb2272638b9c0 pid 1880.1880 lowest kstack 0xffffce014cdba2c0
[   659.829010] panic: trap
[   659.829010] cpu0: Begin traceback...
[   659.829010] ohci1: WARNING: addr 0x40054bc0 not found
[   659.829010] vpanic() at netbsd:vpanic+0x156
[   659.839003] snprintf() at netbsd:snprintf
[   659.839003] startlwp() at netbsd:startlwp
[   659.839003] alltraps() at netbsd:alltraps+0xbb
[   659.839003] usbd_create_xfer() at netbsd:usbd_create_xfer+0x186
[   659.849001] usbd_open_pipe_intr() at netbsd:usbd_open_pipe_intr+0x74
[   659.849001] uhidev_open() at netbsd:uhidev_open+0x21c
[   659.849001] uhidopen() at netbsd:uhidopen+0xf9
[   659.859002] cdev_open() at netbsd:cdev_open+0xae
[   659.859002] spec_open() at netbsd:spec_open+0x176
[   659.869002] VOP_OPEN() at netbsd:VOP_OPEN+0x3c
[   659.869002] vn_open() at netbsd:vn_open+0x130
[   659.869002] do_open() at netbsd:do_open+0x119
[   659.879002] do_sys_openat() at netbsd:do_sys_openat+0x74
[   659.879002] sys_open() at netbsd:sys_open+0x24
[   659.889001] syscall() at netbsd:syscall+0x1cc
[   659.889001] --- syscall (number 5) ---
[   659.889001] netbsd:syscall+0x1cc:
[   659.889001] cpu0: End traceback...

-- 
Kind regards,

Yorick Hardy


Home | Main Index | Thread Index | Old Index