Bug #420

altq_enable: assertion: ifq->ifq_len == 0

Added by ott over 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:corecode% Done:

0%

Category:-
Target version:-

Description

I'm using DragonFly 1.6.2 (chlamydia.fs.ei.tum.de build 09.12.2006) GENERIC +
ALTQ. It seems the queue is used but not enabled, so the assertion fails:

--
pf enabled
panic: assertion: ifq->ifq_len == 0 in altq_enable
Trace beginning at frame 0xs29b1674
panic(c052c20c,c05f2a20,c0519615,d29b16a4,c60fcf00) at panic+0x99
panic(c0519615,c052f4c5,c04fc31c,d2bb5f80,d1ccaf40) at panic+0x99
altq_enable(d1ccb004,c018d786,c12a4354.0478478df) at altq_enable+0x79
pfioctl(c6134110,2000442a,d29d1c18,3,c60fcf00) at pfioctl+0x249c
cdevsw_putport(c85f1620,d29b17c,c05f00c0,d2b3e900,d29b1acc) at
cdevsw_putport+0xb3
lwkt_domsg(c85f16b20,d29b1a7c,d29b1a7c,d29b1a9c,c02c18c3,c60fcf10) at
lwt_domsg+0x46
dev_dioctl(c6134110,2000442a,d29b1c18,3,c68fcf00) at dev_dioctl+0x64
spec_ioctl(d29b1b0c,d29b1b00,c043405d,d29b1b0c,d29b1b3c) at spec_ioctl+0x42
spec_vmoperate(d29b1b0c,d29b1b3c,c030cee8,d29b1b0c,c05ac2a0) at
spec_vmoperate+0x18
ufs_vmoperatespec(d29b1b0c,c85ac2a0,c98ef618,3,0) at ufs_vmoperatespec+0x18
vop_ioctl(c98ef618,d2de3e900,2000442a,d29b1c18,3) at vop_ioctl+0x3d
vn_ioctl(c10e5200,2000442a,d29b1c18,c1146a48,0) at vn_ioctl+0xda
mapped_ioctl(3,2000442a,b,0,d29b1d40) at mapped_ioctl+0x4b0
sys_ioctl(d29b1cf4,d29b1cfc,c,c04d00b6,0) at sys_ioctl+0x2a
syscall2(2f,2f,2f,bfbffd48,2) at syscall2+0x1cf
Xint0x80_syscall() at Xint0x80_syscall+0x2a
Debugger("panic")
Stopped at Debugger+0x44: movb $0,in_Debugger.0
db>
--

altq.jpg (460 KB) ott, 12/25/2006 02:44 PM

pf.conf (554 Bytes) ott, 12/26/2006 01:32 PM

altq-ifpurge.diff Magnifier (551 Bytes) corecode, 01/17/2007 03:04 AM

History

#1 Updated by ott over 7 years ago

Sorry, I uploaded the wrong photo.

#2 Updated by corecode over 7 years ago

could you supply the altq ruleset?

#3 Updated by ott over 7 years ago

Here is my pf.conf. It's neither professional nor finished.

#4 Updated by corecode over 7 years ago

sorry to come back to you so late. could you try attached fix and check if this is still happening?

thanks
simon

#5 Updated by corecode about 7 years ago

submitter timeout, committing anyways.

Also available in: Atom PDF