From dgilbert@strike.velocet.net  Sun Jul  2 13:30:07 2000
Return-Path: <dgilbert@strike.velocet.net>
Received: from sabre.velocet.net (sabre.velocet.net [198.96.118.66])
	by hub.freebsd.org (Postfix) with ESMTP id A080137B70B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 Jul 2000 13:30:06 -0700 (PDT)
	(envelope-from dgilbert@strike.velocet.net)
Received: by sabre.velocet.net (Postfix, from userid 66)
	id A1513137F39; Sun,  2 Jul 2000 16:30:05 -0400 (EDT)
Received: (from dgilbert@localhost)
	by strike.velocet.net (8.9.3/8.9.2) id QAA03327;
	Sun, 2 Jul 2000 16:22:07 -0400 (EDT)
	(envelope-from dgilbert)
Message-Id: <200007022022.QAA03327@strike.velocet.net>
Date: Sun, 2 Jul 2000 16:22:07 -0400 (EDT)
From: David Gilbert <dgilbert@velocet.ca>
Sender: dgilbert@strike.velocet.net
Reply-To: dgilbert@velocet.ca
To: FreeBSD-gnats-submit@freebsd.org
Subject: Another (unrelated) 20 dc port crash
X-Send-Pr-Version: 3.2

>Number:         19654
>Category:       kern
>Synopsis:       20 dc ports in one machine (5x 4port cards) crashes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mbr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 02 13:40:00 PDT 2000
>Closed-Date:    Tue Sep 13 22:24:17 GMT 2005
>Last-Modified:  Tue Sep 13 22:24:17 GMT 2005
>Originator:     David Gilbert
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Velocet Communications
>Environment:

4.0-CURRENT, IPFW, BRIDGE and DUMMYNET compiled in.

20 dc ports ... 5x 4port dlink cards.

>Description:

Similar to my submission in kern/19603, I have 20 ethernet ports in one
machine.  I the test machine that I used to isolate kern/19603, I never
see this bug ... all but one of it's ports are not connected.  It appears
that lots of internet traffic is required to exercise this bug.

This bug also doesn't happen with 16 dc ports.  The production machine
that produced the crash dump does not exhibit the crash with 16 ports.

panic: malloc: wrong bucket 
 
syncing disks... 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2  
giving up on 2 buffers 
Uptime: 1d21h24m9s 
 
dumping to dev #da/0x20001, offset 1048576 
 
[...] 
 
(kgdb) bt 
#0  boot (howto=256) at ../../kern/kern_shutdown.c:302 
#1  0xc015a900 in poweroff_wait (junk=0xc026e2af, howto=0) 
    at ../../kern/kern_shutdown.c:552 
#2  0xc022fcd9 in trap_fatal (frame=0xc027835c, eva=99) 
    at ../../i386/i386/trap.c:927 
#3  0xc022f9b1 in trap_pfault (frame=0xc027835c, usermode=0, eva=99) 
    at ../../i386/i386/trap.c:820 
#4  0xc022f5af in trap (frame={tf_fs = 16, tf_es = -1071448048,  
      tf_ds = -1071448048, tf_edi = 1074174976, tf_esi = -1045939008,  
      tf_ebp = -1071152204, tf_isp = -1071152248, tf_ebx = -1045939008,  
      tf_edx = 1074240664, tf_ecx = 0, tf_eax = 99, tf_trapno = 12,  
      tf_err = 0, tf_eip = 99, tf_cs = 8, tf_eflags = 66054,  
      tf_esp = -1072219758, tf_ss = 1768318561}) at ../../i386/i386/trap.c:426 
#5  0x63 in ?? () 
#6  0xc01ed3cf in dc_txeof (sc=0xc1847800) at ../../pci/if_dc.c:2221 
#7  0xc01ed6b4 in dc_intr (arg=0xc1847800) at ../../pci/if_dc.c:2351 
#8  0xc0237c19 in intr_mux (arg=0xc10b98a0) 
    at ../../i386/isa/intr_machdep.c:569 
#9  0xc0158bf6 in add_interrupt_randomness (vsc=0xc02b6944) 
    at ../../kern/kern_random.c:245 
#10 0xc02260c6 in vec11 () 
#11 0xc0158bf6 in add_interrupt_randomness (vsc=0xc02b6938) 
    at ../../kern/kern_random.c:245 
#12 0xc01b63a2 in ip_input (m=0xc151f900) at 
../../netinet/ip_input.c:287 
#13 0xc01b0cb2 in transmit_event (pipe=0xc1989000) 
    at ../../netinet/ip_dummynet.c:399 
#14 0xc01b0f07 in ready_event (q=0xc1985500) at 
../../netinet/ip_dummynet.c:525 
#15 0xc01b133f in dummynet (unused=0x0) at 
../../netinet/ip_dummynet.c:660 
#16 0xc015fce9 in softclock () at ../../kern/kern_timeout.c:131 

>How-To-Repeat:

I can make test hardware, and possibly even environment available
to anyone chasing this

>Fix:

None, yet.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Jul 3 04:25:08 PDT 2000 
Responsible-Changed-Why:  
Over to the dc(4) driver's maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19654 

From: Marc Perisa <perisa@porsche.de>
To: freebsd-gnats-submit@FreeBSD.org, dgilbert@velocet.ca
Cc:  
Subject: Re: kern/19654: 20 dc ports in one machine (5x 4port cards) crashes
Date: Wed, 29 May 2002 01:53:16 +0200

 Hi,
 
 does this problem still exists in a recent FreeBSD 4-STABLE system?
 
 Thanks
 
 Marc
 
 
 

From: David Gilbert <dgilbert@velocet.ca>
To: Marc Perisa <perisa@porsche.de>
Cc: freebsd-gnats-submit@FreeBSD.org, dgilbert@velocet.ca
Subject: Re: kern/19654: 20 dc ports in one machine (5x 4port cards) crashes
Date: Wed, 29 May 2002 09:19:18 -0400

 >>>>> "Marc" == Marc Perisa <perisa@porsche.de> writes:
 
 Marc> Hi, does this problem still exists in a recent FreeBSD 4-STABLE
 Marc> system?
 
 I'm not sure.  The problem ended up being that the bridge code only
 accounted for 16 interfaces (total).  We don't use bridging any more
 (options BRIDGE)... so I havn't tested things lately.
 
 Dave.
 
 -- 
 ============================================================================
 |David Gilbert, Velocet Communications.       | Two things can only be     |
 |Mail:       dgilbert@velocet.net             |  equal if and only if they |
 |http://daveg.ca                              |   are precisely opposite.  |
 =========================================================GLO================
Responsible-Changed-From-To: wpaul->mbr 
Responsible-Changed-By: mbr 
Responsible-Changed-When: Thu Jan 30 15:50:21 PST 2003 
Responsible-Changed-Why:  
Take this PR from wpaul. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19654 

From: David Gilbert <dgilbert@eicat.ca>
To: freebsd-gnats-submit@FreeBSD.org, dgilbert@velocet.ca
Cc:  
Subject: Re: kern/19654: 20 dc ports in one machine (5x 4port cards) crashes
Date: Tue, 24 Feb 2004 11:18:47 -0500

 I no longer have a test environment for this hardware.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Sep 13 22:23:09 GMT 2005 
State-Changed-Why:  
Submitter noted that he does not have the hardware to replicate whether 
this problem still exists. 

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