Visualizzazione dei risultati da 1 a 9 su 9
  1. #1

    Problemi eth0 con 2.6.10-rc2

    Ho compilato il kernel 2.6.10-rc2 mantenendo le stesse impostazioni del config del precedente kernel 2.6.8.1 (perfettamente funzionante) sia nella sezione Ethernet 10/100 sia nella sezione network device support.. pero' sulla eth0 mi crea qualche problema! Questa e' la mia eth0 con un bel Link encap:UNSPEC e una sfilarata di 00 nel MAC address.. Stesso problema me lo dava sul 2.6.9!!

    codice:
    gentuzza root # ifconfig eth0
    eth0      Link encap:UNSPEC  HWaddr 00-03-0D-53-25-80-E7-8C-00-00-00-00-00-00-00-00
              inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:901 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:32436 (31.6 Kb)
    
    gentuzza root #
    Questo invece con il 2.6.8.1 funzionante.. ovviamente nel caso precedente la rete non funge!

    codice:
    gentuzza root # ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 00:03:0D:11:BD:49
              inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3916 errors:0 dropped:0 overruns:0 frame:0
              TX packets:3624 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3670667 (3.5 Mb)  TX bytes:444226 (433.8 Kb)
              Interrupt:3 Base address:0xe400
    
    gentuzza root #
    A cosa puo essere dovuto questo casino??

    codice:
    gentuzza root # lspci |grep Ethernet
    0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
    0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC (rev 20)
    gentuzza root #
    
    gentuzza root # lsmod
    Module                  Size  Used by
    sg                     35104  0
    ipv6                  255616  10
    uhci_hcd               33808  0
    sis900                 21380  0
    pcmcia                 23428  0
    pcmcia_core            59456  1 pcmcia
    ehci_hcd               31876  0
    usbhid                 34048  0
    usbmouse                6656  0
    eth1394                22152  0
    ohci_hcd               22664  0
    ohci1394               34948  0
    ieee1394              309176  2 eth1394,ohci1394
    evdev                  10624  0
    snd_intel8x0           33568  1
    snd_ac97_codec         74720  1 snd_intel8x0
    snd_seq_oss            35584  0
    snd_seq_midi_event      8704  1 snd_seq_oss
    snd_seq                55824  4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device          9612  2 snd_seq_oss,snd_seq
    snd_pcm_oss            53668  0
    snd_pcm                96900  4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer              26628  2 snd_seq,snd_pcm
    snd_page_alloc         10884  2 snd_intel8x0,snd_pcm
    snd_mixer_oss          20992  1 snd_pcm_oss
    snd                    57700  10
    snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    soundcore              11232  1 snd
    rtc                    13512  0
    nls_cp437               6784  1
    vfat                   15232  1
    fat                    41632  1 vfat
    nls_iso8859_1           5120  2
    ntfs                  179984  1
    ide_cd                 40736  0
    sr_mod                 17572  0
    scsi_mod              115712  2 sg,sr_mod
    cdrom                  39708  2 ide_cd,sr_mod
    gentuzza root #
    
    
    
    #
    # Ethernet (10 or 100Mbit)
    #
    CONFIG_NET_ETHERNET=y
    CONFIG_MII=m
    # CONFIG_HAPPYMEAL is not set
    # CONFIG_SUNGEM is not set
    # CONFIG_NET_VENDOR_3COM is not set
    # CONFIG_LANCE is not set
    # CONFIG_NET_VENDOR_SMC is not set
    # CONFIG_NET_VENDOR_RACAL is not set
    
    #
    # Tulip family network device support
    #
    # CONFIG_NET_TULIP is not set
    # CONFIG_AT1700 is not set
    # CONFIG_DEPCA is not set
    # CONFIG_HP100 is not set
    # CONFIG_NET_ISA is not set
    CONFIG_NET_PCI=y
    # CONFIG_PCNET32 is not set
    # CONFIG_AMD8111_ETH is not set
    # CONFIG_ADAPTEC_STARFIRE is not set
    # CONFIG_AC3200 is not set
    # CONFIG_APRICOT is not set
    # CONFIG_B44 is not set
    # CONFIG_FORCEDETH is not set
    # CONFIG_CS89x0 is not set
    # CONFIG_DGRS is not set
    # CONFIG_EEPRO100 is not set
    # CONFIG_E100 is not set
    # CONFIG_FEALNX is not set
    CONFIG_NATSEMI=m
    # CONFIG_NE2K_PCI is not set
    # CONFIG_8139CP is not set
    # CONFIG_8139TOO is not set
    CONFIG_SIS900=m
    # CONFIG_EPIC100 is not set
    # CONFIG_SUNDANCE is not set
    # CONFIG_TLAN is not set
    # CONFIG_VIA_RHINE is not set
    CONFIG_NET_POCKET=y
    CONFIG_ATP=m
    CONFIG_DE600=m
    CONFIG_DE620=m
    Grazie per un eventuale aiuto.. neryo

  2. #2
    Utente di HTML.it
    Registrato dal
    Nov 2003
    Messaggi
    1,157
    Tralasciando il fatto che è pur sempre una rc
    prova a compilare il driver in maniera statica "Y", può darsi che gli vada più a genio

  3. #3
    pardon, avevo tralasciato una cosa.. il Mac address oltre ad essere concatenato di zeri era pure diverso.. infatti mi sono trovato quella che era la mia eth0 sul 2.6.8.1 sulla eth1 nel 2.6.10.. mh ora la rete funzia, mi sono risettato il mio /etc/conf.d/net in modo che all'avvio ho il mio ip e il gataway per la eth1... quindi il problema sembra risolto, ma sarei curioso di sapere perche' me l'ha mappata su eth1 invece di eth0!



  4. #4
    Originariamente inviato da Enrico81
    Tralasciando il fatto che è pur sempre una rc
    Beh si, ma cmq lo stesso problema l'ho visto anche sulla 2.6.9.. Bisogna provarle ste' release candidate no???

  5. #5
    hai messo in autoload.d entrambe le schede ?
    spesso cambiando kernel eth0 diventa eth1

    di un dmesg | grep eth e guarda

    a volte e apic che da fastidio e bisognerebbe provare a bootare lilo con

    Linux noapic per controllare

    queste rc spesso sono meglio dei kernel stabili la maggior parte delle innovazioni riguarda bugfix e miglioramenti
    a me va perfettamente

  6. #6
    codice:
    gentuzza root # dmesg | grep eth
    eth0: Realtek RTL8201 PHY transceiver found at address 1.
    eth1394: $Rev: 1224 $ Ben Collins <bcollins@debian.org>
    eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
    eth0: Using transceiver found at address 1 as default
    eth0: SiS 900 PCI Fast Ethernet at 0xe400, IRQ 19, 00:03:0d:11:bd:49.
    eth0: Media Link On 100mbps full-duplex
    eth0: no IPv6 routers present
    gentuzza root #
    con autoload.d intendi il file /etc/modules.autoload.d/kernel-2.6 ? o altro?

  7. #7
    kernel-2.6 se usi il 2-6 naturalmente

    mettendo li i nomi dei moduli da caricare te li carica la boot

  8. #8
    si ok.. in questo file non carico nessun modulo perche' sono gia' caricati da hotplug all'avvio...

  9. #9
    Uhm... facendo vari tentativi mi sono accorto che il problema avviene in fase di assegnazione del ip o del del gw all'interfaccia.. infatti modificando il file /etc/conf.d/net e settando le impostazioni di rete per eth1 il problema si sposta su quella interfaccia! strano no?!
    Quindi in pratica se voglio non avere quel problema devo fare a meno di aver settato un ip e gw di default per un interfaccia! mmhmhm bohhh.... mi rimane di solo settarle entrambe!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.