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 <jagadeeshbp@xxxxxxxxx> wrote:
> 5. rmmod module
Ok. Now there is no driver associated with your device.
You are again trying to access the device- after removing the driver?
> 6. again use test program to open the device. But this time it gives seg
> fault.
Why do you want to do this?
Try doing (7), skipping (6).
> 7. Later When I try to insert module the whole system freezes.
>