[no subject]
Gentile Cliente, da questo momento h disponibile on-line l'estratto conto mensile riferito al codice del rapporto 01002-33047891: potr` consultarlo, stamparlo e salvarlo sul suo PC per creare un suo archivio personalizzato. Le ricordiamo che ogni estratto conto rimane in linea fino al terzo mese successivo all'emissione. Grazie ancora per aver scelto i servizi on-line di BCC. I migliori saluti. Servizio Clienti BCC [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of Movimenti Disposizioni - Servizi Clienti.574DEFANGED-html]
problem with make build on 4.6
Hi, I am trying to make build from the latest 4.6 sources. During the compilation proces i encounter the following error: make -f Makefile.old clean /dev/null 21 ../../../miniperl -I../../../lib -I../../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.so.11.0 Warning: prerequisite Fcntl 0 not found. Warning: prerequisite POSIX 0 not found. Warning: prerequisite Socket 0 not found. Writing Makefile for Sys::Syslog == Your Makefile has been rebuilt. == == Please rerun the make command. == false *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl/obj/ext/Sys/Syslog (line 884 of Makefile). *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl/obj (line 655 of makefile). *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl (line 80 of /usr/src/gnu/usr.bin/perl/Makefile.bsd-wrapper). *** Error code 1 Stop in /usr/src/gnu/usr.bin (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src/gnu (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 73 of Makefile). What might be the problem? All best, mjb
Re: PowerEdge 850 for a small office firewall
On Tue, Jan 26, 2010 at 04:38:08PM -0800, mehma sarja wrote: I am running an embedded 533 MHz with 256 MB memory and it is woefully inadequate for an office setting. Even for a home setting which wants stuff like snort running as well. I would WAG atleast a 2 GB memory and the Atoms max out at that...? If the firewall will be doing other stuff like snort, vpn, dns, dhcp, nat, (I am talking pfSense here), then 2 GB is rather short and I'd like to see a beefier CPU as well. So, the question really is what all are you going to be doing with it? Is it still woefully inadequate if snort, vpn, and DNS are moved off the firewall? I ask because running DNS on the firewall has given me the heebie jeebies for years. And I have dim memories of a few security exploits for snort. -- Chris Dukes
Re: PowerEdge 850 for a small office firewall
On Wed, 27 Jan 2010 07:54 -0500, Chris Dukes pak...@pr.neotoma.org wrote: On Tue, Jan 26, 2010 at 04:38:08PM -0800, mehma sarja wrote: I am running an embedded 533 MHz with 256 MB memory and it is woefully inadequate for an office setting. Even for a home setting which wants stuff like snort running as well. I would WAG atleast a 2 GB memory and the Atoms max out at that...? If the firewall will be doing other stuff like snort, vpn, dns, dhcp, nat, (I am talking pfSense here), then 2 GB is rather short and I'd like to see a beefier CPU as well. So, the question really is what all are you going to be doing with it? Is it still woefully inadequate if snort, vpn, and DNS are moved off the firewall? On a busy interface, Snort can use a good deal of CPU consistently: load averages: 0.50, 0.31, 0.24 08:09:25 33 processes: 31 idle, 2 on processor CPU0 states: 4.4% user, 0.0% nice, 0.2% system, 8.8% interrupt, 86.6% idle CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU2 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU3 states: 11.8% user, 0.0% nice, 0.0% system, 0.0% interrupt, 88.2% idle Memory: Real: 180M/542M act/tot Free: 2819M Swap: 0K/518M used/tot PID USERNAME PRI NICE SIZE RES STATE WAIT TIMECPU COMMAND 16499 _snort310 171M 158M onproc/1 -24.9H 16.89% snort 5502 root 20 1116K 2080K sleep/1 select0:51 0.00% sendmail 16446 _pflogd40 636K 444K sleep/0 bpf 0:06 0.00% pflogd I ask because running DNS on the firewall has given me the heebie jeebies for years. And I have dim memories of a few security exploits for snort. -- Chris Dukes
Re: fsck segfault on a big partition, 4.6
On Tue, 26 Jan 2010 19:10:47 -0600 (CST), L. V. Lammert l...@omnitec.net wrote: On Wed, 27 Jan 2010, Rob Sheldon wrote: Don't know if this is related to a problem I had on a machine recently, .. however I found that if I hung the 'bad' drive on ANOTHER machine, the fsck ran just fine! To be honest, I'm not sure how I'd set that up without a ton of effort. The 6TB are done through multiple drives (raid 6) through an Areca raid controller; without having an identical machine to swap the hardware into, I don't think I could pull that off. Even if I did have an identical system to do that with, I doubt it would gain me anything in this case. Thanks for the tip though. :-) - R. -- [__ Robert Sheldon [__ Founder, No Problem [__ Information technology support and services [__ Software and web design and development [__ (530) 575-0278 [__ You must be the change you wish to see in the world. -- Mahatma Gandhi
Re: fsck segfault on a big partition, 4.6
On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek o...@drijf.net wrote: On Wed, Jan 27, 2010 at 12:38:47AM +, Rob Sheldon wrote: Hi, Therse days, amd64 is the only platform that increases the limit (MAXDSIZE) to 8G. Though you venture into untested territory, we (myself at least) just do not have the hardware to test anything beyond 2T. OK. I just went back and looked at the order sheet for this thing, and it looks like it shipped with enough RAM to require amd64, so it should be (had better be!) running that kernel. I'd like to help, if at all possible. I should be able to get on-site with the client for at least a couple of hours today, and I can probably draw this out for a few days before I have to get the server back on-line. I can provide a dmesg and any other system specs without too much trouble -- is there any way to help track down the exact source of the segfault? The SEGVs may be related to not having swap. Running OpenBSD in overcommitted state is not what you want. What do you mean by overcommitted state -- not enough resources? The only thing this machine is supposed to do is run backuppc, which is just rsync with some Perl scripts. The old backup server was doing the same job with less resources for quite a while. The old server did have a swap partition, but as near as I could tell it was rarely used. ...In fact, I just logged in to the old server; it has an 8G swap partition, and top says it's not using any of it. So here's something I don't understand then: in the generic kernel, will fsck allocate more than 1G if swap is available, or is it still limited to just 1G? There's no dmesg attached because I'm not on-site with the server at the moment, and because AFAICT this is a known problem. A pity, since it does matter what platform you run on. fsck needing a lot of memory is indeed a known problem, but the SEGVs are not. You might want to check if they still occur when you have enough swap. OK. I'll get that info to you, and anything else you need (that I can handle), and I'll futz around with it and see if I can cable in a spare drive for swap. - R. -- [__ Robert Sheldon [__ Founder, No Problem [__ Information technology support and services [__ Software and web design and development [__ (530) 575-0278 [__ You must be the change you wish to see in the world. -- Mahatma Gandhi
Re: fsck segfault on a big partition, 4.6
On Wed, Jan 27, 2010 at 02:06:20PM +, Rob Sheldon wrote: On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek o...@drijf.net wrote: On Wed, Jan 27, 2010 at 12:38:47AM +, Rob Sheldon wrote: Hi, Therse days, amd64 is the only platform that increases the limit (MAXDSIZE) to 8G. Though you venture into untested territory, we (myself at least) just do not have the hardware to test anything beyond 2T. OK. I just went back and looked at the order sheet for this thing, and it looks like it shipped with enough RAM to require amd64, so it should be (had better be!) running that kernel. I'd like to help, if at all possible. I should be able to get on-site with the client for at least a couple of hours today, and I can probably draw this out for a few days before I have to get the server back on-line. I can provide a dmesg and any other system specs without too much trouble -- is there any way to help track down the exact source of the segfault? The SEGVs may be related to not having swap. Running OpenBSD in overcommitted state is not what you want. What do you mean by overcommitted state -- not enough resources? The only thing this machine is supposed to do is run backuppc, which is just rsync with some Perl scripts. The old backup server was doing the same job with less resources for quite a while. The old server did have a swap partition, but as near as I could tell it was rarely used. ...In fact, I just logged in to the old server; it has an 8G swap partition, and top says it's not using any of it. The point is that fsck_ffs need loads of memory. So here's something I don't understand then: in the generic kernel, will fsck allocate more than 1G if swap is available, or is it still limited to just 1G? Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per process. What happens if more memory is allocated than the available swap is that the kernel will kill random processes to free swap. That might be what is going on in your case. Also, in some cases a lack of physical memory might kill processes. -Otto There's no dmesg attached because I'm not on-site with the server at the moment, and because AFAICT this is a known problem. A pity, since it does matter what platform you run on. fsck needing a lot of memory is indeed a known problem, but the SEGVs are not. You might want to check if they still occur when you have enough swap. OK. I'll get that info to you, and anything else you need (that I can handle), and I'll futz around with it and see if I can cable in a spare drive for swap. - R. -- [__ Robert Sheldon [__ Founder, No Problem [__ Information technology support and services [__ Software and web design and development [__ (530) 575-0278 [__ You must be the change you wish to see in the world. -- Mahatma Gandhi
Popusti i do 62% samo do 10. februara
Iskoristite do 10. februara - Dole kilogrami! Samo u ovoj akciji E!tedite i do neverovatnih -62%! B; smrE!ajte jednostavno, bez truda - imamo prava reE!enja B; uE!tedite pri kupovini i dostavi hit proizvoda za dijetu i lepotu B; PodseDamo - super cene i uslovi joE! 14 dana, do 10.2.2010. B; za prvih 20 poklon: BMI metar za praDenje rezultata Opredelite se za zdraviji naD in Eivota, lepE!i i vitkiji - NARUDITE odmah! B; Ovu elektronsku poE!tu primate, ukoliko ste svojevoljno ostavili svoju e-mail adresu na nekom od sajtova Top Shop-a, uD estvovali u naE!oj poklon igri ili nagradnom kvizu ili se prijavili za e-D asopis Top Shop-a ili nekog od nasih brendova. Ponude date u ovom e-mailu vaEe iskljuD ivo za porudEbine upuDene putem Interneta ili broja telefona 021 489 26 60. Ponude vaEe do 10. 02. 2010. ili do isteka zaliha. Isporuku vrE!imo samo u Srbiji. Ukoliko ne Eelite viE!e da primate naE!e elektronske poruke, za odjavljivanje sa naE!e e-mailing liste, , kliknite ovde. U obrazac na internet stranici upiE!ite svoju taD nu e-mail adresu i odjavu potvrdite. Studio Moderna d.o.o., Bulevar vojvode Stepe 30, 21000 Novi Sad, Tel: 021 489 26 60, Fax: 021 489 29 08, E-mail: i...@news.e-topshop.tv [IMAGE]If you would no longer like to receive our emails please unsubscribe by clicking here.
Re: fsck segfault on a big partition, 4.6
hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per process. What happens if more memory is allocated than the available swap is that the kernel will kill random processes to free swap. That might be what is going on in your case. Also, in some cases a lack of physical memory might kill processes. the kernel will kill random processes? are we talking about linux's OOM here or openbsd? since when is this in openbsd? i seem to recall some debate where openbsd devs found that idea ridiculous. i know i do, and the machine should panic instead of starting shooting down processes. -f -- to get a loan you must prove you don't need it.
Re: fsck segfault on a big partition, 4.6
On Wed, January 27, 2010 9:28 am, Otto Moerbeek wrote: Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per process. What happens if more memory is allocated than the available swap is that the kernel will kill random processes to free swap. That might be what is going on in your case. Also, in some cases a lack of physical memory might kill processes. -Otto Does this mean that amd64 can now handle 4G of RAM, or is that a separate issue? -- Joe Gidi j...@entropicblur.com
Re: Killing Random Processes [was: fsck segfault on a big partition, 4.6]
On Wed, 27 Jan 2010 16:00:32 +0100, frantisek holop min...@obiit.org wrote: hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that the kernel will kill random processes? are we talking about linux's OOM here or openbsd? since when is this in openbsd? i seem to recall some debate where openbsd devs found that idea ridiculous. i know i do, and the machine should panic instead of starting shooting down processes. I remember reading a thread here about killing random processes a long time ago, but I don't recall the results of that. I can't find it (quickly) in the archives. If you (and all) don't mind, if there's going to be any debate about this, I'd like to see it under a different thread instead. - R. -- [__ Robert Sheldon [__ Founder, No Problem [__ Information technology support and services [__ Software and web design and development [__ (530) 575-0278 [__ You must be the change you wish to see in the world. -- Mahatma Gandhi
Re: fsck segfault on a big partition, 4.6
On Wed, Jan 27, 2010 at 10:11:57AM -0500, Joe Gidi wrote: On Wed, January 27, 2010 9:28 am, Otto Moerbeek wrote: Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per process. What happens if more memory is allocated than the available swap is that the kernel will kill random processes to free swap. That might be what is going on in your case. Also, in some cases a lack of physical memory might kill processes. -Otto Does this mean that amd64 can now handle 4G of RAM, or is that a separate issue? virtual mem != physical mem, so that's indeed a different issue. -Otto
Re: fsck segfault on a big partition, 4.6
On Wed, Jan 27, 2010 at 10:00 AM, frantisek holop min...@obiit.org wrote: hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per process. What happens if more memory is allocated than the available swap is that the kernel will kill random processes to free swap. That might be what is going on in your case. Also, in some cases a lack of physical memory might kill processes. the kernel will kill random processes? are we talking about linux's OOM here or openbsd? since when is this in openbsd? i seem to recall some debate where openbsd devs found that idea ridiculous. i know i do, and the machine should panic instead of starting shooting down processes. Some archs will kill processes, some will panic. i386 and amd64 should both panic I believe.
Re: fsck segfault on a big partition, 4.6
frantisek holop wrote: the kernel will kill random processes? are we talking about linux's OOM here or openbsd? since when is this in openbsd? i seem to recall some debate where openbsd devs found that idea ridiculous. i know i do, and the machine should panic instead of starting shooting down processes. -f Am I missing something here? If the OS runs out of (any) memory then there is already a serious problem. In such a case I would prefer that the kernel kills some random applications but protects itself, so that I can login on the console and check what's going on. It might even be possible to make a clean reboot (avoiding a long fsck). A kernel panic is IMHO the worst option. ? Please explain your point of view, or why the devs consider it a bad idea (a quick search on the list didn't show anything). (I understand that in case of kernel development a panic would be useful as it shows information, but I consider the daily usage case) regards, Robert PS: What is the actual situation in OpenBSD? Does it have some OOM killer?
Change root password from shell-script
HI all, ?Is there any way t change the root password using a shell-script (aka non-interactive mod as passwd uses)? I've used pw in FreeBSD and chpasswd in Debian GNU/Linux to do it, bit I've not found a way/command to do it with my OpenBSD boxes. At present my approach will be install except from ports and use it to get my goal. -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain. Bene Gesserit Litany Against Fear.
Re: Change root password from shell-script
On Wed, 27 Jan 2010 17:05:17 +0100 Jordi Espasa Clofent jordi.esp...@opengea.org wrote: HI all, ?Is there any way t change the root password using a shell-script (aka non-interactive mod as passwd uses)? I've used pw in FreeBSD and chpasswd in Debian GNU/Linux to do it, bit I've not found a way/command to do it with my OpenBSD boxes. At present my approach will be install except from ports and use it to get my goal. Have you looked at man usermod? -p flag in particular. -- With best regards, Gregory Edigarov
Re: Announcing: JigglyPuffBSD
On 26 January 2010 c. 02:14:22 Eric wrote: By the way, I like your sig. It's just seen by me on misc@ a long time ago :) -- Best wishes, Vadim Zhukov A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Change root password from shell-script
Have you looked at man usermod? -p flag in particular. Shame on me, indeed. It has been a game: #!/bin/sh PASSWORD=$(echo my_new_password | encrypt -b 6) usermod -p $PASSWORD root Thanks. -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain. Bene Gesserit Litany Against Fear.
Re: Sun Fire x4170
On Tue, Jan 26, 2010 at 11:44:01AM -0500, Bryan Allen wrote: They're solid, and they fly. That's what I hoped to hear. You can pick up RAM cheap from crucial, and get disk sleds from memoryx (541-2123) so you don't have to pay disk markup. This is not an issue. The one I'll have at hand has 4GB RAM, which is more than what is currently supported by the OS. I do not use the SAS RAID card, and couldn't speak its being supported by OpenBSD regardless. (I have a J4200 plugged into the non-RAID SAS card, because ZFS hardware RAID.) Having at least RAID1 hardware would be nice for resilence in case of a disk failure. I won't even touch the ZFS part, I don't want to even accidentally start falmewars! ;) You may find that you'll need to disable some of the em(4) ports so you can get access to the Service Processor. I run OpenBSD on my X2100 M2s and have to disable bge* (via config(8)) so I can get at the SP. Just something to keep in mind when provisioning. Having a few ports on the x4170 is nice for many purposes. LOM is nice too, but I can use a serial console if the box comes with a serial port. Have to check this. thanks a lot Luca
Re: Change root password from shell-script
On Wed, Jan 27, 2010 at 05:48:15PM +0100, Jordi Espasa Clofent wrote: Have you looked at man usermod? -p flag in particular. Shame on me, indeed. It has been a game: #!/bin/sh PASSWORD=$(echo my_new_password | encrypt -b 6) usermod -p $PASSWORD root A little more generic in case there is no usermod -p PASSWORD=$(echo my_new_password | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow
Re: Change root password from shell-script
Paul Branston wrote: A little more generic in case there is no usermod -p PASSWORD=$(echo my_new_password | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow Wow, Question: are you even using OpenBSD? -Bryan.
Re: Announcing: JigglyPuffBSD
http://www.gossipgamers.com/pokemon-redesigned-in-traditional-japanese-style-artwork/
Using Facebook API: URL file-access is disabled in the server configuration
Hello, does anybody please have experience in using Facebook API from OpenBSD with chrooted Apache and the php5 from packages? I'm trying to call theirs $fb-api_client-admin_setAppProperties() but get the error: Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /htdocs/facebook/facebookapi_php5_restlib.php on line 3343 How could I enable that URL file-access temporarily? (I need to run the admin_setAppProperties just once). I've tried changing following lines in php.ini with no success: ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = On ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. allow_url_include = On And I can't run my php-script at the CLI, since Facebook is supposed to HTTP post some info to it. Regards Alex
Re: fsck segfault on a big partition, 4.6
hmm, on Wed, Jan 27, 2010 at 04:35:19PM +0100, Robert said that If the OS runs out of (any) memory then there is already a serious there's plenty of discussion about the virtues/stupidity of the OOM killer approach, including various pardon policies. google for out of fuel linux for amusement. problem. In such a case I would prefer that the kernel kills some random applications but protects itself, so that I can login on the console and check what's going on. It might even be possible to make riiight. and how pray if that random process happens to be the ssh daemon or some other process supporting your infrastructure? if a process is out of control, i'd rather have the system complain loudly and angrily. i am not keen on seeing mysterious missing processes, user/customer complaints because of untraceable failures of transactions, tasks, jobs, whatever. -f -- fish and guests smell in three days.
Re: Change root password from shell-script
On Wed, Jan 27, 2010 at 05:14:51PM +, Paul Branston wrote: On Wed, Jan 27, 2010 at 05:48:15PM +0100, Jordi Espasa Clofent wrote: Have you looked at man usermod? -p flag in particular. Shame on me, indeed. It has been a game: #!/bin/sh PASSWORD=$(echo my_new_password | encrypt -b 6) usermod -p $PASSWORD root A little more generic in case there is no usermod -p PASSWORD=$(echo my_new_password | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow Breaks on AIX :-). Breaks with NIS and LDAP as well :-). I've always had the pipe dream of there being a chpasswd(8) on *BSD like there is on current AIX and Linux distros. But usually there isn't that much headache using something like usermod. -- Chris Dukes
Alternatives to Wireshark.
Hi there, I've always used wireshark for packet sniffing, it solved most of my needs. First of all, I'm not questioning the why of not having a port, I've read the previous posts (I really don't care why, don't start a discussion). My main need is debugging DNS packets (mDNS), and reading raw tcpdump output isn't very easy, I need to really debug the protocol, so something that could show me field names and values would be cool. Right now I'm using tcpdump and accounting stuff like: ok this is the id, so the next 2 bytes is the query type and so on... (this isn't working :-D). I understand I could make some script to interpret the values, but I'm sure you guys already though of something better. Thanks.
Re: Using Facebook API: URL file-access is disabled in the server configuration
Tried adding 66.220.146.15 api.facebook.com to /var/www/etc/hosts as well...
Re: fsck segfault on a big partition, 4.6
On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek o...@drijf.net wrote: On Wed, Jan 27, 2010 at 12:38:47AM +, Rob Sheldon wrote: There's no dmesg attached because I'm not on-site with the server at the moment, and because AFAICT this is a known problem. A pity, since it does matter what platform you run on. fsck needing a lot of memory is indeed a known problem, but the SEGVs are not. You might want to check if they still occur when you have enough swap. OK, I was able to visit for a few minutes today, enough to get the machine answering ssh again. First, disklabel so you know what it actually has: $ sudo disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: Transcend 4GB flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 488 total sectors: 7843840 rpm: 3600 interleave: 1 boundstart: 63 boundend: 7839720 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 7839657 63 4.2BSD 2048 163841 # / c: 78438400 unused $ sudo disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: ARC-1220-VOL#00 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 729458 total sectors: 11718749184 rpm: 1 interleave: 1 boundstart: 63 boundend: 3128808178 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 11718749121 63 4.2BSD 2048 163841 c: 117187491840 unused ...and the dmesg... $ dmesg OpenBSD 4.6 (GENERIC.MP) #81: Thu Jul 9 21:26:19 MDT 2009 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3486973952 (3325MB) avail mem = 3370655744 (3214MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xcfedf000 (39 entries) bios0: vendor Phoenix Technologies LTD version 1.2a date 12/19/2008 bios0: Supermicro X7SB4/E acpi0 at bios0: rev 2 acpi0: tables DSDT FACP _MAR MCFG APIC BOOT SPCR ERST HEST BERT EINJ SLIC SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices PXHA(S5) PXHB(S5) PEX_(S5) LAN_(S5) USB4(S5) USB5(S5) USB7(S5) ESB2(S5) EXP1(S5) EXP5(S5) EXP6(S5) USB1(S5) USB2(S5) USB3(S5) USB6(S5) ESB1(S5) PCIB(S5) KBC0(S1) MSE0(S1) COM1(S5) COM2(S5) PWRB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Pentium(R) Dual-Core CPU E5200 @ 2.50GHz, 2494.07 MHz cpu0: FPU,VME,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,TM2,CX16,xTPR,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Pentium(R) Dual-Core CPU E5200 @ 2.50GHz, 2493.75 MHz cpu1: FPU,VME,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,TM2,CX16,xTPR,NXE,LONG cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0 apid 3 pa 0xfecc, version 20, 24 pins ioapic2 at mainbus0 apid 4 pa 0xfecc0400, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (PXHA) acpiprt2 at acpi0: bus 3 (PXHB) acpiprt3 at acpi0: bus 4 (PEX_) acpiprt4 at acpi0: bus 7 (EXP1) acpiprt5 at acpi0: bus 13 (EXP5) acpiprt6 at acpi0: bus 15 (EXP6) acpiprt7 at acpi0: bus 17 (PCIB) acpicpu0 at acpi0: C3, PSS acpicpu1 at acpi0: C3, PSS acpibtn0 at acpi0: PWRB acpivideo0 at acpi0: IGD0 ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 2493 MHz: speeds: 2500, 2400, 2000, 1600, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01 ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 2 int 16 (irq 5) pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci2 at ppb1 bus 2 Intel IOxAPIC rev 0x09 at pci1 dev 0 function 1 not configured ppb2 at pci1 dev 0 function 2 Intel PCIE-PCIE rev 0x09 pci3 at ppb2 bus 3 Intel IOxAPIC rev 0x09 at pci1 dev 0 function 3 not configured ppb3 at pci0 dev 6 function 0 Intel 3210 PCIE rev 0x01: apic 2 int 16 (irq 5) pci4 at ppb3 bus 4 ppb4 at pci4 dev 0 function 0 Intel IOP333 PCIE-PCIX rev 0x00 pci5 at ppb4 bus 5 arc0 at pci5 dev 14 function 0 Areca ARC-1220 rev 0x00: apic 2 int 18 (irq 11) arc0: 8 ports, 256MB SDRAM, firmware V1.46 2009-01-06 scsibus0 at arc0: 16 targets sd0 at scsibus0 targ 0 lun 0: Areca, ARC-1220-VOL#00, R001 SCSI3 0/direct fixed sd0: 5722045MB, 512 bytes/sec, 11718749184 sec total ppb5 at pci4 dev 0 function 2 Intel IOP333 PCIE-PCIX rev 0x00 pci6 at ppb5 bus 6 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 2 int 16 (irq 5) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 2 int 17 (irq 10) uhci2 at pci0 dev 26 function
Re: Alternatives to Wireshark.
I like ettercap for that. On Wed, Jan 27, 2010 at 12:23 PM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: Hi there, I've always used wireshark for packet sniffing, it solved most of my needs. First of all, I'm not questioning the why of not having a port, I've read the previous posts (I really don't care why, don't start a discussion). My main need is debugging DNS packets (mDNS), and reading raw tcpdump output isn't very easy, I need to really debug the protocol, so something that could show me field names and values would be cool. Right now I'm using tcpdump and accounting stuff like: ok this is the id, so the next 2 bytes is the query type and so on... (this isn't working :-D). I understand I could make some script to interpret the values, but I'm sure you guys already though of something better. Thanks.
Re: fsck segfault on a big partition, 4.6
On Wed, 27 Jan 2010 22:06:19 +0100, Otto Moerbeek o...@drijf.net wrote: No, currently the amount of physical memory an amd64 can address is limited. Well, F___. :-( The rule here then is, if you've got a partition bigger than 1TB, you *must* have swap? - R. -- [__ Robert Sheldon [__ Founder, No Problem [__ Information technology support and services [__ Software and web design and development [__ (530) 575-0278 [__ You must be the change you wish to see in the world. -- Mahatma Gandhi
Re: Alternatives to Wireshark.
On 2010-01-27, Christiano F. Haesbaert haesba...@haesbaert.org wrote: My main need is debugging DNS packets (mDNS), and reading raw tcpdump output isn't very easy, I need to really debug the protocol, so something that could show me field names and values would be cool. Right now I'm using tcpdump and accounting stuff like: ok this is the id, so the next 2 bytes is the query type and so on... (this isn't working :-D). tcpdump already handles mDNS, it shouldn't be too hard to extend and add what you're missing...
Re: Sed and GNU-like
On 2010-01-27, ropers rop...@gmail.com wrote: Or maybe FreeBSD uses GNU sed -- I haven't checked.) nope, that's GNU sort that they use (ya rly). they use BSD sed.
Re: Postgresql and Memory Usage
On Wed, Jan 27, 2010 at 02:13:45PM -0700, Jeff Ross wrote: I have searched (and searched) so I wonder if I'm running into the i386 1GB limit I see referenced, as in the thread today about fsck on larger partitions. Yes you do. Also, kernel memory is limited, insane shm value will probably (havn't looked at the code) have bad effects.
Re: File system
On Wed, 27 Jan 2010, Yamidt Henao wrote: Hi, somebody know how I can change the mount available in me file system? # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/wd0a 159M 70.5M 80.4M47%/ /dev/wd0f 11.6M130K 10.9M 1%/home /dev/wd0d 19.3M 12.0K 18.3M 0%/tmp /dev/wd0g 632M632M -31.6M 105%/usr /dev/wd0e 2.3G641M1.6G28%/var man fstab
Re: fsck segfault on a big partition, 4.6
On Wed, 27 Jan 2010 20:43 +, Rob Sheldon r...@associatedtechs.com wrote: [snip] softraid0 at root root on sd1a swap on sd1b dump on sd1b ...that's odd, it's showing swap (and dump) on sd1b, but there's no such thing: $ sudo df /dev/sd1b df: /dev/sd1b: Device not configured ...maybe it really doesn't like running without swap? It's there. disklabel -vh sd1 and you'll see b is swap. Try swapctl as well... also dmesg | grep swap: root on sd1a swap on sd1b dump on sd1b Oh wait, it's showing only 3G of memory installed. I just physically checked the machine, and it has 4 full banks of 2G each. amd64 should be able to address that, right? I think you would need a bigmem enabled kernel. That could certainly explain why fsck is unhappy. Thanks, - R. -- [__ Robert Sheldon [__ Founder, No Problem [__ Information technology support and services [__ Software and web design and development [__ (530) 575-0278 [__ You must be the change you wish to see in the world. -- Mahatma Gandhi
Re: fsck segfault on a big partition, 4.6
On 2010-01-27, Rob Sheldon r...@associatedtechs.com wrote: The longer version: this is a backup server running backuppc for a corporate client (large enough number of workstations) that does research work (some really big files). I _thought_ I had read the big filesystem FAQ carefully, but somehow missed that fsck simply couldn't handle anything over 1TB without doing funny things during the fs setup. The default is to create an inode for each 8192 bytes of data space. They aren't especially funny things; if you have a fairly large filesystem with files most people would now call medium or larger, you'll probably be rather surprised at the difference in fsck time if you lower the inode density a bit... If it's not essential data I don't think I'd waste time tryings to fsck it. Force a read-only mount and copy any backuppc config you need off first, disklabel, allocate some swap, consider splitting into smaller chunks, and newfs with more appropriate settings, you'll still have the main OS install on the other partitions. Or, indeed, use a different OS if you prefer.
Re: fsck segfault on a big partition, 4.6
Whoops... re-reading, I see that I missed your disklabel output... sorry. On Wed, 27 Jan 2010 17:25 -0500, Brad Tilley b...@16systems.com wrote: On Wed, 27 Jan 2010 20:43 +, Rob Sheldon r...@associatedtechs.com wrote: [snip] softraid0 at root root on sd1a swap on sd1b dump on sd1b ...that's odd, it's showing swap (and dump) on sd1b, but there's no such thing: $ sudo df /dev/sd1b df: /dev/sd1b: Device not configured ...maybe it really doesn't like running without swap? It's there. disklabel -vh sd1 and you'll see b is swap. Try swapctl as well... also dmesg | grep swap: root on sd1a swap on sd1b dump on sd1b Oh wait, it's showing only 3G of memory installed. I just physically checked the machine, and it has 4 full banks of 2G each. amd64 should be able to address that, right? I think you would need a bigmem enabled kernel. That could certainly explain why fsck is unhappy. Thanks, - R. -- [__ Robert Sheldon [__ Founder, No Problem [__ Information technology support and services [__ Software and web design and development [__ (530) 575-0278 [__ You must be the change you wish to see in the world. -- Mahatma Gandhi
Re: Postgresql and Memory Usage
Tobias Ulmer wrote: On Wed, Jan 27, 2010 at 02:13:45PM -0700, Jeff Ross wrote: I have searched (and searched) so I wonder if I'm running into the i386 1GB limit I see referenced, as in the thread today about fsck on larger partitions. Yes you do. Also, kernel memory is limited, insane shm value will probably (havn't looked at the code) have bad effects. Thanks! By what definition of insane? I'd like to be able to say to the PostgreSQL folks that their sizing model doesn't work on OpenBSD because of x but this is the correct way to size on OpenBSD. Also, I just saw a message from in the same thread referenced above that amd64 is also limited to, if I'm reading between the lines correctly, 3GB physical memory. The postgresql people suggest it is a ulimit problem but I have followed the README.OpenBSD there as well and put the _postgresql user in its own login class with increased openfiles-cur limits. Unfortunately that has not helped. Jeff
Re: File system
I suspect man growfs may be closer to his needs. Hopefully g is at the end of a drive with some space left. On Jan 27, 2010, at 5:11 PM, L. V. Lammert l...@omnitec.net wrote: On Wed, 27 Jan 2010, Yamidt Henao wrote: Hi, somebody know how I can change the mount available in me file system? # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/wd0a 159M 70.5M 80.4M47%/ /dev/wd0f 11.6M130K 10.9M 1%/home /dev/wd0d 19.3M 12.0K 18.3M 0%/tmp /dev/wd0g 632M632M -31.6M 105%/usr /dev/wd0e 2.3G641M1.6G28%/var man fstab
Re: fsck segfault on a big partition, 4.6
On 1/28/10, nixlists nixmli...@gmail.com wrote: Why kill random processes that may not be misbehaving and/or cause a kernel panic when you want to kill the process(es) that leak memory or are hungry in the first place? It's possible to avoid kernel panics in this case IMO, and not kill random processes. aren't you missing the point of original comment made by Otto? consider a situation, when all the processes in the system are behaving, none of them violates their rlimits, but they all together have allocated more memory than the box contains (RAM + swap). so the OS needs to do something. what should it do? should it just panic? or may be losing one process is better than losing them all? then, what are the criteria for choosing processes to be killed?.. wondering if random means the process with PID 1 could be one of them...
Re: fsck segfault on a big partition, 4.6
On Wed, Jan 27, 2010 at 8:14 PM, nixlists nixmli...@gmail.com wrote: On Wed, Jan 27, 2010 at 7:53 PM, Denis Doroshenko denis.doroshe...@gmail.com wrote: aren't you missing the point of original comment made by Otto? consider a situation, when all the processes in the system are behaving, none of them violates their rlimits, but they all together have allocated more memory than the box contains (RAM + swap). The idea is to limit memory such that running out of RAM+swap is not possible, or unlikely. You can set the limit on the allowed number of processes as well. $ ulimit -m 971876 $ dmesg | grep real\ mem real mem = 1039691776 (991MB) So... this box should run only one process? $ ps -auxww|wc 54 7134936 If I were to use the max memory usage of each process, I would need a 53Gig ram machine? -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=30v_g83VHK4
Re: way to help: laptops and weekly
Bofh (Peter Kay) syllopsium () syllopsium ! com suggested System maintenance, IMO, should be invisible to the user unless it requires input. Shutdown is a poor time to run maintenance because it's (probably) run more often when something needs to be done to the machine or the user has to go somewhere in a hurry. I like the ideas of running it say half an hour after startup, You mean right in the middle of an hour-long presentation whose movies don't really play fast enough as it is? Ick. A few days ago I had to give a presentation using a laptop running Windows 95 (my OpenBSD laptop can't seem to do external video output properly, and I've been too busy to track down the problem or file a proper bug report). Every 10-15 minutes during the talk, a window would pop up saying that the system was about to update virus definitions, and giving me 15 seconds or so to click the go away, don't bother me now button. This sort of experience is *not* one that I'd like to repeat under OpenBSD... Some of the /etc/weekly stuff (eg rebuilding locatedb) involves walking all (non-NFS) mounted filesystems, so it really eats disk seek bandwidth, i.e., it makes the machine painfully slow for most other use while it's running. So, only a human can decide when a good quiet time is to run the disk-cruncher. No automatic scheme can avoid being at a bad time occasionally for some users. So, what's needed is a cron with flexible-enough specification semantics (a.k.a. crontab on steroids) so a human can tell cron what the ok-to-run times are. Alas, I am *not* vounteering to write such a program at this time (way too much life happening already), so in the OpenBSD spirit, I hereby forfeit any rights-to-complain-loudly that I might otherwise have had. ciao, -- -- Jonathan Thornburg [remove -animal to reply] jth...@astro.indiana-zebra.edu Dept of Astronomy, Indiana University, Bloomington, Indiana, USA If the triangles made a god, it would have three sides. -- Voltaire
Re: fsck segfault on a big partition, 4.6
Obviously, as any competent sysadmin like nixlists knows, you should restrict all your processes to a max of 20 megs. On Jan 27, 2010, at 9:23 PM, bofh goodb...@gmail.com wrote: On Wed, Jan 27, 2010 at 8:14 PM, nixlists nixmli...@gmail.com wrote: On Wed, Jan 27, 2010 at 7:53 PM, Denis Doroshenko denis.doroshe...@gmail.com wrote: aren't you missing the point of original comment made by Otto? consider a situation, when all the processes in the system are behaving, none of them violates their rlimits, but they all together have allocated more memory than the box contains (RAM + swap). The idea is to limit memory such that running out of RAM+swap is not possible, or unlikely. You can set the limit on the allowed number of processes as well. $ ulimit -m 971876 $ dmesg | grep real\ mem real mem = 1039691776 (991MB) So... this box should run only one process? $ ps -auxww|wc 54 7134936 If I were to use the max memory usage of each process, I would need a 53Gig ram machine? -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=30v_g83VHK4
Re: File system
On Wed, 27 Jan 2010 18:54:31 -0500 Ted Unangst ted.unan...@gmail.com wrote: I suspect man growfs may be closer to his needs. Hopefully g is at the end of a drive with some space left. On Jan 27, 2010, at 5:11 PM, L. V. Lammert l...@omnitec.net wrote: On Wed, 27 Jan 2010, Yamidt Henao wrote: Hi, somebody know how I can change the mount available in me file system? # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/wd0a 159M 70.5M 80.4M47%/ /dev/wd0f 11.6M130K 10.9M 1%/home /dev/wd0d 19.3M 12.0K 18.3M 0%/tmp /dev/wd0g 632M632M -31.6M 105%/usr /dev/wd0e 2.3G641M1.6G28%/var man fstab He's growing something fat in /usr. This content should moved to somewhere in /var, say /var/youser/, and then linked back into /usr with ln -s /var/youser /usr/youser ergo, man mv and man ln have my vote ;-) Dhu
OpenBSD on Wyse C90LE
Dear All, I was wondering if anybody tried to install OpenBSD on Wyle C90LE. http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp We are planning to equip 120 thin clients computer lab with those. I got today one for my office for evaluation purposes and I really liked the toy. It comes with Windows XPe but I almost can feel that it is crying to be reinstalled with OpenBSD. I looked and it does support PXE boot. I have not checked yet if it can boot via USB. Specifications can be found at http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp Cheers, Predrag
Re: OpenBSD on Wyse C90LE
On Thu, Jan 28, 2010 at 01:59:59AM -0500, Predrag Punosevac wrote: | Dear All, | | I was wondering if anybody tried to install OpenBSD on Wyle C90LE. | | http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp | | We are planning to equip 120 thin clients computer lab with those. I got | today one for my office for evaluation purposes and I really liked the | toy. It comes with Windows XPe but I almost can feel that it is crying | to be reinstalled with OpenBSD. I looked and it does support PXE boot. | I have not checked yet if it can boot via USB. Specifications can be | found at | | http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp I've evaluated another model (R50L) at my place of work somewhere last year. As our main question was 'can it drive 2x 30 monitors' and the default Linux install was both a pain to use and configure and didn't properly support 2x 30, I quickly installed OpenBSD (yes, from USB, worked flawlessly), fired up X with the two monitors attached, and it came up in all its 5120x1600 glory (this model had ATI graphics so was no problem to get running). So, I'm not sure if the C90LE will work for you, the moral of the story is to just give it a shot. And if it doesn't, and this is important to you, at least the R50L works great so you could consider switching to that model. Cheers, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/