Autor Tópico: Falha na instalação de Drivers Lan na motherboard Asus P5GC-MX/1333  (Lida 10062 vezes)

Offline dhonorio

  • Usuário Ubuntu
  • *
  • Mensagens: 1
    • Ver perfil
Falha na instalação de Drivers Lan na motherboard Asus P5GC-MX/1333
« Online: 17 de Setembro de 2008, 17:19 »
Boa noite,

Sou iniciante no Ubuntu e estou a tentar instalar as drivers da placa no computador de um amigo mas chego a uma parte em que recebo um erro.

Após descompactar tudo e mudar o destino para a pasta "src", ao fazer make install, encontro o seguinte erro:

make: Warning: File `Makefile' has modification time 4,6e+07 s in the future
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/gaspar/l2-linux-v1.0.40.4/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/gaspar/l2-linux-v1.0.40.4/src/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/home/gaspar/l2-linux-v1.0.40.4/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [default] Error 2


Queria pedir uma ajuda e as minhas sinceras desculpas pelo incómodo.

Muito obrigado a todos.

Offline csat

  • Usuário Ubuntu
  • *
  • Mensagens: 1.647
    • Ver perfil
Re: Falha na instalação de Drivers Lan na motherboard Asus P5GC-MX/1333
« Resposta #1 Online: 18 de Setembro de 2008, 00:15 »
Boa noite,

Sou iniciante no Ubuntu e estou a tentar instalar as drivers da placa no computador de um amigo mas chego a uma parte em que recebo um erro.

Após descompactar tudo e mudar o destino para a pasta "src", ao fazer make install, encontro o seguinte erro:

make: Warning: File `Makefile' has modification time 4,6e+07 s in the future
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/gaspar/l2-linux-v1.0.40.4/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/gaspar/l2-linux-v1.0.40.4/src/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/home/gaspar/l2-linux-v1.0.40.4/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [default] Error 2


Queria pedir uma ajuda e as minhas sinceras desculpas pelo incómodo.

Muito obrigado a todos.

Antes de compilar assegure-se de que você instalou alguns pacotes necessários.  Basta copiar e colar na janela terminal de console:

Código: [Selecionar]
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`

Csat (Ubuntu 8.04)

Linux User #205394 ** Ubuntu User #19086

Offline Gladder

  • Usuário Ubuntu
  • *
  • Mensagens: 83
  • ~ Indiana Tux ~
    • Ver perfil
Re: Falha na instalação de Drivers Lan na motherboard Asus P5GC-MX/1333
« Resposta #2 Online: 22 de Setembro de 2008, 19:28 »
Estava tentando compilar o driver acerhk para as teclas especiais do meu notebook Aspire 5610 funcionarem. Baixei a source do site http://www.cakey.de/acerhk/. Fiz ./configure mas então descobri que não havia script de configuração. Então fiz make e saiu um erro como do dhonorio:

Código: [Selecionar]
glauber@glauber-laptop:~/acerhk-0.5.35$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/glauber/acerhk-0.5.35 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.24-19-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/glauber/acerhk-0.5.35/Makefile". Fix it to use EXTRA_CFLAGS.  Pare.
make[1]: ** [_module_/home/glauber/acerhk-0.5.35] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.24-19-generic'
make: ** [acerhk.ko] Erro 2

Primeiro procurei no forúm por erros 2 de make. Em tópico diziam para instalar libqt3-mt-dev. Instalei, vieram vários outros pacotes juntos. Tentei novamente o make, mas o log permaneceu igual.

Procurei então na internet por "CFLAGS was changed in" e achei um erro igual, porém (pelo que eu entendi) era um bug no source que eles estavam tentando compilar. Não sei se é isso mesmo.

Uso Ubuntu 8.04, kernel 2.6.24-19-generic, e já instalei faz tempo os pacotes que o CSAT sugeriu.

Onde posso encontrar mais informações?

Agradeço desde já a ajuda.
« Última modificação: 22 de Setembro de 2008, 20:30 por Gladder »

Offline guilhermematias

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Falha na instalação de Drivers Lan na motherboard Asus P5GC-MX/1333
« Resposta #3 Online: 19 de Dezembro de 2008, 09:50 »
Sou iniciante em linux e estou com o mesmo problema em uma ASUS P5KPL-C/1600
ao instalar o ubuntu 8.04, ele não reconheceu a lan

dentro do cd da placa mãe tem uma pasta com o nome LinuxDrivers com duas sub-pastas
8121_8113_lan e VIA_Audio

dentro da pasta 8121_8113_lan tem um arquivo .rar ( l1e-l2e-linux-v1.0.0.4.rar) e dois arquivos .txt ( ldistrib.txt  e o readme)

Tentei algumas coisas mais já não sei o que fazer pessoal, quem puder me ajudar eu agradeço muito pq este computador é para trabalho e são DOIS iguais, e outra pessoa está esperando que eu termine pra poder usar...

o readme contem:


Linux* Base Driver for the Atheros(R) AR8121/AR8113 PCI-E Ethernet Adapter

==========================================================================



Contents

========



- In This Release

- Building and Installation

- Command Line Parameters

- Additional Configurations

- Known Issues

- Support



In This Release

===============



This file describes the Linux* Base Driver for the Atheros(R) AR8121/AR8113 PCI-E

Ethernet Adapter, version 1.0.0.0 This driver supports the 2.4.x and 2.6.x kernels.



This driver is only supported as a loadable module at this time. Atheros is not

supplying patches against the kernel source to allow for static linking of

the driver. For questions related to hardware requirements, refer to the

documentation supplied with your Atheros(R) adapter. All hardware

requirements listed apply to use with Linux.



Building and Installation

=========================



To build a binary RPM* package of this driver, run 'rpmbuild -também

<filename.tar.gz>'. Replace <filename.tar.gz> with the specific filename of

the driver.



NOTE: For the build to work properly, the currently running kernel MUST match

      the version and configuration of the installed kernel sources. If you

      have just recompiled the kernel reboot the system now.



      RPM functionality has only been tested in Red Hat distributions.



1. Move the base driver tar file to the directory of your choice. For example,

   use /home/username/arl1e or /usr/local/src/arl1e.



2. Untar/unzip archive:



     tar zxf arl1e-x.x.x.tar.gz



3. Change to the driver src directory:



     cd arl1e-x.x.x/src/



4. Compile the driver module:



     make install



   The binary will be installed as:



     /lib/modules/<KERNEL VERSION>/kernel/drivers/net/arl1e.[k]o



   The install locations listed above are the default locations. They might

   not be correct for certain Linux distributions. For more information,

   see the ldistrib.txt file included in the driver tar.



5. Install the module:



     insmod arl1e <parameter>=<value>



6. Assign an IP address to the interface by entering the following, where

   x is the interface number:



     ifconfig ethx <IP_address>



7. Verify that the interface works. Enter the following, where <IP_address>

   is the IP address for another machine on the same subnet as the interface

   that is being tested:



     ping  <IP_address>



Command Line Parameters

=======================



If the driver is built as a module, the  following optional parameters are

used by entering them on the command line with the modprobe or insmod command

using this syntax:



     modprobe arl1e [<option>=<VAL1>,<VAL2>,...]



     insmod arl1e [<option>=<VAL1>,<VAL2>,...]



For example, with two L001 PCIE adapters, entering:



     insmod arl1e TxMemSize=80,128

loads the arl1e driver with 8KB TX memory for the first adapter and 10KB TX memory

for the second adapter.



The default value for each parameter is generally the recommended setting,

unless otherwise noted.



    NOTES: A descriptor describes a data buffer and attributes related to the

           data buffer. This information is accessed by the hardware.



MediaType

Valid Range: 0-4

   0    - auto-negotiate at all supported speeds

   1    - only link at 100Mbps Full Duplex

   2    - only link at 100Mbps Half Duplex

   3    - only link at 10Mbps Full Duplex

   4    - only link at 10Mbps Half Duplex

Default Value: 0

    MediaType forces the line speed/duplex to the specified value in

    megabits per second(Mbps). If this parameter is not specified or is set

    to 0 and the link partner is set to auto-negotiate, the board will

    auto-detect the correct speed.



IntModTimer

Valid Range: 50-65000

Default Value: 100

    This value represents the minmum interval between interrupts controller

    generated.



RxMemBlock

Valid Range: 16-512

Default Value: 64

    This value is the number of receice memory block allocated by the driver.

    Increasing this value allows the driver to buffer more incoming packets.

    Each memory block is 1536 bytes.



    NOTE: Depending on the available system resources, the request for a

    higher number of receive descriptors may be denied.  In this case,

    use a lower number.



TxMemSize

Valid Range: 4-64

Default Value: 8

    This value is the number KB of transmit memory allocated by the driver.

    Increasing this value allows the driver to queue more transmits.



    NOTE: Depending on the available system resources, the request for a

    higher number of transmit descriptors may be denied.  In this case,

    use a lower number.



FlashVendor

Valid Range: 0-2

Default Value: 0

    This value standards on vendor of spi flash used by the adapter.

    0 for Atmel, 1 for SST, 2 for ST

   



Additional Configurations

=========================



  Configuring the Driver on Different Distributions

  -------------------------------------------------



  Configuring a network driver to load properly when the system is started is

  distribution dependent. Typically, the configuration process involves adding

  an alias line to /etc/modules.conf as well as editing other system startup

  scripts and/or configuration files. Many popular Linux distributions ship

  with tools to make these changes for you. To learn the proper way to

  configure a network device for your system, refer to your distribution

  documentation. If during this process you are asked for the driver or module

  name, the name for the Linux Base Driver for the Atheros AR8121/AR8113 is arl1e

 

  As an example, if you install the arl1e driver for two AR8121/AR8113 adapters

  (eth0 and eth1) and set the speed and duplex to 10full and 100half, add the

  following to modules.conf:



       alias eth0 arl1e

       alias eth1 arl1e

       options arl1e Speed=10,100 Duplex=2,1



  Viewing Link Messages

  ---------------------



  Link messages will not be displayed to the console if the distribution is

  restricting system messages. In order to see network driver link messages

  on your console, set dmesg to eight by entering the following:



       dmesg -n 8



  NOTE: This setting is not saved across reboots.





Known Issues

============



NOTE: For distribution-specific information, see the ldistrib.txt file

      included in the driver tar.



  Driver Compilation

  ------------------



  When trying to compile the driver by running make install, the following

  error may occur:



      "Linux kernel source not configured - missing version.h"



  To solve this issue, create the version.h file by going to the Linux source

  tree and entering:



      make include/linux/version.h.





Support

=======



For general information, go to the Atheros support website at:



    http://support.atheros.com



If an issue is identified with the released source code on the supported

kernel with a supported adapter, email the specific information related to

the issue to xiong.huang@atheros.com



License

=======



This software program is released under the terms of a license agreement

between you ('Licensee') and Atheros. Do not use or load this software or any

associated materials (collectively, the 'Software') until you have carefully

read the full terms and conditions of the LICENSE located in this software

package. By loading or using the Software, you agree to the terms of this

Agreement. If you do not agree with the terms of this Agreement, do not

install or use the Software.



* Other names and brands may be claimed as the property of others.

Offline guilhermematias

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Falha na instalação de Drivers Lan na motherboard Asus P5GC-MX/1333
« Resposta #4 Online: 22 de Dezembro de 2008, 12:34 »
Bom amigos, resolvi o problema colocando uma placa de rede Off..