Re: [RFC] Fix stuck on cpm-i2c driver

2009-06-20 Thread Jochen Friedrich
Hi Michael, > This happen because though the wait_event_interruptible_timeout takes the > signals into account, the driver does not handle them. > We propose to change the wait_event_interruptible_timeout with > wait_event_timeout, leaving the signals to be handled in other points > on the upper l

[RFC] Fix stuck on cpm-i2c driver

2009-06-19 Thread Michael Trimarchi
When a process tries to read/write a disconnected i2c device, it receives a signal (e.g. ctrl-c) and the kernel gets stuck. BUG: soft lockup - CPU#0 stuck for 61s! [I2CEEpromTest:392] NIP: c01628f8 LR: c01628f0 CTR: c00177cc REGS: c39abd70 TRAP: 0901 Not tainted (2.6.25.7-alcore) MSR: 9032