From mteterin@pollux.us.murex.com  Thu Feb 12 13:31:21 2004
Return-Path: <mteterin@pollux.us.murex.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5B04816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Feb 2004 13:31:21 -0800 (PST)
Received: from harik.murex.com (mail.murex.com [194.98.239.11])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D7AA943D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Feb 2004 13:31:20 -0800 (PST)
	(envelope-from mteterin@pollux.us.murex.com)
Received: from interscan.murex.fr (interscan.murex.fr [172.21.17.206])
	by harik.murex.com with ESMTP id i1CLQJaw016974
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Feb 2004 22:26:19 +0100 (CET)
Received: from bilbo.murex.com (interscan.murex.fr [127.0.0.1])
	by interscan.murex.fr (8.11.6/8.11.6) with ESMTP id i1CLRjQ02471
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Feb 2004 22:27:45 +0100
Received: from pollux.us.murex.com ([172.21.130.56]) by bilbo.murex.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Thu, 12 Feb 2004 22:30:41 +0100
Received: (from mteterin@localhost)
	by pollux.us.murex.com (8.12.10/8.12.10/Submit) id i1CLUssk000835;
	Thu, 12 Feb 2004 16:30:54 -0500 (EST)
	(envelope-from mteterin)
Message-Id: <200402122130.i1CLUssk000835@pollux.us.murex.com>
Date: Thu, 12 Feb 2004 16:30:54 -0500 (EST)
From: Mikhail Teterin <mi@aldan.algebra.com>
Reply-To: Mikhail Teterin <mi@aldan.algebra.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: txp(4) panics on amd4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62753
>Category:       amd64
>Synopsis:       [txp] [panic] txp(4) panics on amd4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 12 13:40:17 PST 2004
>Closed-Date:    Thu Mar 12 03:36:24 UTC 2009
>Last-Modified:  Thu Mar 12 03:36:24 UTC 2009
>Originator:     Mikhail Teterin
>Release:        FreeBSD 5.2.1-RC amd64
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD pollux 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	Although the txp0 is found and reported at boot time, an attempt
	to ifconfig it causes kernel page fault with txp0 being the "current
	process".

	Manual ifconfig or through dhclient -- does not matter.

	I first observed it while installing the RC and then (after
	installing over a different NIC) confirmed on a functional system.

	Here it is:

	dmesg:

	txp0: <3Com 3cR990-TX-95 Etherlink with 3XP Processor> port 0x8080-0x80ff mem 0xff380000-0xff3bffff irq 16 at device 10.0 on pci3
	txp0: Ethernet address 00:01:02:68:53:e7

	ifconfig:

	txp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
		options=13<RXCSUM,TXCSUM,VLAN_HWTAGGING>
		ether 00:01:02:68:53:e7
		media: Ethernet autoselect (100baseTX <full-duplex>)
		status: active

	The card, of course, worked perfectly in a i386 box for years.

>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->obrien 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Mon Apr 26 17:28:31 PDT 2004 
Responsible-Changed-Why:  
I have one of these cards now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62753 
State-Changed-From-To: open->feedback 
State-Changed-By: yongari 
State-Changed-When: Thu Mar 12 02:35:08 UTC 2009 
State-Changed-Why:  
I've committed overhauled txp(4) to HEAD. Would you give it a try 
on your box? Download the following files and it should build 
without problems on 7.1-RELEASE/7-stable/CURRENT. 

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/txp/3c990img.h 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/txp/if_txp.c 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/txp/if_txpreg.h 



Responsible-Changed-From-To: obrien->yongari 
Responsible-Changed-By: yongari 
Responsible-Changed-When: Thu Mar 12 02:35:08 UTC 2009 
Responsible-Changed-Why:  
I've committed overhauled txp(4). Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62753 
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Thu Mar 12 03:35:20 UTC 2009 
State-Changed-Why:  
Close the PR. The submitter has no longer access to hardware. We 
can reopen the PR when the same issue happens but I guess 
overhauled txp(4) may have fixed the issue as I don't see any 
odd things on sparc64 too. 

Thanks for quick reply and submitting bug report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62753 
>Unformatted:
