Re: installing OpenBSD 4.9 to external USB harddisk: Disk does not boot

2011-08-08 Thread ropers
 Now that this topic has come up on the lists, I am just wondering are there
 some non-externally powered usb drives that OpenBSD can boot from? Would be
 helpful to run and test -current on external drive, and have the release
 version on internal drive.

Just to be clear, I for one didn't previously say that *all* USB
drives with external power supplies had settling in problems. I don't
think that is the case. I'm pretty confident there are
externally-powered usb drives out there that will work without
settling in -- though I have to admit I just don't know how
prevalent the issue real is. I only know that *some* drives and
adapters have these problems. I own a USB-to-SATA/IDE adapter that
does and that needs settling in, but that's the extent of my
first-hand knowledge.

I also don't know whether OS support still plays a role in this. I
could imagine that *maybe* the USB stack of some OSes might be able to
recognize that a drive hasn't settled in properly and might then be
able to reset the drive or part of its USB stack to get things to work
without the user taking special settling-in precautions. But I just
don't know. The only thing that can really reveal the truth is
testing.

I would recommend bringing a laptop into the shop and trying before
you buy an external USB drive/adapter. Or make sure there's a
no-question-asked money back guarantee if you mail-order.



Re: amd64 snapshot kqemu hangs

2011-08-08 Thread Alexander Hall

On 08/08/11 03:59, ropers wrote:

On 8 August 2011 03:54, Philip Guentherguent...@gmail.com  wrote:

On Sun, Aug 7, 2011 at 6:46 PM, ropersrop...@gmail.com  wrote:

On 7 August 2011 01:06, Philip Guentherguent...@gmail.com  wrote:

You see that ddb{1}  prompt that I'm quoting from *your* original
email?  That's the prompt of the built-in kernel debugger.  It even
has a manpage: try man ddb on a running system.


Is there a particular reason why the ddb man page doesn't also exist
on the web?
http://www.openbsd.org/cgi-bin/man.cgi?query=+ddb


Did you insert the '+' in there to test whether people can read URLs?

http://www.openbsd.org/cgi-bin/man.cgi?query=ddb


Ah. No. I see. What happened there was that I inadvertently entered 
ddb into the search field rather than ddb and the space was
converted to a +. Should that input field be made to tolerate/strip
extraneous spaces? I don't know, and since I'm not qualified to do the
work, I won't express an opinion here.


IMO, hmm, no.

$ man  ddb
man: no entry for  ddb in the manual.



But thanks anyway. :)
--ropers




Re: installing OpenBSD 4.9 to external USB harddisk: Disk does not boot

2011-08-08 Thread David Vasek

On Mon, 8 Aug 2011, Michael Treibton wrote:


is there a cleverer way of doing this?  i just do not have the
infrastructure here to attempt a serial capture, despite the
well-documented instructions in the OBSD docs.  i can get the output
you want, although because the installer doesn't have scp or anything,
i have no means of copying these files.

is there another means at my disposal to get these files off?


Mount a USB flash drive, a floppy, even an internal drive partition with 
FAT or EXT2/3 filesystem there and copy the files.


Regards,
David



Re: installing OpenBSD 4.9 to external USB harddisk: Disk does not boot

2011-08-08 Thread David Vasek

On Mon, 8 Aug 2011, David Vasek wrote:


On Sun, 7 Aug 2011, Ted Unangst wrote:


On Mon, Aug 08, 2011, Michael Treibton wrote:

is there a cleverer way of doing this?  i just do not have the
infrastructure here to attempt a serial capture, despite the
well-documented instructions in the OBSD docs.  i can get the output
you want, although because the installer doesn't have scp or anything,
i have no means of copying these files.

is there another means at my disposal to get these files off?


You booted the installer somehow, right?  Boot from that disk to the
boot prompt, then boot hd1:/bsd or hd0:/bsd or something as appropriate.


If you can boot from the install CD, try at the bootloader prompt:
boot boot /4.9/i386/bsd -a -s

replace i386 with amd64 and bsd with bsd.rd if needed

  
Ooops, I meant bsd.mp, of course. But SP kernel should be enough anyway.

Regards,
David



Re: hibernation with APM

2011-08-08 Thread Kevin Chadwick
On Sun, 7 Aug 2011 18:35:57 -0500
joshua stein j...@openbsd.org wrote:

  This is semi-OT, but how does that work, actually? I mean, I know how
  suspend to disk works in principle, but if it's done purely from the
  BIOS, wouldn't the BIOS need to know about (and use) a special
  partition to store the RAM contents? Otherwise, how would the BIOS
  know where to store the RAM contents in the absence of OS involvement?
 
 on at least older thinkpads, it would swap to an msdos partition
 that had a specially-formatted save2dsk.bin file.  tphdisk in the
 ports tree can be used for that.

Don't forget to consider the security implications of hibernate which
greatly outweigh the security implications of suspend.

Kc



OpenBSD on Dell PowerEdge

2011-08-08 Thread Michael Lechtermann

Hi all,

for a new loadbalancer setup that should replace two old F5s the plan 
is to use OpenBSD/relayd.


Looking at the specs, a Dell R410 (or R610) would meet the requirements 
regarding hot-swap HDDs (RAID 1) and redundant power supply, but...


Can anyone please confirm that OpenBSD is running on that hardware and 
what raid controller would be a good choice?


The boxes are also to have 6 network interfaces. Which additional Quad 
NIC would be the best to take, Broadcom or Intel?



Thanks in advance.

Best regards,
Michael Lechtermann



Re: OpenBSD on Dell PowerEdge

2011-08-08 Thread Andre Ruppert
Am Mon, 8 Aug 2011 11:37:43 +0200
schrieb Michael Lechtermann mich...@lechtermann.net:

[cut]
 
  Looking at the specs, a Dell R410 (or R610) would meet the
 requirements regarding hot-swap HDDs (RAID 1) and redundant power
 supply, but...
 
  Can anyone please confirm that OpenBSD is running on that hardware
 and what raid controller would be a good choice?
 
  The boxes are also to have 6 network interfaces. Which additional
 Quad NIC would be the best to take, Broadcom or Intel?
 
[cut]

Never had problems with the Dell Rx10-class, but I don't use RAID.

And I use Intel Pro dual NICs in most of my Dell Equipment.
Again - no problems at all...

Regards
Andre Ruppert



may be bug

2011-08-08 Thread igor denisov

I am not sure if it a bug,

#!/bin/ksh
INFILENUM=$1

function read_line  {
  $
# Associate standard input with file descriptor 4
# and redirect standard input to $INFILENUM 
$


exec 40
exec 0 $INFILENUM 
$


read LINE
echo $LINE
  $
# Restore standard input and close file
# descriptor 4 
$


exec 04
exec 4-
}

read_line

output

read_line: ./num.sh[23]: $: not found
read_line: ./num.sh[23]: $: not found

may someone explain it
regards,
---


--
igor denisov.



Solução Total para Escritórios de Advocacia

2011-08-08 Thread Comercial - SIJ
SIJ, Servigo de Informagues Judiciarias, Advocacia de Apoio, Notas de
Expediente, Agravo de Instrumento, Protocolo Integrado

SIJ - 50 anos de Tradigco e
Eficijncia

Prezado(a) Dr.(a)

O SIJ i uma empresa que atua ha 50 anos com
o fornecimento das publicagues jurmdicas.

No exercmcio da advocacia, a informagco i uma grande aliada.
Tenha-a sempre ao seu lado.

Atualmente o SIJ faz a leitura das Publicagues nos seguintes estados:

Atualmente o SIJ faz a leitura das
Publicagues nos seguintes estados: RIO GRANDO DO SUL -
PARANA - SANTA CATARINA - SCO PAULO - MINAS GERAIS -
BRASMLIA (DF) - MATO GROSSO - MATO GROSSO DO SUL - RIO DE JANEIRO -
ESPIRITO SANTO - INSTBNCIA SUPERIOR - GRATUITO

O valor para o recebimento das Publicagues i de apenas R$19,90 mensal por
OAB/Estado incluso a leitura da Instbncia Superior.

Se o Dr. optar por assinar o servigo de Publicagues do SIJ, os valores
para assinatura do sistema NEXT sco diferenciados, conforme tabela
abaixo:

Conhega as versues do NEXT:
Next-PRO - Next-MEDIUM - Next-LIGHT

SAAD - Servigo de Apoio ao Advogado

Havendo interesse, entre em contato com nossa Central de Atendimento:
(51) 3021-4800 ou comerc...@sij.com.br ou acesse www.sij.com.br/assine e
preencha nosso formulario de cadastro.

Atenciosamente,

Equipe Comercial
SIJ - 50 Anos de Paixco e Exceljncia em
Servigos de Informagues Judiciarias
Fones: +55 51 3021.4800
Fax: +55 51 3221.3257
www.sij.com.br

(051) 3021-4800

Acesso: www.sij.com.br | E-mail: s...@sij.com.br

O SIJ respeita a sua privacidade e i contra o spam na rede.
Caso nco queira receber mais e-mails do SIJ acesse este link.



Load average question

2011-08-08 Thread Rikky Taylor
I am a little puzzled by how openbsd calculated load avaerage.

I have a server running 4.9 i386 that should be doing very little indeed yet
has a consistent load average of 0.6-0.9

Other similar servers have consisten load averages of 0.05-0.1

when i do a ps aux it shows a small number of processes using 0.0 CPU and
very little memory.

Where is the load coming from? I am not sure where to look.

Thanks!



Re: Load average question

2011-08-08 Thread Alexander Polakov
2011/8/8, Rikky Taylor rikkytay...@hotmail.co.uk:
 I am a little puzzled by how openbsd calculated load avaerage.

 I have a server running 4.9 i386 that should be doing very little indeed yet
 has a consistent load average of 0.6-0.9

 Other similar servers have consisten load averages of 0.05-0.1

 when i do a ps aux it shows a small number of processes using 0.0 CPU and
 very little memory.

 Where is the load coming from? I am not sure where to look.

http://www.undeadly.org/cgi?action=articlesid=20090715034920mode=expanded

-- 
Alexander Polakov | plhk.ru



Re: Load average question

2011-08-08 Thread Peter N. M. Hansteen
Rikky Taylor rikkytay...@hotmail.co.uk writes:

 I am a little puzzled by how openbsd calculated load avaerage.

 I have a server running 4.9 i386 that should be doing very little indeed yet
 has a consistent load average of 0.6-0.9

 Other similar servers have consisten load averages of 0.05-0.1

 when i do a ps aux it shows a small number of processes using 0.0 CPU and
 very little memory.

 Where is the load coming from? I am not sure where to look.

fairly high in the search results for openbsd load average on a
popular search engine you will find this undeadly.org article that has a
bit of discussion as well as useful pointers:

http://www.undeadly.org/cgi?action=articlesid=20090715034920mode=expanded

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Load average question

2011-08-08 Thread David Vasek

On Mon, 8 Aug 2011, Rikky Taylor wrote:


I am a little puzzled by how openbsd calculated load avaerage.

I have a server running 4.9 i386 that should be doing very little indeed yet
has a consistent load average of 0.6-0.9

Other similar servers have consisten load averages of 0.05-0.1

when i do a ps aux it shows a small number of processes using 0.0 CPU and
very little memory.

Where is the load coming from? I am not sure where to look.


There are also kernel processes which some other OS's do not include in 
load average calculation. It's a different quantity.


For more detailed explanation read the article below or try to search a 
mailing list archive.


http://www.undeadly.org/cgi?action=articlesid=20090715034920mode=expanded


Nick, this is probably the single most frequently asked question... :-)

Regards,
David



Re: Load average question

2011-08-08 Thread Theo de Raadt
 Nick, this is probably the single most frequently asked question... :-)

No, it is not.  In the modern world of search engines, this question
lands at the same level as trolling.   If a person's first gut reaction
isn't go type 3 words into a search engine, and instead they craft a
500 line email message to a list, that is trolling.

Rikky, here is a diff which solves the problem you are facing: 

--- w.c Sat Jul 30 15:17:12 2011
+++ w.c.new Mon Aug  8 10:57:34 2011
@@ -430,7 +430,7 @@
for (i = 0; i  (sizeof(avenrun) / sizeof(avenrun[0])); i++) {
if (i  0)
(void)printf(,);
-   (void)printf( %.2f, avenrun[i]);
+   (void)printf( %.2f, 0.001);
}
(void)printf(\n);
}



pf table creation query

2011-08-08 Thread Chris Smith
Searching for a method to create a table based on the contents a file
but slightly modified without needing to modify the file itself.

Non-modified example is:
table fromfile persist file /mypath/assortedaddresses

Yet, attempts to modify do not work:
table fromfile persist { !x.x.x.x/y, file /mypath/assortedaddresses }
or:
table fromfile persist { file /mypath/assortedaddresses, !x.x.x.x/y }
generating:
/etc/pf.conf:25: syntax error

Also tried to create a new table by modifying the old one:
table modfromfile persist { fromfile, !x.x.x.x/y }
or:
table modfromfile persist { !x.x.x.x/y, fromfile }
and get:
/etc/pf.conf:25: tables cannot contain tables

Am I missing the proper syntax or is this not currently possible?

Tanks,

Chris



Re: Load average question

2011-08-08 Thread STeve Andre'

On 08/08/11 12:59, Theo de Raadt wrote:

Nick, this is probably the single most frequently asked question... :-)

No, it is not.  In the modern world of search engines, this question
lands at the same level as trolling.   If a person's first gut reaction
isn't go type 3 words into a search engine, and instead they craft a
500 line email message to a list, that is trolling.

Rikky, here is a diff which solves the problem you are facing:

--- w.c Sat Jul 30 15:17:12 2011
+++ w.c.new Mon Aug  8 10:57:34 2011
@@ -430,7 +430,7 @@
for (i = 0; i  (sizeof(avenrun) / sizeof(avenrun[0])); i++) {
if (i  0)
(void)printf(,);
-   (void)printf( %.2f, avenrun[i]);
+   (void)printf( %.2f, 0.001);
}
(void)printf(\n);
}




Hmmm.  Wrap that around an #ifdef looking for an environment
variable  (LOADAV)  and if it isn't set to IUNDERSTAND Theo's
diff is what's shown.

I'm not being entirely facetious.

--STeve Andre'



Re: pf table creation query

2011-08-08 Thread Peter N. M. Hansteen
Chris Smith obsd_m...@chrissmith.org writes:

 Searching for a method to create a table based on the contents a file
 but slightly modified without needing to modify the file itself.

not currently doable, it seems, but putting negations in the file to be
fed works - 

peter@deeperthought:~$ cat tablemuff
table muff persist file /home/peter/mufftable
peter@deeperthought:~$ cat mufftable 
192.168.103/24
!192.168.103.21
peter@deeperthought:~$ sudo pfctl -vf tablemuff 
table muff persist file /home/peter/mufftable
peter@deeperthought:~$ sudo pfctl -vt muff -T show
   192.168.103.0/24
Cleared:Mon Aug  8 19:40:17 2011
  !192.168.103.21
Cleared:Mon Aug  8 19:40:17 2011

So cat'ing your negations to the end of the file before load or writing
a tiny script that loads your file, then uses pfctl to apply the
negations would both work.

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Load average question

2011-08-08 Thread Andres Perera
On Mon, Aug 8, 2011 at 1:04 PM, STeve Andre' and...@msu.edu wrote:
 On 08/08/11 12:59, Theo de Raadt wrote:

 Nick, this is probably the single most frequently asked question... :-)

 No, it is not. B In the modern world of search engines, this question
 lands at the same level as trolling. B  If a person's first gut reaction
 isn't go type 3 words into a search engine, and instead they craft a
 500 line email message to a list, that is trolling.

 Rikky, here is a diff which solves the problem you are facing:

 --- w.c Sat Jul 30 15:17:12 2011
 +++ w.c.new B  B  Mon Aug B 8 10:57:34 2011
 @@ -430,7 +430,7 @@
 B  B  B  B  B  B  B  B for (i = 0; i B (sizeof(avenrun) /
sizeof(avenrun[0]));
 i++) {
 B  B  B  B  B  B  B  B  B  B  B  B if (i B 0)
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B (void)printf(,);
 - B  B  B  B  B  B  B  B  B  B  B  (void)printf( %.2f, avenrun[i]);
 + B  B  B  B  B  B  B  B  B  B  B  (void)printf( %.2f, 0.001);
 B  B  B  B  B  B  B  B }
 B  B  B  B  B  B  B  B (void)printf(\n);
 B  B  B  B }



 Hmmm. B Wrap that around an #ifdef looking for an environment
 variable B (LOADAV) B and if it isn't set to IUNDERSTAND Theo's
 diff is what's shown.

cpp can't look for environment variables


 I'm not being entirely facetious.

how facetious are you being, on a scale from 1 to 10?


 --STeve Andre'



Re: OpenBSD on Dell PowerEdge

2011-08-08 Thread Stuart Henderson
On 2011-08-08, Michael Lechtermann mich...@lechtermann.net wrote:
  Hi all,

  for a new loadbalancer setup that should replace two old F5s the plan 
  is to use OpenBSD/relayd.

  Looking at the specs, a Dell R410 (or R610) would meet the requirements 
  regarding hot-swap HDDs (RAID 1) and redundant power supply, but...

R310 can do that too, dmesg from -current below.

  Can anyone please confirm that OpenBSD is running on that hardware and 
  what raid controller would be a good choice?

H200 (mpii) works ok. H700 (mfi) is faster but I guess you probably won't
be needing super-fast disks on a relayd box.

  The boxes are also to have 6 network interfaces. Which additional Quad 
  NIC would be the best to take, Broadcom or Intel?

I don't ever recall seeing a quad Broadcom nic.


booting hd0a:/bsd: 5639768+1593356+932192+0+617952 [89+498144+322457]=0xd29700
entry point at 0x1001e0 [7205c766, 3404, 24448b12, 8e18a304]
[ using 821536 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.0 (GENERIC.MP) #51: Sun Aug  7 13:28:58 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4284059648 (4085MB)
avail mem = 4155899904 (3963MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xbf79c000 (66 entries)
bios0: vendor Dell Inc. version 1.5.2 date 10/15/2010
bios0: Dell Inc. PowerEdge R310
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET DM__ MCFG WD__ SLIC ERST HEST BERT EINJ 
TCPA SSDT
acpi0: wakeup devices PCI0(S5) USBA(S0) USBB(S0)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 1197.17 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 1196.99 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 1196.99 MHz
cpu2: 
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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 1196.99 MHz
cpu3: 
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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (LYD0)
acpiprt2 at acpi0: bus 5 (LYD2)
acpiprt3 at acpi0: bus -1 (HVD0)
acpiprt4 at acpi0: bus -1 (HVD2)
acpiprt5 at acpi0: bus 3 (PEX0)
acpiprt6 at acpi0: bus -1 (PEX2)
acpiprt7 at acpi0: bus -1 (PEX3)
acpiprt8 at acpi0: bus 2 (PEX4)
acpiprt9 at acpi0: bus 1 (COMP)
acpicpu0 at acpi0: C3, C1
acpicpu1 at acpi0: C3, C1
acpicpu2 at acpi0: C3, C1
acpicpu3 at acpi0: C3, C1
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core DMI rev 0x11
ppb0 at pci0 dev 3 function 0 Intel Core PCIE rev 0x11: msi
pci1 at ppb0 bus 4
ppb1 at pci0 dev 5 function 0 Intel Core PCIE rev 0x11: msi
pci2 at ppb1 bus 5
mpii0 at pci2 dev 0 function 0 Symbios Logic SAS2008 rev 0x03: msi
scsibus0 at mpii0: 42 targets
sd0 at scsibus0 targ 1 lun 0: Dell, Virtual Disk, 1028 SCSI4 0/direct fixed 
naa.600508e013201cfbcb2f1f04
sd0: 476416MB, 512 bytes/sector, 975699968 sectors
ses0 at scsibus0 targ 10 lun 0: DP, BACKPLANE, 1.07 SCSI3 13/enclosure 
services fixed t10.DP_BACKPLANE00
Intel Core Management rev 0x11 at pci0 dev 8 function 0 not configured
Intel Core Scratch rev 0x11 at pci0 dev 8 function 1 not configured
Intel Core Control rev 0x11 at pci0 dev 8 function 2 not configured
Intel Core Misc rev 0x11 at pci0 dev 8 function 3 not configured
Intel Core QPI Link rev 0x11 at pci0 dev 16 function 0 not configured
Intel Core QPI Routing rev 0x11 at pci0 dev 16 function 1 not configured
ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x05: apic 0 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 

Re: Load average question

2011-08-08 Thread STeve Andre'

On 08/08/11 17:18, Andres Perera wrote:

On Mon, Aug 8, 2011 at 1:04 PM, STeve Andre'and...@msu.edu  wrote:

On 08/08/11 12:59, Theo de Raadt wrote:

Nick, this is probably the single most frequently asked question... :-)

No, it is not. B In the modern world of search engines, this question
lands at the same level as trolling. B  If a person's first gut reaction
isn't go type 3 words into a search engine, and instead they craft a
500 line email message to a list, that is trolling.

Rikky, here is a diff which solves the problem you are facing:

--- w.c Sat Jul 30 15:17:12 2011
+++ w.c.new B  B  Mon Aug B 8 10:57:34 2011
@@ -430,7 +430,7 @@
B  B  B  B  B  B  B  B for (i = 0; i  B (sizeof(avenrun) /

sizeof(avenrun[0]));

i++) {
B  B  B  B  B  B  B  B  B  B  B  B if (i  B 0)
B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B (void)printf(,);
- B  B  B  B  B  B  B  B  B  B  B  (void)printf( %.2f, avenrun[i]);
+ B  B  B  B  B  B  B  B  B  B  B  (void)printf( %.2f, 0.001);
B  B  B  B  B  B  B  B }
B  B  B  B  B  B  B  B (void)printf(\n);
B  B  B  B }



