Hi,
I'm trying to develop a driver (Davicom dm9000 on an embedded ARM card) for
RTNet, I can send packet with the command "rtnet start" but i have some
problem on packet's receive.
In master mode with the ./rtnet -v start command, I have the following error
:
/usr/rtnet/sbin/tdmacfg rteth0 master
5000
ioctl: Inappropriate ioctl for
device
/usr/rtnet/sbin/tdmacfg rteth0 slot 0
0
ioctl: Inappropriate ioctl for
device
/usr/rtnet/sbin/rtcfg rteth0 add 192.168.1.11 -stage1
-
ifconfig: SIOCGIFFLAGS: No such device
And the system send packet of 93 bytes with a broadcast mac address (it
seems to be ok).
In slave mode I have the following error :
/usr/rtnet/sbin/tdmacfg rteth0 slave
ioctl: Inappropriate ioctl for device
Any idea ?
It seems to comes from the ioctl used by tdmacfg, should I modify the source
file tdmacfg.c ?
On the other hand, I have some proble for receiving packet, at the beginning
I haven't any material interrupt, and now the interrupt trigger is follow by
a kernel panic :
Unable to handle kernel NULL pointer dereference at virtual address 00000038
I think it comes from the initialization, maybe the interrupt register, I
have the same IRQ number as the standard driver, is it ok?
Thanksfully,
WALLOIS Cyril
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users