From owner-freebsd-bugs@FreeBSD.ORG Wed Jul 9 16:00:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A12B1065672 for ; Wed, 9 Jul 2008 16:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4B94B8FC1B for ; Wed, 9 Jul 2008 16:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m69G05AB046759 for ; Wed, 9 Jul 2008 16:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m69G054j046758; Wed, 9 Jul 2008 16:00:05 GMT (envelope-from gnats) Resent-Date: Wed, 9 Jul 2008 16:00:05 GMT Resent-Message-Id: <200807091600.m69G054j046758@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, Steve Jones Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B1F61065674 for ; Wed, 9 Jul 2008 15:56:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 287E08FC14 for ; Wed, 9 Jul 2008 15:56:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m69FunQa033205 for ; Wed, 9 Jul 2008 15:56:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m69Funj7033204; Wed, 9 Jul 2008 15:56:49 GMT (envelope-from nobody) Message-Id: <200807091556.m69Funj7033204@www.freebsd.org> Date: Wed, 9 Jul 2008 15:56:49 GMT From: Steve Jones To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/125442: CARP combined with LAGG causes system panic - V7.0 RELEASE#2.0/amd64 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: Wed, 09 Jul 2008 16:00:05 -0000 >Number: 125442 >Category: kern >Synopsis: CARP combined with LAGG causes system panic - V7.0 RELEASE#2.0/amd64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 09 16:00:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Steve Jones >Release: 7.0 >Organization: Codeweavers Ltd. >Environment: FreeBSD APACHE01.serverfarm.net 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Mon Jul 7 11:49:58 BST 2008 root@APACHE01.serverfarm.net:/usr/obj/usr/src/sys/APACHE01 amd64 >Description: I cannot get lagg and carp running on a DELL SC1435 with dual interfaces. Everytime I try and restart the network, I cause a system panic. kernel customisation: "device carp"; /boot/loader.conf customisation: "if_lagg_load="YES"" rc.conf configuration: cloned_interfaces="lagg0 carp0 carp1" ifconfig_bge0="up" ifconfig_bge1="up" ifconfig_lagg0="laggproto failover laggport bge0 laggport bge1 10.1.1.1 netmask 255.255.0.0" ifconfig_carp0="inet 10.1.100.1/16 vhid 1 pass passwd" ifconfig_carp1="inet 10.1.101.1/16 vhid 2 advskew 64 pass passwd" dmesg output: /***************************************************************/ Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #2: Mon Jul 7 11:49:58 BST 2008 root@APACHE01.serverfarm.net:/usr/obj/usr/src/sys/APACHE01 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual-Core AMD Opteron(tm) Processor 2216 (2394.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x40f13 Stepping = 3 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 usable memory = 2133430272 (2034 MB) avail memory = 2058752000 (1963 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic2: Changing APIC ID to 4 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 32-47 on motherboard ioapic2 irqs 64-79 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Jul 7 2008 11:49:51) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci3: on pcib1 pcib2: at device 13.0 on pci3 pci4: on pcib2 atapci0: port 0xecb0-0xecb7,0xeca0-0xeca3,0xecb8-0xecbf,0xeca4-0xeca7,0xece0-0xecef mem 0xefbfe000-0xefbfffff irq 6 at device 14.0 on pci3 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8c0-0x8cf at device 2.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] isab0: at device 2.2 on pci0 isa0: on isab0 ohci0: port 0xc000-0xc0ff mem 0xef9ed000-0xef9edfff irq 11 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: port 0xc400-0xc4ff mem 0xef9ee000-0xef9eefff irq 11 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered ehci0: port 0xc800-0xc8ff mem 0xef9ef000-0xef9effff irq 11 at device 3.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: <(0x1166) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2 uhub2: 4 ports with 4 removable, self powered uhub3: on uhub2 uhub3: multiple transaction translators uhub3: 2 ports with 2 removable, self powered vgapci0: port 0xcc00-0xccff mem 0xe0000000-0xe7ffffff,0xef9f0000-0xef9fffff irq 44 at device 4.0 on pci0 pcib3: irq 32 at device 7.0 on pci0 pci5: on pcib3 pcib4: irq 33 at device 8.0 on pci0 pci1: on pcib4 bge0: mem 0xefcf0000-0xefcfffff irq 33 at device 0.0 on pci1 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:1e:c9:3b:36:a7 bge0: [ITHREAD] pcib5: irq 37 at device 9.0 on pci0 pci2: on pcib5 bge1: mem 0xefdf0000-0xefdfffff irq 37 at device 0.0 on pci2 miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: Ethernet address: 00:1e:c9:3b:36:a8 bge1: [ITHREAD] pcib6: irq 35 at device 10.0 on pci0 pci6: on pcib6 pcib7: at device 0.0 on pci6 pci7: on pcib7 mpt0: port 0xdc00-0xdcff mem 0xeffec000-0xeffeffff,0xefff0000-0xefffffff irq 35 at device 8.0 on pci7 mpt0: [ITHREAD] mpt0: MPI Version=1.5.13.0 mpt0: mpt_cam_event: 0x16 mpt0: mpt_cam_event: 0x12 mpt0: port 0xdc00-0xdcff mem 0xeffec000-0xeffeffff,0xefff0000-0xefffffff irq 35 at device 8.0 on pci7 mpt0: [ITHREAD] mpt0: MPI Version=1.5.13.0 mpt0: mpt_cam_event: 0x16 mpt0: mpt_cam_event: 0x12 mpt0: mpt_cam_event: 0x12 mpt0: mpt_cam_event: 0x16 pcib8: irq 36 at device 11.0 on pci0 pci8: on pcib8 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] orm0: at iomem 0xc0000-0xc8fff,0xcf000-0xcffff,0xd0000-0xd17ff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhub4: on uhub0 uhub4: 4 ports with 4 removable, self powered ukbd0: on uhub4 kbd2 at ukbd0 ums0: on uhub4 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: CDRW at ata0-master UDMA33 da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers da0: Command Queueing Enabled da0: 151634MB (310546432 512 byte sectors: 255H 63S/T 19330C) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/da0s1a WARNING: / was not properly dismounted ukbd1: on uhub4 kbd3 at ukbd1 uhid0: on uhub4 WARNING: /home was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /usr/local was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 288 files 2 bge0: link state changed to DOWN bge0: link state changed to UP /***************************************************************/ on boot up, the creation of the lagg interface is ignored, the carp interfaces are created but missing their configuration. however, running /etc/netstart or /etc/rc.d/netif restart causes a system panic: -- start of system panic Fatal trap 12: page fault while in kernel mode cpuid=1; apic id = 01 fault virtual address = 0xb7 fault code = supervisor read data, page not present instruction pointer = 0x8: 0xffffffff8053da20 stack pointer = 0x10: 0xffffffffae5a3980 frame pointer = 0x10: 0xffffff000166f570 code segment = base 0x0, limit 0xfffff, type0x1b = DPL 0, pres 1, long 1, def 32 0, gran 1 processor eflags = interrupt enabled, resume, 10PL = 0 current process = 163 (ifconfig) trap number = 12 panic: page fault cpuid=1 Uptime: 35m14s Physical Memory: 2034MB -- end of system panic This issue is on a DELL SC1435 (AMD Operton), with dual Broadcom NetXtreme Gigabit Ethernet Controllers. >How-To-Repeat: With the configuration above following a reboot: #/etc/rc.d/netif restart >Fix: not known >Release-Note: >Audit-Trail: >Unformatted: