scheduling while atomic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello fellow newbies,
    I am writing a driver for a pinpad device to which I communicate
through the serial port. I get this error/warning when i call
schedule:

scheduling while atomic: pin-pad/0x00000002/4388
 [<c02a2dc2>] schedule+0x532/0x540
 [<c0119b72>] __call_console_drivers+0x62/0x70
 [<c012e4a0>] autoremove_wake_function+0x0/0x60
 [<d0a7b38b>] eppint1318_actual_read+0x10b/0x1e0 [eppint1318]
 [<c012e4a0>] autoremove_wake_function+0x0/0x60
 [<c012e4a0>] autoremove_wake_function+0x0/0x60
 [<d0a7b729>] eppint1318_ioctl+0x149/0x2f0 [eppint1318]
 [<d0a5d1ad>] pin_pad_ioctl+0x4d/0x90 [pin_pad_driver]
 [<c016904a>] sys_ioctl+0xea/0x250
 [<c01030df>] syscall_call+0x7/0xb


You can find the code here:
http://www.geocities.com/zeelists/eppint1318.c . It's not anywhere
near to complete so you'll find a lot of other problems as well. Feel
free to attack my code!

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux