From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 14:33:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5456E16A4CE for ; Tue, 2 Mar 2004 14:33:15 -0800 (PST) Received: from beru.its.uow.edu.au (beru.its.uow.edu.au [130.130.68.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96B1243D2F for ; Tue, 2 Mar 2004 14:33:14 -0800 (PST) (envelope-from simon@uow.edu.au) Received: from beru (localhost [127.0.0.1]) by beru.its.uow.edu.au (8.12.9/8.12.9) with ESMTP id i22MXCqL000138 for ; Wed, 3 Mar 2004 09:33:13 +1100 (EST) Received: from chac.its.uow.edu.au ([130.130.37.3]) by beru.its.uow.edu.au (MailMonitor for SMTP v1.2.2 ) ; Wed, 3 Mar 2004 09:33:12 +1100 (EST) Received: from sendmail by chac.its.uow.edu.au with local (Exim 4.30) id 1AyIRs-0002p3-RR for current@freebsd.org; Wed, 03 Mar 2004 09:33:12 +1100 Received: from dustpuppy.its.uow.edu.au (dustpuppy.its.uow.edu.au[172.20.5.1]) by chac.its.uow.edu.au (UWSMTPD 1.61) with ESMTP id 4524963.10786; Wednesday, 03 March 2004 09:33:07 +1100 Received: from simon by dustpuppy.its.uow.edu.au with local (Exim 4.30) id 1AyIRl-0003Nt-Ey for current@freebsd.org; Wed, 03 Mar 2004 09:33:05 +1100 Date: Wed, 3 Mar 2004 09:33:05 +1100 From: Simon Coggins To: current@freebsd.org Message-ID: <20040302223305.GA12935@uow.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organisation: ITS, University of Wollongong (http://www.uow.edu.au/) X-Sage-AU-Member: System Administrators Guild of Australia (http://www.sage-au.org.au/) X-PGP-Fingerprint: DD3E 8E69 D847 72B7 B85A 6C91 B0A6 5920 18AA 98FE (0x18AA98FE) X-MessageID: 4524963.10786 X-EnvelopeFrom: 4524963.10786 X-EnvelopeTo: 4524963.10786 Subject: Kernel panic when setting up queues via IPFW X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 22:33:15 -0000 Hi, I've just started playing with queues and pipes and I created the config attached. The problem is when ever I reconfigure queue 6 (I was doing my numbering wrong to start with hence i found it) the kernel panics. I can reproduce it everytime on my machine. The machine is: FreeBSD router 5.2-CURRENT FreeBSD 5.2-CURRENT #10: Tue Mar 2 04:31:42 EST 2004 root@chaotic.chaos.oz.org:/usr/world/obj/usr/world/src/sys/Router i386 When the 2nd "queue 6 config pipe 1 ...." command is issued (the last line), a kernel panic occurs. I don't have the debugger currently compiled into the kernel so I couldn't get usful info. Hopefully someone else can reproduce this. The config is: ------8<------8<-------8<------ # Default Traffic add queue 1 ip from any to any in recv tun10 queue 1 config pipe 1 weight 30 queue 15kb pipe 1 config bw 512kb/s queue 25kb add queue 2 ip from any to any out xmit tun10 queue 2 config pipe 2 weight 30 queue 15kb pipe 2 config bw 128kb/s queue 25kb # DNS/ntp etc add queue 3 udp from any to any src-port 53 in recv tun10 add queue 3 tcp from any to any src-port 54 in recv tun10 add queue 3 udp from any to any src-port 123 in recv tun10 queue 3 config pipe 1 weight 100 queue 15kb add queue 4 udp from any to any dst-port 53 out xmit tun10 add queue 4 tcp from any to any dst-port 53 out xmit tun10 add queue 4 udp from any to any dst-port 123 out xmit tun10 queue 4 config pipe 2 weight 100 queue 15kb # SSH / IRC traffic add queue 5 tcp from any to any dst-port 22,6667,6666 in recv tun10 add queue 5 tcp from any to any src-port 22,6667,6666 in recv tun10 add queue 5 tcp from 130.130.69.5 to any src-port 1 in recv tun10 queue 5 config pipe 1 weight 90 queue 15kb add queue 6 tcp from any to any dst-port 22,6667,6666 out xmit tun10 add queue 6 tcp from any to any src-port 22,6667,6666 out xmit tun10 add queue 6 tcp from any to 130.130.69.5 dst-port 1 out xmit tun10 queue 6 config pipe 2 weight 90 queue 10kb # Web Traffic add queue 5 tcp from any to any src-port 80 in recv tun10 add queue 5 tcp from any to any dst-port 80 in recv tun10 queue 5 config pipe 1 weight 40 queue 10kb add queue 6 tcp from any to any dst-port 80 out xmit tun10 add queue 6 tcp from any to any src-port 80 out xmit tun10 queue 6 config pipe 1 weight 40 queue 10kb ------8<------8<------8<------- -- Simon Coggins (SAGE-AU Member) Email: simon@uow.edu.au Network and System Management Officer Phone: +61-2-4221-3775 Information Technology Systems (ITS) Mobile: 0408 115861 University of Wollongong, 2522, Australia Fax: +61-2-4229-1985