Pozdni navazani spojeni na sitovce 3Com v 2.6.12

Vít Vomáčko linux.vomacko na seznam.cz
Sobota Srpen 6 16:53:59 CEST 2005


Zdravim, v jadre 2.6.12(2-4) se mi  pri bootu  nahodi sitove spojeni az nekolik desitek sekund po zavedni ovladace (kompilovan jako soucast jadra), takze mi nefunguji treba ntpdate pri bootu atd. Jedna se o kartu 3Com. 
Objevil jsem nazor, ze problem muze byt v DHCP, nicmene prideluji interfacu statickou ip V jadre 2.6.11.x vse naprosto ok (pouzivam tten samy .config), prikladam jeste vyrez vypisu z /var/log/messages:

Aug 6 01:03:56 matrix 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html Jun 9 01:03:56 matrix 0000:00:0d.0: 3Com PCI 3c905C Tornado at 0xb400. Vers LK1.1.19
....
Aug 6 01:05:01 matrix eth0: Setting full-duplex based on MII #24 link partner capability of 01e1.

Domnival jsem se, ze dle changelogu k 2.6.12.4 doslo patchi ( kdyz funkce vlan nevyuzivam) , ale stale to nefunguje. Jedna se o:
[PATCH] Fix early vlan adding leads to not functional device
    
    
    [VLAN]: Fix early vlan adding leads to not functional device
    
    OK, I can see what's happening here. eth0 doesn't detect link-up until
    after a few seconds, so when the vlan interface is opened immediately
    after eth0 has been opened, it inherits the link-down state. Subsequently
    the vlan interface is never properly activated and are thus unable to
    transmit any packets.
    
    dev->state bits are not supposed to be manipulated directly. Something
    similar is probably needed for the netif_device_present() bit, although
    I don't know how this is meant to work for a virtual device.
    
    Signed-off-by: David S. Miller <davem na davemloft.net>
    Signed-off-by: Chris Wright <chrisw na osdl.org>


Další informace o konferenci Linux