Date: Fri, 26 Feb 2010 09:27:32 GMT From: Bogoslovskiy Dmitriy <shelma.box@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/144315: freebsd 8-stable reboot after add ipfw rules with netgraph ng_car Message-ID: <201002260927.o1Q9RWjU058745@www.freebsd.org> Resent-Message-ID: <201002260930.o1Q9U2VY045347@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144315 >Category: i386 >Synopsis: freebsd 8-stable reboot after add ipfw rules with netgraph ng_car >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 26 09:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Bogoslovskiy Dmitriy >Release: 8.0 >Organization: >Environment: FreeBSD shape.h.ru 8.0-STABLE FreeBSD 8.0-STABLE #4: Wed Feb 24 17:20:29 YEKT 2010 shelma@shape.hostelnet.ru:/usr/obj/usr/src/sys/SHAPE i386 >Description: Server: Dell poweredge 2650 After adding to the ipfw rule: ${fw} add 10400 netgraph tablearg ip from table\(1\) to any ${fw} add 10500 netgraph tablearg ip from any to table\(4\) in the /var/log/messages I see: Feb 26 13:08:12 shape kernel: fxp0: SCB timeout: 0x80 0x0 0x50 0x600 Feb 26 13:08:16 shape last message repeated 125 times Feb 26 13:08:20 shape kernel: fxp0: device timeout Feb 26 13:08:37 shape kernel: fxp0: SCB timeout: 0x80 0x0 0x50 0x600 Feb 26 13:08:39 shape last message repeated 125 times Feb 26 13:08:43 shape kernel: fxp0: device timeout Feb 26 13:08:52 shape kernel: fxp0: SCB timeout: 0x80 0x0 0x50 0x600 Feb 26 13:08:53 shape last message repeated 125 times Feb 26 13:08:57 shape kernel: fxp0: device timeout and server reboot... creating ng_car node: /usr/sbin/ngctl mkpeer ipfw: car $UP upper /usr/sbin/ngctl name ipfw:$UP $NAME /usr/sbin/ngctl connect $NAME: ipfw: lower $LOW /usr/sbin/ngctl msg $NAME: setconf { upstream={ cbs=$CBS ebs=$EBS cir=$OBW greenAction=1 yellowAction=1 redAction=2 mode=$MOD } downstream={ cbs=$CBS ebs=$EBS cir=$BW greenAction=1 yellowAction=1 redAction=2 mode=$MOD } } #add UIP in table /sbin/ipfw table 1 add $UIP/32 $UP /sbin/ipfw table 4 add $UIP/32 $LOW dmesg: Feb 26 13:11:46 shape syslogd: kernel boot file is /boot/kernel/kernel Feb 26 13:11:46 shape kernel: Copyright (c) 1992-2010 The FreeBSD Project. Feb 26 13:11:46 shape kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Feb 26 13:11:46 shape kernel: The Regents of the University of California. All rights reserved. Feb 26 13:11:46 shape kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Feb 26 13:11:46 shape kernel: FreeBSD 8.0-STABLE #4: Wed Feb 24 17:20:29 YEKT 2010 Feb 26 13:11:46 shape kernel: shelma@shape.hostelnet.ru:/usr/obj/usr/src/sys/SHAPE i386 Feb 26 13:11:46 shape kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Feb 26 13:11:46 shape kernel: CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.22-MHz 686-class CPU) Feb 26 13:11:46 shape kernel: Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Feb 26 13:11:46 shape kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Feb 26 13:11:46 shape kernel: Features2=0x641d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR> Feb 26 13:11:46 shape kernel: AMD Features=0x20100000<NX,LM> Feb 26 13:11:46 shape kernel: TSC: P-state invariant Feb 26 13:11:46 shape kernel: real memory = 2147483648 (2048 MB) Feb 26 13:11:46 shape kernel: avail memory = 2090606592 (1993 MB) Feb 26 13:11:46 shape kernel: ACPI APIC Table: <DELL PE BKC > Feb 26 13:11:46 shape kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Feb 26 13:11:46 shape kernel: FreeBSD/SMP: 2 package(s) x 1 core(s) Feb 26 13:11:46 shape kernel: cpu0 (BSP): APIC ID: 0 Feb 26 13:11:46 shape kernel: cpu1 (AP): APIC ID: 6 Feb 26 13:11:46 shape kernel: ioapic0: Changing APIC ID to 7 Feb 26 13:11:46 shape kernel: ioapic1: Changing APIC ID to 8 Feb 26 13:11:46 shape kernel: ioapic2: Changing APIC ID to 9 Feb 26 13:11:46 shape kernel: ioapic3: Changing APIC ID to 10 Feb 26 13:11:46 shape kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard Feb 26 13:11:46 shape kernel: ioapic1 <Version 2.0> irqs 32-55 on motherboard Feb 26 13:11:46 shape kernel: ioapic2 <Version 2.0> irqs 64-87 on motherboard Feb 26 13:11:46 shape kernel: ioapic3 <Version 2.0> irqs 96-119 on motherboard Feb 26 13:11:46 shape kernel: kbd1 at kbdmux0 Feb 26 13:11:46 shape kernel: acpi0: <DELL PE BKC> on motherboard Feb 26 13:11:46 shape kernel: acpi0: [ITHREAD] Feb 26 13:11:46 shape kernel: acpi0: Power Button (fixed) Feb 26 13:11:46 shape kernel: Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 Feb 26 13:11:46 shape kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 Feb 26 13:11:46 shape kernel: acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Feb 26 13:11:46 shape kernel: Timecounter "HPET" frequency 14318180 Hz quality 900 Feb 26 13:11:46 shape kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 Feb 26 13:11:46 shape kernel: pci0: <ACPI PCI bus> on pcib0 Feb 26 13:11:46 shape kernel: pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0 Feb 26 13:11:46 shape kernel: pci1: <ACPI PCI bus> on pcib1 Feb 26 13:11:46 shape kernel: pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1 Feb 26 13:11:46 shape kernel: pci2: <ACPI PCI bus> on pcib2 Feb 26 13:11:46 shape kernel: amr0: <LSILogic MegaRAID 1.53> mem 0xd80f0000-0xd80fffff,0xdfec0000-0xdfefffff irq 46 at device 14.0 on pci2 Feb 26 13:11:46 shape kernel: amr0: [ITHREAD] Feb 26 13:11:46 shape kernel: amr0: delete logical drives supported by controller Feb 26 13:11:46 shape kernel: amr0: <LSILogic PERC 4e/Di> Firmware 521S, BIOS H430, 256MB RAM Feb 26 13:11:46 shape kernel: pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1 Feb 26 13:11:46 shape kernel: pci3: <ACPI PCI bus> on pcib3 Feb 26 13:11:46 shape kernel: pcib4: <ACPI PCI-PCI bridge> at device 4.0 on pci0 Feb 26 13:11:46 shape kernel: pci4: <ACPI PCI bus> on pcib4 Feb 26 13:11:46 shape kernel: pcib5: <ACPI PCI-PCI bridge> at device 5.0 on pci0 Feb 26 13:11:46 shape kernel: pci5: <ACPI PCI bus> on pcib5 Feb 26 13:11:46 shape kernel: pcib6: <ACPI PCI-PCI bridge> at device 0.0 on pci5 Feb 26 13:11:46 shape kernel: pci6: <ACPI PCI bus> on pcib6 Feb 26 13:11:46 shape kernel: em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xecc0-0xecff mem 0xdfbe0000-0xdfbfffff irq 64 at device 7.0 on pci6 Feb 26 13:11:46 shape kernel: em0: [FILTER] Feb 26 13:11:46 shape kernel: em0: Ethernet address: 00:14:22:1a:11:32 Feb 26 13:11:46 shape kernel: pcib7: <ACPI PCI-PCI bridge> at device 0.2 on pci5 Feb 26 13:11:46 shape kernel: pci7: <ACPI PCI bus> on pcib7 Feb 26 13:11:46 shape kernel: em1: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xdcc0-0xdcff mem 0xdf9e0000-0xdf9fffff irq 65 at device 8.0 on pci7 Feb 26 13:11:46 shape kernel: em1: [FILTER] Feb 26 13:11:46 shape kernel: em1: Ethernet address: 00:14:22:1a:11:33 Feb 26 13:11:46 shape kernel: pcib8: <ACPI PCI-PCI bridge> at device 6.0 on pci0 Feb 26 13:11:46 shape kernel: pci8: <ACPI PCI bus> on pcib8 Feb 26 13:11:46 shape kernel: pcib9: <ACPI PCI-PCI bridge> at device 0.0 on pci8 Feb 26 13:11:46 shape kernel: pci9: <ACPI PCI bus> on pcib9 Feb 26 13:11:46 shape kernel: fxp0: <Intel 82559 Pro/100 Ethernet> port 0xccc0-0xccff mem 0xdf6ff000-0xdf6fffff,0xdf500000-0xdf5fffff irq 106 at device 4.0 on pci9 Feb 26 13:11:46 shape kernel: miibus0: <MII bus> on fxp0 Feb 26 13:11:46 shape kernel: inphy0: <i82555 10/100 media interface> PHY 1 on miibus0 Feb 26 13:11:46 shape kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Feb 26 13:11:46 shape kernel: fxp0: Ethernet address: 00:06:29:77:92:72 Feb 26 13:11:46 shape kernel: fxp0: [ITHREAD] Feb 26 13:11:46 shape kernel: pcib10: <ACPI PCI-PCI bridge> at device 0.2 on pci8 Feb 26 13:11:46 shape kernel: pci10: <ACPI PCI bus> on pcib10 Feb 26 13:11:46 shape kernel: em2: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xbcc0-0xbcff mem 0xdf3e0000-0xdf3fffff,0xdf380000-0xdf3bffff irq 96 at device 2.0 on pci10 Feb 26 13:11:46 shape kernel: em2: [FILTER] Feb 26 13:11:46 shape kernel: em2: Ethernet address: 00:02:a5:4e:9c:e4 Feb 26 13:11:46 shape kernel: em3: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xbc80-0xbcbf mem 0xdf3c0000-0xdf3dffff,0xdf340000-0xdf37ffff irq 97 at device 2.1 on pci10 Feb 26 13:11:46 shape kernel: em3: [FILTER] Feb 26 13:11:46 shape kernel: em3: Ethernet address: 00:02:a5:4e:9c:e5 Feb 26 13:11:46 shape kernel: uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x9ce0-0x9cff irq 16 at device 29.0 on pci0 Feb 26 13:11:46 shape kernel: uhci0: [ITHREAD] Feb 26 13:11:46 shape kernel: usbus0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0 Feb 26 13:11:46 shape kernel: pcib11: <ACPI PCI-PCI bridge> at device 30.0 on pci0 Feb 26 13:11:46 shape kernel: pci11: <ACPI PCI bus> on pcib11 Feb 26 13:11:46 shape kernel: pci11: <unknown> at device 5.0 (no driver attached) Feb 26 13:11:46 shape kernel: uart2: <Non-standard ns8250 class UART with FIFOs> port 0xac80-0xacbf mem 0xdf0ff000-0xdf0fffff,0xd7f00000-0xd7f7ffff irq 21 at device 5.1 on pci11 Feb 26 13:11:46 shape kernel: uart2: [FILTER] Feb 26 13:11:46 shape kernel: pci11: <unknown> at device 5.2 (no driver attached) Feb 26 13:11:46 shape kernel: atapci0: <SiI 680 UDMA133 controller> port 0xacf0-0xacf7,0xace4-0xace7,0xacd8-0xacdf,0xacd0-0xacd3,0xac70-0xac7f mem 0xdf0fec00-0xdf0fecff irq 23 at device 6.0 on pci11 Feb 26 13:11:46 shape kernel: atapci0: [ITHREAD] Feb 26 13:11:46 shape kernel: ata2: <ATA channel 0> on atapci0 Feb 26 13:11:46 shape kernel: ata2: [ITHREAD] Feb 26 13:11:46 shape kernel: ata3: <ATA channel 1> on atapci0 Feb 26 13:11:46 shape kernel: ata3: [ITHREAD] Feb 26 13:11:46 shape kernel: vgapci0: <VGA-compatible display> port 0xa800-0xa8ff mem 0xc8000000-0xcfffffff,0xdf0e0000-0xdf0effff irq 18 at device 13.0 on pci11 Feb 26 13:11:46 shape kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0 Feb 26 13:11:46 shape kernel: isa0: <ISA bus> on isab0 Feb 26 13:11:46 shape kernel: atapci1: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 Feb 26 13:11:46 shape kernel: ata0: <ATA channel 0> on atapci1 Feb 26 13:11:46 shape kernel: ata0: [ITHREAD] Feb 26 13:11:46 shape kernel: ata1: <ATA channel 1> on atapci1 Feb 26 13:11:46 shape kernel: ata1: [ITHREAD] Feb 26 13:11:46 shape kernel: atrtc0: <AT realtime clock> port 0x70-0x7f irq 8 on acpi0 Feb 26 13:11:46 shape kernel: fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 Feb 26 13:11:46 shape kernel: fdc0: does not respond Feb 26 13:11:46 shape kernel: device_attach: fdc0 attach returned 6 Feb 26 13:11:46 shape kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 Feb 26 13:11:46 shape kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0 Feb 26 13:11:46 shape kernel: kbd0 at atkbd0 Feb 26 13:11:46 shape kernel: atkbd0: [GIANT-LOCKED] Feb 26 13:11:46 shape kernel: atkbd0: [ITHREAD] Feb 26 13:11:46 shape kernel: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Feb 26 13:11:46 shape kernel: uart0: [FILTER] Feb 26 13:11:46 shape kernel: cpu0: <ACPI CPU> on acpi0 Feb 26 13:11:46 shape kernel: p4tcc0: <CPU Frequency Thermal Control> on cpu0 Feb 26 13:11:46 shape kernel: cpu1: <ACPI CPU> on acpi0 Feb 26 13:11:46 shape kernel: p4tcc1: <CPU Frequency Thermal Control> on cpu1 Feb 26 13:11:46 shape kernel: fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 Feb 26 13:11:46 shape kernel: fdc0: does not respond Feb 26 13:11:46 shape kernel: device_attach: fdc0 attach returned 6 Feb 26 13:11:46 shape kernel: pmtimer0 on isa0 Feb 26 13:11:46 shape kernel: orm0: <ISA Option ROMs> at iomem 0xc0000-0xcafff,0xd2000-0xd37ff,0xd3800-0xd4fff,0xd5000-0xd5fff,0xec000-0xeffff pnpid ORM0000 on isa0 Feb 26 13:11:46 shape kernel: sc0: <System console> at flags 0x100 on isa0 Feb 26 13:11:46 shape kernel: sc0: VGA <16 virtual consoles, flags=0x300> Feb 26 13:11:46 shape kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Feb 26 13:11:46 shape kernel: Timecounters tick every 1.000 msec Feb 26 13:11:46 shape kernel: ipfw2 (+ipv6) initialized, divert loadable, nat enabled, rule-based forwarding enabled, default to accept, logging disabled Feb 26 13:11:46 shape kernel: usbus0: 12Mbps Full Speed USB v1.0 Feb 26 13:11:46 shape kernel: ugen0.1: <Intel> at usbus0 Feb 26 13:11:46 shape kernel: uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 Feb 26 13:11:46 shape kernel: acd0: DVDROM <TEAC DVD-ROM DV-28E-C/D.4E> at ata0-master UDMA33 Feb 26 13:11:46 shape kernel: acd1: CDROM <VIRTUALCDROM DRIVE/> at ata2-slave PIO3 Feb 26 13:11:46 shape kernel: amr0: delete logical drives supported by controller Feb 26 13:11:46 shape kernel: amrd0: <LSILogic MegaRAID logical drive> on amr0 Feb 26 13:11:46 shape kernel: amrd0: 69880MB (143114240 sectors) RAID 1 (optimal) Feb 26 13:11:46 shape kernel: SMP: AP CPU #1 Launched! Feb 26 13:11:46 shape kernel: Root mount waiting for: usbus0 Feb 26 13:11:46 shape kernel: uhub0: 2 ports with 2 removable, self powered Feb 26 13:11:46 shape kernel: Root mount waiting for: usbus0 Feb 26 13:11:46 shape kernel: ugen0.2: <Dell> at usbus0 Feb 26 13:11:46 shape kernel: ukbd0: <Dell DRAC4, class 0/0, rev 1.10/0.00, addr 2> on usbus0 Feb 26 13:11:46 shape kernel: kbd2 at ukbd0 Feb 26 13:11:46 shape kernel: ums0: <Dell DRAC4, class 0/0, rev 1.10/0.00, addr 2> on usbus0 Feb 26 13:11:46 shape kernel: ums0: 3 buttons and [Z] coordinates ID=0 Feb 26 13:11:46 shape kernel: Trying to mount root from ufs:/dev/amrd0s1a >How-To-Repeat: /usr/sbin/ngctl mkpeer ipfw: car $UP upper /usr/sbin/ngctl name ipfw:$UP $NAME /usr/sbin/ngctl connect $NAME: ipfw: lower $LOW /usr/sbin/ngctl msg $NAME: setconf { upstream={ cbs=$CBS ebs=$EBS cir=$OBW greenAction=1 yellowAction=1 redAction=2 mode=$MOD } downstream={ cbs=$CBS ebs=$EBS cir=$BW greenAction=1 yellowAction=1 redAction=2 mode=$MOD } } /sbin/ipfw table 1 add $UIP/32 $UP /sbin/ipfw table 4 add $UIP/32 $LOW ${fw} add 10400 netgraph tablearg ip from table\(1\) to any ${fw} add 10500 netgraph tablearg ip from any to table\(4\) >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002260927.o1Q9RWjU058745>