I am trying to know what happens if I access device if its associated device driver is not loaded. I am expecting a error in the program which will gracefully exit. But not seg fault.
On Tue, Nov 18, 2008 at 12:41 AM, Jagadeesh Bhaskar P <[EMAIL PROTECTED] > wrote: > > 5. rmmod module > Ok. Now there is no driver associated with your device. > > > 6. again use test program to open the device. But this time it gives seg > > fault. > You are again trying to access the device- after removing the driver? > Why do you want to do this? > > > 7. Later When I try to insert module the whole system freezes. > > > Try doing (7), skipping (6). >