Hi all,
while running code for opening a device as
fd = open("/dev/ttyUSB0",O_RDWR | O_NDELAY | O_NOCTTY);

it shows seg fault...with error
unable to handle kernel null pointer dereference at 00000000.

I am running Montavista Linux 2.4.20_mvl31 on a palmtop.
Any kinda help will be appreciated.

Thanks
Prateek.