Hmmm. B Wrap that around an #ifdef looking for an environment
variable B (LOADAV) B and if it isn't set to IUNDERSTAND Theo's
diff is what's shown.

cpp can't look for environment variables


I'm not being entirely facetious.

how facetious are you being, on a scale from 1 to 10?

About 6.  It's that low because of multiple arguments I've had with
people about what load averages mean, and the calls I've gotten from
people panicked about a 15+ load average, etc.

People tend to think of load averages like blood pressure, I've come
to understand.

--STeve Andre'



Re: OpenBSD on Dell PowerEdge

2011-08-08 Thread James A. Peltier
- Original Message -
| On 2011-08-08, Michael Lechtermann mich...@lechtermann.net wrote:
|   Hi all,
| 
|   for a new loadbalancer setup that should replace two old F5s the
|   plan
|   is to use OpenBSD/relayd.
| 
|   Looking at the specs, a Dell R410 (or R610) would meet the
|   requirements
|   regarding hot-swap HDDs (RAID 1) and redundant power supply, but...
| 
| R310 can do that too, dmesg from -current below.
| 
|   Can anyone please confirm that OpenBSD is running on that hardware
|   and
|   what raid controller would be a good choice?
| 
| H200 (mpii) works ok. H700 (mfi) is faster but I guess you probably
| won't
| be needing super-fast disks on a relayd box.
| 
|   The boxes are also to have 6 network interfaces. Which additional
|   Quad
|   NIC would be the best to take, Broadcom or Intel?
| 
| I don't ever recall seeing a quad Broadcom nic.

snip

I think there is an issue with Broadcom cards and VLANs IIRC.  On the Dell R200 
I have the integrated bge drivers do not seem to support VLANs, other cards 
might not have issues but YMMV.


-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier



Re: may be bug

2011-08-08 Thread Ingo Schwarze
Hi Igor,

igor denisov wrote on Mon, Aug 08, 2011 at 02:39:23PM +0400:

 I am not sure if it a bug,

It looks like a copy-and-paste bugs in your script.

 read_line: ./num.sh[23]: $: not found

Run hexdump -C on your script.
I see this, for example:

  23 21 2f 62 69 6e 2f 6b  73 68 0a 49 4e 46 49 4c  |#!/bin/ksh.INFIL|
