Linux Input/HID development
 help / color / mirror / Atom feed
From: "Andreas Lillebø Holm" <andreas-nr7O5T6ryCTQT0dZR+AlfA@public.gmane.org>
To: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Cc: Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: kernel Oops: 0003 on usbhid_submit_report
Date: Fri, 23 Aug 2013 12:52:45 +0200	[thread overview]
Message-ID: <26E21BF00B944AB6B8F48B5E59B0442D@sqhead.com> (raw)
In-Reply-To: <20130815063736.GF25754-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>

Hi,

I just wanna followup this issue a bit more.

We have now tested on several hardware platform, and it is only on one platform it fails. The platform it fails on is Atom Intel e6xx CPU with EG20T PCH platform controller. We do not observe it on the Intel i7 3517UE CPU with Intel 6/7 series system controller.

We see this error around 4 times over 100 boots / 2 hours runtime.

After the Oops our process is in uninterruptable sleep state (D state). The process is not killable  when in this state. The process also uses around 70% CPU, maybe because it is waiting for the ioctl system call to return?

We haven't found another way to recover from besides rebooting the system.

How can we proceed to fix this issue?

Andreas


On Thursday, August 15, 2013 at 8:37 AM, 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?

  


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-08-23 10:52 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
     [not found]       ` <20130815063736.GF25754-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-08-23 10:52         ` Andreas Lillebø Holm [this message]
     [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=26E21BF00B944AB6B8F48B5E59B0442D@sqhead.com \
    --to=andreas-nr7o5t6ryctqt0dzr+alfa@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
    --cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.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