Ethernet driver trouble with rtl8139a card - Minix

This is a discussion on Ethernet driver trouble with rtl8139a card - Minix ; Hello, I have no luck getting mini-3.1.2 connected to the internet over dhcp (cable-modem). Error message: "random rtl8139 inetosdep_eth_init: no ethernet device at task=35584, port=0" Ethernet card has a rtl8139a chip. It's an Accton Tech. Corp. smc2-1211tx. Under Linux I ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Ethernet driver trouble with rtl8139a card

  1. Ethernet driver trouble with rtl8139a card

    Hello,

    I have no luck getting mini-3.1.2 connected to the internet over dhcp
    (cable-modem).

    Error message:
    "random rtl8139 inetosdep_eth_init: no ethernet device at task=35584,
    port=0"

    Ethernet card has a rtl8139a chip. It's an Accton Tech. Corp.
    smc2-1211tx.
    Under Linux I successfully use it with the rtl8139too driver.

    I researched the problem. In the course edited /etc/dhcp.conf and
    /etc/hosts according to the networking tutorial. But it seems to be a
    driver issue.

    /etc/inet.conf has been written to "eth0 rtl8139 0 {default;};" bei the
    setup program.

    Anything left to try or is my chip revision not supported by the
    rtl8139 driver?

    Guido


  2. Re: Ethernet driver trouble with rtl8139a card

    __guido__@web.de wrote:
    > Hello,
    >
    > I have no luck getting mini-3.1.2 connected to the internet over dhcp
    > (cable-modem).
    >
    > Error message:
    > "random rtl8139 inetosdep_eth_init: no ethernet device at task=35584,
    > port=0"
    >
    > Ethernet card has a rtl8139a chip. It's an Accton Tech. Corp.
    > smc2-1211tx.
    > Under Linux I successfully use it with the rtl8139too driver.
    >


    It appears that the card it is not detected. You may need to add the
    pci-id of your card to the list of devices in rtl8139.c and recompile
    the driver.

    Use linux command 'lspci -n' to get the card id.

    Ciao
    Giovanni
    --
    A computer is like an air conditioner,
    it stops working when you open Windows.
    Registered Linux user #337974 < http://giovanni.homelinux.net/ >

  3. Re: Ethernet driver trouble with rtl8139a card



    On 17 Jan., 09:45, Giovanni wrote:
    > You may need to add the
    > pci-id of your card to the list of devices in rtl8139.c and recompile
    > the driver.


    Thanks Giovanni, I got it working with 1113:1211.
    I also added vendor and product to /usr/src/drivers/pci/pci_table.c .

    Considering the relative little effort in maintaining the pci table
    compared to writing new drivers, I regret the missed opportunities. How
    can I help? Beware though, I'm a programmer, but have no experience or
    formal education with kernel/driver programming. Such small and simple
    tasks as the topic here, I can do.

    Btw., http://www.etherboot.org looks like a great source of information
    for the task.

    Guido


  4. Re: Ethernet driver trouble with rtl8139a card

    In article <1169048844.026863.319840@a75g2000cwd.googlegroups. com>,
    <__guido__@web.de> wrote:
    >Thanks Giovanni, I got it working with 1113:1211.
    >I also added vendor and product to /usr/src/drivers/pci/pci_table.c .


    I added that ID to the rtl8139 driver and the change is now in SVN.

    >Considering the relative little effort in maintaining the pci table
    >compared to writing new drivers, I regret the missed opportunities. How
    >can I help? Beware though, I'm a programmer, but have no experience or
    >formal education with kernel/driver programming. Such small and simple
    >tasks as the topic here, I can do.


    Bug reports can be sent to . But posting things to
    this newsgroup should also be enough.

    The most tables in PCI are just for debug output.


    --
    That was it. Done. The faulty Monk was turned out into the desert where it
    could believe what it liked, including the idea that it had been hard done
    by. It was allowed to keep its horse, since horses were so cheap to make.
    -- Douglas Adams in Dirk Gently's Holistic Detective Agency

  5. Re: Ethernet driver trouble with rtl8139a card



    On 18 Jan., 12:48, phi...@ue.aioy.eu (Philip Homburg) wrote:
    > In article <1169048844.026863.319...@a75g2000cwd.googlegroups. com>,
    >


    > Bug reports can be sent to . But posting things to
    > this newsgroup should also be enough.
    >
    > The most tables in PCI are just for debug output.
    >


    Ok, here comes the new pci table for drivers/rtl8139.c :

    PRIVATE struct pcitab
    {
    u16_t vid;
    u16_t did;
    int checkclass;
    } pcitab[]=
    {
    { 0x10ec, 0x8138, 0 }, /* Realtek 8139C/B */
    { 0x10ec, 0x8139, 0 }, /* Realtek RTL8139 */
    { 0x1112, 0x1211, 0 }, /* SMC1211TX EZCard 10/100 */
    { 0x1113, 0x1211, 0 }, /* Accton MPX5030 or SMC1211TX EZCard 10/100 */
    { 0x4033, 0x1360, 0 }, /* Addtron Technology 8139 */
    { 0x1186, 0x1300, 0 }, /* D-Link DFE530TX+/DFE538TX */
    { 0x1186, 0x1340, 0 }, /* D-Link DFE690TXD */
    { 0x13d1, 0xab06, 0 }, /* AboCom FE2000VX */
    { 0x1259, 0xa117, 0 }, /* Allied Telesyn 8139 */
    { 0x1259, 0xa11e, 0 }, /* Allied Telesyn 8139 */
    { 0x14ea, 0xab06, 0 }, /* Planex FNW-3603-TX */
    { 0x14ea, 0xab07, 0 }, /* Planex FNW-3800-TX */
    { 0x11db, 0x1234, 0 }, /* Sega Dreamcast HIT-400 */
    { 0x1432, 0x9130, 0 }, /* Edimax Computer Co. RTL81xx */
    { 0x02ac, 0x1012, 0 }, /* SpeedStream 1012 PCMCIA 10/100 */
    { 0x018a, 0x0106, 0 }, /* LevelOne FPC-0106Tx */
    { 0x126c, 0x1211, 0 }, /* Northern Telecom 10/100BaseTX*/
    { 0x1500, 0x1360, 0 }, /* Delta Electronics RealTek Ethernet */
    { 0x1743, 0x8139, 0 }, /* Peppercon AG 8139 ROL/F-100 */
    { 0x021b, 0x8139, 0 }, /* Compaq HNE-300 */

    /* Erratic 8139 reporting 8129 */
    { 0x10ec, 0x8129, 0 }, /* Realtek RTL-8139/8139C/8139C+*/
    #endif

    /* (Linux comments left for things left to fix) */

    /* 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 },
    {PCI_ANY_ID, 0x8139, 0x1186, 0x1300, 0, 0, RTL8139 },
    {PCI_ANY_ID, 0x8139, 0x13d1, 0xab06, 0, 0, RTL8139 },
    */
    { 0xffff, 0x8139, 0 }, /* Cloned 8139 */
    { 0x0000, 0x0000, 0 }
    };


    This table is composed of info from the linux driver and etherboot.
    I left some commented lines from linux, hinting to a workaround for
    erratic cards.

    Guido


  6. Re: Ethernet driver trouble with rtl8139a card



    On 19 Jan., 03:25, __guid...@web.de wrote:

    One card the linux guys overlooked:

    { 0x1065, 0x8139, 0 }, /* Texas Microsystems 8139C Network Card */

    Source:
    ; $FreeBSD: src/share/misc/pci_vendors,v 1.35 2006/12/07 05:41:59
    mjacob Exp $

    and elbox.com.

    Guido


  7. Re: Ethernet driver trouble with rtl8139a card

    In article <1169174658.020240.4900@38g2000cwa.googlegroups.com>,
    >One card the linux guys overlooked:


    Hi,

    I added the IDs except the ones for broken cards. Thanks.


    --
    That was it. Done. The faulty Monk was turned out into the desert where it
    could believe what it liked, including the idea that it had been hard done
    by. It was allowed to keep its horse, since horses were so cheap to make.
    -- Douglas Adams in Dirk Gently's Holistic Detective Agency

+ Reply to Thread