Am 16.09.2010 17:05, Michel He wrote: > Hello, > > I have to continue debugging the RTnet dm9000 driver which was > under development previously. It's about the chip aside the PXA270 on > Toradex & Mobisense platform. The threads were inside > http://thread.gmane.org/gmane.linux.real-time.rtnet.user > > Most parts of the works have been done on alignment problem > (2010-07-19) and Internal error : Oops (2010-03-30). > > Here, there are some remaining bugs to figure out. > The initialization has been done by loading modules and rtifconfig, > rtroute. (tdma configuration seems not really fully working though > with "rtnet start"). > > r...@mbs270:~$ rtifconfig > rteth0 Medium: Ethernet Hardware address: 00:14:2D:00:01:DD > IP address: 10.0.0.2 Broadcast address: 10.255.255.255 > UP BROADCAST RUNNING MTU: 1536 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > r...@mbs270:~$ rtroute > Host Routing Table > Hash Destination HW Address Device > 00 0.0.0.0 00:00:00:00:00:00 rtlo > 01 10.0.0.1 00:14:2D:22:50:E2 rteth0 > 01 127.0.0.1 00:00:00:00:00:00 rtlo > 02 10.0.0.2 00:14:2D:00:01:DD rteth0 > 02 10.0.0.2 00:00:00:00:00:00 rtlo > 3F 10.255.255.255 FF:FF:FF:FF:FF:FF rteth0 > > r...@mbs270:~$ rtping 10.0.0.1 > RTnet: main(). ipv4_cmd : 0x11c18 > Real-time PING 10.0.0.1 56(84) bytes of data. > ioctl: Resource temporarily unavailable > > > The error in dmesg: > hard_start_xmit returned -11 > > What could cause that problem ? > So, how to deal with the ioctl problem in rtping -> rtdev_xmit (rtdev.c) ?
-11 == -EAGAIN. I bet you are running out of rtskbs as the transmitted frames are not released, maybe because not TX completion IRQ arrives, maybe no IRQ at all? Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ RTnet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

