Re: List of old forked or frozen code like apache that needs cleanup?
On 4/06/2009, at 9:56 AM, Chris Bennett wrote: [chop] I'm very motivated to help out. I'm very eager to do something useful when I have free time, which comes in big bunches together. I don't need something glamorous or sexy. I know very well that I am like the little kid among the grown-ups, as it were! So it would be very helpful for people like me who aren't programming gods to have someone take us by the hand and tell us what we should do to help! I see lots of stuff digging around that I don't understand and I don't even know if it's good stuff or just leftover legacy stuff that I should ignore. Chris Bennett [chop] The last time this was discussed ... kernel janitors. http://marc.info/?l=openbsd-miscm=119377638131216w=2 Lots of stuff in that thread; including many of the developers.
acpivideo kills display on/off switch for compaq nc6000
hi, until the recent additions to acpi it worked, now even when i close the lid, the lights are still on and it seems there is no way i can have the display powered off (except for disabling acpivideo in the kernel). btw the display.brightness didn't show up... i'll provide acpidump'ed stuff to any one interested... dmesg: OpenBSD 4.5-current (GENERIC) #0: Thu Jun 4 10:35:51 EEST 2009 cy...@openbox:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel 686-class) 1.70 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 536244224 (511MB) avail mem = 510169088 (486MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.3 @ 0xfa1ee (31 entries) bios0: vendor Hewlett-Packard version 68BDD Ver. F.15 date 08/30/2006 bios0: Hewlett-Packard HP Compaq nc6000 (DJ256A#ABB) apm at bios0 function 0x15 not configured acpi0 at bios0: rev 0 acpi0: tables DSDT FACP SSDT acpi0: wakeup devices C056(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 1 (C045) acpiprt1 at acpi0: bus 2 (C056) acpiprt2 at acpi0: bus 0 (C044) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, FVS, 1600, 1400, 1200, 1000, 800, 600 MHz acpipwrres0 at acpi0: C16D acpipwrres1 at acpi0: C13D acpipwrres2 at acpi0: C184 acpipwrres3 at acpi0: C18B acpipwrres4 at acpi0: C195 acpipwrres5 at acpi0: C0E6 acpipwrres6 at acpi0: C20B acpipwrres7 at acpi0: C20C acpipwrres8 at acpi0: C20D acpipwrres9 at acpi0: C20E acpitz0 at acpi0: critical temperature 103 degC acpitz1 at acpi0: critical temperature 115 degC acpitz2 at acpi0: critical temperature 103 degC acpibat0 at acpi0: C137 model Primary serial 07280 2004/04/16 type LIon oem Hewlett-Packard acpibat1 at acpi0: C136 not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: C139 acpibtn1 at acpi0: C138 acpivideo0 at acpi0: C0CF acpivout0 at acpivideo0: C0DB acpivout1 at acpivideo0: C0DC acpivout2 at acpivideo0: C0DD acpivout3 at acpivideo0: C0DE bios0: ROM list: 0xc/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xb000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 10 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 10 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 10 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 10 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83 pci2 at ppb1 bus 2 ath0 at pci2 dev 4 function 0 Atheros AR5212 rev 0x01: irq 11 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR0W, address 00:0b:cd:5b:e0:32 cbb0 at pci2 dev 6 function 0 O2 Micro OZ711E0 CardBus rev 0x00: irq 10 cbb1 at pci2 dev 6 function 1 O2 Micro OZ711E0 CardBus rev 0x00: irq 10 O2 Micro OZ711Mx Misc rev 0x00 at pci2 dev 6 function 2 not configured cbb2 at pci2 dev 6 function 3 O2 Micro OZ711E0 CardBus rev 0x00: irq 10 bge0 at pci2 dev 14 function 0 Broadcom BCM5705M Alt rev 0x03, BCM5705 A3 (0x3003): irq 11, address 00:14:38:1b:a7:61 brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0x20 pcmcia1 at cardslot1 cardslot2 at cbb2 slot 2 flags 0 cardbus2 at cardslot2: bus 5 device 0 cacheline 0x0, lattimer 0x20 pcmcia2 at cardslot2 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD2500BEVE-00WZT0 wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TOSHIBA, DVD-ROM SD-R2512, 1A04 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB
Re: List of old forked or frozen code like apache that needs cleanup?
Richard Toohey wrote: [chop] The last time this was discussed ... kernel janitors. http://marc.info/?l=openbsd-miscm=119377638131216w=2 Lots of stuff in that thread; including many of the developers. That's a good (and long :) ) thread to read. I just got accused on another thread about meta packages of being mean- spirited by not wanting to make it easy for people to have simple to install super packages, but I think its best to learn by having it a little harder. So, I , in part, agree with the developer's who are frustrated with wasting their time training people who just vanish away without producing anything. I run a construction business, I train many people, they spend my money and time. Learn skills. Then they quit. It sucks. I could quit being a contractor. No more sucky loss of time and effort! But, I like being self-employed. It sucks. Its cool. Its my choice. I get it. I have to find something that needs to be done, do it, get laughed at, try to fix it, get laughed at, lather, rinse repeat. But I also saw the suggestion to read books, well there are mountains of books and some of them are very good, but many of them are absolute crap. I sure can't afford to buy five garbage books on code that cost $49.95. My library system doesn't have much even with interlibrary loans. The developers all already know how to code well, us newbies who are self-taught could use something that you might find difficult to provide since you don't really need it anymore: Which books have appropriate information for OpenBSD? How about opening a few new or old books and listing a few good ones. I'd like to know a few good ones on C and the make process. Chris Bennett -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. -- Robert Heinlein
Re: OpenBSD as a storage SAN
On Wed, Jun 03, 2009 at 02:12:36PM -0600, Chris Kuethe wrote: On Wed, Jun 3, 2009 at 2:02 PM, Lars Nooden lars.cura...@gmail.com wrote: OpenAFS is part of the base distro. no it isn't. and it's for i386 only. K.Andri Braselmann -- O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Re: List of old forked or frozen code like apache that needs cleanup?
On 4/06/2009, at 8:13 PM, Chris Bennett wrote: Richard Toohey wrote: [chop] The last time this was discussed ... kernel janitors. http://marc.info/?l=openbsd-miscm=119377638131216w=2 Lots of stuff in that thread; including many of the developers. That's a good (and long :) ) thread to read. [chop] But I also saw the suggestion to read books, well there are mountains of books and some of them are very good, but many of them are absolute crap. I sure can't afford to buy five garbage books on code that cost $49.95. My library system doesn't have much even with interlibrary loans. The developers all already know how to code well, us newbies who are self-taught could use something that you might find difficult to provide since you don't really need it anymore: Which books have appropriate information for OpenBSD? How about opening a few new or old books and listing a few good ones. I'd like to know a few good ones on C and the make process. [chop] You're going to get flamed for not searching the archives ... http://marc.info/?l=openbsd-miscm=114616081523335w=2 http://marc.info/?l=openbsd-miscm=115151960721770w=2 http://marc.info/?l=openbsd-miscm=114440292916005w=2 ... or the OpenBSD site ... http://www.openbsd.org/books.html Good luck ... my main problem is TIME - there's always a million other things to do! (So I appreciate the developers even more for giving their time and efforts.)
Re: pf scrub error on upgrade to snapshot-1
Thanks. It seems tho' that I might be trying to revert even further... right now I've frozen up twice using the May 31 snapshot and the current install45.iso died on upgrade... Dhu On Wed, 3 Jun 2009 22:51:40 -0700 James Records james.reco...@gmail.com wrote: the new match keyword is what your looking for: http://www.openbsd.org/faq/current.html#20090406 J On Wed, Jun 3, 2009 at 10:36 PM, Duncan Patton a Campbell campb...@neotext.ca wrote: Howdy List? I just upgraded to the snapshot-1 because the current, June 3, goes into an error on encountering a scsi raid. So I dropped back to the May 31 and now pf doesn't like the scrub syntax.. pfctl -f pf.conf pf.conf:63: syntax error pfctl: Syntax error in config file: pf rules not loaded on scrub in all or scrub in on ext_if_vr0 all as line 63. If commented out, everything seems (so far) to work as before. Following is the dmesg for this machine. Thanks, Dhu OpenBSD 4.5-current (GENERIC.MP) #18: Sun May 31 10:35:36 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3.04 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,EST,CNXT-ID,CX16,xTPR real mem = 2146988032 (2047MB) avail mem = 2067677184 (1971MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/04/06, BIOS32 rev. 0 @ 0xfb180, SMBIOS rev. 2.3 @ 0xf0100 (39 entries) bios0: vendor Award Software International, Inc. version F10 date 01/04/2006 bios0: Gigabyte Technology Co., Ltd. 8I945P-G acpi0 at bios0: rev 0 acpi0: tables DSDT FACP MCFG APIC acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) HUB0(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE(S1) AC97(S5) MC97(S5) AZAL(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3.02 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,EST,CNXT-ID,CX16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX0) acpiprt2 at acpi0: bus -1 (PEX1) acpiprt3 at acpi0: bus 3 (PEX2) acpiprt4 at acpi0: bus -1 (PEX3) acpiprt5 at acpi0: bus -1 (PEX4) acpiprt6 at acpi0: bus -1 (PEX5) acpiprt7 at acpi0: bus 4 (HUB0) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0xd000 0xd/0x5800 cpu0: Enhanced SpeedStep disabled by BIOS pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x81 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 2 int 16 (irq 7) azalia0: RIRB time out azalia0: codecs: Realtek ALC882 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 2 int 16 (irq 7) pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 vendor PLX, unknown product 0x8111 rev 0x21 pci2 at ppb1 bus 2 ohci0 at pci2 dev 0 function 0 NEC USB rev 0x43: apic 2 int 16 (irq 7), version 1.0 ohci1 at pci2 dev 0 function 1 NEC USB rev 0x43: apic 2 int 17 (irq 4), version 1.0 ehci0 at pci2 dev 0 function 2 NEC USB rev 0x04: apic 2 int 18 (irq 5) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 NEC OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01: apic 2 int 18 (irq 5) pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 Broadcom BCM5789 rev 0x11, BCM5750 B1 (0x4101): apic 2 int 18 (irq 5), address 00:14:85:15:50:b5 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2 int 23 (irq 3) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2 int 18 (irq 5) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2 int 16 (irq 7) ehci1 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2 int 23 (irq 3) usb3 at ehci1: USB revision 2.0 uhub3 at usb3 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1 pci4 at ppb3 bus 4 ahc0 at pci4 dev 0 function 0 Adaptec AHA-2940U2 U2 rev 0x00: apic 2 int 20 (irq 11) scsibus0 at ahc0: 16
Re: PF performance problem
On Wed, Jun 03, 2009 at 10:07:33PM -0700, patrick keshishian wrote: On Wed, Jun 3, 2009 at 3:50 AM, Richard Toohey richardtoo...@paradise.net.nz wrote: On 3/06/2009, at 10:02 PM, BARDOU Pierre wrote: Hello, I have performance issues on a OpenBSD 4.4 firewall. CPU load is OK (always below 50%), but system load is always between 1 and 1.5, it may go up to 2 sometimes. [cut] And what is the actual *problem*? What is pf failing to do? Or are you just worried about the numbers? B Search the archives for high load ... just for the record, i have seen a server where its typical load floats around 0.10 or so, but then something will happen and the plateau will get bumped to 1.10 and remain there. this was an 4.5 system. I have not identified what event caused this. I've seen similar issue with a couple of linux boxes at work where the load avg plateau will keep rising: it'll hover around ~3, then say ~6 then ~13. i don't think the issues are related, but could be caused by similar bugs in kernel. All systems continue to be responsive and it only seems that the reported load avg value is just bumped by a base value. It is definitely odd. Load on linux and load on BSD are two completely different things. On linux I recall load being the number of processes running or blocking, or something based on that. On BSD, load is the number of processes which have (wanted to) run at least once in the most recent 5-second window, with a degradation over time. So, if you have a process that wakes up every 5 seconds and prints the time on your console, you have a load average of 1. Load is not the number of cpu cycles used. A high load is just that: high. It means you have a lot of processes that sometimes run. High load does not mean your performance is going down or whatever: I ran a test today which generated a load of 200, but only used 10% of the cpu and was very responsive. You can't compare load on linux with load on bsd, I'd really appreciate if people stopped comparing apples and oranges. :P If you are interested in the internals of the system: load is the black magic that keeps the scheduling fair compared to the number of processes. Ciao, -- Ariane
Re: List of old forked or frozen code like apache that needs cleanup?
On Thu, Jun 04, 2009 at 03:13:24AM -0500, Chris Bennett wrote: The developers all already know how to code well, us newbies who are self-taught could use something that you might find difficult to provide since you don't really need it anymore: Which books have appropriate information for OpenBSD? How about opening a few new or old books and listing a few good ones. I'd like to know a few good ones on C and the make process. Check the links on the front page. You say you've read the other tread. Now start learning from it. -Otto
chown
I am trying to use chown -R to selectively change permissions on files. A series of files are contained in many folders under the root data folder. No files are stored in the data folder itself. Running chown -R user:group /data/*.dat run from /data generates an error indicating no files match. If I move a .dat file into /data the ownership changes in that folder but not those below. chown -R user:group /data/* works as expected Is there a way to selectively change files recursively ? Thanks Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1l Y2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lB HRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/cre ativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p 3=mailtagline
Re: chown
On 00:52, Thu 04 Jun 09, Steve wrote: I am trying to use chown -R to selectively change permissions on files. A series of files are contained in many folders under the root data folder. No files are stored in the data folder itself. Running chown -R user:group /data/*.dat run from /data generates an error indicating no files match. If I move a .dat file into /data the ownership changes in that folder but not those below. chown -R user:group /data/* works as expected Is there a way to selectively change files recursively ? Thanks find /data -name '*.dat' -exec chown user:group {} \; -- Michiel van Baak mich...@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer aficionados are both called users?
Re: chown
On Thu, Jun 4, 2009 at 08:52, Steve fivering...@yahoo.com.au wrote: I am trying to use chown -R to selectively change permissions on files. A series of files are contained in many folders under the root data folder. No files are stored in the data folder itself. Running chown -R user:group /data/*.dat run from /data generates an error indicating no files match. If I move a .dat file into /data the ownership changes in that folder but not those below. chown -R user:group /data/* works as expected Is there a way to selectively change files recursively ? Use find to select the files and pipe the output to xargs: find . -name ... -print0 | xargs -0 -- chown ... -- ach
Re: chown
On Thu, Jun 4, 2009 at 3:52 AM, Steve fivering...@yahoo.com.au wrote: I am trying to use chown -R to selectively change permissions on files. A series of files are contained in many folders under the root data folder. No files are stored in the data folder itself. Running chown -R user:group /data/*.dat This command will attempt to descend through directories named *.dat. Since there are no such directories (unixspeak for 'folder'), no descent occurs. run from /data generates an error indicating no files match. If I move a .dat file into /data the ownership changes in that folder but not those below. Correct behavior. chown -R user:group /data/* works as expected Is there a way to selectively change files recursively ? something with find(1). Try find /data -name *.dat -exec chown user:group {} \; But understand it first. Understand the quoting. man find. Dave -- Caution, this account is hosted by gmail. Strangers scan the content of all mail transiting such accounts.
Re: chown
On Thu, Jun 4, 2009 at 9:52 AM, Steve fivering...@yahoo.com.au wrote: ... Is there a way to selectively change files recursively ? ... xargs(1) -- Jacek Artymiak http://devGuide.net OpenBSD Command-Line Companion http://devguide.net/books/obclc1 Building Firewalls with OpenBSD and PF http://devguide.net/books/bfwoap3
Re: chown
Steve wrote: I am trying to use chown -R to selectively change permissions on files. ... chown -R user:group /data/*.dat Possibly: find /data/ -name '*.dat' -exec chown -R user:group {} \; However, verify before running random scripts from folks you find on the net.
Re: chown
find /data -type f -name *.dat | xargs chown user:group Cheers, Andreas 2009/6/4 Steve fivering...@yahoo.com.au: I am trying to use chown -R to selectively change permissions on files. A series of files are contained in many folders under the root data folder. No files are stored in the data folder itself. Running chown -R user:group /data/*.dat run from /data generates an error indicating no files match. If I move a .dat file into /data the ownership changes in that folder but not those below. chown -R user:group /data/* works as expected Is there a way to selectively change files recursively ? Thanks Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1l Y2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lB HRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/cre ativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p 3=mailtagline -- Andreas Kahari Somewhere in the general Cambridge area, UK
Re: acpivideo kills display on/off switch for compaq nc6000
On Thu, Jun 04, 2009 at 10:48:35AM +0300, Denis Doroshenko wrote: hi, until the recent additions to acpi it worked, now even when i close the lid, the lights are still on and it seems there is no way i can have the display powered off (except for disabling acpivideo in the kernel). btw the display.brightness didn't show up... i'll provide acpidump'ed stuff to any one interested... that would be pretty interesting, not necessarily for the acpivideo, but it seems you have 9 (nine) power resources, that beats zombie! So just mail it to me or put it up somewhere. I'm sorry but i'm just working at output switching now, so until it's ready maybe you should disable acpivideo. Don't know why it breaks your stuff though.
Re: chown
On Thu, Jun 4, 2009 at 5:13 AM, Woodchuck mar...@pennswoods.net wrote: On Thu, Jun 4, 2009 at 3:52 AM, Steve fivering...@yahoo.com.au wrote: something with find(1). Try find /data -name *.dat -exec chown user:group {} \; But understand it first. Understand the quoting. man find. Dave I should add that this and related solutions have the desired property of doing what you say you want to do -- change the ownership of certain files named *.dat -- but they do not change the ownership of the various directories in the tree. So to anticipate the next post, Now the new owners can't read/delete/get-a-ls the .dat files!!, you may need to change the permissions on the directories. How to do that is left as an exercise, hint man find (-type d) and man chmod. Dave -- Caution, this account is hosted by gmail. Strangers scan the content of all mail transiting such accounts.
Re: List of old forked or frozen code like apache that needs cleanup?
Hi I have been following this tread very closely because I also would like to contribute some how to the project but don't know from where to start. Chris: maybe we can start a group (google or yahoo) and get together all the new people who have the time and the insterest of learning and helping. We can help each others and find easy tasks to contribute to OpenBSD. What do you think? The Sauce On Thu, Jun 04, 2009 at 03:13:24AM -0500, Chris Bennett wrote: Richard Toohey wrote: [chop] The last time this was discussed ... kernel janitors. http://marc.info/?l=openbsd-miscm=119377638131216w=2 Lots of stuff in that thread; including many of the developers. That's a good (and long :) ) thread to read. I just got accused on another thread about meta packages of being mean- spirited by not wanting to make it easy for people to have simple to install super packages, but I think its best to learn by having it a little harder. So, I , in part, agree with the developer's who are frustrated with wasting their time training people who just vanish away without producing anything. I run a construction business, I train many people, they spend my money and time. Learn skills. Then they quit. It sucks. I could quit being a contractor. No more sucky loss of time and effort! But, I like being self-employed. It sucks. Its cool. Its my choice. I get it. I have to find something that needs to be done, do it, get laughed at, try to fix it, get laughed at, lather, rinse repeat. But I also saw the suggestion to read books, well there are mountains of books and some of them are very good, but many of them are absolute crap. I sure can't afford to buy five garbage books on code that cost $49.95. My library system doesn't have much even with interlibrary loans. The developers all already know how to code well, us newbies who are self-taught could use something that you might find difficult to provide since you don't really need it anymore: Which books have appropriate information for OpenBSD? How about opening a few new or old books and listing a few good ones. I'd like to know a few good ones on C and the make process. Chris Bennett -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. -- Robert Heinlein
Re: active ftp over IPv6 to OpenBSD's ftpd not working
On Tue, May 26, 2009 at 08:50:32PM +, Stuart Henderson wrote: On 2009-05-25, Maurice Janssen maur...@z74.net wrote: I have an FTP-server (running OpenBSD 4.5-stable) that is only reachable over IPv6. Passive FTP works fine, but active FTP doesn't seem to work. I run ftpd from rc.conf.local (-DAS6), not through inetd. This fixes it, but I'm not sure whether it's correct. I noticed it's commited to -current, thanks. Any chance this will be commited to 4.4-stable and 4.5-stable? Seems to me it can be applied to those without any problem. Maurice
Re: PF/Carp/Pfsync
I think i have figured it out, the pfctl -vsi checksums are identical, everything works if I load filter rules via include(include /etc/pf.filter ) , but when filter rules are loaded into anchor ( load anchor shape from /etc/pf.filter) ,then after sync the ongoing traffic wont hit right queue (new traffic will) , i think that for some reason the filter rules inside anchors dont get synced correctly. Is this really bug, or i have overlooked something? On T, 2009-06-02 at 19:52 +0200, Henning Brauer wrote: * Georg Kahest ge...@viatel.ee [2009-06-02 10:01]: The rules look identical to me at the moment, but i will doublecheck them, one thing thou i dont have same interface names at both boxes, that is your problem. checksum in pfctl -vsi must be identical. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam -- Georg Kahest ge...@viatel.ee ProGroup Holding
Re: List of old forked or frozen code like apache that needs cleanup?
On Thu, Jun 04, 2009 at 07:26:58AM -0400, Alfredo Perez wrote: I have been following this tread very closely because I also No, because if you had been, you'd have already been pointed to the plethora of examples of if you want to contribute, here's how that have been provided. What people seem to be asking for is being spoonfed. That's not learning; learning takes doing, which builds experience, which is then applied to solve problems. If you're carefully walked through difficulties, what are you going to do when your guide isn't there? If you want to learn OpenBSD, read OpenBSD. In this case, the machine *is* the manual, if you're willing to invest some time.
Re: PF performance problem
On Wed, Jun 03, 2009 at 10:07:33PM -0700, patrick keshishian wrote: On Wed, Jun 3, 2009 at 3:50 AM, Richard Toohey richardtoo...@paradise.net.nz wrote: On 3/06/2009, at 10:02 PM, BARDOU Pierre wrote: Hello, I have performance issues on a OpenBSD 4.4 firewall. CPU load is OK (always below 50%), but system load is always between 1 and 1.5, it may go up to 2 sometimes. [cut] And what is the actual *problem*? What is pf failing to do? Or are you just worried about the numbers? B Search the archives for high load ... just for the record, i have seen a server where its typical load floats around 0.10 or so, but then something will happen and the plateau will get bumped to 1.10 and remain there. this was an 4.5 system. A sudden, significant, permanent change in load merely says that something happened that may be interesting. It doesn't tell you anything about what happened or if it's even a problem. I have not identified what event caused this. I've seen similar issue with a couple of linux boxes at work where the load avg plateau will keep rising: it'll hover around ~3, then say ~6 then ~13. i don't think the issues are related, but could be caused by similar bugs in kernel. I've seen this too over the years on *BSD and Linux or a variety of machines. Usually a few minutes with top(1), systat(1), et al will show you what's going on. Until you find out there's not much to do. A change in load is like getting a billing statement with Important: changes to your account printed on the envelope. You can run around waving the envelope asking what changed, or you can look inside and find out. All systems continue to be responsive and it only seems that the reported load avg value is just bumped by a base value. It is definitely odd. So it's not a problem... yet. It may never be a problem. Or it could be. Open the envelope and spend a few minutes reading the contents. ;-) -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: List of old forked or frozen code like apache that needs cleanup?
an extensive, complete and well maintained list: $ grep -RH FIXME /usr/src/; -- DISCLAIMER: http://goldmark.org/jeff/stupid-disclaimers/ This message will self-destruct in 3 seconds.
Re: pf scrub error on upgrade to snapshot-1
http://www.openbsd.org/faq/current.html#20090406 On 2009-06-04, Duncan Patton a Campbell campb...@neotext.ca wrote: Howdy List? I just upgraded to the snapshot-1 because the current, June 3, goes into an error on encountering a scsi raid. So I dropped back to the May 31 and now pf doesn't like the scrub syntax.. pfctl -f pf.conf pf.conf:63: syntax error pfctl: Syntax error in config file: pf rules not loaded on scrub in all or scrub in on ext_if_vr0 all as line 63. If commented out, everything seems (so far) to work as before. Following is the dmesg for this machine. Thanks, Dhu OpenBSD 4.5-current (GENERIC.MP) #18: Sun May 31 10:35:36 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3.04 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,EST,CNXT-ID,CX16,xTPR real mem = 2146988032 (2047MB) avail mem = 2067677184 (1971MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/04/06, BIOS32 rev. 0 @ 0xfb180, SMBIOS rev. 2.3 @ 0xf0100 (39 entries) bios0: vendor Award Software International, Inc. version F10 date 01/04/2006 bios0: Gigabyte Technology Co., Ltd. 8I945P-G acpi0 at bios0: rev 0 acpi0: tables DSDT FACP MCFG APIC acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) HUB0(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE(S1) AC97(S5) MC97(S5) AZAL(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3.02 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,EST,CNXT-ID,CX16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX0) acpiprt2 at acpi0: bus -1 (PEX1) acpiprt3 at acpi0: bus 3 (PEX2) acpiprt4 at acpi0: bus -1 (PEX3) acpiprt5 at acpi0: bus -1 (PEX4) acpiprt6 at acpi0: bus -1 (PEX5) acpiprt7 at acpi0: bus 4 (HUB0) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0xd000 0xd/0x5800 cpu0: Enhanced SpeedStep disabled by BIOS pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x81 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 2 int 16 (irq 7) azalia0: RIRB time out azalia0: codecs: Realtek ALC882 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 2 int 16 (irq 7) pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 vendor PLX, unknown product 0x8111 rev 0x21 pci2 at ppb1 bus 2 ohci0 at pci2 dev 0 function 0 NEC USB rev 0x43: apic 2 int 16 (irq 7), version 1.0 ohci1 at pci2 dev 0 function 1 NEC USB rev 0x43: apic 2 int 17 (irq 4), version 1.0 ehci0 at pci2 dev 0 function 2 NEC USB rev 0x04: apic 2 int 18 (irq 5) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 NEC OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01: apic 2 int 18 (irq 5) pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 Broadcom BCM5789 rev 0x11, BCM5750 B1 (0x4101): apic 2 int 18 (irq 5), address 00:14:85:15:50:b5 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2 int 23 (irq 3) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2 int 18 (irq 5) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2 int 16 (irq 7) ehci1 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2 int 23 (irq 3) usb3 at ehci1: USB revision 2.0 uhub3 at usb3 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1 pci4 at ppb3 bus 4 ahc0 at pci4 dev 0 function 0 Adaptec AHA-2940U2 U2 rev 0x00: apic 2 int 20 (irq 11) scsibus0 at ahc0: 16 targets, initiator 7 sd0 at scsibus0 targ 0 lun 0: FUJITSU, MAN3184MP, 0108 SCSI3 0/direct fixed sd0: 17522MB, 512 bytes/sec, 35885448 sec total vr0 at pci4 dev 1 function 0 VIA VT6105 RhineIII rev 0x86: apic 2 int 19 (irq 10), address 00:15:e9:87:4a:38 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 0x004063, model 0x0034 vga1 at pci4 dev 2 function 0 ATI Radeon 9200 PRO rev 0x01 wsdisplay0 at vga1 mux 1:
Re: PF/Carp/Pfsync
On Thu, Jun 4, 2009 at 5:49 AM, Georg Kahest ge...@viatel.ee wrote: I think i have figured it out, the pfctl -vsi checksums are identical, everything works if I load filter rules via include(include /etc/pf.filter ) , but when filter rules are loaded into B anchor ( load anchor shape from /etc/pf.filter) B ,then B after sync the ongoing traffic wont hit right queue (new traffic will) , i think that for some reason the filter rules inside anchors dont get synced correctly. this is interesting. It may help if I pointed out that on macppc platform if I have any anchor (with rules or none), pflogd stops logging. I can't reproduce this on i386 (4.3 and 4.5). I noticed this a few month back. I believe this has been the case with snapshots pre and post 4.5, but I'm not 100%; my memory isn't that good. My current macppc is running -current from April. I haven't had a lul in my schedule to do another snapshot install before reporting it. --patrick Is this really bug, or i have overlooked something? On T, 2009-06-02 at 19:52 +0200, Henning Brauer wrote: * Georg Kahest ge...@viatel.ee [2009-06-02 10:01]: The rules look identical to me at the moment, but i will doublecheck them, one thing thou i dont have same interface names at both boxes, that is your problem. checksum in pfctl -vsi must be identical. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam -- Georg Kahest ge...@viatel.ee ProGroup Holding
Re: chown
Hi, No it was just the files that needed to be changed. Thanks all for the great feedback --- On Thu, 4/6/09, Woodchuck mar...@pennswoods.net wrote: From: Woodchuck mar...@pennswoods.net Subject: Re: chown To: Steve fivering...@yahoo.com.au Cc: misc@openbsd.org Received: Thursday, 4 June, 2009, 7:43 PM On Thu, Jun 4, 2009 at 5:13 AM, Woodchuck mar...@pennswoods.net wrote: On Thu, Jun 4, 2009 at 3:52 AM, Steve fivering...@yahoo.com.au wrote: something with find(1). Try find /data -name *.dat -exec chown user:group {} \; But understand it first. Understand the quoting. man find. Dave I should add that this and related solutions have the desired property of doing what you say you want to do -- change the ownership of certain files named *.dat -- but they do not change the ownership of the various directories in the tree. So to anticipate the next post, Now the new owners can't read/delete/get-a-ls the .dat files!!, you may need to change the permissions on the directories. How to do that is left as an exercise, hint man find (-type d) and man chmod. Dave -- Caution, this account is hosted by gmail. Strangers scan the content of all mail transiting such accounts. Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1l Y2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lB HRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/cre ativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p 3=mailtagline
Re: PF performance problem
On Thu, Jun 4, 2009 at 1:48 AM, Ariane van der Steldt ari...@stack.nl wrote: On Wed, Jun 03, 2009 at 10:07:33PM -0700, patrick keshishian wrote: On Wed, Jun 3, 2009 at 3:50 AM, Richard Toohey richardtoo...@paradise.net.nz wrote: On 3/06/2009, at 10:02 PM, BARDOU Pierre wrote: Hello, I have performance issues on a OpenBSD 4.4 firewall. CPU load is OK (always below 50%), but system load is always between 1 and 1.5, it may go up to 2 sometimes. [cut] And what is the actual *problem*? What is pf failing to do? Or are you just worried about the numbers? B Search the archives for high load ... just for the record, i have seen a server where its typical load floats around 0.10 or so, but then something will happen and the plateau will get bumped to 1.10 and remain there. this was an 4.5 system. I have not identified what event caused this. I've seen similar issue with a couple of linux boxes at work where the load avg plateau will keep rising: it'll hover around ~3, then say ~6 then ~13. i don't think the issues are related, but could be caused by similar bugs in kernel. All systems continue to be responsive and it only seems that the reported load avg value is just bumped by a base value. It is definitely odd. Load on linux and load on BSD are two completely different things. On linux I recall load being the number of processes running or blocking, or something based on that. Did you even read what I wrote? If so, did you understand what I said? Because I fail to see how the information you provide or your criticism of my post is at all relevant to my post. On BSD, load is the number of processes which have (wanted to) run at least once in the most recent 5-second window, with a degradation over time. So, if you have a process that wakes up every 5 seconds and prints the time on your console, you have a load average of 1. Load is not the number of cpu cycles used. Oh, really? A process running every 5 seconds and printing will cause a load average of 1? Did you even try this yourself before sending your email? Thu Jun 4 08:29:53 PDT 2009 going to sleep 5 and run uptime 8:29AM up 12:36, 2 users, load averages: 0.27, 0.40, 0.37 Thu Jun 4 08:29:58 PDT 2009 going to sleep 5 and run uptime 8:30AM up 12:36, 2 users, load averages: 0.25, 0.39, 0.37 Thu Jun 4 08:30:03 PDT 2009 going to sleep 5 and run uptime 8:30AM up 12:37, 2 users, load averages: 0.23, 0.39, 0.37 ... Thu Jun 4 08:31:54 PDT 2009 going to sleep 5 and run uptime 8:31AM up 12:38, 2 users, load averages: 0.25, 0.33, 0.35 Thu Jun 4 08:31:59 PDT 2009 going to sleep 5 and run uptime 8:32AM up 12:38, 2 users, load averages: 0.31, 0.35, 0.35 Thu Jun 4 08:32:04 PDT 2009 going to sleep 5 and run uptime 8:32AM up 12:39, 2 users, load averages: 0.36, 0.36, 0.35 Thu Jun 4 08:32:09 PDT 2009 going to sleep 5 and run uptime ... Thu Jun 4 08:36:11 PDT 2009 going to sleep 5 and run uptime 8:36AM up 12:43, 2 users, load averages: 0.48, 0.61, 0.48 Thu Jun 4 08:36:16 PDT 2009 going to sleep 5 and run uptime 8:36AM up 12:43, 2 users, load averages: 0.60, 0.63, 0.49 Thu Jun 4 08:36:21 PDT 2009 going to sleep 5 and run uptime 8:36AM up 12:43, 2 users, load averages: 0.55, 0.62, 0.48 ... 8:37AM up 12:44, 2 users, load averages: 0.33, 0.54, 0.46 Thu Jun 4 08:37:31 PDT 2009 going to sleep 5 and run uptime 8:37AM up 12:44, 2 users, load averages: 0.31, 0.53, 0.46 Thu Jun 4 08:37:36 PDT 2009 going to sleep 5 and run uptime 8:37AM up 12:44, 2 users, load averages: 0.28, 0.52, 0.46 Thu Jun 4 08:37:41 PDT 2009 going to sleep 5 and run uptime ... Thu Jun 4 08:39:16 PDT 2009 going to sleep 5 and run uptime 8:39AM up 12:46, 2 users, load averages: 0.22, 0.45, 0.43 Thu Jun 4 08:39:22 PDT 2009 going to sleep 5 and run uptime 8:39AM up 12:46, 2 users, load averages: 0.20, 0.44, 0.43 Thu Jun 4 08:39:27 PDT 2009 going to sleep 5 and run uptime 8:39AM up 12:46, 2 users, load averages: 0.19, 0.44, 0.43 ... Thu Jun 4 08:40:12 PDT 2009 going to sleep 5 and run uptime 8:40AM up 12:47, 2 users, load averages: 0.19, 0.40, 0.41 Thu Jun 4 08:40:17 PDT 2009 going to sleep 5 and run uptime 8:40AM up 12:47, 2 users, load averages: 0.17, 0.40, 0.41 Thu Jun 4 08:40:22 PDT 2009 going to sleep 5 and run uptime 8:40AM up 12:47, 2 users, load averages: 0.16, 0.39, 0.41 ... Thu Jun 4 08:41:02 PDT 2009 going to sleep 5 and run uptime 8:41AM up 12:48, 2 users, load averages: 0.13, 0.35, 0.39 Thu Jun 4 08:41:07 PDT 2009 going to sleep 5 and run uptime 8:41AM up 12:48, 2 users, load averages: 0.12, 0.35, 0.39 ... Thu Jun 4 08:42:57 PDT 2009 going to sleep 5 and run uptime 8:43AM up 12:49, 2 users, load averages: 0.15, 0.30, 0.37 Thu Jun 4 08:43:02 PDT 2009 going to sleep 5 and run uptime 8:43AM up 12:50, 2 users, load averages: 0.14, 0.30, 0.36 Thu Jun 4 08:43:08 PDT 2009 going to sleep 5 and run uptime 8:43AM up 12:50, 2 users, load averages: 0.12, 0.29, 0.36 and that loop is generated with at least two
Re: List of old forked or frozen code like apache that needs cleanup?
an extensive, complete and well maintained list: $ grep -RH FIXME /usr/src/; Actually, FIXME is a GNU idiom which you'll only find in GNU sources. BSD developers use XXX instead.
Re: PF performance problem
On Thu, Jun 4, 2009 at 6:48 AM, Darrin Chandler dwchand...@stilyagin.com wrote: On Wed, Jun 03, 2009 at 10:07:33PM -0700, patrick keshishian wrote: On Wed, Jun 3, 2009 at 3:50 AM, Richard Toohey richardtoo...@paradise.net.nz wrote: On 3/06/2009, at 10:02 PM, BARDOU Pierre wrote: Hello, I have performance issues on a OpenBSD 4.4 firewall. CPU load is OK (always below 50%), but system load is always between 1 and 1.5, it may go up to 2 sometimes. [cut] And what is the actual *problem*? What is pf failing to do? Or are you just worried about the numbers? B Search the archives for high load ... just for the record, i have seen a server where its typical load floats around 0.10 or so, but then something will happen and the plateau will get bumped to 1.10 and remain there. this was an 4.5 system. A sudden, significant, permanent change in load merely says that something happened that may be interesting. It doesn't tell you anything about what happened or if it's even a problem. I have not identified what event caused this. I've seen similar issue with a couple of linux boxes at work where the load avg plateau will keep rising: it'll hover around ~3, then say ~6 then ~13. i don't think the issues are related, but could be caused by similar bugs in kernel. I've seen this too over the years on *BSD and Linux or a variety of machines. Usually a few minutes with top(1), systat(1), et al will show you what's going on. Until you find out there's not much to do. I've only seen it on obsd once after upgrading it to 4.5. The very same box never showed anything like that when running 4.3. I'm monitoring it for another such change. I couldn't find anything interesting using any of the tools you mentioned (top, ps, systat, etc.), nor anything the logs. As for the linux systems, they are actually production systems at a customer site. The two are RH AS 4 boxes. Same exact server hardware configuration with RH ES 5 running same exact version of our code (though compiled for ES 5) doesn't present the same issue. We've chucked it up to a kernel bug in linux that is shipped with that version, also due to some other issues (including a pthread bug) in AS 4 we have dropped support for AS 4 and recommend our customers to upgrade to ES. A change in load is like getting a billing statement with Important: changes to your account printed on the envelope. You can run around waving the envelope asking what changed, or you can look inside and find out. All systems continue to be responsive and it only seems that the reported load avg value is just bumped by a base value. It is definitely odd. So it's not a problem... yet. It may never be a problem. Or it could be. Open the envelope and spend a few minutes reading the contents. ;-) as mentioned, I did best I could with the tools I knew of. Cheers, --patrick -- Darrin Chandler B B B B B B | B Phoenix BSD User Group B | B MetaBUG dwchand...@stilyagin.com B | B http://phxbug.org/ B B B | B http://metabug.org/ http://www.stilyagin.com/ B | B Daemons in the Desert B | B Global BUG Federation
Re: List of old forked or frozen code like apache that needs cleanup?
On Thu, Jun 4, 2009 at 9:10 AM, Miod Vallat m...@online.fr wrote: an extensive, complete and well maintained list: $ grep -RH FIXME /usr/src/; Actually, FIXME is a GNU idiom which you'll only find in GNU sources. BSD developers use XXX instead. kinky.
Re: List of old forked or frozen code like apache that needs cleanup?
2009/6/3 Christiano Farina Haesbaert christiano...@gmail.com: Port driver y from xbsd : We need support for cards blablablabla I think this right here demonstrates how far away you are from where you need to be. If you don't have such hardware, your efforts at supporting it are likely to be crap. If you do have the hardware, you should already know whether it works or not. You believe that the openbsd developers have insider knowledge that makes them better at openbsd development? Then take it from one of those developers: Lists of things to do are the wrong way to improve openbsd. If you think you know better than we do, you don't the list. If you need the list, then you'll have to accept that the kind of list you envision is a bad idea. That's just the way things are. It's not about where you start. It's about starting anywhere. Here, watch, it's this easy: find /usr/src -name *.c | random 1
Re: tpb startup
I'm in digest mode so please forgive if an answer was already given... (and that I had to fake the original message.) jeremych...@gmail.com (Jeremy Chase), 2009.06.03 (Wed) 16:56 (CEST): tpb works just fine on my IBM t42p, but I am having difficulty getting it to start automatically. I am using xdm and xfce and have tried starting it from .xsession and rc.local. When putting it in rc.local, but tpb just exits if there is no X session it can attach to. If I try this with .xsession; tpb will run as a daemon, but the and as user root. buttons don't work. $ cat .xsession /usr/local/bin/tpb -d --thinkpad=/usr/sbin/zzz exec startxfce4 I put this in my ~/.fvwmrc: snip AddToFunc InitFunction + I Exec exec tpb --daemon | logger -t tpb 21 /snip snip AddToFunc RestartFunction + I Exec exec tpb --daemon | logger -t tpb 21 /snip snip AddToFunc ExitFunction + I Exec exec pkill tpb /dev/null 21 /snip works for quite a while already, very seldomly tpb ignores the buttons, but restarting it helps. I have no idea on how this is done in xfce4, sorry. Bye, Max
Re: List of old forked or frozen code like apache that needs cleanup?
patrick keshishian schrieb: You mean something like the bug database? http://www.openbsd.org/query-pr.html select State: Open click Query PRs. You can even customize the list by Category, Class, Severity and Priority. --patrick 6020/kernel is a dup of 5946/kernel, isn't it?
Re: List of old forked or frozen code like apache that needs cleanup?
Mic J michael.cogn...@gmail.com wrote: Also i would like wireshark ;) but thats a contreversial subject. There's nothing controversial about it. You just need to privilege-separate it. -- Christian naddy Weisgerber na...@mips.inka.de
information to send the money
You are invited to information to send the money. By your host Philip Weah: Date: Thursday June 4, 2009 Time: 8:00 pm - 9:00 pm (GMT +00:00) Location: Dearest friend, I have received the cheque from bank three days ago and kept the cheque with Mr Esse John as we discussed. Please mail him immediately to send the cheque to you Iam in Coloumbia now. I kept USD3.5m cashier cheque and will send you the rest of money after my business trip here. I send you so many mails but all bounced back.So mail Mr Esse John below email for him to send the cheque to you: (essej...@sify.com) Thanks and do let me know when you receive it. Philip Weah Send Mr Eze J Will you attend? RSVP to this invitation at: http://calendar.yahoo.com/philipweah2?v=126a1=0iid=2hAkdrtd%4023Y%40FYj-xdWdH%40%402uEuAMrDigid=2hAkdrtd%4023Y%40BYjPxdWeDp%402uUuBMrD Copyright ) 2009 All Rights Reserved www.yahoo.com Privacy Policy: http://privacy.yahoo.com/privacy/us Terms of Service: http://docs.yahoo.com/info/terms/
Re: List of old forked or frozen code like apache that needs cleanup?
2009/6/4 Ted Unangst ted.unan...@gmail.com 2009/6/3 Christiano Farina Haesbaert christiano...@gmail.com: Port driver y from xbsd : We need support for cards blablablabla I think this right here demonstrates how far away you are from where you need to be. If you don't have such hardware, your efforts at supporting it are likely to be crap. If you do have the hardware, you should already know whether it works or not. Maybe a I gave a lame example. You believe that the openbsd developers have insider knowledge that makes them better at openbsd development? Then take it from one of those developers: Lists of things to do are the wrong way to improve openbsd. If you think you know better than we do, you don't the list. No, I believe they do know better than me what needs to be done, and by having a channel for us (newcomers) with these things would simply speed things up, if this is the way it is, as you say, ok, we'll help without the list, take what Henning wrote in the previous email, I will start working on it this weekend and I firmly believe I will know what to do next. Again, if that's the way it is, that's the way we will help, but I truly fail to see how this isn't a win win situation. If you need the list, then you'll have to accept that the kind of list you envision is a bad idea. That's just the way things are. It's not about where you start. It's about starting anywhere. Here, watch, it's this easy: find /usr/src -name *.c | random 1
Re: List of old forked or frozen code like apache that needs cleanup?
On Thu, Jun 04, 2009 at 04:10:04PM +, Miod Vallat wrote: an extensive, complete and well maintained list: $ grep -RH FIXME /usr/src/; Actually, FIXME is a GNU idiom which you'll only find in GNU sources. BSD developers use XXX instead. well i just guessed it... the point was: see the sources. :p -- DISCLAIMER: http://goldmark.org/jeff/stupid-disclaimers/ This message will self-destruct in 3 seconds.
Re: List of old forked or frozen code like apache that needs cleanup?
Please guys, lets stop this. I now regret even asking. It wasn't mean to be as it was taken down that path as what can we do to help, or what's needed, etc I thought the title was clear. My fault and I apologies to have sent this in. What I was really ONLY asking or looking for was an application, or multiple one that STOP being sync with the original because of license issue or what not and that kind of become OpenBSD only and that may have lots of GNU/Windows crap in it like apache had before 2004 and that would definitely benefit from the same idea of cleanup. That was THE ONLY question I had and if there was still such a thing in the tree that I could work with 4 kids in a special computer project at school where I would take it on my own to process the what I would call DEAD CODE REMOVAL just like I did here as an example: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/httpd/src/main/http_protocol.c.diff?r1=1.26;r2=1.27;f=h Anything else or any other direction this tread took was unintentional and I very much apologies for it. It wasn't my intention and I should have know better when I sent it. My fault and I am very, very sorry about it. If there is such a thing, I would love to know, if not, that's fine too, but please lets not make this turn into a joke like it was a few years back. Again, I am very sorry to have open that can of worms, it really wasn't what I had in mind and how I thought I phrase the question, but obviously I was wrong. My deepest apologies for the nose! Daniel
Please treat as urgent..................reply soonest
My name is Michael Shaw and I write you in confidence, to request your assistance in a private matter concerning my father, Emmanuel Shaw, former Director of Lonestar Airways, Liberia and an associate of the embattled former President of Liberia, Charles Taylor. As you may already know, Charles Taylor is held at the International Court of Justice , The Hague for war crimes. By virtue of this, all those who served under him or who were seen to be associated with his government are under a UN sanctioned travel ban with all their assets frozen. My father happens to be one of them. To this effect, he has been unable to access his funds in oversea banks. We have run out of funds in Liberia and must secure funds from elsewhere. Please follow the links below for further info. http://www.un.org/Docs/sc/committees/Liberia3/1532_afl.htm http://www.bankofengland.co.uk/publications/news/2005/066.htm http://en.wikipedia.org/wiki/Emmanuel_Shaw For your information, my father was and is still a very rich man by virtue of his involvement with the ousted Liberian Government. Unfortunately, he is unable to access his funds in oversea banks at this point, due to this embargo. However, he has a substantial amount deposited with a confidential holding firm in Europe . For security purposes, I am keeping the details silent for the time being. Due to the restrictions on him, my father mandated me to find a benefactor who will help us secure the funds so that we can have access to it. I am currently holed up in the Calabar West coast of Africa, in a very low keyed existence until the storm blows over. I have all the requisite documents to enable you receive the funds on our behalf legally. The terms of engagement we will discuss as we make progress. Your mandate will be to act as the liaison person to the holding firm as sole beneficiary to the funds, albeit, on our behalf. Rest assured that you will on no account run foul of the law. Let me know if you are willing to assist, otherwise, destroy this email and pardon me for making contact with you. Best regards, Michael Shaw.
Re: List of old forked or frozen code like apache that needs cleanup?
Daniel Ouellet wrote: My deepest apologies for the nose! I don't mind it. Daniel
Re: List of old forked or frozen code like apache that needs cleanup?
Alexander Hall wrote: Daniel Ouellet wrote: My deepest apologies for the nose! I don't mind it. Men, should have been noise not nose. Fair picking, I deserved it! (;
Re: List of old forked or frozen code like apache that needs cleanup?
Daniel Ouellet wrote: Alexander Hall wrote: Daniel Ouellet wrote: My deepest apologies for the nose! I don't mind it. Men, should have been noise not nose. Fair picking, I deserved it! (; Hey! I did not pick your nose. :-)
Re: List of old forked or frozen code like apache that needs cleanup?
On Thu, Jun 04, 2009 at 04:39:38PM -0600, Alexander Hall wrote: Daniel Ouellet wrote: Alexander Hall wrote: Daniel Ouellet wrote: My deepest apologies for the nose! I don't mind it. Men, should have been noise not nose. Fair picking, I deserved it! (; Hey! I did not pick your nose. :-) Now I don't have to say it. Thank you. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
KNF for usr.bin?
Hey all, I've been planning on doing some hacking on nvi in the tree, but I wanted to play around with style(9) first. Am I correct in assuming that KNF style is preferred for all code in the tree? -- Aaron W. Hsu arcf...@sacrideo.us | http://www.sacrideo.us Government is the great fiction, through which everybody endeavors to live at the expense of everybody else. -- Frederic Bastiat +++ ((lambda (x) (x x)) (lambda (x) (x x))) ++
Re: List of old forked or frozen code like apache that needs cleanup?
Book suggestions here: http://reactor-core.org/programmer-syllabus.html Ted On Thu, Jun 04, 2009 at 03:13:24AM -0500, Chris Bennett wrote: Richard Toohey wrote: [chop] The last time this was discussed ... kernel janitors. http://marc.info/?l=openbsd-miscm=119377638131216w=2 Lots of stuff in that thread; including many of the developers. That's a good (and long :) ) thread to read. I just got accused on another thread about meta packages of being mean- spirited by not wanting to make it easy for people to have simple to install super packages, but I think its best to learn by having it a little harder. So, I , in part, agree with the developer's who are frustrated with wasting their time training people who just vanish away without producing anything. I run a construction business, I train many people, they spend my money and time. Learn skills. Then they quit. It sucks. I could quit being a contractor. No more sucky loss of time and effort! But, I like being self-employed. It sucks. Its cool. Its my choice. I get it. I have to find something that needs to be done, do it, get laughed at, try to fix it, get laughed at, lather, rinse repeat. But I also saw the suggestion to read books, well there are mountains of books and some of them are very good, but many of them are absolute crap. I sure can't afford to buy five garbage books on code that cost $49.95. My library system doesn't have much even with interlibrary loans. The developers all already know how to code well, us newbies who are self-taught could use something that you might find difficult to provide since you don't really need it anymore: Which books have appropriate information for OpenBSD? How about opening a few new or old books and listing a few good ones. I'd like to know a few good ones on C and the make process. Chris Bennett -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. -- Robert Heinlein -- There's a party in your skull. And you're invited! Name:Ted Walther Phone: 604-755-7732 Skype: tederific Email: t...@reactor-core.org Address: 1755 246 St, LANGLEY BC V2Z1G4
Re: KNF for usr.bin?
Aaron W. Hsu wrote: Hey all, I've been planning on doing some hacking on nvi in the tree, but I wanted to play around with style(9) first. Am I correct in assuming that KNF style is preferred for all code in the tree? yes, but... when you see developers doing KNF commits, they aren't doing it as the end goal, they are doing it as part of I'm looking over this code for any possible error I can find...oh, there's a KNF error, might as well fix that while I'm here. The idea of following style(9) is to help make reading the code easier, and that's the goal: to have the code READ. Not to be ABLE to read the code some day, but to make sure that the code was actively and carefully read and checked. Changing the whitespace in the source code doesn't improve OpenBSD. Reading the code is what makes the improvement. If all you are doing is a mechanical KNFing, please don't. If you aren't finding OTHER errors while reading code, just keep reading, not changing. (Devs: feel free to jump all over me if I'm wrong here, working on an article in the FAQ along these lines... :) Nick.
Re: KNF for usr.bin?
Hey Nick, Thanks for your feedback. From n...@holland-consulting.net Thu Jun 4 23:58:12 2009 when you see developers doing KNF commits, they aren't doing it as the end goal, [...] Changing the whitespace in the source code doesn't improve OpenBSD. Reading the code is what makes the improvement. If all you are doing is a mechanical KNFing, please don't. If you aren't finding OTHER errors while reading code, just keep reading, not changing. Thanks, and yes, this is advice that I have seen before. Actually, I don't want to do a mechanical KNFing, but I intend to do some work on nvi(1) and I want to familiarize myself with the code and afterwards make some changes to it. [That is, if my free time lasts.] As a part of this, I figured that I'd go ahead and KNF things while I was learning the code, and then add in my changes. I'm not so filled with free time that I would just go around KNFing things for the fun of it. ;-) If this isn't the way to go, please, do let me know. -- Aaron W. Hsu arcf...@sacrideo.us | http://www.sacrideo.us Government is the great fiction, through which everybody endeavors to live at the expense of everybody else. -- Frederic Bastiat +++ ((lambda (x) (x x)) (lambda (x) (x x))) ++