FedoraForum.org - Fedora Support Forums and Community
Page 2 of 6 FirstFirst 1234 ... LastLast
Results 16 to 30 of 78
  1. #16
    Join Date
    Feb 2005
    Posts
    1,108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The PCI device ID of your card -> 1904:8139 is not present in the Linux PCI ID list http://pciids.sourceforge.net/
    Thats the reason your card's name isn't seen with lspci . You can just add the data to /usr/share/misc/hwdata/pci.ids. Just open the file, the format is pretty clear.
    What is the error/output with
    modprobe 8139too
    modprobe 8139too media=0x01 and
    modprobe 8139cp
    Can you post the output of lspci along with lspci -n Just to find out the Class of your NIC. That could be useful.
    Last edited by mndar; 10th December 2005 at 04:14 AM.

  2. #17
    jaga Guest
    sorry for the delay.

    I will give the details of lspci & lspci -n within 10 min.

    Before that i would like to inform you that everytime when i boot fedora 4,
    iam geeting this line on my screen

    ACPI: BIOS age(1998) fails cutoff(2001), acpi=force is required to enable acpi

    Does it have any impact on it?

  3. #18
    jaga Guest
    I had edited the Pci.ids files and the lines that i added is shown below along with some other lines from the same file

    Realtek Semiconductor Co., Ltd.
    8029 RTL-8029(AS)
    10b8 2011 EZ-Card (SMC1208)
    10ec 8029 RTL-8029(AS)
    1113 1208 EN1208
    1186 0300 DE-528
    1259 2400 AT-2400
    8129 RTL-8129
    10ec 8129 RT8129 Fast Ethernet Adapter
    8138 RT8139 (B/C) Cardbus Fast Ethernet Adapter
    10ec 8138 RT8139 (B/C) Fast Ethernet Adapter
    8139 RTL-8139/8139C/8139C+/8139D
    1904 8139 RTL8139D Fast Ethernet Adapter

    0357 000a TTP-Monitoring Card V2.0
    1025 005a TravelMate 290
    1025 8920 ALN-325
    1025 8921 ALN-325
    1071 8160 MIM2000
    10bd 0320 EP-320X-R
    10ec 8139 RT8139
    1113 ec01 FNC-0107TX

    The output of lspci is:

    [root@localhost ~]# lspci
    00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
    00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
    00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
    00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
    00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
    00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
    00:10.0 Multimedia audio controller: Yamaha Corporation YMF-724F [DS-1 Audio Controller] (rev 03)
    00:12.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
    00:12.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
    00:12.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
    00:14.0 Ethernet controller: Unknown device 1904:8139 (rev 01)
    01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 92)

    [root@localhost ~]# lspci -n
    00:00.0 Class 0600: 8086:7190 (rev 03)
    00:01.0 Class 0604: 8086:7191 (rev 03)
    00:07.0 Class 0601: 8086:7110 (rev 02)
    00:07.1 Class 0101: 8086:7111 (rev 01)
    00:07.2 Class 0c03: 8086:7112 (rev 01)
    00:07.3 Class 0680: 8086:7113 (rev 02)
    00:10.0 Class 0401: 1073:000d (rev 03)
    00:12.0 Class 0c03: 10b9:5237 (rev 03)
    00:12.1 Class 0c03: 10b9:5237 (rev 03)
    00:12.3 Class 0c03: 10b9:5239 (rev 01)
    00:14.0 Class 0200: 1904:8139 (rev 01)
    01:00.0 Class 0300: 1039:6326 (rev 92)
    10ec

    And for the commands

    modprobe 8139too
    modprobe 8139too media=0x01 and
    modprobe 8139cp


    there is no output. It simply goes to next line.

  4. #19
    Join Date
    Feb 2005
    Posts
    1,108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, if the module is loading correctly, why not try the following command
    ifconfig eth0 <ip-address>
    Also try modprobe 8139too media=0x02
    If it works, we can load the module during boot.
    The pci.ids thing was just for fun. Anyway, I think the line to be added is

    1904 Realtek Semiconductor Co., Ltd.
    8139 My Card


    And the BIOS thing. I think you just need to enable ACPI in the BIOS.
    BTW, are you sure that your Card is a Realtek 8139D. The Linux PCI.IDs doesn't have an entry, thats why I am curious. Don't go by what drivers you use in Windows
    Last edited by mndar; 10th December 2005 at 12:10 PM.

  5. #20
    jaga Guest

    Exclamation

    I tried to load the module and i think the module is working. But still the ethernet adaptor is not detected. I also changed the pci.ids. And i here below provided the output of varies commands that i tried. And i think it will give you a perfect idea.

    [root@localhost ~]# ifconfig eth0 192.168.1.3

    SIOCSIFADDR: No such device
    eth0: unknown interface: No such device

    [root@localhost ~]# modprobe 8139too media=0x02


    [root@localhost ~]# lsmod
    Module Size Used by
    8139too 30017 0
    mii 5441 1 8139too
    vfat 13377 1
    fat 54621 1 vfat
    sermouse 5441 0
    parport_pc 28933 1
    lp 13001 0
    parport 40585 2 parport_pc,lp
    autofs4 29253 2
    rfcomm 42333 0
    l2cap 30661 5 rfcomm
    bluetooth 56133 4 rfcomm,l2cap
    sunrpc 167813 1
    dm_mod 58101 0
    md5 4033 1
    ipv6 268097 8
    uhci_hcd 35152 0
    ohci_hcd 26849 0
    ehci_hcd 41037 0
    i2c_piix4 8657 0
    i2c_core 21569 1 i2c_piix4
    snd_ymfpci 70913 1
    gameport 18633 1 snd_ymfpci
    snd_ac97_codec 75961 1 snd_ymfpci
    snd_seq_dummy 3653 0
    snd_seq_oss 37057 0
    snd_seq_midi_event 9153 1 snd_seq_oss
    snd_seq 62289 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_pcm_oss 51185 0
    snd_mixer_oss 17857 1 snd_pcm_oss
    snd_pcm 100169 3 snd_ymfpci,snd_ac97_codec,snd_pcm_oss
    snd_opl3_lib 12353 1 snd_ymfpci
    snd_timer 33605 4 snd_ymfpci,snd_seq,snd_pcm,snd_opl3_lib
    snd_hwdep 9057 1 snd_opl3_lib
    snd_page_alloc 9669 2 snd_ymfpci,snd_pcm
    snd_mpu401_uart 10049 1 snd_ymfpci
    snd_rawmidi 30305 1 snd_mpu401_uart
    snd_seq_device 8781 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd _rawmidi
    snd 57157 15 snd_ymfpci,snd_ac97_codec,snd_seq_oss,snd_seq,snd_ pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_tim er,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_d evice
    soundcore 10913 1 snd
    floppy 65269 0
    ext3 132553 1
    jbd 86233 1 ext3

    [root@localhost ~]# dhcpd eth0
    Internet Systems Consortium DHCP Server V3.0.2
    Copyright 2004 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    Can't open /etc/dhcpd.conf: No such file or directory

    If you did not get this software from ftp.isc.org, please
    get the latest from ftp.isc.org and install that before
    requesting help.

    If you did get this software from ftp.isc.org and have not
    yet read the README, please read it before requesting help.
    If you intend to request help from the dhcp-server@isc.org
    mailing list, please read the section on the README about
    submitting bug reports and requests for help.

    Please do not under any circumstances send requests for
    help directly to the authors of this software - please
    send them to the appropriate mailing list as described in
    the README file.

    exiting.

    [root@localhost ~]# dmesg|grep -i eth0


    [root@localhost ~]# dmesg|grep -i eth

    8139too Fast Ethernet driver 0.9.27
    8139too Fast Ethernet driver 0.9.27

    [root@localhost ~]# cat /proc/interrupts
    CPU0
    0: 3665471 XT-PIC timer
    1: 3217 XT-PIC i8042
    2: 0 XT-PIC cascade
    3: 61065 XT-PIC serial
    8: 1 XT-PIC rtc
    9: 0 XT-PIC ehci_hcd:usb1
    10: 5 XT-PIC YMFPCI
    11: 0 XT-PIC ohci_hcd:usb2, uhci_hcd:usb4
    12: 0 XT-PIC ohci_hcd:usb3
    14: 18645 XT-PIC ide0
    15: 32092 XT-PIC ide1
    NMI: 0
    ERR: 0

    [root@localhost ~]# cat /proc/iomem

    00000000-0009fbff : System RAM
    0009fc00-0009ffff : reserved
    000a0000-000bffff : Video RAM area
    000c0000-000c7fff : Video ROM
    000dc000-000dffff : reserved
    000f0000-000fffff : System ROM
    00100000-11fcffff : System RAM
    00100000-00375ab5 : Kernel code
    00375ab6-004223ff : Kernel data
    11fd0000-11ff7fff : ACPI Tables
    11ff8000-11ffffff : ACPI Non-volatile Storage
    e6c00000-e7cfffff : PCI Bus #01
    e7000000-e77fffff : 0000:01:00.0
    e8000000-ebffffff : 0000:00:00.0
    efe00000-efefffff : PCI Bus #01
    efef0000-efefffff : 0000:01:00.0
    effe8000-effeffff : 0000:00:10.0
    effe8000-effeffff : YMFPCI
    efff9000-efff9fff : 0000:00:12.0
    efff9000-efff9fff : ohci_hcd
    efffa000-efffafff : 0000:00:12.1
    efffa000-efffafff : ohci_hcd
    efffbe00-efffbeff : 0000:00:14.0
    efffbf00-efffbfff : 0000:00:12.3
    efffbf00-efffbfff : ehci_hcd
    fffc0000-ffffffff : reserved

  6. #21
    Join Date
    Feb 2005
    Posts
    1,108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After modprobe 8139too media=0x02 or after modprobe 8139too media=0x01 or modprobe 8139too did you try
    ifconfig eth0 <ip-addr>

    cat /proc/iomem should show the module 8139too

    Also check
    mii-tool

    I just suggested media=0x02, it must be media=0x01 itself. Doesn't hurt to try !

  7. #22
    jaga Guest
    I tried mii-tool also but its of no use.

    Just have a look on this link http://www.cs.helsinki.fi/linux/linu...2-46/0485.html

    I tried to change the source file 8139too_n.c as per the instruction in the above link. I here shown below in bold later the changes that i had made

    static struct pci_device_id rtl8139_pci_tbl[] __devinitdata = {
    {0x10ec, 0x8139, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139 },
    {0x1904, 0x8139, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139 },
    {0x10ec, 0x8138, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139_CB },
    {0x1113, 0x1211, PCI_ANY_ID, PCI_ANY_ID, 0, 0, SMC1211TX },
    /* {0x1113, 0x1211, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MPX5030 },*/
    {0x1500, 0x1360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DELTA8139 },
    {0x4033, 0x1360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ADDTRON8139 },
    {0x1186, 0x1300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DFE538TX },
    {0x10ec, 0x8129, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8129 },

    /* some crazy cards report invalid vendor ids like
    * 0x0001 here. The other ids are valid and constant,
    * so we simply don't match on the main vendor id.
    */
    {PCI_ANY_ID, 0x8139, 0x10ec, 0x8139, 0, 0, RTL8139 },

    {0,}


    and i also added 0x1904:0x8139 (which is the ethernet card detail) in the file /usr/share/hwdata/pcitable.

    After that based on the instruction from the README file of the driver , i run the following commands. But its still shows some error which is shown below

    [root@localhost 8139too]# make clean modules
    make -C src/ clean
    make[1]: Entering directory `/usr/src/8139too/src'
    rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
    make[1]: Leaving directory `/usr/src/8139too/src'
    make -C src/ modules
    make[1]: Entering directory `/usr/src/8139too/src'
    make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/usr/src/8139too/src modules
    make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
    CC [M] /usr/src/8139too/src/8139too_n.o
    /usr/src/8139too/src/8139too_n.c: In function ‘rtl8139_init_board’:
    /usr/src/8139too/src/8139too_n.c:1087: error: ‘struct pci_dev’ has no member named ‘slot_name’
    /usr/src/8139too/src/8139too_n.c:1088: error: ‘struct pci_dev’ has no member named ‘slot_name’
    make[3]: *** [/usr/src/8139too/src/8139too_n.o] Error 1
    make[2]: *** [_module_/usr/src/8139too/src] Error 2
    make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/8139too/src'
    make: *** [modules] Error 2

    [root@localhost 8139too]# make install
    make -C src/ install
    make[1]: Entering directory `/usr/src/8139too/src'
    install -m 644 -c 8139too.ko /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/net/
    install: cannot stat `8139too.ko': No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/usr/src/8139too/src'
    make: *** [install] Error 2


    what i have to do now?????????

  8. #23
    Join Date
    Feb 2005
    Posts
    1,108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have to applaud your Google skills!
    I think you have found the solution!
    The line
    {0x1904, 0x8139, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139 },
    has to be added to the 8139too.c file in the kernel source.
    I think
    {PCI_ANY_ID, 0x8139, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139 },
    should also work, but I am not sure.

    I assume you are using the kernel shipped with FC4. Just confirm it using uname -r
    Download the source
    http://download.fedora.redhat.com/pu...69_FC4.src.rpm

    Install it rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm
    This will create a directory inside /usr/src . Go in that directory. In this, the file to be modified is drivers/net/8139too.c

    The instructions for compiling the kernel are
    make menuconfig <--confirm that all the device drivers you need are chosen.
    make bzImage
    make modules
    make modules_install
    make install

  9. #24
    jaga Guest
    I installed the kernel source by rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm

    After that i went inside the /usr/src/2.6.11-1.1.1369/kernel/drivers/net but there is no file with the name 8139too.c

    Did i have to copy the file 8139too.c file from the driver CD that i got with the Ethernet adaptor to the above location ?

    If yes, did i have to copy the makefile also to this location?

    If no means what i have to do.

    Please guide me with exact steps to follow.

  10. #25
    Join Date
    Feb 2005
    Posts
    1,108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am sorry, I was refering to the vanilla kernel. You need to do one more thing to build the kernel sources
    After rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm
    do this
    rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec
    If for some reason this gives an error, change --target=noarch to --target=i386 or whichever architecture your system supports. You can find this using uname -a. I think, yours should be i586
    After this the kernel source will be /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11
    Then follow the steps as given in the previous post

  11. #26
    rajubond_84 Guest

    same is the case here but a little variation

    hi,

    i am Rajesh kumar from india. i have recently installed fedora core 1 in my computer. i have both winxp and fedora on my comp. i have been looking at the interaction of you two, jaga and mndar. i am also not able access my ethernet card from fedora. i have tried few of the solutions u have suggested like installing it from the "8139too". etc, but as i try to install through the make file i am getting 1000 and odd errors.

    my ethernet adapter is rtl8139d, but it is getting recognised as MYSON Technologies ethernet pci adapter. i use a Dynamic ip....... so could you



    i am a new user to linux so please keep that in mind before giving any reply.

    Rajesh

  12. #27
    Join Date
    Feb 2005
    Posts
    1,108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    rajubond_84,
    Please post the output of
    lspci
    lspci -n
    lsmod
    modprobe 8139too

    What happends when you give ifconfig eth0 <ip-address>

  13. #28
    rajubond_84 Guest
    my fc is giving the following for the commands u have specified

    "lspci"


    00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
    00:02.0 VGA compatible controller: Intel Corp. 82815 CGC [Chipset Graphics Controller] (rev 02)
    00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 05)
    00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
    00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
    00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
    00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
    00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05)
    01:09.0 Ethernet controller: MYSON Technology Inc SURECOM EP-320X-S 100/10M Ethernet PCI Adapter






    "lsmod"

    Module Size Used by Not tainted
    i810_audio 27752 1 (autoclean)
    ac97_codec 17192 0 (autoclean) [i810_audio]
    soundcore 6468 2 (autoclean) [i810_audio]
    parport_pc 19076 1 (autoclean)
    lp 9060 0 (autoclean)
    parport 37056 1 (autoclean) [parport_pc lp]
    autofs 13364 0 (autoclean) (unused)
    ipt_REJECT 4344 1 (autoclean)
    ipt_state 1080 1 (autoclean)
    ip_conntrack 29256 1 (autoclean) [ipt_state]
    iptable_filter 2444 1 (autoclean)
    ip_tables 15776 3 [ipt_REJECT ipt_state iptable_filter]
    floppy 58012 0 (autoclean)
    sg 36492 0 (autoclean)
    sr_mod 18168 0 (autoclean)
    microcode 4700 0 (autoclean)
    ide-scsi 12208 0
    scsi_mod 108168 3 [sg sr_mod ide-scsi]
    ide-cd 35776 0
    cdrom 33728 0 [sr_mod ide-cd]
    keybdev 2976 0 (unused)
    hid 24708 0 (unused)
    usb-uhci 26380 0 (unused)
    usbcore 79168 1 [hid usb-uhci]
    mousedev 5556 1 (autoclean)
    input 5888 0 (autoclean) [keybdev hid mousedev]
    agpgart 54820 4 (autoclean)
    ext3 71300 2
    jbd 52084 2 [ext3]


    "modprobe 8139too"


    /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/net/8139too.o: init_module: No such device
    Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
    You may find more information in syslog or the output from dmesg
    /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/net/8139too.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/net/8139too.o:failed
    /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/net/8139too.o: insmod 8139too failed



    "ifconfig eth0<ip-address>"
    SIOCSIFADDR: No such device
    eth0: unknown interface: No such device


    these are the replies. i am waiting for ur reply for future action regarding this process.

  14. #29
    rajubond_84 Guest
    this is the message igot when i pressed lspci -n

    00:00.0 Class 0600: 8086:1130 (rev 02)
    00:02.0 Class 0300: 8086:1132 (rev 02)
    00:1e.0 Class 0604: 8086:244e (rev 05)
    00:1f.0 Class 0601: 8086:2440 (rev 05)
    00:1f.1 Class 0101: 8086:244b (rev 05)
    00:1f.2 Class 0c03: 8086:2442 (rev 05)
    00:1f.3 Class 0c05: 8086:2443 (rev 05)
    00:1f.5 Class 0401: 8086:2445 (rev 05)
    01:09.0 Class 0200: 1516:0803

  15. #30
    jaga Guest
    Quote Originally Posted by mndar
    I am sorry, I was refering to the vanilla kernel. You need to do one more thing to build the kernel sources
    After rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm
    do this
    rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec
    If for some reason this gives an error, change --target=noarch to --target=i386 or whichever architecture your system supports. You can find this using uname -a. I think, yours should be i586
    After this the kernel source will be /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11
    Then follow the steps as given in the previous post
    Hello i finished installing the kernel with all the steps as you told. Its really a very tedious process as it took nearly 3 hours for me.

    Now in the partition of 9GB that i alloted for fedora i have only 500Mb remaining.


    After installing the kernel, i rebooted my System and now in the GRUB loader iam getting 2 options

    Fedora Core(2.6.11-prep)
    -----> which is the new one

    Fedora 4

    What i have to do now?

Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. Replies: 1
    Last Post: 11th November 2007, 09:49 AM
  2. RTL8139D based NIC not working in Fedora7
    By dip_10 in forum Servers & Networking
    Replies: 9
    Last Post: 19th August 2007, 04:31 PM
  3. video card problem or web page problem?
    By FireMac in forum Using Fedora
    Replies: 0
    Last Post: 2nd March 2006, 03:11 AM
  4. realtek rtl8139d problem
    By maxo in forum Hardware
    Replies: 1
    Last Post: 21st January 2006, 05:42 AM
  5. Replies: 18
    Last Post: 17th December 2005, 03:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •