Networking Forums

Networking Forums > Computer Networking > Linux Networking > Receiving problem in Realtek RTL8139D(L) network card driver implementation

Reply
Thread Tools Display Modes

Receiving problem in Realtek RTL8139D(L) network card driver implementation

 
 
manoher.t@gmail.com
Guest
Posts: n/a

 
      05-02-2006, 09:30 PM
I am a newbie to the device driver developement in Linux. I am using
Redhat9( linux kernel 2.4.20). I hav written a driver for Realtek
rtl8139D network card. I am able to activate the device by following
command.

# ifconfig rtl up

However i am setting IP address of network interface 'rtl' outside the
code by using # ifconfig rtl 192.168.0.30 -netmask 255.255.255.0

After this, when i ping a host, driver saying transmission of ICMP
packet was successful which I checked by TransmissionOK bit in
Interrupt Status Register of device( which prints text "TxOk" for
successfull transmission in interrupt handler) and also incrementing
transmitted packets counter in interrupt handler. But it is giving
error "DESTINATION HOST UNREACHABLE" as follows

# ping 192.168.0.70
icmp packet 1: DESTINATION HOST UNREACHABLE
TxOk
icmp packet 2: DESTINATION HOST UNREACHABLE
TxOk
and giving number of receiving packets counter is zero ( 100% loss in
PING)

as far as receiving code in interrupt handler is concerned, i think
interrupt handler is OK...
Plz point out the problem as i hav been struggling here since 10 days


is it recieving code problem? or setting ip address externally by
ifconfig command ? or any thing else?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek 8201CL Network Card parser Linux Networking 0 09-23-2006 06:35 PM
realtek 8139too driver problem with kernel 2.6.13.5 peter schb Linux Networking 3 08-04-2006 01:08 AM
Realtek rtl8128 Network Interface Card - Windows 98 (not SE) - IBM =?Utf-8?B?Qmx1ZSA5MjA3?= Windows Networking 2 02-15-2005 10:54 PM
realtek 8139 driver problem =?ISO-8859-1?Q?Andr=E9?= Somers Linux Networking 0 08-14-2003 12:32 PM
RedHat Linux8.0 giving problem with RealTek 8139 Ethernet card Delip Singh Linux Networking 0 06-27-2003 10:47 PM



1 2 3 4 5 6 7 8 9 10 11