apm.8 Ox version patch

2008-10-06 Thread Gregory Steuck
According to CVS history, the file was there for 2.0, and I don't recall
any OpenBSD release 1.2.

If this is a correct fix, there are a few similar ones that google code
search yields:
http://www.google.com/codesearch?hl=enlr=q=Ox%5C+1%5C.2+lang%3Atroff+file%3A%5B0-9%5D%24+package%3Aopenbsdsbtn=Search

Index: apm.8
===
RCS file: /cvs/src/usr.sbin/apm/apm.8,v
retrieving revision 1.32
diff -u -r1.32 apm.8
--- apm.8   5 Dec 2007 19:49:33 -   1.32
+++ apm.8   6 Oct 2008 03:53:17 -
@@ -161,4 +161,4 @@
 .Nx 1.3 ,
 .Ox
 support was added in
-.Ox 1.2 .
+.Ox 2.0 .



Re: apm.8 Ox version patch

2008-10-06 Thread Pereresus ne Vlezaet Buggy
B qnnayemhh nr 6 njrap 2008 c. Gregory Steuck m`ohq`k(a):
 According to CVS history, the file was there for 2.0, and I don't
 recall any OpenBSD release 1.2.

This was not a public release. See Wikipedia:

In October 1995, de Raadt founded OpenBSD, a new project forked from
NetBSD 1.0. The initial release, OpenBSD 1.2, was made in July 1996,
followed in October of the same year by OpenBSD 2.0.

--
  WBR,
Pereresus ne Vlezaet Buggy



Re: uvm_fault again...

2008-10-06 Thread ng-sup01

Hello again!

ng-sup01 wrote:


  Rebooted in single-user and, as suggested, ran fsck on / first,
then on /usr and /var. Turned out clean.


   I have been running Memtest86 v2.01 for almost a day now, turns
out there are *NO* problems in the RAM (at least so far).

   So we're back at square one: is the problem due due the disk or
to the RAM or what else?

Any clues are most welcome!

  --Vic



Re: Azalia configured but no audio

2008-10-06 Thread Markus Hennecke

On Mon, 6 Oct 2008, Girish Venkatachalam wrote:


On 03:18:01 Oct 06, Jacob Meuser wrote:


mplayer should be controlling `play.gain' from audioctl(1), which
should correspond to `inputs.dac' from mixerctl(1).  either of these
should affect the playback volume, but if not, then you can use
mplayer's `-softvol' switch to adjust volume in software rather than
hardware; see mplayer(1).



Well I have been putting up with an inability to increase the volume of
mplayer but one can reduce it with '/' or '9' key.

The '0' and '*' keys do not work however.

Something wrong somewhere but I never got time to check.


It sometimes works, and sometimes it does not work. It will use the 
master volume if the sun audio driver is used. In that case the 0 or * 
keys won't work.


Kind regards,
  Markus



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Girish Venkatachalam
On 16:39:30 Oct 06, Sunnz wrote:
 Is it possible?
 
 Say I have a few nics of the same group... dc0 dc1 dc2 dc3... which
 all belong to a group dc.
 
 And say if I wanted to limit the overall bandwidth for the group... so
 say at any point in time the overall outgoing bandwidth of the group
 dc will not be over 100mbp.
 
 Would it work if I just apply altq to dc in pf?
 
 Or do I need to bridge it... this is where I have no ideas... but say
 I add a bridge0 that contains dc0 dc1 dc3 dc2, and apply altq to
 bridge0 in pf.

No need to add a bridge.

You are looking for ifconfig(8). Look for interface groups and you are
done.

-Girish



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Sunnz
2008/10/6 Girish Venkatachalam [EMAIL PROTECTED]:
 No need to add a bridge.

 You are looking for ifconfig(8). Look for interface groups and you are
 done.

 -Girish



Oh, so just apply altq rules to the appropieate group and it will work?

That sounds great!! Thanks!!

-- 
This e-mail may be confidential. You may not copy, forward or use any
part. All disclaimers on the Internet are of zero legal effectiveness.
http://www.goldmark.org/jeff/stupid-disclaimers/



Re: weird wscons behavior

2008-10-06 Thread Jesus Sanchez

the last day 4 I sent a bug report using sendbug but
2 days later, the report doesn't exists on the bug track.

I have not experience sending bugs with sendbug, so
to make sure I'm not doing anything wrong, It should
take so much time to appear on the query list??

send another report isn't a problem, just to be sure
my report is someway useful.

thanks for all.
-Jesus



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Henning Brauer
* Sunnz [EMAIL PROTECTED] [2008-10-06 07:44]:
 Is it possible?

no. groups don't have any queues to play queue tricks on.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



website rack photo

2008-10-06 Thread Benjamin Adams
I was just seeing the rack photo on openbsd.org has not been updated since
2004.  No big deal just something I noticed.



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Sunnz
Ahhh ok... so what do I need to do this, group, bridge, or something else?

2008/10/7 Henning Brauer [EMAIL PROTECTED]:
 * Sunnz [EMAIL PROTECTED] [2008-10-06 07:44]:
 Is it possible?

 no. groups don't have any queues to play queue tricks on.

 --
 Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
 BS Web Services, http://bsws.de
 Full-Service ISP - Secure Hosting, Mail and DNS Services
 Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam





-- 
This e-mail may be confidential. You may not copy, forward or use any
part. All disclaimers on the Internet are of zero legal effectiveness.
http://www.goldmark.org/jeff/stupid-disclaimers/



Backup system administrator needed

2008-10-06 Thread Jeff Ross

Hi all,

If you are in or near (say 50 miles) the Cheyenne, WY area and might be
interested in some backup systems administrator work, please drop me a 
line.  We run a handful all OpenBSD (server-side) networks running 
samba, postgresql, php5, and so on.


Any experience level is okay--I don't mind if you learn on the job.  I 
sure do!


Thanks,

Jeff Ross



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Henning Brauer
* Sunnz [EMAIL PROTECTED] [2008-10-06 16:59]:
 Ahhh ok... so what do I need to do this, 

write lots of code :)

 group, bridge, or something else?

bridge doesn't have queues either. that is just not how it works. one
still had to play the delay/drop games on the physical interfaces
(that have queues) but use a summary of all interfaces in the group to
do the math, or the like. lots of work that nobody has done. And I
don't see it getting done either; I for one am totally not interested
in that functionality nor writing the code.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: uvm_fault again...

2008-10-06 Thread Daniel Melameth
On Thu, Sep 25, 2008 at 5:54 AM, ng-sup01 [EMAIL PROTECTED] wrote:
  I have 4.3 running flawlessly since almost three months on an old
 machine used as firewall: now, in less than a week, it froze twice.

  This time I managed to copy down what's on the screen.

 uvm_fault (0xd3da32f0,0x79394000,0,1) - e
 fatal page fault (6) in supervisor mode
 trap type 6 code 0 eip d0431978 cs 8 eflags 10293 cr2 79394336 cpl0
 panic: trap type 6, code=0, pc=d0431978
 Starting stack trace...
 panic (d078aad0,0,d5239d00,0,d3c682b8) at panic+0x71
 panic (d06d6307,6,0,d0431978,c044) at panic+0x71
 trap() at trap+0x119
 --- trap number 6 ---
 ufs_gettadr (d5239d78,0,d5239dc0,d0372bd9,d078b3c0) at ufs_getaddr+0x230
 VOP_GETADDR (d3d11b24,d5239db8,d3daf000,d3c62b8) at VOP_GETADDR+0x34
 vn_stat (d3d11b24,d5239e98,d3c682b8,0,3c00055e) at vn_stat+0x24
 sys_stat (d3c682b8,d5239668,d5239f58,0,36c) at sys_stat+0x70
 syscall() at syscall+0x243
 --- syscall (number 291) ---
 0x25cc905:
 End of stack trace
 Syncing disks

 (hope I wrote everything correctly).

 The machine, once power-cycled, rebooted without a hitch, not even
 complaining about disk corruption or anything.

 Couldn't get to ddb, since I disabled it in sysctl.conf. Can't find
anything
 in the logs, nor any coredumps.

 Here's the DMESG:

 [EMAIL PROTECTED]:~ # dmesg
 OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008

You might also want to try upgrading to 4.4 or current and seeing if
the issue persists.



4.3 Freeze

2008-10-06 Thread Jean-Gérard Pailloncy
Hi,

My config:
- Dell Poweredge R200
- OpenBSD 4.3
- httpd -u
- mod_perl (package)
- mysql (package)
- EPrints (www.eprints.org)

Eprints is leaking some memory. I am in the process of finding the leak

Anyhow, at random interval the box freezes. I suppose that the memory is
to fragmented and the kernel gives up, but I do not know how to debug it.

With vmstat -m | head -n16 I log the Memory statistics by bucket size.
The freeze happens when the 16 is higher than 1,000,000.

In httpd.conf, I use MaxClient 80 and MaxRequestPerChild 20 to limit
the leak. Now I am able to keep the 16 below 800,000.

What I may do to help the system to deal with this problem.
I would like to relaxe both MaxClient and MaxRequestPerChild.

Any help welcome.
Jean-Girard

dmesg for GENERIC with acpiverbose:

OpenBSD 4.3 (ACPI) #0: Thu Oct 11 02:16:28 CEST 2007
[EMAIL PROTECTED]:/var/code/src/sys/arch/i386/compile/ACPI
cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (GenuineIntel 686-class) 3.01
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 3487866880 (3326MB)
avail mem = 3383980032 (3227MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/05/08, BIOS32 rev. 0 @ 0xfac90,
SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
bios0: vendor Dell Inc. version 1.2.1 date 03/05/2008
bios0: Dell Inc. PowerEdge R200
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WDAT SLIC ERST HEST BERT EINJ
SSDT SSDT SSDT
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
acpimadt0 at acpi0 table APIC addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 333MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (GenuineIntel 686-class) 3.01
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec1, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
acpi device at acpi0 from table SPCR not configured
acpihpet0 at acpi0 table HPET: 14318179 Hz
acpi device at acpi0 from table MCFG not configured
acpi device at acpi0 from table WDAT not configured
acpi device at acpi0 from table SLIC not configured
acpi device at acpi0 from table ERST not configured
acpi device at acpi0 from table HEST not configured
acpi device at acpi0 from table BERT not configured
acpi device at acpi0 from table EINJ not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEX1)
acpiprt2 at acpi0: bus 2 (SBE0)
acpiprt3 at acpi0: bus 3 (PXHA)
acpiprt4 at acpi0: bus 4 (SBE4)
acpiprt5 at acpi0: bus 5 (SBE5)
acpiprt6 at acpi0: bus 6 (COMP)
acpicpu0 at acpi0: FVS, 3000, 2667, 2333, 2000 MHz
acpicpu1 at acpi0: FVS, 3000, 2667, 2333, 2000 MHz
bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800
0xcb800/0x5c00 0xec000/0x4000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x29f0 rev
0x01
ppb0 at pci0 dev 1 function 0 vendor Intel, unknown product 0x29f1 rev
0x01: apic 2 int 16 (irq 15)
pci1 at ppb0 bus 1
mpi0 at pci1 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: apic 2
int 16 (irq 15)
scsibus0 at mpi0: 112 targets
sd0 at scsibus0 targ 0 lun 0: Dell, VIRTUAL DISK, 1028 SCSI3 0/direct fixed
sd0: 75340MB, 75340 cyl, 16 head, 128 sec, 512 bytes/sec, 154296320 sec total
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
pci4 at ppb3 bus 4
bge0 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
(0x4201): apic 2 int 16 (irq 15), address 00:1e:c9:bb:6e:27
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb4 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
pci5 at ppb4 bus 5
bge1 at pci5 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
(0x4201): apic 2 int 17 (irq 14), address 00:1e:c9:bb:6e:28
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 2 int 21
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 2 int 20
(irq 10)
uhci2 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 2 int 21
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801I USB rev 0x02: apic 2 int 21
(irq 11)
usb0 at ehci0: 

Re: 4.3 Freeze

2008-10-06 Thread Theo de Raadt
Please try 4.4-current where many acpi problems are probably sovled.

 Eprints is leaking some memory. I am in the process of finding the leak
 
 Anyhow, at random interval the box freezes. I suppose that the memory is
 to fragmented and the kernel gives up, but I do not know how to debug it.
 
 With vmstat -m | head -n16 I log the Memory statistics by bucket size.
 The freeze happens when the 16 is higher than 1,000,000.
 
 In httpd.conf, I use MaxClient 80 and MaxRequestPerChild 20 to limit
 the leak. Now I am able to keep the 16 below 800,000.
 
 What I may do to help the system to deal with this problem.
 I would like to relaxe both MaxClient and MaxRequestPerChild.
 
 Any help welcome.
 Jean-Girard
 
 dmesg for GENERIC with acpiverbose:
 
 OpenBSD 4.3 (ACPI) #0: Thu Oct 11 02:16:28 CEST 2007
 [EMAIL PROTECTED]:/var/code/src/sys/arch/i386/compile/ACPI
 cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (GenuineIntel 686-class) 3.01
 GHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
 real mem  = 3487866880 (3326MB)
 avail mem = 3383980032 (3227MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 03/05/08, BIOS32 rev. 0 @ 0xfac90,
 SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
 bios0: vendor Dell Inc. version 1.2.1 date 03/05/2008
 bios0: Dell Inc. PowerEdge R200
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP APIC SPCR HPET MCFG WDAT SLIC ERST HEST BERT EINJ
 SSDT SSDT SSDT
 acpi0: wakeup devices PCI0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpi device at acpi0 from table DSDT not configured
 acpi device at acpi0 from table FACP not configured
 acpimadt0 at acpi0 table APIC addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 333MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (GenuineIntel 686-class) 3.01
 GHz
 cpu1:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 2
 ioapic1 at mainbus0: apid 3 pa 0xfec1, version 20, 24 pins
 ioapic1: misconfigured as apic 0, remapped to apid 3
 acpi device at acpi0 from table SPCR not configured
 acpihpet0 at acpi0 table HPET: 14318179 Hz
 acpi device at acpi0 from table MCFG not configured
 acpi device at acpi0 from table WDAT not configured
 acpi device at acpi0 from table SLIC not configured
 acpi device at acpi0 from table ERST not configured
 acpi device at acpi0 from table HEST not configured
 acpi device at acpi0 from table BERT not configured
 acpi device at acpi0 from table EINJ not configured
 acpi device at acpi0 from table SSDT not configured
 acpi device at acpi0 from table SSDT not configured
 acpi device at acpi0 from table SSDT not configured
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEX1)
 acpiprt2 at acpi0: bus 2 (SBE0)
 acpiprt3 at acpi0: bus 3 (PXHA)
 acpiprt4 at acpi0: bus 4 (SBE4)
 acpiprt5 at acpi0: bus 5 (SBE5)
 acpiprt6 at acpi0: bus 6 (COMP)
 acpicpu0 at acpi0: FVS, 3000, 2667, 2333, 2000 MHz
 acpicpu1 at acpi0: FVS, 3000, 2667, 2333, 2000 MHz
 bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800
 0xcb800/0x5c00 0xec000/0x4000!
 ipmi at mainbus0 not configured
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x29f0 rev
 0x01
 ppb0 at pci0 dev 1 function 0 vendor Intel, unknown product 0x29f1 rev
 0x01: apic 2 int 16 (irq 15)
 pci1 at ppb0 bus 1
 mpi0 at pci1 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: apic 2
 int 16 (irq 15)
 scsibus0 at mpi0: 112 targets
 sd0 at scsibus0 targ 0 lun 0: Dell, VIRTUAL DISK, 1028 SCSI3 0/direct fixed
 sd0: 75340MB, 75340 cyl, 16 head, 128 sec, 512 bytes/sec, 154296320 sec total
 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02
 pci2 at ppb1 bus 2
 ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09
 pci3 at ppb2 bus 3
 ppb3 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
 pci4 at ppb3 bus 4
 bge0 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 2 int 16 (irq 15), address 00:1e:c9:bb:6e:27
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb4 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
 pci5 at ppb4 bus 5
 bge1 at pci5 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 2 int 17 (irq 14), address 00:1e:c9:bb:6e:28
 brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 uhci0 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 2 int 21
 (irq 11)
 uhci1 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 2 int 20
 (irq 10)
 uhci2 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 2 int 21
 (irq 11)
 ehci0 at pci0 dev 29 function 7 Intel 82801I USB 

Dell R200 ipmi

2008-10-06 Thread Jean-Gérard Pailloncy
Hi,

The Dell Poweredge R200 has a ipmi board but
 ipmi at mainbus0 not configured

Is there some new stuff in current to support the ipmi on R200 ?
especially the watchdog feature. Or patch waiting to be tested ?

JG



spamd db size

2008-10-06 Thread Jean-Gérard Pailloncy
Hi,

I have a mail server that suffers a strange size for /var/db/spamd.

# ls -l /var/db/spamd
-rw---  1 _spamd  _spamd  167657472 Oct  6 19:45 /var/db/spamd
# spamdb | wc -l
   16784

167 Mbytes for 16784 entries...

The box is a little old: OpenBSD 4.1 (stable)

Any solution ? appart upgrading (planned)

JG



Re: spamd db size

2008-10-06 Thread Otto Moerbeek
On Mon, Oct 06, 2008 at 07:49:56PM +0200, Jean-G?rard Pailloncy wrote:

 Hi,
 
 I have a mail server that suffers a strange size for /var/db/spamd.
 
 # ls -l /var/db/spamd
 -rw---  1 _spamd  _spamd  167657472 Oct  6 19:45 /var/db/spamd
 # spamdb | wc -l
16784
 
 167 Mbytes for 16784 entries...
 
 The box is a little old: OpenBSD 4.1 (stable)
 
 Any solution ? appart upgrading (planned)
 
 JG

berkeley db files appear larger than they are: it uses sparse files.
Check with ls -S or du for the actual blocks used. 

-Otto



How to debug PPPOE(4)?

2008-10-06 Thread gm_sjo
Hi all,

I'm in the process of setting up my new firewall. It's running OpenBSD
4.3 GENERIC.

I have two PPPoA/PPPoE bridge modems attached to two NIC's (fxp0/1)
and am struggling to get them connected to my ADSL.

For now, I am just trying one (pppoe1) :-


# cat /etc/hostname.pppoe1
inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev fxp2 authproto pap
authname 'xxx' authkey 'xxx' up
!/sbin/route add default 0.0.0.1

# cat /etc/hostname.fxp2
up

# ifconfig fxp2
fxp2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:02:b3:13:fc:0d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::202:b3ff:fe13:fc0d%fxp2 prefixlen 64 scopeid 0x5


# ifconfig pppoe1
pppoe1: flags=8850POINTOPOINT,RUNNING,SIMPLEX,MULTICAST mtu 1492
dev: fxp2 state: session
sid: 0x6 PADI retries: 0 PADR retries: 0 time: 00:00:36
sppp: phase establish authproto pap authname REMOVED
groups: pppoe
inet6 fe80::204:23ff:fecb:1cde%pppoe1 -  prefixlen 64 scopeid 0x9
inet 0.0.0.0 -- 0.0.0.1 netmask 0x


How can I debug this connection? Is there any tools I can use to see
what's going on?

One thing to mention, if I set pppoe1 to UP, it stays 'UP' for approx
1 minute then goes down. Does this log anywhere?


Thanks in advance.



Re: spamd db size

2008-10-06 Thread Jean-Gérard Pailloncy
 berkeley db files appear larger than they are: it uses sparse files.
 Check with ls -S or du for the actual blocks used.
# du -k spamd
131120  spamd

That is a little to much, is'nt it ?

Cordialement,
Jean-Girard Pailloncy



Re: weird wscons behavior

2008-10-06 Thread James Hartley
On Mon, Oct 6, 2008 at 6:31 AM, Jesus Sanchez [EMAIL PROTECTED] wrote:
 I have not experience sending bugs with sendbug, so
 to make sure I'm not doing anything wrong, It should
 take so much time to appear on the query list??

Unless you have the sendmail(8) mail agent configured to send/receive
mail external to the system, sendbug(1) will not be able to forward
your problem report as expected.  More information on configuration
can be found in the afterboot(8) manpage.

However, you can alternatively copy  paste the template created by
sendbug(8) to whatever mail agent is configured,  use it.



Re: spamd db size

2008-10-06 Thread Otto Moerbeek
On Mon, Oct 06, 2008 at 08:40:54PM +0200, Jean-G?rard Pailloncy wrote:

  berkeley db files appear larger than they are: it uses sparse files.
  Check with ls -S or du for the actual blocks used.
 # du -k spamd
 131120  spamd
 
 That is a little to much, is'nt it ?

Yes, it is pretty big. No idea how that came to be.

-Otto



amd64 over 4g of ram

2008-10-06 Thread Benjamin Adams
I saw that the change for seeing 8G of RAM has been taken out off the change
list.  Is there a way I can re-enable this with a kernel rebuild?

Thanks
Ben



Re: How to debug PPPOE(4)?

2008-10-06 Thread Dominik Meister
Hi

gm_sjo [Mon, Oct 06, 2008 at 07:07:35PM +0100]:
 How can I debug this connection? Is there any tools I can use to see
 what's going on?

Try the 'debug' flag of ifconfig (8). AFAIR it logs to
/var/log/messages.

i.e.:

# cat /etc/hostname.pppoe1
inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev fxp2 authproto pap debug
authname 'xxx' authkey 'xxx' up
!/sbin/route add default 0.0.0.1

br,
Dominik

--
Dominik Meister
My public GnuPG key is available at http://www.meisternet.ch/gpg.txt

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: amd64 over 4g of ram

2008-10-06 Thread Paul de Weerd
On Mon, Oct 06, 2008 at 02:58:43PM -0400, Benjamin Adams wrote:
| I saw that the change for seeing 8G of RAM has been taken out off the change
| list.  Is there a way I can re-enable this with a kernel rebuild?

Yes.

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/amd64/amd64/machdep.c

Remember that it was disabled for a (probably very good) reason..

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: amd64 over 4g of ram

2008-10-06 Thread Chris Kuethe
you can use config to edit the binary kernel.

go ahead and run it, there may be problems but they're not gonna get
fixed unless people test and submit bug reports. i'm running this at
home with good results but maybe i'm just lucky or have just the right
sort of hardware.

On Mon, Oct 6, 2008 at 12:17 PM, Paul de Weerd [EMAIL PROTECTED] wrote:
 On Mon, Oct 06, 2008 at 02:58:43PM -0400, Benjamin Adams wrote:
 | I saw that the change for seeing 8G of RAM has been taken out off the change
 | list.  Is there a way I can re-enable this with a kernel rebuild?

 Yes.

 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/amd64/amd64/machdep.c

 Remember that it was disabled for a (probably very good) reason..

 Cheers,

 Paul 'WEiRD' de Weerd

 --
[++-]+++.+++[---].+++[+
 +++-].++[-]+.--.[-]
 http://www.weirdnet.nl/





-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: How to debug PPPOE(4)?

2008-10-06 Thread gm_sjo
2008/10/6 Dominik Meister [EMAIL PROTECTED]:
 Try the 'debug' flag of ifconfig (8). AFAIR it logs to
 /var/log/messages.


Thanks for that. Bizarrely it appeared to start working when I enabled
debug, however I believe it is purely coincidence - most likely to do
with me changing auth type from pap to chap before restarting the
network. As they say, only change one thing at a time!!!

All working, thanks!



Re: amd64 over 4g of ram

2008-10-06 Thread Benjamin Adams
Can you say how you turned it on.  I haven't changed configs in openbsd
kernel. (only have done two kernel rebuilds for RAID things)
Want to see this in 4.5 so would like to help or will it be active in
current?
Thanks
Ben

On Mon, Oct 6, 2008 at 3:44 PM, Chris Kuethe [EMAIL PROTECTED] wrote:

 you can use config to edit the binary kernel.

 go ahead and run it, there may be problems but they're not gonna get
 fixed unless people test and submit bug reports. i'm running this at
 home with good results but maybe i'm just lucky or have just the right
 sort of hardware.

 On Mon, Oct 6, 2008 at 12:17 PM, Paul de Weerd [EMAIL PROTECTED] wrote:
  On Mon, Oct 06, 2008 at 02:58:43PM -0400, Benjamin Adams wrote:
  | I saw that the change for seeing 8G of RAM has been taken out off the
 change
  | list.  Is there a way I can re-enable this with a kernel rebuild?
 
  Yes.
 
  http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/amd64/amd64/machdep.c
 
  Remember that it was disabled for a (probably very good) reason..
 
  Cheers,
 
  Paul 'WEiRD' de Weerd
 
  --
 [++-]+++.+++[---].+++[+
  +++-].++[-]+.--.[-]
  http://www.weirdnet.nl/
 
 



 --
 GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: amd64 over 4g of ram

2008-10-06 Thread Chris Kuethe
the config manpage or FAQ 5.9 will tell you how to run config.

i am not just telling you how to do it, because i'd like to help you
to become more familiar with openbsd documentation - you'll find all
kinds of gems therein.

On Mon, Oct 6, 2008 at 2:15 PM, Benjamin Adams [EMAIL PROTECTED] wrote:
 Can you say how you turned it on.  I haven't changed configs in openbsd
 kernel. (only have done two kernel rebuilds for RAID things)
 Want to see this in 4.5 so would like to help or will it be active in
 current?
 Thanks
 Ben

 On Mon, Oct 6, 2008 at 3:44 PM, Chris Kuethe [EMAIL PROTECTED] wrote:

 you can use config to edit the binary kernel.

 go ahead and run it, there may be problems but they're not gonna get
 fixed unless people test and submit bug reports. i'm running this at
 home with good results but maybe i'm just lucky or have just the right
 sort of hardware.

 On Mon, Oct 6, 2008 at 12:17 PM, Paul de Weerd [EMAIL PROTECTED] wrote:
  On Mon, Oct 06, 2008 at 02:58:43PM -0400, Benjamin Adams wrote:
  | I saw that the change for seeing 8G of RAM has been taken out off the
  change
  | list.  Is there a way I can re-enable this with a kernel rebuild?
 
  Yes.
 
  http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/amd64/amd64/machdep.c
 
  Remember that it was disabled for a (probably very good) reason..
 
  Cheers,
 
  Paul 'WEiRD' de Weerd
 
  --
 [++-]+++.+++[---].+++[+
  +++-].++[-]+.--.[-]
  http://www.weirdnet.nl/
 
 



 --
 GDB has a 'break' feature; why doesn't it have 'fix' too?





-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: cp error message Invalid character in program

2008-10-06 Thread jared r r spiegel
On Sat, Oct 04, 2008 at 03:44:37PM -0600, Jack Woehr wrote:
 Philip Guenther wrote:
 What's the output of
   ktrace rm ccreply.rex
   kdump | egrep -A1 -B2 'execv|errno'
   
 You answered it.

 Look here:

 16524 rm   CALL  open(0xcfbd1e60,0,0)
 16524 rm   NAMI  /opt/ooRexx/bin/rexx.cat 

 Hmm ...

  might've saved you time by trying literally

$ /bin/cp file file.bak

  after having received the 'Invalid character in program' message
  when doing

