(Gelöst) Atheros 8151 (1969:1083) unter 11.4_X64

Status
Für weitere Antworten geschlossen.

djaika

New Member
Hi!
Ich habe meinen Rechner aufgerüstet. Auf dem Board Asus P5G41T-MLX ist ein Atheros 8151 Netzwerk-Chip verbaut. Leider kriege ich ihn nicht zum laufen.

Mein Kernel ist: Linux 2.6.37.6-0.7-desktop x86_64
hwinfo bringt folgendes:

Code:
24: PCI 200.0: 0200 Ethernet controller                         
  [Created at pci.318]
  Unique ID: B35A.F1VHyVdnVg6
  Parent ID: qTvu.ROwBNUz0Ld3
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Attansic Ethernet controller"
  Vendor: pci 0x1969 "Attansic Technology Corp."
  Device: pci 0x1083 
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x83fe 
  Revision: 0xc0
  Memory Range: 0xfeac0000-0xfeafffff (rw,non-prefetchable)
  I/O Ports: 0xdc00-0xdc7f (rw)
  IRQ: 5 (no events)
  Module Alias: "pci:v00001969d00001083sv00001043sd000083FEbc02sc00i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #13 (PCI bridge)

25: PCI 401.0: 0200 Ethernet controller
  [Created at pci.318]
  Unique ID: rBUF.oxSyVMMObW1
  Parent ID: 6NW+.zXRvsg0ka5E
  SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:04:01.0
  SysFS BusID: 0000:04:01.0
  Hardware Class: network
  Model: "Realtek RTL-8169 Gigabit Ethernet"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8169 "RTL-8169 Gigabit Ethernet"
  SubVendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  SubDevice: pci 0x8169 
  Revision: 0x10
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eth0
  I/O Ports: 0xe800-0xe8ff (rw)
  Memory Range: 0xfebffc00-0xfebffcff (rw,non-prefetchable)
  Memory Range: 0xfebc0000-0xfebdffff (ro,non-prefetchable,disabled)
  IRQ: 16 (115856 events)
  HW Address: 00:e0:52:bd:21:b8
  Link detected: yes
  Module Alias: "pci:v000010ECd00008169sv000010ECsd00008169bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #19 (PCI bridge)
Der Realtek RTL-8169 ist eine PCI-karte die wieder raus muß um Platz für eine Soundkarte zu schaffen.

Wenn ich nach Handbuch/Readme von Asus gehe
Code:
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.5 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 -tb 
<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.x.tar.gz

3. Change to the driver src directory:

     cd arl1e-x.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>
bekomme ich folgende Meldung:
Code:
Makefile:105: *** Linux kernel source not configured - missing autoconf.h.  Schluss.
Im Bugzilla wurde es bereits beschrieben und es wurden auch ein rpm angeboten, welches wohl für einen anderen Kernel gedacht war. Es lässt sich nicht installieren. Ich habe sogar versucht den Kernel auf Version 3 zu bringen. Leider startete der PC danach nicht mehr.

Was kann ich tun, bzw. welchen Denkfehler mach ich hier?
 

djaika

New Member
AW: Atheros 8151 unter 11.4_X64

Die -Devel-Pakete sind installiert. Kernel-Header werden mir nicht extra aufgeführt im yast. Ich habe daher die komplette Sammlung zur Kernelentwicklung installiert. Ich denke mal dort sind die Header drin. Kernelsourcen sind jedenfalls dabei
 

Rain_Maker

Administrator
Teammitglied
AW: Atheros 8151 unter 11.4_X64

Code:
  Model: "Attansic Ethernet controller"
  Vendor: pci [B]0x1969[/B] "Attansic Technology Corp."
  Device: pci [B]0x1083[/B]
Nun ja, von Hand rumbasteln würde (mit einigem Aufwand aka "Patchen") gehen, aber die Fehlermeldung hat nichts mit fehlenden oder unvollständigen Kernelquellen zu tun, sondern damit, daß der Quellcode des Vendortreibers zu alt für neuere Kernel ist (autoconf.h gibt es schon eine Weile nicht mehr).

Letztendlich sind solche Lösungen mit händischem Bau eines externen Treibers unter Umgehung der Paketverwaltung aber nur ein Notnagel und meist auch unnötiges Gefrickel, welches man nur anwenden sollte, wenn es keine bessere Lösung gibt.

Code:
modinfo atl1c
filename:       /lib/modules/2.6.37.6-0.7-desktop/[B]updates[/B]/drivers/net/atl1c/atl1c.ko
version:        1.0.1.0-NAPI
license:        GPL
description:    Atheros 1000M Ethernet Network Driver
author:         Jie Yang <jie.yang@atheros.com>
srcversion:     8B0DD24BD4B9ADC4C509C26
alias:          pci:v0000[B]1969[/B]d0000[B]1083[/B]sv*sd*bc*sc*i*
alias:          pci:v00001969d00001073sv*sd*bc*sc*i*
alias:          pci:v00001969d00002062sv*sd*bc*sc*i*
alias:          pci:v00001969d00002060sv*sd*bc*sc*i*
alias:          pci:v00001969d00001062sv*sd*bc*sc*i*
alias:          pci:v00001969d00001063sv*sd*bc*sc*i*
depends:        
vermagic:       2.6.37.6-0.7-desktop SMP preempt mod_unload modversions
Dieser Treiber kommt natürlich nicht aus dem Standardkernel, sonst wäre er nicht im Unterverzeichnis "updates", sondern stammt aus:

Code:
rpm -qf /lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atl1c/atl1c.ko
[B]compat-wireless-kmp-desktop[/B]-3.0_k2.6.37.6_0.7-2.1.x86_64
In a nutshell:

- Internetverbindung herstellen (zweite Netzwerkkarte)

-
Code:
zypper ar -r http://download.opensuse.org/repositories/driver:/wireless/11.4-update/driver:wireless.repo

zypper ref driver_wireless

zypper in compat-wireless-kmp-desktop

modprobe atl1c
 

Rain_Maker

Administrator
Teammitglied
AW: Atheros 8151 unter 11.4_X64

tomfa schrieb:
Auf compat-wireless wäre ich ja jetzt überhaupt nicht gekommen.
Schon klar, aber mittlerweile steckt da eben etwas mehr drin als "nur" ein paar WLAN-Treiber.



Teilweise "erzwungenermassen" (z.B. b44.ko, welches genau so von ssb.ko abhängt wie die WLAN-Treiber b43.ko/b43legacy.ko", also muss man dann auch den aktuellen b44.ko mit in compat-wireless packen, weil es sonst Ärger geben wird, wenn man b44.ko verwenden will), teilweise "freiwillig" wurden da schon seit längerem auch "nicht-WLAN"-Treiber in aktueller Version mit hineingepackt.



Code:
rpm -ql compat-wireless-kmp-desktop | grep -vE 'wireless|mac80211'


/lib/modules/2.6.37.6-0.7-desktop
/lib/modules/2.6.37.6-0.7-desktop/updates
/lib/modules/2.6.37.6-0.7-desktop/updates/compat
/lib/modules/2.6.37.6-0.7-desktop/updates/compat/compat.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/ath3k.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/bcm203x.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/bfusb.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/bluecard_cs.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/bpa10x.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/bt3c_cs.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/btmrvl.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/btmrvl_sdio.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/btsdio.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/btuart_cs.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/btusb.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/dtl1_cs.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/hci_uart.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/bluetooth/hci_vhci.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atl1c
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atl1c/atl1c.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atl1e
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atl1e/atl1e.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atlx
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atlx/atl1.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/atlx/atl2.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/b44.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/usb
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/usb/cdc_ether.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/usb/rndis_host.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/net/usb/usbnet.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/ssb
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/ssb/ssb.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/ath6kl
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/ath6kl/ath6kl.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/brcm80211
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/brcm80211/brcmfmac
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/brcm80211/brcmfmac/brcmfmac.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/brcm80211/brcmsmac
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/brcm80211/brcmsmac/brcmsmac.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/brcm80211/util
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/brcm80211/util/brcmutil.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/winbond
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/winbond/w35und.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/wlan-ng
/lib/modules/2.6.37.6-0.7-desktop/updates/drivers/staging/wlan-ng/prism2_usb.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/net
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/bluetooth.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/bnep
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/bnep/bnep.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/cmtp
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/cmtp/cmtp.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/hidp
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/hidp/hidp.ko
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/rfcomm
/lib/modules/2.6.37.6-0.7-desktop/updates/net/bluetooth/rfcomm/rfcomm.ko
 

djaika

New Member
AW: Atheros 8151 unter 11.4_X64

Mit compat-wireless hat es tatsächlich geklappt. Aber darauf gekommen wäre ich mein ganzes Leben nicht.

DANKE :)
 

Rain_Maker

Administrator
Teammitglied
AW: Atheros 8151 unter 11.4_X64

Bevor ich hier "das Licht ausmache", lege ich auf Verdacht noch zwei Links ab, die vor allem auch deshalb

Der Realtek RTL-8169 ist eine PCI-karte die wieder raus muß um Platz für eine Soundkarte zu schaffen.
noch für den TE (und natürlich auch Querleser) von Interesse sein dürften.

http://www.suseforum.de/suse-routing/8011-gel-st-ger-tename-der-ethernetkarte-wechselt-st-ndig-forcedeth.html

http://www.suseforum.de/linux-howtos/1555-feste-namensvergabe-bei-netzwerkger-ten-altlasten-entfernen-suse-10-x-ubuntu.html
 
Status
Für weitere Antworten geschlossen.
Oben