instalacia Realtek 8139
(chapem ze by to mala byt jednoducha zalezitost, ale ... )
Kupil som si sietovku realtek. (na chipe je napisane Realtek 8139) najprv mi to neslo ani pod windowsom, no ked som zakazal v biose niektore Serial porty a pod. rozbehla sa. To bol iny PC na otestovanie . OK
V starsom PC, kde mam linux, som si overil ze mam PCI2.1 (ktoru karta podporuje) a tak som veselo isiel instalovat. no neuspel som.
nakolko uz mi zlyhali moje (zrejme slabe) hladacie schopnosti na Mr. Google,
skusim sa spytat niekoho zainteresovanejsieho
niesom v linuxe guru, :)
No ked si nainstalujem debian 2.4.27-3-386 a po viacerych pokusoch mi insmod a modconf vypisuje pri pokuse o instalaciu realteku 8139 unresolved symbol, tak uz neviem.
dm:~# insmod 8139too
Using /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: unresolved symbol mii_ethtool_gset_R24338a12
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: unresolved symbol generic_mii_ioctl_R36c02030
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: unresolved symbol mii_ethtool_sset_R044d7771
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: unresolved symbol mii_link_ok_Rdf704816
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: unresolved symbol mii_check_media_Rb66de724
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: unresolved symbol mii_nway_restart_R4526f9cd
dm:~#
Na kompe mam instalaciu linuxu debian-31r5-i386-netinst.iso - minimalna verzia. Mam tam uz rozbehnutu sietovku SiS900, ktoru modconf zobral v pohode. este idem vyskusat skompilovat 8139too.c co je na prilozenom CD. Huh, to bude zabava.Cize idem si nainstalovat gcc, make a pod. :)
Ak by ste mali niekto lahsiu cestu, rad prijmem radu. Diky
Pre pridávanie komentárov sa musíte prihlásiť.
skusal si modprobe 8139cp
alebo modprobe 8139too
co to urobi
a tak daj vypis lsmod
Je tam aj to coho sa obavam, ze budem musiet nejako nastavit IRQ parametre ... nikde som ale nevidel
parametre co by mi pomohli.
Je tam aj vidno, ze ta sietovka SIS900 je nacitana, mam spravene SSH konzolu, cez ktoru tam chodim. Ale ta realtek nie a nie. urcite to bude daka kyblikovina.
dm:~# login as: root
Using keyboard-interactive authentication.
Password:
Last login: Sat Mar 24 19:51:50 2007 from 192.168.1.3
dm:~# lsmod
Module Size Used by Not tainted
af_packet 11080 0 (autoclean)
ppp_generic 18020 0 (autoclean)
slhc 4144 0 (autoclean) [ppp_generic]
usbcore 52268 1
sis900 11084 1
crc32 2848 0 [sis900]
ide-cd 27040 0
cdrom 26212 0 [ide-cd]
rtc 5768 0 (autoclean)
ext3 65388 1 (autoclean)
jbd 34628 1 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
via82cxxx 9256 1 (autoclean)
ide-disk 12416 2 (autoclean)
ide-core 91800 2 (autoclean) [ide-cd ide-detect via82cxxx ide-disk]
unix 12816 3 (autoclean)
dm:~# modprobe 8139cp
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139cp.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139cp.o: insmod /lib/modules/2.4.27-3-386/kernel/drivers/net/8139cp.o failed
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139cp.o: insmod 8139cp failed
dm:~# modprobe 8139too
Warning: ignoring irq=3, no such parameter in this module
Warning: ignoring io=0x220, no such parameter in this module
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: insmod /lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o failed
/lib/modules/2.4.27-3-386/kernel/drivers/net/8139too.o: insmod 8139too failed
dm:~# lsmod
Module Size Used by Not tainted
af_packet 11080 0 (autoclean)
ppp_generic 18020 0 (autoclean)
slhc 4144 0 (autoclean) [ppp_generic]
usbcore 52268 1
sis900 11084 1
crc32 2848 0 [sis900]
ide-cd 27040 0
cdrom 26212 0 [ide-cd]
rtc 5768 0 (autoclean)
ext3 65388 1 (autoclean)
jbd 34628 1 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
via82cxxx 9256 1 (autoclean)
ide-disk 12416 2 (autoclean)
ide-core 91800 2 (autoclean) [ide-cd ide-detect via82cxxx ide-disk]
unix 12816 3 (autoclean)
dm:/lib/modules/2.4.27-3-386/kernel/drivers/net# ls
3c501.o atp.o ethertap.o ni65.o smc-ultra32.o
3c503.o b44.o ewrk3.o ns83820.o smc-ultra.o
3c505.o bonding fc pcnet32.o starfire.o
3c507.o bsd_comp.o fealnx.o plip.o strip.o
3c509.o cs89x0.o forcedeth.o ppp_async.o sundance.o
3c515.o de4x5.o hamachi.o ppp_deflate.o sunhme.o
3c523.o de600.o hamradio ppp_generic.o tg3.o
3c527.o de620.o hp100.o pppoe.o tlan.o
3c59x.o defxx.o hp.o pppox.o tokenring
8139cp.o depca.o hp-plus.o ppp_synctty.o tulip
8139too.o dl2k.o ibmlana.o r8169.o tun.o
82596.o dmfe.o irda rcpci.o typhoon.o
8390.o dummy.o lance.o rrunner.o via-rhine.o
ac3200.o e100 lne390.o sb1000.o wan
aironet4500_card.o e1000 lp486e.o shaper.o wavelan.o
aironet4500_core.o e2100.o mii.o sis900.o wd.o
aironet4500_proc.o eepro100.o natsemi.o sk98lin winbond-840.o
amd8111e.o eepro.o ne2k-pci.o skfp wireless
appletalk eexpress.o ne2.o sk_mca.o yellowfin.o
arcnet epic100.o ne3210.o slhc.o
arlan.o eql.o ne.o slip.o
arlan-proc.o es3210.o ni5010.o smc9194.o
at1700.o eth16i.o ni52.o smc-mca.o
dm:/lib/modules/2.4.27-3-386/kernel/drivers/net#
eth0: Media Link On 100mbps full-duplex
a teraz chcem pridat Realtek ....
najprv skontrolovat hardware: mat. dosku, PCI slot aj siet. kartu
ukaz
ak mas povodne jadro z instalacie, tak pozri ci mas:
povypinaj vsetky porty (zvukovka, serial, paralel...) v BIOSe a skus znovu. mal by bavit modul 8139too (8139cp mi nikdy nefungoval)...
Abo to daj priamo do jadra nie ako modul :)).
este si pred tym mozes urobit make oldconfig, ked tam budes davat nejake nove jadro ale to asi vies
Tu mas este balicky
apt-get install libncurses5-dev make gcc bin86 libc6-dev kernel-package bzip2
CPU0
0: 13086 XT-PIC timer
1: 2 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 4 XT-PIC rtc
11: 90 XT-PIC eth0
15: 6434 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0
dm:~# grep 8139TOO /boot/config-2.4.27-3-386
CONFIG_8139TOO=m
CONFIG_8139TOO_PIO=y
# CONFIG_8139TOO_TUNE_TWISTER is not set
CONFIG_8139TOO_8129=y
dm:~#
sku
skus nam povedat odkial pochadza ten ovladac ktory hadze unresolved symbol a ake vsetky parametre predavas danemu ovladacu. akosi sa tam nieco nepohodlo...
Ovladac je povodny, ten ktory bol s instalaciou linuxu. Parametre nezadavam ziadne - mozno to bude problem, ze by bolo dobre zadat spravne irq a io - to vsak neviem ktore mam vybrat a ako na to...
Keby pomohla reinstalacia systemu, davno by som to spravil, lebo ked som skusal pustit odznova instalaciu , tak naslo iba sietovku SIS900. realtek sa neidentifikoval.
Parametre nezadavam ziadne
...
modprobe 8139too
Warning: ignoring irq=3, no such parameter in this module
Warning: ignoring io=0x220, no such parameter in this module
pokial mas dostatok systemovych prostriedkov, tak nie je potrebne robit doplnkove nastavenia. ak je viacej zariadeni, tak je potrebne pouzit aj apic alebo niektore zariadenia vypnut. zial, jedna sa o limitaciu hw a nie linuxu.
je tam 64MB RAM, 166CPU Pentium, 1,7 GB disk
Kamarat co je fakt dobry v linuxe, tak povedal ze mi neveri. tak si ideme vymenit sietovky :)
mimochodom, je ta sietovka kompatibilna s verziou PCI 1? mas skutocne staru dosku a nepises ze by ju videlo lspci.
dm:/etc# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C585VP [Apollo VP1/VPX] (rev 23)
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 27)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:0e.0 VGA compatible controller: S3 Inc. 86c368 [Trio 3D/2X] (rev 02)
0000:00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:10.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 02)
takze uz sa s tym nejako popasujem