Re: [www.openbsd.org] faster machines and scareware

2012-07-28 Thread Peter Laufenberg
btw, I hope no one minds if I plug OpenBSD's website in the subject. this is a
method of trying to get the site back up to better rankings in google.

AFAIK, and few _really_ know, Google rankings use an acyclic graph with 
cumulative credibility weights. Say a NY Times article points to a web site 
then that site will benefit from its creds, more so if other so-called 
reputable sources point to that article. From Google's early patents, subject 
categories are extremely fine-grained so a popular home cooking site won't have 
the same effect on technology.

There's also Google Analytics, which until recently was supposedly separate 
from search, but neither Calomel nor OpenBSD use that sneaky piece of spyware.

Google works furiously to prune false-positives from fraudsters and push down 
noisy aggregators such as marc.info so I doubt spelling Calomel backwards or 
codenaming it the IT unicorn has much effect.

What definitely works is using swear words and other offensive language that 
default search settings block. Luckily that's generally the case when someone 
mentions Calomel here; in fact the entire list is probably considered lewd 
material. So it's okay to mention Calomel if you add how that it's just 
mind-boggling how much cock that guy manages to swallow.

So kids, remember to brush your teeth and be rude :)

-- p



Re: Calomel.org sucks ass

2012-07-27 Thread Peter Laufenberg
On 07/26/12 03:04, Peter Laufenberg wrote:
 Everytime you follow a non official documentation, you waste your time
 and the developer's time, we're not cranky about calomel only, we're
 cranky about people following unofficial documentation, remember, our
 FAQ and manpages are accurate 99.99% of the time and they are pretty
 well written and complete.
 90% of the time the problem is finding the right man page. F.ex. the FAQ 
 starts with pppoe(8) which leads to the gigantic ppp(8) and you're shit out 
 of luck if you read all those only to find out pppoe(4) is what you really 
 want.
Try:
apropos (1) - locate commands by keyword lookup

# apropos ppoe
pppoe (4) - PPP Over Ethernet protocol network interface
pppoe (8) - PPP Over Ethernet translator

Again I was following the FAQ.

-- p



Re: Calomel.org

2012-07-27 Thread Peter Laufenberg
On Thu, Jul 26, 2012 at 11:24:31PM +0200, Peter Laufenberg wrote:
 That said, the attitude you're displaying does no one any favors: nobody'ss
 here to make you feel special; either you're willing to put in the work
 or you aren't.
 
 Who the fuck do you think you are to use that tone? The royal we? Are 
 those mutual favors a currency I can trade for a cash? Will the OpenBSD 
 community branding me special get me more work? pussy? the INS fast-lane? 
 Nope. *IF* I decide to put in the work, mylord, it'll be on my own terms 
 so you can get off your high horse and drop that plastic monocle replica.
 
 I got my own agenda; if there was general support for a mediawiki-based site 
 that includes the new Lua bindings I could partially wrap that into my 
 current job on my remote Lua debugger. Assuming I don't completely botch it, 
 I would be doing a favour to the OpenBSD community in return for nothing, as 
 do others, but it's pretty clear by now that change is not exactly welcome.
 
 I'm not going to piss against the wind and invest energy in a project doomed 
 to fail, especially given your condescending tone that does no one any 
 favors.
 
 -- p
 

I refuse to do any work until my ego is properly stroked! is no way to go
through life.

Agreed, that is exactly what I wrote.

-- p



Re: Calomel.org

2012-07-27 Thread Peter Laufenberg
Ted Unangst [t...@tedunangst.com] wrote:
 On Thu, Jul 26, 2012 at 09:53, Peter Laufenberg wrote:
 
  /reference/, they're not meant to solve high-level problems. The FAQs are
  really are no FAQs at all but a gigantic snowball with floppy install
  instructions crucially leaving out 5 1/4 and 8 media.
 
 That's because 5 and 8 floppy drives aren't supported for installation.

He was just being sarcastic. Peter's (well taken) point is that OpenBSD is 
crucially lacking support for the larger floppy media from the last 40 years. 
A large oversight, indeed. Ever since I read it hours ago, I have been working 
furiously adding support for PDP-11s so that we have something that can accept 
an 8 floppy drive. I've also decided to take the second challenge, and shrink 
the install media down to 1.2MB to support a 5.25 floppy. I think we finally 
have a way out of this mess.

Awesome, I can *finally* put those Commodore64 drives to use!

:)

-- p



Re: USB not working after resume

2012-07-27 Thread Peter Laufenberg
Yes, I didn't attach dmesg or usbdevs because I thought it was a known
issue.

Well, my T410 has USB 3.0 ports, but before suspend everything works:
mouse, pendrives, SD card reader, usb 3G modem, etc. After resume
there's no power in any usb port.

USB 3.0 interface are capable of supplying much more power than USB 2.0; some 
PCIe USB 3.0 cards have an extra power connector the way higher-end video cards 
do. Unless your attached devices are actually USB 3.0-able the extra features 
are useless.

Maybe your BIOS has an option to switch them to USB 2.0 compat mode.

-- p



Re: Calomel.org

2012-07-27 Thread Peter Laufenberg
Calomel is ranked 2 on google because it has been linked several hundred
times from this list. Google doesn't know about good/bad opinions or
flamewars. Google only cares about the reputation of the origin of the
link.

I don't think that's true; google link:calomel.org -site:calomel.org to find 
sites that link to it.

Pagerank is more sophisticated than that; otherwise it'd be too easy to trick.

-- p



Re: Calomel.org

2012-07-26 Thread Peter Laufenberg
Apparently calomel is full of bad and/or outdated advice for openbsd,
especially the sysctl tuning stuff.

Your best advice is to follow the official FAQ's on openbsd.org, and
read openbsd man pages to learn your techniques.

Maybe there needs to be a calomel faq on openbsd.org.

Here's a better idea I'm putting out there to see how fast it gets shot down: 
openbsd-wiki.org, with a rule that whoever gets a question answered on misc has 
to add an entry with the cleaned reply. It'd do wonders for misc's signal/noise 
because lazy fucks, retards and trolls would think twice before posting and 
legitimate users would get answers faster and silently, in whatever available 
languages.

Dynamic content  proper search would also put an end to just wade through 
marc.info fuck-offs and self-righteous RTFD when one has to egrep -Rli serial 
/usr/share/man, say. Man/info pages are the ultimate /reference/, they're not 
meant to solve high-level problems. The FAQs are really are no FAQs at all but 
a gigantic snowball with floppy install instructions crucially leaving out 5 
1/4 and 8 media.

The site can look butt-ugly (or wikimedia-bland) but needs a semi-official 
stamp of approval instead of blinking red THIS IS NOT AFFILIATED WITH 
OPENBSD.ORG!!! And if linking to a 3rd-party web site was such a taboo you 
wouldn't use Google site-search.

Let the shooting down begin. Truth is misc subscribers secretly love reading 
the same QAs over and again, with the monthly calomel snicker, right?

-- p



Re: Calomel.org

2012-07-26 Thread Peter Laufenberg
 Here's a better idea I'm putting out there to see how fast it gets shot 
 down: openbsd-wiki.org, with a rule that whoever gets a question answered on 
 misc has to add an entry with the cleaned reply. It'd do wonders for misc's 
 signal/noise because lazy fucks, retards and trolls would think twice before 
 posting and legitimate users would get answers faster and silently, in 
 whatever available languages.

How is that going to stop the 'retards and trolls' from posting?  
What are the consequences for people who break the rule, and who is
going to enforce it? Have you really thought this through?

I have and others have before me. Repeat offenders get blacklisted, either 
server- or client-side, doesn't matter. Really they're just another form of 
spam. OpenBSD already has various decision-makers; reducing @misc noise would 
be just another position and as with spam you could have a number of filters 
before they make it to the grey list.

 Dynamic content  proper search would also put an end to just wade through 
 marc.info fuck-offs and self-righteous RTFD when one has to egrep -Rli 
 serial /usr/share/man, say. Man/info pages are the ultimate /reference/, 
 they're not meant to solve high-level problems. The FAQs are really are no 
 FAQs at all but a gigantic snowball with floppy install instructions 
 crucially leaving out 5 1/4 and 8 media.

I don't understand why the floppy install option gets you so riled up.
I happen to have a couple of IBM Thinkpads from the early 2000's,
which still work quite well with the exception of unreliable cdrom
drives.  So I like knowing the floppy option is there.

Good for you. You don't absolutely need it to be so prominent in a linear 
document though right?

-- p



Re: Calomel.org

2012-07-26 Thread Peter Laufenberg
Everytime you follow a non official documentation, you waste your time
and the developer's time, we're not cranky about calomel only, we're
cranky about people following unofficial documentation, remember, our
FAQ and manpages are accurate 99.99% of the time and they are pretty
well written and complete.

90% of the time the problem is finding the right man page. F.ex. the FAQ starts 
with pppoe(8) which leads to the gigantic ppp(8) and you're shit out of luck if 
you read all those only to find out pppoe(4) is what you really want.

If you can't figure it out by reading the FAQ/manpages: you're either
not ready for it, or we have a documentation bug.

Not ready as in young Skywalker?

That's bullshit; Google's pagerank means more people are linking to Calomel, 
period. If googling a problem is considered crass or lazy then remove 
google site search from openbsd.org. Remove grep while you're at it, let 
newbies earn their OpenBSD creds by reading source code. What is this, a 
fucking fraternity?

You've got a bug alright: Calomel keeps on popping up despite being wrong, its 
site designed by a flaming unicorn, scripts made mostly of ASCII-art and 
useless comments to reinforce the genius of its egomaniacal self-jizz-gobbling 
writer -- and the conclusion is that the problem lies with that site, or people 
being stupid, lazy or not ready.

-- p



Re: Calomel.org

2012-07-26 Thread Peter Laufenberg
On 07/26/12 03:53, Peter Laufenberg wrote:
 Apparently calomel is full of bad and/or outdated advice for openbsd,
 especially the sysctl tuning stuff.

 Your best advice is to follow the official FAQ's on openbsd.org, and
 read openbsd man pages to learn your techniques.

 Maybe there needs to be a calomel faq on openbsd.org.
 a rule that whoever gets a question answered on misc has to add an entry 
 with the cleaned reply. It'd do wonders for misc's signal/noise because lazy 
 fucks, retards and trolls would think twice before posting

That'll happen right after I'm done cleaning up the unicorn shit from my 
back yard.

Damn you bought the Neverland ranch? You must be loaded.

You're not the first person to mention a wiki for OpenBSD, and look how 
well that turned out.

I assume you're not talking about openbsdsupport; that wasn't a wiki. Archwiki 
is okay though, its X11 entries are helpful even on OpenBSD. Hey it's where 
google points, sue me.

-- p



Re: Calomel.org

2012-07-26 Thread Peter Laufenberg
 The site can look butt-ugly (or wikimedia-bland) but needs a
 semi-official stamp of approval instead of blinking red THIS IS NOT
 AFFILIATED WITH OPENBSD.ORG!!!

Set up the site, make it work.  Approval will come.

Other way around. I got better things to do than start a project obsd 
maintainers are waiting to see tank.

-- p



Re: Calomel.org

2012-07-26 Thread Peter Laufenberg
That said, the attitude you're displaying does no one any favors: nobody'ss
here to make you feel special; either you're willing to put in the work
or you aren't.

Who the fuck do you think you are to use that tone? The royal we? Are those 
mutual favors a currency I can trade for a cash? Will the OpenBSD community 
branding me special get me more work? pussy? the INS fast-lane? Nope. *IF* I 
decide to put in the work, mylord, it'll be on my own terms so you can get 
off your high horse and drop that plastic monocle replica.

I got my own agenda; if there was general support for a mediawiki-based site 
that includes the new Lua bindings I could partially wrap that into my current 
job on my remote Lua debugger. Assuming I don't completely botch it, I would be 
doing a favour to the OpenBSD community in return for nothing, as do others, 
but it's pretty clear by now that change is not exactly welcome.

I'm not going to piss against the wind and invest energy in a project doomed to 
fail, especially given your condescending tone that does no one any favors.

-- p



minimal radio streamer on Alix LX800 gateway?

2012-07-23 Thread Peter Laufenberg
I want to set up a minimal mp3 Internet radio streamer directly on my Alix 
Geode 500 MHz gateway. The idea is to grab the data closest to my PPPoE ADSL 
modem so it doesn't travel through the rest of the LAN and pollute logs, 
assuming the decoder daemon is secure and not too demanding on the Alix.

This Alix has no on-board audio but I have unused external audio interfaces 
from my bygone DJ days, some clearly overkill but none with built-in mp3 
decoder:

 USB 1.0 tiny Roland UA-1A 2-in/2-out, 16bit @ 48 kHz (2001)
 USB 2.0 Roland UA-101 10-in/10-out, optical in/out, 24-bit @ 192 kHz (2005)
 USB 2.0 M-Audio FastTrack Pro 4-in/4-out, coax in/out, 16-bit @ 96 kHz 

For play/stop  next controls I'd use a small USB gamepad-type or MIDI 
controller, not via TCP messages, so it doesn't complicate pf rules. I cycle 
between 3 hardcoded stations using 128kbps CBR so that's the only codec I need.

Questions:

- stupid/dangerous idea?
- what's the most nimble stream+mp3 solution? 
- are there AMD Geode-specific instructions it can be recompiled with?

thx,

-- p



Re: minimal radio streamer on Alix LX800 gateway?

2012-07-23 Thread Peter Laufenberg
Peter Laufenberg open...@laufenberg.ch wrote:

 I want to set up a minimal mp3 Internet radio streamer directly on my
 PPPoE ADSL modem so it doesn't travel through the rest of the LAN and
 pollute logs,

I don't understand that rationale.

For Internet radio to feel as if I was listening to FM radio -- no/little 
impact on my LAN, works even if all my computers are off (except the Geode  
modem), can be on all the time. I don't need or want visual feedback, fancy 
equalizers or mouse, just 2 accessible *physical* buttons. Picture a car 
mechanic with a crappy FM receiver if you will. The decoded audio signal plugs 
into the rest of my audio gear which is not PC-based.

 For play/stop  next controls I'd use a small USB gamepad-type or MIDI
 controller,

That looks like the most difficult part, because offhand I have no
idea how to interface those input devices with a tty.

The point is not to need tty or network client/server messaging. I query a USB 
device directly, never leaves the Geode. I've done more complex stuff before, 
www.hackerdjs.com, and have lots of gear just lying around, forget about that 
part it's a distraction.

 I cycle between 3 hardcoded stations using 128kbps CBR so that's the only
 codec I need.
 
 - what's the most nimble stream+mp3 solution? 

mpg123 is probably the fastest one, although all of them will be
fast enough.  With sndiod disabled, mpg123 playing a 128 kbps stream
takes about 6% CPU on a Geode 500 MHz.  Double that if you need or
want to run sndiod.  Playing 192 or 256 kbps streams makes barely
any difference.

Ok I saw mpg321 picked up that project and depends on madlib like a ton of 
other players. Sourceforge shows the most recent mad update in 2004 which I 
assume means it's solid.

 - are there AMD Geode-specific instructions it can be recompiled with?

mpg123 actually comes with hand-crafted optimizations for a variety
of x86 instruction set extensions.  It automatically picks an
appropriate one at run time.  On the Geode, it defaults to the
3DNowExt decoder.  But really, the Geode is already too fast for
this to matter much.

Ok thx.

-- p



Re: minimal radio streamer on Alix LX800 gateway?

2012-07-23 Thread Peter Laufenberg
On Jul 23 11:00:19, Peter Laufenberg wrote:
 I want to set up a minimal mp3 Internet radio streamer directly on my Alix 
 Geode 500 MHz gateway. The idea is to grab the data closest to my PPPoE ADSL 
 modem so it doesn't travel through the rest of the LAN and pollute logs, 
 assuming the decoder daemon is secure and not too demanding on the Alix.

Why exactly do you need to be playing the mp3 stream on your gateway?

I don't need to, I want to, so far it runs from an inside PC.

I use the FastTrack without problems.

Ok thx.

I don;t think you need any start/stop midi controlling - just
kill the proccess playing this and start another playing that.

For audio I prefer physical over software controllers and have spare MIDI/USB 
devices; not planning to buy new gear.

 - what's the most nimble stream+mp3 solution? 

I use audio/sox, but that also supports many other formats beside mp3,
so you might find something lighter that supports just mp3.
(Then plug it into the radio tool instead of 'play')

Ok I'm looking at madplay since most other players seem to depend on madlib 
anyway.

thx,

-- p



Re: minimal radio streamer on Alix LX800 gateway?

2012-07-23 Thread Peter Laufenberg
On Mon, Jul 23, 2012 at 07:06:21PM +0200, Peter Laufenberg wrote:
 Peter Laufenberg open...@laufenberg.ch wrote:
 
  I want to set up a minimal mp3 Internet radio streamer directly on my
  PPPoE ADSL modem so it doesn't travel through the rest of the LAN and
  pollute logs,
 
 I don't understand that rationale.
 
 For Internet radio to feel as if I was listening to FM radio -- no/little 
 impact on my LAN, works even if all my computers are off (except the Geode  
 modem), can be on all the time. I don't need or want visual feedback, fancy 
 equalizers or mouse, just 2 accessible *physical* buttons. Picture a car 
 mechanic with a crappy FM receiver if you will. The decoded audio signal 
 plugs into the rest of my audio gear which is not PC-based.
 
  For play/stop  next controls I'd use a small USB gamepad-type or MIDI
  controller,
 
 That looks like the most difficult part, because offhand I have no
 idea how to interface those input devices with a tty.
 
 The point is not to need tty or network client/server messaging.
 I query a USB device directly, never leaves the Geode. I've done
 more complex stuff before, www.hackerdjs.com, and have lots of
 gear just lying around, forget about that part it's a
 distraction.

I agree that the most natural interface would be to a simple knob
to select stations, possibly a knob for the volume, and possibly a
led to indicate the state.

Nice to find someone who understands audio interfaces, and no I'm not an 
extremist vinyl fondler. I control the volume on the pre-amp, manually, then it 
goes to my industrial Brazilian Watsom amp, low-end compared to the racked 
models Sepultura use at concerts, but powerful enough to send cops over every 
now and then.

A led wouldn't be of much use, one of the stations, Ibiza Sonica (mellow 
compared to actual clubs), frequently broadcasts from live venues, drops in  
out and has gain hickups like somebody sat on an upslider. When the other 
station stops, Couleur 3, it's usually because my crappy ISP connection did. I 
only listen to those two cause I can't figure out Santa Monica KCRW's new grid. 

If you have a nice usb midi controller with knobs and leds, and if
you are not scared by writing code, you could write a small program
to run  kill mpg321/mplayer/whatever instances depending of
current state of the controller. It's not complicated afaics.

Nah the stressful part was using my MIDIbots router whose Lua scripts I 
idiotically tweaked just before the event. At home who cares, it can crash  
burn.

Using directly libmad/libcurl rather than a player and submitting
audio data to the device could allow switching between stations to
be smoother. Example, start decoding the next station while the
previous is still playing, etc.

I'm more concerned about overloading the Geode than rude crossfades. That setup 
is just for radio, my offline library is a hell lot hairier to manage and 
definitely requires a rich UI.

Thx for the advice on libmad/libcurl, I'll try that.

-- p



Re: minimal radio streamer on Alix LX800 gateway?

2012-07-23 Thread Peter Laufenberg
Peter Laufenberg open...@laufenberg.ch wrote:

 Ok I'm looking at madplay since most other players seem to depend on
 madlib anyway.

madplay doesn't support streaming or interactive controls.  The
madlib-based mpg321 does, and eats about twice as much CPU as mpg123
on the Geode LX800.

Interesting, do you know why?

I was going to write madlib off given the 2004 timestamp but then saw pretty 
much every audio player used it (incl. low-latency Mixxx). Also I thought 
mpg321 was just a refresh of the abandoned mpg123, what should I make of this?

thx,

-- p



Re: minimal radio streamer on Alix LX800 gateway?

2012-07-23 Thread Peter Laufenberg
Peter Laufenberg open...@laufenberg.ch wrote:

 That looks like the most difficult part, because offhand I have no
 idea how to interface those input devices with a tty.
 
 The point is not to need tty or network client/server messaging. I query
 a USB device directly, never leaves the Geode.

Well, on the box you still need to talk somehow to the MP3 playing
program.

Sure and the Geode has 2 USB ports (and a header for 2 more I think), one for 
the audio interface which may take a MIDI interface on input directly or if not 
a 2nd USB interface (gamepad, numpad, etc.) with a daemon. I could get reeeal 
fancy and use only the Alix's GPIO button with port-knocking-style sequence but 
it'd be silly.

The radio stations are hardcoded and I hardly do any zapping; if both suck I 
turn streaming off and switch to my offline library which uses a completely 
different infrastructure.

 mpg123 is probably the fastest one, although all of them will be
 fast enough.
 
 Ok I saw mpg321 picked up that project and depends on madlib like a ton
 of other players.

That's not how it happened.

mpg123 is a floating point decoder.  That code has also been used
in XMMS and MPlayer.  libmad is a completely independent code base
and uses fixed point arithmetic.

Years ago, when mpg123 was stuck at 0.59r, unmaintained and crufty,
and with a problematic license, somebody decided to throw a rough
clone together as a programming exercise by combining libmad and
libao with some glue and under the GPL--thus was born mpg321.
Eventually mpg321 was abandoned as well, but in the meantime mpg123
had been picked up again and the project is alive and well today,
including a cleaned-up license.  Lately mpg321 has also been revived,
sort of.

Historically, there was also a bit of jostling over the patent
situation, where the mpg123 author said that MP3 patents probably
applied and the libmad author thought they might not because of the
fixed-point code, but by now they are probably expired anyway.

I hear the Frauenhofer Institut is still swinging baseball bat about its mp3 
patent; nothing like AAC but still...

Speaking as the guy who is the OpenBSD maintainer for both ports,
I very much prefer mpg123, and if you are concerned about CPU usage,
it should be the fastest MP3 decoder around (unless you are on an
architecture without floating point, i.e., ARM).

Thanks a lot for the extensive information.

-- p



Re: vesafb and vesabios

2012-07-21 Thread Peter Laufenberg
Enabling either option VESAFB or the vesabios device without the other results
in i386 kernel build failure.  This patch works around the problem by removing
#ifdef VESAFB in favor of NVESABIOS  0.

Feedback welcome, especially if consensus is that I'm wasting my time on this
class of error because it will never get committed.

would this allow or is there a project similar to SVGALib to access a raw 
framebuffer without requiring X11?

-- p



Re: [Bulk] Re: [Bulk] Re: Speeding up scp over 10GigE, suggestions?

2012-07-19 Thread Peter Laufenberg
 My yahoo account separates out the many list mails. I sometimes feel a
Th problem is not yahoo but all such services. Yahoo, gmail, hotmail, 
@wp.pl etc... are all here to control people. nothing else.

You should avoid every large corporation touching your private data.

But... they're free :)

Great quote I forgot where from: when you don't know what the product is -- 
the product is you

-- p



Re: Fuloong: how to boot single user mode from pmon?

2012-07-17 Thread Peter Laufenberg
On Mon, Jul 16, 2012 at 11:00:12AM +, John Long wrote:

 On Mon, Jul 16, 2012 at 12:10:33PM +0200, Otto Moerbeek wrote:
  On Mon, Jul 16, 2012 at 11:50:28AM +0200, Otto Moerbeek wrote:
  
   On Mon, Jul 16, 2012 at 09:09:54AM +, John Long wrote:
   
   
  I see now that you are using a Fuloong and not a Loongson.
 
 I am using a Fuloong (Mini-PC) which is based on the Loongson processor. 

This is still based on the fairly old Loongson 2F; the gen-3 CPUs being 
available only in laptops, right? Not the easiest naming scheme to follow...

-- p



Re: Fuloong: how to boot single user mode from pmon?

2012-07-17 Thread Peter Laufenberg
On Tue, Jul 17, 2012 at 05:00:06PM +0200, Peter Laufenberg wrote:

 On Mon, Jul 16, 2012 at 11:00:12AM +, John Long wrote:
 
  On Mon, Jul 16, 2012 at 12:10:33PM +0200, Otto Moerbeek wrote:
   On Mon, Jul 16, 2012 at 11:50:28AM +0200, Otto Moerbeek wrote:
   
On Mon, Jul 16, 2012 at 09:09:54AM +, John Long wrote:


   I see now that you are using a Fuloong and not a Loongson.
  
  I am using a Fuloong (Mini-PC) which is based on the Loongson processor. 
 
 This is still based on the fairly old Loongson 2F; the gen-3 CPUs being 
 available only in laptops, right? Not the easiest naming scheme to follow...
 
 -- p

Argg, was using the wrong names.

Yeah that happens with their typoo line.

Notebook is called Yeeloong, mini-PC Fuloong. Processor Loongson.

The Loongson 2 and 3 are quite different; the latter has those extra CPU 
instructions that boost Qemu x86 (who said ripoff?) without need for KVM. I'm 
looking for desktop or mini-PC though, not laptop, which I understand aren't 
yet available for export.

-- p



Re: amd unmounting

2012-07-17 Thread Peter Laufenberg
Can anyone help with a little amd problem?

I have some partitions on SSD and some on HD and would like to use
amd(8) so that the HD filesystems are only mounted on-demand, reducing
fsck time in a crash.

I've got them mounting OK...

$ cat /etc/amd/master
-c 60 -x all -l syslog /a bamboo.map
$ cat /etc/amd/bamboo.map
cvshost==bamboo;type:=ufs;dev:=/dev/sd0d
dist   host==bamboo;type:=ufs;dev:=/dev/sd0e
more   host==bamboo;type:=ufs;dev:=/dev/sd0f
$ grep amd /etc/rc.conf.local
amd_flags=

My understanding was that they should timeout after -c seconds
(default 5 mins, I reduced it for testing) and then attempt to dismount
them every -w seconds (default 2 mins). But I don't see this. If I
ls -l /cvs it gets mounted:

Jun  2 12:21:03 bamboo amd[29958]: /dev/sd0d mounted fstype ufs on 
/tmp_mnt/bamboo/a/cvs

but leave the machine idle and it doesn't unmount.

did you ever solve this? was it just the lack of quotes in your rc.conf.local?

-- p



Re: Fuloong: how to boot single user mode from pmon?

2012-07-17 Thread Peter Laufenberg
 how can loongson 3 be (roughly) compared to x86 CPUs in performance?

It's slower. A hell lot slower.

3A systems are running at around 1GHz. The x86 code translation stuff
was benchmark-only and, to the best of my knowledge, has never been made
public (with full source code and acceptable licence terms).

I don't see any point in this kind of benchmark. Either you are able to
recompile the x86 code on the Loongson system, and you need to compare
the speed of native Loongson code versus native X86 code. Or you can
only run the X86 code through the Loongson JIT-like code, and this is
the least of your problems because you have no idea what the original
code does and what the JIT does.

AFAIK the JIT is Qemu's; the extra instructions just help the translation from 
x86 - tiny code generator bytecode (similar to LLVM) - Loongson. I doubt 
there's much magic to it other than minimizing host CPU instructions but... I'm 
talking out of my ass.

On the other hand you're right to question those benchmarks, after all nothing 
beats 1:1 x86 - x86 translation (nop) so those were no doubt very theoretical. 
Even if the 70% of native speed were true it'd just mean that non-KVM Qemu is 
30% slower on Loongson than on x86. So not as lame as you'd think seems a 
more accurate qualifier than fast.

-- p



Re: OpenBSD's webpage desing

2012-07-04 Thread Peter Laufenberg
On 2012-06-27 19:25, Peter Laufenberg wrote:
 On Wed, Jun 27, 2012 at 5:29 PM, Peter Laufenberg open...@laufenberg.ch
 wrote:
 I'm willing to indirectly donate to OpenBSD by paying a professional
 graphic
 designer to redo parts of OpenBSD's visual design. His portfolio:

 that would be cool to presence as a bystander

 No te entiendo tío!

 pay the dude regardless of what anybody says, and have him send the
 patches to a public mailing list

 Maybe if this community wasn't so resistant to change (justified or not).

I can't even see half of his website since it prompts me to download
additional software (plugins).

It's a /portfolio/ that includes video production. If you don't understand the
concept of a portfolio, look it up.

It might be nice to have a prettier website, with nicer colors, etc.
But most of the people who'd manage to do that, would also want to add
JS/CSS/flash, and other thing that would break current features (the
ability to see the website in lynx, for example).

Most being a number out of your statistically-relevant experience?

A designer doesn't decide what technologies can be used -- whoever mandates
him does. Web design is a piece of cake compared to tv broadcasting
requirements.

-- p



Re: OpenBSD's webpage desing

2012-06-29 Thread Peter Laufenberg
what kind of shit are we talking about here? Scheisster baby eat my caviar 
turds or sinewy shrimp intestines you have to swallow wholesale lest being 
called a fag?

Don't leave this up for interpretation or commentators unaware of Tourette 
syndrome tax deductions will /again/ quote out of context and label OpenBSD a 
psychopath hangout. Btw I read Theo was probably going Reiser-loco, that's 
fucking hilarious. I left OpenBSD to become a murder profiler.

-- p


frantisek holop is a shit eating moron who should
be ignored by anyone who is not a shit eating moron...
FUCK YOU holop.
FUCK YOU holop.
Please SHUT THE FUCK UP you stupid moron, frantisek holop.
I beg all true @misc followers
Search the archives for this shit eating moron's posts.
He is nothing but a shit eating moron troll.

On Fri, Jun 29, 2012, at 01:19 PM, Sunnz Yiu wrote:
 On Jun 29, 2012 6:56 AM, frantisek holop min...@obiit.org wrote:
 
  hmm, on Thu, Jun 28, 2012 at 04:15:56PM -0400, Dave Anderson said that
   For dynamic content it's even simpler -- the program producing the
   content should also provide the corresponding header information.
 
  and it does so inside the head of the page.
  a perfectly normal and accepted practice.
 
 it'll do it in the http header if the developer for the dynamic page
 knows
 what they are doing.



Re: OpenBSD's webpage desing

2012-06-28 Thread Peter Laufenberg
If you guys are serious about anything, go look at ports-readmes.

It does extract information from the ports tree, and creates readmes for
all ports.

Currently, it's a static port. It could very well be a dynamic application.

You can experiment with css, you can experiment with nginx.

Preferably, don't add large dependencies (python or ruby out of the question), 
write it as a perl fcgi or something, you can use Plack or Catalyst or
whatever.

If you're considering dynamic pages (which I'm not advocating) you may want to 
consider Lua. It's tiny, fast, easy to sandbox security  memory-wise, had 
stable syntax over-time and its manual is a KR-thin 100 pages. Unlike most 
languages it's meant to be embedded into existing code rather than run 
stand-alone; its 3rd party library is minuscule and optional.

Wikipedia's switching to Lua for their templates, other famous users are nmap, 
wireshark, snort, openwrt, world of warcraft  crysis.

Obviously if maintainers' know-how is overwhelmingly perl then it's not worth 
it.

/my 2 cents of a Peseta - no language flame war pls.

-- p



Re: OpenBSD's webpage desing

2012-06-27 Thread Peter Laufenberg
 Speaking personally, I wouldn't mind if OpenBSD's website were
 updated.  Just no one has volunteered yet to do the dirty work of
 actually coming up with a functional design and then updating the
 HTML.
 
 Talk is cheap.

I'm willing to indirectly donate to OpenBSD by paying a professional graphic 
designer to redo parts of OpenBSD's visual design. His portfolio:

  www.flexstudio.ch

Richard is a very good friend but still your typical starving artist with bills 
to pay. I did this before for other friends' businesses who loved it.

No one is EXPECTING quality diffs, for our definition of quality, and 
therefore, waiting would be silly.  But...if someone shows us something 
that is a REAL improvement and not just window dressing, or moving stuff 
for the sake of moving stuff, I'm sure we'd look at it.

Graphic design is about communication, it's a means to an end, whatever gets in 
the way is a problem. Why you fail to get your message across doesn't matter -- 
OpenBSD's current anachronistic design or Wired-mag type sensory overload. 
Gimmicks like CSS, Javascript, Flash or whatever are a problem more often than 
not. Richard will argue that more than one color, in addition to black  white, 
is a distraction (and that Vision Street Wear copied the Swastika).

It took me _years_ to understand and respect that graphic design isn't all that 
subjective, that it's a craft, with harmonic rules similar to music, and that a 
programmer has as little credibility questioning his skill than him questioning 
mine. There's a ~5% window I can argue why something he did is counter-message 
but for the rest it takes me a few days to realize I'm wrong, he's right, a 
fucking genius in fact.

I'm not going to argue the point with anyone; if you think beauty counters 
functionality I say iPod click-wheel or that opinions are like assholes; 
everybody has theirs then you're looking up your own :)

-- p



Re: OpenBSD's webpage desing

2012-06-27 Thread Peter Laufenberg
On Wed, Jun 27, 2012 at 5:29 PM, Peter Laufenberg open...@laufenberg.ch
wrote:
 I'm willing to indirectly donate to OpenBSD by paying a professional
graphic
designer to redo parts of OpenBSD's visual design. His portfolio:

that would be cool to presence as a bystander

No te entiendo tío!

pay the dude regardless of what anybody says, and have him send the
patches to a public mailing list

Maybe if this community wasn't so resistant to change (justified or not).

would've been even more interesting if you told nobody that he was
getting payed for the patches

Truth is simpler.

-- p



Re: OpenBSD's webpage desing

2012-06-27 Thread Peter Laufenberg
TLDR: It's not your place to tell others what they like.

Am I?

It's not about one individual likes, it's about whether your messages reaches a 
majority of your audience. Most of the filtering is subconscious and immune to 
fashion btw.

On 28 June 2012 07:59, Peter Laufenberg open...@laufenberg.ch wrote:
 It took me _years_ to understand and respect that graphic design
 isn't all that subjective, that it's a craft, with harmonic rules similar
 to music

Maybe it does, but your comment sounds awfully like many other
designer's wa-wa, emitted when people simply _don't
like_ their creations

No it doesn't. However, your wahhh-wahhh comment sounds like you think it's 
all BS anyway.

A good example is the fixed-width websites that someone else
mentioned earlier in the thread. Setting up sites like this takes
away a user's choice for no obvious gain, except perhaps some
laziness on the designer's part.  Users might want their content
wider for lots of reasons... such as, perhaps, displaying large
text to aid the vision-impaired.  Or they might be viewing it on
a small screen, eg. smartphone...

Do you think that if the reader finds reading to be optimal at a
particular column width, that said reader may well adjust their
browser window to suit?

I never spoke of fixed-width or any technical restrictions; those are set by 
whoever emits the message, not the designer.

-- p



Re: OpenBSD's webpage desing

2012-06-27 Thread Peter Laufenberg
I agree 100%; the 1st question an artist would ask is what are you trying to 
accomplish?

If you don't want more OpenBSD users/contributors and really the message is 
piss off, nothing to see here, we're fine as is, leave us alone, then the 
current web site as well as references to floppies and tapes in the docs are 
spot on. Seriously.

-- p


On 06/27/12 17:58, Peter Laufenberg wrote:
 Speaking personally, I wouldn't mind if OpenBSD's website were 
 updated.  Just no one has volunteered yet to do the dirty work of
 actually coming up with a functional design and then updating the
 HTML.
 
 Talk is cheap.
 
 I'm willing to indirectly donate to OpenBSD by paying a professional 
 graphic designer to redo parts of OpenBSD's visual design.
...

No, this is the wrong direction.
A good graphic designer is about as rare as a good programmer, but
that's not what the website is about (and yes, a bad graphic designer is
about as common as a bad programmer).  However, I don't know any graphic
designers who understand our goals and needs, and I can't imagine
it...it's kinda like asking a concert pianist for advice on designing a
chop saw.  Technically, there's no reason a concert pianist couldn't be
an expert on chop saws, but it is the kind of thing I'd kinda hope they
would keep their hands really far away from, as it could really
interfere with their primary occupation.

OpenBSD is not trying to SELL anyone anything.  IF you chose to come to
OpenBSD, we wish to provide you information on using it, through many
possible tools and mediums.

If someone comes to the OpenBSD website and walks away because of its
desing, that's good.  If someone becomes an OpenBSD user BECAUSE of
its desing, I really think that's bad.

 Graphic design is about communication, it's a means to an end,
 whatever gets in the way is a problem. Why you fail to get your
 message across doesn't matter -- OpenBSD's current anachronistic
 design or Wired-mag type sensory overload.

Other than boring, no one has actually STATED a problem of the OpenBSD
website.  What message are we not getting across?  If there is a PROBLEM
you see that makes getting its information to you difficult, please
state it and indicate what could be done better.  i.e., saying, what
you did to the faq/index.html page for this release makes no sense to me
as I'm blind and using a screen reader would be constructive and useful
(and I have no freaking idea what to do about it, and in fact, I've just
made myself feel really guilty, as if someone WERE to say that to me, I
don't want to undo it...)

And really, if the website is about showing the product, what better
could it be than boring?  Exciting to install?  nope.  Rushes to do
emergency upgrades because of yet another vulnerability? nope.  Exciting
website?  nope.  Fits, eh? :)

Nick.



Re: OpenBSD's webpage design

2012-06-27 Thread Peter Laufenberg
Peter Laufenberg open...@laufenberg.ch wrote:
  Speaking personally, I wouldn't mind if OpenBSD's website were
  updated.  Just no one has volunteered yet to do the dirty work of
  actually coming up with a functional design and then updating the
  HTML.
  
  Talk is cheap.
 
 I'm willing to indirectly donate to OpenBSD by paying a professional graphic 
 designer to redo parts of OpenBSD's visual design. His portfolio:
 
   www.flexstudio.ch

Since this is a friend of yours, I'll refrain from commenting about that 
design.

Richard's not a web designer; he's a graphic designer. He put his portfolio on 
blogspot after I commented that downloading a single, enormous PDF kindof 
sucked, and I didn't know of a CMS that didn't suck.

Web design, graphic design, UI functionality (like smartphone formatting), 
back-end functionality (like better formatting of man pages) are all different 
things. There's also industrial design, interior design, architecture, 
urbanism, and so on.

-- p



Re: OpenBSD's webpage design

2012-06-27 Thread Peter Laufenberg
Peter Laufenberg [open...@laufenberg.ch] wrote:
 
 Richard's not a web designer; he's a graphic designer. He put his portfolio 
 on blogspot after I commented that downloading a single, enormous PDF kindof 
 sucked, and I didn't know of a CMS that didn't suck.
 

It should go without saying (after everything that's already been said), but 
for www.openbsd.org, technical prowess (clean and concise implementation) is 
more important than graphic design skills.

Agreed.

If they can't do both, then a new template isn't even worth attempting.

Disagreed. Compare the dispatching of tasks in OpenBSD itself; there are 
different experts for different areas. Vertical vs horizontal.

Anyway I'm done with this thread; Ted put it quite clearly. I don't have a 
major problem with the web site other than I almost dismissed OpenBSD because 
the site and docs feel 10 years old. Free- and NetBSD looked much nicer but 
after I saw actual usage stats I gave OpenBSD a 2nd look and forced myself past 
the floppy/tape references and found OpenBSD's philosophy which just made sense.

In other circumstances I might have missed OpenBSD entirely, so I instinctively 
don't like those red herrings, but I really don't know if more public attention 
would make OpenBSD a better system. Linux's example seems to show it just goes 
from bad to worse. 

-- p



Re: OpenBSD's webpage desing

2012-06-27 Thread Peter Laufenberg
Peter Laufenberg [open...@laufenberg.ch] wrote:
 
 I'm willing to indirectly donate to OpenBSD by paying a professional graphic 
 designer to redo parts of OpenBSD's visual design. His portfolio:
 
   www.flexstudio.ch
 
 Richard is a very good friend but still your typical starving artist with 
 bills to pay. I did this before for other friends' businesses who loved it.

As you can imagine, a project full of software developers isn't the best place 
to look for advancements in graphic design.

WipeOut on Playstation 1. In 1995 Psygnosis UK hired Designers Republic whose 
portfolio previously included crucifixes with barcodes for underground vinyl 
sleeves. It was a HUGE advancement for graphic design as well as music 
(Leftfield, Orbital).

Apple is full of developers and getting more industrial design praise than 
Philippe Stark's lemon juicers. Sure you got your wannabe screwups like Ubuntu 
whatever and Windows 8, but software and art aren't antagonistic. Software 
architecture, elegant code, etc.

-- p



Re: OpenBSD as IPv4+6 gateway

2012-06-22 Thread Peter Laufenberg
On 6/21/12 7:52 PM, Mark Felder wrote:
 On Thu, 21 Jun 2012 18:39:24 -0500, Rod Whitworth glis...@witworx.com
 wrote:

 It is not a school of thought - it is how it is. I have seen one /126
 out in the wild but it is very lonely.

 I work at an ISP/datacenter. We use /126s for the link net. Handing out
 /64's because you can is stupid in my worthless opinion :-)


They don't do it because they like you or are acting responsibly now,
but because they need to find a different way to lock you in.

(snip)

But look at the real reason why /126, or /96, or /120 are given in
Europe a lots specially by France Telecom for example it's not because
they are so brilliant, but that's their way to lock you in with them and
not make it easy for you to renumber and if you ever had to do this for
many computers and multiple subnet, and all, you know what I am talking
about. No one is looking forward to that and in many cases, company do
not change ISP because of that simple fact.

Well let me brighten your week-end by putting your French woes in perspective
with Spain's, btw unrelated to any financial crisis. There is no IPv6;
everybody is working on it and acting real busy but really has no fucking
clue about IPv6 or 4.

I lost about 5 months' work last Fall because my ISP silently started handing
out junk IPv4 addresses from a previously unassigned block. Some routers
(Ciscos and others) had them in a hardcoded blacklist and replied with
counter-measures that'd light up Linux's oh-so-helpful security modules like a
Christmas tree they'd take my whole LAN down, over and again. I spent the
whole time studying the Linux kernel until I switched to OpenBSD. My LAN's
safe now but my connection's still shit.

Despite being Spain's 3rd largest city, Valencia has only two ISPs:
Telefónica, the former state monopoly turned private monopoly, and Ono a
cable operator. When the govt deregulated telecoms they privatised those fat
tax-paid tubes as if they didn't contain 99% air / 1% fiber but water or gas.
When Ono laid its cables it had to get city hall permits to close streets and
dig up pavement.

Every other ISP uses Telefónica's _service_ (not tubes or cables); RJ45 wall
socket, installation receipt and modem are Telefónica's; you just get a
different logo on your bill. The only funny parts are those ISPs' tech support
rain dance, since they can't do anything about it, and Telefónica's CEO
insulting EU regulators for stifling innovation after paying the yearly fine.

Now Ono is out of cash and put a freeze on any new cabling at any price,
however outrageous (supply/demand? Nope). Colt UK's Spanish subsidiary
offered me symmetrical 4 mbps with a 3-year contract for 18'000 Euros... using
Telefónica's rusty cables for the last mile. Before I told them to fuck off
they assured me they'd turn on the IPv6 box-thingy by the end of the year,
but if I blew someone they _might_ get me in their VIP beta-test sooner.

So, you don't need customer lock-in when the country's one giant jail.

Bonne fin de semaine,

-- p



Re: ASUS E35M1-M PRO Fusion AMD E-350 APU

2012-06-22 Thread Peter Laufenberg
I used a brand new ASUS motherboard I referred to in the subject with the AMD
Fusion APU and associated chipset(s) with OpenBSD 5.1 i386.  This ran well for
a few days but ultimately dropped to ddb repeatedly when i copied several
gigabyte of files from one SATA disk to a softraid mirror of two sata disks.
All disks were attached to the onboard SATA ports.

One odd thing I noticed was that the reported memory was a) different than the
8GB installed (I'm running i386, not amd64), and that it fluxuated in top.  In
the dmesg below real mem  = 2814578688 (2684MB).  I would expect ~3.3GB to show
up if PAE were not enabled and for 4GB to show up if PAE were enabled.

The model page on asus.com mentions a brand new UEFI BIOS, though the UK page 
mentions only EFI. Either way they tout a number of smart real-time resource 
adjustments; maybe it's eating from your (ample) memory.

# dmesg
OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD E-350 Processor (AuthenticAMD 686-class, 512KB L2 cache) 1.61 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,SSE3,MWAIT,SSSE3,CX16,POPCNT,LAHF,SVM,ABM,SSE4A,WDT
real mem  = 2814578688 (2684MB)
avail mem = 2758422528 (2630MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/16/10, SMBIOS rev. 2.6 @

There's a 2011-12-09 BIOS update.

-- p



Re: Hardware/System Question

2012-06-22 Thread Peter Laufenberg
  I'm looking for a small system that I can run ftp, web, personal mail and
maybe a build enviroment.  I say small system only due to space
requirements. 
A normal desktop computer or small would work well.  This is one that I was
looking at but not sure if it would be i386 since it is an embedded chip. 
Or
if it would lack the abillity to do what I'm asking.

http://soekris.com/products/net6501.html
and the net5501.

Those seem overkill for ftp/web/mail and underpowered for build, which are
wildly different requirements (and bad idea to combine).

You can get a cheap Alix for the server part, I'm looking at a Gigabyte
GA-H61N-USB3 to build a Mac Mini-like dev box.

-- p



Re: OpenBSD forked

2012-06-20 Thread Peter Laufenberg
On Tue, Jun 19, 2012 at 10:58 PM, Jay Patel rockworl...@gmail.com wrote:
 Hi all users,

 I am users too.  Thanks cody. I am learning C too. from C primus
 plus any thoughts from devs. which we should read?

Udacity.com had a good python class.  Intro, from zero background, to
writing a mini-google (crawler + indexer) in 7 weeks.  Apparently the
original form of duckduckgo (or another search engine) was written in
one page of python.

WTF? Python must be the best way NOT to learn anything about C.

-- p



Re: OpenBSD forked

2012-06-20 Thread Peter Laufenberg
On Tue, Jun 19, 2012 at 10:58 PM, Jay Patel rockworl...@gmail.com wrote:
 Hi all users,

 I am users too.  Thanks cody. I am learning C too. from C primus
 plus any thoughts from devs. which we should read?

Udacity.com had a good python class.  Intro, from zero background, to
writing a mini-google (crawler + indexer) in 7 weeks.  Apparently the
original form of duckduckgo (or another search engine) was written in
one page of python.

WTF? Python must be the best way NOT to learn anything about C.

-- p



Re: OpenBSD forked

2012-06-18 Thread Peter Laufenberg
speaking of stuck CAPSLOCK, anyone else having DEL/INS problems on US keyboards 
w/ Euro key on 5? They're cheapo USB Dell manufactured by Logitech. Tweaking 
wscons flags didn't help (not running X11); should I remap keys individually?

-- p

NO. GPL IS COUNTER-PRODUCTIVE TO TRUE FREE SOFTWARE.
YES, I KNOW I AM SHOUTING. PLEASE EDUCATE YOURSELF
ABOUT THE PERVERTED GOALS OF THE FSF.

On Mon, Jun 18, 2012, at 02:55 PM, Indunil Jayasooriya wrote:
  Their work getting rid of GNU stuff will, inevitably, affect OpenBSD (if
  they succeed at that anyway).
 
 
  Hmm, I personally prefer BSD Style licence. For me, BSD Philosophy
  has
 much more freedom. NOT Copyleft. ( I love it very much ) I'd like to see
 more BSD style stuffs coming in.
 
 anyway GPL is also doing a good job in the world of Open Source.
 
 
 
 
 
 
 -- 
 Thank you
 Indunil Jayasooriya



Re: OpenBSD forked

2012-06-18 Thread Peter Laufenberg
geez, it's a /segway/

-- p

Dont steal the thread.
On Jun 18, 2012 9:55 AM, Peter Laufenberg open...@laufenberg.ch wrote:

 speaking of stuck CAPSLOCK, anyone else having DEL/INS problems on US
 keyboards w/ Euro key on 5? They're cheapo USB Dell manufactured by
 Logitech. Tweaking wscons flags didn't help (not running X11); should I
 remap keys individually?

 -- p

 NO. GPL IS COUNTER-PRODUCTIVE TO TRUE FREE SOFTWARE.
 YES, I KNOW I AM SHOUTING. PLEASE EDUCATE YOURSELF
 ABOUT THE PERVERTED GOALS OF THE FSF.
 
 On Mon, Jun 18, 2012, at 02:55 PM, Indunil Jayasooriya wrote:
   Their work getting rid of GNU stuff will, inevitably, affect OpenBSD
 (if
   they succeed at that anyway).
  
 
   Hmm, I personally prefer BSD Style licence. For me, BSD Philosophy
   has
  much more freedom. NOT Copyleft. ( I love it very much ) I'd like to see
  more BSD style stuffs coming in.
 
  anyway GPL is also doing a good job in the world of Open Source.
 
 
 
 
 
 
  --
  Thank you
  Indunil Jayasooriya



Re: OpenBSD forked

2012-06-17 Thread Peter Laufenberg
Funny thing is, I've never been upset about the 20+ OpenBSD and
ex-OpenBSD developers who now work for google.

Do they still work on OpenBSD and contribute back?

-- p



Re: Solid state disk geometry

2012-06-12 Thread Peter Laufenberg
On 2012-06-12, Peter Laufenberg open...@laufenberg.ch wrote:
On 06/11/12 19:25, Jens A. Griepentrog wrote:
 Let me know, please, whether it makes sense to modify disk geometry
 for solid state disks?

If you knew what physical block size your SSD worked with, you might --
MIGHT -- see some benefit using that, but the 4k offsets seem to work
just fine.  I doubt you would feel any difference...

 Intel's answer about X25 SSDs' erase block size on their support forums is 
 pretty much fuck off.

Some SSD controllers use compression, so even if you have details
of flash block sizes you can't make any calculations about partition
alignment based on them.

The _erase_ block size surely is power of 2 and fixed. Even if the controller 
uses some elaborate Russian doll blocks, any formatting recommendation would be 
better than Intel's verbatim we don't disclose that. It's a policy decision; 
they ship some bloatware Windows7-only extension.

I don't know if other manufacturers are such pricks they won't tell you how to 
best use their hardware, I know my next SSD won't be from Intel.

-- p



Re: Solid state disk geometry

2012-06-12 Thread Peter Laufenberg
On Tue, 12 Jun 2012 18:31:38 +0200
Peter Laufenberg wrote:

 Some SSD controllers use compression

I wonder if they use the average compression ratio to boost advertised
capacity?

Define average :)

Nah that'd be too obvious given SSDs are often used for video editing. 
Manufacturers are happy with the kilo fineprint on box stickers but who cares.

-- p



Re: About wine ?

2012-06-11 Thread Peter Laufenberg
On Mon, Jun 11, 2012 at 10:35:50AM +0800, z_axis wrote:
 I know wine port has been stopped.  I wonder whether or not it is
 applicable to port wine to OpenBSD ?
 Wine works great on FreeBSD, why cannot it run on OpenBSD ?

Somebody has to resolve the issues in the code :)

Take it from ports in Attic, IIRC. If you need Windoze, install
an ESXi box and voila.

I personally don't care for WINE but would really like to know more more about 
virtualization options on OpenBSD hosts; VirtualBox is the only reason I need 
to keep some Debian hosts around (that and my secret crush on Larry Ellison).

F.ex. compat_linux is x86-only and it's not clear how it plays with chroot, 
which I know is imperfect, but saying it can run Linux Skype! without some 
sandboxing doesn't seem too safe.

Qemu seems like a good project given the flack it gets on wikipedia (very 
Cartesian, I know), how well can it run on OpenBSD? what's holding it back? 
which kernel improvements/patches will help? if all VM is counter-security, 
why? Where do we come from and is there life after death? I demand to know.

-- p



Re: About wine ?

2012-06-11 Thread Peter Laufenberg
On Mon, Jun 11, 2012 at 3:49 PM, Peter Laufenberg open...@laufenberg.ch 
wrote:
 Qemu seems like a good project given the flack it gets on wikipedia (very 
 Cartesian, I know), how well can it run on OpenBSD? what's holding it back? 
 which kernel improvements/patches will help? if all VM is counter-security, 
 why? Where do we come from and is there life after death? I demand to know.

Qemu is fine on OpenBSD, but slow, because for some time already it's
without KVM in OpenBSD. Probably one of the reasons for www.bitrig.org

I see. Lofty goals with a questionable fork rationale. Maybe removing doc 
references to floppies and tapes would improve the modernity perception.

From Jiri:
Why don't you first search archives?

- digressions into exotic sports cars?
- marketing plugs?
- out of date?

-- p



Re: Solid state disk geometry

2012-06-11 Thread Peter Laufenberg
On 06/11/12 19:25, Jens A. Griepentrog wrote:
 Let me know, please, whether it makes sense to modify disk geometry
 for solid state disks?

If you knew what physical block size your SSD worked with, you might --
MIGHT -- see some benefit using that, but the 4k offsets seem to work
just fine.  I doubt you would feel any difference...

Intel's answer about X25 SSDs' erase block size on their support forums is 
pretty much fuck off.

-- p



Re: PHP issue with native Apache and ProxyPass

2012-06-06 Thread Peter Laufenberg
I wanted to proxyfy another WordPress instance, running on a remote OpenBSD
5.1 installation.
So far, the remote installation works like a charm.

But when I configure the reverse-proxy, URL with PHP files and variables
aren't managed properly.

The remote website is located on http://192.168.0.28:80/ (DocumentRoot is
/var/www/htdocs).
The proxy directives I set up are:
   ProxyPass /test/ http://192.168.0.28:80/
   ProxyPassReverse /test/ http://192.168.0.28:80/
(I modified WordPress so that it publishes itself as
https://www.tumfatig.net/test/)

Working URLs look like:
   https://www.tumfatig.net/test/wp-content/themes/twentyeleven/style.css
   https://www.tumfatig.net/test/wp-includes/css/admin-bar.css?ver=20111209
   https://www.tumfatig.net/test/wp-includes/wlwmanifest.xml
   https://www.tumfatig.net/test/xmlrpc.php
Any such URL doesn't work:
   https://www.tumfatig.net/test/xmlrpc.php?rsd

The proxy log says:
   [Wed Jun 6 10:58:31 2012] [error] [client 82.241.119.38] File does not 
 exist:
proxy:http://192.168.0.28/xmlrpc.php?rsd

The Web navigator says:
!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
HTMLHEAD
TITLE404 Not Found/TITLE
/HEADBODY
H1Not Found/H1
The requested URL /test/xmlrpc.php was not found on this server.P
/BODY/HTML

But, from the LAN and the proxy server itself, running `ftp
http://192.168.0.28/xmlrpc.php?rsd` gets the file properly from the 5.1
server...

Anyone gets why only PHP files with variable passed are not translated
properly by my configuration ?

Maybe because HTTPS isn't port 80? That or the all the junk Javascript WP 
spews? :)

-- p



Re: No audio on auvia0 / VIA VT8233 AC97

2012-06-05 Thread Peter Laufenberg
Not 100% sure from the logs but you've got a lot of mixer channels muted, maybe 
PCM isn't getting amped. Also try 44100 Hz.

I don't have windows available to update bios

You probably don't need Windows, just a boot CD like from PE Builder, Ultimate 
Boot CD, etc. Intel and Dell also have some ISO images you can reuse.

Is there something else I can try before getting a PCI soundcard?

Update BIOS and any other firmware.

-- p

dmesg, pcidump, mixerctl, audioctl, and mplayer output below all came from 
amd64-5.1 and mplayer from packages:

==

OpenBSD 5.1 (GENERIC) #181: Sun Feb 12 09:35:53 MST 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1072365568 (1022MB)
avail mem = 1029746688 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0720 (45 entries)
bios0: vendor American Megatrends Inc. version 0210 date 09/05/2005
bios0: ASUSTeK Computer INC. A8V-MX
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC OEMB
acpi0: wakeup devices PCI0(S4) PS2K(S4) PS2M(S4) UAR1(S4) P7P8(S4) USB1(S4) 
USB2(S4) USB3(S4) USB4(S4) EHCI(S4) ILAN(S4) SLPB(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 Processor 3500+, 2200.45 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,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: AMD errata 89, 97 present, BIOS upgrade may be required
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 3, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (P0P7)
acpiprt3 at acpi0: bus 4 (P7P9)
acpiprt4 at acpi0: bus 3 (P7P8)
acpicpu0 at acpi0: PSS
aibs0 at acpi0: RTMP RVLT RFAN
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
cpu0: Cool'n'Quiet K8 2200 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 VIA K8M800 Host rev 0x00
agp at pchb0 not configured
pchb1 at pci0 dev 0 function 1 VIA K8M800 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA K8M800 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA K8M800 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA K8M800 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA K8M800 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon VE rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16
drm0 at radeondrm0
pciide0 at pci0 dev 15 function 0 VIA VT8251 SATA rev 0x00: DMA
pciide0: using apic 1 int 21 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x07: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0: ST380011A
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, DMA mode 2
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x90: apic 1 int 20
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x90: apic 1 int 22
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x90: apic 1 int 21
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x90: apic 1 int 23
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x90: apic 1 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8251 ISA rev 0x00: SMI
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL3.0
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x70: apic 1 int 22
ac97: codec id 0x414c4761 (Avance Logic ALC655 rev 1)
audio0 at auvia0
pchb6 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00
vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x7c: apic 1 int 23, address 
00:13:d4:cc:b4:36
rlphy0 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 19 function 0 VIA VT8251 PCIE rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 VIA VT8251 PCIE rev 0x00
pci3 at ppb2 bus 3
ppb3 at pci2 dev 0 function 1 VIA VT8251 PCIE rev 0x00
pci4 at ppb3 bus 4
pchb7 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb8 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb9 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
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 

Re: No audio on auvia0 / VIA VT8233 AC97

2012-06-05 Thread Peter Laufenberg
Also try 44100 Hz.

I tried but audioctl will not let me lower the Hz rate below 48000 Hz.

Probably the native freq but it's strange it'd interpolate in software.

 Is there something else I can try before getting a PCI soundcard?
 
 Update BIOS and any other firmware.

As far as I know, the BIOS is the only firmware existing on this computer.

The on-board audio firmware could be embedded in the BIOS.

I'm on BIOS version 210. According to 
http://www.asus.com/Motherboards/AMD_Socket_939/A8VMX/#download the 2 BIOS 
updates more recent than this one are to Support new CPUs. I wonder how 
accurate this info is (i.e. do they fail to mention other things the BIOS 
update achieves...). I'm kind of reluctant to flash the BIOS in case I brick 
the beast.

Forthcoming technical docs are rare in my experience.

Other stuff you can try: measure voltage on your minijacks (or sample from 
other PC), check any digital audio jumpers, make sure your AMD videocard has no 
audio out like HDMI, some multimedia-heavy Linux live CD.

cheers,

-- p



Re: Large (3TB) HDD support

2012-06-04 Thread Peter Laufenberg
 2012/6/1 Tyler Morgan tyl...@tradetech.net:
  http://www.openbsd.org/faq/faq14.html#LargeDrive
 
 That doesn't mention GPT, which is the problem with drives 2TB.
 https://en.wikipedia.org/wiki/GUID_Partition_Table
 
 Can OpenBSD already boot from a 4TB drive on an UEFI system?

Try to buy systems that don't rely on UEFI.  In the next few years,
prepare to buy systems and find out they require UEFI, and then demand
a refund.  Prepare for it to get even worse than that.

There are already a number of BIOSes out there capable of nasty (or really 
cool) stuff pre-OS boot. The BIOS setup page may look like a DOS relic but it 
doesn't mean it actually is. F.ex. prior to Vista's launch, MS demoed a 
fullscreen video before any boot code was actually run.

UEFI has gotten more press, and given RH an opportunity to present itself as 
defender of freedom, but it's really an evolution of PCs running black-box code 
when and where it can do most harm.

-- p



Re: Large (3TB) HDD support

2012-06-04 Thread Peter Laufenberg
Of course, it isn't /quite/ that simple. GPT is still fairly new, and
whilst it's not too difficult to get a number of operating systems to boot
from GPT, sharing a disk has a number of gotchas.

Exposing dormant OpenBSD partitions to an untrusted OS is stupid unless you 
have no other choice like on a single-HDD laptop -- but it's unlikely to be a 
3TB HDD.

I think docs should actively discourage multibooting and present it as a 
potential risk rather than a feature so people stop bragging how many OSes they 
crammed on a single disk. Most live-CD firmware updates should also be done 
with the OpenBSD HDD unplugged.

-- p



Re: apmd closes/crashes on lid close

2012-06-04 Thread Peter Laufenberg
dump xset -q and wsconsctl -a, compare working/non-working states, check 
for possible race condition?

-- p

xset dpms 5 10 15 isn't doing anything either, nor xset s 4.

On Sun, Jun 3, 2012 at 11:40 PM, Robert Connolly 
robertconnolly1...@gmail.com wrote:

 Sometimes apmd crashes from a system suspend, and sometimes it does not.

 Sometimes xidle runs xlock, and sometimes it does not.

 Sometimes xlock asks for a password, and sometimes it does not.

 Can anyone tell me whether they have all of these working consistently and
 reliably?

 They were not working for me yesterday. This morning it all worked
 perfectly. Hours later, none of it worked.



Re: Large (3TB) HDD support

2012-06-04 Thread Peter Laufenberg
On Mon Jun  4 2012 08:16, Peter Laufenberg wrote:
 UEFI has gotten more press, and given RH an opportunity to present
 itself as defender of freedom

I meant that sarcastically

-- p



Re: Large (3TB) HDD support

2012-06-04 Thread Peter Laufenberg
On Mon Jun  4 2012 08:16, Peter Laufenberg wrote:
 UEFI has gotten more press, and given RH an opportunity to present
 itself as defender of freedom, but it's really an evolution of PCs
 running black-box code when and where it can do most harm.

In fact, RH betrayed the OSS community

It's not exactly their 1st offence :)

They probably say, it's only 99 dollars, so what?

$99 is too little, hopefully they'll charge a lot more so they'll break 
economies of scale while users scramble to avoid Win8 and possibly we'll see 
mobos without a mind-boggling array of environmental sensors every web browser 
already wired to javascript.

-- p



Re: (Kinda O.T.) Digital Millennium Copyright Act used to censor hardware specifications

2012-05-31 Thread Peter Laufenberg
On Thu, May 31, 2012 at 11:11, Brett wrote:

 Pursuant to a rights owner notice under the Digital Millennium Copyright
 Act (DMCA), the Wikimedia Foundation acted under the law and took down and
 restricted the content in question. A copy of the received notice can be

 Reverse engineering necessary to have open source in the brave new world?

PCI spec docs (and many others) are copyrighted.  Maybe they should be,
maybe they shouldn't, but they are.

As far as I know, the actual specs cannot be copyrighted (or it's
murky), but knowing wikipedia, somebody probably copied an entire
table from the doc and dropped it into the article.  that's a no-no,
and not something I'd find nearly as alarming as censorship.

A DCMA notice is an improvement over the furious clean-up happening behind the 
scenes.

For example: search for CIPSO, a NetLabel protocol with an IETF RFC, the word 
appears 1263 times in Linux kernel 3.3. No Wikipedia entry but 
Linux_Security_Modules links to an ex-entry... without deletion log. Try the 
Multi ADM link on the same page: dead again, no deletion log. Hmm, the page 
was last edited yesterday. Date of its most recent reference? June 2010. Second 
most recent? 2006.

If you're lucky you can come across time travel pages: a days-old edit using 
future tense to refer to events years in the past.

Entrusting the very definition of reality to a bunch of LSD-dropping hippies is 
JUST NOT RESPONSIBLE :)

-- p



Re: Thinkpad T60 sticky touchpad (amd64/5.1-stable)

2012-05-31 Thread Peter Laufenberg
I have a Lenovo Thinkpad T60 amd64 laptop (dmesg below) running 5.1-stable
(fresh install of -release from the CD set, then CVS update to -stable).
The touchpad

  pms0 at pckbc0 (aux slot)
  wsmouse0 at pms0 mux 0
  wsmouse1 at pms0 mux 0
  pms0: Synaptics touchpad, firmware 6.2

has an irritating problem in 5.1 (which was *not* present on this same
machine when running 5.0-{release,stable} with X video acceleration
disabled):  When running X (autoconfigured with no xorg.conf), the
pointer will intermittently jump to and stick at either the left side
of the screen, the top of the screen, or the top left corner.
(snip)

Has anyone else seen this sticky touchpad problem?

I've had problems with a synaptics touchpad + USB laser mouse but wasn't using 
the touchpad at all. It wasn't stick-related, possibly not X-related, the mouse 
would connect/disconnect randomly but it's an old laptop so it's possible the 
mouse was just drawing too much power. I haven't investigated the issue further 
yet.

-- p



Re: OpenBSD in April's issue of the CACM

2012-05-30 Thread Peter Laufenberg
Ad hominem attacks on people they obviously know nothing about

Actually it's this kind of slander that brought me to OpenBSD. While looking 
for an OS that didn't embrace Trusted Computing, I came across Theo's 
wikipedia entry which pounded on him so extensively that it raised a flag. 
Extra points for the stab from Linus 
no-lube-needed/I-can't-feel-a-thing-by-now. Without the slander I probably 
would have stuck with Plan 9.

If you care about setting the record straight (or avoid further distortions) I 
suggest a short in response to section on openbsd.org, more reputable 
publications may pick it up and of course love being able to quote someone else 
criticising the powerful. Cherry on the cake would be a quip from Berners-Lee 
on how the Internet would look had he patented HTTP.

As for ACM, I dropped my subscription a year ago cause they were wasting my 
time on the crapper (admittedly quality reading time:)

 From: Peter Laufenberg [mailto:pe...@x.com] 
 Sent: Thursday, August 18, 2011 5:28 PM
 To: xx...@acm.org
 Subject: Re: Welcome to your second year as an ACM member!
 
 Hi,
 
 I would like to unsubscribe from ACM immediately; I understand there may be 
 remaining months on my last credit card charge.
 
 My main motive is the wildly uneven quality of CACM articles. F.ex. the one 
 about home networking explaining what D-H-C-P is so it can spawn a dozen 
 pages.
 
 Thanks



Re: Plan 9 to OpenBSD (Was Re: OpenBSD in April's issue of the CACM)

2012-05-30 Thread Peter Laufenberg
I'm not sure what you mean by social but Plan 9 development from Bell is pretty 
slow/opaque and the rest of the community scattered and headless. I don't care 
for Inferno and Rob Pike unfortunately took a job at Google (why Rob, 
why??:-). Plan 9's file paradigm is great but their 3-button mouse UI is crap.

Security-wise Plan 9 doesn't have any creds, good or bad, but hardware support 
without source review is worthless, i.e. you don't know where that code has 
been. OpenBSD's proactive about security and privacy (f.ex autoconfigprivacy 
to mask your MAC on ipv6 sockets), pf is unmatched, etc.

The only thing I miss is an X-less framebuffer in OpenBSD even it'd support 
just a console and text editor. IMHO X has to die, it's a huge pile of crap.

-- p


Hi,

Peter Laufenberg wrote on Wed, May 30, 2012 at 07:51:13AM MST:
 Actually it's this kind of slander that brought me to OpenBSD. While looking
 for an OS that didn't embrace Trusted Computing, I came across Theo's
 wikipedia entry which pounded on him so extensively that it raised a flag.
 Extra points for the stab from Linus
 no-lube-needed/I-can't-feel-a-thing-by-now. Without the slander I probably
 would have stuck with Plan 9.
I have been using OpenBSD exclusively for the last 6 months and I really do
prefer it (both technically and socially) to Linux (which I had used for the
past 15 years) and FreeBSD (which I used to administer at work). I only
started learning about Plan 9 over the past few months and I really like what
I see so far. The one thing that is keeping me from trying to make more use of
it is the lack of drivers for some of my hardware. I am curious about what led
you to go from Plan 9 to OpenBSD. Were they technical in nature or social, or
a little of both?

Thanks,

David



Re: realtek 8188ce not configured

2012-05-30 Thread Peter Laufenberg
Lenovo won't let me replace the Realtek 8188CE mini-pci card that came
with it with another. The hardware refuses to boot with an
unauthorized network card detected or somesuch error (brilliant!).

What are the chances of getting this card working with obsd? :)

bios-mods.com has high-wire patches to bypass the whitelist, thinkwiki.org a 
couple of less risky tricks but I'd just return the laptop. Some Lenovos have 
the closed-source Express Gate BIOS-level remote desktop, w/ GPU encoding so 
your system load won't even blink.

-- p



Re: Notebook

2012-05-27 Thread Peter Laufenberg
I installed VLC, and my webcam works, but my microphone does not seem to be
detected at all. dmesg does not list a usb audio device. What should I do
to investigate this? Is there a better application, other than VLC, for
using a webcam with OpenBSD?

Before you install X/KDE, etc., do a vanilla OpenBSD install and read FAQ 13
multimedia then test sound from the commandline.

From past experience VLC's docs were way behind implementation (on top of
being gigantic) so for debugging it may be the worst application unless you
work from source code.

-- p



Re: German Government claims to be able to break PGP and SSH

2012-05-26 Thread Peter Laufenberg
Peter Laufenberg open...@laufenberg.ch wrote:

 My German's rusty but the follow-up article quoting Symantec mentions
 spyware/keylogging, which has been the traditional technique used in
 in the past.

But that's for targeted surveillance.

They still cast a wide net: on ccc.de there's a detailed report of one target
wanking to phone-sex.

The original article refers
to a bulk grep of 16,400 search terms over 37 million e-mail messages.

I just read the PDF, in 2010 they dumped a raw IP stream from which they
extracted individual emails (90% spam) in which they searched for words like
bomb. High-tech stuff. The one-sentence answer about PGP has so many
qualifiers that only an idiot would read it as a blanket success claim, the
gov official was probably puzzled by the question's half-pregnant
formulation.

Golem seem to have buried their story in an embarrassed rush; whoever came up
with the title must be flipping BratwCrste right now.

-- p



Re: German Government claims to be able to break PGP and SSH

2012-05-25 Thread Peter Laufenberg
car + eimer? ay carambas?!!

Autoeimer, with unlimited strcat() known to overflow students' brains.

Yes the Bundestrojaner. I pictured a fat politician's soggy condom on the 
back of his doggy-style mistress: one for the country! Mild stuff considering 
German pr0n culture.

-- p

On Thu, May 24, 2012 at 10:13 PM, Stuart VanZee stua...@datalinesys.com 
wrote:
What do you guys think about the reliability of the news
(unfortunatelly in German only) on www.golem.de

My German's rusty but the follow-up article quoting Symantec mentions
 spyware/keylogging, which has been the traditional technique used in
 in the past.

-- p

 Quick, someone, how do you say autobucket in German!

 s



Re: German Government claims to be able to break PGP and SSH

2012-05-24 Thread Peter Laufenberg
What do you guys think about the reliability of the news (unfortunatelly
in German only) on www.golem.de

My German's rusty but the follow-up article quoting Symantec mentions 
spyware/keylogging, which has been the traditional technique used in in the 
past.

-- p



Re: Upgrading OpenBSD

2012-05-21 Thread Peter Laufenberg
Outstanding point. The thing is this: With MS
PHP is clearly distinct from the OS. I go get it
from php.org. With BSD I must rely on the
package system.

This is taking up a lot of ink; is this a genuine enquiry or a provocation?

Search for Extraneous entries for Visual C++ Standard hotfixes and ponder the 
litany of known issues.

-- p



Re: IPs in the facebook.com domain accessing OpenSBD firewall

2012-05-17 Thread Peter Laufenberg
I wonder if these machines in the facebook.com domain are infected
with some malware bots?

Facebook *is* a malware bot:)

Let the request through and log what it tries to do next, this could be quite a 
story.

-- p



Re: Thank you for an awsome product...

2012-05-16 Thread Peter Laufenberg
if you ssh from Windows try Bitvise Tunnelier instead of putty. If you ssh from 
*nix... just use ssh.

-- p

 Hello, And thank you for an awsome product...I am a novice,
(just starting out in the linux/unix/bsd world), been a windows server guy and
3d modeler/animator, graphic artist for the last 20 years.I was always afraid
of unix, until recently, I purchased two sun netra x1's, a V100,  a V20z from
ebay cheap with the hopes of learing this new world (for me anyway's) and
setting up a inexpensive render farm.  Being completely new to UNIX, I
have learned LOM on these systems, and have successfully installed openBSD on
these systems with little trouble. I of course did my homework on google, and
there is a great deal of information on what to do. Trial and error, but I
have learned so much in the last couple of weeks. I can remote into these
systems with puTTY now that the network is setup.  I would like to add,
this was the only OS that installed on my SPARC IIe systems without any
issues! I tried netBSD, freeBSD, and some other crap, and all error out before
install starts. Solaris 11 Express installed fine, (for me a major learning
curve) but I learned from google forums. Unfortunatley, solaris 11 finale
release does not run on older architectures, and was removed. But I found you
guys!  I just want to express my grattitude for all of your efforts, and
when I can afford it, I will make some donations to help, (only working part
time at the moment) I am really excited to have accesss to all of the low cost
older servers and be able to implement them into a working secure environment!
I love it!!! Thanks again for all of your hard work, I am sold, and will
continue to learn this, I am not affraid of Unix anymore!
Michael J. Summerfield
Cocoa Florida
Graphic Artist - 3D Modeler - 3D Content Provider





 http://www.turbosquid.com/Search/Artists/imagetek?referral=imagetek



Re: stresstest + safest crashlog?

2012-05-13 Thread Peter Laufenberg
On May 13 17:47:55, Petah wrote:
 I've had a bunch of crashes freezing one PC to such an extent I couldn't 
 recover any log,

You mean, after a reboot?

Ctrl-alt-del won't reboot (pc has no X), I have to keep powerbutton down 5 
secs. There's one post-reboot log entry unrelated to the panic message I got on 
screen; the sys drive is an SSD, which may account for the volatility, panic 
occured while doing a chrooted rsync on the 2nd HDD.

Keyboard input seems flaky, tried a bunch.

If you can exit to ddb, the extraction of information (dmesg, panic,
etc) is easy.

man 8 crash
man 4 ddb
man 8 savecore

thx I'll check those,

-- p


 switch tty, ssh from outside and the machine has no serial port.
 
 What's the surest way to get a crashlog? syslog to a 2nd PC, a USB key with 
 log-cow, buy a PCI serial port card?
 
 Is there a stress script that can be run on a crashtest dummy PC?
 
 thx,
 
 -- p



Re: Watchdog timeout reset in 5.1 on intel nic:s

2012-05-12 Thread Peter Laufenberg
I've had the same problem with a KVM, maybe worth a note in the install docs?

-- p

On May 11, 2012, at 19:05, Per-Olov Sjvholm p...@incedo.org wrote:

 On 11 maj 2012, at 11:16, Stuart Henderson wrote:

 On 2012/05/11 01:15, Garry Dolley wrote:
 On Thu, May 10, 2012 at 03:31:27PM +0100, Stuart Henderson wrote:
 In gmane.os.openbsd.misc, Garry Dolley wrote:
 On Tue, May 08, 2012 at 07:58:30PM -0400, Simon Perreault wrote:
 On 2012-05-08 19:08, Per-Olov Sjvholm wrote:
 It says em1: watchdog timeout -- resetting

 aol
 I saw the same on an amd64 VPS from arpnetworks.com. Network was not
 functional. Backed out. Did not investigate further.
 /aol

 Simon

 I had another customer on amd64 report this problem today.  Not sure
 what the solution is.  I'm recommending either downgrade to 5.0 or
 use i386 arch for now.

 If possible, tracking down the commit which broke it, or at least
 narrow it to a reasonably small date range, would help. I have
 an archive of snapshot kernels if you want to work through them
 rather than cvs checkouts, contact me if you'd like access to them.

 Guys,

 I now have an amd64 test VM set up, where I installed stock 5.0.

 I ran a lot of traffic over em0 without any timeouts.

 I also have been trying several -current kernels.

 As of:

 OpenBSD 5.1-current (GENERIC) #205: Wed Mar 28 21:40:45 MDT 2012

 I don't see any em0 timeouts.

 I will continue to try newer ones and report back here...

 Hmm - Mar 28 is already after 5.1 was released.

 Could somebody seeing the problem (sperreault?) please send a
 dmesg from a kernel showing the problem?



 Hi Stuart

 Here is a dmesg on 4.9 where it's working and on 5.1 when it's not working.

 http://www.incedo.eu/~sjoholmp/misc_internet_links/timer_problem_openbsd/

 Note that both are virtual OpenBSDs running on the exact same KVM host
version
 and use the same bios etc.

 Regards
 P-O
 --
 GPG keyID: 5231C0C4
 GPG fingerprint: B232 3E1A F5AB 5E10 7561 6739 766E D29D 5231 C0C4


I had this once back in the day, not sure which release but it was
mid-4-point-something.  It turned out to be the presence of my
external real-hardware (IO-GEAR) KVM switch's - internal - USB HUB
monkeying detection of the upstream real USB keyboard.  Once a
keyboard was direct connected, then everything was fine.

Perhaps your real- and/or pseudo- hardware (and firmware/bios) chain
is impairing similarly.

Good luck,