From owner-freebsd-stable@FreeBSD.ORG Sat Sep 13 18:57:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7C3E106566B for ; Sat, 13 Sep 2008 18:57:19 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 1910B8FC1C for ; Sat, 13 Sep 2008 18:57:18 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 13 Sep 2008 18:30:37 -0000 Received: from 85-127-253-3.dynamic.xdsl-line.inode.at (EHLO taxman.pepperland) [85.127.253.3] by mail.gmx.net (mp010) with SMTP; 13 Sep 2008 20:30:37 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX19ccv0H0IJcxtyjOwIh0V53CVKgmORWrx9MrIDT9l 1ePPtFzYVKilbv From: Stefan Ehmann To: freebsd-stable@freebsd.org Date: Sat, 13 Sep 2008 20:30:33 +0200 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; i386; ; ) MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200809132030.34870.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.42 Subject: ipfw uid regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2008 18:57:19 -0000 I've updated from 7.0 to RELENG_7 today. ipfw uid rules have caused problems in the past with PREEMPTION enabled. This was fixed in 7.0, at least for me. In RELENG_7 the old problems are back: Total freeze within some seconds/minutes after the first network access. With WITNESS I get a LOR, see at the end of dmesg. 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.1-PRERELEASE #58: Sat Sep 13 19:38:47 CEST 2008 stefan@taxman.pepperland:/usr/obj/usr/src/sys/TAXMAN WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP 2700+ (2166.44-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400800 real memory = 1073725440 (1023 MB) avail memory = 1032847360 (985 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xd7000000-0xd7ffffff,0xe0000000-0xefffffff,0xd6000000-0xd6ffffff irq 16 at device 0.0 on pci1 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] pcm0: port 0xd800-0xd81f,0xd400-0xd40f,0xd000-0xd00f,0xb800-0xb83f irq 16 at device 13.0 on pci0 pcm0: [ITHREAD] pcm0: system configuration SubVendorID: 0x1412, SubDeviceID: 0xd634 XIN2 Clock Source: 22.5792MHz(44.1kHz*512) MPU-401 UART(s) #: 1 AC'97 codec: not exist ADC #: 1 DAC #: 1 Multi-track converter type: I2S(96KHz support, 24bit resolution, ID#0x2) S/PDIF(IN/OUT): 1/1 ID# 0x00 GPIO(mask/dir/state): 0x04/0xfb/0xfe pci0: at device 15.0 (no driver attached) uhci0: port 0xb400-0xb41f at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xb000-0xb01f at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xa800-0xa81f at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xd5800000-0xd58000ff at device 16.3 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xa400-0xa40f at device 17.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] vr0: port 0xa000-0xa0ff mem 0xd5000000-0xd50000ff at device 18.0 on pci0 vr0: Quirks: 0x0 vr0: Revision: 0x74 miibus0: on vr0 rlphy0: PHY 1 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:0e:a6:40:3f:d0 vr0: [ITHREAD] cpu0: on acpi0 acpi_button0: on acpi0 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] pmtimer0 on isa0 orm0: at iomem 0xd0000-0xd5fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled ums0: on uhub0 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2166438045 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging disabled ad0: 305245MB at ata0-master UDMA100 acd0: DVDROM <@LEP HB @D \^R/\^B0> at ata1-master UDMA33 acd1: DVDR at ata1-slave UDMA33 WARNING: WITNESS option enabled, expect reduced performance. GEOM_LABEL: Label for provider acd0 is iso9660/K3b data project. Trying to mount root from ufs:/dev/ad0s1a lock order reversal: 1st 0xc0a338cc IPFW static rules (IPFW static rules) @ /usr/src/sys/modules/ipfw/../../netinet/ip_fw2.c:2469 2nd 0xc08c1a4c tcp (tcp) @ /usr/src/sys/modules/ipfw/../../netinet/ip_fw2.c:2016 KDB: stack backtrace: db_trace_self_wrapper(c07e5ba8,e48b2770,c05a6ede,c07e80cd,c08c1a4c,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c07e80cd,c08c1a4c,c07e817e,c07e817e,c0a31b2d,...) at kdb_backtrace+0x29 witness_checkorder(c08c1a4c,1,c0a31b2d,7e0,c0a2c8e3,...) at witness_checkorder+0x6de _rw_rlock(c08c1a4c,c0a31b2d,7e0,0,0,...) at _rw_rlock+0x8e ipfw_chk(e48b2abc,41ec0d7e,0,0,c4777100,...) at ipfw_chk+0x35a4 ipfw_check_in(0,e48b2bc0,c453c400,1,0,...) at ipfw_check_in+0xd7 pfil_run_hooks(c08c0d00,e48b2c14,c453c400,1,0,...) at pfil_run_hooks+0x88 ip_input(c4777100,14e,800,c453c400,800,...) at ip_input+0x24d netisr_dispatch(2,c4777100,10,3,0,...) at netisr_dispatch+0x73 ether_demux(c453c400,c4777100,3,0,3,...) at ether_demux+0x1f1 ether_input(c453c400,c4777100,c09b95e3,585,e48b2cc0,...) at ether_input+0x37f vr_intr(c453e000,0,c07df398,4b6,c437e3e8,...) at vr_intr+0x370 ithread_loop(c455b8d0,e48b2d38,c07df0fd,31c,c455d828,...) at ithread_loop+0x1c5 fork_exit(c054c050,c455b8d0,e48b2d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xe48b2d70, ebp = 0 ---