Date: Wed, 9 Jul 2008 15:56:49 GMT From: Steve Jones <steve.jones@codeweavers.net> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/125442: CARP combined with LAGG causes system panic - V7.0 RELEASE#2.0/amd64 Message-ID: <200807091556.m69Funj7033204@www.freebsd.org> Resent-Message-ID: <200807091600.m69G054j046758@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE ,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x2001<SSE3,CX16> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8> Cores per package: 2 usable memory = 2133430272 (2034 MB) avail memory = 2058752000 (1963 MB) ACPI APIC Table: <DELL PE_SC3 > 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 <Version 1.1> irqs 0-15 on motherboard ioapic1 <Version 1.1> irqs 32-47 on motherboard ioapic2 <Version 1.1> 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: <DELL PE_SC3> 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: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: <ACPI CPU> on acpi0 powernow0: <PowerNow! K8> on cpu0 cpu1: <ACPI CPU> on acpi0 powernow1: <PowerNow! K8> on cpu1 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci3: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 13.0 on pci3 pci4: <ACPI PCI bus> on pcib2 atapci0: <ServerWorks HT1000 SATA150 controller> 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: <ATA channel 0> on atapci0 ata2: [ITHREAD] ata3: <ATA channel 1> on atapci0 ata3: [ITHREAD] atapci1: <ServerWorks HT1000 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8c0-0x8cf at device 2.1 on pci0 ata0: <ATA channel 0> on atapci1 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci1 ata1: [ITHREAD] isab0: <PCI-ISA bridge> at device 2.2 on pci0 isa0: <ISA bus> on isab0 ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2> on uhub2 uhub3: multiple transaction translators uhub3: 2 ports with 2 removable, self powered vgapci0: <VGA-compatible display> port 0xcc00-0xccff mem 0xe0000000-0xe7ffffff,0xef9f0000-0xef9fffff irq 44 at device 4.0 on pci0 pcib3: <ACPI PCI-PCI bridge> irq 32 at device 7.0 on pci0 pci5: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> irq 33 at device 8.0 on pci0 pci1: <ACPI PCI bus> on pcib4 bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4201> mem 0xefcf0000-0xefcfffff irq 33 at device 0.0 on pci1 miibus0: <MII bus> on bge0 brgphy0: <BCM5750 10/100/1000baseTX PHY> 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: <ACPI PCI-PCI bridge> irq 37 at device 9.0 on pci0 pci2: <ACPI PCI bus> on pcib5 bge1: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4201> mem 0xefdf0000-0xefdfffff irq 37 at device 0.0 on pci2 miibus1: <MII bus> on bge1 brgphy1: <BCM5750 10/100/1000baseTX PHY> 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: <ACPI PCI-PCI bridge> irq 35 at device 10.0 on pci0 pci6: <ACPI PCI bus> on pcib6 pcib7: <PCI-PCI bridge> at device 0.0 on pci6 pci7: <PCI bus> on pcib7 mpt0: <LSILogic SAS/SATA Adapter> 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: <LSILogic SAS/SATA Adapter> 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: <ACPI PCI-PCI bridge> irq 36 at device 11.0 on pci0 pci8: <ACPI PCI bus> 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: <ISA Option ROMs> at iomem 0xc0000-0xc8fff,0xcf000-0xcffff,0xd0000-0xd17ff,0xec000-0xeffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhub4: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub0 uhub4: 4 ports with 4 removable, self powered ukbd0: <Justcom Technology USB KVM Switch, class 0/0, rev 1.10/1.00, addr 3> on uhub4 kbd2 at ukbd0 ums0: <Justcom Technology USB KVM Switch, class 0/0, rev 1.10/1.00, addr 3> on uhub4 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: CDRW <HL-DT-STCD-RW/DVD-ROM GCC-T10N/A102> at ata0-master UDMA33 da0 at mpt0 bus 0 target 0 lun 0 da0: <Dell VIRTUAL DISK 1028> 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: <LITEON Technology USB Multimedia Keyboard, class 0/0, rev 1.10/1.01, addr 4> on uhub4 kbd3 at ukbd1 uhid0: <LITEON Technology USB Multimedia Keyboard, class 0/0, rev 1.10/1.01, addr 4> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807091556.m69Funj7033204>