From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 3 08:50:07 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74B3C16A41F for ; Sat, 3 Dec 2005 08:50:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06D4743D69 for ; Sat, 3 Dec 2005 08:50:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB38o20t083325 for ; Sat, 3 Dec 2005 08:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB38o2Lv083324; Sat, 3 Dec 2005 08:50:02 GMT (envelope-from gnats) Resent-Date: Sat, 3 Dec 2005 08:50:02 GMT Resent-Message-Id: <200512030850.jB38o2Lv083324@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Doichin Dokov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFD5B16A41F for ; Sat, 3 Dec 2005 08:47:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BF7643D49 for ; Sat, 3 Dec 2005 08:47:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jB38ld0k099628 for ; Sat, 3 Dec 2005 08:47:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id jB38ldAL099627; Sat, 3 Dec 2005 08:47:39 GMT (envelope-from nobody) Message-Id: <200512030847.jB38ldAL099627@www.freebsd.org> Date: Sat, 3 Dec 2005 08:47:39 GMT From: Doichin Dokov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/89876: [PATCH] txp driver doesn't work with latest firmware 03.xxx.xxx X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 08:50:07 -0000 >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@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: