Re: chelsio driver and Myricom driver

From: Mike Tancsa <mike_at_sentex.net>
Date: Wed, 18 Jul 2007 00:34:07 -0400
At 12:27 AM 7/18/2007, Kip Macy wrote:
>You need to use the module in order to update the firmware. The
>firmware will be automatically be updated when you up an interface on
>the card.

Thanks, I just figured that out a few min ago by accident and the 
card looks happy now!

[leopard1]% ifconfig
cxgb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
         options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>
         ether 00:07:43:04:01:2c
         inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255
         media: Ethernet 10Gbase-CX4 <full-duplex> (autoselect <full-duplex>)
         status: active

[leopard1]% sysctl -a | grep cxg
hw.cxgb.singleq: 1
hw.cxgb.ofld_disable: 0
hw.cxgb.msi_allowed: 2
dev.cxgbc.0.%desc: Chelsio T310 RNIC, 1 port
dev.cxgbc.0.%driver: cxgbc
dev.cxgbc.0.%location: slot=0 function=0
dev.cxgbc.0.%pnpinfo: vendor=0x1425 device=0x0030 subvendor=0x1425 
subdevice=0x0001 class=0x020000
dev.cxgbc.0.%parent: pci10
dev.cxgbc.0.firmware_version: 4.5.0
dev.cxgbc.0.intr_coal: 5000
dev.cxgbc.0.enable_debug: 0
dev.cxgbc.0.collapse_free: 0
dev.cxgbc.0.mb_free_vec_free: 0
dev.cxgbc.0.collapse_mbufs: 0
dev.cxgbc.0.txq_overrun: 0
dev.cxgbc.0.bogus_imm: 1
dev.cxgb.0.%desc: Port 0 10GBASE-CX4
dev.cxgb.0.%driver: cxgb
dev.cxgb.0.%parent: cxgbc0
[leopard1]%

>     -Kip
>
>On 7/17/07, Mike Tancsa <mike_at_sentex.net> wrote:
>>Hi,
>>
>>I am trying to run a recent current with the Chelsio 10GigE card
>>below and it tries to load but has the following complaint.
>>
>>cxgbc0: <Chelsio T310 RNIC, 1 port> mem
>>0xe0201000-0xe0201fff,0xe0800000-0xe0ffffff,0xe0200000-0xe0200fff irq
>>16 at device 0.0 on pci10
>>cxgbc0: found wrong FW version (4.0), driver needs version 4.5
>>cxgbc0: firmware needs to be updated to version 4.5.0
>>cxgbc0: found wrong TP version (0.0), driver needs version 1.1
>>cxgbc0: SRAM needs to be updated to version b-1.1.0
>>cxgb0: <Port 0 10GBASE-CX4> on cxgbc0
>>cxgb0: Ethernet address: 00:07:43:04:01:2c
>>
>>Where do I get the firmware from ?  The website only has 4.3 ?  Also,
>>how do I update the SRAM.  Sorry if these are obvious questions, but
>>I am new to CURRENT with such drivers.  I have the driver compiled
>>into the kernel
>>
>>
>>With the Myricom, it seems to work, but it doesnt detect the cx4
>>media type for some reason.
>>
>># ifconfig mxge0
>>mxge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
>>
>>options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>
>>          ether 00:60:dd:47:c6:c4
>>          inet 192.168.10.3 netmask 0xffffff00 broadcast 192.168.10.255
>>          media: <unknown type> (autoselect <full-duplex>)
>>          status: active
>>
>>The port is up and I can ping across it so it is working.
>>
>>TenGigabitEthernet2/3 is up, line protocol is up (connected)
>>    Hardware is C6k 10000Mb 802.3, address is 0018.bab0.2036 (bia
>>0018.bab0.2036)
>>    Description: leopard3 mxge0
>>    MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,
>>       reliability 255/255, txload 1/255, rxload 1/255
>>    Encapsulation ARPA, loopback not set
>>    Full-duplex, 10Gb/s
>>    input flow-control is off, output flow-control is on
>>    ARP type: ARPA, ARP Timeout 04:00:00
>>    Last input never, output 00:00:55, output hang never
>>    Last clearing of "show interface" counters never
>>    Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0
>>    Queueing strategy: fifo
>>    Output queue: 0/40 (size/max)
>>    5 minute input rate 0 bits/sec, 0 packets/sec
>>    5 minute output rate 0 bits/sec, 0 packets/sec
>>       8 packets input, 588 bytes, 0 no buffer
>>       Received 5 broadcasts, 0 runts, 0 giants, 0 throttles
>>       0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
>>       0 input packets with dribble condition detected
>>       403 packets output, 30468 bytes, 0 underruns
>>       0 output errors, 0 collisions, 1 interface resets
>>       0 babbles, 0 late collision, 0 deferred
>>       0 lost carrier, 0 no carrier
>>       0 output buffer failures, 0 output buffers swapped out
>>
>>
>>          ---Mike
>>
>>
>>--------------------------------------------------------------------
>>Mike Tancsa,                                      tel +1 519 651 3400
>>Sentex Communications,                            mike_at_sentex.net
>>Providing Internet since 1994                    www.sentex.net
>>Cambridge, Ontario Canada                         www.sentex.net/mike
>>
>>_______________________________________________
>>freebsd-current_at_freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jul 18 2007 - 02:34:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC