Re: pf: blocklists

2010-03-03 Thread Tomas Bodzar
http://www.openbsd.org/spamd/

On Thu, Mar 4, 2010 at 1:58 AM, nixlists  wrote:
> Does anyone use blocklists of addresses for blocking spam and other
> unwanted traffic, such as those from okean and other places? How do
> you manage download and conversion/loading of blocklists?
> Automatically through scripts or manually? .
>
> Thanks.
>
>



-- 
http://www.openbsd.org/lyrics.html



Re: How to create an installation image of OpenBSD for a USB stick?

2010-03-03 Thread Matthias Guedemann
Hi,

> I have a pretty tricky challenge before me. My main (and only) machine is a 
> Lenovo Thinkpad X200s. The problem is that it doesn't have an optical drive. 
> Second problem is that I live in a dorn, so I only have access to wireless 
> connection, not wired. And I want to install OpenBSD to a laptop that is 
> currently running Debian Linux.

Not tricky at all, look at liveusb-openbsd.sf.net
You find images ready to install on USB there, different sizes of live images
and also an installation image.
On the page you find also _very_ simple advice of how to create these images for
yourself using qemu, i.e. if you want to run -current. 

I used the live image to test if my hardware works (it did - Asus EEE 901) and
then created a -current installation USB stick.

regards
Matthias



Re: FWIW Current snapshot Apache/PHP buggy

2010-03-03 Thread Robert
On Wed, 03 Mar 2010 17:37:23 -0600
Vijay Sankar  wrote:

> I have problems running Horde on 4.7 -beta i386. The /var/www/tmp 
> directory gets filled with sess_ files and there is no output on any
> of the frames.

4.7-beta is not very precise, date of snapshot build or cvs
checkoutwould help.
There has been an ABI change for apache.

> 
> I am using the following packages
> 
> php5-core-5.2.12server-side HTML-embedded scripting language

Because of the changes to apache, you need recompiled packages/modules.
The php5 port is at p1.

So my guess is that that's the problem you are hitting.
i386 packages on ftp.openbsd.org are dated 1st of march, those should
be new enough to work with -current apache. (Check if your mirror has
that package build.)

- Robert



Re: Make "don't know how to make"

2010-03-03 Thread Miod Vallat
> make depend:
> make: don't know how to make ../../../../arch/sparc/sparc/auxreg.c. Stop in 
> /disk2/sys/arch/sparc/compile/GENERIC.
>
> Suggestions?

Try `rm -f .depend' before running `make depend'.



recyclage materiel informatique, bureautique (DEEE) gratuit

2010-03-03 Thread DEEE
Vous vous jtes s{rement  posi cette question + Que faire de notre matiriel
obsolhte ?;.
 
R2DEFI  est la solution ` votre problhme.
 
Le mitier de R2DEFI est le Recyclage et la Revalorisation de matiriel
informatique et bureautique (DEEE).
Le respect de lenvironnement est un enjeu primordial pour limage de
lentreprise. Mais ginhre des co{ts.
 
 R2DEFI prend en charge la fin de vie de votre  matiriel informatique,
(ordinateurs, icrans, imprimantes, tiliphonie, fax, photocopieurs,
consommables, etc...) et

ce GRATUITEMENT.


Vous jtes ainsi  libiris des  co{ts de destruction de vos matiriaux
informatiques obsolhtes.
 
Nous vous rappelons que nos services de recyclage sont gratuits, bordereau de
suivi de dechets inclu, hormis les frais de transport. Vous trouverez ci-joint
notre plaquette, ricapitulant nos services.
 
 
En espirant collaborer ensemble dans un futur proche, nhisitez pas ` nous
contacter pour de plus amples informations.
 
Cordialement.


prisentation de notre prestation
 ( "http://www.r2defi.com/mailing/091002/PLAQUETTE_R2DEFI_090703.pdf"; )



www.r2defi.com

dsed...@r2defi.com ( "mailto:dsed...@r2defi.com"; ) ou 09 72 11 33 40
Pour ne plus recevoir d'information de R2DEFI, suivez ce lien :
Disabonnement.
 Ne ripondez pas ` cet email, il ne sera pas traiti.
La sociiti imettrice se dimet de toute responsabiliti en cas du non suivi de
ces indications.



Re: Make "don't know how to make"

2010-03-03 Thread Abel Abraham Camarillo Ojeda
Alex Carver  wrote:

> I'm trying to recompile my generic sparc kernel to make use of some 
> /dev/cua* patches that were sent to me on the list not too long ago but 
> now I'm running into a problem with make.
>
> When I first received the patches, things were mostly working but I was 
> running out of memory and swap space (small machine) so a lot of the 
> build was failing.  But make did work at that time.
>
> Now, the only thing different about the system is that I added another 
> hard drive and mounted the entire space as swap.
>
> The root is on disk /dev/sd1a.  That drive is a bit small so there's a 
> second drive that is holding the source code for the kernel.  It is 
> /dev/sd2a and is mounted at /disk2.  I also have a symlink from 
> /usr/src/sys pointing to /disk2/sys where the kernel source is located.
>
> When I first tried (prior to discovering I ran out of memory and swap), 
> I was going to /usr/src/sys/arch/sparc/compile/GENERIC (I had already 
> run "config GENERAL") and then make clean && make depend && make. 
> Everything seemed to work ok other than running out of memory.
>
> Now, after the new swap drive (/dev/sd3a) was added, I get the following:
>
> make clean works
>
> make depend:
> make: don't know how to make ../../../../arch/sparc/sparc/auxreg.c. Stop 
> in /disk2/sys/arch/sparc/compile/GENERIC.
>
> Suggestions?

are you running current? if so:

http://www.openbsd.org/faq/current.html#20100203

--
DISCLAIMER: http://goldmark.org/jeff/stupid-disclaimers/ 
This message will self-destruct in 3 seconds.



Nova Versao para Download

2010-03-03 Thread adobe
.Adobe Flash Player

[IMAGE]

Atualizando seu novo Adobe Flash Player

A Versco do seu Flash Player instalado em seu computador i incompatmvel
para a visualizagco de seus vmdeos e sites na internet.

ATUAL VERSCO INSTALADA: 9.0.120.0

[IMAGE]

Adobe Flash Player versco 10.0.12.36
Windows | 23 KB

Navegador: Internet Explorer, Firefox, Mozilla, Netscape, Opera
Tempo estimado de download: 50 segundos a modem de 56 K

Copyright ) 2010 Adobe Systems Incorporated. Todos os direitos
reservados.

O uso deste site indica que vocj concorda com os Termos de uso.



Make "don't know how to make"

2010-03-03 Thread Alex Carver
I'm trying to recompile my generic sparc kernel to make use of some 
/dev/cua* patches that were sent to me on the list not too long ago but 
now I'm running into a problem with make.


When I first received the patches, things were mostly working but I was 
running out of memory and swap space (small machine) so a lot of the 
build was failing.  But make did work at that time.


Now, the only thing different about the system is that I added another 
hard drive and mounted the entire space as swap.


The root is on disk /dev/sd1a.  That drive is a bit small so there's a 
second drive that is holding the source code for the kernel.  It is 
/dev/sd2a and is mounted at /disk2.  I also have a symlink from 
/usr/src/sys pointing to /disk2/sys where the kernel source is located.


When I first tried (prior to discovering I ran out of memory and swap), 
I was going to /usr/src/sys/arch/sparc/compile/GENERIC (I had already 
run "config GENERAL") and then make clean && make depend && make. 
Everything seemed to work ok other than running out of memory.


Now, after the new swap drive (/dev/sd3a) was added, I get the following:

make clean works

make depend:
make: don't know how to make ../../../../arch/sparc/sparc/auxreg.c. Stop 
in /disk2/sys/arch/sparc/compile/GENERIC.


Suggestions?



Re: Opteron 250 Overheating

2010-03-03 Thread Christopher Ahrens
>> Henning Brauer wrote:
>> >* Jeff Ross  [2010-03-02 16:59]:
>> >>I bought a replacement supermicro motherboard off fleabay that has 
>> >>dual Opteron 250 @2.4GHz.  The cpus have passive heatsinks, it is in 
>> >>a supermicro 2U chassis with 4 front fans.
>> >
>> >do you have the air shroud? this plastic thing that forms a "tunnel"
>> >over the heatsinks? it is required.
>> >
>> 
>> No, the motherboard didn't come with that.  If I can find one will 
>> that mean I don't need the active heatsinks?
>
>that's how supermicro delivers the 2U systems, so i'd say yes, you won't
need them.

I had this problem before, an old Cereal box + Scissors + tape fixed it
right up.  But your mileage may vary



Re: How to create an installation image of OpenBSD for a USB stick?

2010-03-03 Thread Nick Holland
Ilya Ilembitov wrote:
> Hi, all.
> 
> I have a pretty tricky challenge before me. My main (and only)
> machine is a Lenovo Thinkpad X200s. The problem is that it doesn't
> have an optical drive. Second problem is that I live in a dorn, so
> I only have access to wireless connection, not wired. And I want to
> install OpenBSD to a laptop that is currently running Debian Linux.
> 
> 
> Googling didn't give me any proper answer. Turns out, nearly every
> BSD favour (FreeBSD, NetBSD, DragonFly BSD) has either an image for
> sticks or some straightawy script to get the job done. But not
> OpenBSD. 

Isn't it cool how we use the EXACT SAME process to build a USB stick
as we use to build a hard disk, isn't it?  And that same stick can be
used for running or installing?  It's the Unix Way -- simple tools
usable in powerful ways.  Sad that those other OSs need Special
Procedures and Images to build a flash booting system.

What's next, different installers for IDE and SCSI disks?

(I'm installing Solaris on a machine right now.  I'm NOT in a good
mood about crappy installers at the moment)

> All I could find was: -involving a second machine running
> OpenBSD for network installation -involving a second machine
> running OpenBSD to create the flash using installboot and some
> other BSD-specific tools.

oh, you were complaining about that feature?  huh.

> Seems like in most cases people install OpenBSD on diskless laptops
> when it comes to netbooks but not primary machines. Which is not my
> case.

no idea what you said there, but I'm pretty sure it is quite wrong.
After all the time I've spent saying "workstation/server, what's the
difference?", now you are splitting a line between primary machines
and laptops or between netbooks and laptops...

> Is there a script of some sort that could convert an OpenBSD
> install46.iso to an img file for a stick using some more common
> (non-BSD specific) tools? The best howto I could find is this one:
> http://www.azbsd.org/~marco/openbsd/flashkeyinstaller/ But it
> involves installboot and some other tools that are not available on
> a GNU system. What could I do? Or perhaps somebody could create and
> host an image (with all the filesets for 4.6) or just put it on
> some filehosting service? It's still just some 250-300 megs.

There's a really simple solution, it's called "a friend" (I know,
strange concept to some of us in the computer world.  Best explanation
I can give is someone whom you have fixed their computer, they might
otherwise have no reason to talk to you, but now they might actually
feel an obligation to tolerate you, and might be willing to help you
in gratitude).

You ask to borrow the friend's computer (which has a CDR drive), ask
them to burn you the image, then ask them to let you boot that disk
and install to your USB flash drive:

http://www.openbsd.org/faq/faq4.html#noflopcd
http://www.openbsd.org/faq/faq14.html#flashmemLive

Other than the ISO file, you write nothing to their disk, and you can
burn the ISO from any OS you want, and that OS is not involved in the
flash disk creation process in any way.  The machine you install the
flash drive on doesn't even have to be able to boot from a USB drive.

As someone who helps with release testing, I can assure you, I DO NOT
want to see Yet Another Install Media that does something that can't
be done easily with the existing tools.

Nick.



pf: blocklists

2010-03-03 Thread nixlists
Does anyone use blocklists of addresses for blocking spam and other
unwanted traffic, such as those from okean and other places? How do
you manage download and conversion/loading of blocklists?
Automatically through scripts or manually? .

Thanks.



Re: How to create an installation image of OpenBSD for a USB stick?

2010-03-03 Thread L. V. Lammert
On Wed, 3 Mar 2010, Ron McDowell wrote:

> I have used UNetbootin http://unetbootin.sourceforge.net/ to build an
> OpenBSD USB stick image from the OpenBSD ISO image.  I don't remember
> the exact details, but it was pretty straightforward.  I built it on a
> friend's XP machine but looks like there's a Linux version too.
>
The Linux version works well - it will build bootable USB image from any
bootable ISO.

Lee



Saznajte sudbinu svoje veze...

2010-03-03 Thread E-topshop
If you have trouble seeing this mail, click here.

Top Shop

Top E-revija: 46, 3. mart 2010.
Najbolja praktiD
na rešenja i saveti za bolji E>ivot

PoD
etna | Budi fit! | Lepota | Zdrav E>ivot

DomaDinstvo | Zabava i deca | Quelle katalog | Knjige

Top Shop

HIT TV proizvodi!

H2O mop ultra - univerzalni paroD
istaD


H2O mop ultra

Ab Rocket - fitnes sprava - POPUST!

Ab Rocket

FlavorWave Turbo Oven - turbo ...

FlavorWave Turbo Oven

Rina s 90 - priruD
nik za mršavljenje

Rina’s 90 diet

Leg Magic - fitnes sprava

Leg Magic

6 saveta za neiskusne momke

Da li ste se nekada našli u situaciji da je ona iskusnija od Vas?
Saznajte više...

Koliko De Vaša veza trajati?

Proverite da li je neka veza na “duge staze” ili je osuDena na propast
od samog poD
etka.

Osmomartovski ruD
ak iznenaDenja!

Pripremite super kinesku hranu za samo 20 minuta! DokaE>ite da su
muškarci bolji kuvari!

Uz kuDne ljubimce do zdravlja

Saznajte koliko toga dobrog mali D
etvoronoE>ni prijatelji donose u naš
E>ivot.

6 saveta za neiskusne momke

6 saveta za neiskusne momke

ZastrašujuDe je kada shvatite da je ona iskusnija. Najbolje je da ne
pokaE>ete da Vas to muD
i. Ona, zapravo, ne E>eli pored sebe muškarca
koji se plaši i same pomisli da De ga ona zadovoljiti jer on je
"najbolji!" Pogledajte nekoliko trikova pomoDu kojih Dete se odliD
no
snaDi! [Više informacija]

Stara planinska riznica - nega 100% prirodnom kozmetikom.

Stara Planinska Riznica paket 1 - Kosa i telo

Stara Planinska Riznica paket - Nega tela

Anticelulit gel - Stara Planinska Riznica

Stara Planinska Riznica paket ...

Stara Planinska Riznica paket ...

Anticelulit gel - Stara Planinska ...

100% prirodni sastojci Å¡ampona, losiona za kosu i kreme za telo u paketu.

Paket ukljuD
uje anticelulit gel, piling so za kupanje i kremu za negu
lica i tela.

Anticelulit krema 100% biljna - D
isti i hrani koE>u i pomaE>e uklanjanje
celulita.

Cena: 1.590 RSD
[Više informacija]

Cena: 1.690 RSD
[Više informacija]

Cena: 690 RSD
[Više informacija]

Koliko De Vaša veza trajati?

Koliko De Vaša veza trajati?

Rezultati istraE>ivanja vršenog u Australiji predviDaju da li je
ljubavna veza na “duge staze” ili osuDena na propast od samog poD
etka.
Pokazalo se da izreka – "suprotnosti se privlaD
e" nije baš najtaD
nija.
Ukratko: trebalo bi da odaberete partnera sliD
nog sebi. [Više
informacija]

Quelle uz POPUST 30% i HIT Top Shop ponude!

Quelle - Majica Sonnesee

Ab Tronic X2 - Pojas za stomak

Air Sofa Bed - sofa na naduvavanje

Majica Sonnesee

Ab Tronic X2 - Pojas za stomak

Air Sofa Bed - multinamenski leE>aj ...

30%

Jednostavna, lepa, lepršava i lagana E>enska majica. Uz 30% popusta!

I do 7 puta bolji efekat od klasiD
nog veE>banja! Koristite ga samo 10
minuta dnevno!

Elegantna sofa, udobna za spavanje, zgodna i za opuštanje. Za stan ili
vikendicu!

Cena: 1.533 RSD
[Više informacija]

Cena: 7.990 RSD
[Više informacija]

Cena: 7.490 RSD
[Više informacija]

Iznenadite je ruD
kom za 8. mart

Osmomartovski ruD
ak iznenaDenja!

Kako pripremiti super kinesku hranu za samo 20 minuta? Ukoliko E>elite da
iznenadite svoje ukuDane za 8. mart - jednostavan recept je pred Vama.
Bez mnogo seckanja, dugaD
kih priprema i dosadnog stajanja pored Å¡poreta!
Postignite sjajan efekat uz minimalan napor! [Više informacija]

NOVO - zdravo i praktiD
no...

METALAC - Tiganj Wok

Akvafor bokal za preD
išDavanje vode

METALAC Gril Tava - tiganj za grilovanje

METALAC - Tiganj Wok

Akvafor bokal za preD
išDavanje ...

Gril Tava - tiganj za grilovanje ...

Tiganj za spremanje kineske hrane METALAC donosi ukus istoka i u Vašu
kuhinju!

Sa Aquafor bokalom moE>ete uvek imati sveE>e, D
iste i kvalitetne vode u
kuDi.

Pravo rešenje za roštilj i grilovano povrDe kod kuDe - bez dugog
D
ekanja i dima!

Cena: 2.190 RSD
[Više informacija]

Cena: 2.490 RSD
[Više informacija]

Cena: 1.990 RSD
[Više informacija]

Do boljeg zdravlja i raspoloE>enja ...

Uz kuDne ljubimce do zdravlja

Koliko dobrog mali D
etvoronoE>ni prijatelji donose u naš E>ivot?
E=ivotinje su oduvek deo E>ivota ljudi. Ova predivna stvorenja bude naše
najlepše emocije. Kada smo uz njih osetimo da oni sa nama dele sreDu i
tugu. Odani su drugari – posebno psi, koji vlasnika nikada neDe
izneveriti. [Više informacija]

Pokloni za svakoga...

Dragon Fly - Stimulator mišiDa

Doris™ - kreativna igra i slagalica

Hair Do - umetak za kosu

Dragon Fly - Stimulator mišiDa

Doris™ - kreativna igra i slagalica

Hair Do - umetak za kosu

Dovoljno je samo da zalepite jastuD
iDe na mišiDe koje E>elite da
veE>bate i opustite se.

Kreativna i edukativna igra i slagalica za uzrast od 6 do 106 godina.

HairDo umeci za kosu - za savršene frizure u 16 nijansi i 2 tipa kose.
Izgledajte savršeno!

Cena: 4.490 RSD
[Više informacija]

Cena: 3.990 RSD
[Više informacija]

Cena: 7.990 RSD
[Više informacija]

Ovu elektronsku poštu primate, ukoliko ste svojevoljno ostavili svoju
e-mai

Re: OpenBSD binpatch autogen.pl

2010-03-03 Thread G. Otsuji
Hello,

My attachment was stripped out.
here is autogen.pl a Makefile generator for binpatch-1.1.0.

#!/usr/bin/perl
use strict;
my $SITE="ftp://ftp.openbsd.org/pub";;
if(@ARGV==1){
  $SITE=$ARGV[0];
}else{
  printf("binpatch Makefile skelton(s) generator.\n");
  printf("example usage: perl $0 ftp://ftp.openbsd.org/pub\n";);
  exit(0);
}
my $OSREV=`uname -r`;
chomp $OSREV;
my $ARCH=`uname -m`;
chomp $ARCH;
my @list=("common",$ARCH);
if (! -e "$OSREV.tar.gz"){
system("ftp $SITE/OpenBSD/patches/$OSREV.tar.gz");
}
system("tar zxvf $OSREV.tar.gz");
my $mk;
open($mk,">Makefile") or die;
printf($mk "MASTER_SITE_OPENBSD=$SITE\n");
my $sh;
open($sh,"|sort -n > make.sh") or die;
for(@list){
  my $arch=$_;
  my @patches;
  my $dir;
  opendir($dir,"$OSREV/$arch");
  for(sort readdir $dir){
if(/^(.+).patch$/){
   $_=$1;
  push @patches,$_;
  /^(\d+)/;
  printf($sh "make PATCH=\"%s\" build plist package install\n",$1);
}
  }
  closedir($dir);
  printf($mk "PATCH_%s=%s\n","\U$arch",join(" ",@patches));
}
close($sh);
for(@list){
  my $arch=$_;
  my $dir;
  opendir($dir,"$OSREV/$arch") or die;
  for(sort readdir $dir){
next if !/^(.+).patch$/;
my $name=$1;
my $file=$_;
my $fh;
open($fh,"$OSREV/$arch/$file") or die;
my $flag=0;
my $ldir=".";
while(<$fh>){
  chomp;
  if(/^Index:/ or /^\-\-\-/){
printf($mk "\n");
last;
  }
  if($flag==2){
if(/cd (.+)/){
  $ldir.="/".$1;
  $ldir=~s/\/\.\//\//g;
  $ldir=~s/^\.\///;
  do{}while($ldir=~s/[^\/]+\/\.\.\///g);
  $dir='${WRKSRC}/'.$ldir;
  s/cd (.+)/cd $dir/;
}
s/make obj/\${_obj}/;
s/make cleandir/\${_cleandir}/;
s/make clean/\${_cleandir}/;
s/make depend/\${_depend}/;
s/make includes/\${_includes}/;
s/make build/\${_build}/;
s/make install/\${_install}/;
s/make -f Makefile.bsd-wrapper obj/\${_obj_wrp}/;
s/make -f Makefile.bsd-wrapper cleandir/\${_cleandir_wrp}/;
s/make -f Makefile.bsd-wrapper clean/\${_cleandir_wrp}/;
s/make -f Makefile.bsd-wrapper depend/\${_depend_wrp}/;
s/make -f Makefile.bsd-wrapper install/\${_install_wrp}/;
s/make -f Makefile.bsd-wrapper build/\${_build_wrp}/;
s/make -f Makefile.bsd-wrapper/\${_build_wrp}/;
s/make/\${_build}/;
if(/_install/){
  $_="";
}
s/^\s+//;
s/\s+$//;
if(!/^$/){
  if(/^cd/){
printf($mk "\t$_ \&\& \\\n\t(");  
  }elsif(/_build/){
printf($mk "%s)\n",$_);
  }else{
printf($mk "%s; ",$_);
  }
}
  }
  if(/then.*build.*install.*kernel/i){
printf($mk "$name: _kernel\n");
$flag=3;
  }elsif(/then.*build.*install/i){
printf($mk "$name:\n");
$flag=1;
  }
  if(/:/ and $flag==1){
$flag=2;
  }
}
close($fh);
  }
}
printf($mk ".include \"bsd.binpatch.mk\"\n");
close($mk);



On Wed, 3 Mar 2010 11:22:31 -0700
Barry Grumbine  wrote:

> Hello,
> 
> Your post to to misc@openbsd.org could not have been more timely.
> I've just started setting up binpatch and am at the point where I have
> to translate patch file instructions into Makefile commands.
> 
> I would like to have a look at autogen.pl but the attachment was
> stripped out of your e-mail by the mailing list.
> 
> Would you please send it to me, and/or post another message to misc@
> with the text of autogen.pl inline with the message.
> 
> 
> Thanks,
> 
> Barry
> 


-- 
G Otsuji 



Re: Dump levels ?

2010-03-03 Thread Kapetanakis Giannis

On 04/03/10 01:21, Jean-Francois wrote:


A level 0 dumps includes all files. A level n dump are all the files
that have changed or were added since the last level n - 1 dump.

-Otto


Are all dump levels packed into the same one file like I seem to understand ?

As far as I am concerned I dump in this way :
dump  -0u -f /mnt/backup/backup /mnt/donnees/
dump  -1u -f /mnt/backup/backup /mnt/donnees/
...

This is correct, is'nt it ?
Regards.


That's incorrect.

In your first command you do a full backup of /mnt/donnees
and save it to the file /mnt/backup/backup.

With your second command you do an incremental backup which saves
only the changed files between the first backup and now. You save it
on the same file which means that you overwrite/delete the first backup.

If you wanted to restore something you would be able to restore
only the changed files between first and second backup. You need
to have both files (stored separately) to do full -current (tm)
restore of your files.

If you wander why to use different dump levels the answer is for
organizing the backup policy and saving a hell lot of space/tapes
than doing always full backups.

regards,

Giannis



Re: How to create an installation image of OpenBSD for a USB stick?

2010-03-03 Thread Ron McDowell
I have used UNetbootin http://unetbootin.sourceforge.net/ to build an 
OpenBSD USB stick image from the OpenBSD ISO image.  I don't remember 
the exact details, but it was pretty straightforward.  I built it on a 
friend's XP machine but looks like there's a Linux version too.


--
Ron McDowell
San Antonio TX



shweg...@gmail.com wrote:

On Thu, 4 Mar 2010, Ilya Ilembitov wrote:


Hi, all.

I have a pretty tricky challenge before me. My main (and only) 
machine is a Lenovo Thinkpad X200s. The problem is that it doesn't 
have an optical drive. Second problem is that I live in a dorn, so I 
only have access to wireless connection, not wired. And I want to 
install OpenBSD to a laptop that is currently running Debian Linux.


Googling didn't give me any proper answer. Turns out, nearly every 
BSD favour (FreeBSD, NetBSD, DragonFly BSD) has either an image for 
sticks or some straightawy script to get the job done. But not 
OpenBSD. All I could find was: -involving a second machine running 
OpenBSD for network installation -involving a second machine running 
OpenBSD to create the flash using installboot and some other 
BSD-specific tools.


Seems like in most cases people install OpenBSD on diskless laptops 
when it comes to netbooks but not primary machines. Which is not my 
case.


Is there a script of some sort that could convert an OpenBSD 
install46.iso to an img file for a stick using some more common 
(non-BSD specific) tools? The best howto I could find is this one: 
http://www.azbsd.org/~marco/openbsd/flashkeyinstaller/ But it 
involves installboot and some other tools that are not available on a 
GNU system. What could I do? Or perhaps somebody could create and 
host an image (with all the filesets for 4.6) or just put it on some 
filehosting service? It's still just some 250-300 megs. -- wbr, 
Ilembitov




I have a Thinkpad x200
Don't you have access to an external drive?
You could install OpenBSD in a virtual machine, and make up the usb 
disk from there.

You could also try this
http://unetbootin.sourceforge.net/
I think I used it to use gpart.




Re: FWIW Current snapshot Apache/PHP buggy

2010-03-03 Thread Vijay Sankar

Duncan Patton a Campbell wrote:

On Sun, 28 Feb 2010 15:01:20 + (UTC)
Stuart Henderson  wrote:


On 2010-02-27, Duncan Patton a Campbell  wrote:

On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett  wrote:


On Thu, Feb 25, 2010 at 03:30:47AM -0700, Duncan Patton a Campbell wrote:
I've just installed a server using current and have found that 
there are problems with session_destroy(); such that is just 
does not work.  

The Apache is the installed (1.3) version and PHP is from 
packages.


I have tested the same software and setup on a 4.5 Release 
(no patches) and there are no problems with sessions.  


Can you provide any more detail?  session_destroy() appears to work fine
with the i386 snap dated 2/23/2010 and latest php5-core snapshot
package.


I mebbe spoke to soon to be conclusive... as of now I am still looking
under rocks... the problem exhibits on a clean 4.5-Release install but
not on my (semi stock) 4.5 development box.

sessions were broken in PHP in 4.5 release, you need to compile
from -stable ports (or move to -current after the next package
snapshot for your arch has been built).



How wide is this problem?  I started out with a 4.6 current, which didn't work,
then 4.5 release... sessions are a fairly important php feature.  What has
me bugged here is that I have a 4.5 system that works fine, but it is not
just release, and has had apache2.2 installed on it (my devsys...) and runable.

Thanks for any help.

Dhu



On 4.6 amd64 -current

kern.version=
OpenBSD 4.6-current (GENERIC.MP) #0: Wed Nov 25 17:27:29 CST 2009 
r...@amd64.sankars.local:/usr/src/sys/arch/amd64/compile/GENERIC.MP


PHP sessions worked fine. I am able to run Horde with postgresql DB and 
OpenBSD httpd on that system.


I have problems running Horde on 4.7 -beta i386. The /var/www/tmp 
directory gets filled with sess_ files and there is no output on any of 
the frames.


I am using the following packages

php5-core-5.2.12server-side HTML-embedded scripting language
php5-gd-5.2.12  image manipulation extensions for php5
php5-imap-5.2.12imap, pop3 and nntp extensions for php5
php5-ldap-5.2.12ldap protocol extensions for php5
php5-mbstring-5.2.12 multibyte characters extensions for php5
php5-mcrypt-5.2.12  mcrypt encryption/decryption extensions for php5
php5-mhash-5.2.12   mhash extensions for php5
php5-pgsql-5.2.12   pgsql database access extensions for php5
php5-tidy-5.2.12tidy HTML cleaner bindings

Please let me know if there is any tests that I can help with.

Thanks,

Vijay





--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca



Re: Dump levels ?

2010-03-03 Thread Jean-Francois
Le Jeudi 18 Fivrier 2010 23:02:38, Otto Moerbeek a icrit :
> On Thu, Feb 18, 2010 at 10:54:55PM +0100, Jean-Francois wrote:
> > Hi,
> >
> > Is it possible to clarify what resides behind the concept of levels
> > regarding dump(8) ?
> > For me the level 0 is understood to be a complete dump of all files on at
> > a given mount point and all subdirectories. But I can't figure out what
> > upper levels are.
> >
> > Regards
>
> A level 0 dumps includes all files. A level n dump are all the files
> that have changed or were added since the last level n - 1 dump.
>
>   -Otto

Are all dump levels packed into the same one file like I seem to understand ?

As far as I am concerned I dump in this way :
dump  -0u -f /mnt/backup/backup /mnt/donnees/
dump  -1u -f /mnt/backup/backup /mnt/donnees/
...

This is correct, is'nt it ?
Regards.



OpenBSD and DSCP field

2010-03-03 Thread Claudiu Pruna
Hello,

I was wondering is there any chance that in the future (close or far)
OpenBSD shall be able to modify (preferred from pf) the DSCP field ?

Thanks & keep it up.

Claudiu Pruna.



Re: How to create an installation image of OpenBSD for a USB stick?

2010-03-03 Thread shwegime

On Thu, 4 Mar 2010, Ilya Ilembitov wrote:


Hi, all.

I have a pretty tricky challenge before me. My main (and only) machine 
is a Lenovo Thinkpad X200s. The problem is that it doesn't have an 
optical drive. Second problem is that I live in a dorn, so I only have 
access to wireless connection, not wired. And I want to install OpenBSD 
to a laptop that is currently running Debian Linux.


Googling didn't give me any proper answer. Turns out, nearly every BSD 
favour (FreeBSD, NetBSD, DragonFly BSD) has either an image for sticks 
or some straightawy script to get the job done. But not OpenBSD. All I 
could find was: -involving a second machine running OpenBSD for network 
installation -involving a second machine running OpenBSD to create the 
flash using installboot and some other BSD-specific tools.


Seems like in most cases people install OpenBSD on diskless laptops when it 
comes to netbooks but not primary machines. Which is not my case.

Is there a script of some sort that could convert an OpenBSD 
install46.iso to an img file for a stick using some more common (non-BSD 
specific) tools? The best howto I could find is this one: 
http://www.azbsd.org/~marco/openbsd/flashkeyinstaller/ But it involves 
installboot and some other tools that are not available on a GNU system. 
What could I do? Or perhaps somebody could create and host an image 
(with all the filesets for 4.6) or just put it on some filehosting 
service? It's still just some 250-300 megs. -- wbr, Ilembitov




I have a Thinkpad x200
Don't you have access to an external drive?
You could install OpenBSD in a virtual machine, and make up the usb disk 
from there.

You could also try this
http://unetbootin.sourceforge.net/
I think I used it to use gpart.



How to create an installation image of OpenBSD for a USB stick?

2010-03-03 Thread Ilya Ilembitov
Hi, all.

I have a pretty tricky challenge before me. My main (and only) machine is a 
Lenovo Thinkpad X200s. The problem is that it doesn't have an optical drive. 
Second problem is that I live in a dorn, so I only have access to wireless 
connection, not wired. And I want to install OpenBSD to a laptop that is 
currently running Debian Linux.

Googling didn't give me any proper answer. Turns out, nearly every BSD favour 
(FreeBSD, NetBSD, DragonFly BSD) has either an image for sticks or some 
straightawy script to get the job done. But not OpenBSD. All I could find was:
-involving a second machine running OpenBSD for network installation
-involving a second machine running OpenBSD to create the flash using 
installboot and some other BSD-specific tools.

Seems like in most cases people install OpenBSD on diskless laptops when it 
comes to netbooks but not primary machines. Which is not my case.

Is there a script of some sort that could convert an OpenBSD install46.iso to 
an img file for a stick using some more common (non-BSD specific) tools? The 
best howto I could find is this one: 
http://www.azbsd.org/~marco/openbsd/flashkeyinstaller/
But it involves installboot and some other tools that are not available on a 
GNU system. What could I do? Or perhaps somebody could create and host an image 
(with all the filesets for 4.6) or just put it on some filehosting service? 
It's still just some 250-300 megs.
-- 
wbr, Ilembitov



Re: Filtering based on MAC adress

2010-03-03 Thread Jean-Francois
Thank you for your help in understanding.

I want to configure a NAT between int_if and ext_if and filter based on MAC 
address.

I was going to proceed as follows, but after reading bridge(4) man page I 
understand that the following won't work.

If the bridge0 has only one member, int_if, it will never accept the packets 
but broadcast, in this case it will not tag them either.

Is it correct and how to proceed in that case ?
I would like to tag packets based on their MAC address.

re0 : int_if
sis0 : ext_if

nat on ext_if from int_if -> ext_if

int_if member of bridge0

brconfig bridge0 rule pass in on re0 src 1:2:3:4:5:6 tag allowed

Regards.



Современный секретарь: делопроизводство и деловое общение

2010-03-03 Thread Карьерный рост для секретаря
   PP>QP:P>P2QP:P8P9 QP5P=QQ P?P>P2QQP5P=P8P5
P:P2P0P;P8QP8P:P0QP8P8 P!P5P:QP5QP0QP5P9

  10 PP?QP>P8P7P2P>P4QQP2P> -
P>QP3P0P=P8P7P0QP8Q P4P>P:QPP>P1P>QP>QP0
  P?QP5P4P?QP8QQP8Q.
PP2QP>Q P8 P2P5P4QQ  P8P9 QP5PP3P0QP>P2P0 P.P!. b P?QP5P?P>P4P0P2P0QP5P;Q
PP4P=P>P3P> Q
QP8P:P5QP0 PP>QP:P>P2QP:P>P3P>
  P1P0P=P:P>P2QP:P>P3P> P8P=QQP8QQQP0 P8 PP>QP:P>P2QP:P>P9
P0P:P0P4P5PQQP4P0QQQP2P5P=P=P>P3P> P8
PP3P> QP?QP0P2P;P5P=P8Q P PPP!
  P?QP8 PQP5P7P8P4P5P=QP5 P P$, P:P>P=QQP;QQP0P=Q
PP>QQP4P0QQQP2P5P=P=P>P9 PQPQP-P?QP0P2P>P2QP5 P0P:QQ P?P>
P4P5P;P>P?QP>P8P7P2P>P4QQP2Q. PQP=P>P2P=QP5 P:P0QP5P3P>QP8P8
P4P>P:QPP2. P!P>P7P4P0P=P8P5
  P"P0P1P5P;Q QP=P8QP8QP8QP>P2P0P=P=QQ QP>QP<
P4P>P:QPP2 P?QP5P4P?QP8QQP8Q. PQP0P2P8P;P0
P>QP>QPP:QPP2.
  PP8P4Q P1P;P0P=P:P>P2. PP0P8P1P>P;P5P5
QP0QP?QP>QQQP0P=P5P=P=QP5 P?P>P3QP5QP=P>QQP8 P?QP8
QP0P7QP0P1P>QP:P5 QP8QPP2
  P>QP3P0P=P8P7P0QP8P8. P P0QP?P>QQP4P8QP5P;QP=QP5
P4P>P:QPP9 QP8P;Q
P4P>P:QPP1P5P=P=P>QQP8 P>QP>QPP:QPP2 P?P> P;P8QP=P>PQQP0P2Q. P!P?QP0P2P>QP=P>-
  P8P=QP>QPP=P=QP5 P4P>P:QPP2P>P5
P?P8QQP. P P5P:P>PQP>QQPP?P8P9
P4P>P:QPP2 P2 P>QP3P0P=P8P7P0QP8P8.
P!P>P2P5QQP5P=QQP2P>P2P0P=P8P5
  P4P5P;P>P?QP>P8P7P2P>P4QQP2P5P=P=QQ P?QP>QP5QQP>P2.
PP>P=QQP>P;Q P8QP?P>P;P=P5P=P8Q. P!P>QQP0P2P;P5P=P8P5
P=P>PQPP2P0P=P8P5 P8 P>QP>QP
P4P>P;P6P5P= P7P=P0QQ P8 QPP4P3P>QP>P2P:P5 P8
  P?P5QP5P4P0QP5 P4P5P; P=P0 P0QQP8P2P=P>P5 QQP0P=P5P=P8P5.
PQP0P:QP8QP5QP:P0Q QP0P1P>QP0 Q P4P>P:QPP2QP5PQP8Q-PP=P0P;QP=QP5 P>P1QP7P0P=P=P>QQP8 P8 Q
QP8P:P5Q
QP;QP6P5P1P=QQ P>QP=P>QP5P=P8P9
  1. PP>QP?P>QP0QP8P2P=P0Q P:QP;QQQQP0. PPP4P=QP9 QQP0P=P4P0QQ.
P$QP=P:QP8P>P=P0P;QP=QP5
  P>P1QP7P0P=P=P>QQP8 QP5P:QP5QP0QQ. PP8QP=QP5 P8
P?QP>QP5QQP8P>P=P0P;QP=QP5 P:P0QP5QQP2P0. PP5P;P>P2P>P5
P>P1Q   P5P=P8P5: P?QP0P2P8P;P0
  Q
QP8P:P5QP0 P?QP8 P?QP8P2P5QQQP2P8P8 P8
P?QP5P4QQP0P2P;P5P=P8P8. P%P0QP0P:QP5QP=QP5 P>QP8P1P:P8 P2
P>QP>QPP;QP7P>P2P0P=P8P8.
  2. P$QP=P:QP8P8 QP5P:QP5QP0QQ P?P> P>QP3P0P=P8P7P0QP8P8
P?QP8P5PQP5QP8QP5P;P5P9. "P"QP0P4P8QP8P>P=P=QP5" P>QP8P1P:P8
P?QP8 P?QP8P5PP2QQ P?P0QQP=P5QP>P2 P8 P?P>QP5QP8QP5P;P5P9.
PP5P6P4QP=P0QP>P4P=QP5 P?QP0P2P8P;P0 P4P0QP5P=P8Q P8 P?QP8P=QQP8Q
P?P>P4P0QP:P>P2 P8
  QQP2P5P=P8QP>P2. PP7P0P8PP>QP=P>QP5P=P8Q Q
QP>QQQP4P=P8P:P0PP2P>P4QQP2P>P<.
PQP?P>P;QP7P>P2P0P=P8P5 P?QP8QP>P;P>P3P8QP5QP:P8Q
  P4P8QQP0P=QP8P9 P8 P6P5QQP>P2 P2 P4P5P;P>P2P>P9
P>P1QQP0P=P>P2P:P5. PQP;QQQQP0 P4P5P;P>P2P>P9 QP5QP8.
PQP0P2P8P;QP=P> P;P8 PP=P=QP5 P?P5QP5P3P>P2P>QQ:
P7P0P1QQQP5 P8QQP8P=Q. PP8P4Q P?QP8P5PP2.

  ** P!QP>P8PQQQ QQP0QQP8Q P2 P:P0P6P4P>P< P8P7 P4P=P5P9 5200
QQP1P;P5P9
  P!QP>P8PQQQ QQP0QQP8Q P2 P4P2QQ P4P=QQ - 8780
QQP1P;P5P9.

  P#QP0QQP=P8P:P8 P>P1P5QP?P5QP8P2P0QQQQ
PP4P8QP5QP:P8P P>P:P>P=QP0P=P8P8 QP5P P?QP>P2P5P4P5P=P8Q: PP>QP:P2P0 P<. P P8P6QP:P0Q,
P#P&PP
  PP0QP2P:P8 P=P0 QQP0QQP8P5 P8 P4P>P?P>P;P=P8QP5P;QP=P0Q
P8P=QP>QP QP5P;. (495) 506-30-78, 741-87-05

  10 PP2P>P5
P4P5P;P>P?QP>P8P7P2P>P4QQP2P>: QP;P>P6P=QP5 P2P>P?QP>QQ P8
  P?QQP8 P8Q QP5QP5P=P8Q P2 2010 P3P>P4Q

  PP5P:QP>Q - PP=P4QP5P5P2P0 PP0P;P5P=QP8P=P0 PP2P0P=P>P2P=P0 b
P:.P8.P=., P?QP>QP5QQP>Q P:P0QP5P4QQ QQQP4P>P2P>P3P> P?QP0P2P0
  P P>QQP8P9QP:P>P9 P0P:P0P4P5PQQP4P8Q, QP;P5P=
PP>P QQQP4P>P2P>PP=P>P4P0QP5P;QQQP2Q
  PP0QP8P>P=P0P;QP=P>P3P> QP>QP7P0 P:P0P4QP>P2P8P:P>P2. PP2QP>Q
P:P=P8P3 P?P> P:P0P4QP>P2P>PP?QP>P8P7P2P>P4QQP2Q.
  P!QP>P8PQQQ QQP0QQP8Q 8000 QQP1.



Re: Filtering based on MAC adress

2010-03-03 Thread Theo de Raadt
> What is the reason why some packets passing on re0 will not be seen on 
> bridge0 
> given I set up the following configuration :
> 
>   bridgename.bridge0
>   add re0
>   up
> 
> I expected to see all the packets passing on re0 on bridge0 too which is 
> obviously not the case.

That would be wrong.  The bridge is a bridge, not a virtual software switch.

It decides not to forward packets which don't need to hit the other segments.

This is described very well in the manual page.

> 
> # brconfig
> bridge0: flags=141
> priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
> re0 flags=3
> port 2 ifpriority 0 ifcost 0
> Addresses (max cache: 100, timeout: 240):
> 00:1f:d0:d0:db:59 re0 1 flags=0<>
> 00:22:b0:de:32:60 re0 1 flags=0<>
> 
> # ifconfig
> re0: flags=8b43 mtu 
> 1500
> lladdr 00:09:55:a9:72:81
> priority: 0
> groups: egress
> media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
> status: active
> inet6 fe80::208:55ff:aea8:7281%re0 prefixlen 64 scopeid 0x2
> inet 10.0.1.44 netmask 0xff00 broadcast 10.0.1.255
> enc0: flags=0<> mtu 1536
> priority: 0
> bridge0: flags=141 mtu 1500
> priority: 0
> groups: bridge
> pflog0: flags=141 mtu 33200
> priority: 0
> groups: pflog
> 
> Regards.



Re: Filtering based on MAC adress

2010-03-03 Thread Jean-Francois
Hi,

What is the reason why some packets passing on re0 will not be seen on bridge0 
given I set up the following configuration :

bridgename.bridge0
add re0
up

I expected to see all the packets passing on re0 on bridge0 too which is 
obviously not the case.

# brconfig
bridge0: flags=141
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
re0 flags=3
port 2 ifpriority 0 ifcost 0
Addresses (max cache: 100, timeout: 240):
00:1f:d0:d0:db:59 re0 1 flags=0<>
00:22:b0:de:32:60 re0 1 flags=0<>

# ifconfig
re0: flags=8b43 mtu 
1500
lladdr 00:09:55:a9:72:81
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
inet6 fe80::208:55ff:aea8:7281%re0 prefixlen 64 scopeid 0x2
inet 10.0.1.44 netmask 0xff00 broadcast 10.0.1.255
enc0: flags=0<> mtu 1536
priority: 0
bridge0: flags=141 mtu 1500
priority: 0
groups: bridge
pflog0: flags=141 mtu 33200
priority: 0
groups: pflog

Regards.



Re: File Server: fsck, memory requirements and large disk drives

2010-03-03 Thread Claus
Thanks for your replies.  I learned a lot from them.  I probably end up 
using multiple larger but manageable partitions until I learn enough 
about ZFS or another alternative.  At least I know what issues I 
currently have.  Maybe a manual fsck would be appropriate to see if 
checking the disks is possible in a reasonable time.



Richard Toohey wrote:
>cpu0: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3GHz
>...
>real mem  = 1071722496 (1022MB)

Richard, we envy you.  Or better said I should spend some money on 
decent hardware instead of using old stuff all the time.


cpu0: Intel Pentium III ("GenuineIntel" 686-class, 128KB L2 cache) 698 MHz
...
real mem  = 535392256 (510MB)
avail mem = 509263872 (485MB)
...
em0 at pci1 dev 10 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 5,
...
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
wd1 at pciide0 channel 1 drive 0: 
wd1: 16-sector PIO, LBA48, 1430799MB, 2930277168 sectors
wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6
wd2 at pciide1 channel 0 drive 0: 
wd2: 16-sector PIO, LBA, 114473MB, 234441648 sectors
wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4
wd3 at pciide1 channel 0 drive 1: 
wd3: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd3(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 4
wd4 at pciide1 channel 1 drive 0: 
wd4: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd4(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 4
...
spdmem0 at iic0 addr 0x50: 256MB SDRAM non-parity PC133CL2
spdmem1 at iic0 addr 0x51: 256MB SDRAM non-parity PC133CL2

I know that's probably a lot of drives for the standard power supply the 
"desktop" computer has.  It's certainly a point of failure that my UPS 
won't take care of.




Re: 802.11QinQ support

2010-03-03 Thread Ross Cameron
On Wed, Mar 3, 2010 at 7:57 PM, Andrew Fresh  wrote:
> On Wed, Mar 03, 2010 at 06:36:05PM +0200, Ross Cameron wrote:
>> Does anyone know off hand if OpenBSD 4.6 or -CURRENT supports
>> 802.1QinQ aka netsted VLans?
>>
>> If so, how do I configure it as I've tried the usual "ifconfig vlan?
>> create" and tried stipulating that the secondary VLan's parent
>> interface it the primary VLan interface. But this doesn't seem to work
>> :(
>
> I have been able to QinQ.
>
> # ifconfig vlan101 vlandev bce0
> # ifconfig vlan201 vlandev vlan101
>
> vlan101: flags=8843 mtu 1500
> B  B  B  B vlan: 101 priority: 0 parent interface: bce0
> vlan201: flags=8843 mtu 1496
> B  B  B  B vlan: 201 priority: 0 parent interface: vlan101
>
> A tcpdump when I actually tried it showed the nested vlans although I
> seem to have lost them.

Sweet its working,...

Didn't know I could just do a ifconfig  ...

Thx for the help!



Re: IP Aliasing with DHCP Click to flag this post

2010-03-03 Thread Held Bier
>> vether(4)

> It should, but I think a few more things need to get fixed before
> that.  The bridge is not very efficient, though.

Do you have any valid reason for this style of naming?
I'm ok with bridge(4) instead of 'br' device naming which can interference
with real device name sooner or later.
But vether(4)... What's wrong with you? It should called 'veth' rather
than that.
This is absolutely improper way of device naming. This path could bring skid you
for example right to Mac OS X dirs naming like '/Library/Users/Vether' without
any shortenings.



Re: 802.11QinQ support

2010-03-03 Thread Andrew Fresh
On Wed, Mar 03, 2010 at 06:36:05PM +0200, Ross Cameron wrote:
> Does anyone know off hand if OpenBSD 4.6 or -CURRENT supports
> 802.1QinQ aka netsted VLans?
>
> If so, how do I configure it as I've tried the usual "ifconfig vlan?
> create" and tried stipulating that the secondary VLan's parent
> interface it the primary VLan interface. But this doesn't seem to work
> :(

I have been able to QinQ.

# ifconfig vlan101 vlandev bce0
# ifconfig vlan201 vlandev vlan101

vlan101: flags=8843 mtu 1500
vlan: 101 priority: 0 parent interface: bce0
vlan201: flags=8843 mtu 1496
vlan: 201 priority: 0 parent interface: vlan101

A tcpdump when I actually tried it showed the nested vlans although I
seem to have lost them.

l8rZ,
-- 
andrew - ICQ# 253198 - Jabber: and...@rraz.net - Twitter: @AFreshOne

BOFH excuse of the day: sticky bit has come loose



[no subject]

2010-03-03 Thread betty . happy
We must protect our planet. Turn off your computer!
Nous devons protC)ger notre planC(te. C teignez votre ordinateur!
Debemos proteger nuestro planeta. Apague su ordenador!
Musimy chroniD naszD planetD. WyEDcz komputer!
PQ P4P>P;P6P=Q P7P0Q P8QP8QQ P=P0QQ P?P;P0P=P5QQ. PQP:P;QQP8QP5 
P:P>Phttp://www.theworld.su
 
Send this message to all your contacts, thank you.



Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread Dave Anderson
On Wed, 3 Mar 2010, Scott McEachern wrote:

>Manuel Giraud wrote:

>> Maybe I'll stick to -current too. But I'd like to give try staying
>> -stable for a while and I could still play with the new toys every 6
>> month anyway. I wonder why does the FAQ recommend -stable over -current?
>>
> From the FAQ:
>
>"Put bluntly, the "best" version of OpenBSD is /-current/."

The FAQ does say that, but in context it's not a recommendation for
everyone to run current.

>Please read the FAQ.  It is explained why there are situations where
>-stable is more _suitable_ for some people, -current for others.

That part of section 5.1 currently clearly recommends that most users
run stable or release:

  In fact, as our hope is to continually improve OpenBSD, the goal is
  that -current should be more reliable, more secure, and of course,
  have greater features than -stable. Put bluntly, the "best" version of
  OpenBSD is -current.

  Most users should be running either -stable or -release. That being
  said, many people do run -current on production systems, and it is
  important that people do so to identify bugs and test new features.
  However, if you don't know how to properly describe, diagnose and deal
  with a problem, don't tell yourself (or anyone else) that you are
  "helping the project" by running -current. "It didn't work!" is not a
  useful bug report. "The recent changes to the pciide driver broke
  compatibility with my Slugchip-based IDE interface, dmesg of working
  and broken systems follow..." might be a useful report.

  There are times when "normal" users may wish to live on the cutting
  edge and run -current. The most common reason is that the user has a
  device which is not supported by -release (and thus, not -stable), or
  wishes to use a new feature of the -current. In this case, the choice
  may be either -current or not using the device, and -current may be
  the lesser evil. However, one should not expect hand-holding from the
  developers.

Dave

-- 
Dave Anderson




Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread J.C. Roberts
On Wed, 03 Mar 2010 17:43:18 +0100 Manuel Giraud
 wrote:

> "J.C. Roberts"  writes:
> 
> > There's a story I remember reading about an OpenBSD user from Japan
> > (possibly Mark Uemura?) who met an interesting fellow at a
> > conference who asked what operating system he was running on his
> > laptop. The OpenBSD user proudly stated, "I'm running OpenBSD X.Y
> > Stable," and the interesting fellow replied, "You should be running
> > current."
> >
> > Said "interesting fellow" turned out to be Theo.
> 
> It's good to know that -current stays such a stable system. But I
> think that the 6 month release cycle is good thing in OpenBSD.
> 

Yes.
http://www.youtube.com/watch?v=i7pkyDUX5uM

-- 



Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread Manuel Giraud
"J.C. Roberts"  writes:

> There's a story I remember reading about an OpenBSD user from Japan
> (possibly Mark Uemura?) who met an interesting fellow at a conference
> who asked what operating system he was running on his laptop. The
> OpenBSD user proudly stated, "I'm running OpenBSD X.Y Stable," and the
> interesting fellow replied, "You should be running current."
>
> Said "interesting fellow" turned out to be Theo.

It's good to know that -current stays such a stable system. But I think
that the 6 month release cycle is good thing in OpenBSD.

-- 
Manuel Giraud



Re: 802.11QinQ support

2010-03-03 Thread Ross Cameron
Hi there all

Does anyone know off hand if OpenBSD 4.6 or -CURRENT supports
802.1QinQ aka netsted VLans?

If so, how do I configure it as I've tried the usual "ifconfig vlan?
create" and tried stipulating that the secondary VLan's parent
interface it the primary VLan interface. But this doesn't seem to work
:(

Regards,...
Ross Cameron



Re: ldattach and gpsd errors

2010-03-03 Thread Stuart Henderson
On 2010-02-03, dan  wrote:
> I am trying to get ldattach and gpsd to work together, and I'm having
> issues. I have 3 USB GPS devices, and at least one seems to work with
> gpsd when not using ldattach (I haven't tested the others yet).
> When I run ldattach I get the following:
> # ldattach -d -p nmea /dev/cuaU0
> /dev/ttyp2
> ldattach[28488]: attach nmea on /dev/cuaU0
> ldattach[28488]: passing data to /dev/ttyp2
> In sysctl hw.sensors I then have:
> hw.sensors.nmea0.percent0=100.00% (Signal), UNKNOWN
> hw.sensors.nmea0.timedelta0=0.00 secs, UNKNOWN

this is how the sensors look when your gps is stuck in sirf binary
mode (gpsd does this sometimes).

you have got the method right, but you need to get it sending
NMEA again first.

you can try whacking it back into nmea mode with sirfmon's n command,
but this might not work (and in particular you might not get it back
to the standard speed even if you do get it into NMEA mode).

gpsmon from gpsd 2.9x does a better job of this.  (it's not in
ports yet, I can send you a work-in-progress update if you have
trouble getting back into NMEA with the version you're using).

> I then run gpsd and get the following output:
> # gpsd -nND2 /dev/ttyp2
> gpsd: launching (Version 2.38)
> gpsd: listening on port 2947
> gpsd: running with effective group ID 0
> gpsd: running with effective user ID 0
> gpsd: opening GPS data source at '/dev/ttyp2'
> gpsd: speed 9600, 8N1
> gpsd: garmin_gps not active.
> gpsd: gpsd_activate(1): opened GPS (6)
> gpsd: speed 4800, 8N1
> gpsd: speed 9600, 8N1
> gpsd: speed 19200, 8N1
> gpsd: speed 38400, 8N1
> gpsd: speed 57600, 8N1
> gpsd: speed 115200, 8N1
> gpsd: speed 0, 7N2
> gpsd: speed 4800, 7N2
> gpsd: speed 9600, 7N2
> gpsd: speed 19200, 7N2
> gpsd: speed 38400, 7N2
> gpsd: speed 57600, 7N2
> gpsd: speed 115200, 7N2
> gpsd: packet sniffer failed to sync up
> gpsd: closing GPS=/dev/ttyp2 (6)
>
> If I run gpsd without ldattach running I get the following:
> # gpsd -ND2 /dev/cuaU0
> gpsd: launching (Version 2.38)
> gpsd: listening on port 2947
> gpsd: running with effective group ID 0
> gpsd: running with effective user ID 0
> gpsd: opening GPS data source at '/dev/cuaU0'
> gpsd: speed 9600, 8N1
> gpsd: garmin_gps not active.
> gpsd: gpsd_activate(1): opened GPS (6)
> gpsd: FV  0x06: Firmware version: GSW3.2.5_3.3.01.06-SDK001P1.00
>
> I can then run kismet on that system, and it does not complain about not
> being able to connect to the gpsd.
>
> I've tried this on recent snapshots of both i386 and amd64 and get the
> same results.
>
> I also tried setting up ldattach in the /etc/ttys file, but couldn't
> figure out which tty0? to attach it to (I tried all of the ones in the
> file, commenting out the original entries).

yeah, I'm a bit confused about this too; it works for me if I use the
cua device in ttys, but that is incorrect.

anyway, we need to run it later than from init(8) as we want to
retrieve the name of the pty that the -p mode creates so we can
pass it on to gpsd, so it's only marginally relevant to what you're
trying to do.

>
> dmesg for the i386 machine (Asus eeepc 701):
>
> OpenBSD 4.7-beta (GENERIC) #518: Wed Jan 27 19:22:14 MST 2010
> t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class)
> 631 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
> real mem  = 2138140672 (2039MB)
> avail mem = 2063011840 (1967MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 03/03/08, BIOS32 rev. 0 @ 0xf0010,
> SMBIOS rev. 2.5 @ 0xf06e0 (37 entries)
> bios0: vendor American Megatrends Inc. version "0910" date 03/03/2008
> bios0: ASUSTeK Computer INC. 701
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP APIC OEMB MCFG
> acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4)
> MC97(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 70MHz
> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 5 (P0P3)
> acpiprt2 at acpi0: bus 3 (P0P5)
> acpiprt3 at acpi0: bus 1 (P0P6)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2
> acpitz0 at acpi0: critical temperature 90 degC
> acpibat0 at acpi0: BAT0 model "701" serial   type LION oem "ASUS"
> acpiac0 at acpi0: AC unit online
> acpiasus0 at acpi0
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibtn2 at acpi0: PWRB
> acpivideo0 at acpi0: VGA_
> acpivout0 at acpivideo0: CRTD
> acpivout1 at acpivideo0: TVOD
> acpivout2 at acpivideo0: LCDD
> bios0: ROM list: 0xc/0xf800!
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
> vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
> wsdisplay0 at vga1 mux 1: console

Париж на майские праздники от 950 евро!

2010-03-03 Thread МАЙСКИЕ ПРАЗДНИКИ
PQP:QQP2P0P5QQQ P?QP>P4P0P6P0 P3QQP?P?P>P2QQ QQQP>P2 P2
PP0QP8P6!
PP PPPP!PPP PP PPPPPPP
PP0P5P7P4Q 30/04-07/05 P8 01/05-08/05
P"QQ PQP>P3QP;P:P0 P?P> PP0QP8P6Q 8 P4P=P5P9/ 7 P=P>QP5P9 (4
Q
P:QP:QQQP8P8)
PQP>P4P>P;P6P8QP5P;QP=P>QQQ 8 P4P=P5P9 / 7 P=P>QP5P9
PP5QP5P;QQ PQ
QP>QP;P>Q/Air France
PP0QQ 30/04-07/05 P8 01/05-08/05

PQP>P3QP0PPQQP0P1P5P;QP=P>P< P0P2QP>P1QQP5 P2 P>QP5P;Q.
P P0P7PQP5P;P5.
P!P2P>P1P>P4P=P>P5 P2QP5PQP=P0Q P0P2QP>P1QQP=P0Q Q
P:QP:QQQP8Q P?P>
PP0QP8P6Q Q P?P>QP5QP5P=P8P5P< QP0P9P>P=P0 PP5QP0P=Q. PP8P;P5Q
P=P0 P?QP>P3QP;P>QP=QP9 P:P>QP0P1P;P8P: P?P> P!P5P=P5.
3-7 P4P5P=Q PP>QP5Q  P5P=P8P5 PP=P0Q P8 PP5P6P4QP=P0QP>P4P=P>P3P> QP2P5P;P8QP=P>P3P>
QP5P=QQP0 PP>QP5P=P7P8.
P!P2P>P1P>P4P=P>P5 P2QP5PP?P>P;P=P8QP5P;QP=QQ
Q
P:QP:QQQP8P9.
8 P4P5P=Q PQP?P8QP:P0 P8P7 P>QP5P;Q. P!P2P>P1P>P4P=P>P5 P2QP5PP?P>QQ.

P QQP>P8PQQQ QQQP0 P2P:P;QQP5P=P>:
P>QP>QPP:QPP2 P8 P2P8P7P>P2P0Q
P?P>P4P4P5QP6P:P0,
P?P5QP5P;P5Q PP>QP:P2P0 b PP0QP8P6 b PP>QP:P2P0
P0P2P8P0P:P>PQP;P>Q P P>QQP8P9QP:P8P5
P0P2P8P0P;P8P=P8P8 P8P;P8 Air France
QP0P7PQP5P;P5 P2QP1QP0P=P=P>P9 P:P0QP5P3P>QP8P8 Q
P7P0P2QQP0P:P>P<
4 Q
P:QP:QQQP8P8 P?P> P?QP>P3QP0PQP5QQP8P>P=P0P;QP=QPP4P=QP5 P1P8P;P5QQ P?P> P?QP>P3QP0PP?P>QQ-P>QP5P;Q-P0Q
QP>P?P>QQ P8
QQP0P=QP?P>QQP=P>P5 P>P1QP;QP6P8P2P0P=P8P5 P?P> P?QP>P3QP0PP2P:P0

PP?P;P0QP8P2P0P5QQQ P4P>P?P>P;P=P8QP5P;QP=P>
P:P>P=QQP;QQP:P8P9 QP1P>Q PP>QP>P;QQQP2P0 P$QP0P=QP8P8 80
PPP P
P:P>P=QQP;QQP:P8P9 QP1P>Q P4P;Q P;P8Q PP8PQQP8 P?QP>P3QP0PQP5P;QQ P:P0QP5P3P>QP8P8 4*
P=P0 P?P5QP8P>P4 QP0P;P>P=P>P2 P2 PP0QP8P6P5 QQP>QP=QP9QP5 Q
PP2!
QQQP0QP>P2P0P=P8P5 P>Q P=P5P2QP5P7P4P0

P!QP>P8PQQQ QQQP0 P=P0 QP5P;P>P2P5P:P0 P?QP8 P?QP>P6P8P2P0P=P8P8
P2 P>QP5P;P5 3* (Apollo, Opera, Baldaquin, Havane, Migny, Hauteville Opera,
Pax, Peyris, De Lausanne, Mattle) - 950 P5P2QP> + 100 P5P2QP>
(P2QQP>P:P8P9 QP5P7P>P=) + 80 P5P2QP> P2P8P7P0
P!QP>P8PQQQ QQQP0 P=P0 QP5P;P>P2P5P:P0 P?QP8 P?QP>P6P8P2P0P=P8P8
P2 P>QP5P;P5 4* (Royal Garden Champs Elysees 4*) - 1285 P5P2QP> + 100
P5P2QP> (P2QQP>P:P8P9 QP5P7P>P=) + 80 P5P2QP> P2P8P7P0


PP3P5P=QQQP2P> PP5P;P>P2P>P3P> P"QQP8P7P

Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread Brad Tilley
On Wed, 03 Mar 2010 09:02 -0500, "Scott McEachern" 
wrote:
> Manuel Giraud wrote:
> > I wasn't clear enough: by "new package", I meant "a package not
> > installed on my system yet" and not "the bleeding edge version of one
> > package".
> >
> >   
> Ah ok, sorry, I misunderstood.
> > Maybe I'll stick to -current too. But I'd like to give try staying
> > -stable for a while and I could still play with the new toys every 6
> > month anyway. I wonder why does the FAQ recommend -stable over -current?
> >
> >   
>  From the FAQ:
> 
> "Put bluntly, the "best" version of OpenBSD is /-current/."
> 
> Please read the FAQ.  It is explained why there are situations where 
> -stable is more _suitable_ for some people, -current for others.

If -stable does not work for you, there are at least two ways (in my
mind) to use -current.

1. Download today's snapshot, which is -current, along with the
ports.tar.gz that comes with it and then install and use that for months
without actively following -current. Basically, you don't try to keep up
and are only -current for a short while. I do that sometimes and have
never had an issue. At times you may end up with a funky system that is
not -stable or -current but it works just fine and has appropriate
documentation.

2. Download today's snapshot, which is -current, and then actively keep
up with the source tree. Most people probably use -current in this
fashion and this is probably the way the developers intend for it to be
used.

As a user, I can only speak for myself, but having used -current in both
ways, I can say that either approach works.

Brad



Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread J.C. Roberts
On Wed, 03 Mar 2010 13:21:47 +0100 Manuel Giraud
 wrote:

> Scott McEachern  writes:
> 
> > Huh?  Let me get this straight.  You want to use a *new* package.
> > You have to use -current to get the new package.  How do you figure
> > running -stable will help?
> 
> I wasn't clear enough: by "new package", I meant "a package not
> installed on my system yet" and not "the bleeding edge version of one
> package".
> 
> > I'm with J.C. Roberts on this one.  I got tired of seeing the cool
> > kids playing with the new toys on -current, got over the (wrong)
> > impression that -current is unstable, and started using -current
> > with the goodies.  I haven't looked back since.
> 
> Maybe I'll stick to -current too. But I'd like to give try staying
> -stable for a while and I could still play with the new toys every 6
> month anyway. I wonder why does the FAQ recommend -stable over
> -current?

The -stable branch requires less work and less knowledge. If you are
new to OpenBSD or new to UNIX in general, the -stable branch is a nice
and simple place to start. Also, it gives that warm comfy feeling to
the tired, battle scared sysadmins who wander in out of the cold, and it
keeps the management types happy due to the required buzzwords.

There's a story I remember reading about an OpenBSD user from Japan
(possibly Mark Uemura?) who met an interesting fellow at a conference
who asked what operating system he was running on his laptop. The
OpenBSD user proudly stated, "I'm running OpenBSD X.Y Stable," and the
interesting fellow replied, "You should be running current."

Said "interesting fellow" turned out to be Theo.

-jcr



Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread Scott McEachern

Manuel Giraud wrote:

I wasn't clear enough: by "new package", I meant "a package not
installed on my system yet" and not "the bleeding edge version of one
package".

  

Ah ok, sorry, I misunderstood.

Maybe I'll stick to -current too. But I'd like to give try staying
-stable for a while and I could still play with the new toys every 6
month anyway. I wonder why does the FAQ recommend -stable over -current?

  

From the FAQ:

"Put bluntly, the "best" version of OpenBSD is /-current/."

Please read the FAQ.  It is explained why there are situations where 
-stable is more _suitable_ for some people, -current for others.



--

-RSM

http://www.erratic.ca



help unregister

2010-03-03 Thread Igor A. Valcov
help unregister

-- 
Igor A. Valcov



Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread Manuel Giraud
Scott McEachern  writes:

> Huh?  Let me get this straight.  You want to use a *new* package.  You
> have to use -current to get the new package.  How do you figure
> running -stable will help?

I wasn't clear enough: by "new package", I meant "a package not
installed on my system yet" and not "the bleeding edge version of one
package".

> I'm with J.C. Roberts on this one.  I got tired of seeing the cool
> kids playing with the new toys on -current, got over the (wrong)
> impression that -current is unstable, and started using -current with
> the goodies.  I haven't looked back since.

Maybe I'll stick to -current too. But I'd like to give try staying
-stable for a while and I could still play with the new toys every 6
month anyway. I wonder why does the FAQ recommend -stable over -current?

-- 
Manuel Giraud



Re: Opteron 250 Overheating

2010-03-03 Thread Henning Brauer
* Jeff Ross  [2010-03-02 17:48]:
> Henning Brauer wrote:
> >* Jeff Ross  [2010-03-02 16:59]:
> >>I bought a replacement supermicro motherboard off fleabay that has
> >>dual Opteron 250 @2.4GHz.  The cpus have passive heatsinks, it is in
> >>a supermicro 2U chassis with 4 front fans.
> >
> >do you have the air shroud? this plastic thing that forms a "tunnel"
> >over the heatsinks? it is required.
> >
> 
> No, the motherboard didn't come with that.  If I can find one will
> that mean I don't need the active heatsinks?

that's how supermicro delivers the 2U systems, so i'd say yes, you
won't need them.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread Scott McEachern

Manuel Giraud wrote:

Using -current, I sometimes have had to upgrade to the latest snapshot
just because I wanted to install some new package and bumped into an
error like "not good version of libc".

In fact, I thought that having a -release (and -stable) was a strength
of OpenBSD (if not why put so much effort for that).

  
Huh?  Let me get this straight.  You want to use a *new* package.  You 
have to use -current to get the new package.  How do you figure running 
-stable will help?


I'm with J.C. Roberts on this one.  I got tired of seeing the cool kids 
playing with the new toys on -current, got over the (wrong) impression 
that -current is unstable, and started using -current with the goodies.  
I haven't looked back since.


--

-RSM

http://www.erratic.ca



Re: -current or -stable [was: Not another Browser Question]

2010-03-03 Thread Bret S. Lambert
On Wed, Mar 03, 2010 at 09:36:31AM +0100, Manuel Giraud wrote:
> "J.C. Roberts"  writes:
> 
> > The short answer is painfully simple; if you're running OpenBSD as your
> > desktop/laptop and you have a clue, then run just -current.
> >
> > These days, the -stable branch still exists primarily due to historical
> > precedence for people unwilling to update their thinking. 
> 
> After 6 month using -current as desktop I was about to follow the
> opposite path and try to stay -stable (after 4.7 is released).
> 
> Using -current, I sometimes have had to upgrade to the latest snapshot
> just because I wanted to install some new package and bumped into an
> error like "not good version of libc".

Yes, you're running a development version, which means that when
library bumps happen, you're going to have to deal with them.

> 
> In fact, I thought that having a -release (and -stable) was a strength
> of OpenBSD (if not why put so much effort for that).

Actually, most effort goes towards -current, with -stable only getting
major security/reliability fixes. For a while, there weren't any
-stable ports, due to a lack of manpower.

> 
> -- 
> Manuel Giraud



Re: panic: rlphy_service: attempt to isolate phy

2010-03-03 Thread Alexander Nasonov
Alexander Nasonov wrote:
> OpenBSD 4.6 panics on my 4 core amd64 HP workstation when I do
> ifconfig -a.

If I change rlphymatch to return 10 only for instance 0, nfe works:

diff -u sys/dev/mii/rlphy.c   <
Index: sys/dev/mii/rlphy.c
===
RCS file: /cvs/src/sys/dev/mii/rlphy.c,v
retrieving revision 1.30
diff -u -r1.30 rlphy.c
--- sys/dev/mii/rlphy.c 11 Sep 2008 18:26:58 -  1.30
+++ sys/dev/mii/rlphy.c 3 Mar 2010 07:44:13 -
@@ -85,11 +85,12 @@
 rlphymatch(struct device *parent, void *match, void *aux)
 {
struct mii_attach_args *ma = aux;
+   struct mii_data *mii = ma->mii_data;
char *devname;

devname = parent->dv_cfdata->cf_driver->cd_name;

-   if (mii_phy_match(ma, rlphys) != NULL)
+   if (mii_phy_match(ma, rlphys) != NULL && mii->mii_instance == 0)
return (10);

if (MII_OUI(ma->mii_id1, ma->mii_id2) != 0 ||


Apparently, it's not a correct patch because I see spirious PHY entries:

nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: apic 4 int 11 (irq 
11), address 00:26:18:8e:22:9e
rlphy0 at nfe0 phy 0: RTL8201L 10/100 PHY, rev. 1
ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy1 at nfe0 phy 2: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy2 at nfe0 phy 3: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy3 at nfe0 phy 4: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy4 at nfe0 phy 5: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy5 at nfe0 phy 6: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy6 at nfe0 phy 7: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy7 at nfe0 phy 8: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020
ukphy8 at nfe0 phy 9: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x20, model 0x0020

and so on up to phy 31.

Alex



-current or -stable [was: Not another Browser Question]

2010-03-03 Thread Manuel Giraud
"J.C. Roberts"  writes:

> The short answer is painfully simple; if you're running OpenBSD as your
> desktop/laptop and you have a clue, then run just -current.
>
> These days, the -stable branch still exists primarily due to historical
> precedence for people unwilling to update their thinking. 

After 6 month using -current as desktop I was about to follow the
opposite path and try to stay -stable (after 4.7 is released).

Using -current, I sometimes have had to upgrade to the latest snapshot
just because I wanted to install some new package and bumped into an
error like "not good version of libc".

In fact, I thought that having a -release (and -stable) was a strength
of OpenBSD (if not why put so much effort for that).

-- 
Manuel Giraud