Re: howto verify keydisk backup

2019-06-18 Thread noah pugsley
On Tue, Jun 18, 2019 at 5:37 PM shadrock uhuru  wrote:
>
> hi everyone
> my keydisk is on a compactflash sandisk ultra 2 card,
> which was created during disk encryption
>
> doas disklabel sd1
> # /dev/rsd1c:
> type: SCSI
> disk: SCSI disk
> label: USB CARD READER
> duid: ea53e532b5ae2a0f
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 31
> total sectors: 501760
> boundstart: 64
> boundend: 498015
> drivedata: 0
>
> 16 partitions:
> #   size   offset  fstype [fsize bsize   cpg]
>   a:16001  64  RAID
>   c:501760 0   unused
>
>
> i boot my laptop  (samsung np300e5A) with this connected to a card
> reader  connected to a usb port and i'm able to boot without a problem
>
> I HAVE A cruzer memory stick to use as a BACKUP keydisk
>
> doas disklabel sd3
> # /dev/rsd3c:
> type: SCSI
> disk: SCSI disk
> label: Cruzer Fit
> duid: 7fe58412fc668f9e
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 972
> total sectors: 15630336
> boundstart: 64
> boundend: 15615180
> drivedata: 0
>
> 16 partitions:
> #size   offset  fstype [fsize bsize   cpg]
>   a:16001   64RAID
>   c: 156303360  unused
>
> using the backup instruction on the openbsd faq i create an image of the 
> keydisk
>
> dd bs=8192 skip=1 if=/dev/rsd1a of=backup-keydisk.img
>
> 999+1 records in
> 999+1 records out
> 8184320 bytes transferred in 2.251 secs (3634754 bytes/sec)
>
> i restore the image to the backup usb memory stick using
>
> dd bs=8192 seek=1 if=backup-keydisk.img of=/dev/rsd3a
>
> 999+1 records in
> 999+1 records out
> 8184320 bytes transferred in 1.744 secs (4690370 bytes/sec)
>

I might be speaking out of turn here, but I'm pretty sure you want to
dd rsdXc, that images the entire disk, not just the a partition.

>
> when i try to boot off the backup usb memory stick i get
> using drive 0 partition 3
> no os
>
> i tried to verify the keydisk image  with diff using
>
> doas diff /dev/rsd1a backup-keydisk.img
> Binary files /dev/rsd1a and backup-keydisk.img differ
> ---
>
> is there a problem with the hardware combination of usb sticks i use for 
> keydisk backup
> or the commands i use especially the diff command to try and verify the image 
> file ?
>
> shadrock
>



Re: web hosting

2019-05-15 Thread noah pugsley
Second that. Great service, super reliable, and they donate a percentage to the 
foundation.Mischa will take care of you..‎

Sent from mobile.
  Original Message  
From: mathijs
Sent: Wednesday, May 15, 2019 12:12
To: misc@openbsd.org
Subject: Re: web hosting

If you want to get a OpenBSD VM, I would suggest openbsd.amsterdam.


https://openbsd.amsterdam/


Cheers,


Mathijs Hengst

On 5/15/19 9:06 PM, Gustavo Rios wrote:
> I am in need to host my homepage and programs i have written.
> Do have any suggestion on web hosting services that alllow ssh access too?
>
> Thanks a lot
>



Re: When will be created a great desktop experience for OpenBSD?

2019-05-08 Thread noah pugsley
Updated FVWM or a different default config?

Sent from mobile.
  Original Message  
From: Christopher Turkel
Sent: Wednesday, May 8, 2019 04:22
Cc: OpenBSD Misc
Subject: Re: When will be created a great desktop experience for OpenBSD?

I'd like to see an updated FVWM as the default WM.

On Wed, May 8, 2019 at 7:18 AM Mohamed Fouad <
mohamed.ahmed.fouad@gmail.com> wrote:

> if you are suggesting updating the openbsd installer to include dwm as an
> option. Even that it adds one more click to the installation process, it
> would work as a sharm for some people :P
>
> On Tue, 7 May 2019, 2:04 am Clark Block 
> > In 2019 still there is not a great desktop experience for NetBSD.
> However,
> > the new "OS108" is seeking to improve this with a NetBSD operating system
> > paired with the MATE desktop environment.
> > So, OS108, a derivative of NetBSD, has just been released:
> > https://os108.org/?ez_cid=CLIENT_ID(AMP_ECID_EZOIC)
> >
> > When will be created a great desktop experience for OpenBSD?
> >
>



Re: When will be created a great desktop experience for OpenBSD?

2019-05-07 Thread noah pugsley
You know, I guess it's just personal convention from habit. I think I started 
doing that way back before I could remember how the redirects work ‎without 
looking them up.  Too lazy to change now. 

So yeah, if you're trying to divine something clever from that‎, I wouldn't. 
:-) 

Sent from mobile.
  Original Message  
From: ropers
Sent: Tuesday, May 7, 2019 21:07
To: noah pugsley
Cc: Edgar Pettijohn; Steve Litt; misc@openbsd.org
Subject: Re: When will be created a great desktop experience for OpenBSD?

> From: ropers
> Tangentially related: Does anyone here routinely use the default fvwm?
>
> Now for a really noobish question: Those that do, do you also launch
> graphical apps by typing something like this in xterm:
>
> $ firefox > /dev/null 2>&1 &
>
> or do you normally do something else that I've totally overlooked?

On 08/05/2019, noah pugsley  wrote:
> Maybe I'm a weirdo, but no matter what I use for a window manager, I start
> all programs from the cli. All.
>
> For Firefox or Chrome something like this:
>
> $ firefox & bw ; exit
>
> bw is a shortcut to an xterm with a bunch of options. Kill the one with the
> console crap and poop out a fresh one.

You probably know this, but just for the record/archives, the
> $ firefox > /dev/null 2>&1 &
line that I quoted earlier should normally take care of "the console crap":
It redirects firefox's stdout to /dev/null, then redirects firefox's
stderr to stdout and thus to /dev/null, and then sets firefox to run
in the background.

(So if, I don't know, bw is perhaps just a script you wrote to avoid
"the console crap", then maybe it's not even necessary? I imagine it
might even be easier to keep your history if you're not constantly
spawning new xterms.
If you're way ahead of me here and if I'm just totally missing the
point, the plot and something obvious, feel free to engage in random
acts of clue-battery. ;)



Re: When will be created a great desktop experience for OpenBSD?

2019-05-07 Thread noah pugsley
Maybe I'm a weirdo, but no matter what I use for a window manager, I start all 
programs from the cli.  All.

For Firefox or Chrome something like this:

$ firefox & bw ; exit

bw is a shortcut to an xterm with a bunch of options. Kill the one with the 
console crap and poop out a fresh one.

  Original Message  
From: ropers
Sent: Tuesday, May 7, 2019 15:35
To: Edgar Pettijohn
Cc: Steve Litt; misc@openbsd.org
Subject: Re: When will be created a great desktop experience for OpenBSD?

Tangentially related: Does anyone here routinely use the default fvwm?

Now for a really noobish question: Those that do, do you also launch
graphical apps by typing something like this in xterm:

$ firefox > /dev/null 2>&1 &

or do you normally do something else that I've totally overlooked?

(Again, this is about how people use stock default fvwm. If your
answer begins with "install $this_other_launcher", it's probably not
what I'm looking for, but thanks anyway.)



OT: GPS "2019" bug

2018-09-18 Thread noah pugsley
Thought this was interesting. Seemed appropriate as an OT given the
semi-recent 2038 changes...

https://spectracom.com/resources/blog/lisa-perdue/2018/gps-2019-week-rollover-what-you-need-know



Re: Change Windows10 disk to OpenBSD, but not sure what disklabel and fdisk mean

2018-09-03 Thread noah pugsley
You don't care about windows, and all your data is on usb drives, yes? Why not 
just do a fresh full disk install and copy your data?

Sent from mobile.
  Original Message  
From: Chris Bennett
Sent: Monday, September 3, 2018 10:19
To: misc@openbsd.org
Subject: Change Windows10 disk to OpenBSD, but not sure what disklabel and 
fdisk mean

Hi,
I've gotten tired and paranoid about having Windows 10 on my hard drive
in a laptop, but I'm not sure what partitions to keep or ditch.
I am running off of USB flash drives, which are pesky to keep in and
slow.
Thanks,
Chris Bennett


Here are some outputs:

disklabel


# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: WDC WD10SPCX-24H
duid: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total sectors: 1953525168
boundstart: 0
boundend: 1953525168
drivedata: 0 

16 partitions:
# size offset fstype [fsize bsize cpg]
c: 1953525168 0 unused 
i: 532480 2048 MSDOS 
j: 32768 534528 unknown 
k: 1898479616 567296 MSDOS 
l: 52428800 1899046912 MSDOS 
m: 2048000 1951475712 unknown 


fdisk


Disk: sd0 Usable LBA: 34 to 1953525134 [1953525168 Sectors]
#: type [ start: size ]

0: EFI Sys [ 2048: 532480 ]
1: e3c9e316-0b5c-4db8-817d-f92df00215ae [ 534528: 32768 ]
2: FAT12 [ 567296: 1898479616 ]
3: FAT12 [ 1899046912: 52428800 ]
4: Win Recovery [ 1951475712: 2048000 ]


dmesg


OpenBSD 6.4-beta (GENERIC.MP) #285: Sat Sep 1 12:51:52 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3774021632 (3599MB)
avail mem = 3650387968 (3481MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xea8c0 (45 entries)
bios0: vendor LENOVO version "5PCN20WW" date 01/15/2018
bios0: LENOVO 80XV
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI HPET APIC MCFG SBST MSDM BATB SSDT IVRS CRAT TPM2 
SSDT SSDT SSDT SSDT FPDT SSDT BGRT UEFI
acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GFX0(S4) 
GFX1(S4) GFX2(S4) GFX3(S4) GFX4(S4) XHC0(S3) EHC1(S3) SBAZ(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G, 2994.74 MHz, 15-70-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,XSAVEOPT
cpu0: 96KB 64b/line 3-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G, 2994.38 MHz, 15-70-00
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,XSAVEOPT
cpu1: 96KB 64b/line 3-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 1, core 0, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins, remapped
ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins, remapped
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (GPP0)
acpiprt2 at acpi0: bus -1 (GPP1)
acpiprt3 at acpi0: bus 1 (GPP2)
acpiprt4 at acpi0: bus 2 (GPP3)
acpiprt5 at acpi0: bus -1 (GPP4)
acpiprt6 at acpi0: bus -1 (GFX0)
acpiprt7 at acpi0: bus -1 (GFX1)
acpiprt8 at acpi0: bus -1 (GFX2)
acpiprt9 at acpi0: bus -1 (GFX3)
acpiprt10 at acpi0: bus -1 (GFX4)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(0@400 io@0x814), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@400 io@0x814), C1(@1 halt!), PSS
acpipwrres0 at acpi0: P0U3, resource for XHC0
acpipwrres1 at acpi0: P3U3, resource for XHC0
acpipwrres2 at acpi0: P0U2, resource for EHC1
acpipwrres3 at acpi0: P3U2, resource for EHC1
acpipwrres4 at acpi0: P0SD
acpipwrres5 at acpi0: P3SD
acpipwrres6 at acpi0: P0ST, resource for SATA

Re: lsof alternative for listing open files?

2018-08-09 Thread noah pugsley
Have you looked at fstat?

https://man.openbsd.org/fstat.1

Sent from mobile.
  Original Message  
From: Edward Lopez-Acosta
Sent: Thursday, August 9, 2018 16:30
To: Ingo Schwarze
Cc: misc@openbsd.org
Subject: Re: lsof alternative for listing open files?

Hi Ingo,

I was looking to port bleachbit, system cleanup tool, to OpenBSD and one 
function is to make sure certain files are not in use before it 
proceeds. An example would be cache files by a browser which would need 
closed.

Beyond that though it was more of an educational exercise on my part as 
I continue becoming familiar with OpenBSD and its workings.

Edward Lopez-Acosta

On 8/9/18 6:17 PM, Ingo Schwarze wrote:
> Hi Edward,
> 
> Edward Lopez-Acosta wrote on Thu, Aug 09, 2018 at 05:41:04PM -0500:
> 
>> I am aware of fuser and fstat but these seem to only give me inodes.
>> Is there an equivalent to the Linux application `lsof`?
> 
> $ pkg_add lsof
> Obsolete package: lsof (ancient software that doesn't work)
> 
> Once a process has a file open, there is no was to get back from
> the file descriptor to a file name. Actually, the file name may
> have changed since the file was opened, or the file may not have
> any name whatsoever any longer, or the name might now point to a
> different file that is not open. It is by design that you cannot
> translate an inode number back to a filename. I have no idea what
> the Linux kernel is doing with symbolic links like /proc/21325/fd/3,
> but i doubt that it makes much sense.
> 
> What is the actual problem you are trying to solve?
> 
> Yours,
> Ingo
> 



Re: Image viewer alternative to eog

2017-11-28 Thread noah pugsley
feh is good.

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Ryan Freeman
Sent: Tuesday, November 28, 2017 09:43
To: x9p
Cc: misc@openbsd.org
Subject: Re: Image viewer alternative to eog

On Sat, Nov 25, 2017 at 05:51:26PM -0200, x9p wrote:
> Hi,
> 
> Is there a good/safe and light image viewer? Was used to eog, but it has
> too many "vfprintf %s NULL" in messages. gimp is too big and good for play
> with images, In need of smth fast.
> 
> cheers.
> 
> x9p

graphics/viewnior is very fast and lightwieght, still gtk-based



Re: Hot Spare in Softraid?

2017-08-12 Thread noah pugsley
On Sat, Aug 12, 2017 at 10:55 AM, Federico Giannici
 wrote:
> Is it possible to set a "Hot Spare" chunk for a RAID1 Softraid?
> From the "bioctl" man page seems that this functionality is available for
> "RAID controllers" only.
> Is it correct?
>
> Thanks.
>

I don't know about that, but from softraid(4) I know that:

"RAID 1
A mirroring discipline. It copies data across more than one chunk to
provide for data loss. Read performance is increased, though at the
cost of write speed. Unlike traditional RAID 1, softraid supports the
use of more than two chunks in a RAID 1 setup."

So, why not a 3 disk mirror?

>From bioctl(8):

"Configure softraid0 with 4 special devices (/dev/sd2e, /dev/sd3e,
/dev/sd4e, /dev/sd5e) and a RAID level of 1:

# bioctl -c 1 -l /dev/sd2e,/dev/sd3e,/dev/sd4e,/dev/sd5e softraid0"

-N



Re: cloud docs

2017-05-24 Thread noah pugsley
If you decide to go the owncloud/nextcloud route, I highly recommend 
nextcloud‎. 

Noah
  Original Message  
From: Asbel Kiprop
Sent: Wednesday, May 24, 2017 11:07
To: Ulises M. Alvarez; misc@openbsd.org; c...@ggr.com
Subject: Re: cloud docs

I should try it, thanks a lot, sound really what i was lookin for

2017-05-24 20:49 GMT+03:00 Scott Bonds :

> unison?
>
>
> On 05/24, Asbel Kiprop wrote:
>
>> Yeah, i was using it for some time and i wonder if there is some more text
>> document based solution.
>>
>> 2017-05-24 20:33 GMT+03:00 Ulises M. Alvarez :
>>
>> On 24/05/17 12:22, Asbel Kiprop wrote:
>>>
>>> Hello, friends. Is there is some solution (in OpenBSD packages, like
 ownCloud, for example) to handle with cloud documents? All i want is
 to editsome text files on 3-4 computers with synchronization(like
 ONLYOFFICE, i think, but not so complicated)


 Hi,
>>> Both, ownCloud and NextCloud, include an editor for text documents; i.e.,
>>> *.txt
>>> --
>>> Ulises M. Alvarez
>>> http://sophie.unam.mx/
>>>
>>>



Intel/amd64 hardware donation.

2016-10-18 Thread noah pugsley
Today I found some hardware I forgot to rma a few months ago.

I'd be happy to donate it to the project if anyone can use it. Nothing
special.

2 x Intel Xeon X5570 Quad-Core Nehalem EP Processor 2.93GHz 6.4GT/s 8MB LGA
1366 CPU, OEM. New in package.

4 x Super Talent DDR3-1333 8GB/512Mx8 ECC/REG CL9 Samsung Chip Server
Memory. New also, never installed.

If anybody wants it please let me know.

--Noah P



Re: System broken???

2016-08-12 Thread noah pugsley
Dude, please tell me you tried another keyboard. Please.

On Fri, Aug 12, 2016 at 12:27 PM, Stefan Wollny 
wrote:

> Am 12.08.2016 um 21:14 schrieb Theo de Raadt:
> > why don't YOU invest your time
> > figuring out that first?
> This is what I have been doing for the last 36 hours, no sleep - no
> success...
>
> Please forget it.
>
> Sorry for the noise.



Re: Is there such a thing as a fanless OpenBSD-capable laptop?

2016-06-12 Thread noah pugsley
On Sun, Jun 12, 2016 at 4:21 PM,  wrote:

> Sun, 12 Jun 2016 23:48:33 +0200 ropers 
> > Compiled for myself and the archives:
>
> For you only, the archives deserve much better: higher quality threads.
>
> > < Fanless OpenBSD-capable (probably) laptops >
>
> You're in for a LOT of disappointment if you follow marketing material
> without dmesg and live field use reports.  This is the OpenBSD "misc@"
> mailing list, and it is expected people consult these archives for real
> useful correct quality information.  Or at least minimum attempts at it.
>
> From a future visitor perspective this thread should be ignored.  It
> would not make a happy future OpenBSD developer, not even a BSD user.
>
> This is mostly incomplete self oriented desktop companion media centre
> laptop incompetence all around.  Pretty lame.  Skip it, ask for dmesgs
> on actively usable for development or alternatively a "communications"
> devices from actual OpenBSD people, and not sales pitching affiliates.
>
>
I don't speak for this list, but for some reason you seem to think you do.

I wonder what someone with some authority here might say?

Oh wait, we have an example from less than a year ago:

"Wrant.. Go away. If you had any experience as a real developer on
anything you would understand the message to wait until the API is
stable, otherwise we're just wasting people's time and effort.

Your attitude is offensive  to all of us who work on this project.

Please take your ungratefulness and sense of entitlement to another project.
I'm sure there are Linux distributions you would get more out of.

Get off our mailing lists, or shut the fuck up. Your choice.

-Bob"

http://marc.info/?l=openbsd-tech=143750853704661=2

NOBODY WANTS YOU OR YOUR SHITTY ATTITUDE HERE.

Fuck off, be silent or be ignored.



Re: hardware recommendation for openbsd-based thin client?

2016-05-26 Thread noah pugsley
> In the last month?  I suspect not.
>
> This is how rumours start, I guess.
>

I suppose so.

OpenBSD 6.0-beta (GENERIC.MP) #2127: Thu May 26 08:25:13 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error
3f
real mem = 2057015296 (1961MB)
avail mem = 1990127616 (1897MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7b65a000 (51 entries)
bios0: vendor Intel Corp. version "SCCHTAX5.86A.0014.2015.1119.1410" date
11/19/2015
bios0: Intel Corporation STK1AW32SC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG UEFI HPET SSDT SSDT SSDT LPIT
BCFG PRAM BGRT CSRT MSDM WDAT
acpi0: wakeup devices
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1440.36 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,
NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 79MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1439.96 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,
NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1439.96 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,
NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu2: 1MB 64b/line 16-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1439.96 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,
NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu3: 1MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 115 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpicpu0 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: ID3C, resource for ISP3
acpipwrres1 at acpi0: WWPR, resource for HS03, MDM1
acpipwrres2 at acpi0: WWPR, resource for HS13, MDM1
acpipwrres3 at acpi0: WWPR, resource for SSC1, MDM3
acpipwrres4 at acpi0: WWPR, resource for SSCW, MDM3
acpipwrres5 at acpi0: WWPR, resource for HSC1, MDM2
acpipwrres6 at acpi0: WWPR, resource for HSC3, MDM4
acpipwrres7 at acpi0: CLK3, resource for RTEK, RTK1
acpipwrres8 at acpi0: CLK4
acpipwrres9 at acpi0: CLK2, resource for NFC2
acpipwrres10 at acpi0: CLK1
acpipwrres11 at acpi0: CLK0
acpipwrres12 at acpi0: CLK1
acpipwrres13 at acpi0: USBC, resource for XHC1, OTG1
acpipwrres14 at acpi0: P28X
acpipwrres15 at acpi0: P18X
acpipwrres16 at acpi0: P12X
acpipwrres17 at acpi0: P28P
acpipwrres18 at acpi0: P18P
acpipwrres19 at acpi0: P19X
acpipwrres20 at acpi0: P06X
acpipwrres21 at acpi0: P28T
acpipwrres22 at acpi0: P18D
acpipwrres23 at acpi0: P18T
acpipwrres24 at acpi0: P3P3
acpipwrres25 at acpi0: P12T
acpipwrres26 at acpi0: P28W
acpipwrres27 at acpi0: P18W
acpipwrres28 at acpi0: P12W
acpipwrres29 at acpi0: P33W
acpipwrres30 at acpi0: P33X
acpipwrres31 at acpi0: P4BW
acpitz0 at acpi0: critical temperature is 90 degC
"INT33A4" at acpi0 not configured
sdhc0 at acpi0: SDHA addr 0x9152c000/0x1000 irq 45
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma
"INT33BD" at acpi0 not 

Re: hardware recommendation for openbsd-based thin client?

2016-05-26 Thread noah pugsley
Have you booted OpenBSD on a compute stick or seen a dmesg from one?

I bought one recently since EFI support and haven't had much luck. Hope you
don't mind me asking here, I didn't ask the list before as I didn't put
that much work into it but havent gotten it to boot. Tried from usb.

On Thu, May 26, 2016 at 6:08 PM, Stuart Henderson 
wrote:

> On 2016-05-26, Predrag Punosevac  wrote:
> > Right now at Carnegie Mellon University I use Intel NUC NUC5CPYH
> ..
> > I have tested OpenBSD on it but without X.
>
> On some NUC models everything works very well. On others there are some
> problems like X not working. Video is the usual problem, try to identify
> what it has in as much detail as possible and try and find someone who
> used the same video device.
>
> > NUC is completely silent
>
> Hmm. I am trying to figure out a way to make mine a bit quieter.
> I wouldn't say it's _loud_, but definitely not silent.
>
> > I am not sure what is electric consumption of current Thin
> > Clients but I would be surprised to learn that it is much lower than
> > 10W.
>
> The Intel compute sticks are pretty low power. Somewhere around
> 2.5W idle and around 9W under heavy CPU and GPU load. I'm not sure
> how far along video on those is yet though. (And by the time you
> add a hub and usb ethernet if you want to use an input device and
> don't want to rely on wifi, the amps start adding up..)



Re: vi vs emacs, which one makes me look more smart in front of my friends?

2016-05-17 Thread noah pugsley
You are all wrong.

The correct answer is pico.

On Mon, May 16, 2016 at 11:36 PM,  wrote:

> // mg(1)
> //
> // […] It is compatible with emacs because
> // there shouldn't be any reason to learn more editor types than emacs
> or
> // vi(1).
> //
> // Where is the troll, where is the silly troll?
>
> Well, the sarcasm doesn't work good in a mail, so:
>
> - Use the editor that you like, editors war is the most retarded
> discussion you can have in your life.
>
> - You can't make such a statement in a man page, and then call a troll to
> someone who ask which one is better.



5.9 discs in the wild. North America

2016-04-20 Thread noah pugsley
Thank you all for the best little correctness focused general purpose
operating system in the known universe.

With all the nonsense created every day, a little sanity now and then, is
cherished by the wisest men.


http://noahpugsley.net/59.jpg


Cheers,

-noah

P.S. garbage.fm you both better be at bsdcan. I want to complain about
everything !OpenBSD. And I think you do too.



OT:Re: www.openbsd.org/cgi-bin/man.cgi

2016-03-25 Thread noah pugsley
I gotta go with Gilles here. Can't expect people to figure out how to load
a container! Gotta be a service.

The recent left pad debacle in Node.js offers sage lessons:

http://left-pad.io/

"8 d'b o 8 o

8 8 8   8
8 .oPYo. o8P   o8P   .oPYo. .oPYo. .oPYo8o8 .oPYo.
8 88  8 8  o 88 .8 88 8 88
8 8.  8 888 88 88 8 88
8 `Yooo'  8 88YooP' `YooP8 `YooP' 88  8 `YooP'
..:.::....:::8 ::.::.:..::..:.:
:8 
:..

Welcome to left-pad.io!

## History

On March 22nd 2016, a terrible tragedy befell the Node.JS community. A
popular
microframework for robust string expansion, `left-pad`, was removed from
npmjs.com .

This resulted in broken deploys worldwide, a sudden and complete inability to
appropriately zero-pad the fractional real cent value of many stock options,
and untold billions of dollars in economic damage to the still nascent
startup
ecosystem of String Manipulation as a Service.

## A microservice saviour appears

In order to prevent such a terrible tragedy from occurring ever again during
our lifetimes, `left-pad.io` has been created to provide all the
functionality
of `left-pad` AND the overhead of a TLS handshake and an HTTP request.

Less code is better code, leave the heavy lifting to `left-pad.io`, The
String
Experts™.

## How do I make use of left-pad.io?

Simple! Just make a request to `https://api.left-pad.io`:

```
$ curl 'https://api.left-pad.io/?str=paddin%27%20oswalt=68=@'
{"str":"@@paddin'
oswalt"}
```

The query parameter names `str`, `len`, and `ch` match the argument names of
our fallen comrade in left-stringist thought, `leftpad()`. May the Developer
Happiness achieved forever commemorate its sacrifice.

`left-pad.io` is 100% REST-compliant as defined by some guy on Hacker News
with
maximal opinions and minimal evidence.

## Are there any limits?

Padding and the input string are limited to 1024 characters in the free
version, because we have to monetize to have enough runway to launch
`right-pad.io` in Q3 2017.

## Can I buy an enterprise license?

Yes. Email r...@left-pad.io with your account and ABA routing numbers.

## Who?

2016 JavaScript Hero candidate @gabrielgironda
."


On Fri, Mar 25, 2016 at 8:24 AM, Bob Beck  wrote:

> Now now, we can be more hipster than that.. a docker image that runs
> the man command for you after downloading
> all the openbsd man pages as a dependency - you can just deploy it
> automatically with vagrant and run it in AWS.. etc.
>
> After all, isn't there no simple command that can't be made better by
> installing an os image someone else built to run?
>
>
>
>
> On Fri, Mar 25, 2016 at 8:45 AM, Ingo Schwarze  wrote:
> > Hi Gilles,
> >
> > Gilles Chehade wrote on Fri, Mar 25, 2016 at 03:34:02PM +0100:
> >
> >> maybe we could provide MaaS (man as a service, copyright eric@)
> >>
> >> if user issues `man` and the man page is not found locally, man
> >> would transparently ssh to gu...@man.openbsd.org ?
> >
> > Hilarious on so many levels...  :-D
> >   Ingo



OT:Paris..

2015-11-15 Thread noah pugsley
I hope I don't seem like a cheerleader for reflecting your sentiments. Null
politics. Null comment. Geopolitical associations are outside the scope of
this list.

People got hurt. Can't say why from my armchair. Always a bummer. Can't or
won't do much about it but genuinely hope folks are A OK.

peace ok@?

On Sat, Nov 14, 2015 at 9:03 AM, John Long  wrote:

> Miod, are you ok? Condolences and hoping for the best for you guys.
>
> /jl
>
> --
> ASCII ribbon campaign ( ) Powered by Lemote Fuloong
>  against HTML e-mail   X  Loongson MIPS and OpenBSD
>and proprietary/ \http://www.mutt.org
>  attachments /   \  Code Blue or Go Home!
>  Encrypted email preferred  PGP Key 2048R/DA65BC04



Re: OpenBSD 5.6 Released

2014-11-01 Thread noah pugsley
On Sat, Nov 1, 2014 at 3:10 PM, bofh goodb...@gmail.com wrote:
 Thank you!  By the way, I read this on undeadly.  Any pointers?  What is
 this internally developed httpd server?  Thanks.

 *Advanced notice: Big changes coming for future releases!*
 There are some big changes coming up in OpenBSD 5.7 (NOT 5.6!) that you may
 wish to think about and plan for.

- OpenBSD's version of nginx will be removed from base in favor of an
internally developed httpd server in 5.7. nginx will be available as a
package http://www.openbsd.org/faq/faq15.html
 for those with applications dependent upon it.

 [oops:  the original was sent only to Antoine]


Relayd basically contained (as I understand it) most of the
functionality of a stand alone web server. Reyk pulled that
functionality out and made it one. He talks all about it in this
interview:

http://www.bsdnow.tv/episodes/2014_09_03-its_hammer_time

Oh, and thanks y'all for the release.

-noah



Re: VPLS and PWE3 status in Openbsd

2014-08-08 Thread noah pugsley
On Fri, Aug 8, 2014 at 1:19 AM, Alucard aluc...@phangos.fr wrote:
 Le jeudi 7 août 2014 23:28:37, Renato Westphal a écrit :

 2014-08-05 9:17 GMT-03:00 Rafael Zalamena rzalam...@gmail.com:

 On Tue, Aug 05, 2014 at 12:53:43PM +0200, Alucard wrote:

 Hi,

 What is the status of VPLS/PWE3 support on Openbsd right now ?

 I have been researching a bit but cannot find a definitive answer.

 There is several mentions of work on this on the web and in the
 mailing lists but nothing really clear.

 Back in 2011 Claudio Jeker about Openbsd 4.9/5.0 state that these
 features are expected in near future.
 http://2011.eurobsdcon.org/papers/jeker/MPLS.pdf

 There is a couple of guys speaking about work on this on the mailing
 list in 2012 and 2013
 http://comments.gmane.org/gmane.os.openbsd.tech/29882

 http://openbsd.7691.n7.nabble.com/RFC-Patches-for-the-LDP-daemon-td228828.html

 But I didn't find mentions of this in the ldpd manpage (or am I
 missing something ?)

 Thank you


 Hi Alucard,

 I stopped coding VPLS/PWE3 support at the end of 2012 because it was
 getting messy and I didn't have time to properly write it (also I wasn't
 experienced enough). So after I finished my final paper which was the
 main reason why I was coding it I simply left it as it was.

 The wire(4) driver is missing MAC learning and to make it work for my
 presentation I had to manually add them. The VPLS implementation in LDPd
 was just too messy and it took me a lot of time to understand LDPd code.
 Now that I understand most of the ldpd code I'm ashamed of what I did at
 that time.

 So: (1) to finish wire(4) there is still a small integration with
 bridge(4)
 MAC learning code left to be done and (2) about the VPLS code in LDPd you
 might have a better luck talking with renato@.


 Hi Alucard,

 There is an ongoing effort to implement these features on OpenBSD. The
 control plane for ldpd(8) is already done, I just need some time to
 polish the patches and send them for review. If you want to help with
 testing please let me know. As for the data plane, I'm now in touch
 with Rafael to support him with his implementation. He will need to
 change a few things in order to support both the VPWS and VPLS
 solutions. For example, claudio@ suggested using one virtual interface
 per pseudo wire and use our bridge(4) for the VPLS stuff (mac
 learning, flooding, ageing, etc). We hope to finish things up soon.

 []s


 Hi Renato

 This is good news.
 I would be happy to help testing

 Louis



I am also very very interested in this. And I have access to a lot of
gear for any cross platform testing...

Thank you guy's so much, I thought this was in a coma...

-Noah



Re: OpenBSD 5.5 on mSATA SSD unit in PC Engines APU.1C - bad dir ino 2 at offset 0: mangled entry kernel panic

2014-06-25 Thread noah pugsley
On Wed, Jun 25, 2014 at 9:51 AM, Chris Cappuccio ch...@nmedia.net wrote:
 sven falempin [sven.falem...@gmail.com] wrote:

 would a bit of http://en.wikipedia.org/wiki/Thermal_grease help ?

 , air being approximately 8000 times less efficient at conducting
 heat than, for example, aluminum (a common heatsink material) 


 That's what the thermal pads are for. Going from 6W/mK to 17W/mK will
 conduct more heat to the sink, but the sink might need to be larger
 for some situations. Also even pressure around the pads is going to be
 critical as the box's designer says.


Perhaps a stupid question, but what about grease or a pad between the
sink and the case?



Re: OpenBSD 5.5 on mSATA SSD unit in PC Engines APU.1C - bad dir ino 2 at offset 0: mangled entry kernel panic

2014-06-25 Thread noah pugsley
On Wed, Jun 25, 2014 at 2:26 PM, Martin Schröder mar...@oneiros.de wrote:
 2014-06-25 22:25 GMT+02:00 noah pugsley noah.pugs...@gmail.com:
 On Wed, Jun 25, 2014 at 9:51 AM, Chris Cappuccio ch...@nmedia.net wrote:
 That's what the thermal pads are for. Going from 6W/mK to 17W/mK will
 conduct more heat to the sink, but the sink might need to be larger
 for some situations. Also even pressure around the pads is going to be
 critical as the box's designer says.

 Perhaps a stupid question, but what about grease or a pad between the
 sink and the case?

 You mean the thermal pads already deployed?


Yes. Either the pads if they are thin enough, or a dot of grease to
fill in the air gaps between sink and case. But I don't have one of
these so this is probably noise...



Thanks for ACPI

2014-06-24 Thread noah pugsley
Works brilliantly on my core i3 Dell inspiron laptop.

It's funny to me that NO power saving features work in Windows 8, nor
2 finger scrolling on the trackpad.

OpenBSD Just Works(tm). Surprise, surprise, surprise

Anyway, thanks!

-Noah



Re: Ethernet configuration problem

2014-06-20 Thread noah pugsley
On Fri, Jun 20, 2014 at 4:38 AM, Thuban thu...@yeuxdelibad.net wrote:
 * Gustav Fransson Nyvell gus...@nyvell.se le [20-06-2014 11:32:22 +0200]:
 On 06/20/14 07:45, Thuban wrote:
 * Stuart Henderson s...@spacehopper.org le [20-06-2014 00:19:17 +]:
 On 2014-06-18, Thuban thu...@yeuxdelibad.net wrote:
 * Peter N. M. Hansteen pe...@bsdly.net le [18-06-2014 18:37:52 +0200]:
 On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:
  jme0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  lladdr 00:90:f5:bc:7b:5E
  groups egress
  media: Ethernet autoselect (none)
  status: no carrier
  inet6 fe80::290:f5ff:febc:7b56%jme0 prefixlen 64 scopeid 0x1
  inet 192.168.1.70 netmask 0xff0 broadcast 192.168.1.255
 
 Haha.
 Cable is plugged.
 
 I tried today to modify media to 10baseT, but the router's LED is still
 off and I can't connect.
 Try a different cable.
 
 If you get status: no carrier with a cable plugged in, the most likely 
 culprit is
 the cable.
 I am currently using this cable on my debian and connexion works
 Are you saying here that the exact same hardware works with linux, but 
 gets
 a 'no carrier' with OpenBSD and FreeBSD? Is it possible to try booting 
 with
 Linux again (a live cd will do) and check link status?
 
 Exactly. On linux, I can use the ethernet correctly. The linux's
 ifconfig gives this :
 
  eth0  Link encap:Ethernet  HWaddr 00:90:f5:bc:7b:56
  inet adr:192.168.1.68  Bcast:192.168.1.255  
  Masque:255.255.255.0
  adr inet6: 2001:41d0:fe34:de00:290:f5ff:febc:7b56/64 
  Scope:Global
  adr inet6: fe80::290:f5ff:febc:7b56/64 Scope:Lien
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:266 errors:0 dropped:0 overruns:0 frame:0
  TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:1000
  RX bytes:61935 (60.4 KiB)  TX bytes:31036 (30.3 KiB)
  Interruption:44
 
 Regards
 Given what vigdis said, I wonder:-
 
 - what speed is the switch port you're using
 
 - what speed does linux negotiate
 
 - what speed is your NIC supposed to support? 10/100 or also gigabit?
 
 I'm not sure how to give you the correct answers to theses questions.
 The speed is 100Mb/s. Following, the output of ethtool on the linux box
 :
 
 
  Settings for eth0:
  Supported ports: [ TP MII ]
  Supported link modes:   10baseT/Half 10baseT/Full
  100baseT/Half 100baseT/Full
  1000baseT/Half 1000baseT/Full
  Supported pause frame use: No
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full
  100baseT/Half 100baseT/Full
  1000baseT/Half 1000baseT/Full
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Link partner advertised link modes:  10baseT/Half 10baseT/Full
  100baseT/Half 100baseT/Full
  Link partner advertised pause frame use: Symmetric
  Link partner advertised auto-negotiation: Yes
  Speed: 100Mb/s
  Duplex: Full
  Port: MII
  PHYAD: 1
  Transceiver: internal
  Auto-negotiation: on
  Supports Wake-on: pg
  Wake-on: g
  Current message level: 0x20c6 (8390)
  probe link rx_err tx_err hw
  Link detected: yes
 
 Do not hesitate to give me some advice to find more interesting
 informations.
 
 Regards,
 
 Hi,

 What speed is your switch?

 Can you give us the switch make and model and the NIC make and model?


 The switch is on the router given by my internet access provider. The
 router is a Thomson Gateway TG784n. Speed is at 100 Mb/s.
 I'm not sure to understand correctly
 what you need because of my poor english. :(

 About the NIC :
 Ethernet controller: JMicron Technology Corp. JMC250
 PCI Express Gigabit Ethernet Controller (rev 05)
 Subsystem: CLEVO/KAPOK Computer Device 4140


 Regards,
 --
 Thuban
 PubKey : http://yeuxdelibad.net/Divers/thuban.pub


What happens under OpenBSD if you plug it into a known working port on
a device other than the provided router?

-Noah



Weird problem with X on Dell inspiron core i3 and 5.5 release

2014-05-09 Thread noah pugsley
Hi misc@,

Had a weird issue on a new install, dmesg below. Installed 5.5/amd64,
everything works, zzz works perfectly btw, thanks!

When I started X for the first time (well, first dozen times) the
screen would turn off, not come up black, but off.

I power cycled it a few times, didn't see any obvious errors in the
logs, etc. I tried it on an external monitor and the same thing
happened the first time I did 'startx', the second time it worked and
now without external vga the built in monitor works fine. I tried it
again after a full shutdown.

Anyway, works great now, I thought it was odd and decided to share. Thanks.

--noah

OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar  5 09:37:46 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3060002816 (2918MB)
avail mem = 2969997312 (2832MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe8e10 (65 entries)
bios0: vendor Dell Inc. version A01 date 11/15/2010
bios0: Dell Inc. Inspiron 1121
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP ASF! HPET APIC MCFG SLIC BOOT ASPT WDAT OSFR SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) P0P1(S0) EHC1(S0) EHC2(S0)
HDEF(S0) RP01(S3) PEG3(S4) PEG5(S4) PEG6(S4) LID0(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz, 1197.43 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz, 1197.21 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz, 1197.21 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz, 1197.21 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 2, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 3 (P0P1)
acpiprt3 at acpi0: bus 1 (RP01)
acpiprt4 at acpi0: bus 2 (RP02)
acpiprt5 at acpi0: bus -1 (RP03)
acpiprt6 at acpi0: bus -1 (RP04)
acpiprt7 at acpi0: bus -1 (RP05)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG3)
acpiprt11 at acpi0: bus -1 (PEG5)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model DELL 57VCF0BD serial 7B07 type Lion oem SDI
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpidock0 at acpi0: DOCK not docked (0)
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
ipmi: unknown register spacing
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 1197 MHz: speeds: 1199, 1066, 933, 799, 666 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel HD Graphics rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 3400 MEI rev 0x06 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x05: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 3400 HD Audio rev 0x05: msi
azalia0: codecs: Realtek ALC269, Intel/0x2804, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 

Re: Eth port (bge) physically powered down after halt -p

2014-04-25 Thread noah pugsley
On Fri, Apr 25, 2014 at 3:24 AM, Alessandro DE LAURENZIS 
just22@gmail.com wrote:

 On Fri 25/04, Stefan Sperling wrote:
  On Fri, Apr 25, 2014 at 08:53:42AM +0200, Alessandro DE LAURENZIS wrote:
   Some other debug here, and this time with (I hope) more useful info.
 
  Thanks!
 
   First of all, I confirm that the debug messages triggered by the added
   printf instructions are *NOT* logged by dmesg (and /var/log/*), but are
   instead visible on the screen (it takes a while to find out that,
   'cause this laptop has an almost totally broken LCD, as I said
   previously).
  
   Now:
  
   1) after a halt -p command, the bge_activate function is triggered
   with value 5:
  
   BGE WOL DEBUG
   bge_activate:5
 
  Great. This means we're missing the POWERDOWN case.
 
  Can you try adding this 'case' block to the switch (act) statement
  in bge_activate?
 
case DVACT_POWERDOWN:
rv = config_activate_children(self, act);
if (ifp-if_flags  IFF_RUNNING)
bge_stop(sc);
  #ifndef SMALL_KERNEL
bge_wol_power(sc);
  #endif
break;

 It finally works!

 Stefan, really: I'm impressed; this is a great example of kindness,
 availability and commitment; I'm an OpenBSD noob (and probably I'll ever
 be, considering that I use Unix and Unix-like systems for about 20 yrs
 now and I feel that there are still so many things to learn...), but
 I rarely received so much attention and competent support in other
 communities.

 I'm attaching a tarball with all the modified files, 'cause we proceeded
 iteratively and it's very easy to miss something; it would be great if
 you could revisit the code and prepare a patch usable with 5.4-Rel
 (I applied some hunks by hand because they were not directly manageable
 by the patch command).


FYI:  Most OpenBSD mailing lists strip messages of MIME content before
sending them out to the rest of the list.

http://www.openbsd.org/mail.html


 I don't know if you're still in time to discuss the modifications and
 commit them for the incoming 5.5; the only thing I can add is that,
 differently from what you said initially, Broadcom BCM57xx chips are
 anything but rare: they have been, for example, extensively used on Dell
 Latitude D series (in my case, it is a D810), so enabling WoL on them in
 the mainstream would be a significant improvement.

 Keep me informed and thanks again.

 All the best

 --
 Alessandro DE LAURENZIS
 [mailto:just22@gmail.com]
 LinkedIn: http://it.linkedin.com/in/delaurenzis

 [demime 1.01d removed an attachment of type application/x-tar-gz]



Re: PI-like board for OpenBSD?

2014-04-22 Thread noah pugsley
On Tue, Apr 22, 2014 at 12:02 PM, Chris Cappuccio ch...@nmedia.net wrote:

 Stuart Henderson [s...@spacehopper.org] wrote:
 
  PCEngines APU are faster and more capable (also support amd64), also
  pretty cheap. I don't have one but various other developers do. This has
  had some bios problems but is getting there and has a big advantage of
  being able to use much better storage (msata ssd) which I think would
  be useful if you're running mail on it. So you may need to be prepared
  to flash bios (probably easiest from freedos) and a bit of faff, but
  should get something working fairly well reasonably soon.
 

 The APU works really well with the 4/1 and 4/5 BIOS and OpenBSD 5.5
 (or current.)

 Creating a bootable USB stick for upgrading the BIOS is a minor PITA. But,
 these things are much cheaper than the net6501 and probably quite a bit
 more reliable (just look at the history of the ALIX vs. net5501 and now
 the early history of the net6501...)

 They are really fast when compared to their power consumption. The 1GHz
 core
 is just about 3x slower with md5 than my 3GHz Core i5 desktop. (Roughly
 5x slower with sha{256,512}.) I wouldn't hesitate to put one in action
 for mail, routing, etc. It should be very capable.

 And the re(4) driver has none of the problems that vr(4) had
 (which made the ALIX less desirable for some time) I can get _at least_
 50MB/sec on tmpfs-tmpfs file transfers between machines with no tuning
 whatsoever.

 The only place where I'd pick an ALIX over an APU is when the extra $30-$45
 USD is too much, or where you need working GPIO today (OpenBSD doesn't
 have a driver for the NCT5104D GPIO yet), or where you are already running
 really high temperatures and the extra heat could be a problem.

 Intel Core i5-3330 (3GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.185806 seconds
 Speed  = 538195752.559121 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 0.747371 seconds
 Speed  = 133802355.189056 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 0.491116 seconds
 Speed  = 203617882.536916 bytes/second

 Intel Core 2 Duo E8300 (2.83GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.214213 seconds
 Speed  = 466825075.975781 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 0.974349 seconds
 Speed  = 102632629.581392 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 0.633422 seconds
 Speed  = 157872634.673251 bytes/second

 AMD G-T40N (1GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.592447 seconds
 Speed  = 168791469.954274 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 4.020106 seconds
 Speed  = 24874965.983484 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 2.596597 seconds
 Speed  = 38511944.672200 bytes/second

 AMD G-T40E (1GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.614200 seconds
 Speed  = 162813415.825464 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 4.179778 seconds
 Speed  = 23924715.618868 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 2.697796 seconds
 Speed  = 37067294.932604 bytes/second

 (The G-T40N is a 9W CPU in the APU.1B, the G-T40E is a 6W CPU in the
 APU.1C)

 APU.1B dmesg:

 OpenBSD 5.5-current (GENERIC.MP) #62: Thu Apr 10 07:35:11 MDT 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 2098520064 (2001MB)
 avail mem = 2033950720 (1939MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS 

Re: ghostscript 9.06 in OpenBSD AGPL or GNU GPL version?

2014-04-17 Thread noah pugsley
You know Chris, if you grew a beard..nmedia.net/bsdsexy? wopsexy?
Maybe a sexy developer calendar can help with the donations...



On Thu, Apr 17, 2014 at 3:35 PM, Chris Cappuccio ch...@nmedia.net wrote:

 Bob Eby [eby...@gmail.com] wrote:
 
  This seems to indicate you're using the AGPL version 9.06
  ghostscript from the Artifex site?  Is that correct?
  Is AGPL compatible with OpenBSD ports?
 
  I just wonder why not use the AGPL version 9.07 or 9.10?
  Seems odd you stick to the version GNU (non-A)GPL uses: 9.06.0
  if there isn't any connection.
 

 OpenBSD is a strong supporter of the FSF and the GNU GPL.

 See http://rms.sexy/ for more information.



Re: ghostscript 9.06 in OpenBSD AGPL or GNU GPL version?

2014-04-17 Thread noah pugsley
Did you mean once upon a tip?

I'm clearly no developer, but if I volunteered too folks would pay us NOT
to publish it. My current body style is 'prepubescent girl on her sixth
month in a concentration camp'.


On Thu, Apr 17, 2014 at 5:12 PM, Chris Cappuccio ch...@nmedia.net wrote:

 noah pugsley [noah.pugs...@gmail.com] wrote:
  You know Chris, if you grew a beard..nmedia.net/bsdsexy? wopsexy?
  Maybe a sexy developer calendar can help with the donations...
 

 Perhaps a swimsuit calendar? I'll volunteer for the cover!

 Maybe a collaboration with Wu-Tang for the music track of the
 one-of-a-kind Once Upon a Time in Calgary ??



Re: OpenBSD Foundation 2014 Fundraising Campaign.

2014-04-11 Thread noah pugsley
On Fri, Apr 11, 2014 at 8:15 AM, Jan Stary h...@stare.cz wrote:

 On Apr 11 11:46:12, openbsd.as.a.desk...@gmail.com wrote:
  Hi all,
 
  -
  1)
  If I search for openbsdfoundation on:
 
  - Facebook
  - Twitter
  - Youtube
  - Instagram
  - Flickr
  - Slideshare
  - etc..
 
  I get ZERO results regarding the topic.

 If I search for openbsdfoundation on Google,
 I get the right thing as the first hit.

  We are writing 2014.
  The people are on social sites..
  More could be reached if these mentioned sites would have marketing for
 the
  foundation too.

 Ah, so there are people willing to donate to OpenBSD,
 but they don't even know about it, as it is only
 to be found on Google, right?

 That's bullshit. But if you really think so, go ahead:
 set yourself up on all those sites and make OpenBSD visible.

  -
  2)
  If I go to:
  http://www.openbsdfoundation.org
  I just can't see any page on the website that has logos, html codes (that
  can be CTRL+C'ed simply), what can people put out on their blogs,

 You mean, such as www.openbsdfoundation.org?


  webpages
  (openbsdfoundation logo/donate/etc. - a little picture that is an URL to
  the foundations website - donations.html page), so that their visitors
 can
  see that there is a good project waiting for foundations.

 Dear search engines (twitter etc), please spread this:
 a href=http://www.openbsdfoundation.org/donations.html;img
 src=kitten.gifa good project waiting for foundations/a
 (Now let's wait for the money pouring in.)


When I searched 'openbsd foundation' on facebook I was taken to an
auto-generated 'fan' page. When I searched for 'openbsdfoundation' the
zuckerberg skynet gave me web search results, the top 5 of which went to
the foundation site.

Who knows what it's worth but I've been blasting the mailing list chatter
all over reddit and facebook. Only takes a few minutes. Various 'Occupy'
groups seemed to appreciate it. Whether or not it turns into donations,
beats me.



Re: OT: Re: FYA: http://heartbleed.com/

2014-04-09 Thread noah pugsley
On Wed, Apr 9, 2014 at 8:44 PM, Ralph W Siegler rsieg...@rsiegler.orgwrote:

 Stuart Henderson stu at spacehopper.org writes:

 
  On 2014-04-09, sven falempin sven.falempin at gmail.com wrote:
   i which this : https://polarssl.org was open and inside the base
 
  You can wish, but that is commercial+GPL code so OpenBSD can't use it in
 base.

 What I would wish for is the OpenSSH project to expand to become the
 OpenSSH/SSL project.  I'll take  a 'correct and slow' transport layer
 security over 'fast and bypassing my OS's memory protection features'
 transport layer security any day.   Such a scope would seem to be within
 the
 purview of securing communications.


So Theo's message in the other thread about openssh and the foundation imho
is the right approach. Not that my opinion matters.

Point out what secure, fundamentally important software billions of people
rely on every second of every day and don't pay a dime for. Step up and
donate, I'm sure everybody here agrees.

The problem with that as I see it is that people will complain about not
being able to donate to a specific subset of the project. As with OpenSSH
in the past and probably present. The same way many complained before the
foundation existed about paying Theo's power bill and humble salary. I
shouldn't say problem, couldn't think of better language, just that there
may be an opportunity here.

I disagree with that attitude completely but in this case would it be such
a bad idea to make an appeal to the broader community and seek funding for
just this? I guess my point is, people are worked up about this and
everybody knows you guy's are the ones to fix it, even if they whine about
their hurt feelings.

-noah



Re: OT: Re: FYA: http://heartbleed.com/

2014-04-09 Thread noah pugsley
On Wed, Apr 9, 2014 at 10:25 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote:

  The problem with that as I see it is that people will complain about
  not being able to donate to a specific subset of the project. As
  with OpenSSH in the past and probably present. The same way many
  complained before the foundation existed about paying Theo's power
  bill and humble salary. [...]

 A correction is due here.

 My salary is only a sub-set of the CD sales.  That is a result of the
 bi-annual release engineering.

 In years past, the CD revenue beyond my salary was used to fund
 hackathons, network, and the electricity.  That decreased as time went
 by.  Until there was little left.

 Then the Foundation came along.

 So, regarding your paragraph:  donations were not for my salary.


Sorry if I wasn't clear. I kind of muddled the two together. I do
understand that. It's why I stated 'before the foundation existed'. If my
memory serves me it was a point of contention that cd sales and whatever
meager direct donations went into a big pot, most of which is for what you
described, the rest for you and that it wasn't tax deductible.

If I can manage to be clear for a change, I always thought it was a
bullshit attitude but seems to be a reality. People who donate only because
they get tax breaks are pricks. Maybe I'm off base and it's not worth the
time to pander to those folks. Ignoring the masses is one of the things
that make this project great.

I'll stop beating this bike shed colored horse now. Thank you all for your
hard work and dedication. I'll be able to make a donation at the end of
this month and will.

--noah



OT: Re: FYA: http://heartbleed.com/

2014-04-08 Thread noah pugsley
On Tue, Apr 8, 2014 at 12:40 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote:

  On Tue, Apr 08, 2014 at 15:09, Mike Small wrote:
   nobody openbsd.as.a.desk...@gmail.com writes:
  
   read overrun, so ASLR won't save you
  
   What if malloc's G option were turned on? You know, assuming the
   subset of the worlds' programs you use is good enough to run with that.
 
  No. OpenSSL has exploit mitigation countermeasures to make sure it's
  exploitable.

 What Ted is saying may sound like a joke...

 So years ago we added exploit mitigations counter measures to libc
 malloc and mmap, so that a variety of bugs can be exposed.  Such
 memory accesses will cause an immediate crash, or even a core dump,
 then the bug can be analyed, and fixed forever.

 Some other debugging toolkits get them too.  To a large extent these
 come with almost no performance cost.

 But around that time OpenSSL adds a wrapper around malloc  free so
 that the library will cache memory on it's own, and not free it to the
 protective malloc.

 You can find the comment in their sources ...

 #ifndef OPENSSL_NO_BUF_FREELISTS
  /* On some platforms, malloc() performance is bad enough that you can't
 just


 OH, because SOME platforms have slow performance, it means even if you
 build protective technology into malloc() and free(), it will be
 ineffective.  On ALL PLATFORMS, because that option is the default,
 and Ted's tests show you can't turn it off because they haven't tested
 without it in ages.

 So then a bug shows up which leaks the content of memory mishandled by
 that layer.  If the memoory had been properly returned via free, it
 would likely have been handed to munmap, and triggered a daemon crash
 instead of leaking your keys.

 OpenSSL is not developed by a responsible team.



Perhaps it's a great time to kickstart an OpenOpenSSL replacement, a la
bgpd, ospfd, smtpd et al? Now, I don't have the skills or the guts, but I
do have $5 on it. Anybody else?



Re: Announce: OpenSMTPD 5.4.2 released

2014-03-04 Thread noah pugsley
Nice work guys! Looking forward to trying out the postgres backend.Cool!


On Tue, Mar 4, 2014 at 1:52 PM, Gilles Chehade gil...@poolp.org wrote:

 OpenSMTPD 5.4.2 has just been released.

 OpenSMTPD is a FREE implementation of the SMTP protocol with some common
 extensions. It allows ordinary machines to exchange e-mails with systems
 speaking the SMTP protocol. It implements a fairly large part of RFC5321
 and can already cover a large range of use-cases.

 It runs on OpenBSD, NetBSD, FreeBSD, DragonFlyBSD, OSX and Linux.

 The archives are now available from the main site at www.OpenSMTPD.org

 We would like to thank the OpenSMTPD community for their help in testing
 the snapshots, reporting bugs, contributing code and packaging for other
 systems.

 This is a minor release with a few new features, minor bugfixes and lots
 of internal cleanup and changes in prevision of next major release.


 New features since last stable release (5.4.1):
 ===

   * Introduce initial support for DSN extension:
 - NOTIFY=SUCCESS, NOTIFY=FAILURE, NOTIFY=DELAY, NOTIFY=NEVER
 - RET=HDRS, RET=FULL


   * Introduce initial support for ENHANCEDSTATUSCODES extension:
 - smtp process returns Enhanced Status Codes for most commands
 - other processes now have an API to return more precise codes ...
 - ... which will be improved further with each version

   * Improved smtpctl:
 - sendmail mode now supports DSN parameters
 - can now pause/resume a source address - destination domain route
 - can now display status of processes with smtpctl show status

   * Introduced SNI support
   * Many documentation fixes and improvements
   * And a lot of minor bug-fixes and internal cleanup !


   Experimental:

   * REDIS table backend
   * SQLite table backend
   * LDAP table backend
   * Postgres table backend
   * SOCKETMAP table backend


   Limitations:

   * No filters support yet (we're almost there... for real)
   * No masquerading or address rewrite yet (see above)


 Contributors:
 =

 The following people have contributed features to this release:

 Michael Neumann, Ryan Kavanagh, Sunil Nimmagadda


 Checksums:
 ==

   SHA256 (opensmtpd-5.4.2.tar.gz) =
   c0f5fde620f178a350ce9c0f40ec443a0e6a5170ef11209d492d737ba9e31bbc

   SHA256 (opensmtpd-5.4.2p1.tar.gz) =
   4ffaf48d3d044ef8be1bd80c8972c87ba830a21bb330b85a59f6a70da5fbd9a2


 Support:
 

 You are encouraged to register to our general purpose mailing-list:
 http://www.opensmtpd.org/list.html

 The Official IRC channel for the project is at:
 #OpenSMTPD @ irc.freenode.net


 Reporting Bugs:
 ===

 Please read http://www.opensmtpd.org/report.html
 Security bugs should be reported directly to secur...@opensmtpd.org
 Other bugs may be reported to b...@opensmtpd.org

 OpenSMTPD is brought to you by Gilles Chehade, Eric Faurot and Charles
 Longeau.

 --
 Gilles Chehade

 https://www.poolp.org  @poolpOrg



Re: OPENBSD FUNDING SOLUTION -- COME AND PARTICIPATE

2014-01-19 Thread noah pugsley
On Sun, Jan 19, 2014 at 9:06 AM, Brian Stubbe Vangsgaard b...@cabinn.comwrote:

 Hi,


  Maybe 14 other business owners in my position can do the same?


 I just convinced my employer to do it.


  Is anyone with me here?


 Ofc.


  There is this cool web site that automates the process:
 http://www.openbsdfoundation.org/donations.html

 Chris


 Thank you for your OpenBSD Order!
 In case of problems or questions about this order,
 please contact aus...@openbsd.org

 Order number 2014/1/19-9:39:22-21XXX:
 Your order currently is:
 - CDN $100.00 [DON] DONATION to the OpenBSD Project
 - Total: CDN $100.00 + Shipping.

 This is my personal donation, keep up the good work!


 --
 Med venlig hilsen / kind regards
 Brian S. Vangsgaard


Just saw this on slashdot:
http://www.thedrinkingrecord.com/2014/01/19/romanian-billionaire-saves-openbsd/

Any idea if it's true?



Re: [OT] CCC 2013 Videos: X Security (It's worse than it looks)

2014-01-03 Thread noah pugsley
On Fri, Jan 3, 2014 at 8:07 PM, patrick keshishian pkesh...@gmail.comwrote:

 On 1/3/14, Jiri B ji...@devio.us wrote:
  Hi,
 
  As we (all) use X, I think following video would be interesting for
  you :)
 
 
 http://media.ccc.de/browse/congress/2013/30C3_-_5499_-_en_-_saal_1_-_201312291830_-_x_security_-_ilja_van_sprundel.html

 Take away quote in regard to Xorg and X privilege separation:
 OpenBSD guys know how to do privilege separation. Just get
 their code and use it!


@51:45 if you want to skip to the juicy bit. Whole talk is great though.



  Big thanks to Ilja for making X better for everybody.
 
  jirib



Re: UEFI

2013-11-05 Thread noah pugsley
On Tue, Nov 5, 2013 at 1:29 PM, sven falempin sven.falem...@gmail.comwrote:

 On Tue, Nov 5, 2013 at 1:49 PM, Peter N. M. Hansteen pe...@bsdly.net
 wrote:

  sven falempin sven.falem...@gmail.com writes:
 
   My laptop has no BIOS.
   What do you recommend to get openBSD on it ?
 
  It's not entirely uncommon to have a (sometimes quite well hidden)
  option to choose 'legacy mode' or similar over UEFI mode.
 
  But you should be prepared to dig out the long form user or service
  manual for your device to track down just how to enable it.
 
  - P
  --
  Peter N. M. Hansteen, member of the first RFC 1149 implementation team
  http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
  Remember to set the evil bit on all malicious network traffic
  delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
 


 Not  helping .

 Did someone use grub 2 to achieve a uefi boot ?


It might not have been the answer you wanted but did you even try Peters
suggestion?


 --

 -
 () ascii ribbon campaign - against html e-mail
 /\



Re: RJ11 on Alix 2d13 with OpenBSD

2013-11-05 Thread noah pugsley
On Tue, Nov 5, 2013 at 3:30 PM, Loïc BLOT
loic.b...@unix-experience.frwrote:

 Hi,
 i'm trying to replace and remove my ADSL box with a Alix 2d13 runs very
 well on it and with athn, congrats !)
 I would test to plug RJ11 cable (from my ADSL line, behind the ADSL
 filter) to the RJ45 plug but it seems this doesn't work (no carrier).


You plugged a phone line into an ethernet port. Why would it know what an
ADSL carrier looks like?


 Is this possible ? If yes, how can i do it ?
 Else, i may use modems, but are USB modems goods for ADSL 2+ (PPPoE) or
 must i use a ADSL - Ethernet modem (like


http://www.netgear.fr/home/products/wired-routers-and-modems/wired-modems/dm1
 11p.aspx) ?


 What is your existing 'ADSL box'? A typical setup should look something
like this:

pstn local loop --pots line-- ADSL modem/bridge/router --ethernet--
Your router/network.

Just plug the ethernet port from your 'ADSL box' into your Alix and
configure it for ppoe/a, dhcp or whatever your provider requires.

The modem is still a point of failure whether or not it is a card internal
to the Alix, a usb adapter (which I don't think any are supported on
OpenBSD), or an external device. I prefer an external device as it is
easier to replace.

Just use what you got.



 Thanks in advance !
 --
 Best regards,
 Loïc BLOT,
 UNIX systems, security and network engineer
 http://www.unix-experience.fr

 [demime 1.01d removed an attachment of type application/pgp-signature
 which had a name of signature.asc]



Re: RJ11 on Alix 2d13 with OpenBSD

2013-11-05 Thread noah pugsley
On Tue, Nov 5, 2013 at 4:28 PM, Loïc BLOT loic.b...@unix-experience.frwrot

 Hi,
 thanks for you replies, i'll try a ADSL 2+ bridge modem later.
 Sorry noah but i'm not familiar with DSL techs, i prefer LAN tech it's
 simpler. I thought modern RJ45 network cards can understand the
 RJ11/ADSL protocol but this is wrong.


Sorry? No need. Stuart is right though, as usual. On hook voltage (in the
US) is -48VDC and ring voltage can be up to 90VAC @ anywhere from 15-70hz.
I think it may be higher in Europe. Ethernet is +/- 2.5VDC. Anyway, yeah,
don't fry your stuff!

Good luck.

-Noah


 Good evening !
 --
 Best regards,
 Loïc BLOT,
 UNIX systems, security and network engineer
 http://www.unix-experience.fr



 Le mardi 05 novembre 2013 à 15:49 -0800, noah pugsley a écrit :
  On Tue, Nov 5, 2013 at 3:30 PM, Loc BLOT
  loic.b...@unix-experience.frwrote:
 
   Hi,
   i'm trying to replace and remove my ADSL box with a Alix 2d13 runs very
   well on it and with athn, congrats !)
   I would test to plug RJ11 cable (from my ADSL line, behind the ADSL
   filter) to the RJ45 plug but it seems this doesn't work (no carrier).
  
 
  You plugged a phone line into an ethernet port. Why would it know what an
  ADSL carrier looks like?
 
 
   Is this possible ? If yes, how can i do it ?
   Else, i may use modems, but are USB modems goods for ADSL 2+ (PPPoE) or
   must i use a ADSL - Ethernet modem (like
  
  
 


http://www.netgear.fr/home/products/wired-routers-and-modems/wired-modems/dm1
   11p.aspx) ?
  
 
   What is your existing 'ADSL box'? A typical setup should look something
  like this:
 
  pstn local loop --pots line-- ADSL modem/bridge/router --ethernet--
  Your router/network.
 
  Just plug the ethernet port from your 'ADSL box' into your Alix and
  configure it for ppoe/a, dhcp or whatever your provider requires.
 
  The modem is still a point of failure whether or not it is a card
 internal
  to the Alix, a usb adapter (which I don't think any are supported on
  OpenBSD), or an external device. I prefer an external device as it is
  easier to replace.
 
  Just use what you got.
 
 
  
   Thanks in advance !
   --
   Best regards,
   Loc BLOT,
   UNIX systems, security and network engineer
   http://www.unix-experience.fr
  
   [demime 1.01d removed an attachment of type application/pgp-signature
   which had a name of signature.asc]

 [demime 1.01d removed an attachment of type application/pgp-signature
 which had a name of signature.asc]



Re: RJ11 on Alix 2d13 with OpenBSD

2013-11-05 Thread noah pugsley
On Tue, Nov 5, 2013 at 4:43 PM, James Hartley jjhart...@gmail.com wrote:

 On Tue, Nov 5, 2013 at 5:50 PM, Stuart Henderson s...@spacehopper.org
 wrote:

  On 2013-11-05, Loïc BLOT loic.b...@unix-experience.fr wrote:
   I would test to plug RJ11 cable (from my ADSL line, behind the ADSL
   filter) to the RJ45 plug but it seems this doesn't work (no carrier).
   Is this possible ?
 
  No, and in some cases you may damage the nic..
 

 I apologize for the tangential question.  On Amazon, I've located cables
 with a RJ11 connector on one end,  a RJ45 on the other.  Is using this
 type of cable to connect an Alix directly to the phone line discouraged?

 Thanks for any enlightenment.

 See my last message in this thread. The connectors are irrelevant. PSTN !=
Ethernet. Stated differently, an ethernet nic is not a modem.



Re: RJ11 on Alix 2d13 with OpenBSD

2013-11-05 Thread noah pugsley
On Tue, Nov 5, 2013 at 6:56 PM, Chris Cappuccio ch...@nmedia.net wrote:

 noah pugsley [noah.pugs...@gmail.com] wrote:
  Ethernet. Stated differently, an ethernet nic is not a modem.

 Mr. Pugsley, an ethernet NIC includes a Modulator and Demodulator for
 any of 10BaseT, 100BaseTX, 1000BaseT, 1BaseThingies, fiber versions
 of the same, and so on.


I'm working on a universal software defined super modem for wifi, hifi,
guyfi, gayfi, bifi, analog, adsl and terrabit token ring. Problem is I can
only get decent performance on GNU Hurd with an A/UX userland. I'm such a
dummy, I should have asked jeeves.



 Of course, it's not a 300 baud modem, not a 28.8 USR Sportster, and
 not an ADSL or ADSL2+ capable device. But why not?  Maybe it should be.
 The universal modem port that can do everything. Yeah baby.



Re: Lanner or Soekris?

2013-10-21 Thread noah pugsley
On Mon, Oct 21, 2013 at 4:06 PM, emigrant emig...@gmail.com wrote:

 Hi

 I need to replace my crappy, old machine(Master) Futro S400(
 http://uk.ts.fujitsu.com/rl/servicesupport/techsupport/professionalpc/thinclients/futrosxx/futros400.htm
 http://cl.ly/image/3C0Z363q0M1O http://cl.ly/image/311f3U260R37 )  for
 something new. My Backup machine is Alix 2D3(
 http://cl.ly/image/2M2x1l1V0k1r ), is perfect for that(carp+pfsync, only
 pf and small things) :)

 Hmm, Soekris net6501-70( http://soekris.com/products/net6501.html )  or
 Lanner FW-7541(
 http://www.lannerinc.com/products/x86-network-appliances/desktop/fw-7541). 
 OK, simple question, what's better?:) Price is almost the same.  In my
 opinion Soekris is a little bit obsolete.
 My requirements: small, home router/server, fanless: pf(altq+hfsc) for ~15
 hosts, carp+pfsync, nat, named, www, samba, ftp, UniFi
 Controller(jre+mongod), pfstat, ipfm, pf logs, SSD(CF is too slow).
 Hmm, Lanner looks better, 6xNIC, 1xrj45 console port, newer hardware,
 memory(ddr3) upgradable(i think so?), dual core Atom 64bit, all ports on
 front.
 Soekris, maybe more professional product?
 Any suggestions?


For not too much more $$ it looks like the Lanner is the better option. Do
you really need that many nic's? You might do just as well with a cheaper
supermicro box. Just a thought.

http://www.superbiiz.com/detail.php?p=SY-117AMP

-noah



Re: Lanner or Soekris?

2013-10-21 Thread noah pugsley
Ok, Ok, fair enough. Go for it. With a managed switch though you could do
all of that with one phy and vlans.


On Mon, Oct 21, 2013 at 5:14 PM, emigrant emig...@gmail.com wrote:

 min. 3xNICs: wan, lan, pfsync.  Hmm 6xNIC == WAN 2x aggregation
 ports+failover+lacp, LAN  2x aggregation ports+failover+lacp  and pfsync
 1port = 5port use. You know, everything 4fun, btw i have 24G managed
switch.

 Supermicro? no way! :), ugly, audio, video,vga,hdmi, dp. No, no, no ;)

 On 22 paź 2013, at 01:44, noah pugsley noah.pugs...@gmail.com wrote:

 On Mon, Oct 21, 2013 at 4:06 PM, emigrant emig...@gmail.com wrote:

 Hi

 I need to replace my crappy, old machine(Master) Futro S400(

http://uk.ts.fujitsu.com/rl/servicesupport/techsupport/professionalpc/thincli
ents/futrosxx/futros400.htm
 http://cl.ly/image/3C0Z363q0M1O http://cl.ly/image/311f3U260R37 )  for
 something new. My Backup machine is Alix 2D3(
 http://cl.ly/image/2M2x1l1V0k1r ), is perfect for that(carp+pfsync, only
 pf and small things) :)

 Hmm, Soekris net6501-70( http://soekris.com/products/net6501.html )  or
 Lanner FW-7541(
 http://www.lannerinc.com/products/x86-network-appliances/desktop/fw-7541).
OK, simple question, what's better?:) Price is almost the same.  In my
 opinion Soekris is a little bit obsolete.
 My requirements: small, home router/server, fanless: pf(altq+hfsc) for
 ~15 hosts, carp+pfsync, nat, named, www, samba, ftp, UniFi
 Controller(jre+mongod), pfstat, ipfm, pf logs, SSD(CF is too slow).
 Hmm, Lanner looks better, 6xNIC, 1xrj45 console port, newer hardware,
 memory(ddr3) upgradable(i think so?), dual core Atom 64bit, all ports on
 front.
 Soekris, maybe more professional product?
 Any suggestions?


 For not too much more $$ it looks like the Lanner is the better option. Do
 you really need that many nic's? You might do just as well with a cheaper
 supermicro box. Just a thought.

 http://www.superbiiz.com/detail.php?p=SY-117AMP

 -noah



Re: Sorry OpenBSD people, been a bit busy

2013-10-07 Thread noah pugsley
Slander aside, pretty cool news. I do have one stupid question though,
what does the 'yy' in yycix stand for?

On 10/6/13, dera...@cvs.openbsd.org dera...@cvs.openbsd.org wrote:
 Hi, yeah, it is really me.  I find it strange posting to misc,
 starting an email thread.  Normally I finish the threads here.

 Most OpenBSD developers have known for a while, but I think it is
 important to tell the greater community that I've been a bit busy for
 about the last year.  I have not been paying as much attention to
 OpenBSD development as I'm expected to.  Luckily, other developers
 have done a great job keeping it on track.

 Why?  With a group of others, I started setting up an Internet
 Exchange in Calgary, and this has taken much time because it is highly
 politicized and has encountered some resistance.

 http://yycix.ca
 https://en.wikipedia.org/wiki/YYCIX_Internet_Exchange_Community_Ltd

 Now, why do I mention this in relation to OpenBSD?  Well, at the end
 of 2007 someone decided to open an impersonation account on twitter in
 my name, and start sending a mix of things I have said (see wikiquote
 for instance), with things that I would never say.  That account is
 http://twitter.com/theoderaadt

 A few notes:  The account has now changed to declare that it is a
 parody account and renamed to Not Theo de Raadt, as of a few days
 ago.  If you read back into the past, you will see true character of
 the account and the individual.

 People in the local community were directed to the account, to give a
 negative, if not slanderous, view of my character.  The ones directing
 them have high-profile roles in the community, so people would take
 what they say as true.  Since I am the network manager for the
 exchange equipment, this by extension was meant to hurt YYCIX.

 Why would stewards of important infrastructure projects deliberately
 spread such false stories?

 I will not mention names.  I don't need to; many can dig a little and
 figure out who those actors are.  As a hint, search a little bit
 higher.

 Finally, one thing that particularily bothers me in the old postings
 is the mention of my old friend Itojun, a very dedicated developer of
 IPv6.  As many of you know, he and John Postel are the only two
 internet architects currently honoured on an annual basis by the
 Internet Society in the form of an award.

 http://www.internetsociety.org/what-we-do/grants-and-awards/awards/itojun-service-award

 Layers of hurt being thrown around.  Why?



Re: Sorry OpenBSD people, been a bit busy

2013-10-07 Thread noah pugsley
Thank you both for answering my question.

On 10/7/13, Scott McEachern sc...@blackstaff.ca wrote:
 On 10/07/13 21:57, noah pugsley wrote:
 Slander aside, pretty cool news. I do have one stupid question though,
 what does the 'yy' in yycix stand for?

 YYC is the International Air Transport Association airport code for the
 Calgary International Airport.  Eg. YYZ is Toronto's Pearson airport,
 London's Heathrow is LHR, etc.

 I'd imagine they chose YYC to clearly indicate the IX location.

 https://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code

 --
 Scott McEachern

 https://www.blackstaff.ca

 Beware the Four Horsemen of the Information Apocalypse: terrorists, drug
 dealers, kidnappers, and child pornographers. Seems like you can scare any
 public into allowing the government to do anything with those four.  --
 Bruce Schneier



Latest bsdnow episode w/Gilles and Eric from OpenSMTPD fame.

2013-09-20 Thread noah pugsley
Check it B, funky fresh.

http://www.bsdnow.tv/episodes/2013-09-18_mx_with_ttx



Re: 10GBit OpenBSD Firewall

2013-09-13 Thread noah pugsley
On Fri, Sep 13, 2013 at 12:02 AM, Henning Brauer lists-open...@bsws.dewrote:

 * Andy a...@brandwatch.com [2013-09-02 15:55]:
  Also I'm very willing to beta test the new ALTQ code? I was chatting
  to Theo briefly a few weeks back and he said I should ask for the
  code but I cannot remember who in the team he said I should message
  for this?

 c'est moi.
 diff at http://bulabula.org/diffs/newqueue.diff
 manpage should make things clear.

  I'm not a coder but I'm happy to contribute as and where I can :)

 test test test
 for some background, check http://bulabula.org/papers/2012/eurobsdcon/


Gosh darn you Henning and your gigantic bavarian slides! Gosh darn you to
heck.

Thanks for the code though...



 --
 Henning Brauer, h...@bsws.de, henn...@openbsd.org
 BS Web Services GmbH, http://bsws.de, Full-Service ISP
 Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully
 Managed
 Henning Brauer Consulting, http://henningbrauer.com/



Re: OpenBSD Doesn't Support 64-Bit Intel

2013-07-02 Thread noah pugsley
More wrong? Maybe so. My point was that both are and either way it's
inconsistent.

On Mon, Jul 1, 2013 at 8:08 AM, Nick Holland n...@holland-consulting.netwrote:

 On 07/01/2013 09:27 AM, noah pugsley wrote:
 ...

  At first I thought this was a wonderful troll. Guy's got a point though.
 Look at the i386 page.


 http://www.openbsd.org/i386.**html http://www.openbsd.org/i386.html:

 Supported hardware:

 The list of supported hardware is relevant to OpenBSD-current. It will
 differ slightly from the support provided in the latest release version.
 Processors

 All CPU chips compatible with the Intel 80386 (i386) architecture, except
 for the 80386 itself, are supported:

  80486 (DX/DX2/DX4)

 ...[snip painful, incomplete list]...

   Transmeta TM3200, TM5400, TM5600, TM5800

 Regular floating-point coprocessors (80487SX) are required when not built
 into the processor.


 really, I think that's more wrong.  Trying to itemize the list when
 various manufacturers are constantly cranking out new and reusing old names
 is misleading in the other direction.  I think it could be reduced to just:


  Everything that is a clone of the 486 or up should work fine.


 maybe adding a blurb about how a standard hardware FPU is required, as
 someone out there might still have some 486SX systems laying around.

 This is easier than amd64...  just about everything works, and if it
 doesn't, it is not likely a processor issue.  amd64...well, some of the
 Intel chips, you just need (or it is easier) to test to find out if you got
 the right bit of magic.

 Nick.



Re: OpenBSD Doesn't Support 64-Bit Intel

2013-07-01 Thread noah pugsley
On Sun, Jun 30, 2013 at 9:16 PM, STeve Andre' and...@msu.edu wrote:

 On 07/01/13 00:06, Jash Sefferson wrote:

 Hi guys.

 I’m a civil engineer by day and use OpenBSD at night, but I’m trying to do
 high-end CAD on my home PC and OpenBSD doesn’t support 64-bit Intel chips.

 Don't believe me? It says very clearly at the OpenBSD/amd64 page: “All
 versions of the AMD Athlon 64 processors and their clones are supported.”
 But does not mention or list any Intel chips. Not one.

 Wtf? I can do CAD on my i7-980X under Windows 7 SP 1, but I’d rather
 use something secure and responsibly coded like OpenBSD. Except that I
 can't.

 Why for the life of this platform are we not on the only future direction
 for the platform? And I mean that literally. Neither AMD nor Intel sells
 32-bit chips anymore. If OpenBSD remains stuck at 32 bits, people will
 stop
 using and developing for it.

 Who makes the decision to keep OpenBSD off of 64-bit Intel? And why the
 hell are they doing so?

 -jash


  Um I'm writing this on an amd64 Thinkpad W500 which has a
 2.8GHz core two duo.   So I don't understand what you mean.

 --STeve Andre'


At first I thought this was a wonderful troll. Guy's got a point though.
Look at the i386 page.


http://www.openbsd.org/i386.html:

Supported hardware:

The list of supported hardware is relevant to OpenBSD-current. It will
differ slightly from the support provided in the latest release version.
Processors

All CPU chips compatible with the Intel 80386 (i386) architecture, except
for the 80386 itself, are supported:

80486 (DX/DX2/DX4)
Intel Pentium/Pentium-MMX
Intel Pentium Pro/II/III/Celeron/Xeon
Intel Pentium 4/D
Intel Pentium M
Intel Core
Intel Core 2 (Also see OpenBSD/amd64 for 64-bit support)
Intel Atom (Also see OpenBSD/amd64 for 64-bit support)
AMD 5x86
AMD K5/K6/K6-2/K6-3
AMD Athlon/Duron/Sempron
AMD Athlon 64/Opteron/Turion/Phenom (Also see OpenBSD/amd64 for 64-bit
support)
Cyrix MediaGX/M1/M2
Cyrix 6x86
VIA C3/C7
Rise mP6
IDT WinChip and C3
NexGen 586
NS Geode GX1 and M1
AMD Geode GX/LX/NX
Transmeta TM3200, TM5400, TM5600, TM5800

Regular floating-point coprocessors (80487SX) are required when not built
into the processor.

Everything that is a clone of the 486 or up should work fine.



Re: how long should CD orders take?

2013-05-21 Thread noah pugsley
On Tue, May 21, 2013 at 10:26 AM, Peter J. Philipp p...@centroid.eu wrote:

 I ordered my CD through a german bookstore that is listed at
 www.openbsd.org/orders.html.  Only it's now the 21st of May and my
 computers have all been upgraded via FTP around the 1st of May.  And I
 still have no CD (and no stickers).

 Last year they were slow as well, which leads me to believe that the store
 is sloppy in its orders.  Can someone confirm that the CD's have all been
 sent out from Calgary?  It's really a shame that I must use resources of
 OpenBSD when not needed, my order went in around the end of March 2013 and
 there was lots of time to deliver this as a pre-order.

 -peter


What does the bookstore say the problem is?



Re: USB temperature sensors

2013-05-09 Thread noah pugsley
On Thu, May 9, 2013 at 4:19 AM, rafaello konfekte 
peleekaiskardina...@gmail.com wrote:

 Hello,

 Could you share your experience with USB temperature sensors? I'm looking
 for something cheap for my server room. Only one temperature sensor would
 be fine, but internal + external temperature sensor and maybe even humidity
 sensor would be even better. I'm looking for something that is supported by
 OpenBSD sensors framework as that would be most convenient.

 Thanks!


man 4 onewire



Re: strange error on openbsd

2013-05-06 Thread noah pugsley
On Mon, May 6, 2013 at 6:31 PM, Ted Unangst t...@tedunangst.com wrote:

 On Mon, May 06, 2013 at 22:06, Friedrich Locke wrote:

  e = errno, errno = 0;
  p = getpwuid(0);
  if (errno) {
  fprintf(stdout, errno is: %u\n, errno);
 
  sioux@lion$ ./pw
  errno is: 13
  sioux@lion$
 
 
  Any ideia why openbsd implementation of getpwuid returns error ?

 That is not how the man page says you check for getpwuid errors.


Bad error checking regardless (and whether I'm qualified to comment aside),
it should have worked. What are the permissions for /etc/pwd.db?



Re: Softraid 1 Help

2013-02-22 Thread noah pugsley
You haven't added any partitions to the raid set you created. And then
you're trying to mount that using the raw mode device. Either you're
reading a bad tutorial or didn't follow all the steps.

Add a partition and try mounting that using the block device, sd3, not rsd3.

You owe it to yourself to read at least the sectiom of the faq covering disks.

-noah

On 2/22/13, Brandon Tanner thelette...@gmail.com wrote:
 Hello,

 This is my first time posting to this list. I am wanting to setup a
 softraid 1 array, with two 3TB drives. Every guide or howto I can find
 though is about installing onto such an array. My case however, the boot
 drive is on its own, a 250GB'er. I simply want to create the array with
 softraid, mount it at /storage, and use it. Does anyone know of any guides
 that cover this kind of scenario?

 I also have a few questions about what I read so far.

 1. a few guides talk about using the MAKEDEV shell script. Do I still need
 to use that for my scenario?

 2. Also, since my target array will not be a bootable array, do I still
 need to fdisk -yi the devices? I read in the FAQ that fdisk won't report
 the sizes correctly, but that I shouldn't worry though, since disklabel
 with the b option will cover it.

 3. My two identical 3TB drives are sd1 and sd2, and bioctl reported that
 sd3 is created. I ran newfs -O 2 on it, and that seemed to work. I can't
 figure out how to mount it though. mount /dev/rsd3c /storage says something
 about block device required.

 That's about as far as I got.

 Thanks for any feedback.

 -Pyrite



Re: OpenBSD Cloud Offerings

2012-11-27 Thread noah pugsley
These guy's are pretty good. Currently offering 5.2.

http://www.stratusrack.com/virtual.php

On Tue, Nov 27, 2012 at 8:47 AM, Research resea...@nativemethods.comwrote:

 Hello,

 I was wondering if anyone had any experience with reputable cloud
 providers that currently offer OpenBSD 5.2.

 I was able to find out some information based on the OpenBSD Journal
 posting from Sunday, February 13, 2011 titled OpenBSD Private Cloud
 Computing.  The two vendors mentioned included ARP Networks and RootBSD.

 Since this time period (preferably over 2012), has anyone used any other
 cloud service offerings hosting OpenBSD ?  I am hoping to hear some
 positive reviews for a provider I can go with.

 Stipulations

 - Preferable a North American provider for geography
 - OpenBSD 5.2

 Thanks



Re: SSI

2012-09-28 Thread noah pugsley
Before Al Gore invented the internet he invented the Super-Serial
Interface.

On Fri, Sep 28, 2012 at 10:50 AM, Russell Garrison 
russell.garri...@gmail.com wrote:

 I initially thought this thread was about Social Security Insurance,
 but instead it is about something like SGI UV.



Re: openbsd router performance (i know.. again)

2012-09-26 Thread noah pugsley
What is your performance like with -current and no knob twisting?

On Wed, Sep 26, 2012 at 4:45 AM, rik rikc...@gmail.com wrote:

 Hi,
 I'm a happy Openbsd user; we've beeing using it since 2001 as
 router/firewall in our datacenter facility (we host as ONG some no profit
 project and website).
 At the moment we're using a couple of SuperMicro with the following specs:
 OpenBSD 5.0 (GENERIC.MP) #59: Wed Aug 17 10:19:44 MDT 2011
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 2.98 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,CNXT-ID,CX16,xTPR,PDCM
 real mem  = 3890663424 (3710MB)
 avail mem = 3816964096 (3640MB)
 ppb3 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01: apic 2 int 17
 em0 at pci4 dev 0 function 0 Intel PRO/1000MT (82573E) rev 0x03: msi,
 address 00:30:xx:xx:xx:xx
 ppb4 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01: apic 2 int 16
 em1 at pci5 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: msi,
 address 00:30:xx:xx:xx:xx

 the netcard are on-board.
 Unfortunately we're a bit straggling with the performances as we have
 almost 100% interrupt with 110Mbps and 12k pps
 We've already increased net.inet.ip.ifq.maxlen to 500 in order to avoid
 packet loss and also disabling pf has no influence.
 Do you think these performances are fair and we have to upgrade to better
 hardware to have higher pps and Mpbs?
 Beside trying to upgrade to the last stable and not use MP we have no idea
 how to procede
 Thanks for your help
 Alessandro



Re: Replaced commercial vendor of network gear?

2012-09-25 Thread noah pugsley
C'mon kids, it's huawei or the highway. Who would you rather have spy on
you, the Chinese government, or the US empire?

On Tue, Sep 25, 2012 at 4:27 PM, bofh goodb...@gmail.com wrote:

 On Mon, Sep 24, 2012 at 11:34 PM, Tomáš Bodžár tomas.bod...@gmail.com
 wrote:
  Hi all,
  Is there someone willing to share such an info and ideas? Can be in
 private
  discussion as well.

 Did you read about the ODMs?

 http://www.wired.com/wiredenterprise/2012/03/google-microsoft-network-gear/


 --
 http://www.glumbert.com/media/shift
 http://www.youtube.com/watch?v=tGvHNNOLnCk
 This officer's men seem to follow him merely out of idle curiosity.
 -- Sandhurst officer cadet evaluation.
 Securing an environment of Windows platforms from abuse - external or
 internal - is akin to trying to install sprinklers in a fireworks
 factory where smoking on the job is permitted.  -- Gene Spafford
 learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: Replaced commercial vendor of network gear?

2012-09-25 Thread noah pugsley
Calm down. My double-DES half-time pads are working just fine.

On Tue, Sep 25, 2012 at 4:59 PM, Chris Cappuccio ch...@nmedia.net wrote:

 noah pugsley [noah.pugs...@gmail.com] wrote:
  C'mon kids, it's huawei or the highway. Who would you rather have spy on
  you, the Chinese government, or the US empire?

 Everyone on this list already knows your root password. You need to start
 using RSA keys.



Re: ss20's wanted for ports builds

2012-07-19 Thread noah pugsley
For fucks sake, just donate already! \
You know you use this shit every day \
I am an absolutely poor loser, I had $18 US (dollars, yech! Real men use
gold or rupees) \
after getting smokes and tall cans (corey, trevor, let's go!) and I just
donated $5. \

If I have to smoke resin until I go recycle cans again y'all can do better
than me.\

--destitute asshole

Thank you for your OpenBSD Order! In case of problems or questions about
this order, \
please contact aus...@openbsd.org Order number 2012/7/19-20:6:50-15264:
Your order \
currently is: - USD $5.00 [DON] DONATION to the OpenBSD Project - Total:
USD \
$5.00 + Shipping.



Re: Areca ARC-1212 and bioctl

2010-09-21 Thread Noah Pugsley

Steven Small wrote:

Hi,

I am having a problem with an Areca ARC-1212 and bioctl: The state of 
the disks is not displayed.


bioctl -v -i -h sd0 gives:
sd0: Areca, ARC-1212-VOL#000, R001, serial 4044af0969800952

bioctl arc0
bioctl: BIOCINQ: Input/output error

The controller has firmware 1.48 installed. Dmesg output:

dmesg |grep arc
arc0 at pci1 dev 0 function 0 Areca ARC-1680 rev 0x00: apic 8 int 16 
(irq 10)

arc0: 4 ports, 256MB SDRAM, firmware V1.48 2010-01-04
scsibus0 at arc0: 16 targets
arc0: unable to query firmware for sensor info


Any ideas?


Looks like the latest Areca firmware. Might double check. Do you have 
the same issue on -current?


noah



new bsdtalk

2010-08-31 Thread Noah Pugsley

Didn't see this on undeadly. Thought it was a good listen.

http://bsdtalk.blogspot.com/2010/08/bsdtalk195-mike-larkin.html
http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk195.mp3
http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk195.ogg

-noah



Re: undeadly article

2010-08-18 Thread Noah Pugsley

J.C. Roberts wrote:

On Wed, 18 Aug 2010 16:28:57 +0300 Mihai Popescu B.S.
mihai...@gmail.com wrote:

I like the humour on undeadly, but this article was not for me. I saw
a guy who was tried to get as more attention as he can.


Mihai,

You still don't understand.

http://en.wikipedia.org/wiki/Sarcasm

In writing, I had the choice between complaining about all of my time
wasted by the various security people, or joking about how much time I
could waste. The latter is called sarcasm. It's no different than
joking about the sun being too bright at night (hint: the sun doesn't
shine at night).

jcr

--
The OpenBSD Journal - http://www.undeadly.org

I thought the writeups from jcr were great. A little lighter and more 
fun than the usual fare. To be honest, if I had to choose between them 
and the developer interviews I choose developer interviews. But they are 
a welcome supplement for sure. I hope they continue.




Re: undeadly article

2010-08-18 Thread Noah Pugsley

J.C. Roberts wrote:

On Wed, 18 Aug 2010 11:21:19 -0700 Noah Pugsley noa...@bendtel.com
wrote:
I thought the writeups from jcr were great. A little lighter and more 
fun than the usual fare. To be honest, if I had to choose between

them and the developer interviews I choose developer interviews. But
they are a welcome supplement for sure. I hope they continue.


mtu@ and I are working on the individual developer interview articles.
There's a lot of them, so it will take some time, but we'll publish
them as we get them completed.

jcr

--
The OpenBSD Journal - http://www.undeadly.org

Oh of course. I completely understand. Hope that didn't sound like a 
complaint. I'm thankful for how fast they've been coming so far.


Anyway.



Re: OpenBSD users.

2010-07-21 Thread Noah Pugsley

Gilles Chehade wrote:

On Wed, Jul 21, 2010 at 03:48:58PM -0400, Mark Romer wrote:

Maryland, right between DC and Baltimore.

Mark

On Wed, Jul 21, 2010 at 3:37 PM, kalle kallikri...@gmail.com wrote:


Fjugesta - Sweden :)


will it ever end ?


Not if people keep replying to it! :-)



Re: OpenBSD users

2010-07-19 Thread Noah Pugsley

Mateusz Gierblinski wrote:

Hi misc@

I'm just wondering. Where are you OpenBSD users from?

I'm from Belgium, anyone else?

Take care


Central Oregon, USSA.



Re: OpenBSD as a laptop OS

2010-06-18 Thread Noah Pugsley

VICTOR TARABOLA CORTIANO wrote:

The only thing I've pretty much given up on is flash.  No big loss
since removing the flashplayer plugin means firefox will crash
slightly less often and you're spared a lot of the less useful ads.



Well, one can still try Gnash or Swfdec.

If one just wants to see videos on Youtube, one can still use sites
such as tinyogg and pwnyoutube to download the video and forget about
flash. That's my method.



And yt or youtube-dl from ports. Also, the greasmonkey scripts or 
whatever for firefox work great for youtube, vimeo and a few others.




Re: softraid

2010-06-04 Thread Noah Pugsley

Bambero wrote:

My qastion is - is it possible to setup bootable software raid 1
(mirroring) during system install ?


[...]

What I missed ?


man softraid

There is no boot support at this time for any disciplines.



Re: State of multiprocessing and multithreading in OpenBSD

2010-05-06 Thread Noah Pugsley

Tony Abernethy wrote:

Stas Miasnikou wrote:

Marco Peereboom wrote:

Wouldn't it be adorable if people learned to program FSMs instead of
java in those fancy universities?

Seconded.


Do you seriously expect programmers to learn to program?


Finite Sex Machine?



Re: 4.7 and AR5007

2010-04-20 Thread Noah Pugsley

Corey Bukolt wrote:

Yes, please recompile a kernel after changing the value of athn_debug
in /usr/src/sys/dev/ic/athn.c to 10:
int athn_debug = 0;
-
int athn_debug = 10;



Then reboot and send me the dmesg.
The AR9285 works for several people so it is very likely a difference
in chip or EEPROM revision that triggers different code paths.



Damien




Here is mine. Source was updated from cvs prior to compiling. Thanks.


OpenBSD 4.7-current (GENERIC) #0: Tue Apr 20 08:20:05 PDT 2010
r...@sw1.example.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) Processor L110 (AuthenticAMD 686-class, 512KB L2 
cache) 1.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16

real mem  = 1877372928 (1790MB)
avail mem = 1810014208 (1726MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/18/09, BIOS32 rev. 0 @ 0xfd9a0, 
SMBIOS rev. 2.4 @ 0xf10d0 (17 entries)

bios0: vendor Phoenix Technologies LTD version v1.3201 date 06/18/2009
bios0: Gateway LT31
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB3_)
acpiprt2 at acpi0: bus -1 (PB4_)
acpiprt3 at acpi0: bus 3 (PB5_)
acpiprt4 at acpi0: bus 4 (PB6_)
acpiprt5 at acpi0: bus -1 (PB7_)
acpiprt6 at acpi0: bus 9 (P2P_)
acpiprt7 at acpi0: bus 1 (AGP_)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model UM09B7C serial 2545 type LION oem SIMPLO
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: CRT1
acpivout2 at acpivideo0: TV__
acpivout3 at acpivideo0: DFP1
bios0: ROM list: 0xc/0xd800 0xd/0x1c00! 0xd4000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon X1250 IGP rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 5 function 0 ATI RS690 PCIE rev 0x00
pci2 at ppb1 bus 3
re0 at pci2 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL 
(0x2480), apic 1 int 17 (irq 5), address 00:23:8b:f1:4b:f3

rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb2 at pci0 dev 6 function 0 ATI RS690 PCIE rev 0x00
pci3 at ppb2 bus 4
athn0 at pci3 dev 0 function 0 Atheros AR9285 rev 0x01: apic 1 int 18 
(irq 11)Tx gain type=0x0

, address 00:26:5e:29:29:5b
Found RF switch connected to GPIO pin 0
128 key cache entries
using closed loop power control
txchainmask=0x1 rxchainmask=0x1
athn0: AR9285 rev 2 (1T1R), ROM rev 13
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 1 int 22 
(irq 11), AHCI 1.1

scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, TOSHIBA MK2555GS, FG00 SCSI3 
0/direct fixed

sd0: 238475MB, 512 bytes/sec, 488397168 sec total
ohci0 at pci0 dev 19 function 0 ATI SB600 USB rev 0x00: apic 1 int 16 
(irq 10), version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI SB600 USB rev 0x00: apic 1 int 17 
(irq 5), version 1.0, legacy support
ohci2 at pci0 dev 19 function 3 ATI SB600 USB rev 0x00: apic 1 int 17 
(irq 5), version 1.0, legacy support
ohci3 at pci0 dev 19 function 4 ATI SB600 USB rev 0x00: apic 1 int 18 
(irq 11), version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 ATI SB600 USB2 rev 0x00: apic 1 int 19 
(irq 11)

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus rev 0x14: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
pciide0 at pci0 dev 20 function 1 ATI SB600 IDE rev 0x00: DMA, channel 
0 configured to compatibility, channel 1 configured to compatibility
azalia0 at pci0 dev 20 function 2 ATI SBx00 HD Audio rev 0x00: apic 1 
int 16 (irq 10)

azalia0: codecs: Realtek ALC272
audio0 at azalia0
pcib0 at pci0 dev 20 function 3 ATI SB600 ISA rev 0x00
ppb3 at pci0 dev 20 function 4 ATI SB600 PCI rev 0x00
pci4 at ppb3 bus 9
pchb1 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00: core 
rev DH-G2

usb1 at ohci0: USB revision 1.0
uhub1 at usb1 ATI OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 ATI OHCI root hub rev 

Re: 4.7 and AR5007

2010-04-16 Thread Noah Pugsley

damien.bergam...@free.fr wrote:
[...]


Yes, please run ifconfig athn0 debug before you scan (from the console),
and send me the output.

Damien



Thanks Damien and Stuart, your suggestions are so much cheaper than 
shipping to France. BTW, this was all done at the console, no X.


I tried it with 'ifconfig athn0 debug' and the result is the same when I 
scan. After I run 'ifconfig athn0 scan' I can hit return for about 3 
seconds before the machine hard locks.


Thanks again,
noah

# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33200
priority: 0
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:23:8b:f1:4b:f3
priority: 0
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::223:8bff:fef1:4bf3%re0 prefixlen 64 scopeid 0x1
inet 10.0.0.38 netmask 0xff00 broadcast 10.0.0.255
athn0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
lladdr 00:26:5e:29:29:5b
priority: 4
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid 
enc0: flags=0 mtu 1536
priority: 0
pflog0: flags=141UP,RUNNING,PROMISC mtu 33200
priority: 0
groups: pflog
# ifconfig athn0 debug
# ifconfig athn0 scan
athn0: flags=8806BROADCAST,DEBUG,SIMPLEX,MULTICAST mtu 1500
lladdr 00:26:5e:29:29:5b
priority: 4
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid 

3-5 seconds of nothing else printed and then it's power button time



OpenBSD 4.7-current (GENERIC) #605: Thu Apr 15 11:56:53 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) Processor L110 (AuthenticAMD 686-class, 512KB L2 
cache) 1.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16

real mem  = 1877372928 (1790MB)
avail mem = 1808224256 (1724MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/18/09, BIOS32 rev. 0 @ 0xfd9a0, 
SMBIOS rev. 2.4 @ 0xf10d0 (17 entries)

bios0: vendor Phoenix Technologies LTD version v1.3201 date 06/18/2009
bios0: Gateway LT31
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB3_)
acpiprt2 at acpi0: bus -1 (PB4_)
acpiprt3 at acpi0: bus 3 (PB5_)
acpiprt4 at acpi0: bus 4 (PB6_)
acpiprt5 at acpi0: bus -1 (PB7_)
acpiprt6 at acpi0: bus 9 (P2P_)
acpiprt7 at acpi0: bus 1 (AGP_)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model UM09B7C serial 2545 type LION oem SIMPLO
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: CRT1
acpivout2 at acpivideo0: TV__
acpivout3 at acpivideo0: DFP1
bios0: ROM list: 0xc/0xd800 0xd/0x1c00! 0xd4000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon X1250 IGP rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 5 function 0 ATI RS690 PCIE rev 0x00
pci2 at ppb1 bus 3
re0 at pci2 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL 
(0x2480), apic 1 int 17 (irq 5), address 00:23:8b:f1:4b:f3

rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb2 at pci0 dev 6 function 0 ATI RS690 PCIE rev 0x00
pci3 at ppb2 bus 4
athn0 at pci3 dev 0 function 0 Atheros AR9285 rev 0x01: apic 1 int 18 
(irq 11), address 00:26:5e:29:29:5b

athn0: AR9285 rev 2 (1T1R), ROM rev 13
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 1 int 22 
(irq 11), AHCI 1.1

scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, TOSHIBA MK2555GS, FG00 SCSI3 
0/direct fixed

sd0: 238475MB, 512 bytes/sec, 488397168 sec total
ohci0 at pci0 dev 19 function 0 ATI SB600 USB rev 0x00: apic 1 int 16 
(irq 10), version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI SB600 USB rev 0x00: apic 1 int 17 
(irq 5), version 1.0, legacy support
ohci2 at pci0 dev 19 function 3 ATI SB600 USB rev 0x00: apic 1 int 17 
(irq 5), version 1.0, legacy support
ohci3 at pci0 dev 19 function 4 ATI 

Re: 4.7 and AR5007

2010-04-15 Thread Noah Pugsley

Stuart Henderson wrote:

On 2010-04-15, Laszlo Zsolt Kiss lzsk...@gmail.com wrote:

The new athn driver support the AR5007 chip?
Thanks.




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



I've been having trouble with a 9285 in a low end Gateway 
laptop/netbook. I've been tracking snapshots and it always locks up the 
machine when I run 'ifconfig athn0 scan' after 5 seconds or so. Can not 
switch to another terminal and can not log in over the network (fast 
ethernet, re0, which does work fine) after it locks up.


I have tried both amd64 and i386 and the issue is the same. Anything 
else I can do to help whoever might be interested in fixing it? Are 
snapshots new enough? I could send the laptop to a developer for a week 
or two if that would help, I'm in the US though. I could also just send 
the card to someone, it's useless in it's current state anyhoo.


Anyway, if anybody has any suggestions I would greatly appreciate them.

Cheers,
noah


OpenBSD 4.7-current (GENERIC) #31798: Thu Apr 15 11:57:56 MDT 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1876754432 (1789MB)
avail mem = 1813110784 (1729MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf10d0 (17 entries)
bios0: vendor Phoenix Technologies LTD version v1.3201 date 06/18/2009
bios0: Gateway LT31
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) Processor L110, 1197.20 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,S

SE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB3_)
acpiprt2 at acpi0: bus -1 (PB4_)
acpiprt3 at acpi0: bus 3 (PB5_)
acpiprt4 at acpi0: bus 4 (PB6_)
acpiprt5 at acpi0: bus -1 (PB7_)
acpiprt6 at acpi0: bus 9 (P2P_)
acpiprt7 at acpi0: bus 1 (AGP_)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model UM09B7C serial 2545 type LION oem SIMPLO
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: CRT1
acpivout2 at acpivideo0: TV__
acpivout3 at acpivideo0: DFP1
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon X1250 IGP rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 5 function 0 ATI RS690 PCIE rev 0x00
pci2 at ppb1 bus 3
re0 at pci2 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL 
(0x2480), apic 1 int 17 (irq 5), addres

s 00:23:8b:f1:4b:f3
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb2 at pci0 dev 6 function 0 ATI RS690 PCIE rev 0x00
pci3 at ppb2 bus 4
athn0 at pci3 dev 0 function 0 Atheros AR9285 rev 0x01: apic 1 int 18 
(irq 11), address 00:26:5e:29:29

:5b
athn0: AR9285 rev 2 (1T1R), ROM rev 13
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 1 int 22 
(irq 11), AHCI 1.1

scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, TOSHIBA MK2555GS, FG00 SCSI3 
0/direct fixed

sd0: 238475MB, 512 bytes/sec, 488397168 sec total
ohci0 at pci0 dev 19 function 0 ATI SB600 USB rev 0x00: apic 1 int 16 
(irq 10), version 1.0, legacy su

pport
ohci1 at pci0 dev 19 function 1 ATI SB600 USB rev 0x00: apic 1 int 17 
(irq 5), version 1.0, legacy sup

port
ohci2 at pci0 dev 19 function 3 ATI SB600 USB rev 0x00: apic 1 int 17 
(irq 5), version 1.0, legacy sup

port
ohci3 at pci0 dev 19 function 4 ATI SB600 USB rev 0x00: apic 1 int 18 
(irq 11), version 1.0, legacy su

pport
ehci0 at pci0 dev 19 function 5 ATI SB600 USB2 rev 0x00: apic 1 int 19 
(irq 11)

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus rev 0x14: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
pciide0 at pci0 dev 20 function 1 ATI SB600 IDE rev 0x00: DMA, channel 
0 configured to compatibility,

channel 1 configured to compatibility
azalia0 at pci0 dev 20 function 2 ATI SBx00 HD Audio rev 0x00: apic 1 
int 16 (irq 10)

azalia0: codecs: Realtek ALC272
audio0 at azalia0
pcib0 at pci0 dev 20 function 3 ATI SB600 ISA rev 0x00

Re: ftp-proxy for outgoing connection

2010-03-11 Thread Noah Pugsley
Use 4.6, read this: http://www.openbsd.org/faq/current.html#20090901 or 
wait until 4.7 and read the new man page.


Cheers,
noah

Christopher Zimmermann wrote:

Hi,

my -current firewall is configured to block all in, block all out 
and allow only certain outbound connections.


Now I want to allow outbound ftp connections.

I read ftp-proxy(8) and 
http://openbsd.org/faq/pf/ftp.html#client.


As I understand it, ftp-proxy could be used to create rules for 
inbound and outbound connections on 4.6. Now on -current the rdr 
keyword is missing from the pf.conf syntax. Instead ftp-proxy(8) 
suggests using rdr-to, but this only works for inbound 
connections.


Is it possible to allow ftp connections from a local client to
public ftp serves on the internet? Possibly by using ftp-proxy?


Kind regards,

Christopher




Re: USB voltmeter or DAQ module, small, inexpensive, with OpenBSD support

2010-02-02 Thread Noah Pugsley

+1

for ~US$40-50 you should be able to get a usb adapter and a couple of 
sensor IC's to play with.


Never measured the voltage of something but the hobby boards 
temp/solar/humidity uses it for the humidity part (differential voltage 
I believe). man owsbm. The DS2438 it supports should be what you need. 
Oh, and of course, the most important part, it's supported by the 
sensors framework


sa2 # sysctl hw.sensors|grep ow
hw.sensors.owtemp0.temp0=21.50 degC (sn 0008014d1f8f)
hw.sensors.owid0.raw0=2632185 (sn 002829f9)
hw.sensors.owsbm0.temp0=21.09 degC (sn 00a8b940)
hw.sensors.owsbm0.volt0=4.51 VDC (VDD)
hw.sensors.owsbm0.volt1=1.43 VDC (VAD)
hw.sensors.owsbm0.volt2=0.00 VDC (CR)


noah

P.S. I have no stake in hobby-boards but have ordered before from them. 
Good shop.


Paul M wrote:

OpenBSD has a driver for the Dallas OneWire protocol.
man(4) onewire

Dallas make adapters for USB and RS232, such as the DS9490R - google can 
find you a supplier,

for example:
http://www.hobby-boards.com/catalog/product_info.php?products_id=1503

There are all manner of 1wire chips avalable - hobby boards can help 
here if you dont want to

build something from scratch.

I havn't used these adapters, nor used 1wire on OpenBSD, nor dealt with 
hobby-boards.com, but I
have used a 1wire A-D to read input multiple voltages on a dedicated 
system and it works very

well.
It should work very well on OpenBSD too.


paulm



On 29/01/2010, at 9:27 AM, Ralph Becker-Szendy wrote:

For one of my OpenBSD machines, I need to be able to measure a few 
analog voltages, and act on them in a control process.  The 
requirements  are quite simple compared to typical data acquisition: I 
absolutely need two voltage inputs, either 0-20V or 0-100mV; doesn't 
have to be differential, acquisition can be slow (1s is fine), and 
resolution can be as small as 10-12 bits (1% accuracy is more than 
good enough).  A few extra input channels, more accuracy/resolution, 
and a few digital IOs wouldn't hurt, but are not necessary.  DIN rail 
mounting and connection breakout would be nice, but can be improvised.


On the software side, there will be OpenBSD, with ad-hoc monitoring 
and control scripts.  With a little programming and script-writing, I 
can adapt anything that the OS can reasonably access.


Now come the issues: I can't use PCI cards, only external units, most 
likely connected via USB (as Ethernet and serial are expensive or 
rare).  And it needs to have some software support under OpenBSD - a 
Windows- or Linux-only solution doesn't work.  And this application is 
not worth spending thousands of $$$.  For Windows and LabView, 
solutions are easy to find (for example EMant300, DAQPodMX, a variety 
of Omega products). Does anyone now of a solution that would work with 
OpenBSD?


--
Ralph Becker-Szendyra...@lr.los-gatos.ca.us(408)395-1435
735 Sunset Ridge Road; Los Gatos, CA 95033




Re: Hardware input / output modules

2010-01-20 Thread Noah Pugsley

man onewire

Depending on what you are trying to measure. Temp/humidity and 
voltage/current is easy with the currently supported chips.


Jean-Francois wrote:

Hi All,

May I ask if someone ever used a PCI card integrating some input / output 
(anaolg and/or digital signals) in OpenBSD ? I am looking forward to 
incorporate external measurements to the webserver, making available 
environement variables to the system.


Thanks  Regards




Re: Parental filter

2010-01-18 Thread Noah Pugsley
I did. But at that age I just thought the jockeys were wrestling with 
the horses.


James Hozier wrote:

Or did I?

--- On Mon, 1/18/10, Paul M l...@no-tek.com wrote:


From: Paul M l...@no-tek.com
Subject: Re: Parental filter
To: James Hozier guitars...@yahoo.com
Cc: misc@openbsd.org
Date: Monday, January 18, 2010, 8:16 PM
But you probably werent going to the
nastiest porn sites when you were
4 years old.

Or did you?


paulm


On 19/01/2010, at 3:58 AM, James Hozier wrote:


I would cry if I grew up with a dad who was an OpenBSD

developer

(or just more network-proficient than me in general).

I feel so

privileged to have had the freedom of the internet by

growing up

in a computer-illiterate home where I was the only

techy person and

nobody snooping in on my privacy. Therefore I was

always able to

look at the fun material :p

This makes me think, if I ever have kids...I'd feel

kind of bad for

them too (because I'll probably be using Marco's

adsuck if it's

still being maintained by then.)

--- On Sun, 1/17/10, Marco Peereboom sl...@peereboom.us

wrote:

From: Marco Peereboom sl...@peereboom.us
Subject: Re: Parental filter
To: James Hozier guitars...@yahoo.com
Cc: misc@openbsd.org
Date: Sunday, January 17, 2010, 11:53 PM
It's crazy what a teenager around the
house causes...

It keeps him out of trouble...

On Sun, Jan 17, 2010 at 03:28:49PM -0800, James

Hozier

wrote:

To be honest, I'd be a little worried if you

didn't

--- On Sun, 1/17/10, Marco Peereboom sl...@peereboom.us

wrote:

From: Marco Peereboom sl...@peereboom.us
Subject: Re: Parental filter
To: Jean-Francois jfsimon1...@gmail.com
Cc: misc@openbsd.org
Date: Sunday, January 17, 2010, 10:53 PM
I use adsuck: http://www.peereboom.us/adsuck




Re: Recommend T1 Card for 4.6

2010-01-06 Thread Noah Pugsley
A little off topic but why trying to get rid of the Cisco? Other than 
the power/size/noise or to simplify your setup, less links in the chain, 
etc..


I use OpenBSD for everything I can, and some things I shouldn't but an 
ebay 2600 + WIC is dirt cheap


Cheers,
noah

Brandan Rowley wrote:

Thanks Andrew, Steve and David for your replies.

I did check the man pages for WAN devices and did a little research.
Here's what I found:

*Accoom Networks Artery T1/E1 WAN interfaces (art) (G)
*SBE (formerly Lan Media Corporation) SSI (T1)/HSSI/DS1/DS3 WAN
interfaces (lmc) (G)
*Sangoma Technologies AFT T1/E1 WAN interfaces (san) (G)


Accoom.net web page hasn't been updated since 2005 and the purchase site
only has a picture of asparagus on it.

Can't find a company website for SBE.  Is it possibly One Stop Systems
now?

Sangoma has a ton of links and info, but Sangoma has not supported
OpenBSD since 2007 as per the man page.  I did purchase a Sangoma A101
which is not recognized by 4.6 and the drivers won't install without
error.  The Sangoma installation instructions on the internet are for
OpenBSD3.6 which seems pretty dated.

Steve, How did you get your Sangoma card to work?  Is it an A101u?  I
believe the one I purchased was an A101c which Sangoma said replaced the
A101u.


Regards,
Brandan


-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of Andrew Fresh
Sent: Wednesday, January 06, 2010 1:44 PM
To: misc@openbsd.org
Subject: Re: Recommend T1 Card for 4.6

On Wed, Jan 06, 2010 at 01:01:26PM -0700, Brandan Rowley wrote:

Is there anyone using a T1 card for data on 4.6?  Perhaps a T1 to
Ethernet converter?  I'm interested to find out how others have

resolved

this and what hardware was used.  We're using a Soekris 5501.


I am (still) using Sangoma cards.  They work fine but a warm boot
instead of a cold boot sometimes causes a DDB.

I have not tried any other solutions on OpenBSD.  I do know there was
another card that I believe an OpenBSD developer was helping make but I
don't know that there was ever a product you could purchase.

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

BOFH excuse of the day: Melting hard drives




Re: Comparing large amounts of files

2009-12-11 Thread Noah Pugsley

STeve Andre' wrote:

   I am wondering if there is a port or otherwise available
code which is good at comparing large numbers of files in
an arbitrary number of directories?  I always try avoid
wheel re-creation when possible.  I'm trying to help some-
one with large piles of data, most of which is identical
across N directories.  Most.  Its the 'across dirs' part
that involves the effort, hence my avoidance of thinking
on it if I can help it. ;-)

Thanks, STeve Andre'



Compare how?




Re: OpenBSD platform of choice?

2009-11-12 Thread Noah Pugsley

Why choose? If you're not going both ways you're missing half the action.

Bob Beck wrote:

this was absolutely disturbing to read.


misc@ is always disturbing.  most of the time it's just disturbing in
the i-want-a-belt-fed-weapon-to-make-the-stupid-stop-burning kind of
way...

You can either be a disturber or a disturbee.. decide which




Re: which raid card? [was: aac raid status]

2009-11-10 Thread Noah Pugsley

Ryan Corder wrote:

On Tue, Nov 10, 2009 at 10:13:20AM +0100, Michael wrote:

| quality of Adaptec cards. Any suggestions for a nice and not too
| expensive 32/64bit PCI hardware RAID card supporting RAID 5 and maybe
| even 6?

May I share a similar conversation that I had on this very mailing list,
except substitute Adaptec with 3ware?

http://marc.info/?l=openbsd-miscm=122114552331372w=2

Short story, if you need hardware RAID, buy an Areca.  It's rock, rock, rock
solid.  In fact, I just upgraded my box to 4.6, prior to the upgrade I was
running 4.3 on a degraded RAID1 -- one drive completely failed --for 5 weeks
without ever noticing (full disclosure, it was my own fault for not setting
up sensorsd to see the failure)!


--
Ryan Corder  || () ASCII ribbon campaign
ryanc at greengrey.org || /\  against HTML email
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x1CB59D69

[demime 1.01d removed an attachment of type application/pgp-signature]

I can't speak as to how they compare with mfi but +1 for Areca. Had an 
array and possibly a controller fail due to over heating and their 
support was great. Emailed in and got a guy on the phone from Taiwan the 
next day who talked me through steps to recover, for free.


Use the 4-port mostly for mirroring and 8-port for larger raid6 arrays. 
Works with bio/sensors.


# df -h 


Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a 19.7G9.2G9.5G49%/
/dev/sd0d  9.8G   98.8M9.3G 1%/var
/dev/sd0e  3.5T3.0T319G91%/storage
# bioctl arc0
Volume  Status   Size Device
 arc0 0 Online  399721472 sd0 RAID6
  0 Online  1000204886016 0:0.0   noencl ST31000340AS SD15
  1 Online  1000204886016 0:1.0   noencl ST31000340AS SD15
  2 Online  1000204886016 0:2.0   noencl ST31000340AS SD15
  3 Online  1000204886016 0:4.0   noencl ST31000340AS SD15
  4 Online  1000204886016 0:5.0   noencl ST31000340AS SD15
  5 Online  1000204886016 0:6.0   noencl ST31000340AS SD15


-noah



Re: Secure way to delete data in hard disc

2009-10-28 Thread Noah Pugsley
Can I interest you in a pair of steganograpanties? Or for cooler 
weather, steganograpantaloons?

Marco Peereboom wrote:

They'll use it as torture material during the next krieg.

On Wed, Oct 28, 2009 at 04:48:28PM -0600, Bob Beck wrote:

What, you have pictures of my ass too?

Obviously I must make something to write a random pattern over my
entire ass so that It won't be recognized if some germans steal it.




Re: OpenBSD a la NanoBSD ?

2009-10-16 Thread Noah Pugsley
As many have pointed out, nothing special is needed to use a usb flash 
drive, just enough size for your install.


For your intended use you may benefit from flashrd. 
http://www.nmedia.net/flashrd/


From the site:
flashrd is an OpenBSD installer with an eye towards larger flash 
devices. The primary targets are USB key, Flash disk module, Compact 
Flash adapter, or hard disk.


The flashrd installation is targeted towards infrastructure equipment. 
It installs a complete OpenBSD system with one-touch upgrade 
capability. The system stays mounted read-only during normal operation, 
with writes directed towards a memory filesystem, eliminating the need 
for frequent disk writes. This greatly reduces the potential for both 
boot failure due to a dirty filesystem and for flash corruption from 
repeated writes. It boots from a ramdisk to make in-place upgrades easy 
and complete.



k...@oav.net wrote:

Hi there,

I love OpenBSD, and I really like to set a small OpenBSD distribution on
USB stick to allow make cheap OpenBGPd routers.

Is there any project that is officialy supported by OpenBSD team?

Thanks,
/Xavier




Re: 4.6 postponed to Nov 1

2009-09-18 Thread Noah Pugsley

Bret S. Lambert wrote:

On Fri, Sep 18, 2009 at 01:05:51PM +0200, Gilles Chehade wrote:

Bret S. Lambert wrote:

On Fri, Sep 18, 2009 at 11:47:37AM +0200, Alexander Hall wrote:

Oohhh... One dollar...

But, hey, wait a minute... You still owe me a jager bomb since... s2k8?

I'll update my accounting, should we name it Puffy. ;-)


I owe you what I say I owe you.

Now fetch me some pickled fish.

Where's my baconcheese ?


Still in the tube. At the store.


For long life and good health: http://www.jdfoods.net/products/baconsalt.php



Re: boot disk ???

2009-08-05 Thread Noah Pugsley

PJ wrote:


This is a great start for a new system.


Temper, temper.
  

If anyone had taken seriously all the problems and hormanure I have had
to put up with for the last two they would have either gone out and done
something stupid to someone else or to themselves... I have to vent my
frustrations somewhere and whatever got in the way was a target... lucky
I'm a peacful guy but I sure don't like some of the shit I've been
putting up with, especially recently.  I just can't believe this
absurdly stupid lg dvd drive not booting... it writes the dvds allright,
but why the hell doesn't it read or boot from them? I'll know tomorrow
when I return the damned thing.

-Marcus Watts

  


It's a good thing misc@ is here to provide you with free counseling 
service, all the technical talk is just filler. Cleaning the horseshit 
out of one's ears (eyes?) and listening to good advice is also a good 
way to avoid the frustration in the first place.


Just for fun I downloaded 
ftp://ftp.openbsd.org/pub/OpenBSD/4.5/i386/install45.iso, burned it to a 
cd and tried to boot it. It came up with some crazy message about 
conversion to baby mulching machine initiated I got scared cause I 
got like 20 gypsy babies in cages behind my desk and they're worth like 
$2k US apiece! I hit the breaker just in time to save the babies but my 
machine is ruined. Now it's only good for peeing on. Hmm PJ, maybe you 
got a point.


-noah



Re: Urgent problem with an arc RAID controller

2009-08-03 Thread Noah Pugsley
If you can boot from an install and see your partitions and data, back 
your shit up NOW. Worry about the repair later.


Once you are ready to repair you need to include a lot more info if you 
want help. If you have properly backed up you might just save yourself 
some time and reinstall. What exactly did you 'attempt' with fdisk, 
disklabel and installboot?


Cheers,
noah

Federico Giannici wrote:
This night we had some problems with an Areca ARC-1220 RAID controller 
(arc driver) installed in an OpenBSD 4.4 amd64.


After the substitution of a couple of HDs the system restarted (in 
rebuilding mode), but there was a problem: the RAID disk no longer boot!!!


The system see the controller, it correctly boot and seems to work ok. 
The controller BIOS seems ok, apart from being in Rebuild state, but 
this already occurred another couple of times before with no particular 
problem.


But this time, after the controller starts up, when the PC BIOS should 
boot from the disk, the following message is written to video and 
nothing more happens:


Using drive 0, partition 3.
Loading...

Looking at the controller System events I found a message that I have 
never seen before:


Rebuild LBA

It seems that the controller messed-up with something in the boot 
sequence of OpenBSD, but I cannot find exactly what. I have done a lot 
of attempts with the fidk, disklabel and instalboot, but with no 
success. I'm worried to experiment too much with that commands, because 
I'm really scared to destroy all the data in the disk.


Anybody can tell me what is the exact problem, and maybe suggest the 
correct commands to restore the situation?


Thanks.




Re: OpenBSD as a storage SAN

2009-06-03 Thread Noah Pugsley

iscsi support does not exist yet. Maybe try FreeBSD or OpenSolaris.

Friedrich Locke wrote:

I am planing this:

With iSCSI i would like to implement on OpenBSD server (target) and
various boxes linux, win and openbsd too, i.e., they (the clients)
would be the initiators.

That simple like that.

So, the question is: Does OBSD support iSCSI (both target and initiator)?

I am really in need of that, may some one help me?

Thanks in advance.

On Wed, Jun 3, 2009 at 3:18 PM, ropers rop...@gmail.com wrote:

2009/6/3 Friedrich Locke friedrich.lo...@gmail.com:

Dear gentleman/madam,

i would like to use openbsd in order to build a SAN solution, i.e.,
one that provides block access to the box's disks.
I want to build a SAN, not a NAS. Is it possible?

Thank in advance.

I'm no expert, and I've never worked with SANs, but since the defining
characteristic of a SAN is that it makes remote storage devices appear
locally attached to the OS, let me ask:

Do you want remote storage devices appear locally attached to other
OpenBSD servers, or to what kind of server?

Granted, depending on the protocol used/design of your SAN it may not
matter much, as things like SCSI, ATA over Ethernet, etc. ought to be
OS-agnostic, but still I'm curious, and sort of trying to understand
where you're going with this.

Also --and I apologize if this is too trivial-- if I were asked to
implement a SAN, I would first of all try to be specific and see what
protocol would be required, or, if I were able/expected to build a new
SAN from scratch and choose a protocol/decide how to implement it
myself, then I'd try to figure out what makes the short list, and in
this case, if any of those programs/drivers are available for, or can
be ported to OpenBSD. I'd e.g. look at this list:
http://en.wikipedia.org/wiki/Storage_area_network#Network_types
and google for those technologies in the misc archives (haven't done
this, but I'm not the one gunning for a SAN).
So precisely what SAN technologies/software/hardware are you trying to
use with OpenBSD?

For what it's worth, the opposite --accessing an existing SAN from
OpenBSD-- seems to have been discussed in the past:
http://marc.info/?t=12351424634r=1w=2

regards,
--ropers




Re: No OS safe??

2009-05-08 Thread Noah Pugsley
+1 for friday laughs.

(private) HKS wrote:
 On Fri, May 8, 2009 at 11:33 AM, Bob Beck b...@openbsd.org wrote:
   
 http://www.cbc.ca/technology/story/2009/04/15/ibotnet-trojan.html
 
 It's a *botnet* guys, installed by *trojan* i.e. by tricking the stupid
 
 idiot
   
 at the keyboard into doing something retarded.  The OS can be the most
 secure thing on the planet and if the person at the keyboard is stupid
 you'll still get pwned. Even OpenBSD is not secure against these sort
 of problems, because there is nothing preventing the unwashed masses from
 using it stupidly. (God, I said that on m...@.. that was a waste of bytes)


 

 Wait, so you're saying OpenBSD can't even protect me from myself?

 Also I left my laptop running OpenBSD on a table at Starbucks while I
 went to the bathroom and when I came back it was gone!

 So much for secure by default...

 -HKS



Re: Browsers was: Re: firefox starts two times

2009-03-23 Thread Noah Pugsley
I've been using this for a month or two:

http://userscripts.org/scripts/show/34765

Works for more than just youtube also. Maybe I'm lazy but it's much 
easier than going to a shell and using yt or youtube-dl.

Matthias Kilian wrote:
 On Mon, Mar 23, 2009 at 03:39:41PM -0700, patrick keshishian wrote:
   
 There are methods of fetching just the video off youtube if that's all
 you want. I think I've even seen at least two scripts in ports that
 just do that (www/youtube-dl is one and the other I can't recall its
 names off top of my head).
 

 net/yt



Re: Intel D945GCLF2

2009-01-06 Thread Noah Pugsley
Those Intel boards must be popular. Everywhere I look they are sold out...

-n

Anathae Townsend wrote:
 msi has one,
 http://global.msi.com.tw/index.php?func=proddescmaincat_no=388cat2_no=599;
 cat3_no=601prod_no=1614#

   
 -Original Message-
 From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
 Of Nenhum_de_Nos
 Sent: Friday, January 02, 2009 7:20 PM
 To: misc@openbsd.org
 Subject: Re: Intel D945GCLF2

 On Fri, January 2, 2009 17:40, Chris Cohen wrote:
 
 Has anyone installed openbsd on the Atom board D945GCLF2? If so
   
 could
 
 you post a dmesg and does it run stable?

 --
 Thanks
 Chris
   
 has anyone seen any atom dual core with two lan ?

 I'd like a pf router that would be low energy :)

 Alix is openbsd friend right ? ( 2d3 in this case )
 I did like alix but a mini itx with regular vga is better for me :)

 thanks,

 matheus


 --
 We will call you cygnus,
 The God of balance you shall be



Re: Recommend hardware for video surveillance system?

2008-11-03 Thread Noah Pugsley
I have a bktr 4 port card and 1 composite camera I could try tomorrow. 
Been meaning to try it anyway.

Unless you are rolling your own the software might be an issue. Systems 
like zoneminder (zoneminder.com) require video4linux among others.

Also, the wireless cameras are easily snooped on. If you decide to use 
them be careful where you point em!

Cheers,

Noah

Alex Popov wrote:
 On 11/3/2008 10:17, Duncan Patton a Campbell wrote:

   
 look at the Axis cameras.

   
 Yes, this

 http://www.axis.com/products/cam_207w/index.htm

 is the sort of thing I was talking about.

 

 I used Axis web cameras about 3 years ago to monitor a parking lot and had
 lots of quality issues. They could have improved since then, but I would
 recommend evaluating any camera thoroughly before buying it.

 I used the camera to upload frames to the OpenBSD FTP server every 10 seconds
 or so, and then used ffmpeg to convert them into avi movie, and presented the
 archived movies via httpd. Camera would stop the upload for no reason every
 other day, and I couldn't get it to work. Company's support was not very
 helpfull either. In the end, I wrote a expect script that would reset the
 camera every day, which seem to help somewhat, but the issue still remained.

 Also, make sure that the picture quality is adequate for what you are trying
 to accomplish:

 - how does it perform in different lighting conditions
 (day/night/rain/fog/etc.):  e.g. can you read the license plate of the vehicle
 if you monitoring the parking lot, or can you reliably identify a person based
 on the camera image. That sort of things are often overlooked :)

 - how many cameras do you need to cover a particular area: while the field of
 view may be sufficient to cover the monitored area, resolution/focus is
 sufficient only in a part of the whole field of view.

 - consider a camera which could be integrated with a motion sensor, door
 switch, etc, so it only records when event is triggered. Its not fun skimming
 through hours of video trying to catch 3 frames when a particular event 
 happened.

 - cabling (Ethernet/power) and environments housing are also interesting
 subjects that should be considered up front, before you settle on the desired
 zoom/resolution/sensitivity

 Good luck,

 Alex



Re: Serial ATA RAID ctrl on PCI

2008-10-29 Thread Noah Pugsley
For example:

# bioctl arc0
Volume  Status   Size Device 
 arc0 0 Online  199336448 sd0 RAID6
  0 Online   500107862016 0:0.0   noencl ST3500320AS SD15
  1 Online   500107862016 0:1.0   noencl ST3500630AS 3.AAG
  2 Online   500107862016 0:2.0   noencl ST3500320AS SD15
  3 Online   500107862016 0:3.0   noencl ST3500320AS SD15
  4 Online   500107862016 0:4.0   noencl ST3500320AS SD15
  5 Online   500107862016 0:5.0   noencl ST3500320AS SD15

# sysctl hw.sensors.arc0
hw.sensors.arc0.drive0=online (sd0), OK

 From /etc/sensorsd.conf

drive:command=echo %t failed with status: %s %2 on %x | mail -s 
`hostname` sensorsd CRITICAL \(RAID\) alarm



Stuart Henderson wrote:
 On 2008-10-28, Don Jackson [EMAIL PROTECTED] wrote:
   
 On Oct 28, 2008, at 3:47 PM, Robert Franklin wrote:

 
 Did you read the man page for arc(4)? It says right there.
   
 I did, and I'm not seeing anything.
 

 ...
  arc supports alarm control and monitoring of volumes configured on the
  controllers via the bio(4) interface and the bioctl(8) utility.
 ...