Error No -14 in Binding by server in Kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I developed on kernel module which provides wrapper functions to all sys_*
funtions related to sockets. With this i developed one application , and i
could run TCP server which is communicating with TCP client on the other
m/c.

Now  Developed one kernel module (instead of application in the earlier
case)for TCP server (now Kernel module) . when the server is executing the
bind function
it has given Error No -14.

I know that It is accessing bad area.  Any suggestions.

The Out put is :
---------------
The erro no in Bind = -14

can't bind local address

Server waiting for new connection:

accept error

Oops: kernel access of bad area, sig: 11
NIP: D100C0D4 XER: 00000000 LR: D100C584 SP: CFDF9C90 REGS
: cfdf9be0 TRAP: 0800dMSR: 00009000 EE: 1 PR: 0 FP: 0 ME:
1 IR/DR: 00
DEAR: D100BB60, ESR: 00000000
TASK = cfdf8000[21] 'insmod' Last syscall: 128
last math 00000000 last altivec 00000000 last spe 00000000
GPR00: D100C584 CFDF9C90 CFDF8000 FFFFF000 CFDF9D48 000000
64 00000000 00000000
GPR08: 00000000 D100CB60 00000001 CFDF9C90 20004484 100B6D
94 00000000 00000000
GPR16: 00000000 00000000 D1010000 D1010000 CFDF9D98 CFDF9E
18 D1010000 D1010000
GPR24: 00000001 D1010000 00000000 00000000 00000000 CFDF9D
A8 00000064 CFDF9D48
Call backtrace:
C001392C D100C584 D100C63C D101126C D10112D4 C0014AE0 C000
3D5C
1000BFFC 1000D3A4 1001C7A4 1001C40C 10021050 00000000
Segmentation fault
#


Thanks in Advance

Regards

Rakesh






--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux