On Sun, 2008-03-30 at 14:51 -0700, Linus Torvalds wrote:Odd, I can reproduce trivially on UP. The patch definitely helps. Unfortunately, I can't even bisect, I just tried compiling 2.6.25-rc1 and it failed to link because of __udivi3, __umodi3 and another one (or similar). A quick look failed to tell me why I get that with -rc1 and -rc2 but not -rc7. Below is a simple test program. Run it on any event device, then rmmod the module the device belongs to and abort the program with ctrl-c. johannes #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/input.h> int main (int argc, char **argv) { int fd; if (argc < 2) { printf("Usage: grab /dev/input/eventX\n"); printf("Where X =3D input device number\n"); exit(1); } if ((fd =3D open(argv[argc - 1], O_RDONLY)) < 0) { perror("grab[open]"); exit(1); } if (ioctl(fd, EVIOCGRAB, 1)) { perror("grab[EVIOCGRAB]"); exit(1); } printf("interrupt to exit\n"); while (1) sleep(1000); }
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.25-rc4 |
| Greg KH | Linux 2.6.25.10 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Ilpo Järvinen | Re: Strange Application bug, race in MSG_PEEK complaints (was: Bug#513695: fetchma... |