0010  45 4e 55 4d 3d 24 31 0a  0a 66 75 6e 63 74 69 6f  |ENUM=$1..functio|
0020  6e 20 72 65 61 64 5f 6c  69 6e 65 20 20 7b 0a 20  |n read_line  {. |
0030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  ||
*
0070  20 20 20 20 20 20 20 20  20 20 20 20 20 20 24 0a  |  $.|
0080  23 20 41 73 73 6f 63 69  61 74 65 20 73 74 61 6e  |# Associate stan|

And this:

00d0  74 6f 20 24 49 4e 46 49  4c 45 4e 55 4d 20 0a 24  |to $INFILENUM .$|
00e0  0a 0a 65 78 65 63 20 34  3c 26 30 0a 65 78 65 63  |..exec 40.exec|

If you put a dollar sign at the end of a line, no matter whether
there are lots of blanks before it or not, you need not wonder that
the shell tries to interpret the dollar sign as code.

Yours,
  Ingo



Wsi y Pms de México Invitan: Tendencias Digitales Exitosas en Internet 30 Septiembre.

2011-08-08 Thread Ing. Ivvett Najera
[IMAGE]
WSI, Pms de Mixico  Adsmedia presentan  Capacitacisn Efectiva de Mixico
presenta:
Congreso Nacional Internet Marketing Evolution
Presentando las tematicas y tendencias mas innovadoras que le permitan
desarrollar una estrategia de MKT Digital apropiada a su necesidad.
Presentacisn Exclusiva: 30 de Septiembre Ciudad de Mixico

Traemos los mejores eventos para usted, conozca los beneficios de
capacitarse con los mejores!
Empresa Registrada ante la STPS Reg. COLG640205CP30005
Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico

!Solicite Mayores Informes! Por favor responda este e-mail con los datos
siguientes.
Empresa:
Nombre:
Telifono:
Email:
Nzmero de Interesados:
En breve recibira la informacisn completa de este inigualable evento.
Comunmquese a los telifonos y con gusto uno de nuestros ejecutivos le
atendera.
Telifonos: (0133) 1589-6156, (0133) 8851-2365, (0133) 8851-2741.

Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas
registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas
estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE
ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales
e imagenes son propiedad de sus respectivas corporaciones y se utilizan
con fines informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJAMKT

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJAMKT
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del
receptor.



[ZAPYTANIE] Modernity.pl - Twoim potrzebom wychodzimy naprzeciw

2011-08-08 Thread Modernity.pl
[IMAGE]

Szanowni PaEstwo.
==

SzanujDc PaEstwa prywatnoED, w imieniu firmy MODERNITY.pl proszD o
wyraEenie zgody na przesEanie ofert handlowych i informacji o
promocjach.

Zajmujemy siD projektowaniem i budowD urzDdzeE elektronicznych,
pisaniem programC3w komputerowych dla indywidualnych potrzeb klienta,
innymi sEowy - Nie boimy siD Eadnego wyzwania.

JeEeli wyraEajD PaEstwo zgodD proszD o klikniDcie ZGODA lub
odesEanie maila z informacjD w temacie WyraEam zgodD.

WiDcej informacji o firmie: Modernity.

JeEeli nie EyczD PaEstwo sobie otrzymywania od nas wiadomoEci,
prosimy o odpowiedE: na tego maila z informacjD w temacie NIE lub
zignorowanie tej wiadomoEci.

Szanujemy PaEstwa prywatnoED. W kaEdej chwili maja PaEstwo prawo
EDdania usuniDcia danych z naszej bazy mailowej.

Pozdrawiam
Justyna Matraszek
Tel. kom.: (+48) 794 698 486
e-mail: justyna.matras...@modernity.pl
www.modernity.pl
www.modernity.eu.com



Modernity LTD
28-29 The Broadway
Ealing
W5 2NP LONDON
Mobile.: (+44) 751 74 600 60

ul. Przypadek 9
88-100 InowrocEaw
Kom.: (+48) 794 698 486

Twoim potrzebom wychodzimy naprzeciw

Informacja niniejsza zostaEa wysEana zgodnie z UstawD z dnia 18 lipca
2002 r. o Ewiadczeniu usEug drogD elektronicznD (Dz.U. z 2002r, nr
144 poz. 1204 ustawy z dnia 18 lipca 2002 r.) oraz zaleceniami UOKiK o
dopuszczalnoEci przesEania na adres e-mail pytania o zgodD adresata na
otrzymywanie drogD elektronicznD informacji handlowej.



Wsi y Pms de México Invitan: Tendencias Digitales Exitosas en Internet 30 Septiembre.

2011-08-08 Thread Lucero Gomez
WSI, Pms de Mixico  Adsmedia presentan:

Congreso Nacional Internet Marketing Evolution

Presentando las tematicas y tendencias mas innovadoras que le permitan
desarrollar una estrategia de MKT Digital apropiada a su necesidad.

Presentacisn Exclusiva: 30 de Septiembre Ciudad de Mixico

Traemos los mejores eventos para usted, conozca los beneficios de
capacitarse con los mejores!

Empresa Registrada ante la STPS Reg. COLG640205CP30005

Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico

!Solicite Mayores Informes! Por favor responda este e-mail con los datos
siguientes.

Empresa:

Nombre:
Telifono:
Email:

Nzmero de Interesados:

En breve recibira la informacisn completa de este inigualable evento.

Comunmquese a los telifonos y con gusto uno de nuestros ejecutivos le
atendera.

Telifonos: (0133) 1589-6156, (0133) 8851-2365, (0133) 8851-2741.

Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas
registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas
estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE
ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales
e imagenes son propiedad de sus respectivas corporaciones y se utilizan
con fines informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJAMKT

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJAMKT
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del
receptor.

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
evolution septiembre 2011.jpg]