Is this a gcc or a kernel bug?

2009-06-01 Thread Aris Karagiannidis
Hi, i had an assignment from my university to program a joystick manufactured by ms ( don't know if that has anything to do about it) anyway, the model is: Microsoft Corp. SideWinder Force Feedback 2 Joystick and it uses the iforce driver module. i have written the attached code which compiles

Re: Is this a gcc or a kernel bug?

2009-06-01 Thread Ben Hutchings
On Mon, 2009-06-01 at 23:53 +0300, Aris Karagiannidis wrote: [...] when i run the a.out, the system freezes totally, i mean i cannot even move the mouse that happens with linux-image-2.6.26-2-amd64 but not with linux-image-2.6.30-rc7-amd64 it also works on a 2.6.29 kernel that i use on my