Linux Input/HID development
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Jiri Kosina" <jkosina@suse.cz>,
	"Andreas Lillebø Holm" <andreas@sqhead.com>
Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: kernel Oops: 0003 on usbhid_submit_report
Date: Wed, 14 Aug 2013 23:37:36 -0700	[thread overview]
Message-ID: <20130815063736.GF25754@kroah.com> (raw)
In-Reply-To: <16FA42AC8F654C3B81924591E607B342@sqhead.com>

On Wed, Aug 14, 2013 at 03:38:04PM +0200, Andreas Lillebø Holm wrote:
> Hi,
> 
> On Tuesday, August 13, 2013 at 8:40 PM, Greg KH wrote:
> > > When communicating with AT90USB1287, at random intervals (1/25 boots)
> > > the linux hid_output_field Oopses and kills the communicating thread.
> > > The AT90USB1287 microcontroller uses LUFA library for usb/hid
> > > communication. It is trigged by a ioctl call from userspace and fails
> > > in a kernel paging request. The system is after the oops in a state
> > > where no hid commands is sent anymore and only a boot can fix the
> > > system.
> > >  
> > > Keywords: usbhid hid
> > >  
> > > Kernel version: Linux version 3.8.13-03081301-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201305311535 SMP Fri May 31 19:44:30 UTC 2013
> > >  
> > > Oopses:
> > > http://paste.debian.net/24305
> > > http://paste.debian.net/24306
> > > http://paste.debian.net/24307
> > >  
> > > Code:
> > > The error is triggered by:
> > > ioctl(fd,HIDIOCSUSAGES, &ref_multi_u);
> > > ioctl(fd,HIDIOCSREPORT, &rep_info_u);
> > >  
> > > Notes:
> > > It is very hard to reproduce so seems like race condition…
> > >  
> > > Any tips to resolve/workaround this issue is appreciated and please
> > > let me know if my information is incomplete (This is my first kernel
> > > bug report)
> >  
> >  
> >  
> >  
> > Any chance you can try a supported kernel, like 3.10.6 or 3.11-rc5 to
> > see if that also causes problems? We can't do anything with
> > distro-specific kernel releases like your 3.8.13 release from Ubuntu,
> > sorry.
> 
> 
> I've now tried with kernel 3.10.6 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.6-saucy/) and I can trigger the same issue on this kernel.
> 
> Here is a paste from last Oops on this kernel:
> http://paste.debian.net/24993/  
> 
> I am also using usbmon to monitor the usb bus traffic, but cannot see anything that should cause the driver to Oops.
> 
> Is there any way to find out what can trigger this issue?

Jiri should be the one to know this, Jiri, any ideas?

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2013-08-15  6:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9921350AD19C46EFA70EA181A0C1F7E9@sqhead.com>
2013-08-13 18:40 ` kernel Oops: 0003 on usbhid_submit_report Greg KH
2013-08-14 13:38   ` Andreas Lillebø Holm
2013-08-15  6:37     ` Greg KH [this message]
     [not found]       ` <20130815063736.GF25754-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-08-23 10:52         ` Andreas Lillebø Holm
     [not found]           ` <26E21BF00B944AB6B8F48B5E59B0442D-nr7O5T6ryCTQT0dZR+AlfA@public.gmane.org>
2013-08-23 12:32             ` Benjamin Tissoires
     [not found]               ` <CAN+gG=FJSMyQNHcq=0cO1srVpRb_83YihUH0WuAPTcKAJHhv4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-23 12:49                 ` Jiri Kosina
2013-08-23 12:51                   ` Andreas Lillebø Holm
2013-08-26 16:16                   ` Andreas Lillebø Holm
     [not found]                     ` <7851429DDA1F498899F023F32CC33483-nr7O5T6ryCTQT0dZR+AlfA@public.gmane.org>
2013-08-28 12:42                       ` Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130815063736.GF25754@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=andreas@sqhead.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox