Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-26 Thread Cédric Augonnet
2007/5/14, Satyam Sharma <[EMAIL PROTECTED]>: On 5/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > Hi Satyam, > > On Saturday 12 May 2007 01:45, Satyam Sharma wrote: > > Seems to be good-looking code! > > Thanks. Do you have the hardware? Were you able to test the patch? Oh, sorry, no. I

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-26 Thread Cédric Augonnet
2007/5/14, Satyam Sharma [EMAIL PROTECTED]: On 5/14/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: Hi Satyam, On Saturday 12 May 2007 01:45, Satyam Sharma wrote: Seems to be good-looking code! Thanks. Do you have the hardware? Were you able to test the patch? Oh, sorry, no. I was actually

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-13 Thread Satyam Sharma
On 5/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: Hi Satyam, On Saturday 12 May 2007 01:45, Satyam Sharma wrote: > Seems to be good-looking code! Thanks. Do you have the hardware? Were you able to test the patch? Oh, sorry, no. I was actually referring to the input-polldev code. Let's

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-13 Thread Dmitry Torokhov
Hi Satyam, On Saturday 12 May 2007 01:45, Satyam Sharma wrote: > Seems to be good-looking code! Thanks. Do you have the hardware? Were you able to test the patch? -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-13 Thread Dmitry Torokhov
Hi Satyam, On Saturday 12 May 2007 01:45, Satyam Sharma wrote: Seems to be good-looking code! Thanks. Do you have the hardware? Were you able to test the patch? -- Dmitry - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-13 Thread Satyam Sharma
On 5/14/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: Hi Satyam, On Saturday 12 May 2007 01:45, Satyam Sharma wrote: Seems to be good-looking code! Thanks. Do you have the hardware? Were you able to test the patch? Oh, sorry, no. I was actually referring to the input-polldev code. Let's hope

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Satyam Sharma
Hi Dmitry, On 5/12/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: On Friday 11 May 2007 20:53, Andrew Morton wrote: > Ho hum. I suppose a suitable workaround would be to convert hdaps_mtx back > into a semaphore. ug. Actually I was looking for victimes^Wvolunteers to test the patch below. It

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Dmitry Torokhov
On Friday 11 May 2007 20:53, Andrew Morton wrote: > Ho hum.  I suppose a suitable workaround would be to convert hdaps_mtx back > into a semaphore.  ug. Actually I was looking for victimes^Wvolunteers to test the patch below. It gets rid of _trylock business. -- Dmitry HWMON: hdaps - convert

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Andrew Morton
On Fri, 11 May 2007 17:53:35 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > And indeed that's buggy - the non-debug version of spin_lock_mutex() is not > irq-safe. > > I'd say that's pretty dumb of the mutex interface, really. Doing a > mutex_trylock() should be OK from all contexts. We can

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Andrew Morton
On Fri, 11 May 2007 19:21:15 -0500 Matt Mackall <[EMAIL PROTECTED]> wrote: > This just hit: > > [7.856000] usbcore: registered new interface driver usbhid > [7.86] BUG: at kernel/mutex.c:311 __mutex_trylock_slowpath() > [7.868000] [] show_trace_log_lvl+0x1a/0x30 > [7.872000]

2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Matt Mackall
This just hit: [7.856000] usbcore: registered new interface driver usbhid [7.86] BUG: at kernel/mutex.c:311 __mutex_trylock_slowpath() [7.868000] [] show_trace_log_lvl+0x1a/0x30 [7.872000] [] show_trace+0x12/0x14 [7.876000] [] dump_stack+0x15/0x17 [7.88] []

2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Matt Mackall
This just hit: [7.856000] usbcore: registered new interface driver usbhid [7.86] BUG: at kernel/mutex.c:311 __mutex_trylock_slowpath() [7.868000] [c0104584] show_trace_log_lvl+0x1a/0x30 [7.872000] [c0105196] show_trace+0x12/0x14 [7.876000] [c0105222]

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Andrew Morton
On Fri, 11 May 2007 19:21:15 -0500 Matt Mackall [EMAIL PROTECTED] wrote: This just hit: [7.856000] usbcore: registered new interface driver usbhid [7.86] BUG: at kernel/mutex.c:311 __mutex_trylock_slowpath() [7.868000] [c0104584] show_trace_log_lvl+0x1a/0x30 [7.872000]

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Andrew Morton
On Fri, 11 May 2007 17:53:35 -0700 Andrew Morton [EMAIL PROTECTED] wrote: And indeed that's buggy - the non-debug version of spin_lock_mutex() is not irq-safe. I'd say that's pretty dumb of the mutex interface, really. Doing a mutex_trylock() should be OK from all contexts. We can fix

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Dmitry Torokhov
On Friday 11 May 2007 20:53, Andrew Morton wrote: Ho hum.  I suppose a suitable workaround would be to convert hdaps_mtx back into a semaphore.  ug. Actually I was looking for victimes^Wvolunteers to test the patch below. It gets rid of _trylock business. -- Dmitry HWMON: hdaps - convert to

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Satyam Sharma
Hi Dmitry, On 5/12/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Friday 11 May 2007 20:53, Andrew Morton wrote: Ho hum. I suppose a suitable workaround would be to convert hdaps_mtx back into a semaphore. ug. Actually I was looking for victimes^Wvolunteers to test the patch below. It gets