Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2014-02-05 Thread Ivaylo Dimitrov
Hi Felipe, cool, I'll send this during the -rc and Cc stable, then I'll manually backport it to stable later. PING! I still do not see this patch in linus tree. What happened? -- Pali Rohár pali.ro...@gmail.com BUMP Is there any problem with above patch? If you are short on time or

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2014-02-05 Thread Greg Kroah-Hartman
On Thu, Feb 06, 2014 at 12:25:21AM +0200, Ivaylo Dimitrov wrote: Hi Felipe, cool, I'll send this during the -rc and Cc stable, then I'll manually backport it to stable later. PING! I still do not see this patch in linus tree. What happened? -- Pali Rohár pali.ro...@gmail.com

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2014-01-26 Thread Pali Rohár
2014-01-09 Pali Rohár pali.ro...@gmail.com: On Wednesday 27 November 2013 18:39:04 Felipe Balbi wrote: Hi, On Wed, Nov 27, 2013 at 05:40:42PM +0100, Pali Rohár wrote: @@ -282,10 +284,12 @@ static void obex_disconnect(struct gserial *g) if (!obex-can_activate)

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2014-01-09 Thread Pali Rohár
On Wednesday 27 November 2013 18:39:04 Felipe Balbi wrote: Hi, On Wed, Nov 27, 2013 at 05:40:42PM +0100, Pali Rohár wrote: @@ -282,10 +284,12 @@ static void obex_disconnect(struct gserial *g) if (!obex-can_activate) return; +#if 0

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-27 Thread Pali Rohár
On Tuesday 26 November 2013 20:03:11 Felipe Balbi wrote: Hi, On Tue, Nov 26, 2013 at 12:59:13PM -0600, Felipe Balbi wrote: diff --git a/drivers/usb/gadget/f_obex.c b/drivers/usb/gadget/f_obex.c index ad39f1d..4af2f06 100644 --- a/drivers/usb/gadget/f_obex.c +++

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-27 Thread Felipe Balbi
Hi, On Wed, Nov 27, 2013 at 05:40:42PM +0100, Pali Rohár wrote: @@ -282,10 +284,12 @@ static void obex_disconnect(struct gserial *g) if (!obex-can_activate) return; +#if 0 status = usb_function_deactivate(g-func); if

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Pali Rohár
On Tuesday 19 November 2013 11:51:12 Pali Rohár wrote: Hi! For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic after module is loaded on Nokia N900. I do not know where is problem and due to immediatelly kernel crash when

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Felipe Balbi
Hi, On Tue, Nov 19, 2013 at 11:51:12AM +0100, Pali Rohár wrote: Hi! For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic after module is loaded on Nokia N900. I do not know where is problem and due to immediatelly kernel

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Sebastian Reichel
On Tue, Nov 26, 2013 at 06:10:22PM +0100, Pali Rohár wrote: On Tuesday 19 November 2013 11:51:12 Pali Rohár wrote: For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic after module is loaded on Nokia N900. I do not know

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Pali Rohár
On Tuesday 26 November 2013 18:16:06 Felipe Balbi wrote: Hi, On Tue, Nov 19, 2013 at 11:51:12AM +0100, Pali Rohár wrote: Hi! For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic after module is loaded on Nokia N900.

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Pali Rohár
On Tuesday 26 November 2013 18:17:49 Sebastian Reichel wrote: On Tue, Nov 26, 2013 at 06:10:22PM +0100, Pali Rohár wrote: On Tuesday 19 November 2013 11:51:12 Pali Rohár wrote: For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Felipe Balbi
Hi, On Tue, Nov 26, 2013 at 06:28:05PM +0100, Pali Rohár wrote: [ snip ] (above dump is from 3.12-rc5 kernel) looks like it's trying to do i2c transfers from atomic. But why only when obex is enabled ? Makes no sense. What do you have on userland ? Is there anything trying to access

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Pavel Machek
On Tue 2013-11-26 18:17:49, Sebastian Reichel wrote: On Tue, Nov 26, 2013 at 06:10:22PM +0100, Pali Rohár wrote: On Tuesday 19 November 2013 11:51:12 Pali Rohár wrote: For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Pali Rohár
On Tuesday 26 November 2013 18:39:54 Felipe Balbi wrote: Hi, On Tue, Nov 26, 2013 at 06:28:05PM +0100, Pali Rohár wrote: [ snip ] (above dump is from 3.12-rc5 kernel) looks like it's trying to do i2c transfers from atomic. But why only when obex is enabled ? Makes no sense.

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Felipe Balbi
Hi, On Tue, Nov 26, 2013 at 07:06:43PM +0100, Pavel Machek wrote: For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic after module is loaded on Nokia N900. I do not know where is problem and due to immediatelly

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Felipe Balbi
Hi, On Tue, Nov 26, 2013 at 07:10:08PM +0100, Pali Rohár wrote: (above dump is from 3.12-rc5 kernel) looks like it's trying to do i2c transfers from atomic. But why only when obex is enabled ? Makes no sense. What do you have on userland ? Is there anything trying to

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-26 Thread Felipe Balbi
Hi, On Tue, Nov 26, 2013 at 12:59:13PM -0600, Felipe Balbi wrote: diff --git a/drivers/usb/gadget/f_obex.c b/drivers/usb/gadget/f_obex.c index ad39f1d..4af2f06 100644 --- a/drivers/usb/gadget/f_obex.c +++ b/drivers/usb/gadget/f_obex.c @@ -267,10 +267,12 @@ static void

BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-19 Thread Pali Rohár
Hi! For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic after module is loaded on Nokia N900. I do not know where is problem and due to immediatelly kernel crash when loading driver I was not able to see any dmesg output. Now I