From nobody  Thu Apr  2 11:50:46 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id LAA24515;
          Thu, 2 Apr 1998 11:50:46 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199804021950.LAA24515@hub.freebsd.org>
Date: Thu, 2 Apr 1998 11:50:46 -0800 (PST)
From: dwhite@resnet.uoregon.edu
To: freebsd-gnats-submit@freebsd.org
Subject: Add new device ID for 3com 3c905 ethernet card
X-Send-Pr-Version: www-1.0

>Number:         6197
>Category:       kern
>Synopsis:       3com905 Seriously broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr  2 12:00:01 PST 1998
>Closed-Date:    Sun Aug 16 12:16:05 PDT 1998
>Last-Modified:  Thu Sep 13 12:48:22 GMT 2007
>Originator:     Doug White
>Release:        2.2.6-RELEASE
>Organization:
UO ResNet
>Environment:
Applies to any current FreeBSD release.
>Description:
Originally reported in freebsd-questions by: Paul Southworth <pauls@etext.org>

3Com made a new revision of their 3C905 Etherlink XL adapter and 
changed the PCI device ID.  Report from pauls@etext.org:

> pci0:10:  vendor=0x10b7, device=0x9055, class=network (ethernet) int a irq 12
> [no driver assigned]
>How-To-Repeat:
Use new version of 3c905 card.
>Fix:
Add device ID to /sys/pci/if_vx_pci.c, function vx_pci_probe(). 

I assume the card driver mechanics haven't changed.  Please test.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: danny 
State-Changed-When: Thu Apr 2 13:33:52 PST 1998 
State-Changed-Why:  
A fix has been given to the reportig user for testing. 

From: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To: dwhite@resnet.uoregon.edu, pauls@etext.org
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Fri, 3 Apr 1998 07:35:32 +1000 (EST)

 On Thu, 2 Apr 1998 dwhite@resnet.uoregon.edu wrote:
 
 > Originally reported in freebsd-questions by: Paul Southworth <pauls@etext.org>
 > 
 > 3Com made a new revision of their 3C905 Etherlink XL adapter and 
 > changed the PCI device ID.  Report from pauls@etext.org:
 > 
 > > pci0:10:  vendor=0x10b7, device=0x9055, class=network (ethernet) int a irq 12
 > > [no driver assigned]
 > >How-To-Repeat:
 > Use new version of 3c905 card.
 > >Fix:
 > Add device ID to /sys/pci/if_vx_pci.c, function vx_pci_probe(). 
 > 
 > I assume the card driver mechanics haven't changed.  Please test.
 
 Paul,
 
 Can you please install kernel sources.  cd to /sys/pci and apply the 
 patch below (you'll have to edit it out of this message).  Then rebuild 
 your kernel.  If you are using a GENERIC kernel, 
 cd /sys/i386/conf ; config GENERIC 
 cd ../../compile/GENERIC ; make depend ; make
 cp kernel /kernel.test
 
 reboot and enter kernel.test at the boot: prompt.
 
 Then test the card to see if it now works.
 
 Thanks,
 
 Danny
 
 
 
 --- if_vx_pci.c.orig	Thu Apr  2 13:28:16 1998
 +++ if_vx_pci.c	Thu Apr  2 13:29:23 1998
 @@ -71,7 +71,8 @@
        return "3COM 3C595 Fast Etherlink III PCI";
     if(device_id == 0x900010b7ul || device_id == 0x900110b7ul)
        return "3COM 3C900 Etherlink XL PCI";
 -   if(device_id == 0x905010b7ul || device_id == 0x905110b7ul)
 +   if(device_id == 0x905010b7ul || device_id == 0x905110b7ul || \
 +	device_id == 0x905510b7ul)
        return "3COM 3C905 Fast Etherlink XL PCI";
     return NULL;
  }

From: Paul Southworth <pauls@etext.org>
To: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Cc: dwhite@resnet.uoregon.edu, freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Thu, 2 Apr 1998 16:41:57 -0500 (EST)

 Hi Daniel.  I'll do this as soon as I get the machine up.  This is a new
 install, so I tossed another card (509) in it to finish the load. 
 
 --Paul
 
 
 :Can you please install kernel sources.  cd to /sys/pci and apply the 
 :patch below (you'll have to edit it out of this message).  Then rebuild 
 :your kernel.  If you are using a GENERIC kernel, 
 :cd /sys/i386/conf ; config GENERIC 
 :cd ../../compile/GENERIC ; make depend ; make
 :cp kernel /kernel.test
 :
 :reboot and enter kernel.test at the boot: prompt.
 :
 :Then test the card to see if it now works.
 :
 :Thanks,
 :
 :Danny
 :
 :
 :
 :--- if_vx_pci.c.orig	Thu Apr  2 13:28:16 1998
 :+++ if_vx_pci.c	Thu Apr  2 13:29:23 1998
 :@@ -71,7 +71,8 @@
 :       return "3COM 3C595 Fast Etherlink III PCI";
 :    if(device_id == 0x900010b7ul || device_id == 0x900110b7ul)
 :       return "3COM 3C900 Etherlink XL PCI";
 :-   if(device_id == 0x905010b7ul || device_id == 0x905110b7ul)
 :+   if(device_id == 0x905010b7ul || device_id == 0x905110b7ul || \
 :+	device_id == 0x905510b7ul)
 :       return "3COM 3C905 Fast Etherlink XL PCI";
 :    return NULL;
 : }
 :
 

From: Paul Southworth <pauls@etext.org>
To: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Cc: dwhite@resnet.uoregon.edu, freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Thu, 2 Apr 1998 16:45:15 -0500 (EST)

 By the way, the card is:
 
 3C905B-TX REV-A
 ASSY 03-0152-000
 EA=00104B323AA2
 
 --Paul
 

From: Paul Southworth <pauls@etext.org>
To: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Cc: dwhite@resnet.uoregon.edu, freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Thu, 2 Apr 1998 17:29:10 -0500 (EST)

 On Fri, 3 Apr 1998, Daniel O'Callaghan wrote:
 
 :Then test the card to see if it now works.
 
 The card is recognized, and selects [*utp*] correctly as the media type.
 
 The machine appears to hang fairly late in the boot process and is not
 pingable after the network is configured.  It hung right after printing
 'Starting final network daemons:.'.  A Control-C did not snap it out of
 its funk.
 
 I'll try to provide more useful information tomorrow.  Gotta run.
 
 --Paul
 

From: Paul Southworth <pauls@etext.org>
To: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Cc: dwhite@resnet.uoregon.edu, freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Fri, 3 Apr 1998 07:31:38 -0500 (EST)

 On Thu, 2 Apr 1998, Paul Southworth wrote:
 
 :The card is recognized, and selects [*utp*] correctly as the media type.
 :
 :The machine appears to hang fairly late in the boot process and is not
 :pingable after the network is configured.  It hung right after printing
 :'Starting final network daemons:.'.  A Control-C did not snap it out of
 :its funk.
 
 I booted the machine single-user, so the vx0 did not get brought up.  I
 did an ifconfig on it by hand.  It took the address.  Five seconds later I
 got a console message: 
 
 Out of mbuf clusters - increase maxusers!
 
 And the machine froze hard.
 
 I built a DDB kernel (GENERIC + options DDB) and brought it up single user
 again. I unplugged the 10baseT cable and then ifconfig'd the interface. No
 problem.  I fool around for a minute to make sure it's not going to blow
 up, and then plug the cable in. Instantly out of mbuf clusters again. 
 
 Can't get DDB to kick in via CTRL-ALT-ESC (is that still the way?) the box
 is hung.
 
 Rats!!!  Maybe I should just pull the 3C905 so we can keep testing it in
 another box, and I'll put this machine into production with the 3C509.
 
 --Paul
 

From: Doug White <dwhite@gladstone.uoregon.edu>
To: freebsd-gnats-submit@freebsd.org, dwhite@resnet.uoregon.edu
Cc:  Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Mon, 20 Apr 1998 10:01:41 -0700

 For the record, another user, Roy Teahen <teahen_r@cis.baker.edu>, has
 tried this and had success, so I wonder if there are other issues with
 this card beyond our driver
 support.
 
 Doug White                              | University of Oregon  
 Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
 http://gladstone.uoregon.edu/~dwhite    | Computer Science Major

From: Duane Wessels <wessels@nlanr.net>
To: freebsd-gnats-submit@freebsd.org, dwhite@resnet.uoregon.edu
Cc:  Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Tue, 21 Apr 1998 14:25:21 -0600

 FYI, I'm having the same troubles as Paul with a 3c905B TX PCI.
 After building a new kernel, the card is recognized.  Shortly after
 connecting the ethernet cable, the machine freezes.
 
 IRQ's and such normally baffle me, but I did notice that my old
 card (which works) picked IRQ 5 and this new one wants to be
 IRQ 10.
 
 Duane W.

From: Doug White <dwhite@gdi.uoregon.edu>
To: Duane Wessels <wessels@nlanr.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/6197: Add new device ID for 3com 3c905 ethernet card
Date: Tue, 21 Apr 1998 13:53:30 -0700 (PDT)

 On Tue, 21 Apr 1998, Duane Wessels wrote:
 
 > FYI, I'm having the same troubles as Paul with a 3c905B TX PCI.
 > After building a new kernel, the card is recognized.  Shortly after
 > connecting the ethernet cable, the machine freezes.
 > 
 > IRQ's and such normally baffle me, but I did notice that my old
 > card (which works) picked IRQ 5 and this new one wants to be
 > IRQ 10.
 
 Hm.
 
 Score:
 
 Breaks: 2
 Works:  1
 
 Where is our 3com hacker when we need him/her?
 
 Doug White                              | University of Oregon  
 Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
 http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
 
 
State-Changed-From-To: analyzed->open 
State-Changed-By: phk 
State-Changed-When: Sun May 3 01:22:30 PDT 1998 
State-Changed-Why:  
this needs more attention. 
see also 4903 
see also 6487 
see also 6456 

From: David Wolfskill <dhw@whistle.com>
To: freebsd-gnats-submit@freebsd.org, dwhite@resnet.uoregon.edu
Cc:  Subject: Re: kern/6197: 3com905 Seriously broken
Date: Tue, 5 May 1998 16:37:30 -0700 (PDT)

 Found PR 6197 via pointer in PR 6456.  Colleague has 3C905; installed
 2.2.6-RELEASE & encountered stated symptoms.
 
 I tried applying the patch (well, I tried my own, functionally
 equivalent, version before I noted PR 6197; same result each time):
 machine seems to recognize the NIC as appropriate for vx driver,
 but then sits & hangs indefinitely.
 
 This isn't an unmitigated success....  :-{
 
 david
 -- 
 David Wolfskill		dhw@whistle.com	(650) 577-7158	pager: (650) 371-4621

From: Doug White <dwhite@gdi.uoregon.edu>
To: David Wolfskill <dhw@whistle.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/6197: 3com905 Seriously broken
Date: Tue, 5 May 1998 20:29:12 -0700 (PDT)

 On Tue, 5 May 1998, David Wolfskill wrote:
 
 > Found PR 6197 via pointer in PR 6456.  Colleague has 3C905; installed
 > 2.2.6-RELEASE & encountered stated symptoms.
 > 
 > I tried applying the patch (well, I tried my own, functionally
 > equivalent, version before I noted PR 6197; same result each time):
 > machine seems to recognize the NIC as appropriate for vx driver,
 > but then sits & hangs indefinitely.
 > 
 > This isn't an unmitigated success....  :-{
 
 Thanks.  Score sits:
 
 Driver works		Driver busted
 	1			6
 
 Time to bug 3com I guess.
 
 Doug White                              | University of Oregon  
 Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
 http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
 
 

From: Luis Munoz <lem@cantv.net>
To: freebsd-gnats-submit@freebsd.org, dwhite@resnet.uoregon.edu
Cc:  Subject: Re: kern/6197: 3com905 Seriously broken
Date: Thu, 14 May 1998 18:53:46 -0400

 I have a 3COM 3C905B-TX and the symptoms are the same.
 
 I was able to discern that what hangs the machine is the
 first packet coming in on the ethernet port. It makes no
 difference to use 10 Mbit or 100 Mbit. It doesn't matter
 the IRQ I choose for the card.
 
 The card-id is the same posted before.
 
 -lem
 
 
 

From: Dougal Campbell <dougal@advicom.net>
To: freebsd-gnats-submit@freebsd.org, dwhite@resnet.uoregon.edu
Cc:  Subject: Re: kern/6197: 3com905 Seriously broken
Date: Wed, 1 Jul 1998 11:14:34 -0500 (CDT)

 I recently ran into the 3c905B problem myself, and found this problem
 report. This morning someone referred me to the following web site when
 I inquired on a local Linux mailing list about whether recent Linux
 kernels supported this card yet.
 
 Are there any updates as to when FreeBSD 2.2.6-STABLE will incorporate
 support for this card? If no progress has made yet, perhaps the author
 of the Linux driver would give permission for the FreeBSD driver
 maintainer to borrow the code.
 
 In the meantime, I'm considering downgrading my interface to a spare
 3c595 that we have laying around here....
 
   Linux and 3Com EtherLink Vortex/Boomerang Cyclone Ethercards
   http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
 
 
 Dougal Campbell, Systems Manager, ADViCOM        dougal@advicom.net
 http://www.advicom.net/                 http://advicom.net/~dougal/
            See my homepage for anti-spam information!
 QUOTE OF THE MOMENT:
 "Today, of course, it is considered very poor taste to use the F-word
 except in major motion pictures."
 		-- Dave Barry, "$#$%#^%!^%&@%@!"
 

From: Doug White <dwhite@resnet.uoregon.edu>
To: Dougal Campbell <dougal@advicom.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/6197: 3com905 Seriously broken
Date: Wed, 1 Jul 1998 15:11:23 -0700 (PDT)

 On Wed, 1 Jul 1998, Dougal Campbell wrote:
 
 > support for this card? If no progress has made yet, perhaps the author
 > of the Linux driver would give permission for the FreeBSD driver
 > maintainer to borrow the code.
 
 The revised driver is still under development, although it is nearing
 completion.
 > 
 >   Linux and 3Com EtherLink Vortex/Boomerang Cyclone Ethercards
 >   http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
 
 Seen that page already, thanks.
 
 Doug White                              | University of Oregon  
 Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
 http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
 

From: "Philip J. May" <dukat@highway1.com.au>
To: freebsd-gnats-submit@freebsd.org, dwhite@resnet.uoregon.edu
Cc:  Subject: Re: kern/6197: 3com905 Seriously broken
Date: Fri, 17 Jul 1998 08:59:44 +0800

 Well, I also tried this patch...
 
 much the same I'm afraid... boots up ok (ish) gets to the point of starting
 the networking deamons and then hangs. 
 Hopefully this will be resolved soon :)
 +-------------------------------+
 				
   Philip J. May	
   Technical Support	
   Highway1 	
   dukat@highway1.com.au	
 

From: Doug White <dwhite@resnet.uoregon.edu>
To: "Philip J. May" <dukat@highway1.com.au>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/6197: 3com905 Seriously broken
Date: Thu, 16 Jul 1998 18:16:58 -0700 (PDT)

 On Fri, 17 Jul 1998, Philip J. May wrote:
 
 > Well, I also tried this patch...
 > 
 > much the same I'm afraid... boots up ok (ish) gets to the point of starting
 > the networking deamons and then hangs. 
 
 You must have missed the audit-trail, the score was 1 worked, 12 didn't at
 last check.
 
 Okay people -- STOP EMAILING ME ABOUT THIS, I'M NOT DEVELOPING THE DRIVER
 AND I KNOW THE PATCHES DON'T WORK!
 
 Thank you for your understanding ..
 
 Doug White                              | University of Oregon  
 Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
 http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
 
>Unformatted:
