LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-08-2012, 05:53 AM   #1
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
[RTnet]lspci doesn't show the real time driver attached, rteth0-mac unknown interface:No such device


Code:
linux-y3pi:~ # uname -a && cat /etc/issue
Linux linux-y3pi 2.6.35.9-12-desktop #2 SMP PREEMPT Fri Jun 8 13:53:56 IST 2012 x86_64 x86_64 x86_64 GNU/Linux
Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l).
Code:
linux-y3pi:~ # ethtool -i eth0
driver: r8169
version: 2.3LK-NAPI
firmware-version: 
bus-info: 0000:01:00.0
Corresponding real time experimental driver from RTnet: `rt_r8169`

From: http://www.xenomai.org/index.php/RTn...ebugging_RTnet
Quote:
If RTnet doesn't work, or only works intermittedly, it is probably due to one of the following problems:
/dev/rtnet device node is missing.
- The Xenomai or RTAI is not working as expected on your hardware.
- The Linux driver for the real-time network device was built into the kernel and blocks the hardware.
- IRQ clash. Recent Xenomai and RTAI versions are able to detect conflicts and report them to the kernel console. Older ones may lock up the system.
- you are using rt_e1000 driver and RTnet 0.9.9 or older. See RTnet:rt_e1000 for a workaround.
From: http://www.xenomai.org/index.php/RTn...al_loopback.29
Quote:
Save the file and run "./rtnet start" under the sbin/ directory. It will wait for slaves. press cntl C to go out of its waiting for slaves.
You can see that RTnet is running by calling "lsmod" and finding the realtime driver of the network card in the loaded module list. If it is not listed then RTnet is not actively running.
Outputs of the commands:
Code:
linux-y3pi: # 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
Code:
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
Code:
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
lspci doesn't show the real time driver attached with the kernel.
Scroll down to see red.
Code:
inux-y3pi: # lspci -k                                                                                                                                         
    00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)                                                                                           
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard                                                                                                                       
            Kernel driver in use: agpgart-intel                                                                                                                                         
    00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)                                                                      
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard                                                                                                                       
            Kernel driver in use: i915                                                                                                                                                  
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)                                                                                  
            Subsystem: ASUSTeK Computer Inc. Device 83a1                                                                                                                                
            Kernel driver in use: HDA Intel                                                                                                                                             
    00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)                                                                                                  
            Kernel driver in use: pcieport                                                                                                                                              
    00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)                                                                                                  
            Kernel driver in use: pcieport                                                                                                                                              
    00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)                                                                                          
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard                                                                                                                
            Kernel driver in use: uhci_hcd                                                                                                                                              
    00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)                                                                                          
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard                                                                                                                
            Kernel driver in use: uhci_hcd                                                                                                                                              
    00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)                                                                                          
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard                                                                                                                
            Kernel driver in use: uhci_hcd                                                                                                                                              
    00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)                                                                                          
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard                                                                                                                
            Kernel driver in use: uhci_hcd                                                                                                                                              
    00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)                                                                                            
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard                                                                                                                
            Kernel driver in use: ehci_hcd
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
    00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard
            Kernel driver in use: ata_piix
    00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard
            Kernel driver in use: ata_piix
    00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
            Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard
            Kernel driver in use: i801_smbus
    01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
            Subsystem: ASUSTeK Computer Inc. Device 8136
Code:
linux-y3pi:~ # ls /dev/rtnet
/    dev/rtnet

linux-y3pi:~ # file /dev/rtnet
/dev/rtnet: character special
How to solve this problem now?

Last edited by TheIndependentAquarius; 06-08-2012 at 08:36 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] question about lspci -v doesn't show for some devices its drivers. dbd10 Linux - Newbie 3 09-11-2011 03:38 PM
[SOLVED] How can I detect removable devices attached at real time using C program amanciotarrito@yahoo.com Ubuntu 1 03-21-2011 10:57 AM
Converting a device driver for a real time kernel aleggo Linux - Kernel 2 02-26-2010 09:38 AM
pl2303 attached to ttyUSB0 but driver attached to device is "serial" sheeluh Linux - Software 4 03-12-2007 05:27 AM
"Unknown Device"s in lspci, computer running slow thrice Slackware 2 03-28-2004 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration