Skocz do zawartości

Wifi Rtl8180 Na Fedora Core 8


sekla

Rekomendowane odpowiedzi

Witajcie :)

 

Mam taki problem - nie moge uruchomic karty sieciowej PCI opartej na chipie rtl8180 na swojej Fedorze Core 8. System stoi od wczoraj i od wczoraj walcze z tym wifi - a musi byc wifi, bo komputer bedzie stal z dala od routera i nie bardzo mam jak tam skretke przeciagnac...

 

Przejrzalem juz to forum, google i sporo innych stron i rozwiazania nie znalazlem, Probowalem juz wielu rzeczy, ale mozliwe, ze jakas glupote robie i dlatego mi nie dziala, jestem nowy w Linuksie.

 

Fedora Core 8 na jadrze 2.6.23.14-107 i686

 

Napisze po kolei, co robilem i jakie byly skutki.

 

1. STEROWNIKI z projektu RTL8180 sa2400 czy jakos tak, wybaczcie, ale juz mi sie wszystko miesza...

moze najpierw fragment z konsoli, a potem powiem, w czym rzecz. Poszczegolne polecenia dla przejrzystosci rozdzielilem pustymi liniami

 

[root@localhost rtl8180-0.21]# ls
AUTHORS				ieee80211_rx.c  module_unload24  r8180_pm.c
CHANGES				ieee80211_tx.c  r8180_93cx6.c	r8180_pm.h
compat24.h			 ieee80211_wx.c  r8180_93cx6.h	r8180_sa2400.c
COPYING				INSTALL		 r8180_core.c	 r8180_sa2400.h
ieee80211_crypt.c	  LICENSE		 r8180_gct.c	  r8180_wx.c
ieee80211_crypt.h	  Makefile		r8180_gct.h	  r8180_wx.h
ieee80211_crypt_wep.c  Makefile26	  r8180.h		  README
ieee802_11.h		   module_load	 r8180_hw.h	   README.adhoc
ieee80211.h			module_load24   r8180_max2820.c  README.master
ieee80211_module.c	 module_unload   r8180_max2820.h

[root@localhost rtl8180-0.21]# make
make -C /lib/modules/2.6.23.14-107.fc8/build SUBDIRS=/usr/rtl8180-0.21 MODVERDIR=/usr/rtl8180-0.21 modules
make[1]: Wejście do katalogu `/usr/src/kernels/2.6.23.14-107.fc8-i686'
scripts/Makefile.build:33: /usr/rtl8180-0.21/Makefile: Nie ma takiego pliku ani katalogu
make[2]: *** Brak reguł do wykonania obiektu `/usr/rtl8180-0.21/Makefile'. Stop.
make[1]: *** [_module_/usr/rtl8180-0.21] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/kernels/2.6.23.14-107.fc8-i686'
make: *** [2.6] Błąd 2

[root@localhost rtl8180-0.21]# ls

 

A wiec sprawa wyglada tak - w folderze /usr/rtl8180-0.21 umiescilem zrodla ze sterami do skompilowania. Polecenie ls pokazuje, ze tam sa... Potem wydalem polecenie make i jego wynik tez widac powyzej. Rezultat jest taki, ze po wywolaniu make nie mam juz nic w tym folderze (kolejne polecenie ls pokazuje pusty katalog...), a sterowniki nie sa skompilowane z racji bledow przy make... Jak widac, naglowki (kernel-devel) dla swojego jadra mam. Za to yum nie chce mi sciagnac kernel-sources, bo nie ma na repozytoriach. Jesli to by sie przydalo a ktos zna odpowiednie repo, to prosze o informacje :)

 

Tak samo rzecz sie miala ze sterownikami ze strony REALTEK.COM.TW.

 

2. NDISWRAPPER

sciagnalem sobie ndiswrappera i kmod-ndiswrapper za pomoca yuma z repozytorium livna. Zainstalowal sie niby bez problemu i ndiswrapper sam w sobie wyglada dla mnie ok. Probowalem roznych windowsowych sterownikow do mojej karty wifi (dostepnych na stronie realteka wersji 1.73 dla win2000, winXP i win98 SE, wersji 1.61 bodajze ktora byla w paczce z instalatorem na stronie realteka i dostepnej tez tam wersji 1.5cos dla win95 i nt4) i niektore w ogole nie byly dobre dla ndiswrappera, a te, ktore ndiswrapper potrafil uzywac, to i tak nie dzialaja.

 

ndiswrapper -i NET8180.INF

i spoko, dziala

 

[root@localhost wlan8180]# ndiswrapper -l
net8180 : driver installed
        device (10EC:8180) present (alternate driver: rtl8180)

czy ja dobrze rozumiem ten wynik? sterownik jest zainstalowany a urzadzenie obecne w systemie (czyli problem nie polega na tym, ze mam popsuta karte, ktorej w ogole nie widac w PCI ani na tym, ze Fedora tej karty nie widzi w PCI). Ale jest tez jakis alternatywny sterownik, z ktorym nie wiem w ogole o co chodzi ;) Slyszalem cos o blacklistach w katalogu /etc/modprobe.d, ale nie bardzo wiem, z czym to sie je. Czy mam tam dodac ten sterownik rtl8180? Ale jak? I czy tylko to, czy kilka modulow jakichs?

 

modprobe ndiswrapper
depmod -a
ndiswrapper -m

te polecenia wykonywalem po kilka razy w roznej kolejnosci, bo roznie poradniki podaja. Bledow nie bylo, jedynie modprobe ndiswrapper zaczal pokazywac, ze jest juz taki alias (ale w jakim pliku, to nie wiem - jakbym mogl znalezc, to bym ten alias usunal - wiec moze ktos mi podpowie :)). Na poczatku nie pokazywal, ze jest alias, wiec to wyglada wszystko ok.

 

Ale karta nie dziala, tutaj fragmenty wydruku z dmesg, ktore wydaly mi sie istotne (moge dac caly, jesli komus sie przyda :))

 

ACPI: bus type pci registered
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
Error attaching device data
Error attaching device data
Error attaching device data
Error attaching device data
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:04.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR10._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR11._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *11
ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *10
ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *5
ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *5
ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *11
ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LMC9] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *11
ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.
ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] -  F7, should be F0 [20070126]

(...)

PCI: Bridge: 0000:00:04.0
 IO window: c000-cfff
 MEM window: df600000-df6fffff
 PREFETCH window: disabled.
PCI: Bridge: 0000:00:09.0
 IO window: d000-dfff
 MEM window: df700000-df7fffff
 PREFETCH window: c0000000-cfffffff
PCI: Bridge: 0000:00:0b.0
 IO window: e000-efff
 MEM window: df800000-dfffffff
 PREFETCH window: dc000000-deffffff
PCI: Bridge: 0000:00:0c.0
 IO window: disabled.
 MEM window: disabled.
 PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:09.0 to 64
PCI: Setting latency timer of device 0000:00:0b.0 to 64
PCI: Setting latency timer of device 0000:00:0c.0 to 64

(...)

PCI: Setting latency timer of device 0000:00:09.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:09.0:pcie00]
PCI: Setting latency timer of device 0000:00:0b.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0b.0:pcie00]
PCI: Setting latency timer of device 0000:00:0c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0c.0:pcie00]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI Exception (processor_core-0819): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0819): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0819): AE_NOT_FOUND, Processor Device is not present [20070126]

(...)

ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:02.1 -> Link [LUB2] -> GSI 23 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 16, io mem 0xdf5fec00
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 9 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 22 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 17, io mem 0xdf5ff000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 9 ports detected
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
libata version 2.21 loaded.
sata_nv 0000:00:08.0: version 3.5
ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LSA0] -> GSI 21 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:08.0 to 64
scsi0 : sata_nv
scsi1 : sata_nv

(...)

ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:08.1[b] -> Link [LSA1] -> GSI 20 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:08.1 to 64
scsi2 : sata_nv
scsi3 : sata_nv

(...)

PCI: Setting latency timer of device 0000:00:06.0 to 64
scsi4 : pata_amd
scsi5 : pata_amd

(...)

ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LMAC] -> GSI 23 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:07.0 to 64
forcedeth: using HIGHDMA

(...)

eth0: forcedeth.c: subsystem: 01849:03ef bound to 0000:00:07.0
PCI: Device 0000:01:08.0 not available because of resource 1 collisions
0000:01:08.0 (rtl8180): Cannot enable new PCI device
rtl8180: probe of 0000:01:08.0 failed with error -22
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:05.0[b] -> Link [LAZA] -> GSI 22 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:05.0 to 64
hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ACPI: PCI Interrupt Link [LNED] enabled at IRQ 19
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNED] -> GSI 19 (level, low) -> IRQ 20
device-mapper: multipath: version 1.0.5 loaded
loop: module loaded

(...)

ndiswrapper version 1.48 loaded (smp=yes, preempt=no)
ndiswrapper: driver netr8180 (Realtek,09/01/2003,5.153.0901.2003) loaded
PCI: Device 0000:01:08.0 not available because of resource 1 collisions
ndiswrapper (start_pdo:49): couldn't enable PCI device: ffffffea
ndiswrapper (pnp_start_device:439): Windows driver couldn't initialize the device (C0000001)
ndiswrapper (mp_halt:259): device f7df4500 is not initialized - not halting
ndiswrapper: device eth%d removed
Trying to free nonexistent resource <000000000000c800-000000000000c8ff>
Trying to free nonexistent resource <0000000000000000-00000000000000ff>
ndiswrapper: probe of 0000:01:08.0 failed with error -22
usbcore: registered new interface driver ndiswrapper
audit(1202201779.749:3): audit_pid=1737 old=0 by auid=4294967295
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
eth0: no IPv6 routers present

 

szczegolnie pod koniec widac informacje o mojej karcie i ndiswrapperze... ma ktos pomysl, co to moze byc za problem? bo mnie juz sie pomysly skonczyly... :(

 

jeszcze wydruk z lspci

 

[root@localhost compat-wireless-2.6]# lspci -nn
00:00.0 RAM memory [0500]: nVidia Corporation MCP61 Memory Controller [10de:03ea] (rev a1)
00:01.0 ISA bridge [0601]: nVidia Corporation MCP61 LPC Bridge [10de:03e0] (rev a2)
00:01.1 SMBus [0c05]: nVidia Corporation MCP61 SMBus [10de:03eb] (rev a2)
00:01.2 RAM memory [0500]: nVidia Corporation MCP61 Memory Controller [10de:03f5] (rev a2)
00:02.0 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f1] (rev a3)
00:02.1 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f2] (rev a3)
00:04.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI bridge [10de:03f3] (rev a1)
00:05.0 Audio device [0403]: nVidia Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
00:06.0 IDE interface [0101]: nVidia Corporation MCP61 IDE [10de:03ec] (rev a2)
00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)
00:08.0 IDE interface [0101]: nVidia Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
00:08.1 IDE interface [0101]: nVidia Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
00:09.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI Express bridge [10de:03e8] (rev a2)
00:0b.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
00:0c.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
01:08.0 Non-VGA unclassified device [0000]: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC [10ec:8180] (rev 20)
02:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV505 CE [Radeon X1550 64-bit] [1002:715f]
02:00.1 Display controller [0380]: ATI Technologies Inc Unknown device [1002:717f]

 

pozycja 3 od konca wydaje sie byc moja karta wifi.

 

3. STEROWNIKI ZE STRONY http://www.linuxwireless.org/en/users/Download

 

[root@localhost compat-wireless-2.6]# ls
compat		  config.mk  drivers	   include   net	 scripts
compat-release  COPYRIGHT  git-describe  Makefile  README

