On 2012-06-08 11:24, Anisha Kaul wrote:
> On 7 June 2012 17:45, Jan Kiszka <jan.kis...@web.de> wrote:
>> As you can see, Linux' 8169 is still loaded and rt_eepro100 is loaded
>> instead of rt_r8169. I suppose you didn't touch rtnet.conf yet.
> 
> So, today I started everything from scratch.
> 
> Re-installed Xenomai properly.
> Re-installed RTnet (latest from GIT).
> 
> The output is below. The error messages are still there.
> Please see if the new output is someway helpful.
> 
> *************************************************************************
> linux-y3pi:/dev # dmesg -c
> _____________________
> -------------------------------------
> linux-y3pi:/usr/local/rtnet/sbin # ./rtnet start
> rteth0: unknown interface: No such device
> rteth0-mac: unknown interface: No such device
> ioctl: No such device
> ioctl: No such device
> ioctl: No such device
> ioctl: No such device
> ioctl (add): No such device
> vnic0: unknown interface: No such device
> SIOCSIFADDR: No such device
> vnic0: unknown interface: No such device
> SIOCSIFNETMASK: No such device
> Waiting for all slaves...ioctl: No such device
> ioctl: No such device
> _____________________
> -------------------------------------
> 
> linux-y3pi:~# dmesg
> [ 1592.822726] RTmac/TDMA: unloaded
> [ 1592.822860] RTmac: unloaded
> [ 1592.823031] RTcfg: unloaded
> [ 1592.827300] RTcap: unloaded
> [ 1592.827546] removing loopback...
> [ 1592.827551] RTnet: unregistered rtlo
> [ 1592.829053] RTnet: unloaded
> [ 1596.960492]
> [ 1596.960493] *** RTnet 0.9.12 - built on Jun  8 2012 14:28:12 ***
> [ 1596.960494]
> [ 1596.960496] RTnet: initialising real-time networking
> [ 1596.972392] Initializing rt_r8169 driverinitializing loopback...
> [ 1596.979767] RTnet: registered rtlo
> [ 1596.982046] RTcap: real-time capturing interface
> [ 1596.997685] RTcfg: init real-time configuration distribution protocol
> [ 1597.004772] RTmac: init realtime media access control
> [ 1597.011727] RTmac/TDMA: init time division multiple access control 
> mechanism
> _____________________
> -------------------------------------
> 
> linux-y3pi:~ # lsmod
> Module                  Size  Used by
> tdma                   18351  0
> rtmac                   9328  1 tdma
> rtcfg                  49613  0
> rtcap                   7056  0
> rt_loopback             1555  2
> rtpacket                5477  0
> rtudp                  10623  0
> rt_r8169               16831  0
> rtipv4                 22810  2 rtcfg,rtudp
> rtnet                  42066  9
> tdma,rtmac,rtcfg,rtcap,rt_loopback,rtpacket,rtudp,rt_r8169,rtipv4
> snd_pcm_oss            46020  0
> snd_mixer_oss          17277  1 snd_pcm_oss
> snd_seq                57033  0
> snd_seq_device          6882  1 snd_seq
> edd                     8855  0
> fuse                   67158  3
> loop                   15834  0
> dm_mod                 72011  0
> snd_hda_codec_via      59340  1
> snd_hda_intel          25607  2
> snd_hda_codec          99706  2 snd_hda_codec_via,snd_hda_intel
> snd_hwdep               6714  1 snd_hda_codec
> snd_pcm                92126  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
> snd_timer              22966  2 snd_seq,snd_pcm
> sr_mod                 14716  0
> cdrom                  38428  1 sr_mod
> iTCO_wdt               11396  0
> iTCO_vendor_support     2934  1 iTCO_wdt
> i2c_i801               11584  0
> snd                    74442  14
> snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
> sg                     29752  0
> soundcore               8107  1 snd
> snd_page_alloc          8604  2 snd_hda_intel,snd_pcm
> pcspkr                  1942  0
> serio_raw               4814  0
> ext4                  330790  2
> jbd2                   81846  1 ext4
> crc16                   1691  1 ext4
> i915                  316213  3
> drm_kms_helper         31419  1 i915
> drm                   200251  3 i915,drm_kms_helper
> sd_mod                 39720  5
> intel_agp              30693  2 i915
> i2c_algo_bit            5736  1 i915
> ata_generic             3587  0
> ata_piix               22706  4
> ahci                   20697  0
> libahci                22700  1 ahci
> libata                182750  4 ata_generic,ata_piix,ahci,libahci
> scsi_mod              204764  4 sr_mod,sg,sd_mod,libata
> _____________________
> -------------------------------------
> 
> linux-y3pi:~ # /usr/xenomai/bin/xeno-test
> Started child 2983: /bin/bash /usr/xenomai/bin/xeno-test-run-wrapper
> /usr/xenomai/bin/xeno-test
> ++ echo 0
> ++ /usr/xenomai/bin/arith
> mul: 0x79364d93, shft: 26
> integ: 30, frac: 0x4d9364d9364d9364
> 
> signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 13.943 ns, rejected 0/10000
> inlined llimd: 0x79364d9364d9362f: 30.389 ns, rejected 2/10000
> inlined llmulshft: 0x79364d92ffffffe1: 0.673 ns, rejected 0/10000
> inlined nodiv_llimd: 0x79364d9364d9362f: 1.072 ns, rejected 0/10000
> out of line calibration: 0x0000000000000000: 15.025 ns, rejected 0/10000
> out of line llimd: 0x79364d9364d9362f: 35.280 ns, rejected 1/10000
> out of line llmulshft: 0x79364d92ffffffe1: 1.062 ns, rejected 1/10000
> out of line nodiv_llimd: 0x79364d9364d9362f: 1.625 ns, rejected 0/10000
> 
> signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 13.943 ns, rejected 0/10000
> inlined llimd: 0x86c9b26c9b26c9d1: 31.461 ns, rejected 1/10000
> inlined llmulshft: 0x86c9b26d0000001e: 1.071 ns, rejected 0/10000
> inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 2.146 ns, rejected 0/10000
> out of line calibration: 0x0000000000000000: 15.016 ns, rejected 0/10000
> out of line llimd: 0x86c9b26c9b26c9d1: 36.948 ns, rejected 0/10000
> out of line llmulshft: 0x86c9b26d0000001e: 1.072 ns, rejected 0/10000
> out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 1.789 ns, rejected 0/10000
> 
> unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 13.942 ns, rejected 0/10000
> inlined nodiv_ullimd: 0x79364d9364d9362f: 1.073 ns, rejected 0/10000
> out of line calibration: 0x0000000000000000: 15.016 ns, rejected 0/10000
> out of line nodiv_ullimd: 0x79364d9364d9362f: 1.070 ns, rejected 0/10000
> ++ /usr/xenomai/bin/clocktest -T 30
> == Tested clock: 0 (CLOCK_REALTIME)
> CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
> --- -------------------- ---------------- ---------- --------------
>   0            -657277.4           -0.332          0            0.0
>   1            -657277.6           -0.349          0            0.0
> ^C
> _____________________
> -------------------------------------
> 
> linux-y3pi:~ # ls /dev/rtnet
> /dev/rtnet
> 
> linux-y3pi:~ # file /dev/rtnet
> /dev/rtnet: character special
> _____________________
> -------------------------------------
> 
> What do those error messages indicate?
> Please guide.

Check with lspci -k if the rt_r8169 grabbed the NIC - I bet it doesn't.
In that case, you are affected by some deficits of this drive compared
to versions from the Linux kernel and you would have to port the
required bits over. Might be only some missing PCI ID, might be more.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to