IBM xServer 336/346 - OpenBSD 4.9

2011-05-19 Thread LEVAI Daniel
Hi!


(Just for the record)
Regarding PR#6523, OpenBSD 4.9 works with pci.c 1.88 (from OPENBSD_4_9),
patched with kettenis@'s pci.c patch 1.72 [1].
I was afraid it won't apply, or there will be incompatibilities with
other parts, but so far so good.
(It's unfortuane it broke other systems :( )


Anyway, thanks!


[1]:
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/pci.c.diff?r1=1.71;r2=1.72



Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: Lemote Leeyong 8101B pr0n

2011-05-19 Thread Wolf Stettler

Hello
The Lemote Netbook is great, got mine some month ago. And the progress 
of OpenBSD development for it is impressive (as usual). The only 
disadvantage are the graphical browsers wich keep crashing. But links -g 
works for most stuff.


Greetings and thanks to the developers
Wolf

On 05/19/11 12:44, Gilbert Fernandes wrote:

Hello

Just received a Lemote Leeyong 8101B (the 10 inches display model).
I took pictures of the machine from all sides + a few with a
centimeters/inches ruler for people interested by this machine.

OpenBSD support page for the platform :
http://www.openbsd.org/loongson.html

If you do not know anything about it, it's a netbook that is powered by
a Loongson (chinese) MIPS-III chip (it has some MIPS-IV operands I
think, from a PDF I downloaded that covers its chip available operands).
The machine is fully open about it's hardware : no binary blob is used
for anything and the BIOS is PMON, a C-written BIOS (Miod says it's crap
so it probably is).

Weak point of the machine would be autonomy : battery is light and
small, is rated for 23 W/h of power (fully charged I get 25 W/h from
it). SD model uses 12 W/h and hard-disk model uses 15 W/h so it gives
you 1.5 hour of autonomy under load (might get near 2h if not loaded too
much but don't hope too much for it).

The machine is loaded with a Linux (I did not power it yet).

Here are the pictures :
https://picasaweb.google.com/gilb/LemoteLeeyong8101_B#

If you want some specific pictures, close ups of some parts, please
email me.

I am going to install OpenBSD using Miod's doc and document each part of
it with pictures so the whole process for total noobs can be used.

I think this machine is the only machine currently used by Richard
Stallman because of its open hardware approach. While Theo is loading
his shotgun with salt to take care of me for saying that, please check
the pictures and consider it. It's MIPS, it runs OpenBSD, and it works
without any binary blob (it also has two stereo speakers on front if you
like to listen to music while coding ! Very nice !)

Greeting to Miod for his work on the platform, but also Jasper Lievisse,
Adriaanse for allowing us to be able to use this very nice platform
on OpenBSD. Your beers are waiting for you, all expenses covered by me.




Re: Distributed Multihead X Project (dmx)

2011-05-19 Thread Matthieu Herrb
On Thu, May 19, 2011 at 9:25 PM, David Steiner
 wrote:
> hi,
>
> is DMX (http://dmx.sourceforge.net/) supported in xenocara?
>
> i see it's in the source directory (/usr/xenocara/xserver/hw/dmx). has
> anyone got it working? how do i compile it? (i saw an --enable-dmx
> option in a configure script..)
>

DMX doesn't work on OpenBSD. Among problems, It lacks the OS
dependant code needed to handle input devices.

So Xenocara builds explicitely use --disable-dmx.




-- 
Matthieu Herrb



Re: i386 snapshots and index.txt

2011-05-19 Thread David Walker
David Walker  wrote:
> snapshots

The important bits of that have already been asked and answered on misc@ ...

http://marc.info/?l=openbsd-misc&m=128720598526842&w=2

Best wishes.



Re: dmesg for notebooks useful?

2011-05-19 Thread Dave Anderson
** Reply to message from Sevan / Venture37  on
Fri, 29 Apr 2011 09:55:48 +0100

>Stick them up on http://www.nycbug.org/index.php?NAV=dmesgd;SQLIMIT=20 as well
>as sending them to dm...@openbsd.org

Apologies to all for the delay; I've been a bit busy recently.  As an
existing dmesg database that I can directly upload to, that looks like
a good place for them.

I've uploaded the 43 I've gotten so far, and will put more up soon
(I've still got a couple of stores to hit).  You can find them by
filtering on submitter 'Dave Anderson'.  I had some uploading problems,
so there are also 9 garbaged copies I don't know of any way to delete;
I've asked the site owners to get rid of them.

Since I'm posting this info and sending it to the developers as well as
using it myself, I'm getting info from every notebook I can get my
hands on rather than restricting myself to ones that I might want to
buy.

FWIW I've encountered several ASUS notebooks which panic during boot
(in aml_parse or parse_aml, I can't remember which is correct); since
these are store demo machines I don't have any good way to capture the
detailed information (I'm booting from a USB stick and saving the dmseg
to the stick.)  If there's some small amount of information that can be
gotten without any additional hardware, etc, and would help diagnose
these problems, I'll write it down and report it if someone tells me
exactly how to get it.  The panic info is long enough that some of it
scrolls off the screen.

Dave

-- 
Dave Anderson




Lemote Leeyong 8101B dmesg

2011-05-19 Thread Gilbert Fernandes
 Forwarded Message 
From: David Vasek 
Subject: Re: Lemote Leeyong 8101B pr0n
Date: Thu, 19 May 2011 18:34:08 +0200 (CEST)

Thanks. I think you should post the dmesg (from your own) to @misc too, 
once you'll have the OS installed.
 Forwarded Message 

Here it is :

[ using 472848 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9 (GENERIC) #189: Wed Mar  2 07:27:17 MST 2011
dera...@loongson.openbsd.org:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1059094528 (1010MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 797 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 "Realtek 8139" rev 0x10: irq 5, address 
00:23:8b:f2:b6:87
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 "Silicon Motion LynxEM+" rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 "NEC USB" rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 "NEC USB" rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio
gpio1 at glxpcib0: 32 pins
pciide0 at pci0 dev 14 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 "AMD CS5536 Audio" rev 0x01: isa irq 9, CS5536 
AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 "AMD CS5536 USB" rev 0x02: isa irq 11, version 
1.0, legacy support
ehci1 at pci0 dev 14 function 5 "AMD CS5536 USB" rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
isa0 at glxpcib0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
clock0 at mainbus0: ticker on int5 using count register
apm0 at mainbus0
umass0 at uhub1 port 1 configuration 1 interface 0 "Generic USB2.0-CRW" rev 
2.00/58.87 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0:  SCSI0 0/direct 
removable
sd0: drive offline
umass1 at uhub1 port 2 configuration 1 interface 0 "OCZ ATV" rev 2.00/11.00 
addr 3
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0:  SCSI0 0/direct removable
sd1: 30592MB, 512 bytes/sec, 62652416 sec total
urtw0 at uhub1 port 4 "Realtek RTL8187B" rev 2.00/2.00 addr 4
urtw0: RTL8187B rev E, address 00:17:c4:4e:1e:0a
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
pmon bootpath: /dev/disk/wd0
boot device: wd0
root on wd0a swap on wd0b dump on wd0b



Odd CARP behavior

2011-05-19 Thread Gary Thornock
My previous company has a pair of firewalls running OpenBSD 4.4 with
CARP.  They've been running with no problem since just after the 4.4
release, until the last couple of days.

Now, the firewall that should be in BACKUP state has somehow decided
that it needs to be MASTER for some, but not all, of the CARP interfaces,
even though the master machine is running fine.  Something like this:


if  machine 1   machine 2
carp0   MASTER  BACKUP
carp1   MASTER  BACKUP
carp2   MASTER  MASTER
carp3   MASTER  BACKUP
carp4   MASTER  MASTER


The interfaces where both machines try to be MASTER at the same time
become unreliable or unreachable.

I looked around Google but couldn't turn up any reports of similar
issues.  Admittedly I might have been searching for the wrong terms,
though.

Any ideas as to what could be causing this problem?  They're likely
to rebuild both machines in the next week or so, either with 4.6 (so
they can keep their existing pf.conf) or with 4.9 so as to be current,
but they'd like some assurance that a rebuild will actually solve the
problem.  (If it were, say, a failing NIC, updating the software
wouldn't help.)

For whatever it's worth, the machines in question are Poweredge R200s,
with the two on-board Broadcom gigabit ports and an additional Intel
gigabit card for pfsync.  They're running the i386 rather than the
amd64 version of OpenBSD.

Thanks in advance for any suggestions.



Re: Crash when using the graphviz library

2011-05-19 Thread Reto Schneider
On 05/19/2011 05:03 PM, Stuart Henderson wrote:
> glib2 is now built with threads enabled so anything directly or indirectly
> pulling this in (in this case via gtk+2) must either also be built with 
> threads,
> or must be run with LD_PRELOAD=/usr/lib/libpthread.so

Sorry for my ignorance, but what exactly is the reason that it does not load 
its dependencies on its
own? I think I should not have to care about the dependencies of gvc/glib2, 
instead those libs
should be linked to them and the system should load it.

Is there something OpenBSD specific or did I miss something?



Re: Theo's Birthday, have you done anything?

2011-05-19 Thread Tomas Vavrys
Done. Happy birthday! And big thanks to the whole team.
Dne 19.5.2011 16:55 "Aaron"  napsal(a):
> Happy birthday Done! ( also poster ordered! ) :D



Distributed Multihead X Project (dmx)

2011-05-19 Thread David Steiner
hi, 

is DMX (http://dmx.sourceforge.net/) supported in xenocara?

i see it's in the source directory (/usr/xenocara/xserver/hw/dmx). has
anyone got it working? how do i compile it? (i saw an --enable-dmx
option in a configure script..)


greetings,
David



Re: IPSEC/SSL accelerator

2011-05-19 Thread Oeschger Patrick
hi all
still thinking about the diff between 2gbit in the specs and about 400mbit in
real world on a pretty new processor
that's a *big* difference
so we can say that every accelerator board - regardless if pci-e 16x or
miniPCI - will not be able to perform at lets say 1gbit because of the need of
copying packets forth and back
can anybody confirm hat most of the speed is lost by copying the packets first
TO the accelerator board and then BACK to process it further after
decryption?
just read some manuals (parts of) regarding the new tilera and cavium octeon
architecture
...part of their secret seems to be a kind of 'copyfree' processing of packets
(accelerators modify the paket 'in place')
has anybody done some reasearch on this?
thanks
/pat

On May 18, 2011, at 21:03, Joosep wrote:

> Hi!
>
> ubsec0 at pci5 dev 0 function 0 "Broadcom 5862" rev 0x01: 3DES MD5 SHA1 AES
> PK, apic 9 int 0 (irq 10)
>
> Joosep
>
> On Wed, May 18, 2011 at 8:56 PM, Maxim Bourmistrov
> wrote:
>
>> How does it look in dmesg for this card?
>>
>> Sent from my iPhone
>>
>> On May 18, 2011, at 10:42, Joosep  wrote:
>>
>>> On Wed, May 18, 2011 at 10:06 AM, Patrick Oeschger <
>>> patrick.oesch...@bluewin.ch> wrote:
>>>
 thank you for your input
 why 'only' 400mbit?
 the specs say 2gbit for BCM5862 in a pci-e 4x slot...
 sounds like quite some overhead writing/ getting packets to/from the
>> card -
 i would have expected it higher but i do not want to question your tests
 *hmmm*

 Sent from Pat's iPhone

>>>
>>> Hi!
>>>
>>> There is of course a possibility, that the test doesn't simulate reality
>> in
>>> the best way.
>>> The specs say 2gbit, but when doing 400mbps there isn't much power left
>> on
>>> machines main cpu (10% idle).
>>> So i guess the limiting factor here is main cpu not the CA card.
>>> I have done the same tests with 1,8 GHz opteron and in that case the
>> result
>>> was around 270mbps.
>>>
>>> Joosep



Re: smtpd and no DH parameters found in

2011-05-19 Thread Kevin Chadwick
On Thu, 19 May 2011 01:06:49 +0100
Mikolaj Kucharski wrote:

> On Thu, May 19, 2011 at 12:42:57AM +0200, Gilles Chehade wrote:
> > smtpd is just telling you that you did not generate Diffie-Hellman
> > parameters [see smtpd.conf(5) / starttls(8)], and that it will use
> > its own builtin parameters. 
> > 
> > It is safe to ignore the message, but it is safer to actually take
> > the time to generate your very own parameters. We don't do it when
> > booting or starting smtpd for the first time because it can take a
> > very looong time :-)

Interestingly on the same unloaded system, sometimes it takes absolutely
ages and sometimes it takes seconds.

> 
> Okay, but how big (long) DH parameters file I should generate? Is this
> something simple as:
> 
>   openssl dhparam -outform PEM -out dh.pem 
> 
> I didn't really get that after reading smtpd.conf(5) and starttls(8).
> 
> -- 
> best regards
> q#
> 

I do 1024 and regenerate it every so often (early morning, once a week
or twice a year, depending on usage/preference)



Re: can not turn num lock on/off on keyboard

2011-05-19 Thread Sviatoslav Chagaev
I think this is intentional.
I think when X has some use for the LED -- it won't let you change it.
For example my Caps Lock LED acts as a 'group led' -- it lights up when
I switch to Russian. Also, I have an older release of Slackware at
work, I remember I was scripting new email notification to light up a
led on the keyboard, and I could only light up scroll lock led.

On Thu, 19 May 2011 10:25:18 +0200
LEVAI Daniel  wrote:

> Hi!
> 
> 
> I can not toggle the numlock led on my keyboard with:
> 
> $ xset led named "Num Lock"
> or
> $ xset led 1..32
> 
> In fact, I can only switch the scroll lock led, when trying all of them:
> 
> for i in $(jot -s' ' 32);do xset led $i; sleep 0.2; xset -led $i;done
> 
> Is this intentional, or is it some limitation in my hardware?
> Oh, and this is and usb keyboard, attached to the laptop, btw.
> 
> 
> 
> $ setxkbmap -print
> xkb_keymap {
> xkb_keycodes  { include "xfree86+aliases(qwerty)"   };
> xkb_types { include "complete"  };
> xkb_compat{ include "complete"  };
> xkb_symbols   { include "pc/pc(pc105)+pc/us"};
> xkb_geometry  { include "pc(pc105)" };
> };
> $ setxkbmap -query
> rules:  xorg
> model:  pc105
> layout: us
> $ dmesg
> OpenBSD 4.9-current (GENERIC.MP) #112: Sat May 14 09:59:17 MDT 2011
> t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
> real mem  = 2145775616 (2046MB)
> avail mem = 2100494336 (2003MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, 
> SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
> bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009
> bios0: LENOVO 2007FRG
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
> acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
> EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiec0 at acpi0
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 166MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
> ioapic0: misconfigured as apic 2, remapped to apid 1
> acpimcfg0 at acpi0 addr 0xf000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (AGP_)
> acpiprt2 at acpi0: bus 2 (EXP0)
> acpiprt3 at acpi0: bus 3 (EXP1)
> acpiprt4 at acpi0: bus 4 (EXP2)
> acpiprt5 at acpi0: bus 12 (EXP3)
> acpiprt6 at acpi0: bus 21 (PCI1)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpipwrres0 at acpi0: PUBS
> acpitz0 at acpi0: critical temperature 127 degC
> acpitz1 at acpi0: critical temperature 99 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "93P5030" serial  2444 type LION oem "SONY"
> acpibat1 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> acpidock0 at acpi0: GDCK not docked (0)
> bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
> 0xe/0x1!
> cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" 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
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 1 
> int 17
> azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices 
> AD1981HD
> audio0 at azalia0
> ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20
> pci2 at ppb1 bus 2
> em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 1 int 
> 16, address 00:16:41:aa:d2:70
> ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21
> pci3 at ppb2 bus 3
> wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 
> int 17, MoW2, address 00:18:de:65:2d:37
> ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22
> pci4 at ppb3 bus 4
> ppb4 at pci0 dev 28 funct

i386 snapshots and index.txt

2011-05-19 Thread David Walker
Hello.

I'm looking to get a snapshot (i386) post 17th May and I've been
looking for a couple of days now. I have minimal experience using
snapshots and I have a few questions.

First, I've searched the FAQ and notice these:
"The snapshots available on the FTP mirrors are generated daily ..."
"Some platforms have snapshots built on an almost daily basis, others
will be much less frequent."
"On fast platforms, several snapshots may be released in one day."
"Remember, on some platforms, it may be DAYS before the snapshot build
is completed and put out for distribution."

I've checked all architectures and there are no snapshots later than the 17th.
Does the information in the FAQ vis-a-vis snapshot regularity
"depends" on various other factors (amount of development, amount of
alcohol, whatever) and should I expect this?
Is there a "usual" time frame for an i386 snapshot?

Second, all architectures have an index.txt file which appears to be
the immediately previous (time wise) directory listing - I notice that
all architectures are rolling this over on what appears to be a daily
schedule.
So even though some architectures contain files from a week or more
ago they have an index.txt file from the 19th which contains as one of
the entries a listing for the index.txt from the previous day.
Can I use this other than seing the directory listing for the previous snapshot?
I guess wildly it's some automatic feature that I can safely forget about ...

Use your cluestick if you like.

Best wishes.



Re: [OT] Twitter client

2011-05-19 Thread Chris Smith
On Thu, May 19, 2011 at 11:25 AM, Peter Hessler  wrote:
> *cough*
>
> pkg_add -i chromium

Thanks. Nice to know. Don't run a gui on my openbsd box so didn't have
a reason to delve any deeper.



Re: [OT] Twitter client

2011-05-19 Thread Peter Hessler
On 2011 May 19 (Thu) at 11:15:34 -0400 (-0400), Chris Smith wrote:
:The TweetDeck extension for Chrome/Chromium is awesome. However, I
:don't know if Chromium runs under OpenBSD.

*cough*

pkg_add -i chromium


-- 
The cow is nothing but a machine which makes grass fit for us people to
eat.
-- John McNulty



Re: [OT] Twitter client

2011-05-19 Thread Chris Smith
On Thu, May 19, 2011 at 3:30 AM, K.AndrC) Braselmann 
wrote:
> Except of python cmd clients, is there anything more, which is a just
> little bit "fancier"?

The TweetDeck extension for Chrome/Chromium is awesome. However, I
don't know if Chromium runs under OpenBSD.



Re: Crash when using the graphviz library

2011-05-19 Thread Stuart Henderson
On 2011-05-19, Bret S. Lambert  wrote:
>> 
>> Compile it (like shown in the example Makefile on page 39):
>> $ gcc -o sample sample.c `pkg-config --libs --cflags libgvc`
>
> You need to link it with the pthreads library by passing -lpthread.

gcc-local(1) says this should be -pthread

>> The workaround I use for now is to link the program sample directly against 
>> pthread:
>> $ gcc -o sample sample.c `pkg-config --libs --cflags libgvc` -pthread
>> 
>> I have found a commit to the ports which does exactly this for the dot tool 
>> (without this patch it
>> fails like the code above):
>> http://www.openbsd.org/cgi-bin/cvsweb/ports/math/graphviz/patches/patch-cmd_dot_Makefile_in?rev=1.1;content-type=text%2Fx-cvsweb-markup
>> 
>> Now I am wondering it I did something wrong or if there is a problem with 
>> openBSD 4.8 and 4.9.

glib2 is now built with threads enabled so anything directly or indirectly
pulling this in (in this case via gtk+2) must either also be built with threads,
or must be run with LD_PRELOAD=/usr/lib/libpthread.so



Re: Theo's Birthday, have you done anything?

2011-05-19 Thread Aaron
Happy birthday Done! ( also poster ordered! ) :D



Re: Theo's Birthday, have you done anything?

2011-05-19 Thread Jochem Kossen

On 05/19/2011 12:41 PM, Mayuresh Kathe wrote:

Hey, it's Theo's birthday today, have you done anything?
Yeah, you could wish him, but, how about a small gift?
How about donating US$10 to the project today?


Done, happy birthday!



Re: Routing Issue

2011-05-19 Thread David Schulz
For what its worth: I have setup an exact same Machine at Home, same Network
Topology etc, and it works just fine.

What is different at work is that we have a switch in between that also
routing, i assume the problem lies there.

regards and a nice day,
D

On May 18, 2011, at 10:18 PM, David Schulz wrote:

> Well for once i thought the Route is listed there already:
>
> Default Gateway:
>> default10.1.3.1   UGS03 - 8
> sis0
>
> And everything to the 192. Subnet out via sis1
>> 192.168.1/24   link#2 UC 10 - 4
> sis1
>
>
>
> So i have to add something else? One Side of the Network is 10.1.0.0/21
with
> Gateway 10.1.3.1, so i add
>route add -net 10.1.0.0/21 10.1.3.1
>
> The other Side, for which the OpenBSD Box is the Gateway is 192.168.1.0/24,
so
> i suppose i add
>   route add -net 192.168.1.0/24 192.168.1.1 ?
>
> Thanks for your insights.
>
>
> On May 18, 2011, at 10:06 PM, R0me0 *** wrote:
>
>> Put a route !?
>>
>> 2011/5/18 David Schulz 
>> Hi there,
>>
>> if i disable pf, it will not work (except when trying from router itself
> via
>> ssh). Here some output from hostname.ifs and mygate, my routing table.
> Would
>> be most grateful for any tips that help solving this.
>>
>> Best regards,
>> D
>>
>> cndlne001'root(~)> cat /etc/hostname.sis0
>> inet 10.1.3.19 255.255.254.0 NONE
>> cndlne001'root(~)> cat /etc/hostname.sis1
>> inet 192.168.1.1 255.255.255.0 NONE
>> cndlne001'root(~)> cat /etc/mygate
>> 10.1.3.1
>> cndlne001'root(~)> route -n show
>> Routing tables
>>
>> Internet:
>> DestinationGatewayFlags   Refs  Use   Mtu  Prio
> Iface
>> default10.1.3.1   UGS03 - 8
> sis0
>> 10.1.2/23  link#1 UC 40 - 4
> sis0
>> 10.1.3.1   00:18:4d:33:e3:df  UHLc   10 - 4
> sis0
>> 10.1.3.7   f4:ce:46:b1:a6:26  UHLc   1   10 - 4
> sis0
>> 10.1.3.37  20:cf:30:56:15:80  UHLc   1  107 - 4
> sis0
>> 10.1.3.46  1c:af:f7:0e:17:20  UHLc   0   41 - 4
> sis0
>> 127/8  127.0.0.1  UGRS   00 33200 8
lo0
>> 127.0.0.1  127.0.0.1  UH 10 33200 4
lo0
>>
>
>> 192.168.1.200:14:97:02:2b:b2  UHLc   0   41 - 4
> sis1
>> 224/4  127.0.0.1  URS00 33200 8
lo0
>>
>> cndlne001'root(~)> sysctl net.inet.ip.forwarding
>> net.inet.ip.forwarding=1
>>
>> sis0: flags=8843 mtu 1500
>>   lladdr 00:00:24:ca:a9:f4
>>   priority: 0
>>   groups: egress
>>   media: Ethernet autoselect (100baseTX full-duplex)
>>   status: active
>>   inet 10.1.3.19 netmask 0xfe00 broadcast 10.1.3.255
>>   inet6 fe80::200:24ff:feca:a9f4%sis0 prefixlen 64 scopeid 0x1
>> cndlne001'root(~)> ifconfig sis1
>> sis1: flags=8843 mtu 1500
>>   lladdr 00:00:24:ca:a9:f5
>>   priority: 0
>>   media: Ethernet autoselect (100baseTX full-duplex)
>>   status: active
>>   inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
>>   inet6 fe80::200:24ff:feca:a9f5%sis1 prefixlen 64 scopeid 0x2
>> cndlne001'root(~)>
>>
>>
>> On May 18, 2011, at 2:29 PM, Aaron Mason wrote:
>>
>>> If you've disabled pf and it doesn't, then yes, possibly.
>>>
>>> If the network is configured like this:
>>>
>>> 192.168.1.0/24]192.168.1.1(em0)[Router]10.1.0.1(em1)[10.1.0.0/21
>>>
>>> Setting the default routes to the required interface on each side
>>> should allow packets to flow freely from end to end.  There should be
>>> no need for PF trickery unless you wish to restrict access to certain
>>> machines on either side.
>>>
>>> Your best test is a traceroute.  Perform a traceroute from one side to
>>> the other, and see what the last step is before you get a string of
>>> timeouts.
>>>
>>> All said, I see rules in your PF that allow certain ICMP types, but
>>> haven't included the echo response - that's probably why you can't
>>> ping across the router.
>>>
>>> On Wed, May 18, 2011 at 3:29 PM, David Schulz
>>>  wrote:
 Basically i am just trying to verify whether i actually do need the
> match
>>> out
 statements in pf.conf in order for both Sides on each Network Cards to
>> talk
>>> to
 each other. Say i do not, and it should all just work, does the fact
> that
>>> it
 does not work suggest that i most likely have a routing issue?

 best regards,
 D

 On May 17, 2011, at 9:29 PM, David Gwynne wrote:

> hey david,
>
> pf is run twice on packets going through a box, once before the network
 stack
> and again as it leaves it. this means you have to allow a packet in one
 side
> as well as when it goes out the other.
>
> dlg
>
> On 17/05/2011, at 10:16 PM, David Schulz wrote:
>
>> Hi all,
>>
>> i have a LAN within a LAN 

Re: question about kate

2011-05-19 Thread Michael
On Wed, May 18, 2011 at 8:28 PM, Tomas Bodzar wrote:

> On Thu, May 19, 2011 at 3:17 AM, Michael  wrote:
> > On Wed, May 18, 2011 at 3:14 PM, Michael  wrote:
> >
> >>
> >>
> >> On Wed, May 18, 2011 at 2:29 PM, roberth  wrote:
> >>
> >>> On Wed, 18 May 2011 14:05:44 -0800
> >>> Michael  wrote:
> >>>
> >>> > Installed 4.9 and fan starts blowing on startup.
> >>>
> >>> Most systems are at full speed on boot.
> >>>
> >>
> >> Sorry, didn't write that correctly. Meant that the fan starts blowing on
> >> high, and stays that way the whole time OpenBSD is booted.
> >> The kate temp never drops, so fan stays on.
> >>
> >>>
> >>> > # sysctl hw.setperf=30
> >>> > Is that all I can do?
> >>>
> >>> Uhm, just run ampd -C ?
> >>> # grep apmd /etc/rc.conf.local
> >>> apmd_flags="-C"
> >>>
> >>> > Curious why kate (in dmesg) has:
> >>> > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
> >>>
> >>> What is strange about that?
> >>>
> >> Just wondered about the "AMD64". Guess it is there for 64 bit machines.
> >> Mine is 32.
> >>
> >>
> >> Thanks for the ampd -C setting. I'll try that as soon as I reboot.
> >>
> >
> > I added apmd_flags="-C" to /etc/rc.conf.local, rebooted and it didn't
> appear
> > to change anything. After being logged in console for about 1/2 hr,
> acpitz
> > and kate temps dropped 1 degC. Fan kept blowing (I assume on high) the
> whole
> > time.
>
> OT - why did you google for hw.setperf man apm is not enough?
>

I didn't :)
That was the answer I found. I went through some of my history to see what
led to that answer, but there were so many like openbsd+high temp,
kate+openbsd, kate+high temp+openbsd, etc. I didn't find the correct link to
that answer.
I'll look some more. I even went to marc and searched openbsd-misc and
openbsd-newbies.

Not knowledgeable enough to man apm. I assumed the kate temp was wrong or
what was causing the fan to run so fast/high, so I did a man kate. Reasoning
was that kate was showing the highest temp.


> anyway check with apm if CPU really lower your frequency and with
> systat sensors what other data are available
>

Thank-you! Will check it out

> . And do you have latest BIOS?
>
> >
> > If nothing else, I guess I'll just have to wait for my belongings to be
> > shipped and I'll have my pc/OpenBSD running :)
> >
> > Thank-you!



Re: Crash when using the graphviz library

2011-05-19 Thread Bret S. Lambert
On Thu, May 19, 2011 at 02:32:39PM +0200, Reto Schneider wrote:
> Hi
> 
> I have a fresh installation of openBSD 4.9-release where the sample code of 
> the graphviz library
> fails. It also fails on openBSD 4.8 but works perfectly on 
> 4.7/Ubuntu/Debian/FreeBSD/etc.
> 
> How to get the error:
> 
> Install graphviz:
> 
> # export PKG_PATH="http://mirror.switch.ch/ftp/pub/OpenBSD/4.9/packages/i386/";
> # pkg_add -r graphviz
> 
> 
> Creating the file sample.c with this content 
> (http://www.graphviz.org/pdf/libguide.pdf, found at
> page 40):
> 
> #include 
> int main(int argc, char **argv)
> {
> GVC_t *gvc;
> graph_t *g;
> FILE *fp;
> gvc = gvContext();
> if (argc > 1)
> fp = fopen(argv[1], "r");
> else
> fp = stdin;
> g = agread(fp);
> gvLayout(gvc, g, "dot");
> gvRender(gvc, g, "plain", stdout);
> gvFreeLayout(gvc, g);
> agclose(g);
> return (gvFreeContext(gvc));
> }
> 
> 
> Compile it (like shown in the example Makefile on page 39):
> $ gcc -o sample sample.c `pkg-config --libs --cflags libgvc`

You need to link it with the pthreads library by passing -lpthread.

> 
> 
> Run it:
> $ ulimit -c unlimited
> $ echo "graph G{node1;}"|./sample
> ./sample:/usr/local/lib/libgthread-2.0.so.2600.0: undefined symbol 
> 'pthread_getschedparam'
> lazy binding failed!
> Segmentation fault (core dumped)
> 
> 
> Backtrace:
> $ gdb sample sample.core
> 
> (gdb) bt
> #0  0x01deb370 in _dl_bind () from /usr/libexec/ld.so
> #1  0x01de7b87 in _dl_bind_start () from /usr/libexec/ld.so
> #2  0x7c9a7628 in ?? ()
> #3  0x0050 in ?? ()
> #4  0xcfbe0033 in ?? ()
> #5  0x01de0033 in ?? ()
> #6  0x in ?? ()
> 
> The workaround I use for now is to link the program sample directly against 
> pthread:
> $ gcc -o sample sample.c `pkg-config --libs --cflags libgvc` -pthread
> 
> I have found a commit to the ports which does exactly this for the dot tool 
> (without this patch it
> fails like the code above):
> http://www.openbsd.org/cgi-bin/cvsweb/ports/math/graphviz/patches/patch-cmd_dot_Makefile_in?rev=1.1;content-type=text%2Fx-cvsweb-markup
> 
> Now I am wondering it I did something wrong or if there is a problem with 
> openBSD 4.8 and 4.9.
> 
> Regards,
> Reto



Crash when using the graphviz library

2011-05-19 Thread Reto Schneider
Hi

I have a fresh installation of openBSD 4.9-release where the sample code of the 
graphviz library
fails. It also fails on openBSD 4.8 but works perfectly on 
4.7/Ubuntu/Debian/FreeBSD/etc.

How to get the error:

Install graphviz:

# export PKG_PATH="http://mirror.switch.ch/ftp/pub/OpenBSD/4.9/packages/i386/";
# pkg_add -r graphviz


Creating the file sample.c with this content 
(http://www.graphviz.org/pdf/libguide.pdf, found at
page 40):

#include 
int main(int argc, char **argv)
{
GVC_t *gvc;
graph_t *g;
FILE *fp;
gvc = gvContext();
if (argc > 1)
fp = fopen(argv[1], "r");
else
fp = stdin;
g = agread(fp);
gvLayout(gvc, g, "dot");
gvRender(gvc, g, "plain", stdout);
gvFreeLayout(gvc, g);
agclose(g);
return (gvFreeContext(gvc));
}


Compile it (like shown in the example Makefile on page 39):
$ gcc -o sample sample.c `pkg-config --libs --cflags libgvc`


Run it:
$ ulimit -c unlimited
$ echo "graph G{node1;}"|./sample
./sample:/usr/local/lib/libgthread-2.0.so.2600.0: undefined symbol 
'pthread_getschedparam'
lazy binding failed!
Segmentation fault (core dumped)


Backtrace:
$ gdb sample sample.core

(gdb) bt
#0  0x01deb370 in _dl_bind () from /usr/libexec/ld.so
#1  0x01de7b87 in _dl_bind_start () from /usr/libexec/ld.so
#2  0x7c9a7628 in ?? ()
#3  0x0050 in ?? ()
#4  0xcfbe0033 in ?? ()
#5  0x01de0033 in ?? ()
#6  0x in ?? ()

The workaround I use for now is to link the program sample directly against 
pthread:
$ gcc -o sample sample.c `pkg-config --libs --cflags libgvc` -pthread

I have found a commit to the ports which does exactly this for the dot tool 
(without this patch it
fails like the code above):
http://www.openbsd.org/cgi-bin/cvsweb/ports/math/graphviz/patches/patch-cmd_dot_Makefile_in?rev=1.1;content-type=text%2Fx-cvsweb-markup

Now I am wondering it I did something wrong or if there is a problem with 
openBSD 4.8 and 4.9.

Regards,
Reto



Re: Minimum bandwidth per IP

2011-05-19 Thread Leonardo Lombardo

Hi,

I think I was very unclear defining my requirements... I now try to explain it 
better ;-)

Here is a snipper of my pf.conf (this machine is a bridge firewall):

[...]
table  { 10.103.12.0/24, 10.113.14.0/24, 10.113.15.0/24, 10.113.16.0/24, 10.113.17.0/24, 10.113.18.0/24, 10.113.19.0/24, 10.113.20.0/24, 
10.113.21.0/24 }

[...]
altq on em0  bandwidth 60Mb hfsc queue { up_pick, up_cli, up_buo, up_buo2, 
up_1, up_2, up_T, up_sl, up_pl }
queue up_pick  bandwidth  5% priority 7 qlimit  50 hfsc ( rio, realtime  3% 
)
queue up_buo   bandwidth 30% priority 6 qlimit  30 hfsc ( rio, realtime 30% 
)
queue up_plbandwidth  3% priority 5 qlimit  30 hfsc ( rio, realtime  
3%, upperlimit 80% )
queue up_T bandwidth 15% priority 4 qlimit  30 hfsc ( rio, realtime 
12%, upperlimit 80% )
queue up_1 bandwidth 15% priority 4 qlimit  30 hfsc ( rio, realtime 
12%, upperlimit 80% )
queue up_2 bandwidth 15% priority 4 qlimit  30 hfsc ( rio, realtime 
12%, upperlimit 80% )
queue up_slbandwidth  2% priority 2 qlimit  15 hfsc ( red, realtime  
2%, upperlimit 40%, default )
[...]
pass quick on em0 fromqueue up_T  label "pt up"
pass quick on em0 fromqueue up_1  label "p1 up"
pass quick on em0 from  queue up_2  label "p2 up"
[...]


With this setup I know that all IPs of  share a minimum bandwidth of 12% and at any given time all that IPs (cumulatively) cannot use more than 
80% (of 60Mbit/s).


Suppose one IP of  starts a p2p software that consumes all the 
80%. All other IPs of that table shares that 80% so they experience bad connectivity.

What I need is to able to write something like this:

queue up_2 bandwidth 15% priority 4 qlimit  30 hfsc ( rio, realtime 12%, 
upperlimit 80%, ip-bandwidth(upperlimit (100%, 60, 20%) ) )

where ip-bandwidth(upperlimit (100%, 60, 20%) ) tells PF that every single source IP have an upperlimit of 100% for the first minute and of 20% from the 61th 
second. 100 and 20 % refers to the "shared" upperlimit already specified in that queue. (more precisely: every ip connection matched by rules that use that queue)


I think that now (with the actual implementation of PF) I'd have to define a 
separate queue for each IP to achive such an upperlimit.

Hope that this makes sense to you and gives you a clearer idea of what I need.

p.s.: my subject have a typo. Is "maximum", not "minimum" !

Thanks again,
Leonardo

On 19/05/2011 15:03, Gilbert Fernandes wrote:

I would suggest CBQ (class based queuing) with RED (random early dropping)
dhcpd server giving "static ips" according to MAC, and then enforcing bandwidth
using ALTQ. Defining a CBQ with bandwidth, some bandwidht reserved for some
IP and not forgetting to create a default class to have all others without 
reserved
bandwith fall inside of it, with a specific/maximal bandwidth allowed.

CBQ is easy to use. with a single line you can define a CBQ on an interface,
and declare how much bandwith the whole link has. then, you create classes
(according to IP or any other scrub that is adapted to your case). not setting
borrow is advised, to make sure reserved bandwidth is immediatly available.

last time i extensively used ALTQ was in 2000/2001 and at that time, altq and
pf were in two separate files i think, i'm not sure. fading memory from that
era.

send you in private a more detailed explanation.




Re: sparc64 v120 needed in the Netherlands

2011-05-19 Thread Stuart Henderson
On 2011-05-19, Nico Kadel-Garcia  wrote:
>> For development on OpenBSD, I need a sun v120 machine in Eindhoven,
>> the Netherlands.
>
> I assume this is for legacy compatibility work?

not just that. sparc64 hardware is particularly good at making
certain types of bug easily visible.



Re: Minimum bandwidth per IP

2011-05-19 Thread Stuart Henderson
On 2011-05-19, Leonardo Lombardo  wrote:
> Hi misc,
>
> is there a way, with PF on a router/fw machine, to assign a maximum bandwith 
> on a per IP basis ?
>
> What I need to do is something like: given a table of IPs make sure that none 
> of that IPs consumes more than n bandwidth. Something like the upperlimit of 
> hfsc 
> but on a per IP basis, without having to mantain an explicit queue for each 
> IP. And then having this maximum applied to addresses dinamically added to 
> the table...
>
> Thanks in advance for any suggestion.
>
> Leonardo
>
>

You'll need a separate queue per IP.



Re: Theo's Birthday, have you done anything?

2011-05-19 Thread David Schulz
Ok done, good idea. Happy Birthday!

What did you do btw? :-)

For example look into my Routing Issue Thread further down, where i am
obviously making a stupid mistake with routing and cannot figure it out at the
moment :-)

Have a nice day,
D

On May 19, 2011, at 6:41 PM, Mayuresh Kathe wrote:

> Hey, it's Theo's birthday today, have you done anything?
> Yeah, you could wish him, but, how about a small gift?
> How about donating US$10 to the project today?



Re: Minimum bandwidth per IP

2011-05-19 Thread Gilbert Fernandes
I would suggest CBQ (class based queuing) with RED (random early dropping)
dhcpd server giving "static ips" according to MAC, and then enforcing bandwidth
using ALTQ. Defining a CBQ with bandwidth, some bandwidht reserved for some
IP and not forgetting to create a default class to have all others without 
reserved
bandwith fall inside of it, with a specific/maximal bandwidth allowed.

CBQ is easy to use. with a single line you can define a CBQ on an interface,
and declare how much bandwith the whole link has. then, you create classes
(according to IP or any other scrub that is adapted to your case). not setting
borrow is advised, to make sure reserved bandwidth is immediatly available.

last time i extensively used ALTQ was in 2000/2001 and at that time, altq and
pf were in two separate files i think, i'm not sure. fading memory from that
era.

send you in private a more detailed explanation.

-- 
Gilbert Fernandes



Re: sparc64 v120 needed in the Netherlands

2011-05-19 Thread Nico Kadel-Garcia
On Wed, May 18, 2011 at 6:48 PM, Ariane van der Steldt  wrote:
> Hi,
>
> For development on OpenBSD, I need a sun v120 machine in Eindhoven,
> the Netherlands.
> It turns out, I don't have a 64-bit big-endian machine (and suns are
> just awesome).
>
> Please contact me if you have one.
> Thanks,

I assume this is for legacy compatibility work? While Sun made good
hardware, My friends in Boston universities, such as MIT and Harvard,
with Sun hardware have been extremely unhappy with Oracle's
support. The Oracle presented upgrade paths for such hardware has been
basically "replace the hardware and install a more supported OS" such
as the Oracle rebundled RHEL called "Unbreakable Linux".

OpenBSD might have some very useful openings for legacy support there,
but I don't see Oracle being aggessive with releasing new Sun-style
architecture there, especially since the advent of the x86 based Sun
machines.



Re: Lemote Leeyong 8101B pr0n

2011-05-19 Thread Andrea Lepri
2011/5/19 Gilbert Fernandes 

> Hello
>
>
> I am going to install OpenBSD using Miod's doc and document each part of
> it with pictures so the whole process for total noobs can be used.
>

Thanks for the effort, I will look into that. I also have a Yeeloong, and
it's a nice little machine. I recommend it for those who like a portable
device and can overlook the battery problems.
It's what drawed me to OpenBSD.


Greeting to Miod for his work on the platform, but also Jasper Lievisse,
> Adriaanse for allowing us to be able to use this very nice platform
> on OpenBSD. Your beers are waiting for you, all expenses covered by me.
>
> --
> Gilbert
>
>
I second the greetings,

cheers



Minimum bandwidth per IP

2011-05-19 Thread Leonardo Lombardo

Hi misc,

is there a way, with PF on a router/fw machine, to assign a maximum bandwith on 
a per IP basis ?

What I need to do is something like: given a table of IPs make sure that none of that IPs consumes more than n bandwidth. Something like the upperlimit of hfsc 
but on a per IP basis, without having to mantain an explicit queue for each IP. And then having this maximum applied to addresses dinamically added to the table...


Thanks in advance for any suggestion.

Leonardo



Lemote Leeyong 8101B pr0n

2011-05-19 Thread Gilbert Fernandes
Hello

Just received a Lemote Leeyong 8101B (the 10 inches display model).
I took pictures of the machine from all sides + a few with a
centimeters/inches ruler for people interested by this machine.

OpenBSD support page for the platform :
http://www.openbsd.org/loongson.html

If you do not know anything about it, it's a netbook that is powered by
a Loongson (chinese) MIPS-III chip (it has some MIPS-IV operands I
think, from a PDF I downloaded that covers its chip available operands).
The machine is fully open about it's hardware : no binary blob is used
for anything and the BIOS is PMON, a C-written BIOS (Miod says it's crap
so it probably is).

Weak point of the machine would be autonomy : battery is light and
small, is rated for 23 W/h of power (fully charged I get 25 W/h from
it). SD model uses 12 W/h and hard-disk model uses 15 W/h so it gives
you 1.5 hour of autonomy under load (might get near 2h if not loaded too
much but don't hope too much for it).

The machine is loaded with a Linux (I did not power it yet).

Here are the pictures :
https://picasaweb.google.com/gilb/LemoteLeeyong8101_B#

If you want some specific pictures, close ups of some parts, please
email me.

I am going to install OpenBSD using Miod's doc and document each part of
it with pictures so the whole process for total noobs can be used.

I think this machine is the only machine currently used by Richard
Stallman because of its open hardware approach. While Theo is loading
his shotgun with salt to take care of me for saying that, please check
the pictures and consider it. It's MIPS, it runs OpenBSD, and it works
without any binary blob (it also has two stereo speakers on front if you
like to listen to music while coding ! Very nice !)

Greeting to Miod for his work on the platform, but also Jasper Lievisse,
Adriaanse for allowing us to be able to use this very nice platform
on OpenBSD. Your beers are waiting for you, all expenses covered by me.

-- 
Gilbert



Theo's Birthday, have you done anything?

2011-05-19 Thread Mayuresh Kathe
Hey, it's Theo's birthday today, have you done anything?
Yeah, you could wish him, but, how about a small gift?
How about donating US$10 to the project today?



pkg_add and pkg_delete parse error after upgrade to 4.9

2011-05-19 Thread Oliver Rompcik
Hi guys,

i got a problem with pkg_add and pkg_delete after release upgrade from 4.8
to 4.9. This is the first problem afer a release upgrade since years (the
machine started with 3.8 in 2005).

pkg_info:
bash-4.1.7p0GNU Bourne Again Shell
bzip2-1.0.5 block-sorting file compressor, unencumbered
curl-7.20.0 get files from FTP, Gopher, HTTP or HTTPS servers
gettext-0.18.1  GNU gettext
gnupg-1.4.10p0  GNU privacy guard - a free PGP replacement
libiconv-1.13p1 character set conversion library
libidn-1.11 internationalized string handling
p5-Digest-HMAC-1.02 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.12 module to calculate SHA1 digests
p5-Net-DNS-0.65 module to interface the DNS resolver
p5-Net-IP-1.25p0perl module for IPv4/IPv6 address parsing
pcre-8.02p1 perl-compatible regular expression library
postfix-2.7.1   fast, secure sendmail replacement
unzip-6.0   extract, list & test files in a ZIP archive
wget-1.12p0 retrieve files from the web via HTTP, HTTPS and FTP

pkg_add -ui:
Fatal error: can't parse  object version 5.47 does not match bootstrap
parameter %_ at /usr/libdata/perl5/i386-openbsd/5.12.2/DynaLoader.pm line
223, <$fh> line 6.
Compilation failed in require at /usr/libdata/perl5/OpenBSD/md5.pm line
114, <$fh> line 6.
BEGIN failed--compilation aborted at /usr/libdata/perl5/OpenBSD/md5.pm
line 114, <$fh> line 6.
Compilation failed in require at
/usr/libdata/perl5/OpenBSD/PackingElement.pm line 706, <$fh> line 6, in
SCALAR(0x85430780),  at /usr/libdata/perl5/OpenBSD/PackingList.pm line
355, <$fh> line 6.

Same with pkg_delete.

Help appreciated.

Yours,
O. Rompcik



Drive a New Cars from R599 Per Month

2011-05-19 Thread noreply
Blue Lakes

Can't see the pictures? Click here to view this email online.

CHERY QQ3 TE
SAVE UP TO R 1,073.00 PER MONTH

Chery QQ3 TE

>From R599.00 per month.

  * No deposit, no residual.

  * 3 Year / 100 000 km Factory Warranty.

  * Radio CD Player

  * Aircon

  * Power Steering

  * Immobilizer

  * No service plan

Extra's not factory fitted will be charged

Are you Interested?
YES  /  NO

TATA INDICA 1.4 LE LTD
SAVE UP TO R 1,267.58 PER MONTH

Tata Indica 1.4 LE

FROM R 799.00 PER MONTH

  * No deposit, no residual.

  * 2 Year / 45 000 km Service Plan.

  * 3 Year / 100 000 km Factory Warranty.

  * Aircon

  * Mags

  * Radio CD

  * Power steering

Extra's not factory fitted will be charged.

Are you Interested?
YES  /  NO

TATA INDICA VISTA INI
SAVE UP TO R 1,341.00 PER MONTH

TATA INDICA VISTA INI 

Now from R999.00 per month.

  * Only 20 Available.

  * No deposit, no residual.

  * 3 Year / 100 000 km Factory Warranty.

  * 4 Year / 100 000 km Service Plan.

  * Air-conditioning

  * Power Steering

  * Key Central Locking

  * Body Colour Coded Bumpers

  * Front loader CD

Extra's not factory fitted will be charged

Are you Interested?
YES  /  NO

RENAULT 1.6 UNITED
SAVE UP TO R 1,481.00 PER MONTH

RENAULT 1.6 UNITED

FROM R 1,199.00 PER MONTH
Only 34 available

  * NO DEPOSIT, NO RESIDUAL

  *  Power Steering

  *  Mags

  *  Central Locking

  *  Airbags

  *  Radio

  *  ABS

  *  3 Years / 45000 Km service plan

  *  5 Years / 150 000 Km Factory Warranty

Extra's not factory fitted will be charged.

Are you Interested?
YES  /  NO

SUZUKI ALTO 1.0 GL
SAVE UP TO R 969.05 PER MONTH

SUZUKI ALTO

>From R1 299.00 per month.

  * No deposit, no residual.

  * 3 Year / 45000 km Service Plan.

  * 3 Year / 100 000 km Factory Warranty.

  * Aircon

  * Airbags

  * Power Steering

  * Radio CD

Extra's not factory fitted will be charged

Are you Interested?
YES  /  NO

NISSAN NP200
SAVE UP TO R 918.18 PER MONTH

NISSAN NP200

FROM R 1,478.00 PER MONTH
Only 21 available

  * No deposit, no residual.

  * 6 Year / 150 000 km Factory Warranty.

  * Biggest payload in segment (800 kg).

  * Crossover styling

  * Class leading styling

  * Power steering

  * Canopy

  * Rubberizing

  * Front loader CD

  * No service plan

Extra's not factory fitted will be charged.

Are you Interested?
YES  /  NO

DODGE CALIBER SXT MANUAL 2.0l
SAVE UP TO R 1,237.00 PER MONTH

DODGE CALIBER

>From R 3,333.00 per month.

  * No deposit, no residual.

  * 3 Year / 100 000 km Factory Warranty.

  * 3 Year / 100 000 km Maintenance Plan.

  * Aircon

  * Airbags

  * ABS and Traction Control.

  * Leather Seats - Heated.

  * Electric Windows

  * Cruise Control

  * Mags

Extra's not factory fitted will be charged

Are you Interested?
YES  /  NO

To stop receiving emails, please UNSUBSCRIBE here or
reply to this email with the word UNSUBSCRIBE in the subject line.



Re: [OT] Twitter client

2011-05-19 Thread David Coppa
On Thu, May 19, 2011 at 10:20 AM, Antoine Jacoutot
 wrote:
> On Thu, 19 May 2011, K.Andri Braselmann wrote:
>
>> 2011/5/19 Antoine Jacoutot :
>>
>> > Twitux maybe (ports/net/twitux)?
>> > See http://live.gnome.org/DanielMorales/Twitux
>>
>> seems that twitux from 2009 can't do OAuth, just BasicAuth.
>>
>> http://dev.twitter.com/pages/oauth_faq says: BasicAuth until August, 16th
>> 2010
>
> Ok oh well that was just an easy guess ;) I don't know the first thing
> about twitter.

I should try to do a port of Gwibber...

Ciao,
David



can not turn num lock on/off on keyboard

2011-05-19 Thread LEVAI Daniel
Hi!


I can not toggle the numlock led on my keyboard with:

$ xset led named "Num Lock"
or
$ xset led 1..32

In fact, I can only switch the scroll lock led, when trying all of them:

for i in $(jot -s' ' 32);do xset led $i; sleep 0.2; xset -led $i;done

Is this intentional, or is it some limitation in my hardware?
Oh, and this is and usb keyboard, attached to the laptop, btw.



$ setxkbmap -print
xkb_keymap {
xkb_keycodes  { include "xfree86+aliases(qwerty)"   };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc/pc(pc105)+pc/us"};
xkb_geometry  { include "pc(pc105)" };
};
$ setxkbmap -query
rules:  xorg
model:  pc105
layout: us
$ dmesg
OpenBSD 4.9-current (GENERIC.MP) #112: Sat May 14 09:59:17 MDT 2011
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem  = 2145775616 (2046MB)
avail mem = 2100494336 (2003MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS 
rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "93P5030" serial  2444 type LION oem "SONY"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
0xe/0x1!
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" 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
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 1 int 
17
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices 
AD1981HD
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 1 int 
16, address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 int 
17, MoW2, address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 

Re: [OT] Twitter client

2011-05-19 Thread Antoine Jacoutot
On Thu, 19 May 2011, K.Andri Braselmann wrote:

> 2011/5/19 Antoine Jacoutot :
> 
> > Twitux maybe (ports/net/twitux)?
> > See http://live.gnome.org/DanielMorales/Twitux
> 
> seems that twitux from 2009 can't do OAuth, just BasicAuth.
> 
> http://dev.twitter.com/pages/oauth_faq says: BasicAuth until August, 16th
> 2010

Ok oh well that was just an easy guess ;) I don't know the first thing 
about twitter.

-- 
Antoine



Re: [OT] Twitter client

2011-05-19 Thread K . André Braselmann
2011/5/19 Antoine Jacoutot :

> Twitux maybe (ports/net/twitux)?
> See http://live.gnome.org/DanielMorales/Twitux

seems that twitux from 2009 can't do OAuth, just BasicAuth.

http://dev.twitter.com/pages/oauth_faq says: BasicAuth until August, 16th
2010

Andri



Re: [OT] Twitter client

2011-05-19 Thread Antoine Jacoutot
On Thu, 19 May 2011, K.Andri Braselmann wrote:

> Hi there,
> 
> maybe i missed something, BUT my son (9yrs) needs a twitter client for
> his shiny new 4.9 box (no flash, very important in that age, and
> otherwise also) under gnome.
> 
> Except of python cmd clients, is there anything more, which is a just
> little bit "fancier"?

Twitux maybe (ports/net/twitux)?
See http://live.gnome.org/DanielMorales/Twitux

-- 
Antoine



[OT] Twitter client

2011-05-19 Thread K . André Braselmann
Hi there,

maybe i missed something, BUT my son (9yrs) needs a twitter client for
his shiny new 4.9 box (no flash, very important in that age, and
otherwise also) under gnome.

Except of python cmd clients, is there anything more, which is a just
little bit "fancier"?

ThX

Andri