kern/89876: [PATCH] txp driver doesn't work with latest firmware 03.xxx.xxx

Doichin Dokov root at net1.cc
Sat Dec 3 08:50:07 GMT 2005


>Number:         89876
>Category:       kern
>Synopsis:       [PATCH] txp driver doesn't work with latest firmware 03.xxx.xxx
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 03 08:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Doichin Dokov
>Release:        6.0-STABLE
>Organization:
NetOne
>Environment:
FreeBSD test.net1.lan 6.0-STABLE FreeBSD 6.0-STABLE #3: Sat Dec  3 09:20:33 EET 2005     lancey at test.net1.cc:/usr/src/sys/i386/compile/GENERIC  i386
>Description:
When using latest releases of 3Com 990-based cards, loaded with firmware 03.xxx.xxx (tested with 03.001.008), FreeBSD 6.0 and 5.4 fail to boot with the card present (tested on 3 different machines), it either kernel panics, or doesn't recognize the card (driver says "not waiting for boot").
 
>How-To-Repeat:
Place a 3C990-based card in a FreeBSD 5.4 or 6.0 and boot it, it will either kernel panic during boot, or it will load but the txp driver will bail out with an error "not waiting for boot", thus leaving the card unusable.
>Fix:
The problem is that 3Com made a change in firmware 03.xxx.xxx, they send a HMAC hash of the firmware image loaded into the card, before actually sending it.

I have implemented the changes in the patch which could be downloaded from http://mirror.net1.cc/FreeBSD/txp.diff

The driver includes the latest 03.001.008 microcode. Changes are based on latest linux kernel typhoon driver. I suppose cards with older firmware will fail to work after the driver upgrade, so it should be stated somewhere that the firmware should be upgraded in case this is merged. Latest firmware can always be obtained from 3Com at the following URL:
http://www.3com.com/products/en_US/result.jsp?selected=6&sort=effdt&sku=3CR990B-97&order=desc
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list