O sol convida a uma visita á Quinta do Sardanito

2010-03-24 Thread Quinta do Sardanito de Trás
nco consegue visualizar a newsletter? clique aqui

reenvie este email a um amigo - clique aqui

Espaqol English

Quinta do Sardanito de Tras - Zambujeira do Mar

Casas de Campo Tipo T1

Casas de Campo Tipo T2

Casas de Campo Tipo T4

*Valores promocionais para estadias eati 30/04/2010
inclusivi, excepto as datas entre 29/03 e 04/04

Esperamos por si no Paramso Alentejano, na Quinta do
Sardanito de Tras

Em todas as estadias tem acesso gratuito a Piscina, Parque infantil,
Ginasio (remodelado)

Oferta diaria de um Pco Alentejano e de um Doce Caseiro da nossa Quinta

Para mais informagues  por favor contacte-nos para nzmero +351 96 418 04
30 ( quintadosardan...@vodafone.pt )

Web Design  Marketing Studio  --- Gostava de divulgar a sua
empresa? Fale connosco temos a solugco para si.

..

para remover o seu contacto de email da nossa lista, por favor clique
aqui

to remove your email contact from our list, please click here

.

| indiferenca.com - Marketing Electrsnico | market...@indiferenca.com |

(Directiva 2000/31/CE do Parlamento Europeu; Relatsrio A5-0270/2001 do
Parlamento Europeu)

---



Still going strong

2010-03-24 Thread Theo de Raadt
These things make me smile.

OpenBSD 4.7 (GENERIC) #300: Fri Mar 19 08:58:21 MDT 2010
dera...@vax.openbsd.org:/usr/src/sys/arch/vax/compile/GENERIC
VAXstation 4000/90 [13000202 04010002]
cpu0: KA49
real mem = 133877760 (127MB)
avail mem = 126255104 (120MB)
mainbus0 at root
vsbus0 at mainbus0
vsbus0: 8K entry DMA SGMAP at PA 0x2700 (VA 0x8cd3e000)
vsbus0: interrupt mask 0
ze0 at vsbus0 csr 0x20008000 vec 264 ipl 15 maskbit -1: address 
08:00:2b:30:02:35
dz0 at vsbus0 csr 0x2500 vec 340 ipl 15 maskbit 3: console, 4 lines
lkkbd0 at dz0 line 0
wskbd0 at lkkbd0
lkms0 at dz0 line 1
wsmouse0 at lkms0
asc0 at vsbus0 csr 0x2680 vec 328 ipl 15 maskbit 1: NCR53C94, 25MHz
asc0: SCSI bus reset
scsibus0 at asc0: 8 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: IBM, DDRS-34560, S97B SCSI2 0/direct fixed
sd0: 4357MB, 512 bytes/sec, 8925000 sec total
sd1 at scsibus0 targ 1 lun 0: SEAGATE, ST15150N, 0017 SCSI2 0/direct fixed
sd1: 4095MB, 512 bytes/sec, 8388315 sec total
lcspx0 at vsbus0 csr 0x39302000 vec 288 ipl 15 maskbit 2
lcspx0: 1280x1024x8 frame buffer
wsdisplay0 at lcspx0
wsdisplay0: screen 0 added (std, vt100 emulation)
wskbd0: connecting to wsdisplay0
led0 at mainbus0
lkkbd0: no keyboard
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
boot device: sd0
root on sd0a swap on sd0b dump on sd0b



Postgrado en Adicciones

2010-03-24 Thread difusion-esa
[IMAGE]

Director General: Dr. Horacio Serebrinsky 

Director Academico: Dr. Marcelo R. Ceberio

La Escuela Sistimica Argentina es una institucisn que desarrolla
actividades de formacisn de Terapeutas familiares sistimicos,
investigacisn y asistencia psicolsgica.

REUNION INFORMATIVA

30 DE MARZO 13.00 HS.

POSTGRADO EN EL TRATAMIENTO DE LAS ADICCIONES DESDE EL MODELO SISTEMICO

[IMAGE]

Coordinadora: Lic. Marina Perrone y Equipo docente

Duracisn: 2 aqos distribuidos en dos cuatrimestres de 16 clases cada uno.

Clases tesricas articuladas con casos clmnicos.

Pasantmas en diversas comunidades terapiuticas.

Inicio: 06 de abril 2010

1er aqo: martes de 11 a 13 hs.

2do aqo: martes de 9 a 11 hs.

INFORMES E INSCRIPCISN:

Fray Justo S. M. de Oro 1843 (C1414DBC) Cap. Fed.
Te/Fax: 4774-2875/6112 4899-1053 Web: i...@escuelasistemica.com.ar /
www.escuelasistemica.com.ar

Consulte por entrevistas personalizadas



4.6 upgrade problem with 'pkg_add -u' and PKG_PATH

2010-03-24 Thread Juan Miscaro
I am having trouble upgrading to 4.6.  I always upgrade from a local
master repository.  First, from the latter I set up reverse port
forwarding on the target server so that

PKG_PATH=http://localhost:/

Then I do:

pkg_add -v -ui -F update -F updatedepends -F alwaysupdate

The error I get is:

--
Error from http://localhost:/:
ftp: Invalid URL (no file after host): http://localhost:/
No packages available in the PKG_PATH
--

Using 'lynx http://localhost:/' I get a view of all my packages
and I've been using this method for quite a few upgrades now.

What's wrong?

Thanks for any help.

-- 
/jm



Backup and monitoring

2010-03-24 Thread axl melkhov
Hello Community
I'm new to OpenBSD, I want to write a script for
backup and monitoring changes
all files on the disk.

Shell: ksh
Utilities: dump, restore
Input data: /etc/fstab ,/etc/dumpdates
Output data: backup files, text file - filenames with changes
Output dist: scsi disk for backup file, mail for text file

What do you think will be the most elegant solution
for this problem?

With best regards from Russia.
Axl Melkhov.



Re: Backup and monitoring

2010-03-24 Thread Paul M

I use restore -t on the dump just created to get the listing of
backed up files.

I'm not sure just what your question is though - what you want
seems clear enough, you just need to write the script now.


paulm


On 24/03/2010, at 10:15 PM, axl melkhov wrote:


Hello Community
I'm new to OpenBSD, I want to write a script for
backup and monitoring changes
all files on the disk.

Shell: ksh
Utilities: dump, restore
Input data: /etc/fstab ,/etc/dumpdates
Output data: backup files, text file - filenames with changes
Output dist: scsi disk for backup file, mail for text file

What do you think will be the most elegant solution
for this problem?

With best regards from Russia.
Axl Melkhov.




Re: Backup and monitoring

2010-03-24 Thread J.D. Bronson

How about looking at rsync

Thats what we use and it will list out changes.
I used to cron it each night and have it email
the output...

--
J.D. Bronson



Re: Backup and monitoring

2010-03-24 Thread Peter N. M. Hansteen
J.D. Bronson jd_bron...@sbcglobal.net writes:

 How about looking at rsync

rsync is great, and there's a few utils that uses it such as rdiff-backup.

On the other hand, if the number of machines you're backing up and
restoring is a bit larger, I've developed a fondness for bacula myself.

Not directly relevant to the OP's immediate problem, but it's a very
nice system, and you can configure it to send you pretty much any
level of info you want to see on what it does.

- Peter
-- 
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: Backup and monitoring

2010-03-24 Thread Samuel Baldwin
I know you want to write your own script, but take a look at rsnapshot
[1]. I've been using it for a while to backup my systems at home and
it's been delightful. Just a small program based on rsync that handles
backups in a nice simple, more space efficient, and automated way.

[1] http://rsnapshot.org/
-- 
Samuel Baldwin - logik.li



Re: Backup and monitoring

2010-03-24 Thread Stephan Andreas
Am Wednesday 24 March 2010 11:15:36 schrieb axl melkhov:
 Hello Community
 I'm new to OpenBSD, I want to write a script for
 backup and monitoring changes
 all files on the disk.

 Shell: ksh
 Utilities: dump, restore
 Input data: /etc/fstab ,/etc/dumpdates
 Output data: backup files, text file - filenames with changes
 Output dist: scsi disk for backup file, mail for text file

 What do you think will be the most elegant solution
 for this problem?

 With best regards from Russia.
 Axl Melkhov.

Monitoring changes:
OpenBSD checks every day the system and generate a diff e.g. of the /etc 
folder and send an email to the root account. You can forward this email to 
your account if you want.
Changes in the system will backuped in /var/backups by default.

Backup your System (backup of big systems is not easy):
dump and restore are a possible solution.
I use bacula, an distributed backup tool. It can be a little bit complex for 
one pc system.



Re: Backup and monitoring

2010-03-24 Thread Predrag Punosevac
J.D. Bronson jd_bron...@sbcglobal.net writes:

 How about looking at rsync

I asked a similar question about a year ago on this mailing list. 
Strangely enough, I ended up using a tool nobody mentioned explicitly in
response to my e-mail. It is called unison

http://www.cis.upenn.edu/~bcpierce/unison/

As observed earlier, YMMV with particular tool depending on your
personal needs and set up.

Cheers,
Predrag



Emailing : 3 campagnes offertes

2010-03-24 Thread Corinne
NewsLetter



Oga patch isa bus_dma madness

2010-03-24 Thread Ted Roby
On Tue, Mar 23, 2010 at 8:23 PM, Owain Ainsworth zer...@googlemail.comwrote:

 Hi,

 If you are testing pmemrange (you really should be), please also run
 with this diff. It fixes problems with isadma on i386.

 This is technically three diffs squashed together (bad oga! I know, but
 I need to do real work and this should fix pmemrange).


usage:
patch -l /tmp/patches/pmemrange_oga.patch /tmp/patches/c.out 21


If I apply Ariane's patch first, Oga's fails as such:


Patching file arch//i386/isa/isa_machdep.c using Plan A...
Hunk #1 succeeded at 125.
Hunk #2 succeeded at 148.
Hunk #3 failed at 923.
Hunk #4 succeeded at 1003 (offset -7 lines).
Hunk #5 succeeded at 1034 (offset -7 lines).
1 out of 5 hunks failed--saving rejects to arch//i386/isa/isa_machdep.c.rej
Hmm...  Ignoring the trailing garbage.
done



If I apply Oga's patch first, Ariane's fails as such:

|Index: arch/i386/isa/isa_machdep.c
|===
|RCS file: /cvs/src/sys/arch/i386/isa/isa_machdep.c,v
|retrieving revision 1.68
|diff -u -d -p -r1.68 isa_machdep.c
|--- arch/i386/isa/isa_machdep.c22 Aug 2009 02:54:50 -  1.68
|+++ arch/i386/isa/isa_machdep.c24 Mar 2010 01:40:43 -
--
Patching file arch/i386/isa/isa_machdep.c using Plan A...
Hunk #1 failed at 930.
1 out of 1 hunks failed--saving rejects to arch/i386/isa/isa_machdep.c.rej



Re: Backup and monitoring

2010-03-24 Thread L. V. Lammert
On Wed, 24 Mar 2010, axl melkhov wrote:

 Hello Community
 I'm new to OpenBSD, I want to write a script for
 backup and monitoring changes
 all files on the disk.

2nd the recommendation for rsnapshot. Simple solution to many problems
(including backing up files with root privledges) that are tricky with
rsync, as the rsnapshot machine is logging into the machine you're backing
up.

 What do you think will be the most elegant solution
 for this problem?

rsnapshot will also keep as many versions as you configure, .. e.g. seven
days, four weeks, six months, ..

Lee



Re: Still going strong

2010-03-24 Thread m brandenberg

On Wed, 24 Mar 2010, Theo de Raadt wrote:


These things make me smile.

OpenBSD 4.7 (GENERIC) #300: Fri Mar 19 08:58:21 MDT 2010
   dera...@vax.openbsd.org:/usr/src/sys/arch/vax/compile/GENERIC
VAXstation 4000/90 [13000202 04010002]


They were built slow but they were built well.
(Almost makes me want to dig mine out)

--
Monty Brandenberg



overall macbook reliability

2010-03-24 Thread Ted Roby
This is just a thread to praise OpenBSD, and give some feedback.

I am running OpenBSD-current on Macbook 3,1 (3rd. revision)

I have been using and supporting MacOS X since 10.1.

Prior to that, I ran OpenBSD 3.0.

My reason for switching was simply that of GUI.

Now, I'm happy with Xenocara and ports/x11.

Hardware-wise (what I really wanted to brag about), I am having
far greater stability with OpenBSD than I ever experienced with
MacOS.

Even with the latest and greatest updates, I have always had
problems with OSX seizing up on this machine. I had even suspected
bad hardware at one point because I could not track down the
specifics of my crashes.

However, now that I am running on OpenBSD I can easily show
where any crash or freeze was caused by my own experimentation
and/or failure to read the directions.



gnu grep -o flag

2010-03-24 Thread Gregory Edigarov
Hello Everybody,

Just wonder how could one implement what gnu grep -o flag does using
our toolchain? 

from ggrep(1):

 -o, --only-matching
  Show  only the part of a matching line that matches
  PATTERN.


-- 
With best regards,
Gregory Edigarov



Re: gnu grep -o flag

2010-03-24 Thread Jan Stary
On Mar 24 19:00:06, Gregory Edigarov wrote:
 Hello Everybody,
 
 Just wonder how could one implement what gnu grep -o flag does using
 our toolchain? 
 
 from ggrep(1):
 
  -o, --only-matching
   Show  only the part of a matching line that matches
   PATTERN.

Hint: what does g/re/p stand for?



Re: gnu grep -o flag

2010-03-24 Thread Christopher Zimmermann
On Wed, 24 Mar 2010 19:00:06 +0200 Gregory Edigarov wrote:

 Hello Everybody,
 
 Just wonder how could one implement what gnu grep -o flag does using
 our toolchain? 
 
 from ggrep(1):
 
  -o, --only-matching
   Show  only the part of a matching line that matches
   PATTERN.
 
 


maybe try this:
sed -n -e 's/.*\(PATTERN\).*/\1/ -e /PATTERN/p



I'd like to review your resume

2010-03-24 Thread Carrie @ TunaRez


 Get Your FREE Resume Evaluation
Go TO 
http://www.tunarez.com/resumeeval.asp?AD=1144HDL=Dice-sp-hlist




THEY'RE TALKING ABOUT TUNAREZ

Re: Professional resume writing service?
Posted by Rachel, July 2009 at www.teachers.net
Check out tunarez.com. best unknown resume service out there 
- located in Illinois. IT experts but produce great resumes for 
everyone. Seen some great teacher resume they did for friends.  
Verify at: http://teachers.net/states/il/topic1510/7.03.09.22.12.58.html;

Resume Writing Services
Posted by Joel on Software, March 2005 at www.joelonsoftware.com
I used TunaRez and was very happy with the job they did for me. 
Their version of my resume got me a lot more callbacks and 
interviews than my own did.  
Verify at: http://discuss.joelonsoftware.com/default.asp?biz.5.102707.2
More below ...


* AFRAID TO START LOOKING FOR A JOB?
* ALREADY LOOKING WITH FEW RESULTS?
* CONCERNED YOU'LL HAVE TO LOWER YOUR SALARY JUST TO GET ANY JOB?
* WORRIED YOU COULD LOSE YOUR JOB  WANT TO BE READY - JUST IN CASE?
* NEED TO KEEP YOUR JOB AFTER A MERGER?


DOES YOUR RESUME BRING OUT THE REAL YOU?

