Clean install of OpenBSD 3.9-stable
Attempting to use ALTQ to provide audio stability for Cisco ATA-186
SIP device.
Offending section of pf.conf:
altq on $ext_if cbq bandwidth 1.542Mb queue { std, voip, smtp, ssh,
http, ftp }
queue std on $ext_if bandwidth 350Kb cbq(default)
queue voip on $ext_if bandwidth 192Kb priority 7 cbq(borrow)
queue smtp on $ext_if bandwidth 250Kb cbq(borrow)
queue ssh on $ext_if bandwidth 250Kb { ssh_login, ssh_bulk }
queue ssh_login bandwidth 25% priority 4 cbq(ecn)
queue ssh_bulk bandwidth 75% cbq(ecn)
queue http bandwidth 250Kb cbq(borrow)
queue ftp bandwidth 250Kb priority 3 cbq(borrow rio)
on every attempt to start pf with this section active, I get:
pfctl: DIOCADDALTQ: Cannot allocate memory
I dug through the archives and found a single query on this from
2003 where Henning commented on a possible malloc/pool error in
ENONMEM, but nothing further was posted.
I read through http://www.openbsd.org/faq/pf/queueing.html, but it
didn't really detail anything except syntax (which is what it's
supposed to do). A bit of searching turned up a kernel modification
for _Free_BSD, but nothing for Open.
Top of the dmesg is:
OpenBSD 3.9-stable (GENERIC) #0: Wed May 10 09:15:48 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache)
351 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem = 536387584 (523816K)
avail mem = 485388288 (474012K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
Any ideas on how to resolve this?
Thanks,
--
Ed V.
I am the computer your mother warned you about.