[root@localhost compat-wireless-2.6]# make
make -C /lib/modules/2.6.23.14-107.fc8/build M=/root/Pobrane/compat-wireless-2.6 modules
make[1]: Wejście do katalogu `/usr/src/kernels/2.6.23.14-107.fc8-i686'
 CC [M]  /root/Pobrane/compat-wireless-2.6/drivers/misc/eeprom_93cx6.o
In file included from /root/Pobrane/compat-wireless-2.6/include/net/compat.h:12,
			 from <command line>:1:
/root/Pobrane/compat-wireless-2.6/include/linux/compat_autoconf.h:12:1: warning: "CONFIG_MAC80211_RC_DEFAULT" redefined
In file included from /root/Pobrane/compat-wireless-2.6/include/net/compat.h:4,
			 from <command line>:1:
include/linux/autoconf.h:423:1: warning: this is the location of the previous definition
In file included from <command line>:1:
/root/Pobrane/compat-wireless-2.6/include/net/compat.h:20: error: redefinition of ‘struct ssb_device_id’
In file included from <command line>:1:
./include/linux/autoconf.h:423:1: warning: "CONFIG_MAC80211_RC_DEFAULT" redefined
In file included from /root/Pobrane/compat-wireless-2.6/include/net/compat.h:12,
			 from <command line>:1:
/root/Pobrane/compat-wireless-2.6/include/linux/compat_autoconf.h:12:1: warning: this is the location of the previous definition
make[3]: *** [/root/Pobrane/compat-wireless-2.6/drivers/misc/eeprom_93cx6.o] Błąd 1
make[2]: *** [/root/Pobrane/compat-wireless-2.6/drivers/misc] Błąd 2
make[1]: *** [_module_/root/Pobrane/compat-wireless-2.6] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/kernels/2.6.23.14-107.fc8-i686'
make: *** [modules] Błąd 2

[root@localhost compat-wireless-2.6]# ls
compat		  config.mk  drivers	   include   net	 scripts
compat-release  COPYRIGHT  git-describe  Makefile  README

 

tu przynajmniej o tyle dobrze, ze nie usuwa mi plikow po wywolaniu make. Ale tutaj tez nie rozumiem komunikatow bledow...

 

Bardzo Was prosze o pomoc, moj post jest dlugi, dlatego zwroce jeszcze raz uwage na to, ze chcialbym wyjasnic sprawe tych blacklist - chcialbym wiedziec, co to jest, bo moze tutaj jest tylko problem - z ndiswrapper widzi ten alternate driver.

 

Pozdrawiam i z gory dziekuje za pomoc. Jesli potrzeba jeszcze zrzutow jakichkolwiek polecen, to piszcie, to je wkleje :)

Odnośnik do komentarza
Udostępnij na innych stronach

udalo mi sie to zrobic :) ale powyzsze problemy powodowal konflikt sprzetowy... Za to chodzi na sterownikach a nie na ndiswrapperze :) Wieczorkiem opisze, jak to zrobilem i jesli mozna tu dac zalaczniki, to wstawie skompilowane moduly dla jadra 2.6.23.1-42 :)

Odnośnik do komentarza
Udostępnij na innych stronach

dobra, nie napisalem wtedy wieczorem, to i teraz nie bede sie produkowal, bo nie warto. Zainstalowalem sobie sterowniki do karty graficznej nVidia. I sie okazalo, ze akurat dla jadra 2.6.23.1-42 na repo livna jest cos zwalone i nie mozna zainstalowac dla tego jajka. Wiec zmienilem jajo na taki, jakie yum wyrzucil mi w zaleznosciach do tych sterow - chyba najnowsze jajo fedory, nie pamietam numerka dokladnego, w kazdym razie seria 2.6.23.14 - teraz siedze na innym kompie, to nie sprawdze. No i okazalo sie, ze albo na tym jajku jest wbudowana obsluga rtl8180, albo, jak zauwazyl moj kolega, moze to miec zwiazek z paczka linux-restricted-modules (nazwa z ubuntu, ja u siebie nie pamietam, czy tez sie tak nazywala), w ktorej prawdopodobnie jest ten sterownik. Bo on kiedys wywalil sterowniki nVidia i nagle stracil neta po radiu - okazalo sie, ze wlasnie ta paczka tez poszla razem z nVidia.

 

W kazdym razie rtl8180 nie powinien byc juz problemem na fedorze 8 :) ale w razie klopotow, to mozna do mnie napisac, podpowiem, co zrobilem wczesniej, zeby dzialalo, zanim zainstalowalem nVidie :)

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...