Autor Tópico: (Resolvido) Rede n funciona - RTL8168 bug confirmado  (Lida 3678 vezes)

Offline RenatoHA!

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
(Resolvido) Rede n funciona - RTL8168 bug confirmado
« Online: 01 de Novembro de 2008, 21:36 »
Ola pessoal,

Tenho placa de rede Realtek e tenho visto muitos problemas reportados pelos foruns.
Tentei resolver seguindo alguns tutoriais e nao consegui...

Segue as saidas de ifconfig (eth0 e eth0:avahi ????) de lsmod e lspci.

Ajudem por favor!!!

renato@renato-laptop:~$ lsmod
Module                  Size  Used by
isofs                  36388  1
udf                    88612  0
ipv6                  267780  10
rfcomm                 41744  2
l2cap                  25728  13 rfcomm
bluetooth              61156  4 rfcomm,l2cap
ppdev                  10372  0
acpi_cpufreq           10796  2
cpufreq_ondemand        9740  1
cpufreq_conservative     8712  0
cpufreq_powersave       2688  0
cpufreq_userspace       5284  0
cpufreq_stats           7104  0
freq_table              5536  3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
container               5632  0
dock                   11280  0
sbs                    15112  0
sbshc                   7680  1 sbs
iptable_filter          3840  0
ip_tables              14820  1 iptable_filter
x_tables               16132  1 ip_tables
af_packet              23812  4
sbp2                   24072  0
parport_pc             36260  0
lp                     12324  0
parport                37832  3 ppdev,parport_pc,lp
joydev                 13120  0
sr_mod                 17956  1
cdrom                  37408  1 sr_mod
dcdbas                  9504  0
psmouse                40336  0
pcspkr                  4224  0
serio_raw               7940  0
evdev                  13056  8
sdhci                  19076  0
mmc_core               51460  1 sdhci
ata_piix               19588  1
iTCO_wdt               13092  0
iTCO_vendor_support     4868  1 iTCO_wdt
uvcvideo               58116  0
compat_ioctl32          2304  1 uvcvideo
videodev               29440  1 uvcvideo
v4l1_compat            15492  2 uvcvideo,videodev
v4l2_common            18304  2 uvcvideo,videodev
snd_hda_intel         344728  3
snd_pcm_oss            42144  0
snd_mixer_oss          17920  1 snd_pcm_oss
snd_pcm                78596  2 snd_hda_intel,snd_pcm_oss
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
snd_hwdep              10500  1 snd_hda_intel
battery                14212  0
snd_seq_dummy           4868  0
ac                      6916  0
video                  19856  0
snd_seq_oss            35584  0
output                  4736  1 video
snd_seq_midi            9376  0
snd_rawmidi            25760  1 snd_seq_midi
snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
i2c_core               24832  0
snd_seq                54224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24836  2 snd_pcm,snd_seq
snd_seq_device          9612  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
wmi_acer                9644  0
button                  9232  0
snd                    56996  17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
shpchp                 34452  0
pci_hotplug            30880  1 shpchp
soundcore               8800  1 snd
intel_agp              25492  0
agpgart                34760  1 intel_agp
ext3                  136712  1
jbd                    48404  1 ext3
mbcache                 9600  1 ext3
sg                     36880  0
sd_mod                 30720  3
pata_acpi               8320  0
ohci1394               33584  0
ieee1394               93752  2 sbp2,ohci1394
ahci                   28420  2
ata_generic             8324  0
libata                159344  4 ata_piix,pata_acpi,ahci,ata_generic
scsi_mod              151436  5 sbp2,sr_mod,sg,sd_mod,libata
r8169                  32900  0
ehci_hcd               37900  0
uhci_hcd               27024  0
usbcore               146028  4 uvcvideo,ehci_hcd,uhci_hcd
thermal                16796  0
processor              36872  4 acpi_cpufreq,thermal
fan                     5636  0
fbcon                  42912  0
tileblit                3456  1 fbcon
font                    9472  1 fbcon
bitblit                 6784  1 fbcon
softcursor              3072  1 bitblit
fuse                   50580  3
renato@renato-laptop:~$ ifconfig -a
eth0      Link encap:Ethernet  Endereço de HW 00:21:70:b2:d5:7a 
          endereço inet6: fe80::221:70ff:feb2:d57a/64 Escopo:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Métrica:1
          pacotes RX:0 erros:0 descartados:4294966813 excesso:0 quadro:0
          Pacotes TX:0 erros:0 descartados:276 excesso:0 portadora:0
          colisões:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          IRQ:217 Endereço de E/S:0xa000

eth0:avahi Link encap:Ethernet  Endereço de HW 00:21:70:b2:d5:7a 
          inet end.: 169.254.8.206  Bcast:169.254.255.255  Masc:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Métrica:1
          IRQ:217 Endereço de E/S:0xa000

lo        Link encap:Loopback Local 
          inet end.: 127.0.0.1  Masc:255.0.0.0
          endereço inet6: ::1/128 Escopo:Máquina
          UP LOOPBACK RUNNING  MTU:16436  Métrica:1
          pacotes RX:1512 erros:0 descartados:0 excesso:0 quadro:0
          Pacotes TX:1512 erros:0 descartados:0 excesso:0 portadora:0
          colisões:0 txqueuelen:0
          RX bytes:80760 (78.8 KB) TX bytes:80760 (78.8 KB)

renato@renato-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)
06:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev ff)
08:05.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
08:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
08:05.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)

« Última modificação: 02 de Novembro de 2008, 12:09 por RenatoHA! »

Offline RenatoHA!

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Rede n funciona
« Resposta #1 Online: 01 de Novembro de 2008, 23:16 »
OK.

Esta ficando cada vez mais interessante.
Parece ser um bug confirmado...

Tentei seguir a dica do https://bugs.launchpad.net/ubuntu/+bug/208012, onde diz para baixar o r8168 e dar um blacklist no 8169

mas nao consegui compilar... Alguem ajuda???

PS: arquivo /scripts/Makefile ta la...

renato@renato-laptop:/usr/src/r8168-8.009.00$ sudo make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/src/r8168-8.009.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
make[1]: Leaving directory `/usr/src/r8168-8.009.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r8168-8.009.00/src'
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/src modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
scripts/Makefile.build:41: /src/Makefile: No such file or directory
make[3]: *** No rule to make target `/src/Makefile'.  Stop.
make[2]: *** [_module_/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/r8168-8.009.00/src'
make: *** [modules] Error 2




 

Offline JeffersonX

  • Usuário Ubuntu
  • *
  • Mensagens: 442
  • Linux User: #364092
    • Ver perfil
Re: Rede n funciona - bug confirmado
« Resposta #2 Online: 02 de Novembro de 2008, 00:13 »
Também estou com problema. E parece que o problema está com chips da Realtek, seja rede com fios ou sem fios. Aqui também está assim. Eu tenho uma Realtek 8169. Ele detecta o IP e tudo mais, mas não navega. Aí se desmarcar a rede com fios e marcar de novo, não pega mais IP e dá erro.

Tentei compilar e carregar, mas falhou também com o driver do site da Realtek.
Eu vi aqui que tem que dar senha pro root pra compilar. Se usar o sudo dá erro mesmo.



Linux Professional Institute Certified - Level 1, Novell CLA - Certified Linux Administrator, Microsoft Certified Professional - Windows Server 2003, ITIL Foundation Certified
Meu Blog: http://tibyjeffersonx.blogspot.com

Offline RenatoHA!

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
(Resolvido) Rede n funciona - RTL8168 bug confirmado
« Resposta #3 Online: 02 de Novembro de 2008, 12:15 »
OK, resolvido.
 
O modulo r8169 é carregado erradamente.
É necessario baixar o drive da Realtek e instalar o r8168, dando um blacklist no r8169.
Quem tiver o mesmo problema deve seguir:  https://bugs.launchpad.net/ubuntu/+bug/208012

mas no terminal como root e não como sudo, senão não compila (valeu Jefferson!).

Até.