I can't tell you how many times a day I read a dry, boring, 
just the facts resume and am then amazed at how dynamic and 
interesting the client is on the phone.  The resume just doesn't 
represent the person I'm talking to at the other end of the line.  
It's frustrating to think of the number of employers - desperate 
for high-quality employees - who pass them by because of weak, 
off-base resumes.  And yet, candidates are often perplexed why with 
excellent skills and a solid background no one is responding to 
their outreach efforts. 

Hiring Managers tell us most candidates do a terrible job of 
marketing themselves.  And in tough times, this is deadly - knocking 
a candidate out again and again when they are actually very qualified 
for positions. Worst of all, most candidates are completely unaware 
of what motivates a Hiring Manager to contact them.
 
I WISH I'D STARTED SOONER.
That's what most clients tell me.  The best time to create a 
powerful resume is now!  There's no need to wait until you've lost 
your job and have to pinch every penny.  No one deserves that 
kind of pressure. A powerful, motivating resume is the closest 
you can get to having career insurance.


I'M CARRIE TEAGER, A SENIOR RESUME COACH WITH TUNAREZ.COM. 
I've been connecting candidates with employers for nearly 20 years.
It's not unusual for me to review a few thousand resumes a month 
so there's not much I haven't seen. More importantly, our research 
keeps me well armed to help you understand the needs of today's 
employers and if your resume has weaknesses that undermine your 
career goals.

  
If you're considering a new job search or if you're currently job hunting this 
is a great 
time for a professional review of your resume. 

THE PEACE OF MIND RESUME 
74% OF OUR CLIENTS ARE EMPLOYED WHEN THEY SEEK OUR SERVICES.
If you're ready to start searching right now, then we can be with you 
through each stage with our 123GetHired Program. However, if you're 
not ready yet but want to be prepared -- just in case -- the 
Peace of Mind Resume is for you. With this service, we prepare 
your resume now with your current position/skills and when you 
need to look for a job in the future we'll quickly update your resume 
with any new skills so you can respond rapidly.  


FREE RESUME EVALUATION

As a professional courtesy, I would like to offer you a free written 
evaluation of your CURRENT resume to reintroduce our services. You will 
receive your evaluation within 2 days. Just go to
http://www.tunarez.com/resumeeval.asp?AD=1144HDL=Dice-sp-hlist


THE JOB SEARCH EXPERTS 

We've lived and breathed the Hiring industry -- 
working closely with Hiring Managers for 15+ years makes a 
difference. We don't guess at what Hiring Managers want to see 
-- we get direct feedback from real employers all the time.  

TunaRez actually evolved from a software consulting firm -- the 
business of hiring and getting people hired -- and we use 
our insider insight to assist job seekers facing a completely 
employer-driven market.  This commitment, focus and expertise 
show in how we uniquely support each and every client -- and in 
the results we produce.

RAVE REVIEWS

TODAY 32% OF OUR BUSINESS COMES FROM REFERRALS AND 35% FROM RETURNING CLIENTS. 
We must be doing something right. Take a look at our rave 

Re: gnu grep -o flag

2010-03-24 Thread Marco Peereboom
huh?

didn't you just grep for that?

On Wed, Mar 24, 2010 at 07:00:06PM +0200, Gregory Edigarov wrote:
 Hello Everybody,
 
 Just wonder how could one implement what gnu grep -o flag does using
 our toolchain? 
 
 from ggrep(1):
 
  -o, --only-matching
   Show  only the part of a matching line that matches
   PATTERN.
 
 
 -- 
 With best regards,
   Gregory Edigarov



Re: Oga patch isa bus_dma madness

2010-03-24 Thread Ariane van der Steldt
On Wed, Mar 24, 2010 at 09:16:02AM -0600, Ted Roby wrote:
 On Tue, Mar 23, 2010 at 8:23 PM, Owain Ainsworth zer...@googlemail.comwrote:
  If you are testing pmemrange (you really should be), please also run
  with this diff. It fixes problems with isadma on i386.
 
  This is technically three diffs squashed together (bad oga! I know, but
  I need to do real work and this should fix pmemrange).
 
 
 usage:
 patch -l /tmp/patches/pmemrange_oga.patch /tmp/patches/c.out 21
 
 
 If I apply Ariane's patch first, Oga's fails as such:
 
 
 Patching file arch//i386/isa/isa_machdep.c using Plan A...
 Hunk #1 succeeded at 125.
 Hunk #2 succeeded at 148.
 Hunk #3 failed at 923.
 Hunk #4 succeeded at 1003 (offset -7 lines).
 Hunk #5 succeeded at 1034 (offset -7 lines).
 1 out of 5 hunks failed--saving rejects to arch//i386/isa/isa_machdep.c.rej
 Hmm...  Ignoring the trailing garbage.
 done
 
 
 
 If I apply Oga's patch first, Ariane's fails as such:
 
 |Index: arch/i386/isa/isa_machdep.c
 |===
 |RCS file: /cvs/src/sys/arch/i386/isa/isa_machdep.c,v
 |retrieving revision 1.68
 |diff -u -d -p -r1.68 isa_machdep.c
 |--- arch/i386/isa/isa_machdep.c22 Aug 2009 02:54:50 -  1.68
 |+++ arch/i386/isa/isa_machdep.c24 Mar 2010 01:40:43 -
 --
 Patching file arch/i386/isa/isa_machdep.c using Plan A...
 Hunk #1 failed at 930.
 1 out of 1 hunks failed--saving rejects to arch/i386/isa/isa_machdep.c.rej

That was my fault. You can ignore the rejection in the second case.
I've put an updated version on tech@ earlier today.

Ciao,
-- 
Ariane



Re: gnu grep -o flag

2010-03-24 Thread Brad Tilley
No.

i...@iso2:~/Desktop$ grep import IDS_targets.py 
import MySQLdb
import socket
import getpass
import datetime

i...@iso2:~/Desktop$ grep import -o IDS_targets.py 
import
import
import
import


On Wed, 24 Mar 2010 13:33 -0500, Marco Peereboom sl...@peereboom.us
wrote:
 huh?
 
 didn't you just grep for that?
 
 On Wed, Mar 24, 2010 at 07:00:06PM +0200, Gregory Edigarov wrote:
  Hello Everybody,
  
  Just wonder how could one implement what gnu grep -o flag does using
  our toolchain? 
  
  from ggrep(1):
  
   -o, --only-matching
Show  only the part of a matching line that matches
PATTERN.
  
  
  -- 
  With best regards,
  Gregory Edigarov



Re: gnu grep -o flag

2010-03-24 Thread Ted Unangst
On Wed, Mar 24, 2010 at 1:00 PM, Gregory Edigarov
g...@bestnet.kharkov.ua wrote:
 Just wonder how could one implement what gnu grep -o flag does using
 our toolchain?

With a 10 line patch.



macbook pro 5,5

2010-03-24 Thread Pau
Dear all,

is anybody running openbsd on the macbook pro 5,5?

I was given one of these at work and I cannot get used to macosx.

I have realised that X does not run with the nv driver, only with
vesa, which is fine but I was wondering whether somebody has tried a
recent snapshot on it.

I installed a snapshot but this was many weeks ago.

I am running now that live cd, bsdanywhere (based on openbsd 4.6)

Works: X with vesa, ethernet (nfe0), keyboard, speedstep (nice!!)

No tested/ Does not work: wireless, special' keys (brightness,
backlight keyboard, volume), camera, touchpad partially (related to
the X driver)

I was also wondering whether it is possible to have openbsd on the
laptop as the only OS. I am guessing that the EFI could give trouble.

When I installed it I was using rEFIt to boot into openbsd/macosx

thanks,

Pau




OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error
f7clock_battery,ROM_cksum,config_unit,memory_size,invalid_time
cpu0: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz (GenuineIntel
686-class) 2.53 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 2926321664 (2790MB)
avail mem = 2830348288 (2699MB)
RTC BIOS diagnostic error
f7clock_battery,ROM_cksum,config_unit,memory_size,invalid_time
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe (42 entries)
bios0: vendor Apple Inc. version MBP55.88Z.00AC.B03.0906151708 date 06/15/09
bios0: Apple Inc. MacBookPro5,5
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3)
OHC2(S3) EHC2(S3) GIGE(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz (GenuineIntel
686-class) 2.53 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (IXVE)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 3545797981023400290 type
3545797981528607052 oem 3545797981528608836
bios0: ROM list: 0xc/0xe800
cpu0: Enhanced SpeedStep 2521 MHz: speeds: 2527, 2394, 2128, 1862, 1596, 798 MHz
memory map conflict 0xffc0/0x40
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0xd340/0x8
pchb0 at pci0 dev 0 function 0 NVIDIA MCP79 Host rev 0xb1
NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 0 function 1 not configured
pcib0 at pci0 dev 3 function 0 NVIDIA MCP79 ISA rev 0xb3
NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 3 function 1 not configured
nviic0 at pci0 dev 3 function 2 NVIDIA MCP79 SMBus rev 0xb1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500 SO-DIMM
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-8500 SO-DIMM
iic1 at nviic0
iic1: addr 0x2c 00=ff 02=08 03=f9 07=60 0d=6e 71=06 86=45 90=70 91=71
92=a6 93=7b 94=23 95=3c 96=76 97=92 9f=0c a0=3d a1=3d a2=2d a3=3d
a4=3d a5=3d a6=3d a7=1d a8=3d a9=3d aa=3d ab=3d ac=3d ad=3d ae=3d
af=3d b0=3d b1=7d b2=3d b3=3d b4=3d b5=3d b6=bd b7=3d b8=3d b9=3d
ba=3d bb=3d bc=3d bd=3d be=3d bf=3d words 00=ff00 01=0008 02=08f9
03=f900 04= 05= 06=0060 07=6000
NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 3 function 3 not configured
vendor NVIDIA, unknown product 0x0a98 (class memory subclass RAM,
rev 0xb1) at pci0 dev 3 function 4 not configured
NVIDIA MCP79 Co-processor rev 0xb1 at pci0 dev 3 function 5 not configured
ohci0 at pci0 dev 4 function 0 NVIDIA MCP79 USB rev 0xb1: apic 1 int
11 (irq 11), version 1.0, legacy support
ehci0 at pci0 dev 4 function 1 NVIDIA MCP79 USB rev 0xb1: apic 1 int
10 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
ohci1 at pci0 dev 6 function 0 NVIDIA MCP79 USB rev 0xb1: apic 1 int
7 (irq 7), version 1.0, legacy support
ehci1 at pci0 dev 6 function 1 NVIDIA MCP79 USB rev 0xb1: apic 1 int 5 (irq 5)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 8 function 0 NVIDIA MCP79 HD Audio rev 0xb1:
apic 1 int 15 (irq 15)
azalia0: codecs: Cirrus Logic/0x4206
audio0 at azalia0
ppb0 at pci0 dev 9 function 0 NVIDIA MCP79 PCIE rev 0xb1
pci1 at ppb0 bus 1
nfe0 at pci0 dev 10 

Re: gnu grep -o flag

2010-03-24 Thread Philip Guenther
On Wed, Mar 24, 2010 at 10:17 AM, Christopher Zimmermann
madro...@zakweb.de wrote:
 On Wed, 24 Mar 2010 19:00:06 +0200 Gregory Edigarov wrote:
 Just wonder how could one implement what gnu grep -o flag does using
 our toolchain?

 from ggrep(1):

  -o, --only-matching
   Show  only the part of a matching line that matches
   PATTERN.

 maybe try this:
 sed -n -e 's/.*\(PATTERN\).*/\1/ -e /PATTERN/p

Hmm, missing quote, and the expressions can be combined, but as a
portable solution this is indeed the right answer.
sed -n -e 's/.*\(PATTERN\).*/\1/p'

If you need extended (egrep-style) regexps, then the most portable
solution is a chunk of awk (left as an exercise for the student); the
less-portable-but-works-in-4.7 solution is to use -E option to sed:
sed -n -E 's/.*(PATTERN).*/\1/p'


Philip Guenther



Re: gnu grep -o flag

2010-03-24 Thread Christopher Zimmermann
On Wed, 24 Mar 2010 13:06:12 -0700 Philip Guenther wrote:

 On Wed, Mar 24, 2010 at 10:17 AM, Christopher Zimmermann
 madro...@zakweb.de wrote:
  On Wed, 24 Mar 2010 19:00:06 +0200 Gregory Edigarov wrote:
  Just wonder how could one implement what gnu grep -o flag does using
  our toolchain?
 
  from ggrep(1):
 
   -o, --only-matching
Show  only the part of a matching line that matches
PATTERN.
 
  maybe try this:
  sed -n -e 's/.*\(PATTERN\).*/\1/ -e /PATTERN/p
 
 Hmm, missing quote, and the expressions can be combined, but as a
 portable solution this is indeed the right answer.
 sed -n -e 's/.*\(PATTERN\).*/\1/p'

right. This one looks nicer.

 If you need extended (egrep-style) regexps, then the most portable
 solution is a chunk of awk (left as an exercise for the student); the
 less-portable-but-works-in-4.7 solution is to use -E option to sed:
 sed -n -E 's/.*(PATTERN).*/\1/p'

sed -E !?! Great! Now I know why I upgraded to -current.



hardware check: Gigabyte GA H55M-UD2H

2010-03-24 Thread Raphaël Berbain
Hi,

I am eyeing some new hardware, and would like to check for any potential
problem or support issue.  I googled and all, and now turn to misc@ in
case I missed something.  The config is described here :
http://www.maisondunumerique.com/pc-media-center-hfx-mini-metal.html
(french page, but I guess it should be understandable to non-french
speakers anyway.  Hopefully).

The HFX mini is basically a fanless, passively cooled case. This
reseller couples it with a Gigabyte GA H55M-UD2H motherboard.

I don't care about the HTPC/multimedia angle.  I am only interested in
the fanless aspect.  That means tv/sound boards, remote controls listed
on the page aren't in the scope of my question.

So, any warnings/stories from anybody about this motherboard/hw combo?

TIA,



Help with Huawei E160 modem

2010-03-24 Thread Chris Bennett
OK, we are trying to set up Internet service with a company in Guatemala 
that uses a Huawei E160 USB modem connected to a switch.


They are having some difficulties since it is OpenBSD (-current from 
about 2 months ago).
There is a laptop with a much older -current and a desktop with OpenBSD 
only.

Tech support sent someone out who is a total asshole.
Luckily there is someone else involved who is more helpful, if not very 
experienced.


My dad is there and I am in US for a few more weeks.
Supposedly everything works fine in Windows XP, but didn't work in 
second disk Windows 2000 I sent for that laptop.


I am supposed to be getting a copy of XP driver by email this evening.

I have seen some older entries in mailing list that seem to say using 
this modem will work directly connected to desktop.
This one comes with a network switch, so that should also be an easier 
way to do things.


At this point I just want to get it working, through switch or directly 
are fine for a weeks until I go to improve the situation.



I have access at home to Windows 2000, but no longer have easy access to 
WinXP


Yesterday evening my Dad got access to switch admin menus which 
referenced a company called Movistar, but I am not sure if that is 
correct or not. I had him click through wizard without changing default 
settings, but it said simm card not valid.


The actual company providing service to us is Grupo Megatel 
http://www.c.net.gt/banda.html


Any advice about this would be appreciated. I should have more useful 
information this evening/tomorrow.



Thanks

--
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: gnu grep -o flag

2010-03-24 Thread Philip Guenther
On Wed, Mar 24, 2010 at 1:06 PM, Philip Guenther guent...@gmail.com wrote:
...
 Hmm, missing quote, and the expressions can be combined, but as a
 portable solution this is indeed the right answer.
sed -n -e 's/.*\(PATTERN\).*/\1/p'

Actually, there are two bug in that, an obvious one and a subtle one.
The obvious one is that it only prints one match per line instead of
printing all the matches.  The subtle one is that if the pattern can
match in multiple overlapping positions, it will report the match with
the *latest* start instead of the *earliest* start (because the
leading .* is greedy).

The 'portable' solution that doesn't have those problems is to use a
nuke^W^Wperl:
perl -nle 'while(m((PATTERN))g){print $1}'


Philip Guenther



Re: macbook pro 5,5

2010-03-24 Thread Ron McDowell
Installing *only* OpenBSD is pretty straightforward.  I booted an OSX 
DVD, went straight into Disk Utility-Partition, created one big FAT32 
partition as big as the disk, click Options, select Master Boot Record, 
Apply, wait til it's done.


Then boot the OpenBSD disk, use fdisk during the install process to 
delete the FAT32 partition, create an OpenBSD partition, then install as 
normal.


Yes, the WiFi [Broadcom BCM4322] is seen but not available, and the 
wsconsctl stuff will blank but not shut off the text-based display.  I 
haven't even tried any graphics/multimedia stuff as my need is as a 
dual-boot OSX/OpenBSD mini-server.


I also noticed that even though I loaded the amd64 MP version, it's only 
seeing 2.8/2.9GB of the 4GB in the box:


OpenBSD 4.7 (GENERIC.MP) #124: Mon Mar  8 11:49:19 MST 2010
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2925703168 (2790MB)
avail mem = 2839826432 (2708MB)
RTC BIOS diagnostic error 
e7clock_battery,ROM_cksum,config_unit,invalid_time

mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (42 entries)
bios0: vendor Apple Inc. version MBP55.88Z.00AC.B03.0906151708 date 
06/15/09

bios0: Apple Inc. MacBookPro5,5

--
Ron McDowell
San Antonio TX



Pau wrote:

Dear all,

is anybody running openbsd on the macbook pro 5,5?

I was given one of these at work and I cannot get used to macosx.

I have realised that X does not run with the nv driver, only with
vesa, which is fine but I was wondering whether somebody has tried a
recent snapshot on it.

I installed a snapshot but this was many weeks ago.

I am running now that live cd, bsdanywhere (based on openbsd 4.6)

Works: X with vesa, ethernet (nfe0), keyboard, speedstep (nice!!)

No tested/ Does not work: wireless, special' keys (brightness,
backlight keyboard, volume), camera, touchpad partially (related to
the X driver)

I was also wondering whether it is possible to have openbsd on the
laptop as the only OS. I am guessing that the EFI could give trouble.

When I installed it I was using rEFIt to boot into openbsd/macosx

thanks,

Pau




OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error
f7clock_battery,ROM_cksum,config_unit,memory_size,invalid_time
cpu0: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz (GenuineIntel
686-class) 2.53 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 2926321664 (2790MB)
avail mem = 2830348288 (2699MB)
RTC BIOS diagnostic error
f7clock_battery,ROM_cksum,config_unit,memory_size,invalid_time
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe (42 entries)
bios0: vendor Apple Inc. version MBP55.88Z.00AC.B03.0906151708 date 06/15/09
bios0: Apple Inc. MacBookPro5,5
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3)
OHC2(S3) EHC2(S3) GIGE(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz (GenuineIntel
686-class) 2.53 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (IXVE)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 3545797981023400290 type
3545797981528607052 oem 3545797981528608836
bios0: ROM list: 0xc/0xe800
cpu0: Enhanced SpeedStep 2521 MHz: speeds: 2527, 2394, 2128, 1862, 1596, 798 MHz
memory map conflict 0xffc0/0x40
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0xd340/0x8
pchb0 at pci0 dev 0 function 0 NVIDIA MCP79 Host rev 0xb1
NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 0 function 1 not configured
pcib0 at pci0 dev 3 function 0 NVIDIA MCP79 ISA rev 0xb3
NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 3 function 1 not configured
nviic0 at pci0 dev 3 function 2 NVIDIA MCP79 SMBus rev 0xb1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500 SO-DIMM
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-8500 SO-DIMM
iic1 at nviic0
iic1: addr 0x2c 00=ff 02=08 03=f9 07=60 0d=6e 71=06 86=45 90=70 91=71
92=a6 93=7b 94=23 95=3c 96=76 97=92 9f=0c a0=3d a1=3d a2=2d a3=3d
a4=3d a5=3d a6=3d a7=1d 

Re: macbook pro 5,5

2010-03-24 Thread Ted Roby
On Wed, Mar 24, 2010 at 3:31 PM, Ron McDowell r...@fuzzwad.org wrote:


 I also noticed that even though I loaded the amd64 MP version, it's only
 seeing 2.8/2.9GB of the 4GB in the box:


I experience the same on my Macbook, and believe that it is normal.

You should also have two lines like this perhaps:
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM


I have 2, 2GB chips. The 2.8/9 GB you see, I believe, is the remainder after
subtracting
memory mapped to hardware (including drm), and memory reserved for/by the
kernel.



Re: macbook pro 5,5

2010-03-24 Thread Jean-Philippe Ouellet
I run OpenBSD amd64 current (as of 2 weeks ago) on my MacBookPro5,3 (the 
latest 15 inch).


Overall, the hardware is pretty well supported.

I'm dual booting between OpenBSD and OSX 10.6.2. For the last year or so 
I've been meaning to write a dual-booting guide to send to nick for the 
faq, but never got around to it, it's still on my todo list though.


apmd works ok, although suspend is not supported. 4.6 did not regulate 
processor speed properly, but that's been fixed in current.


The biggest obstacle in running OpenBSD on the MacBook Pro is that the 
wireless card is not supported. For now I'm using a little usb wireless 
card I got at microcenter. The usb wireless (run0) is the only thing in 
my dmesg that is not part of the default hardware.


I can confirm the problem about not all the ram being recognized, I have 
8g installed and only about 2g can be used.


X works well, I have no complaints (other than its insecure nature). I'm 
running scrotwm (marco's wonderful lightweight window manager) and have 
yet to find something in X that doesn't work on my hardware.


Sound seems to not work, despite azalia showing up in the dmesg, but I 
can't say that I've thoroughly tested it either.


I have yet to find a way to detect when the lid of the laptop is closed, 
if anyone knows anything about this, please do share.




Here's my dmesg, again run0 is an external usb wireless card:

OpenBSD 4.7 (GENERIC.MP) #128: Tue Mar  9 09:54:33 MST 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2925703168 (2790MB)
avail mem = 2839826432 (2708MB)
RTC BIOS diagnostic error 
d7clock_battery,ROM_cksum,memory_size,invalid_time

mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (44 entries)
bios0: vendor Apple Inc. version MBP53.88Z.00AC.B03.0906151647 date 
06/15/09

bios0: Apple Inc. MacBookPro5,3
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) GMUX(S3) OHC1(S3) 
EHC1(S3) OHC2(S3) EHC2(S3) GIGE(S5)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2786.47 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,CX16,xTPR,NXE,LONG

cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2786.00 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,CX16,xTPR,NXE,LONG

cpu1: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 255 (IXVE)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 3545797981023400290 type 
3545797981528607052 oem 3545797981528673619
cpu0: Enhanced SpeedStep 2786 MHz: speeds: 2793, 2660, 2394, 2128, 1862, 
1596 MHz

memory map conflict 0xffc0/0x40
pci0 at mainbus0 bus 0
mem address conflict 0xe740/0x8
pchb0 at pci0 dev 0 function 0 NVIDIA MCP79 Host rev 0xb1
NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 0 function 1 not configured
pcib0 at pci0 dev 3 function 0 NVIDIA MCP79 ISA rev 0xb3
NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 3 function 1 not configured
nviic0 at pci0 dev 3 function 2 NVIDIA MCP79 SMBus rev 0xb1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500 SO-DIMM
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-8500 SO-DIMM
iic1 at nviic0
iic1: addr 0x2c 00=ff 02=08 03=f9 07=60 0d=6e 71=06 86=5e 90=73 91=58 
92=b4 93=77 94=32 95=8c 96=78 97=90 9f=0c a0=3d a1=3d a2=3d a3=3d a4=7d 
a5=3d a6=3d a7=3d a8=3d a9=3d aa=3d ab=3d ac=3c ad=3d ae=3d af=7d b0=3d 
b1=3d b2=3d b3=3f b4=3d b5=3c b6=3d b7=3d b8=3d b9=3d ba=3d bb=3d bc=3d 
bd=3d be=3d bf=3d words 00=ff00 01=0008 02=08f9 03=f900 04= 05= 
06=0060 07=6000

NVIDIA MCP79 Memory rev 0xb1 at pci0 dev 3 function 3 not configured
vendor NVIDIA, unknown product 0x0a98 (class memory subclass RAM, rev 
0xb1) at pci0 dev 3 function 4 not configured

NVIDIA MCP79 Co-processor rev 0xb1 at pci0 dev 3 function 5 not configured
ohci0 at pci0 dev 4 function 0 NVIDIA MCP79 USB rev 0xb1: apic 1 int 
11 (irq 11), version 1.0, legacy support
ehci0 at pci0 dev 4 function 1 NVIDIA MCP79 USB rev 0xb1: apic 1 int 
10 (irq 10)

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
ohci1 at pci0 dev 6 function 0 NVIDIA MCP79 USB rev 0xb1: apic 1 int 7 

Ultrasonic duvar dinleme cihazi 99 tl

2010-03-24 Thread Erdem
BU \R\N ]NTOKODA 1500 \N 

