From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 07:04:54 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF10216A4CE for ; Tue, 29 Mar 2005 07:04:54 +0000 (GMT) Received: from x8.develooper.com (x8.develooper.com [216.52.237.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8229143D48 for ; Tue, 29 Mar 2005 07:04:54 +0000 (GMT) (envelope-from ask@develooper.com) Received: (qmail 22426 invoked from network); 29 Mar 2005 07:04:54 -0000 Received: from george.develooper.com (HELO ?64.81.84.114?) (ask@cleverpeople.org@64.81.84.114) by smtp.develooper.com with (RC4-SHA encrypted) SMTP; 29 Mar 2005 07:04:54 -0000 Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-stable@freebsd.org From: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Date: Mon, 28 Mar 2005 23:04:48 -0800 X-Mailer: Apple Mail (2.619.2) Subject: altq assertion / kernel panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 07:04:54 -0000 Hi, I was experimenting with PF and ALTQ on a netbooted Soekris 4801 when I got this after "pfctl -f /etc/pf.conf". altq assertion "ifq->ifq_len == 0" failed: file "/usr/src/sys/contrib/altq/altq/altq_subr.c", line 256 Sadly I can't reproduce it, and I don't recall what the previous iterations of the pf.conf were like. I'm using RELENG5 as of a couple of days ago plus the if_bridge patch at http://www.pfsense.org/downloads/bridge.patch.041215 if that makes a difference. - ask int_if = "sis0" ext_if = "sis1" table { 64.81.84.115, 64.81.84.162, 64.81.84.165, 64.81.84.164, \ 64.81.84.17, 64.81.84.141, 64.81.84.114, 64.81.84.140 } table const { 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } table persist altq on $ext_if priq bandwidth 700Kb queue { std_out, voip_out, ssh_out, dns_out, tcp_ack_out } queue std_out priq(default) queue ssh_out priority 4 priq(red) queue dns_out priority 5 queue tcp_ack_out priority 8 queue voip_out priority 10 #queue std bandwidth 50% cbq(default borrow) #queue ssh bandwidth 25% { ssh_login, ssh_bulk } # queue ssh_login bandwidth 25% priority 6 cbq(ecn borrow) # queue ssh_bulk bandwidth 75% priority 4 cbq(ecn borrow) #queue voip bandwidth 25% priority 7 cbq(borrow) block in on $ext_if from { , } to any block out on $ext_if from 10.0.201.0/24 to any #block from any to 63.251.223.170 #block in all #block out all #pass out on $ext_if proto tcp from any to any port 22 queue(ssh_bulk, ssh_login) #pass out on $ext_if from 10.0.201.21 to any queue(voip) -- http://www.askbjoernhansen.com/