Public bug reported: When using the 2.6.38-1000-linaro-omap kernel the process hangs as the open call never returns. Here is a small testcase:
#include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> int main (int argc, char **argv){ int fd; fd = open("/dev/ttyO2", O_RDONLY); if (fd == -1) { perror ("open failed"); exit(EXIT_FAILURE); } close(fd); return 0; } Here is the stack trace of this task: [ 651.671020] open S c059b724 0 642 532 0x00000000 [ 651.671051] [<c059b724>] (schedule+0x3f4/0x778) from [<c0387678>] (tty_port_block_til_ready+0x138/0x2f4) [ 651.671081] [<c0387678>] (tty_port_block_til_ready+0x138/0x2f4) from [<c0380aac>] (tty_open+0x178/0x420) [ 651.671081] [<c0380aac>] (tty_open+0x178/0x420) from [<c016b2a8>] (chrdev_open+0x114/0x1ec) [ 651.671112] [<c016b2a8>] (chrdev_open+0x114/0x1ec) from [<c0165918>] (__dentry_open+0x100/0x2b8) [ 651.671142] [<c0165918>] (__dentry_open+0x100/0x2b8) from [<c01668fc>] (nameidata_to_filp+0x60/0x68) [ 651.671142] [<c01668fc>] (nameidata_to_filp+0x60/0x68) from [<c0174688>] (finish_open+0xa0/0x174) [ 651.671173] [<c0174688>] (finish_open+0xa0/0x174) from [<c0174bec>] (do_filp_open+0x18c/0x5f8) [ 651.671173] [<c0174bec>] (do_filp_open+0x18c/0x5f8) from [<c0166960>] (do_sys_open+0x5c/0x138) [ 651.671203] [<c0166960>] (do_sys_open+0x5c/0x138) from [<c0065c40>] (ret_fast_syscall+0x0/0x30) ** Affects: linux-linaro (Ubuntu) Importance: Undecided Status: New ** Summary changed: - open("/dev/ttyO2", O_RDONLY) returns on the 2.6.38-1000-linaro-omap + open("/dev/ttyO2", O_RDONLY) never returns on the 2.6.38-1000-linaro-omap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/728565 Title: open("/dev/ttyO2", O_RDONLY) never returns on the 2.6.38-1000-linaro- omap -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs