Find the answer to your Linux question:
Results 1 to 5 of 5
I installed gentoo on a new Dell Optiplex, and had everything up and running nicely. I noticed in the ifconfig eth0 state that the onboard NIC card was reporting RX ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    3

    Network card driver help


    I installed gentoo on a new Dell Optiplex, and had everything up and running nicely. I noticed in the ifconfig eth0 state that the onboard NIC card was reporting RX Errors. I blamed it on the nic card so went and got an asante friendlynet pci nic card.

    It shows up under lspci as:
    Lite-On Communications Inc LNE100TX

    but ever since i put the card in, both my old nic and the new one stopped working, and don't even show up in ifconfig anymore

    a relevant part of dmesg:
    ds: no socket drivers loaded!

    the only module I seem to have compiled is dummy.o

    when I try to modprobe tulip it says it con not locate it. I found a folder in
    /usr/src/linux2.4.28-gentoo-rc5/drivers/net/tulip
    with files like tulip.h tulip_core.c Makefile
    and a few more, but I tried to compile it using make and got:
    Makefile:17: /Rules.make: No such file or directory
    make: *** No Rule to make target `/Rules.make'. Stop.

    Any ideas?

    Thanks!

  2. #2
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    you probably have to add support for your new card through the kernel.

    cd /usr/src/linux
    # make menuconfig
    find network stuff look for your card enable it.
    # make && make modules_install

    cp arch/i386/boot/bzimage /boot/kernel (whatever you have saved it as)
    cp System.map /boot/System.map

    reboot and see if it works.

    if it doesn't seem to want to copy you probably have to mount /boot.

    try: # mount /boot
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    3

    Still Having Problems...

    I followed the ssteps listed above, and it ran be into a bootloader kernel size overflow problem

    I found a fix for that by running /sbin/lilo after the above commands, and just before rebooting.

    eitherway,

    I still see no compiled modules, expect for dummy.o

    Considering the Gentoo Live CD wasn't recognizing this card anywya I assumed I wouldn't have much luck getting it to work so i switched to a 3com card.

    The Gentoo Live CD reconized this card just fine, and lsmod shows it is using the 3c59x module to drive the card.

    now, I am still at a loss as how to get the 3c59x module compiled into a usable object for modprobe to work it's magic.

    Why isn't make menuconfig working? should i compile this module manually?

    Thanks.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2005
    Location
    Michigan
    Posts
    5

    Re: Still Having Problems...

    Quote Originally Posted by wgknowles
    I followed the ssteps listed above, and it ran be into a bootloader kernel size overflow problem

    I found a fix for that by running /sbin/lilo after the above commands, and just before rebooting.

    eitherway,

    I still see no compiled modules, expect for dummy.o

    Considering the Gentoo Live CD wasn't recognizing this card anywya I assumed I wouldn't have much luck getting it to work so i switched to a 3com card.

    The Gentoo Live CD reconized this card just fine, and lsmod shows it is using the 3c59x module to drive the card.

    now, I am still at a loss as how to get the 3c59x module compiled into a usable object for modprobe to work it's magic.

    Why isn't make menuconfig working? should i compile this module manually?

    Thanks.

    I am the man
    The gentoo docs need updating I'll get to that later tonight.
    You need to emerge coldplug. Watch the livecd boot (f2) you'll see it does coldplug then the network.
    The docs say emerge coldplug later boot with livecd mount your drives
    chroot in whatever I am so new at linux then emerge -k coldplug

  6. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    3

    not coldplug...

    Sorry, I tried emerging coldplug, I'm pretty sure I had that done alrady anyway, but!

    I noticed something at the end of compiling the kernel and modules after adding the NIC cards in make menuconfig

    # make && make modules_install
    ...
    ...

    Entering Directory '/usr/src/linux-2.4.28-gentoo-r5/drivers/net
    cp 3c59x.o dummy.o /lib/modules/2.4.28-gentoo-r5/kernel/drivers/net
    cp: cannot stat '3c59x.o' : No Such file or directory
    make[2]: *** [_modinst_] Error 1

    So, It looks like the compilation of the driver is failing to create a .o file.
    there is a 3c59x.c file in 2 places on my HD,

    /lib/modules/2.4.28-gentoo-r5/net/3c59x.c
    /usr/scr/linux-2.4.28-gentoo-r5/drivers/net/3c59x.c

    But there are no .h files anywhere

    I need a make guru!!!

    Thanks for your help guys,
    -Greg

Posting Permissions

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