$ cp file file.bak

  as far as 'wtf is going on with cp(1)', maybe would've hinted at
  you are executing something other than /bin/cp earlier in the game.

-- 

  jared



Re: Bug in timezone has moved to GMT -3 to GMT -2

2008-10-06 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun 05 Oct, 2008, at 19:12:22 -0300, Stuart Henderson wrote:

 Will we be in the presence of a generalized bug in the definition of
 the zone?

 No, you're in the presence of a government that doesn't realise how
 much disruption they're causing by not just picking a date and
 sticking with it. Crazy.

 Are used common definitions in all these operating systems?

 Yes, ftp://elsie.nci.nih.gov/pub/

Ok. But really the change, that yet not official, would be the third
Sunday of October and not the first. The definitions of Elsie are
consistent with this. But for some reason, in OpenBSD and other
operating systems, the date of change went ahead.

Regards,
Daniel
iEYEARECAAYFAkjqwgoACgkQZpa/GxTmHTfxbACfdvJRmsFp091uUjGH2Ejvj+z4
4b4AnjDDiF9Le375/Kkr5MBIYde9GWpY
=hVzZ
-END PGP SIGNATURE-



Re: Bug in timezone has moved to GMT -3 to GMT -2

2008-10-06 Thread Theo de Raadt
  Will we be in the presence of a generalized bug in the definition of
  the zone?
 
  No, you're in the presence of a government that doesn't realise how
  much disruption they're causing by not just picking a date and
  sticking with it. Crazy.
 
  Are used common definitions in all these operating systems?
 
  Yes, ftp://elsie.nci.nih.gov/pub/
 
 Ok. But really the change, that yet not official, would be the third
 Sunday of October and not the first. The definitions of Elsie are
 consistent with this. But for some reason, in OpenBSD and other
 operating systems, the date of change went ahead.

Here's how it works.

Stupid government people say they will do something.  The database
gets updated in anticipatipn.  The stupid government changes their
mind again, but operating systems have already shipped with the database.

What are we to do?  You could revolt against it locally, and put the
blame where it is.  We can't do a thing about it.

We could simply stop updating the database.  Would that make you
accuse us less?  Or do you want to get involved and become the one
who predicts what the stupid governments will do?



Re: cp error message Invalid character in program

2008-10-06 Thread Jack Woehr

jared r r spiegel wrote:

$ cp file file.bak

  as far as 'wtf is going on with cp(1)', maybe would've hinted at
  you are executing something other than /bin/cp earlier in the game.

  
Wasn't executing something other than. Was getting NLS error messages 
for OBSD
commands from the Object Rexx message file. Very silly. Working too 
hard, starting

to ask foolish questions on the list! My apologies.

--
Jack J. Woehr# Self-delusion is
http://www.well.com/~jax #  half the battle!
http://www.softwoehr.com #  - Zippy the Pinhead



Via EPIA PX10000G-based audio VT1708a not detected

2008-10-06 Thread Eric Mertens
Hello,

I've installed OpenBSD-CURRENT on my VIA EPIA PX1G motherboard.
Everything seems supported expect that the VT1708A HD audio codec is
not detected in the dmesg or pcidump. Would anyone be interested in
the output of these or other commands? Is this hardware too rare to
matter?

Thanks,

-- 
Eric Mertens



Re: spamd db size

2008-10-06 Thread Ludwig Mises
On Mon, Oct 6, 2008 at 11:49 AM, Jean-Girard Pailloncy [EMAIL PROTECTED] 
wrote:

 # ls -l /var/db/spamd
 -rw---  1 _spamd  _spamd  167657472 Oct  6 19:45 /var/db/spamd
 # spamdb | wc -l
   16784

Try this for size:

$ ls -l /var/db/spamd
-rw-r--r--  1 _spamd  _spamd  324124672 Oct  6 21:44 /var/db/spamd
$ spamdb | wc -l
  103511
$ du -k /var/db/spamd
278704  /var/db/spamd

Ludwig