From nobody@www.freebsd.org  Sat May 25 23:46:05 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 451CE37B403
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 May 2002 23:46:05 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4Q6k5hG044009
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 May 2002 23:46:05 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4Q6k5aG044008;
	Sat, 25 May 2002 23:46:05 -0700 (PDT)
Message-Id: <200205260646.g4Q6k5aG044008@www.freebsd.org>
Date: Sat, 25 May 2002 23:46:05 -0700 (PDT)
From: Ben Jackson <ben@ben.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bridge_cfg=*dc0* ; kldload if_dc => panic SMP XXX
X-Send-Pr-Version: www-1.0

>Number:         38562
>Category:       kern
>Synopsis:       bridge_cfg=*dc0* ; kldload if_dc => panic SMP XXX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 25 23:50:01 PDT 2002
>Closed-Date:    Fri Oct 31 19:11:48 PST 2003
>Last-Modified:  Fri Oct 31 19:11:48 PST 2003
>Originator:     Ben Jackson
>Release:        4.6-PRERELEASE
>Organization:
>Environment:
FreeBSD saturn.home.ben.com 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Sat May 25 22:13:15 PDT 2002     bjj@saturn.home.ben.com:/a/src/sys/compile/SATURN  i386

>Description:
I just started bridging de1 to a (new) dc0.  Until today I had started the bridge manually after the system was up.  After adding the bridge_cfg line to sysctl.conf, the system panics on boot as soon as my start_if.dc0 rand `kldload if_dc'.  If I boot single and load it before, or use loader.conf to load it earlier it works fine.

This is on a dual celeron 500A (abit BP6).  The panicing process is the `kldload'.
>How-To-Repeat:
If this is insufficient then contact me by email and I will reproduce it and try to hook up a serial console to capture the output and get a dump.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Nate Lawson <nate@root.org>
To: freebsd-gnats-submit@FreeBSD.org, ben@ben.com
Cc:  
Subject: Re: kern/38562: bridge_cfg=*dc0* ; kldload if_dc => panic SMP XXX
Date: Tue, 25 Jun 2002 12:29:45 -0700 (PDT)

 Could you please reply with a panic message and stack trace (options DDB,
 trace)?
 
 -Nate
 

From: =?ISO-8859-1?Q?Tom_M=FCller-Kortkamp?= <tmueko@kommunity.net>
To: freebsd-gnats-submit@FreeBSD.org, ben@ben.com
Cc:  
Subject: Re: kern/38562: bridge_cfg=*dc0* ; kldload if_dc => panic SMP XXX
Date: Fri, 4 Jul 2003 10:42:03 +0200

 Same Problem
 I have the Panic-Massage, but no stack trace (as this a Production=20
 Server I had to switch to Netgraph-Bridge)
 The System was working with 4.7.
 
 trap 12: page fault while in kernel mode
 fault virtual address   =3D 0x10
 fault code              =3D supervisor read, page not present
 instruction pointer     =3D 0x8:0xc0196b7f
 stack pointer           =3D 0x10:0xc5fdddfc
 frame pointer           =3D 0x10:0xc5fdde08
 code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                          =3D DPL 0, pres 1, def32 1, gran 1
 processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
 current process         =3D 45 (sysctl)
 interrupt mask          =3D none
 trap number             =3D 12
 panic: page fault
 
 
 dmesg:
 Copyright (c) 1992-2003 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
          The Regents of the University of California. All rights=20
 reserved.
 FreeBSD 4.8-RELEASE #0: Wed Jul  2 17:56:49 CEST 2003
      root@nis.kommunity.net:/usr/obj/usr/src/sys/pfhor
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: AMD-K6tm w/ multimedia extensions (167.05-MHz 586-class CPU)
    Origin =3D "AuthenticAMD"  Id =3D 0x562  Stepping =3D 2
    Features=3D0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
    AMD Features=3D0x400<<b10>>
 real memory  =3D 67108864 (65536K bytes)
 avail memory =3D 62046208 (60592K bytes)
 Preloaded elf kernel "kernel" at 0xc0347000.
 md0: Malloc disk
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device=20
 7.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
 chip1: <Intel 82371AB Power management controller> port 0x6200-0x620f=20
 at device 7.3 on pci0
 pcib1: <DEC 21152 PCI-PCI bridge> at device 16.0 on pci0
 pci1: <PCI bus> on pcib1
 dc0: <Intel 21143 10/100BaseTX> port 0xe000-0xe07f mem=20
 0xdd000000-0xdd0003ff irq 11 at device 4.0 on pci1
 dc0: Ethernet address: 00:80:c8:b9:f0:1d
 miibus0: <MII bus> on dc0
 ukphy0: <Generic IEEE 802.3u media interface> on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 dc1: <Intel 21143 10/100BaseTX> port 0xe400-0xe47f mem=20
 0xdd001000-0xdd0013ff irq 10 at device 5.0 on pci1
 dc1: Ethernet address: 00:80:c8:b9:f0:1e
 miibus1: <MII bus> on dc1
 ukphy1: <Generic IEEE 802.3u media interface> on miibus1
 ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 dc2: <Intel 21143 10/100BaseTX> port 0xe800-0xe87f mem=20
 0xdd002000-0xdd0023ff irq 9 at device 6.0 on pci1
 dc2: Ethernet address: 00:80:c8:b9:f0:1f
 miibus2: <MII bus> on dc2
 ukphy2: <Generic IEEE 802.3u media interface> on miibus2
 ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 dc3: <Intel 21143 10/100BaseTX> port 0xec00-0xec7f mem=20
 0xdd003000-0xdd0033ff irq 12 at device 7.0 on pci1
 dc3: Ethernet address: 00:80:c8:b9:f0:20
 miibus3: <MII bus> on dc3
 ukphy3: <Generic IEEE 802.3u media interface> on miibus3
 ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0
 sio0: type 16550A, console
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 BRIDGE 020214 loaded
 ipfw2 initialized, divert disabled, rule-based forwarding enabled,=20
 default to deny, logging disabled
 ad0: 12949MB <IBM-DJNA-371350> [26310/16/63] at ata0-master UDMA33
 Mounting root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 
 
 Tom M=FCller-Kortkamp
 kommunity GmbH & Co. KG
 Goseriede 4
 30159 Hannover
 
 Tel: 0511/121085-350
 Fax: 0511/121085-399
 
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Sat Oct 11 01:29:39 PDT 2003 
State-Changed-Why:  
A backtrace is still required to diagnose this problem. 
Please follow the instructions in 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html 

and follow up to this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38562 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Fri Oct 31 19:11:39 PST 2003 
State-Changed-Why:  
Feedback timeout 

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