FreeBSD 8.1 a soekris lan1741

Miroslav Novotný miroslav.novotny at runbox.com
Mon Nov 14 12:13:42 CET 2011


Ahoj,

snažím se pod FreeBSD rozběhat 4 portovou sitovou kartu Soekris lan1741 
na matherboardu Intel D410PTLW. Aktuální stav je takovy, ze vidim pouze 
jeden port.

Nasel jsem reseni, ktere mi funguje pod debian linuxem a spociva v 
nastaveni noISA bitu na PCI-PCI bridge, ktery je implementovany v karte. 
Provede se to prikazem "setpci -s 05:00.0 3e.b=00", po tomto prikazu 
funguji vsechny 4 porty.

Zkousel jsem neco podobneho provest ve FreeBSD. Analogicky prikaz by mel 
byt "pciconf -w -b pci0:5:0:0 3e 0" ale nezda se, ze by to fungovalo:

# pciconf -r -b pci0:5:0:0 3e
ac
# pciconf -w -b pci0:5:0:0 3e 0
# pciconf -r -b pci0:5:0:0 3e
ac

Hodnota toho kontrolniho bytu zustava stale stejna a karta stale nefunguje.

Predem diky za jakekoliv nakopnuti spravnym smerem,
Mirek


Prikladam vypis pciconf -l -bcv

pcib6 at pci0:5:0:0:       class=0x060400 card=0x00000000 chip=0xac23104c 
rev=0x02 hdr=0x01
     class      = bridge
     subclass   = PCI-PCI
     cap 01[dc] = powerspec 1  supports D0 D3  current D0
vr0 at pci0:6:0:0: class=0x020000 card=0x01061106 chip=0x30531106 rev=0x96 
hdr=0x00
     class      = network
     subclass   = ethernet
     bar   [14] = type Memory, range 32, base 0xf0100300, size 256, enabled
     cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0
vr1 at pci0:6:1:0: class=0x020000 card=0x01061106 chip=0x30531106 rev=0x96 
hdr=0x00
     class      = network
     subclass   = ethernet
     bar   [14] = type Memory, range 32, base 0xf0100200, size 256, enabled
     cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0
vr2 at pci0:6:2:0: class=0x020000 card=0x01061106 chip=0x30531106 rev=0x96 
hdr=0x00
     class      = network
     subclass   = ethernet
     bar   [14] = type Memory, range 32, base 0xf0100100, size 256, enabled
     cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0
vr3 at pci0:6:3:0: class=0x020000 card=0x01061106 chip=0x30531106 rev=0x96 
hdr=0x00
     class      = network
     subclass   = ethernet
     bar   [10] = type I/O Port, range 32, base 0x1000, size 256, enabled
     bar   [14] = type Memory, range 32, base 0xf0100000, size 256, enabled
     cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0

dmesg:

vr0:<VIA VT6105M Rhine III 10/100BaseTX>   port 0x1300-0x13ff mem 
0xe0000300-0xe00003ff irq 21 at device 0.0 on pci6
vr0: Quirks: 0x2
vr0: Revision: 0x96
vr0: Reloading EEPROM timeout!
vr0: Using force reset command.
vr0: phy read timeout 1:1
vr0: MII without any phy!
device_attach: vr0 attach returned 6
vr1:<VIA VT6105M Rhine III 10/100BaseTX>   port 0x1200-0x12ff mem 
0xe0000200-0xe00002ff irq 22 at device 1.0 on pci6
vr1: Quirks: 0x2
vr1: Revision: 0x96
vr1: Reloading EEPROM timeout!
vr1: Using force reset command.
vr1: phy read timeout 1:1
vr1: MII without any phy!
device_attach: vr1 attach returned 6
vr2:<VIA VT6105M Rhine III 10/100BaseTX>   port 0x1100-0x11ff mem 
0xe0000100-0xe00001ff irq 23 at device 2.0 on pci6
vr2: Quirks: 0x2
vr2: Revision: 0x96
vr2: Reloading EEPROM timeout!
vr2: Using force reset command.
vr2: phy read timeout 1:1
vr2: MII without any phy!
device_attach: vr2 attach returned 6
vr3:<VIA VT6105M Rhine III 10/100BaseTX>   port 0x1000-0x10ff mem 
0xe0000000-0xe00000ff irq 20 at device 3.0 on pci6
vr3: Quirks: 0x2
vr3: Revision: 0x96
miibus0:<MII bus>   on vr3
ukphy0:<Generic IEEE 802.3u media interface>   PHY 1 on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr3: Ethernet address: 00:00:24:cd:88:f3
vr3: [ITHREAD]



More information about the Users-l mailing list