\ZER]NDE SATILDI !!

CASUS DUVAR D]NLEME C]HAZI

SADECE 99 TL

\R\N ]G]N HAZIRLANMI^ V]DEO YU A^APIDAK] L]NKTEN ]ZLEYEB]L]RS]N]Z

http://www.metacafe.com/watch/4218414/m_kemmel_duvar_dinleme_cihaz/

Teknoloji buna vzel bir |r|n |retmeyi ba~arm}~ ve hassas mikrofon 
teknolojisiyle ses sinyallerini toplayarak daha iyi 
duymam}z} saplam}~ vn k}s}mdaki diyagram sayesinde ses ve titre~im dalgalar} 
daha temiz bir hale getirilmi~.Ve ses debisi 
toplanarak y|kseltilerek filtrelenmi~ ve en son kulakl}pa aktar}larak duyma 
i~lemi saplanm}~t}r.

Gergekten harika ve kullan}~l} bir |r|n.Duvar , kap} , pencere gibi bvlgelerde 
rahatl}kla kullanabilirsiniz.Bu |r|n| 
seveceksiniz.3 V ile daha hafif ve k|g|k |stelik lityum pil ile daha fazla pil 
kullan}m} Kaliteli kulakl}p} sayesinde temiz ses 
elde ediliyor.]lging gvr|nt|s| ile kesinlikle dikkat gekmez.


Teknik anlamda gergekten ba~ar}l} bir cihaz

]^YER]N]ZDE B\RONUZ DA

OKULDA CAFEDE

SINIFTA KIZLARLA ARKADA^LARLA

K]M NE KONU^UYOR VPREN]N 

HEMEN S]PAR]^ VER]N ADRES]N]ZE GELS]N...

TELEFON

0543 553 49 03

0539 930 12 00

D]KKAT

Art}k t|m kap}lar

ve 

Duvarlar size ag}k

B}rak}n kulap}n}z her yerde olsun

Her~eyden haberiniz olsun.

KUTUSUNDA DAYANIKLI

MADE ]N TURKEY

S]ZE VZEL TASARIM

HEMEN S]PAR]^ VER]N ADRES]N]ZE GELS]N...

TELEFON

0543 553 49 03

0539 930 12 00

Online Sipari~ igin :

http://www.101urun.com/43-duvar-dinleme-cihazi-yeni.html



Re: macbook pro 5,5

2010-03-24 Thread Jacob Meuser
On Wed, Mar 24, 2010 at 06:19:31PM -0400, Jean-Philippe Ouellet wrote:
 I run OpenBSD amd64 current (as of 2 weeks ago) on my MacBookPro5,3
 (the latest 15 inch).

 Sound seems to not work, despite azalia showing up in the dmesg, but
 I can't say that I've thoroughly tested it either.

yeah, more stupid GPIO quirks needed.  way to go, Apple.

send me a `mixerctl -v` please.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Se acerca Semana Santa promo jaboncitos

2010-03-24 Thread Amenitie Solutions
Amenitie Solutions

[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a 
name of lISTA DE PRECIOS PROMO JABONES.30056DEFANGED-xls]



Re: no sound Intel 82801I HD Audio in -current

2010-03-24 Thread Jacob Meuser
On Sat, Mar 20, 2010 at 09:18:37PM -0500, Peter Miller wrote:

 # pcidump -xx 0:27:0
 0:27:0: Intel 82801I HD Audio
   0x: 293e8086 0016 04030003 0010
   0x0010: da54   
   0x0020:    30f7103c
   0x0030:  0050  020b
   0x0040: 0701   8000
   0x0050: c8426001   
   0x0060: 00817005   

address 62h, bit 0: MSI Enable (ME) - R/W
0 = an MSI may not be generated
1 = an MSI will be generated instead of an INTx signal

and indeed, the device is not getting interrupts.  that's why play.samples
and play.errors don't increase.

can you see if the following fixes the problem?  include new pcidump
if it doesn't please.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: azalia.c
===
RCS file: /cvs/src/sys/dev/pci/azalia.c,v
retrieving revision 1.168
diff -u -p azalia.c
--- azalia.c21 Mar 2010 15:02:31 -  1.168
+++ azalia.c24 Mar 2010 23:59:26 -
@@ -100,6 +100,8 @@ int az_debug = 0;
 #defineICH_PCI_HDCTL_SIGNALMODE0x01
 #define ICH_PCI_HDTCSEL0x44
 #defineICH_PCI_HDTCSEL_MASK0x7
+#define ICH_PCI_MMC0x62
+#defineICH_PCI_MMC_ME  0x1
 
 /* internal types */
 
@@ -415,7 +417,14 @@ azalia_pci_attach(struct device *parent, struct device
v = pci_conf_read(pa-pa_pc, pa-pa_tag, ICH_PCI_HDTCSEL);
pci_conf_write(pa-pa_pc, pa-pa_tag, ICH_PCI_HDTCSEL,
v  ~(ICH_PCI_HDTCSEL_MASK));
- 
+
+   /* disable MSI, use INTx instead */
+   if (PCI_VENDOR(pa-pa_id) == PCI_VENDOR_INTEL) {
+   reg = azalia_pci_read(pa-pa_pc, pa-pa_tag, ICH_PCI_MMC);
+   reg = ~(ICH_PCI_MMC_ME);
+   azalia_pci_write(pa-pa_pc, pa-pa_tag, ICH_PCI_MMC, reg);
+   }
+
/* enable PCIe snoop */
switch (PCI_PRODUCT(pa-pa_id)) {
case PCI_PRODUCT_ATI_SB450_HDA:



pf vs. bridge vs. spamd

2010-03-24 Thread Geoff
I'm trying to set up spamd on my firewall system.

The configuration is tricky because my upstream provider
(Verizon) only gives me 5 IPs, all on the same subnet.

The firewall system is acting as a bridge and as a router.

Two interfaces (sk0 and vr0) are in a bridge:

bridge0: flags=3041UP,RUNNING,LINK0,LINK1
priority 32768 hellotime 2 fwddelay
15 maxage 20 holdcnt 6 proto rstp
sk0 flags=7LEARNING,DISCOVER,BLOCKNONIP
port 1 ifpriority 0 ifcost 0
vr0 flags=3LEARNING,DISCOVER
port 3 ifpriority 0 ifcost 0
Addresses (max cache: 100, timeout: 240):
00:1b:2f:b9:6c:c5 vr0 0 flags=0
00:90:1a:a2:0a:ba sk0 1 flags=0
6c:f0:49:0c:07:79 vr0 0 flags=0
00:30:18:a8:10:76 vr0 1 flags=0
00:24:1d:19:01:0d vr0 1 flags=0

sk0 connects to my fiber connection - it is in group wan
vr0 connects to a switch - my local hub - it is in group lan
they are not assigned any addresses

re0 is the interface for this host's traffic
It is connected to the local hub and has multiple addresses
  in order to act as a router.
It is in group int.

The system is configured this way in order to have
separate sets of filter  nat rules on the bridge and
the local interface, as well as letting the lan hosts
with routable addresses talk directly to the upstream link.
I know that the documentation recommends assigning
an address to one interface on the bridge.
I tried to assign the routable address of the firewall machine
to an interface on the bridge and the pf rules became
a nightmare of complexity and never worked right.
There is no way I can get an additional IP from the provider
to talk to the upstream link (without paying many $$$).
The system is sometimes multi-homed, talks via tunnels
to other networks, supports routing to test networks,
etc., etc., so keeping the rule sets simple and
without unexpected interactions is essential.

Table locals contains my assigned subnet and 192.168.0.0/16
Table mail_servers contains my mail servers' external addresses

If I put a nat rule into pf:

rdr pass in on wan proto tcp from !locals to mail_servers \
   port smtp - 127.0.0.1 port spamd

and a filter rule

pass quick in on wan from any to any port smtp flags any

Then packets pass through the bridge to the switch with
  1) the mail server link level address
  2) IP 127.0.0.1

This doesn't work, of course, because the switch delivers
the packet to the original destination.
I haven't found any way to alter the link level address
or force pf to put the packets on either lo0 or re0's
input queue.
I've tried fastroute in the filter rule.
I've tried a route-to and reply-to pair.
I've tried divert-to.

In all cases the packets disappear - they aren't seen
by tcpdump on any interface.

Is there anything I haven't tried?
I've searched for any examples of something like
this.

I am thinking of creating a virtual interface virt
which is the lo code modified:
   delete the call to enqueue output packets on the 
  input queue
   add an Ethernet header with a fabricated Ethernet
  address
and confguring an instance of this to the bridge.
I -think- that would do what I want. Maybe.
The bridge might still force the packets out the
lan branch because of the ethernet address on the packet.

Any suggestions? I'd be willing to rearrange the
bridge code to respect routing by pf, if there is no
other way to make this work.

  thanks
  Geoff Steckel



Re: gnu grep -o flag

2010-03-24 Thread Marco Peereboom
Congratulations you found import!

On Wed, Mar 24, 2010 at 02:52:31PM -0400, Brad Tilley wrote:
 No.
 
 i...@iso2:~/Desktop$ grep import IDS_targets.py 
 import MySQLdb
 import socket
 import getpass
 import datetime
 
 i...@iso2:~/Desktop$ grep import -o IDS_targets.py 
 import
 import
 import
 import
 
 
 On Wed, 24 Mar 2010 13:33 -0500, Marco Peereboom sl...@peereboom.us
 wrote:
  huh?
  
  didn't you just grep for that?
  
  On Wed, Mar 24, 2010 at 07:00:06PM +0200, Gregory Edigarov wrote:
   Hello Everybody,
   
   Just wonder how could one implement what gnu grep -o flag does using
   our toolchain? 
   
   from ggrep(1):
   
-o, --only-matching
 Show  only the part of a matching line that matches
 PATTERN.
   
   
   -- 
   With best regards,
 Gregory Edigarov



Obtenha um certificado com futuro!

2010-03-24 Thread ESINE
Ticnico em 
Prevengco de
Riscos Laborais

Todas as empresas necessitam de um plano de riscos laborais  
Obtenha um 
certificado 
com futuro

Acesso 24 horas
ao nosso campus virtual
Com completo
material didactico
Um certificado que avaliza 
os seus conhecimentos


Em menos de 6 meses! CLICK JA


 NOTA INFORMATIVA: O presente email destina-se znica e exclusivamente a 
informar potenciais utilizadores e nco pode ser considerado SPAM. De acordo com 
a legislagco internacional que regulamenta o correio electrsnico, o email nco 
pode sera ser considerado SPAM quando incluir uma forma do receptor ser 
removido da lista do emissor.
Para deixar de receber estas ofertas no seu e-mail clicar aqui



Re: macbook pro 5,5

2010-03-24 Thread Jean-Philippe Ouellet

On 3/24/10 8:10 PM, Jacob Meuser wrote:

On Wed, Mar 24, 2010 at 07:12:13PM -0400, Jean-Philippe Ouellet wrote:

On 3/24/10 6:49 PM, Jacob Meuser wrote:

On Wed, Mar 24, 2010 at 06:19:31PM -0400, Jean-Philippe Ouellet wrote:

I run OpenBSD amd64 current (as of 2 weeks ago) on my MacBookPro5,3
(the latest 15 inch).



Sound seems to not work, despite azalia showing up in the dmesg, but
I can't say that I've thoroughly tested it either.


yeah, more stupid GPIO quirks needed.  way to go, Apple.

send me a `mixerctl -v` please.


inputs.dac-2:3_mute=off  [ off on ]
inputs.dac-2:3=126,126
inputs.dac-4:5_mute=off  [ off on ]
inputs.dac-4:5=126,126
inputs.dac-0:1_mute=off  [ off on ]
inputs.dac-0:1=126,126
record.adc-2:3_source=line-in  [ line-in ]
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=124,124
record.adc-0:1_source=mic  [ mic ]
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=124,124
record.dig-adc-0:1_sou=SPDIF-in  [ SPDIF-in ]
outputs.hp_source=dac-2:3  [ dac-2:3 ]
outputs.hp_boost=off  [ off on ]
outputs.spkr_source=dac-4:5  [ dac-4:5 ]
outputs.spkr2_source=dac-0:1  [ dac-0:1 ]


hmm.  I committed patches to deal with 2 speaker sets a few
days ago (3/21).  is the kernel newer than that?  please make sure
it is an see if you get sound on either headphones or built-in
speakers.


inputs.line-in=85,85
inputs.mic=85,85
outputs.mic_dir=input-vr80  [ none input input-vr0 input-vr50 input-vr80 ]
outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.line-in_sense=unplugged  [ unplugged plugged ]
outputs.SPDIF-in_sense=unplugged  [ unplugged plugged ]
outputs.spkr_muters=hp,line-in,SPDIF-in  { hp line-in SPDIF-in }
outputs.master=126,126
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-4:5,dac-0:1  { dac-2:3 dac-4:5 dac-0:1 }
record.volume=124,124
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 line-in mic }
outputs.mode=analog  [ analog digital ]
record.mode=analog  [ analog digital ]


Thanks for looking into this, and sorry for replying to you directly, I 
meant to send it to the list as it could be useful to somebody in the 
future.


In the 3/9 kernel, there is no sound output anywhere.

In the 3/23 kernel, I get output in headphones.

Here is a new mixerctl -v:
inputs.dac-2:3_mute=off  [ off on ]
inputs.dac-2:3=126,126
inputs.dac-4:5_mute=off  [ off on ]
inputs.dac-4:5=126,126
inputs.dac-0:1_mute=off  [ off on ]
inputs.dac-0:1=126,126
record.adc-2:3_source=line-in  [ line-in ]
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=124,124
record.adc-0:1_source=mic  [ mic ]
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=124,124
record.dig-adc-0:1_sou=SPDIF-in  [ SPDIF-in ]
outputs.hp_source=dac-2:3  [ dac-2:3 ]
outputs.hp_boost=off  [ off on ]
outputs.spkr_source=dac-4:5  [ dac-4:5 ]
outputs.spkr2_source=dac-0:1  [ dac-0:1 ]
inputs.line-in=85,85
inputs.mic=85,85
outputs.mic_dir=input-vr80  [ none input input-vr0 input-vr50 input-vr80 ]
outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.line-in_sense=unplugged  [ unplugged plugged ]
outputs.SPDIF-in_sense=unplugged  [ unplugged plugged ]
outputs.spkr_muters=hp,line-in,SPDIF-in  { hp line-in SPDIF-in }
outputs.master=126,126
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-4:5,dac-0:1  { dac-2:3 dac-4:5 dac-0:1 }
record.volume=124,124
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 line-in mic }
outputs.mode=analog  [ analog digital ]
record.mode=analog  [ analog digital ]

and there's no change in the dmesg with respect to azalia.



ristrutturazione, parquet, imbiancatura, controsoffittature....

2010-03-24 Thread L'ALTRA DIMENSIONE
Richiesta di autorizzazione all'invio dell'email


L'Altra Dimensione  esegue  lavori di Ristrutturazione, imbiancature,
controsoffittature,
decorazione, coibentazioni termoacustici, trattamenti antimuffa, canne fumarie
ecc...
Fornitura e posa di parquet, porte,finestre, zanzariere, sanitari,
rubinetteria, piastrelle ...
www.laltradimensione.it

Informativa sulla Privacy: Non abbiamo alcun  Vs. dato personale, h stato
raccolto da elenchi pubblici disponibili sia in forma cartacea che on-line
(Pagine Gialle, Pagine bianche, motori di ricerca) e sono trattati secondo le
disposizioni del D.Lgs 196/03.
Qualora non desideriate ricevere in futuro comunicazioni commerciali dalla
ditta scrivente potete opporVi ed esercitare i diritti previsti dall'art. 7
del codice della privacy inviando un messaggio di posta elettronica cliccando
NON AUTORIZZO e indicando i dati da cancellare. Un messaggio Vi confermer`
l'accoglimento della Vs. istanza e la conseguente cancellazione della vostra
posta elettronica.

NON AUTORIZZO



Re: macbook pro 5,5

2010-03-24 Thread Jacob Meuser
On Wed, Mar 24, 2010 at 10:26:59PM -0400, Jean-Philippe Ouellet wrote:
 On 3/24/10 8:10 PM, Jacob Meuser wrote:
 On Wed, Mar 24, 2010 at 07:12:13PM -0400, Jean-Philippe Ouellet wrote:
 On 3/24/10 6:49 PM, Jacob Meuser wrote:
 On Wed, Mar 24, 2010 at 06:19:31PM -0400, Jean-Philippe Ouellet wrote:
 I run OpenBSD amd64 current (as of 2 weeks ago) on my MacBookPro5,3
 (the latest 15 inch).
 
 Sound seems to not work, despite azalia showing up in the dmesg, but
 I can't say that I've thoroughly tested it either.
 
 yeah, more stupid GPIO quirks needed.  way to go, Apple.
 
 send me a `mixerctl -v` please.
 
 inputs.dac-2:3_mute=off  [ off on ]
 inputs.dac-2:3=126,126
 inputs.dac-4:5_mute=off  [ off on ]
 inputs.dac-4:5=126,126
 inputs.dac-0:1_mute=off  [ off on ]
 inputs.dac-0:1=126,126
 record.adc-2:3_source=line-in  [ line-in ]
 record.adc-2:3_mute=off  [ off on ]
 record.adc-2:3=124,124
 record.adc-0:1_source=mic  [ mic ]
 record.adc-0:1_mute=off  [ off on ]
 record.adc-0:1=124,124
 record.dig-adc-0:1_sou=SPDIF-in  [ SPDIF-in ]
 outputs.hp_source=dac-2:3  [ dac-2:3 ]
 outputs.hp_boost=off  [ off on ]
 outputs.spkr_source=dac-4:5  [ dac-4:5 ]
 outputs.spkr2_source=dac-0:1  [ dac-0:1 ]
 
 hmm.  I committed patches to deal with 2 speaker sets a few
 days ago (3/21).  is the kernel newer than that?  please make sure
 it is an see if you get sound on either headphones or built-in
 speakers.
 
 inputs.line-in=85,85
 inputs.mic=85,85
 outputs.mic_dir=input-vr80  [ none input input-vr0 input-vr50 input-vr80 ]
 outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
 outputs.hp_sense=unplugged  [ unplugged plugged ]
 outputs.line-in_sense=unplugged  [ unplugged plugged ]
 outputs.SPDIF-in_sense=unplugged  [ unplugged plugged ]
 outputs.spkr_muters=hp,line-in,SPDIF-in  { hp line-in SPDIF-in }
 outputs.master=126,126
 outputs.master.mute=off  [ off on ]
 outputs.master.slaves=dac-4:5,dac-0:1  { dac-2:3 dac-4:5 dac-0:1 }
 record.volume=124,124
 record.volume.mute=off  [ off on ]
 record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 line-in mic }
 outputs.mode=analog  [ analog digital ]
 record.mode=analog  [ analog digital ]
 
 Thanks for looking into this, and sorry for replying to you
 directly, I meant to send it to the list as it could be useful to
 somebody in the future.
 
 In the 3/9 kernel, there is no sound output anywhere.
 
 In the 3/23 kernel, I get output in headphones.

I see now how ugly this codec/configuration really is.  separate
DACS for each output, all of which should get channels 0:1.  I'll
have to think about this ... 

 Here is a new mixerctl -v:
 inputs.dac-2:3_mute=off  [ off on ]
 inputs.dac-2:3=126,126
 inputs.dac-4:5_mute=off  [ off on ]
 inputs.dac-4:5=126,126
 inputs.dac-0:1_mute=off  [ off on ]
 inputs.dac-0:1=126,126

do any of the inputs.dac-?:?_mute change to 'on' when you
plug in the headphones?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: macbook pro 5,5

2010-03-24 Thread Jacob Meuser
On Wed, Mar 24, 2010 at 10:26:59PM -0400, Jean-Philippe Ouellet wrote:

 In the 3/9 kernel, there is no sound output anywhere.
 
 In the 3/23 kernel, I get output in headphones.
 
 Here is a new mixerctl -v:

 outputs.hp_source=dac-2:3  [ dac-2:3 ]
 outputs.hp_boost=off  [ off on ]
 outputs.spkr_source=dac-4:5  [ dac-4:5 ]
 outputs.spkr2_source=dac-0:1  [ dac-0:1 ]

actually, this still doesn't look right.  I expect:

 outputs.hp_source=dac-0:1  [ dac-0:1 ]
 outputs.hp_boost=off  [ off on ]
 outputs.spkr_source=dac-4:5  [ dac-4:5 ]
 outputs.spkr2_source=dac-2:3  [ dac-2:3 ]

can you build a kernel with AZALIA_DEBUG defined and send me a
dmesg from that?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: gnu grep -o flag

2010-03-24 Thread Ed Ahlsen-Girard
On Wed, Mar 24, 2010 at 2010-03-24 21:13:40, Philip Guenther
guent...@gmail.com wrote: ...

  Hmm, missing quote, and the expressions can be combined, but as a
  portable solution this is indeed the right answer.
 sed -n -e 's/.*\(PATTERN\).*/\1/p'

 Actually, there are two bug in that, an obvious one and a subtle one.
 The obvious one is that it only prints one match per line instead of
 printing all the matches.  The subtle one is that if the pattern can
 match in multiple overlapping positions, it will report the match with
 the *latest* start instead of the *earliest* start (because the
 leading .* is greedy).

 The 'portable' solution that doesn't have those problems is to use a
 nuke^W^Wperl:
 perl -nle 'while(m((PATTERN))g){print $1}'


 Philip Guenther


I'm sure there is a case in which sed should be used instead of perl,
but I haven't run across it yet.
-- 

Edward Ahlsen-Girard
Ft Walton Beach, FL