Laurent Riffard wrote : | | Call_trace: | ~ deactivate_task | ~ schedule | ~ hcd_submit_urb [usbcore] | ~ schedule_timeout | ~ process_timeout | ~ msleep | ~ IdmaUploadSwapPage [eagle_usb] | ~ eu_irq [eagle_usb]
Bon .. je pense que ca vient de msleep qui ne doit pas trop bien marcher
lors d'une interruption ...
Peux-tu essayer de remplacer, dans le fichier Macros.h, les lignes:
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,6)
/*
* wait_ms disappear from 2.6.7 in favor of msleep
*/
#define wait_ms msleep
#endif
par
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,6)
static __inline__ void wait_ms(unsigned int ms)
{
if(!in_interrupt()) {
current->state = TASK_UNINTERRUPTIBLE;
schedule_timeout(1 + ms * HZ
/ 1000);
}
else
mdelay(ms);
}
#endif
et re-faire le test ?
Merci ;)
--
Frederick Ros aka Sleeper
Identify bad input; recover if possible.
- The Elements of Programming Style (Kernighan & Plaugher)
pgpwpfd5KKEbK.pgp
Description: PGP signature
