Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 1:23 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 Hello list, first post here \o/

 The question is about drivers for Intel HD Graphics 3000 rev 0x09
 (not a hybrid with some nVIDIA nonsense).

 When I run X, I get the following result (from Xorg.0.log):

 ```
 [ 42880.697] (II) LoadModule: intel
 [ 42880.698] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
 [ 42880.702] (II) Module intel: vendor=X.Org Foundation
 [ 42880.702]compiled for 1.14.5, module version = 2.99.910
 [ 42880.702]Module class: X.Org Video Driver
 [ 42880.702]ABI class: X.Org Video Driver, version 14.1
 [ 42880.702] (II) LoadModule: vesa
 [ 42880.704] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
 [ 42880.712] (II) Module vesa: vendor=X.Org Foundation
 [ 42880.712]compiled for 1.14.5, module version = 2.3.3
 [ 42880.712]Module class: X.Org Video Driver
 [ 42880.712]ABI class: X.Org Video Driver, version 14.1
 [ 42880.712] (II) intel: Driver for Intel(R) Integrated Graphics
 Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM,
 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
 Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
 GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
 [ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
 [ 42880.713] (II) VESA: driver for VESA chipsets: vesa
 [ 42880.714] (WW) Falling back to old probe method for vesa
 [ 42880.716] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000
 ```

 As we can see, it correctly selected candidate i915 then reported that
 it supports chips from 2000 to 5000 and still it falls back to vesa.

 Is that a configuration issue? Is that a known issue?
 Any help is appreciated.


We are missing your dmesg output



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 1:43 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 I'm so sorry!
 http://f.nn.lv/n5/7c/ii/dmesg.full


Thx

First of all I will be focusing on why you can't see more then 1 core out
of your CPU. 5 BIOS updates are missing on your computer. Maybe OpenBSD
will not be ok about some of them or will be ok about all of them, but you
need to try.




 On Wed, May 7, 2014 at 2:36 PM, Tomas Bodzar tomas.bod...@gmail.comwrote:




 On Wed, May 7, 2014 at 1:23 PM, Manuel Pages 
 amarr.industr...@gmail.comwrote:

 Hello list, first post here \o/

 The question is about drivers for Intel HD Graphics 3000 rev 0x09
 (not a hybrid with some nVIDIA nonsense).

 When I run X, I get the following result (from Xorg.0.log):

 ```
 [ 42880.697] (II) LoadModule: intel
 [ 42880.698] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
 [ 42880.702] (II) Module intel: vendor=X.Org Foundation
 [ 42880.702]compiled for 1.14.5, module version = 2.99.910
 [ 42880.702]Module class: X.Org Video Driver
 [ 42880.702]ABI class: X.Org Video Driver, version 14.1
 [ 42880.702] (II) LoadModule: vesa
 [ 42880.704] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
 [ 42880.712] (II) Module vesa: vendor=X.Org Foundation
 [ 42880.712]compiled for 1.14.5, module version = 2.3.3
 [ 42880.712]Module class: X.Org Video Driver
 [ 42880.712]ABI class: X.Org Video Driver, version 14.1
 [ 42880.712] (II) intel: Driver for Intel(R) Integrated Graphics
 Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM,
 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
 Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
 GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
 [ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
 [ 42880.713] (II) VESA: driver for VESA chipsets: vesa
 [ 42880.714] (WW) Falling back to old probe method for vesa
 [ 42880.716] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000
 ```

 As we can see, it correctly selected candidate i915 then reported that
 it supports chips from 2000 to 5000 and still it falls back to vesa.

 Is that a configuration issue? Is that a known issue?
 Any help is appreciated.


 We are missing your dmesg output




 --
 Fly safe,
 Sloz



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 2:00 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 Wow, I didn't catch it. It's kinda shocking.
 Is there any data bank regarding Thinkpads, it's BIOS and OpenBSD?


Yes, in my head and on Internet :-)

1) Checked your dmesg
2) Saw issue with cpu
3) Checked BIOS in your dmesg
4) Went to
http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?DocID=HT073274
5) Open readme for latest BIOS as Lenovo is providing details there even
for older BIOSes (and probably not all fixes mentioned)
6) Voila :-)

As VGA is integrated with CPU and you have issues with your CPUs based on
dmesg and some of those BIOSes are fixing stuff with CPU you really need to
try fix your BIOS first. And for example BIOS 2.51 is fixing this

- (Fix) Fixed an issue that Intel AES-NI is always disabled.

which is something you really want on OpenBSD.



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 4:44 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 Rebuilding kernel helped.
 Now I run -current MP kernel and everything works like a charm.
 Much love and gratefulness to you, Tomash.


Happy to help. Welcome in OpenBSD where 99% of time everything works and
fault is on the other end :-)



Lenovo Y510P laptop support

2014-05-06 Thread Tomas Bodzar
Hi all,

yesterday just quick test from USB flash disk with OpenBSD installed about
how well is OpenBSD working with Lenovo Y510P 2x NV GT755M SLI, core i7,
16GB RAM, hybrid HDD.

Later I will send dmesg, but except of:

VGAs (one can be removed to get access to Intel HD4600)
wired network (Qualcomm Atheros AR8171/8175 PCI-E Gigabit Ethernet
Controller
- PCI\VEN_1969DEV_10A1SUBSYS_380017AAREV_10)

seems everything to be fine including acpi, web camera, hybrid disk of 1TB
SATA and 8GB SSD, keyboard, CPUs, Wifi card and such.

So if someone is thinking about such laptop.



Re: who develops NIC drivers?

2014-05-06 Thread Tomas Bodzar
On Tue, May 6, 2014 at 1:52 PM, Isak Lyberth i...@lyberth.dk wrote:

 I am thinking Intel ET Quadport gigabit server cards


Well more details like dmesg, pcidump or output from other systems about
details of those cards and what you want to do in fact will be fine for
sure. Because such cards seems to be supported long time ago
http://marc.info/?l=openbsd-miscm=118107288517109w=2 , but they may not
be relevant to your case which we still doesn't know ;-)



 2014-05-06 13:09 GMT+02:00 Isak Lyberth i...@lyberth.dk:

  i have some nics i want to discus about
 
  --
  Hilsen Isak
 
  Åben op for det store amerikanske Netflix udvalg, lovligt og let: brug
 *www.unblock-us.com
  http://www.unblock-us.com/30307.html*
 



 --
 Hilsen Isak

 Åben op for det store amerikanske Netflix udvalg, lovligt og let: brug
 *www.unblock-us.com
 http://www.unblock-us.com/30307.html*



Re: Cubieboard question

2014-05-01 Thread Tomas Bodzar
On Thu, May 1, 2014 at 5:39 AM, Martin Braun yellowgoldm...@gmail.comwrote:

 Hi

 I am a bit confused about wether Cubiebord A20 or Cubieboard 3 are
 supported.

 On the http://www.openbsd.org/armv7.html it mentiones Cubieboard and
 Cubieboard 2, but it also says A20.

 Would either work on OpenBSD 5.5?


As intensive work in progress your best bet is to try with snapshots.
OpenBSD 5.5 is couple of months old. And A20 is Cubieboard 2, A1x is
Cubieboard those are supported and then there's new Cubieboard 3 which is
not mentioned, but always you can try to boot snapshot.



 Kind regards.



Re: Problem booting OpenBSD-current AMD64

2014-04-28 Thread Tomas Bodzar
On Tue, Apr 29, 2014 at 12:49 AM, Martijn Rijkeboer mart...@bunix.orgwrote:

 I've installed OpenBSD-current AMD64 on my new computer without problems,
 but as soon as I reboot the system, it freezes in the post. The only way to
 go past the post is wiping the first few megabytes of the harddisk using
 another computer and than start again. After installing I can't even
 enter the bios setup.


Can you collect dmesg from installer and later on output or screenshot
during boot what it tries to do?



 The system contains the following components:
 - Motherboard: Gigabyte GA-B85M-DS3H
 - CPU: Intel Core i3 4130T
 - Memory: Kingston ValueRAM 8 GB DDR3-1600 Kit

 I've configured the bios the following way:
 - Windows 8 Features: Other OS
 - Boot Mode Selection: Legacy Only
 - VGA Support: Auto (Enables legacy option)

 The system is working since I can install and run Ubuntu 14.04 AMD64
 without problems.

 At least lspci -v output will be fine from some Linux



 Any suggestions on how to fix this?

 Kind regards,


 Martijn Rijkeboer



Re: heartbleed: is 5.1-stable vulnerable as it reports

2014-04-27 Thread Tomas Bodzar
On Sat, Apr 26, 2014 at 6:25 PM, Yassen Damyanov yassen_...@yahoo.comwrote:

 Hello list,

 I worry about my 5.1 servers being at risk due to the heartbleed bug, as
 they report openssl 1.0.1f which is known to be vulnerable:


Funny to see people being scared about security issue of particular
component of system when whole system is long time unsupported and
unpatched



 mgate1:~ # uname -a
 OpenBSD mgate1.itlabs.bg 5.1 GENERIC#2 amd64


 mgate1:~ # openssl version -a
 OpenSSL 1.0.0f 4 Jan 2012
 built on: date not available
 platform: information not available
 options:  bn(64,64) rc4(8x,int) des(idx,cisc,16,int) blowfish(idx)
 compiler: information not available
 OPENSSLDIR: /etc/ssl


 (These 5.1s are installed using openbsd-stable.org builds.)


 I've seen claims that OBSD 5.2 and below and not affected, which seems to
 contradict the fact that mine has that particular openssl version.


 Can someone help me sort this out?

 Thanks in advance!
 Yassen



Re: UEFI Support

2014-04-27 Thread Tomas Bodzar
On Mon, Apr 28, 2014 at 5:47 AM, Tekk t...@parlementum.net wrote:

 Is OpenBSD capable of booting from pure UEFI yet? This basically
 translates to Is there a UEFI capable bootloader since I don't have
 secure boot or anything turned on. I'm rather happy not having to deal with
 the bios at the moment so having to turn legacy boot back on would be
 really annoying.


No. Search misc@ archives for info how bad idea is that (or elswhere on the
net).

But there's a hope
http://www.google-melange.com/gsoc/project/details/google/gsoc2014/mmu/5639274879778816



Re: Linux Foundation raising money for Core Infrastructure

2014-04-24 Thread Tomas Bodzar
On Thu, Apr 24, 2014 at 11:20 PM, frantisek holop min...@obiit.org wrote:

 hmm, on Thu, Apr 24, 2014 at 10:36:25AM -0700, Tom Bodr said that
 
 https://igurublog.wordpress.com/2014/04/08/julian-assange-debian-is-owned-by-the-nsa/

 (sorry for the OT, but:)
 it is interesting to see other bsd users
 looking at linux from the outside coming
 to similiar realizations, namely:

 the linux kernel is headed into dark dark lands.
 and it will be a veritable black day in calendar(1)
 when systemd becomes the default on debian, one
 of the few somewhat usable distributions.



Those who don't learn from the past are doomed to repeat it
http://www.openbsd.org/lyrics.html#44

Simply BSD was already there (BSD vs commercial Unix [and companies]) and
it won. Linux on the other hand allowed them to enter its field and now
they are slowly paying price for that.

http://news.softpedia.com/news/Linus-Torvalds-Block-All-Code-from-Systemd-Developer-for-the-Linux-Kernel-435714.shtml
http://www.muktware.com/2013/02/linus-torvalds-to-secure-boot-supporters-this-is-not-a-dick-sucking-contest/4035

and he was laughing at Theo about his opinions and wording...




 the whole project has been hijacked by corporations.
 i have no choice and use linux at work and so i have
 an interest in it staying a sane unix clone. it is
 starting to look like anything but.  knock knock,
 anybody at red hat?  it would be interesting to see
 google hiring torvalds and some top talent and hijack
 the development, at least for android's sake.  on the
 other hand, judging by chrome, maybe let's not go
 that way..

 as it is now, openbsd is not only a breath of fresh
 air, it is the promised land, canaan, and paradise
 in one. linux is currently paying the price of being
 the most popular act in town -- and selling out in
 the process.

 please, please openbsd,, dont become too popular!!
 :)

 -f
 --
 when i want your opinion i'll give it to you!



Re: tmpfs weirdness

2014-04-23 Thread Tomas Bodzar
On Wed, Apr 23, 2014 at 9:06 AM, Marc Espie es...@nerim.net wrote:

 On Tue, Apr 22, 2014 at 05:11:35PM -0500, Shawn K. Quinn wrote:
  Also, it should be noted tmpfs allocates the entire amount of memory
  available by default.

 Nope. Your wording is incorrect. mfs *reserves* memory. tmpfs doesn't.
 If you want to put limits on it, you can use parameters to mount to make
 sure you limit the memory used.  Otherwise, it is unlimited, and interacts
 with uvm.  Note that the rest of the system is unlimited by default either.
 If you run enough processes that allocate memory, you will run uvm out of
 memory as well...



Running out of memory for uvm and having just message about it on console
or in log is boring. We need to implement Oom-killer. That's real fun for
real men. Killing randomly processes to free up RAM. Including stuff like
init after that everything is free :D



Small typo on armv7.html

2014-04-22 Thread Tomas Bodzar
$ cvs diff -u -r1.7 armv7.html
Index: armv7.html
===
RCS file: /cvs/www/armv7.html,v
retrieving revision 1.7
diff -u -p -u -r1.7 armv7.html
--- armv7.html  29 Mar 2014 21:58:11 -  1.7
+++ armv7.html  22 Apr 2014 09:37:39 -
@@ -53,7 +53,7 @@ is in the section a href=#hardwareSu

 p
 There are generally still a fair number of things to do on each of
-these boards, however OpenBSD is generally considered to be usuable on
+these boards, however OpenBSD is generally considered to be usable on
 them.
 The platform is now self hosting, however there is no SMP support.
 Networking is working on ttam335x/tt, ttimx/tt, ttpanda/tt
$



Re: Ralink mystery usb mini WiFi adapter

2014-04-21 Thread Tomas Bodzar
On Sat, Apr 19, 2014 at 8:12 AM, Alan Corey alan01...@gmail.com wrote:

 I just got a cheap USB WiFi adapter that I thought was a Realtek for
 some reason, turned out to be Ralink. I was interested in small
 because I want to mount it at the focal point of a TVRO satellite
 dish. If I'd known it was Ralink I wouldn't have bought it.

 So I plug it into my laptop running OpenBSD 5.2 and it just gets a
 ugen in dmesg, nothing in ifconfig at all, no drivers attach to it.
 ugen0 at uhub1 port 3 MediaTek 802.11 n WLAN rev 2.01/0.00 addr 2



OpenBSD 5.2? Unsupported version anyway. In similar cases it's easiest to
install -current OpenBSD on eg. USB stick as regular system and do live
test on HW withot impacting real installation and check how's HW support in
latest system.



 On a Linux box lsusb says
 Bus 001 Device 071: ID 148f:7601 Ralink Technology, Corp.

 The page at Rakuten where I got it:

 http://www.rakuten.com/prod/usb-mini-wifi-wireless-adapter-network-card-802-11n-150m/236363146.html
 There's a UPC code on that page.

 Any new Ralink driver since 5.2? I couldn't find anything.  No
 paperwork came with it, just a mini-cd with Windows, Mac and
 supposedly Linux drivers for kernels 2.4  2.6 (ancient).  It seems to
 use just 802 11N as a model number.

 Any way to get it working or do I set it aside and wait for a driver
 someday?  It was only $7.49 with free shipping. I've got a Realtek
 RTL8188 coming from China.

   Alan
 --
 Credit is the root of all evil.  - AB1JX



Re: dhclient fallback lease declaration doesn't configure the interface

2014-04-21 Thread Tomas Bodzar
On Mon, Apr 21, 2014 at 4:29 PM, Alessandro DE LAURENZIS 
just22@gmail.com wrote:

 Hello,

 5.4-Rel here, GENERIC.MP kernel.

 Rather often I need to connect my laptop to networks without DHCP service
 (sometimes I use a direct connection through a crossover cable, too); so
 it would be nice to have a semi-automatic configuration procedure.

 I'm trying to exploit the dhclient's lease declaration feature; this
 is an excerpt of my /etc/dhclient.conf:

 # Lease declarations (fallback)
 lease {
 interface trunk0;
 fixed-address 192.168.1.103;
 option subnet-mask 255.255.255.0;
 option routers 127.0.0.1;
 option domain-name-servers 127.0.0.1;
 option dhcp-lease-time 259200;
 renew  4 2020/12/31 23:59:59 UTC;
 rebind 4 2020/12/31 23:59:59 UTC;
 expire 4 2020/12/31 23:59:59 UTC;
 }

 (note that I used the loopback address for routers and
 domain-name-servers fields, in order to bound them to something
 ping-able). When I connect the Eth i/f to a DHCP-less network and
 restart the service, I obtain:

 just22@poseidon:[~] sudo sh /etc/netstart trunk0
 [...]
 DHCPREQUEST on trunk0 to 255.255.255.255 port 67
 DHCPREQUEST on trunk0 to 255.255.255.255 port 67
 DHCPREQUEST on trunk0 to 255.255.255.255 port 67
 [...]
 No acceptable DHCPOFFERS received.
 Trying recorded lease 192.168.1.103
 bound: renewal in 128358 seconds.

 So it seems that the lease has been obtained as expected; unfortunately,
 the interface is still not configured:

 just22@poseidon:[~] ifconfig trunk0
 trunk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAS
 lladdr 00:21:86:94:34:8e
 priority: 0
 trunk: trunkproto failover
 trunkport iwn0
 trunkport em0 master,active
 groups: trunk egress
 media: Ethernet autoselect
 status: active
 inet6 fe80::221:86ff:fe94:348e%trunk0 prefixlen

 Am I doing anything wrong? Is this an expected behavior? Could you point
 me in the right direction?

 Thanks in advance for your time and patience

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



From man dhclient:

A mobile host which may sometimes need to access a network on which no
 DHCP server exists may be preloaded with a lease for a fixed address on
 that network.  When all attempts to contact a DHCP server have failed,
 *dhclient* will try to validate the static lease, and if it succeeds, it
 will use that lease until it is restarted.

 . First of all not good idea having router with 127. and your IP
192... Give them same subnet. Second can you try with real interface
directly to skip trunk (if there's not something wrong with trunk itself)?
Third try to enable debug for dhclient and network interface if it does
show something more. Did you try if your config is working directly defined
in interface file and what it shows during debug run?
http://www.openbsd.org/faq/faq6.html#Setup



Re: Automatic console locking at system suspend

2014-04-21 Thread Tomas Bodzar
On Mon, Apr 21, 2014 at 4:51 PM, Alessandro DE LAURENZIS 
just22@gmail.com wrote:

 Hello,

 I google-ed a lot, but it seems that there is no trivial solution to
 this point.

 I extensively use console (and tmux), ending up with a lot of
 simultaneously open shells; I normally suspend my laptop when I leave,
 so it would be a security enhancement to automatically lock all of them.


How about using lock(1) ?



 Trying to follow the same approach I use to lauch xlock for the X
 session, I run the following script from my .kshrc:

 just22@poseidon:[~] cat ./bin/console-lock
 #!/bin/sh

 # Lock console when SIGUSR1 is received
 trap '/usr/bin/lock -np' USR1

 # Daemonize...
 while /usr/bin/true; do
 sleep 1
 done


 just22@poseidon:[~] egrep -A1 -B3 console-lock /home/just22/.kshrc
 # In console, activate colour support and auto-lock
 if [ ${TERM} == vt220 ]; then
 export TERM=wsvt25
 ${HOME}/bin/console-lock 
 fi


 Now, when I send a USR1 signal to all the open console-lock processes
 (manually or by means of /etc/apm/suspend):

 just22@poseidon:[~] pkill -USR1 -f .*console-lock

 the lock command is correctly spawn in each console, but since the
 parent process is in background, it is in background, too (resulting
 useless, of course).

 How could I improve the idea?

 Of course, any suitable alternatives would be welcome.

 Thanks in advance

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



Re: Routine network config. gone wrong

2014-04-19 Thread Tomas Bodzar
On Fri, Apr 18, 2014 at 4:16 PM, Lubo Diakov lubodia...@gmail.com wrote:

 Tomas,

 I included many of the outputs you mention. Since we're talking about
 a networking configuration, obviously doing something like ssh to copy
 the relevant information is not yet possible, so I looked at the
 screen of the OpenBSD system, and typed (in abbreviated form) the most
 relevant parts like ifconfig, resolv.conf and so on into this message
 (see my first post). I didn't copy the actual IP addresses, but unless
 I typed it in wrong on OpenBSD (possible, but unlikely given how many
 times I entered it), the addresses in question work on another system
 (the one this message is sent from). Nevertheless, I will run the
 commands you mention on OpenBSD and copy it by some other means, like
 a USB flash drive.



Well I can't see stuff like this in your email.

$ ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33136
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr MAC
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
inet6 IPv6%em0 prefixlen 64 scopeid 0x1
inet IPv4 netmask 0xff00 broadcast IPv4
enc0: flags=0
priority: 0
groups: enc
status: active
pflog0: flags=141UP,RUNNING,PROMISC mtu 33136
priority: 0
groups: pflog
$

$ ifconfig em0 media
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr MAC
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
supported media:
media 10baseT
media 10baseT mediaopt full-duplex
media 100baseTX
media 100baseTX mediaopt full-duplex
media 1000baseT mediaopt full-duplex
media 1000baseT
media autoselect
inet IPv4 netmask 0xff00 broadcast IPv4
$

You pasted just partial parts of those outputs. Which may not be enough
some times. You may have eg. some weir characters left in /etc/resolv.conf
or whatever.



Re: Routine network config. gone wrong

2014-04-18 Thread Tomas Bodzar
On Fri, Apr 18, 2014 at 2:23 AM, Lubo Diakov lubodia...@gmail.com wrote:

 I may be missing something very simple, so if anyone can offer some
 help I'd be grateful.

 I want to set up a i386 OpenBSD system (using 5.4, but can try current
 5.5 if that would help) to act a gateway/firewall. 3 network
 interfaces, 2 wired, one wifi (ignoring wifi ATM, want to get wired
 working, then deal with wifi later).

 ifconfig rl0: (static WAN IP, routable when used with another system)
 inet w.x.y.z 255.255.255.0

 ifconfig rl1: (static LAN IP)
 inet 192.168.y.z 255.255.255.0

 resolv.conf (2 known working IP addresses for nameservers, again
 working in other OS)

 /etc/mygate (IP address of ISP gateway used on other OS for same
 connection, known working, have also tried route add default
 ISP.gateway manually)

 ping, traceroute, etc. to IP address of gateway fail, I suspect even
 the default pf rules may block this, but how to confirm/or rule out?
 (perhaps pfctl -d?)

 what should route show -inet or netstat -rn look like if configured
 properly?
 the first line of route show -inet reads (right after booting):
 dest.  gateway  flags
 defaultISP gateway   GS

 net.inet.ip.forwarding=1 (to forward between WAN and LAN) in sysctl.conf
 --
 Любомир Гаврилов Дяков
 емайл:
 lubodia...@gmail.com



We are missing a lot of outputs to help you. Like ifconfig, netstat -rn,
dmesg, cat /etc/resolv.conf, cat /etc/mygate ..



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

2014-04-18 Thread Tomas Bodzar
On Fri, Apr 18, 2014 at 11:28 AM, Craig R. Skinner
skin...@britvault.co.ukwrote:

 On 2014-04-17 Thu 17:12 PM |, Chris Cappuccio wrote:
  noah pugsley [noah.pugs...@gmail.com] wrote:
   You know Chris, if you grew a beard..nmedia.net/bsdsexy? wopsexy?
   Maybe a sexy developer calendar can help with the donations...
  
 
  Perhaps a swimsuit calendar? I'll volunteer for the cover!
 

 Done in sunny Scotland: http://tinyurl.com/npdpp4f



Error: Unable to find site's URL to redirect to.

Please check that the URL entered is correct. To learn more about
TinyURL.com, please visit the homepage http://tinyurl.com/.


probably link filter against pr0n :-)



Re: Install iwn driver Lenovo X1 Carbon

2014-04-17 Thread Tomas Bodzar
On Wed, Apr 16, 2014 at 8:52 PM, Axel axel...@ymail.com wrote:

 Hi,
 I am trying to install OpenBSD -CURRENT on a Lenovo X1 Carbon with only a
 wireless network card, and I cannot upgrade the firmware 'iwn' of this card
 to get it working.

 I downloaded on an USB pen firmware iwn-firmware-5.10p0.tgz from the
 website
 http://firmware.openbsd.org/firmware/5.5/http://firmware.openbsd.organd
 I get an error. Thame thing if I download firmware from
 http://firmware.openbsd.org/firmware/snapshots/

 # fw_update -v -p /mnt



Can you pkg_delete -cv those packages and try again with  fw_update -av -p
/mnt   ? As well is your downloaded package same size/content as on web
page? (test from some other computer)



 Output:
 fw_update: Path to firmware: /mnt/
 fw_update: Installing firmware:  iwn-firmware uvideo-firmware.
 Adding

 partial-iwn-firmware-5.10p0+partial-iwn-firmware-5.10p0.1+partial-iwn-firmwar
 e-5.10p0.2-iwn-firmware-5.10p0
 iwn-firmware-5.10p0 (extracting)
 Adjusting sha for /etc/firmware/pkg.FHkxl3k9JK from
 8Cbu0FUD4f51K+vNHgoDrtedDadXrmnX3qgilQNvH4I= to
 RjjlJCCucQyXmR0Bl7HhdcgfvblAllJwihkXcIPnTHE=
 Fatal error: Installation of iwn-firmware-5.10p0 failed, partial
 installation recorded as partial-iwn-firmware-5.10.p0.7 at
 /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 778.


 I paste DMESG output

 OpenBSD 5.5-current (GENERIC.MP) #65: Sat Apr 12 10:08:00 MDT 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 8251547648 (7869MB)
 avail mem = 8023130112 (7651MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdaa9d000 (71 entries)
 bios0: vendor LENOVO version G6ET66WW (2.10 ) date 11/20/2012
 bios0: LENOVO 34607ZG
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT
 ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
 EHC2(S3) HDEF(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 798.34 MHz
 cpu0:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX

 ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
 cpu0: apic clock running at 99MHz
 cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 798.19 MHz
 cpu1:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX

 ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 1, core 0, package 0
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 798.19 MHz
 cpu2:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX

 ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 0, core 1, package 0
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 798.19 MHz
 cpu3:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX

 ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 1, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiec0 at acpi0
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEG_)
 acpiprt2 at acpi0: bus 2 (EXP1)
 acpiprt3 at acpi0: bus 3 (EXP2)
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpicpu1 at acpi0: C3, C2, C1, PSS
 acpicpu2 at acpi0: C3, C2, C1, PSS
 acpicpu3 at acpi0: C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
 acpitz0 at acpi0: critical temperature is 200 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 45N1071 serial   458 type LiP oem SMP
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit offline
 acpithinkpad0 at 

Re: Ath10k support ?

2014-04-17 Thread Tomas Bodzar
On Thu, Apr 17, 2014 at 12:42 AM, Thom Lauret thomlau...@icloud.com wrote:

 Hi all,

 Should I expect to see support for QCA9880 cards anytime soon (ever)
 ?

 This is what I have
 http://www.compex.com.sg/Datasheets/WLE900V5-18_Dsv1.0.0.pdf

 Thanks !


802.11n is not yet supported in OpenBSD. So doesn't seem so promising now.
But except of that  that WLE900V5 is supported by OpenWRT so there's quite
good chance that it can be supported quite soon in some other BSD like
FreeBSD for example.



vpnc doesn't work against Cisco after last port change

2014-04-17 Thread Tomas Bodzar
Hi all,

anyone with working vpnc against Cisco VPN concentratos after last change
http://marc.info/?l=openbsd-portsm=139634144615435w=2 ?

It does seems to be connecting, but no IP assigned, no routes created and
there's not /etc/vpnc-script

$ sudo vpnc user.conf
Password:
Enter password for user@X.X.X.X:
sh: /etc/vpnc-script: not found
sh: /etc/vpnc-script: not found
VPNC started in background (pid: 14661)...
$

$ pkg_info -L vpnc
Information for inst:vpnc-0.5.3p3

Files:
/usr/local/man/man8/vpnc.8
/usr/local/sbin/vpnc
/usr/local/sbin/vpnc-disconnect
/usr/local/share/doc/vpnc/README
/usr/local/share/examples/vpnc/split.sh
/usr/local/share/examples/vpnc/vpnc.conf
/usr/local/share/examples/vpnc/vpnc.sh
/etc/rc.d/vpnc


$

$ sysctl kern.version
kern.version=OpenBSD 5.5-current (GENERIC.MP) #72: Tue Apr 15 10:51:03 MDT
2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

$

$ ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33136
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:0c:29:26:c8:52
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
inet6 fe80::20c:29ff:fe26:c852%em0 prefixlen 64 scopeid 0x1
inet X.X.X.X netmask 0xff00 broadcast 192.168.40.255   -
here still 192... from ESX
enc0: flags=0
priority: 0
groups: enc
status: active
pflog0: flags=141UP,RUNNING,PROMISC mtu 33136
priority: 0
groups: pflog
tun0: flags=50POINTOPOINT,RUNNING mtu 1500
priority: 0
groups: tun
status: active
$

Nothing in routing table from 10. which is supposed to be here


And same case with use of /etc/rc.d/vpnc

$ sudo sh -x /etc/rc.d/vpnc
start
[106/220]
+ daemon=/usr/local/sbin/vpnc
+ . /etc/rc.d/rc.subr
+ . /etc/rc.conf
+ ldpd_flags=NO
+ ripd_flags=NO
+ mrouted_flags=NO
+ dvmrpd_flags=NO
+ ospfd_flags=NO
+ ospf6d_flags=NO
+ bgpd_flags=NO
+ rarpd_flags=NO
+ bootparamd_flags=NO
+ rbootd_flags=NO
+ sshd_flags=
+ named_flags=NO
+ nsd_flags=NO
+ unbound_flags=NO
+ ldattach_flags=NO
+ ntpd_flags=NO
+ isakmpd_flags=NO
+ iked_flags=NO
+ sasyncd_flags=NO
+ mopd_flags=NO
+ apmd_flags=NO
+ dhcpd_flags=NO
+ dhcrelay_flags=NO
+ rtadvd_flags=NO
+ route6d_flags=NO
+ rtsold_flags=NO
+ lpd_flags=NO
+ sensorsd_flags=NO
+ hotplugd_flags=NO
+ watchdogd_flags=NO
+ ftpproxy_flags=NO
+ hostapd_flags=NO
+ ifstated_flags=NO
+ relayd_flags=NO
+ snmpd_flags=NO
+ smtpd_flags=
+ sndiod_flags=
+ ldapd_flags=NO
+ npppd_flags=NO
+ inetd_flags=NO
+ rwhod_flags=NO
+ portmap_flags=NO
+ kdc_flags=NO
+ kadmind_flags=NO
+ kpasswdd_flags=NO
+ ipropd_master_flags=NO
+ ipropd_slave_flags=NO
+ amd_flags=NO
+ tftpd_flags=NO
+ tftpproxy_flags=NO
+ ldomd_flags=NO
+ identd_flags=NO
+ nginx_flags=NO
+ slowcgi_flags=NO
+ sendmail_flags=NO
+ spamd_flags=NO
+ spamd_black=NO
+ spamlogd_flags=
+ ftpd_flags=NO
+ xdm_flags=NO
+ wsmoused_flags=NO
+ pf=YES
+ ipsec=NO
+ bt=NO
+ check_quotas=YES
+ accounting=NO
+ multicast_host=NO
+ multicast_router=NO
+ savecore_flags=
+ ypbind_flags=NO
+ ypserv_flags=NO
+ ypldap_flags=NO
+ yppasswdd_flags=NO
+ nfsd_flags=NO
+ mountd_flags=NO
+ lockd_flags=NO
+ statd_flags=NO
+ amd_master=/etc/amd/master
+ syslogd_flags=
+ pf_rules=/etc/pf.conf
+ ipsec_rules=/etc/ipsec.conf
+ bt_rules=/etc/bt.conf
+ pflogd_flags=
+ shlib_dirs=
+ pkg_scripts=
+ unset kadmind_flags kdc_flags kpasswdd_flags mountd_flags nfsd_flags
ypbind_flags
+ [ -f /etc/rc.conf.local ]
+ . /etc/rc.conf.local
+ apmd_flags=-C
+ ntpd_flags=
+ [ XNO = XNO -o XNO != XNO ]
+ spamlogd_flags=NO
+ [ XYES = XNO ]
+ [ XNO = XYES ]
+ echo NO
+ : NO
+ [ XNO = XYES -o XNO = XYES ]
+ echo NO
+ : NO
+ [ XNO = XYES ]
+ echo NO
+ : NO
+ [ XNO = XYES ]
+ echo NO
+ : NO
+ domainname
+ [ X != X -a -d /var/yp/binding ]
+ echo NO
+ : NO
+ [ -n /usr/local/sbin/vpnc ]
+ unset _RC_DEBUG _RC_FORCE
+ getopts df c
+ shift 0
+ basename /etc/rc.d/vpnc
+ _name=vpnc
+ _RC_RUNDIR=/var/run/rc.d
+ _RC_RUNFILE=/var/run/rc.d/vpnc
+ eval _rcflags=${vpnc_flags}
+ _rcflags=
+ eval _rcuser=${vpnc_user}
+ _rcuser=
+ getcap -f /etc/login.conf vpnc
+  /dev/null
+ 21
+ [ -z  ]
+ daemon_class=daemon
+ [ -z  ]
+ daemon_user=root
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ printf  %s
+ daemon_flags=
+ daemon_flags=
+ readonly daemon_class
+ unset _rcflags _rcuser
+ pexp=/usr/local/sbin/vpnc
+ rcexec=su -l -c daemon -s /bin/sh root -c
+ rc_reload=NO
+ rc_cmd start
vpnc
Password for VPN username@X.X.X.X:
(ok)
$

No IP, nor route provided.

$ sudo cat /etc/vpnc/default.conf
## generated by pcf2vpnc
IPSec ID VPN-name
IPSec gateway X.X.X.X
IPSec secret VPN-password

Xauth username myID
IKE Authmode psk
IKE DH Group dh2

# run script to manipulate dns and routing settings
#Script /etc/vpnc/split.sh
$



Re: vpnc doesn't work against Cisco after last port change

2014-04-17 Thread Tomas Bodzar
On Thu, Apr 17, 2014 at 11:19 AM, David Coppa dco...@gmail.com wrote:

 On Thu, Apr 17, 2014 at 11:17 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:
  Hi all,
 
  anyone with working vpnc against Cisco VPN concentratos after last change
  http://marc.info/?l=openbsd-portsm=139634144615435w=2 ?
 
  It does seems to be connecting, but no IP assigned, no routes created and
  there's not /etc/vpnc-script

 I think you need to install vpnc-scripts from ports/net/vpnc-scripts


Yep, found it now. Sorry for my bad reading :-) But anyway, why it's not
dependency now either for vpnc or openconnect?



 Ciao,
 David



Re: How to apply a patch in OpenBSD?

2014-04-16 Thread Tomas Bodzar
On Tue, Apr 15, 2014 at 6:58 PM, ohh, whyyy ohhwh...@postafiok.hu wrote:

 Hey, Thanks! yes, it looks like the sys.tar.gz was missing.. I created a
 small howto for it (for patching 5.4):



Why howto? Combination of http://www.openbsd.org/faq/faq5.html#BldGetSrc ,
man release and info in patches is more then enough.


 cd /root  ftp http://ftp.openbsd.org/pub/OpenBSD/`uname -r`/src.tar.gz
 
 tar -xvzf /root/src.tar.gz -C /usr/src; ftp
 http://ftp.openbsd.org/pub/OpenBSD/`uname -r`/sys.tar.gz  tar -xvzf
 /root/sys.tar.gz -C /usr/src

 # apply patches
 ftp http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/001_pflow.patch
 
  cat 001_pflow.patch | (cd /usr/src  patch -p0)
 ftp 
 http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/002_sshgcm.patch;
  cat 002_sshgcm.patch | (cd /usr/src  patch -p0)
 ftp http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/003_vnode.patch
 
  cat 003_vnode.patch | (cd /usr/src  patch -p0)
 ftp http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/004_nginx.patch
 
  cat 004_nginx.patch | (cd /usr/src  patch -p0)
 ftp 
 http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/005_sha512.patch;
  cat 005_sha512.patch | (cd /usr/src  patch -p0)
 ftp 
 http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/006_libXfont.patch;
  cat 006_libXfont.patch | (cd /usr/src  patch -p0) # if you don't have
 the X, then it's not needed..
 ftp 
 http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/007_openssl.patch;
  cat 007_openssl.patch | (cd /usr/src  patch -p0)
 ftp 
 http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/008_openssl.patch;
  cat 008_openssl.patch | (cd /usr/src  patch -p0)

 # build and install a new kernel (~5-10 minutes)
 # if your system has trouble booting the new kernel, you can easily go back
 and reboot from the old kernel, now called obsd.
 cd /usr/src/sys/arch/amd64/conf
 /usr/sbin/config GENERIC.MP
 cd /usr/src/sys/arch/amd64/compile/GENERIC.MP
 make clean  make depend  make
 cd /usr/src/sys/arch/amd64/compile/GENERIC.MP
 make install
 reboot

 # rebuild the system binaries (~1 hour)
 rm -rf /usr/obj/*
 cd /usr/src
 make obj
 cd /usr/src/etc  env DESTDIR=/ make distrib-dirs
 cd /usr/src
 make build
 ---

 After this howto.. I only miss one big point...

 Before patching:
 # openssl version
 OpenSSL 1.0.1c 10 May 2012

 After patching:
 # openssl version
 OpenSSL 1.0.1c 10 May 2012


 Question: How do I know I did the patching correctly? Was it needed to
 rebuild the system binaries? Why is the OpenSSL version still the same?

 Thanks! have a great day!


 2014-04-13 20:01 GMT+02:00 John Hynes jephy...@gmail.com:

  It's just like pouring piss out if a boot; the instructions are written
 on
  the heel.  :)
 
  If your sources are in /usr/src, and the patches are in /usr/src/5.4 then
  if you cd /usr/src ; patch -p0  path to patch it'll work, exactly as it
  instructs in the patch itself.
 
 
  On Sunday, April 13, 2014, ohh, whyyy ohhwh...@postafiok.hu wrote:
 
  Hi list!
 
  I installed the comp54.tgz set too when I installed
  http://ftp.openbsd.org/pub/OpenBSD/5.4/amd64/install54.iso
  then:
 
  # cd /root  ftp http://ftp.openbsd.org/pub/OpenBSD/`uname
 http://ftp.openbsd.org/pub/OpenBSD/uname-r`/src.tar.gz
   tar -xzf /root/src.tar.gz -C /usr/src
  # uname -r
  5.4
  # pwd
  /usr/src
  # ls -la
  total 124
  drwxrwxr-x   17 root  wsrc 512 Apr 13 19:35 .
  drwxr-xr-x   17 root  wheel512 Jul 30  2013 ..
  drwxr-xr-x2 root  wsrc 512 Jul 29  2013 CVS
  -rw-r--r--1 root  wsrc3456 Jul 24  2013 Makefile
  -rw-r--r--1 root  wsrc   16419 Jul  7  2013 Makefile.cross
  drwxr-xr-x   36 root  wsrc1024 Jul 29  2013 bin
  drwxr-xr-x   31 root  wsrc 512 Jul 29  2013 distrib
  drwxr-xr-x   35 root  wsrc2560 Jul 29  2013 etc
  drwxr-xr-x   44 root  wsrc1024 Jul 29  2013 games
  drwxr-xr-x9 root  wsrc 512 Jul 29  2013 gnu
  drwxr-xr-x7 root  wsrc2048 Jul  7  2013 include
  drwxr-xr-x   11 root  wsrc 512 Jul 29  2013 kerberosV
  drwxr-xr-x   40 root  wsrc1024 Jul 29  2013 lib
  drwxr-xr-x   40 root  wsrc1024 Jul 29  2013 libexec
  drwxr-xr-x   15 root  wsrc 512 Jul 10  2010 regress
  drwxr-xr-x   78 root  wsrc1536 Jul 29  2013 sbin
  drwxr-xr-x   14 root  wsrc 512 Jul 29  2013 share
  drwxr-xr-x  228 root  wsrc4096 Jul 29  2013 usr.bin
  drwxr-xr-x  144 root  wsrc2560 Jul 29  2013 usr.sbin
  # which gcc
  /usr/bin/gcc
  #
  # ftp
  http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/001_pflow.patch
 
  Trying 129.128.5.191...
  Requesting
  http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/001_pflow.patch
  100% |***|   803
  00:00
  803 bytes received in 0.00 seconds (11.10 MB/s)
  #
  # patch -p0  001_pflow.patch
  Hmm...  Looks like a unified diff to me...
  The text leading up to this was:
  --
  |Apply by doing:
  |   cd /usr/src
  |   patch -p0  

Re: OpenBSD on IBM Power

2014-04-13 Thread Tomas Bodzar
On Mon, Apr 14, 2014 at 2:48 AM, Zeljko Jovanovic 
zelj...@tesla.rcub.bg.ac.rs wrote:

 On 09.04.2014. 18:24, Fil Di Noto wrote:

 Is there any hope of OpenBSD running on IBM Power hardware (System P,
 LPAR) in the future?

 ...

  OS on that hardware without cooperation from IBM? I don't see any
 Linux distros that do not have a relationship with IBM that run on
 Power.


 Slackware Linux has an IBM port, although it has not been updated for
 several years now: http://www.slack390.org

 I am not sure what are the differences between largest IBM machines
 (System Z, formerly known as System/390), and smaller systems such as
 System P. But I am sure that Slackware project certainly does not have a
 relationship with any company.

 By the way, as you probably know, Slackware is the oldest surviving Linux
 distribution, and adversises as the most UNIX-like among Linuxes. Also,
 its /etc layout is of BSD type, not System V like in other Linux
 distribution. The overall look and feel after instalation is similar to
 OpenBSD. Even the BSD games packages, with fortune program enabled by
 default is there. :)



Re: OpenBSD on IBM Power

2014-04-13 Thread Tomas Bodzar
On Mon, Apr 14, 2014 at 2:48 AM, Zeljko Jovanovic 
zelj...@tesla.rcub.bg.ac.rs wrote:

 On 09.04.2014. 18:24, Fil Di Noto wrote:

 Is there any hope of OpenBSD running on IBM Power hardware (System P,
 LPAR) in the future?

 ...

  OS on that hardware without cooperation from IBM? I don't see any
 Linux distros that do not have a relationship with IBM that run on
 Power.


 Slackware Linux has an IBM port, although it has not been updated for
 several years now: http://www.slack390.org

 I am not sure what are the differences between largest IBM machines
 (System Z, formerly known as System/390), and smaller systems such as
 System P. But I am sure that Slackware project certainly does not have a
 relationship with any company.

 By the way, as you probably know, Slackware is the oldest surviving Linux
 distribution, and adversises as the most UNIX-like among Linuxes. Also,
 its /etc layout is of BSD type, not System V like in other Linux
 distribution. The overall look and feel after instalation is similar to
 OpenBSD. Even the BSD games packages, with fortune program enabled by
 default is there. :)



The question is for how long. Especially RedHat is pushing a lot of stuff
in a way which even MS need to yet discover (:-)). And crap like systemd
and similar is just a start. Man that stupid stuff is not even able to boot
automatically system which is supposed to mount automatically with
filesystem residing on LVM (OpenSuse 12.x). You add aditional disk, create
LVM on it, some ext filesystem, put it in /etc/fstab, mount.oo
works.. till reboot which always end in emergency mode where you need
to comment that new entry in /etc/fstab, reboot, manually start LVM service
(!), manually mount new entry in /etc/fstab again.

WHAT AN IMPROVEMENT !
'
And I'm describing just stuff which admins are and were doing for years on
Linux. Simple new disk/partition with LVM. Stuff which was not needed to
hack somewhat around after reboot just to get system back working. Too much
bored to look at that shit in details, but seems like it's not able to
start services in proper order and completely breaking functional thing
like simple /etc/fstab which was working for such long time in Unix world.



Re: acpitz3: critical temperature exceeded with HP nc6320 Laptop

2014-04-12 Thread Tomas Bodzar
On Sat, Apr 12, 2014 at 4:22 AM, Steve Quinn letter2st...@gmail.com wrote:

 On Fri, Apr 11, 2014 at 1:34 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:

  Using -current is easy, just start with latest snapshot from mirror and
 use
  snapshot path for packages in PKG_PATH as well. From that time on easy
 like
  with regular system. Plus is you have binary upgrades to new snapshot
 mostly
  everyday (if you want to) - man sysmerge - checking current.html page
 IF
  some manual intervention needed - pkg_add -u . All of that takes like 15
  minutes or so, depends on speed of your network and interval how often
 you
  will update between snapshots. Generally more stable then some so called
  stable/lts/whatever distros and you have latest fixes.

 My gosh Tomas, you are so incredibly helpful thank you.

 I now have an avenue to supply a laptop to a Dev :-)
 In parallel though, I'll still be taking this opportunity to learn
 -current and other shiny new (to me) things



You're welcome. You will find it quickly very easy. Especially for
desktop/workstation/laptop not much reasons to be on release/stable. I
don't say that there are not use cases, but very small amount of those.



  For BIOS I meant if there's something related to ACPI in fixes from
 vendor.

 Oh, right, sorry. I will check

 Steve



Re: feature patch - replace /etc/crontab by /etc/cron.d/

2014-04-11 Thread Tomas Bodzar
On Fri, Apr 11, 2014 at 12:05 PM, Sélène sel...@bsd.zplay.eu wrote:

 Le 2014-04-09 00:48, czark...@gmail.com a écrit :

  Remy said:

 here is a simple patch to replace /etc/crontab by /etc/cron.d/.


 FWIW why?


 I find it far easier to have multiples crontab files in /etc/cron.d/ than
 keeping a single crontab.

 At works, we are heavily using crontabs, and when we update our own apps
 on the servers, I need to check the changes needed for the app in the
 crontab. With a /etc/cron.d/my_app_1 file, I would just replace it with the
 new one, or I can even let the developers update their cron file, but I
 won't let them mess the global crontab (root or user).

 Of course, I can manage the crontab by hand because I don't modify it very
 often, but I find the cron.d easier.


And why not to use CFEngine, Puppet and similar for that?



Re: acpitz3: critical temperature exceeded with HP nc6320 Laptop

2014-04-10 Thread Tomas Bodzar
On Thu, Apr 10, 2014 at 12:37 AM, Steve Quinn letter2st...@gmail.comwrote:

 Hi folks

 I have been recently playing with OpenBSD.
 I am very impressed with the whole experience, great job people !!



Just one side note. Most (or all?) major operating systems are using
implementation of ACPI from Intel, but OpenBSD has own implementation
http://www.openbsd.org/cgi-bin/man.cgi?query=acpisektion=4apropos=0manpath=OpenBSD+Currentarch=i386,
which may be sometimes problematic, but generally fixes are available
very quickly compared to that general implementation.



 I am using an HP nc6320 Laptop.

 Quite often, I get an error similar to this with amd64 5.4 and 5.5
 acpitz3: critical temperature exceeded 3786C, shutting down

 For me it was a nice error to get, because it introduced me to the
 coolness of using boot -c and config -e
 I have no problems working around the issue.

 I did some digging and see others with the same issue on similar hardware

 http://comments.gmane.org/gmane.os.openbsd.misc/176044
 http://comments.gmane.org/gmane.os.openbsd.misc/205033

 I'd like to offer the use of my HP nc6320 if a Developer would like to
 play directly with the hardware to assist others in the community with
 the issue.
 I'll be at BSDCan 2014 and can bring it along.  Otherwise, please let
 me know if/how I can be of any help.



Good quick start is to send dmesg output from latest -current (both i386
and amd64 IF there's some difference) and something which you probably
already checked ; BIOS versions



 Take care

 Steve Quinn



Re: PF for a VPS

2014-04-10 Thread Tomas Bodzar
On Fri, Apr 11, 2014 at 1:35 AM, Sinosuke Noara
capitan.shinc...@gmail.comwrote:

 Hi guys,

 I've rented a virtual private server with some friends and we would like to
 deploy a firewall. I suggested packet filter and OpenBSD because I have it
 at home, but really don't know about the performace of the OpenBSD packet
 filter into a virtual machine. The idea is to have some (6-9) different
 virtual machines running at the same time, 2 of then (apart from the
 firewall) will have a lot of incoming traffic and at least 1 will have a
 lot of outgoing network traffic, so my mates are thinking that PF into a
 virtual machine running OpenBSD is not going to have a good performance,
 maybe because (as far as I know) PF can't work using more than one core.

 Any of you have some experience about this? Could you give me some info
 about performance or some nice arguments to convince them?

 Thanks in advance!

 Excuse my english, but I don't practice it regularly.


1) You don't mention which VPS are you planning to use
2) PF can handle a lot of traffic just fine, but you must test in YOUR
scenario
3) You don't mention expected amount of traffic and type of that traffic
4) Why exactly are your friends against it? Maybe they don't know OpenBSD
well, maybe VPS doesn't support OpenBSD and so on



Re: acpitz3: critical temperature exceeded with HP nc6320 Laptop

2014-04-10 Thread Tomas Bodzar
On Fri, Apr 11, 2014 at 3:18 AM, Steve Quinn letter2st...@gmail.com wrote:

 On Thu, Apr 10, 2014 at 7:31 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:

  Just one side note. Most (or all?) major operating systems are using
  implementation of ACPI from Intel, but OpenBSD has own implementation
 
 http://www.openbsd.org/cgi-bin/man.cgi?query=acpisektion=4apropos=0manpath=OpenBSD+Currentarch=i386
  , which may be sometimes problematic, but generally fixes are available
 very
  quickly compared to that general implementation.

 Wow, thanks for the great reference


One correction I did not have single issue with ACPI over the years on Dell
or Lenovo HW with OpenBSD, but had number of those with other BSDs,
OpenSolaris or Linux with their Intel implementation. Especially cheaper
consumer models from HP, Toshiba, Sony and similar has very interesting
workarounds implemented to get it working at least somewhat even on Windows
and Linux so these are often very funny :-)



  Good quick start is to send dmesg output from latest -current (both i386
 and
  amd64 IF there's some difference) and something which you probably
 already
  checked ; BIOS versions

 Ok.  Sounds great, thank you.
 I've yet to install -current and want to do it properly so it will be
 a few days until I have a dmesg to share
 Regarding the BIOS version, I will triple check but I'm usually quite
 anal about these things :-)


Using -current is easy, just start with latest snapshot from mirror and use
snapshot path for packages in PKG_PATH as well. From that time on easy like
with regular system. Plus is you have binary upgrades to new snapshot
mostly everyday (if you want to) - man sysmerge - checking current.html
page IF some manual intervention needed - pkg_add -u . All of that takes
like 15 minutes or so, depends on speed of your network and interval how
often you will update between snapshots. Generally more stable then some so
called stable/lts/whatever distros and you have latest fixes.

For BIOS I meant if there's something related to ACPI in fixes from vendor.




 Steve



Re: not configured components on Dell C5220 / C6220

2014-04-08 Thread Tomas Bodzar
On Tue, Apr 8, 2014 at 7:35 PM, Donovan Watteau tso...@gmail.com wrote:

 Hello,

 We'd like to deploy OpenBSD on some Dell C5220 and Dell C6220 servers,
 for a high-traffic website.

 However, the C5220 has some unconfigured components in dmesg [1], and
 the C6220 has even more of them [2].

 Are they crucial for the machines to operate accurately?  By 'accurately',
 I mean we need them to compute and send stuff on the wire, while remaining
 stable, with a high load of work and traffic.

 Thanks for your help,
 Donovan.

 [1]:
 OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar  5 09:37:46 MST 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 33506557952 (31954MB)
 avail mem = 32606011392 (31095MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xebe40 (46 entries)
 bios0: vendor Dell Inc. version 2.1.0 date 07/30/2013
 bios0: Dell Inc. PowerEdge C5220
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S5
 acpi0: tables DSDT FACP APIC MCFG HPET SSDT PRAD SPMI SSDT SSDT SSDT SSDT
 SPCR BGRT
 acpi0: wakeup devices PCIB(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3)
 USB5(S3) USB6(S3) USB7(S3) PEGP(S3) PEG0(S3) PEG1(S3) PEG2(S3) PEG3(S3)
 GLAN(S3) EHC1(S3) EHC2(S3) [...]
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3093.41 MHz
 cpu0:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
 cpu0: apic clock running at 99MHz
 cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE
 cpu1 at mainbus0: apid 2 (application processor)
 cpu1: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.98 MHz
 cpu1:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 0, core 1, package 0
 cpu2 at mainbus0: apid 4 (application processor)
 cpu2: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.98 MHz
 cpu2:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 0, core 2, package 0
 cpu3 at mainbus0: apid 6 (application processor)
 cpu3: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.98 MHz
 cpu3:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 0, core 3, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 3 (PCIB)
 acpiprt2 at acpi0: bus 1 (PEG0)
 acpiprt3 at acpi0: bus 2 (PEG1)
 acpiprt4 at acpi0: bus -1 (PEG2)
 acpiprt5 at acpi0: bus -1 (PEG3)
 acpiec0 at acpi0: Failed to read resource settings
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpicpu2 at acpi0: PSS
 acpicpu3 at acpi0: PSS
 acpipwrres0 at acpi0: FN00, resource for FAN0
 acpipwrres1 at acpi0: FN01, resource for FAN1
 acpipwrres2 at acpi0: FN02, resource for FAN2
 acpipwrres3 at acpi0: FN03, resource for FAN3
 acpipwrres4 at acpi0: FN04, resource for FAN4
 acpitz0 at acpi0: critical temperature is 106 degC
 acpitz1 at acpi0: critical temperature is 106 degC
 acpibat0 at acpi0: BAT0 not present
 acpibat1 at acpi0: BAT1 not present
 acpibat2 at acpi0: BAT2 not present
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID0
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: DD02
 ipmi at mainbus0 not configured
 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 3101, 3100 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Xeon E3-1200 v2 Host rev 0x09
 ppb0 at pci0 dev 1 function 0 Intel Core 3G PCIE rev 0x09: msi
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 1 function 1 Intel Core 3G PCIE rev 0x09: msi
 pci2 at ppb1 bus 2
 em0 at pci2 dev 0 function 0 Intel 82580 rev 0x01: msi, address XXX
 em1 at pci2 dev 0 function 1 Intel 82580 rev 0x01: msi, address XXX
 Intel 6 Series MEI rev 0x04 at pci0 

Re: Install 5.4 onto netbook... almost

2014-04-07 Thread Tomas Bodzar
On Mon, Apr 7, 2014 at 1:36 PM, Brett Mahar br...@coiloptic.org wrote:

 On Mon, 7 Apr 2014 10:35:31 +0100
 Maurice McCarthy m...@mythic-beasts.com wrote:

 | Another possible solution is to make a default 5.4 install to a raw qemu
 image in OSX or FreeBSD and dd that to a usb stick.
 |
 | Regards
 | Moss
 |

 Maybe I missed some of the posts but instead of all these crazy convoluted
 methods, just install to a usb drive on a regular computer (ie one with a
 cd rom) then boot ramdisk (bsd.rd) on your netbook, explanations at:

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

 and slightly more complicated:

 http://undeadly.org/cgi?action=articlesid=20140225072408


but still 5.4 is quite old now. His best bet now is to use and try
-current. He may be surprised what things are already solved.



Re: Install 5.4 onto netbook... almost

2014-04-06 Thread Tomas Bodzar
On Sun, Apr 6, 2014 at 7:09 PM, Norman Gray nor...@astro.gla.ac.uk wrote:

 Greetings.

 I'm trying to install the released OpenBSD 5.4 onto a old-ish netbook
 without an optical drive.  I thought I could do this via
 install54.iso; I can see where I need to get to, and can almost get
 there, but I can't find the last step.

 I suspect this needs only a 1- or 2-line answer.

 Target machine (not ideal, admittedly):

   * Acer Aspire One ZG8 ('no, don't throw it out, I'll try OpenBSD on
 it!') [1]
   * ...so i386
   * Internal disk
   * No optical drive, but two USB ports and an SD slot
   * Previously had Windows on it *shudder*
   * No dmesg, I'm afraid, since part of my problem is an inability to
 mount any storage.

 I can boot the machine with the floppy.fs image (dd'ed to a flash
 drive), and go through the configuration, accepting defaults, and
 whole-disk partitioning the internal disk, to the point where I select
 the full installation media.  This I can't do.

 Problem 0 is that the boot fails to detect networking hardware.  I
 understand that the wireless interface doesn't work on this machine
 with OpenBSD, but that the wired one should work [2].  However the
 wired interface _isn't_ detected, and the installation script goes
 straight from 'System hostname?' to 'DNS domain name?' even though
 it's plugged in to an ethernet network which is offering DHCP
 services.  I can't see anything in the dmesg that's relevant (no 'fxp'
 or 'vlan').  I'm reasonably confident the network is behaving as it
 should, but it's _possible_, though unlikely, that the wired interface
 is simply broken (the machine's previous owner only ever used it
 wireless).  But there's not much to go on, and I'm uncertain how to
 debug this further.

 But it's OK!: I can install it from install54.iso, also dd'ed to a
 flash drive. (the machine's intended for offline use, so 'never
 connected to the internet' would be a somewhat desirable property).

 And this is where I'm stuck.

 The install54.iso isn't bootable in this context, but all I need to do
 is to boot the machine using floppy.fs, then mount the install54 flash
 drive, and give that as the 'disks' target.

 But (plan A) if I select 'disks' as the location of the sets, the
 only device that comes up is the internal hard disk, and this is true
 whether I have the install54 flash drive plugged in to the second USB
 port, alongside the floppy.fs drive on a USB expander, or burned to an
 SD card.  Again, nothing obviously relevant in dmesg -- I can see the
 wd0 device being detected, but no obvious 'USB failure'.  The USB port/bus
 works, since that's where the bootable floppy.fs is sitting.

 OK, Plan B.  The second-stage boot is detecting three devices (namely
 internal hard disk, plus the floppy.fs drive and the install54 drive):
 'hd0', 'hd1', 'hd2'.  So I try booting directly from there:

   boot b hd0:/5.4/i386/bsd

 (and so on through hd{0,1,2}{,a,c}:, with and without the leading
 slash, ..., -- I'm getting a bit desperate here), but I get 'no such
 file or directory' or 'invalid argument'.  Looking at 'm diskinfo'
 tells me that there are three devices there (which is what I expect),
 but not much more.

 I'm vague about the details, but I have a reasonably secure schematic
 understanding of the boot process, which doesn't conflict with what I
 read in [3].  I'd be interested to know what I'm missing or
 misunderstanding.

 Plan C: create a custom installer (eg [4, 5]).  That appears to depend
 on having a working OpenBSD system, to call /usr/mdec/installboot.
 But I don't -- the other OSs I have to hand are OS X and FreeBSD.

 Plan d (not worth a capital letter): it looks like I could try copying
 /bsd from /5.4/i386/bsd to the top of that filesystem and... see what
 happens, but (a) I run into filesystem support limitations on OS X,
 and (b) even if I dealt with that, I'd still have to make the modified
 filesystem bootable.  bless(8) [6] is the broad analogue of
 installboot on OS X, but I suspect it's specific to both HFS+ and to
 Apple's BIOS, so this seems unlikely to work.  Even then, 'flailing
 around blindly' is never a good problem solving strategy.

 Plan e: I could try booting the Mac with the floppy.fs, doing an
 OpenBSD install onto another flash drive, making _that_ bootable,
 and... no.  On my main work machine, that could go very wrong very
 quickly (!), and I'm not even going to go there unless I'm very
 confident I know what I'm doing.

 So there I am.  Plans A and B seem tantalisingly close to a solution,
 but missing a final step.  Writing out the email hasn't produced an
 'aha!'; a fair amount of googling suggests I'm not missing anything
 terribly obvious (somewhat surprisingly: this is a slightly odd
 configuration I'm attempting, but not insanely exotic); the
 misc@openbsd.org list doesn't appear to be searchable (right?).  So I
 seem to have exhausted the DIY possibilities.  Therefore...

 Dear list: What is the one line I'm missing?


Re: Install 5.4 onto netbook... almost

2014-04-06 Thread Tomas Bodzar
On Sun, Apr 6, 2014 at 7:09 PM, Norman Gray nor...@astro.gla.ac.uk wrote:

 Greetings.

 I'm trying to install the released OpenBSD 5.4 onto a old-ish netbook
 without an optical drive.  I thought I could do this via
 install54.iso; I can see where I need to get to, and can almost get
 there, but I can't find the last step.

 I suspect this needs only a 1- or 2-line answer.

 Target machine (not ideal, admittedly):

   * Acer Aspire One ZG8 ('no, don't throw it out, I'll try OpenBSD on
 it!') [1]
   * ...so i386
   * Internal disk
   * No optical drive, but two USB ports and an SD slot
   * Previously had Windows on it *shudder*
   * No dmesg, I'm afraid, since part of my problem is an inability to
 mount any storage.

 I can boot the machine with the floppy.fs image (dd'ed to a flash
 drive), and go through the configuration, accepting defaults, and
 whole-disk partitioning the internal disk, to the point where I select
 the full installation media.  This I can't do.

 Problem 0 is that the boot fails to detect networking hardware.  I
 understand that the wireless interface doesn't work on this machine
 with OpenBSD, but that the wired one should work [2].



ATT specs page is pretty crap (sounds like ATT :-)), but that type of
netbook was known under different model name as well which is AO531h. Here
are some much better details
http://drp.su/drivers/notebooks/?v=acerm=AO531hid=39058l=en and based on
that wired interface is really supposed to work and be supported by this
http://www.openbsd.org/cgi-bin/man.cgi?query=alesektion=4apropos=0manpath=OpenBSD+Currentarch=i386(not
sure why you were looking for fxp driver in dmesg). All of that is
anyway showing path for you. Install -current i386 on it, not old OpenBSD
5.4 release


  However the
 wired interface _isn't_ detected, and the installation script goes
 straight from 'System hostname?' to 'DNS domain name?' even though
 it's plugged in to an ethernet network which is offering DHCP
 services.  I can't see anything in the dmesg that's relevant (no 'fxp'
 or 'vlan').  I'm reasonably confident the network is behaving as it
 should, but it's _possible_, though unlikely, that the wired interface
 is simply broken (the machine's previous owner only ever used it
 wireless).  But there's not much to go on, and I'm uncertain how to
 debug this further.

 But it's OK!: I can install it from install54.iso, also dd'ed to a
 flash drive. (the machine's intended for offline use, so 'never
 connected to the internet' would be a somewhat desirable property).

 And this is where I'm stuck.

 The install54.iso isn't bootable in this context, but all I need to do
 is to boot the machine using floppy.fs, then mount the install54 flash
 drive, and give that as the 'disks' target.

 But (plan A) if I select 'disks' as the location of the sets, the
 only device that comes up is the internal hard disk, and this is true
 whether I have the install54 flash drive plugged in to the second USB
 port, alongside the floppy.fs drive on a USB expander, or burned to an
 SD card.  Again, nothing obviously relevant in dmesg -- I can see the
 wd0 device being detected, but no obvious 'USB failure'.  The USB port/bus
 works, since that's where the bootable floppy.fs is sitting.

 OK, Plan B.  The second-stage boot is detecting three devices (namely
 internal hard disk, plus the floppy.fs drive and the install54 drive):
 'hd0', 'hd1', 'hd2'.  So I try booting directly from there:

   boot b hd0:/5.4/i386/bsd

 (and so on through hd{0,1,2}{,a,c}:, with and without the leading
 slash, ..., -- I'm getting a bit desperate here), but I get 'no such
 file or directory' or 'invalid argument'.  Looking at 'm diskinfo'
 tells me that there are three devices there (which is what I expect),
 but not much more.

 I'm vague about the details, but I have a reasonably secure schematic
 understanding of the boot process, which doesn't conflict with what I
 read in [3].  I'd be interested to know what I'm missing or
 misunderstanding.

 Plan C: create a custom installer (eg [4, 5]).  That appears to depend
 on having a working OpenBSD system, to call /usr/mdec/installboot.
 But I don't -- the other OSs I have to hand are OS X and FreeBSD.

 Plan d (not worth a capital letter): it looks like I could try copying
 /bsd from /5.4/i386/bsd to the top of that filesystem and... see what
 happens, but (a) I run into filesystem support limitations on OS X,
 and (b) even if I dealt with that, I'd still have to make the modified
 filesystem bootable.  bless(8) [6] is the broad analogue of
 installboot on OS X, but I suspect it's specific to both HFS+ and to
 Apple's BIOS, so this seems unlikely to work.  Even then, 'flailing
 around blindly' is never a good problem solving strategy.

 Plan e: I could try booting the Mac with the floppy.fs, doing an
 OpenBSD install onto another flash drive, making _that_ bootable,
 and... no.  On my main work machine, that could go very wrong very
 quickly (!), and I'm not even 

Re: Keeping OpenBSD installation clean

2014-04-04 Thread Tomas Bodzar
On Fri, Apr 4, 2014 at 8:29 AM, Denis Fondras open...@ledeuns.net wrote:

 Hello all,

 I am using OpenBSD to test multiple softwares of any kind (that might
 become ports in the future) and I get to install many dependencies and
 my system becomes rotten and bloated with unused libraries and chunks
 pretty fast.
 So I end up reinstalling the system more often than I can handle to
 clean conflicting libraries.

 What is the (porter's) preferred way to keep the system clean ?

 Thank you in advance,
 Denis


Well best bet is to follow http://www.openbsd.org/faq/ports/index.html and
really work with it as with port on -current, this way you can keep your
system in consistent state and see what will work immediately, what may in
close future and what is total waste of time :-)



Re: Dual booting OpenBSD and Windows 8.1

2013-11-15 Thread Tomas Bodzar
On Fri, Nov 15, 2013 at 10:47 AM, Marc Espie es...@nerim.net wrote:

 On Fri, Nov 15, 2013 at 07:39:41AM +0100, Tomas Bodzar wrote:
  On Fri, Nov 15, 2013 at 6:01 AM, za...@gmx.com wrote:
 
   Hi
  
   I was thinking of dual booting OpenBSd and Windows 8.1. Has anyone
 managed
   to do that?
   I suppose I would have to install Windows first, and then OpenBSD.
   Does the OpenBSD installation include a boot manager such as GRUB?
   I have experience setting up dual booting with GRUB, when installing
   Linux. Is it ok if I follow the same procedure with OpenBSD? If not,
 how
   would you advise me to go about it?
  
 
 
  Why don't you follow official guide mentioned zillion of times everywhere
  around here?
  http://www.openbsd.org/faq/faq4.html#Multibooting

 Did you actually read that ? notice how it stops with Windows Vista/7 ?


It stops there because most probably devs were not in touch with Win 8+ to
try it, but it works exactly as described for Win 7


  There's everything you need so best is to start with FAQ, then dive in to
  man pages (like man afterboot will be pointed to you after install
 anyway).

 Nope, not really, not yet.

 For instance, good luck if you want to install everything on one
 single disk, and that disk is large enough.

 We don't have UPT support yet, for instance...



Yeah, having machine which is able to boot good old BIOS and not UEFI only
is first thing needed and for the disk size, well most of the laptops under
250GB, newer ones like 1TB, but those mostly some cheap machines have
problems to run anything outside of Win/Lin and even those a lot of times
with some issues. Reader was warned on start of that chapter that it's not
easy task to do multiboot :-)



Re: Dual booting OpenBSD and Windows 8.1

2013-11-14 Thread Tomas Bodzar
On Fri, Nov 15, 2013 at 6:01 AM, za...@gmx.com wrote:

 Hi

 I was thinking of dual booting OpenBSd and Windows 8.1. Has anyone managed
 to do that?
 I suppose I would have to install Windows first, and then OpenBSD.
 Does the OpenBSD installation include a boot manager such as GRUB?
 I have experience setting up dual booting with GRUB, when installing
 Linux. Is it ok if I follow the same procedure with OpenBSD? If not, how
 would you advise me to go about it?



Why don't you follow official guide mentioned zillion of times everywhere
around here?
http://www.openbsd.org/faq/faq4.html#Multibooting

As well your question about boot manager is answered here
http://www.openbsd.org/faq/faq8.html#Bootloader plus much more details for
every architecture in man pages, here for i386/amd64
http://www.openbsd.org/cgi-bin/man.cgi?query=boot_i386apropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html

Simply this is not OS where devs provide crappy or no documentation at all.
There's everything you need so best is to start with FAQ, then dive in to
man pages (like man afterboot will be pointed to you after install anyway).
Nearly everything you want to ask is answered here in fine form. And yes,
for multiboot if you will go step by step it will work, but be careful to
not wipe out your disk ;-)



 Thanks

 Zaf



Re: Mount CD/DVD and playback DVD as normal user

2013-11-13 Thread Tomas Bodzar
On Tue, Nov 12, 2013 at 9:48 PM, Laurence Rochfort 
laurence.rochf...@gmail.com wrote:

 Thanks Fred,

 /cdrom is the mount point, so no I don't think it should be a symlink.

 The command is:

 $ mount /dev/cd0a /cdrom
 mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted



You're pretty close. Please read this short thread
http://marc.info/?l=openbsd-miscm=121837771306968w=2 which will solve it
for you for sure. There are some limitations in combination of /etc/fstab
and kern.usermount


 On 12 November 2013 20:27, Fred open...@crowsons.com wrote:
  On 11/12/13 18:56, Laurence Rochfort wrote:
 
  Thanks Tomas,
 
  I have set kern.usermount=1 now and added myself to the operator
  group, but still get operation denied when trying to mount a cdrom.
 
  Does the below look right?
 
  Thank you
 
  $ sysctl kern.usermount
  kern.usermount=1
 
  $ groups
  laurence wheel operator
 
  $ ls -l / | grep cdrom
  drwxrwxr-x   2 root  operator  512 Nov  8 14:29 cdrom
 
  $ ls -l /dev/cd*
  brwxrw  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
  brw-rw  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
  brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
  brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
 
 
  Surely /cdrom should be a symbolic link to /dev/cd0a?
 
  ie:
 
  ln -fs /dev/cd0a /cdrom
 
  hth
 
  Fred
 
  PS what command are you running that gives an operation denied?



Re: Cellular network modems

2013-11-13 Thread Tomas Bodzar
Related to that is problem with new smartphones operating on MTP protocol
https://en.wikipedia.org/wiki/Media_Transfer_Protocol and not over regular
USB host.

Because of recently added fuse support in OpenBSD it may be possible to
access at least files, music, video on those phones eg. via
http://www.adebenham.com/mtpfs/ .

But access to internal GSM modem is not provided anymore. Yeah, there's
ability to create Wifi hotspot and share 2G/3G over that, but if one wants
to use pppd and such for direct access or com for sheer fun...


On Wed, Nov 13, 2013 at 5:16 AM, patrick keshishian pkesh...@gmail.comwrote:

 On 11/12/13, Stijn mail.st...@telenet.be wrote:
  On 11/11/2013 22:22, patrick keshishian wrote:
  Greetings,
 
  Saw this semi-related post[1], posting separately not to hijack it.
 
  Searching marc.info for cellular modem on misc@ archives
  finds mostly old, and posts about using mobile phones as
  cellular modems.
 
  Are there standalone cellular modem devices known to work
  with OpenBSD?
 
  Multi-Tech's QuickCarrier USB-D[2] caught my attention.
 
  --patrick
 
  [1] http://marc.info/?l=openbsd-miscm=138419004519701w=2
  [2] http://www.multitech.com/en_US/PRODUCTS/Families/QuickCarrierUSBD/
 
  Not OpenBSD per se, but I've been using the following Huawei device (via
  wifi) with great success:
 
 http://consumer.huawei.com/en/portable-internet/mobile-wifi/tech-specs/e5220-en.htm

 Thanks. That device is essentially what I'm looking for. A local
 WiFi to cellular network router. MultiTech also has similar, more
 industrial grade, cellular routers for local LAN (ethernet).

 This was a great reference, helping me get to:

 http://consumer.huawei.com/en/solutions/m2m-solutions/overview/index.htm

 Cheers,
 --patrick


  Basically it sets up a wireless hotspot so as long as your device has a
  wireless NIC you can have 3G connectivity.
 
  FYI, I just tried to see if USB tethering is working on this device but
  with no luck. Looks like the device ID is unknown(?) Anyway, dmesg and
  the usbdevs -dv output are available below. I also disconnected and
  reconnected the device so you can see what it spits out on the console.
 
  HTH,
  Stijn
 
  --- dmesg
  OpenBSD 5.4 (GENERIC) #37: Tue Jul 30 12:05:01 MDT 2013
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class)
  901 MHz
  cpu0:
 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,PERF
  real mem  = 1064366080 (1015MB)
  avail mem = 1035530240 (987MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 09/11/08, BIOS32 rev. 0 @ 0xf0010,
  SMBIOS rev. 2.5 @ 0xf06f0 (37 entries)
  bios0: vendor American Megatrends Inc. version 0906 date 09/11/2008
  bios0: ASUSTeK Computer INC. 900
  acpi0 at bios0: rev 0
  acpi0: sleep states S0 S3 S4 S5
  acpi0: tables DSDT FACP APIC OEMB MCFG
  acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4)
  MC97(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: apic clock running at 100MHz
  ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
  acpimcfg0 at acpi0 addr 0xe000, bus 0-255
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 5 (P0P3)
  acpiprt2 at acpi0: bus 3 (P0P5)
  acpiprt3 at acpi0: bus 1 (P0P6)
  acpiec0 at acpi0
  acpicpu0 at acpi0: C3, C2
  acpitz0 at acpi0: critical temperature is 90 degC
  acpibat0 at acpi0: BAT0 model 900 serial   type LION oem ASUS
  acpiac0 at acpi0: AC unit online
  acpiasus0 at acpi0
  acpibtn0 at acpi0: LID_
  acpibtn1 at acpi0: SLPB
  acpibtn2 at acpi0: PWRB
  bios0: ROM list: 0xc/0xf800!
  pci0 at mainbus0 bus 0: configuration mode 1 (bios)
  pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
  vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
  intagp0 at vga1
  agp0 at intagp0: aperture at 0xd000, size 0x1000
  inteldrm0 at vga1
  drm0 at inteldrm0
  inteldrm0: 1024x600
  wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
  wsdisplay0: screen 1-5 added (std, vt100 emulation)
  Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured
  azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: msi
  azalia0: codecs: Realtek ALC662
  audio0 at azalia0
  ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int
 16
  pci1 at ppb0 bus 4
  ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: apic 1 int
 17
  pci2 at ppb1 bus 3
  lii0 at pci2 dev 0 function 0 Attansic Technology L2 rev 0xa0: apic 1
  int 17, address 00:22:15:22:f5:9e
  atphy0 at lii0 phy 1: F2 10/100 PHY, rev. 2
  ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: apic 1 int
 18
  pci3 at ppb2 bus 1
  uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: apic 1 int
 23
  uhci1 at pci0 

Re: GM45 gpu hung error

2013-11-13 Thread Tomas Bodzar
On Wed, Nov 13, 2013 at 11:47 AM, ja...@cieti.lv wrote:

 :I am talking about recent snapshot. I use -current from 7/30/13 and I

 Recent as in the last 4 days.  The recent fixes are *very* *very*
 recent.

 OK, thanks for now. I'll test it and report the results as soon as I get
 to my notebook.



Because eg. Claudio has snapshot from 10.11.2013, but here are visible at
least two patches for Intel DRM from 11.11.2013 related to hangs and locks
of GPU http://marc.info/?l=openbsd-cvsw=2r=1s=drmq=b , as well Mesa
9.2.2 imported 9.11.2013 (but that's supposed to be in 10.10.2013 snapshot)



Re: GM45 gpu hung error

2013-11-13 Thread Tomas Bodzar
On Wed, Nov 13, 2013 at 12:07 PM, ja...@cieti.lv wrote:

 On Wed, Nov 13, 2013 at 11:47 AM, ja...@cieti.lv wrote:

  :I am talking about recent snapshot. I use -current from 7/30/13
 and I

 Recent as in the last 4 days.  The recent fixes are *very*
 *very*
 recent.

 OK, thanks for now. I'll test it and report the results as soon as
 I get to my notebook.


 Because eg. Claudio has snapshot from 10.11.2013, but here are visible
 at least two patches for Intel DRM from 11.11.2013 related to hangs
 and locks of GPU http://marc.info/?l=openbsd-cvsw=2r=1s=drmq=b [1]

 , as well Mesa 9.2.2 imported 9.11.2013 (but that's supposed to be in
 10.10.2013 snapshot)

  Aren't those fixes related to Haswell? I watch CVS commits closely to
 see if anything goes in that looks like a fix. Jonathan Gray once said that
 there may be fixes in newer versions of xf86-video-intel, but some gcc
 extension is required that OpenBSD does not have.


Right, my fault. Missed complete path in output. Those are for Haswell



Re: [OT] Loongson hardware in Europe

2013-11-13 Thread Tomas Bodzar
On Wed, Nov 13, 2013 at 1:35 PM, ropers rop...@gmail.com wrote:

 Having long wanted to run http://www.openbsd.org/loongson.html, I've
 just seen that the main EU vendor of Loongson/Lemote/Yeeloong has
 finally —temporarily, they say— significantly cut the hitherto
 relatively high cost of these machines.
 I'm not going to spam the URL, but if this interests you and you can't
 figure out who this is (it's not Wim; it's the other guys), then drop
 me a line.

 (I'm not affilitated with any of the aforesaid; I'm just posting
 because I would have appreciated the heads-up if I hadn't discovered
 this myself.)


I will spam for you :-)
http://www.tekmote.nl/epages/61504599.sf/en_GB/?ViewObjectPath=%2FShops%2F615
04599it's
interesting discount, however valid only till 18.11 , still I think
that's somewhat overpriced, especially older models. Yeah I know, not so
big amount of units and so on, but still those EU rules..



Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support

2013-11-12 Thread Tomas Bodzar
On Mon, Nov 11, 2013 at 10:56 AM, Andy a...@brandwatch.com wrote:

 On Fri 08 Nov 2013 18:28:38 GMT, Chris Cappuccio wrote:

 Andy [a...@brandwatch.com] wrote:

 Hi Chris,

 Yea that makes sense, as you say its pretty trivial and a divide by zero
 check is a common coding practice...

 I will try again as I only tried 'Max Performance' but it might mean
 until
 this is fixed we cannot enable 'Turbo+' at all.

 With the GIANT lock in OpenBSD I was really hoping that Turbo+ would
 work as
 that gives me a few hundred extra MHz on top of the default 3.5GHz Ivy
 clock
 in a single core etc.

 Please let me know if a commit for this is done and I will test using a
 snapshot :)

 Thanks for your time, Andy.


 My patch is almost certainly not the right solution. But it will
 possibly allow you to boot in turbo mode.

 So, it might be interesting to try it, or to try a version
 with the patch (to get a turbo mode dmesg for phessler) and also
 some extra info like:

 printf(high: %d low: %d cpuspeed %d\n,high,low,cpuspeed);

 in the est_init() function after high and low are calculated
 (of course).

 Perhaps the way that the est_fqlist is built is faulty
 for new CPUs, dmesg output from this might show this.

 For some reason I thought I had a Xeon 55xx but it's actually
 an E5-26xx, and not a v2 either. And doesn't show this
 problem as far as I can tell. Maybe I need to test it more!


 Ok, I'll have a go at writing the fix and test it, but expect some pretty
 newbie questions..

 It's been a /very/ long time since I've written any C and I've never tried
 to compile OpenBSD.

 I'll read http://www.openbsd.org/faq/faq5.html next weekend..


and man release ...



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Tomas Bodzar
On Mon, Nov 11, 2013 at 11:08 PM, Laurence Rochfort 
laurence.rochf...@gmail.com wrote:

 Hello,

 I'm trying to configure my laptop so that a normal user may mount a
 CD/DVD or playback a DVD in Xine.

 So far I've just put an entry in /etc/fbtab. /cdrom permissions look
 OK, but the devices themselves less so.



Check sysctl kern.usermount option



 What are the consequences of putting myself in the operator group?
 Where can I find a description of those groups?

 Advice greatly appreciated.

 Cheers,
 Laurence.

 drwxr-xr-x   2 root  wheel  512 Nov  8 14:29 cdrom

 brw-r-  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
 brw-r-  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
 brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
 brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
 crw-r-  1 root  operator   15,   0 Nov  8 14:13 /dev/rcd0a
 crw-r-  1 root  operator   15,   2 Nov  8 14:13 /dev/rcd0c
 crw-r-  1 root  operator   15,  16 Nov  8 14:13 /dev/rcd1a
 crw-r-  1 root  operator   15,  18 Nov  8 14:13 /dev/rcd1c

 #   $OpenBSD: fbtab.head,v 1.2 1999/05/05 06:56:34 deraadt Exp $
 # login(1) reads this file to determine which devices should be chown'd to
 # the new user. Format is:
 # login-tty permdevice:[device]:...
 /dev/ttyC0  0600
 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg
 /dev/X0 0600/dev/wsmouse:/dev/wsmouse0
 # samples
 #/dev/ttyC0 0600/dev/fd0
 /dev/ttyC4  0755/dev/cd0a:/dev/rcd0c



Re: OpenBSD maintenance compared to FreeBSD

2013-10-30 Thread Tomas Bodzar
On Wed, Oct 30, 2013 at 3:44 AM, David Noel david.i.n...@gmail.com wrote:

 I started playing around with FreeBSD back in the 2.2.7 days. I'd
 describe myself as a casual desktop/workstation user. Back in the day
 I was attracted to OpenBSD's heavy focus on security but was pulled
 towards FreeBSD due to a good friend of mine being a FreeBSD
 contributor (dude, trust me, it's the way to go). Recently I've
 purchased a handful of servers for a software project I've been
 working on and have started reconsidering my choice of OS's.
 Administering a single FreeBSD workstation isn't too much of a
 headache; I've kind of gotten used to having to rebuild kernel and
 world every few months as security advisories are released. But now
 that I'm administering 6 of them I'm really starting to get annoyed by
 the whole process: rebuild kernel... rebuild world... reboot, and then
 pray that it doesn't blow up in my face (as it often does). That got
 me thinking about OpenBSD. Looking at the security advisories the last
 one I see was from nearly a year and a half ago! That's pretty
 incredible to me. Does this mean that I could theoretically have
 gotten away with a year and a half uptime? What's the catch here? I'm
 sorry but I'm incredulous by how good it sounds so I have to ask. For
 me the biggest selling points of an operating system are security and
 maintenance. I've been wowed by ZFS, but really how often do
 filesystems need to be fsck'd? --and I never take snapshots. I feel
 like I could do without it. UFS+J is good enough. Given my priorities,
 does it sound like OpenBSD could be the one for me?


Best option is to try.

1) With stable you will need to compile if there's some security problem
found in core OS, but you can compile it on other machine and then do
binary upgrade from sets and not all security problems need complete
compile of OS. But a lot of people and I think all developers are using
current in production because simply it's so stable. I will say that
current is something like LTS of Ubuntu regarding real problems you will
encounter during regular use :-) Packages are updated in current, in stable
only some of them or really recommended to go for that service from M:tier
company

2) Start with reading FAQ immediately, that will give you a lot of info you
need for decision especially points 1,5,8,9

3) Filesystems. Well there's not journal, but there are at least softdeps
(of course not helping to shorten downtime). But filesystem is solid and is
able to go via a lot of problems which can render other systems like
ext2/3/4 unusable without a lot of manual work. Same is true for perfect
repair abilities of OpenBSD own packaging system for apps. If you want
something for storage maybe good idea is to make storage on DragonflyBSD
with their Hammer so you will get a lot of capability of ZFS and some not
even available in ZFS plus it's not so RAM hungry :-) and for the rest
using OpenBSD

Main point for me after years and probably for a lot of others is simply
that:

a) It works
b) It's simple
c) Text configs
d) Perfectly working binary upgrade between releases or snapshots so no
need to compile anything
e) Documenation
f) Good old Unix principles
g) No need to relearn every week/month/year something new just because some
crazy dev decided that even as it worked fine before he must re-write it
and break just because he can, he has power and just because he thinks that
everyone must be programmer (Lennart anyone? :D)

Playing occasionally with other BSDs just to see where they are and check
some interesting functions which are not here (Hammer, rump and so on), but
well. OpenBSD may get some things later, but once they are here they work
properly (KMS, suspend/resume, softraid crypto and raids, threading, own
ACPI and so on and so on).



Re: Full disk encryption and hibernate on amd64

2013-10-24 Thread Tomas Bodzar
On Thu, Oct 24, 2013 at 2:14 PM, David Coppa dco...@gmail.com wrote:

 On Thu, Oct 24, 2013 at 2:02 PM, Jiri B ji...@devio.us wrote:
  Hi,
 
  after I read mlarkin@'s report on Undeadly.org[1] about
  hibernation, I've got curious question.
 
  How does it work with full disk encryption (FDE) which
  OpenBSD offers?
 
  [1]
 http://undeadly.org/cgi?action=articlesid=20131024092852mode=expandedcount=0
 
  jirib

 It does not work, afaik



mmm yesterday installed my laptop Dell E6320 with -current amd64
including whole disk encrypted with softraid and was able to do zzz either
in console or X just fine including resume.



Re: Full disk encryption and hibernate on amd64

2013-10-24 Thread Tomas Bodzar
On Thu, Oct 24, 2013 at 2:21 PM, Jérémie Courrèges-Anglas
j...@wxcvbn.orgwrote:

 Tomas Bodzar tomas.bod...@gmail.com writes:

  On Thu, Oct 24, 2013 at 2:14 PM, David Coppa dco...@gmail.com wrote:
 
  On Thu, Oct 24, 2013 at 2:02 PM, Jiri B ji...@devio.us wrote:
   Hi,
  
   after I read mlarkin@'s report on Undeadly.org[1] about
   hibernation, I've got curious question.
  
   How does it work with full disk encryption (FDE) which
   OpenBSD offers?
  
   [1]
 

http://undeadly.org/cgi?action=articlesid=20131024092852mode=expandedcount
=0
  
   jirib
 
  It does not work, afaik
 
 
 
  mmm yesterday installed my laptop Dell E6320 with -current amd64
  including whole disk encrypted with softraid and was able to do zzz
 either
  in console or X just fine including resume.

 This is about ZZZ.

 --
 jca | PGP: 0x06A11494 / 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



right. Sry, my fault



Re: Looking for good, small, canadian version laptop suggestions

2013-10-10 Thread Tomas Bodzar
On Wed, Oct 9, 2013 at 7:11 PM, g.lister g.lis...@nodeunit.com wrote:

 - Original message -
 From Tomas Bodzar tomas.bod...@gmail.com
 Sent   Wed Oct   9 2013 11:29:07 AM CEST
 To g.lis...@nodeunit.com
 Subject Re: Looking for good, small, canadian version laptop suggestions


  On Wed, Oct 9, 2013 at 12:14 AM, g.lister g.lis...@nodeunit.com wrote:

  Hi guys,
 
  I am looking for some suggestions for a good, small quite laptop. I was
  looking at futureshop.ca and bestbuy.ca. I currently have an HP dv3
 which
  runs OpenBSD 5.2 but it is veeey loud some issue with keeping heat
 down
  it has i7 cores but I am willing to settle for a lot less threads and
 power
  I need it for some vim C coding and basic duties.
 

 Really 5.2 version? Why don't you try latest relase or better current
 which
 will have much better support of HW in your laptop.


 I tried 5.3, first, and it installed OK but at boot it stops at mtrr:
 Intel MTRR check after that is normally the USB stuff. I am not sure but I
 think I have to go into some kernel debugger to get anywhere from there and
 I needed to have OpenBSD setup so I can poke around using Michael's book.


What was the reaction on -current?



 Anyway the laptop is noisy with Linux and Windows and I have tried
 disabling fan always on in the BIOS to no avail, it is basically either
 badly made or the BIOS is to be blamed or..., which is why I decided to see
 what other people are using as a laptop and draw some conclusion from that.

 Thanks for reading.




 
  I would like to get something quieter and that also runs OpenBSD without
  major issues. I saw a lenovo thinkpad x131e on futureshop but it is
 kind of
  small on the screen size 11.6 and I am not sure if OpenBSD will work
 on it.
 
  Does anyone care to mention what they are using.
  Thanks in advance.
  Cheers,
  George



Re: Looking for good, small, canadian version laptop suggestions

2013-10-09 Thread Tomas Bodzar
On Wed, Oct 9, 2013 at 12:14 AM, g.lister g.lis...@nodeunit.com wrote:

 Hi guys,

 I am looking for some suggestions for a good, small quite laptop. I was
 looking at futureshop.ca and bestbuy.ca. I currently have an HP dv3 which
 runs OpenBSD 5.2 but it is veeey loud some issue with keeping heat down
 it has i7 cores but I am willing to settle for a lot less threads and power
 I need it for some vim C coding and basic duties.


Really 5.2 version? Why don't you try latest relase or better current which
will have much better support of HW in your laptop.



 I would like to get something quieter and that also runs OpenBSD without
 major issues. I saw a lenovo thinkpad x131e on futureshop but it is kind of
 small on the screen size 11.6 and I am not sure if OpenBSD will work on it.

 Does anyone care to mention what they are using.
 Thanks in advance.
 Cheers,
 George



Re: Backlight on lenovo ideapad

2013-10-05 Thread Tomas Bodzar
On Thu, Oct 3, 2013 at 1:28 AM, Jean Lucas nos...@gmail.com wrote:

 Hello,

 Is there a parallel for /sys/class/backlight, which under Linux would
 return the 2 backlight controllers in my machine (acpi_video0 and
 intel_backlight), for OpenBSD? Changing the backlight option in xorg.conf
 to intel_backlight doesn't do the trick. Man pages are welcomed.


Post your dmesg output and sysctl output to see what's in your laptop ;-)



Re: slow console

2013-09-24 Thread Tomas Bodzar
On Tue, Sep 24, 2013 at 4:48 AM, Chris Cappuccio ch...@nmedia.net wrote:

 Paul de Weerd [we...@weirdnet.nl] wrote:
 
  Probably the updates to your (now graphical) terminal.  Time is spent
  updating the frame buffer.  Consider it a feature: you can now
  (better) read along with what's happening ;)
 
  A workaround is to start processes that produce lots of output in a
  shell that isn't constantly outputting to the actual display (e.g. in
  a VT but switch away after starting, or in tmux but switch to another
  window after starting...)
 

 On most hardware, the text console under KMS really shouldn't
 be bad at all. Hardware that is very old but still supported
 by inteldrm will be much slower. It might be worth discussing
 text/VT console slowdowns with KMS on misc if you're using
 something newer than an intel 828xx video setup. Text mode
 performance is within the domain of the kernel's video code.
 Mark Kettenis tried some tricks that made text quite fast, but
 hung some chips, so the OpenBSD code was reverted to match Linux.

 Under X, KMS performance should be faster on a lot of
 hardware. The whole point of KMS is to bring modern, better
 supported drivers to OpenBSD (and get rid of the crappy X
 security model). If something performs worse under X+KMS,
 that may be worth discussing too. X performance depends on
 both the kernel and the X video driver. There are constant
 iterations happening here. It's nice to see regular updates of
 vendor-supported graphics code going into the tree.

 This stuff will keep evolving before the 5.5 release.

 KMS also gives people a chance to play with stuff like Wayland.
 Wayland which attempts to get rid of the inefficiencies of the
 X protocols.


This may help in long run for Nvidia graphics
http://lists.freedesktop.org/archives/nouveau/2013-September/014480.html



Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread Tomas Bodzar
On Mon, Sep 2, 2013 at 10:10 PM, andrew fabbro and...@fabbro.org wrote:

 On Mon, Sep 2, 2013 at 11:06 AM, Alexey E. Suslikov 
 alexey.susli...@gmail.com wrote:

  andrew fabbro andrew at fabbro.org writes:
 
   apm0 at bios0: Power Management spec V1.2
   acpi at bios0 function 0x0 not configured
 
  try acpi on this machine (boot -c and disable apm).
 

 Wow, that was the magic wand - after that, everything worked perfectly.
  Thank you very much.

 For future archive searchers - next step is to config the kernel to do that
 automatically: http://openbsd.org/faq/faq5.html#config


For your future don't forget that you need acpi on modern computers else
your computer is hardly useful.



Re: user can not shutdown PC in xfce

2013-08-27 Thread Tomas Bodzar
On Tue, Aug 27, 2013 at 2:34 PM, Fung fungm...@qq.com wrote:

 1. root login xfce can shutdown the pc smoothly using mouse.
 2. other user in xfce can not shutdown the pc, why?

 # visudo
 ...
 %wheel  ALL=(ALL) SETENV: ALL
 share ALL=NOPASSWD: /usr/local/lib/xfce4/session/xfsm-shutdown-helper
 ...

 # id share
 uid=1000(share) gid=1000(share) groups=1000(share), 0(wheel)


 # sysctl kern.version
 kern.version=OpenBSD 5.4-current (GENERIC.MP) #48: Sat Aug 24 20:31:41
 MDT 2013
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP


 # cat /usr/local/share/doc/pkg-readmes/xfce-4.10p0
 said
 Logging out and shutting down the computer
 ==
 If your installation supports complete shutdown, clicking on the logout
 button on panel will permit you to either logout, rebooting or halt
 the computer, provided you have the needed sudo credentials.
 If you don't want to have to enter your password, simply add this line
 to the /etc/sudoers file using visudo:
 $your_username ALL=NOPASSWD:
 /usr/local/lib/xfce4/session/xfsm-shutdown-helper
 ==


are you in operator group? ;-)

$ ls -l /sbin/shutdown
-r-sr-x---  1 root  operator  222416 Aug 20 00:46 /sbin/shutdown
$



Re: Error Report

2013-06-12 Thread Tomas Bodzar
On Tue, Jun 11, 2013 at 5:46 PM, Umut Berk Alkan
umutberkal...@outlook.comwrote:

 I don't know where to send this problem, can someone redirect this to
 correct
 mailing list please?


Sure, here it is http://www.openbsd.org/faq/faq2.html#Bugs and
http://www.openbsd.org/report.html



 Attachment: WP_20130611_003.jpg

 Windows Phone'umdan gönderildi

 [demime 1.01d removed an attachment of type image/jpeg which had a name of
 WP_20130611_003.jpg]



Re: Can't Mount CD-ROM (Newbie)

2013-06-11 Thread Tomas Bodzar
On Tue, Jun 11, 2013 at 2:43 PM, Umut Berk Alkan
umutberkal...@outlook.comwrote:

 Hi,

 I've installed OpenBSD 5.3 2 days ago machine of mine and now I want to
 add my CD-ROM for some purposes.

 Problem is that I can't mount the DVD/CD drive (DVD Multi Recorder R DL +
 RW DVD + R DL and COMPACT DISC ReWritable labels). OpenBSD installed
 successfully from the drive but now that I've booted the system from hard
 disk and I cannot access it.



what shows disklabel /dev/cd0 ?



 /etc/fstab

 417c67f1c919f8a0.b none swap sw
 417c67f1c919f8a0.a / ffs rw 1 1
 417c67f1c919f8a0.k /home ffs rw,nodev,nosuid 1 2
 417c67f1c919f8a0.d /tmp ffs rw,nodev,nosuid 1 2
 417c67f1c919f8a0.f /usr ffs rw,nodev 1 2
 417c67f1c919f8a0.g /usr/X11R6 ffs rw,nodev 1 2
 417c67f1c919f8a0.h /usr/local ffs rw,nodev 1 2
 417c67f1c919f8a0.j /usr/obj ffs rw,nodev,nosuid 1 2
 417c67f1c919f8a0.i /usr/src ffs rw,nodev,nosuid 1 2
 417c67f1c919f8a0.e /var ffs rw,nodev,nosuid 1 2
 /dev/cd0a /cdrom cd9660 ro,noauto 0 0

 mount -a isn't gives any kind of error / warning.

 # mount
 /dev/wd0a on / type ffs (local)
 /dev/wd0k on /home type ffs (local, nodev, nosuid)
 /dev/wd0d on /tmp type ffs (local, nodev, nosuid)
 /dev/wd0f on /usr type ffs (local, nodev)
 /dev/wd0g on /usr/X11R6 type ffs (local, nodev)
 /dev/wd0h on /usr/local type ffs (local, nodev)
 /dev/wd0j on /usr/obj type ffs (local, nodev, nosuid)
 /dev/wd0i on /usr/src type ffs (local, nodev, nosuid)
 /dev/wd0e on /var type ffs (local, nodev, nosuid)

 # mount /cdrom
 mount_cd9660: /dev/cd0a on /cdrom: Device not configured

 DMESG output:

 OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 4293394432 (4094MB)
 avail mem = 4156608512 (3964MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf06d0 (48 entries)
 bios0: vendor American Megatrends Inc. version 1101 date 06/08/2012
 bios0: ASUSTeK Computer INC. P5G41T-M LX
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI SSDT
 acpi0: wakeup devices P0P2(S4) P0P3(S4) P0P1(S4) UAR1(S4) PS2K(S4)
 PS2M(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) MC97(S4) P0P4(S4)
 P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) SLPB(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz, 2934.54 MHz
 cpu0:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF
 cpu0: 2MB 64b/line 8-way L2 cache
 cpu0: apic clock running at 288MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz, 3168.90 MHz
 cpu1:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF
 cpu1: 2MB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf000, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (P0P2)
 acpiprt2 at acpi0: bus -1 (P0P3)
 acpiprt3 at acpi0: bus 4 (P0P1)
 acpiprt4 at acpi0: bus 3 (P0P4)
 acpiprt5 at acpi0: bus 2 (P0P5)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 aibs0 at acpi0: RTMP RVLT RFAN GGRP GITM SITM
 acpibtn0 at acpi0: SLPB
 acpibtn1 at acpi0: PWRB
 cpu0: Enhanced SpeedStep 2934 MHz: speeds: 2936, 2670, 2403, 2136, 1870,
 1603 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel G41 Host rev 0x03
 ppb0 at pci0 dev 1 function 0 Intel G45 PCIE rev 0x03: msi
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0f00 rev
 0xa1
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 azalia0 at pci1 dev 0 function 1 NVIDIA GF108 HD Audio rev 0xa1: msi
 azalia0: no supported codecs
 azalia1 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: msi
 azalia1: codecs: Realtek/0x0887
 audio0 at azalia1
 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: msi
 pci2 at ppb1 bus 3
 ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: msi
 pci3 at ppb2 bus 2
 alc0 at pci3 dev 0 function 0 Attansic Technology L1C rev 0xc0: msi,
 address 54:04:a6:cd:2c:a0
 atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2 int 23
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2 int 19
 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2 int 18
 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2 int 16
 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2 int 23
 usb0 at ehci0: USB revision 2.0
 uhub0 

Re: OpenBSD problems on Dell R320 (not BCM 5720 related)

2013-06-09 Thread Tomas Bodzar
On Fri, Jun 7, 2013 at 4:08 PM, Loïc BLOT
loic.b...@unix-experience.frwrote:

 Hello misc,
 I have serious problems with my Dell R320 servers (6 servers but i use
 Intel em i350 cards). Before i was under OpenBSD 5.3 but problem also
 occurs on 5.2 (today it occurs).
 Sometimes (too often) the totally freeze. Nothing responds (but ICMP
 ping works...)

 Since 1 month i search to resolve this problem but i don't found where
 is the problem. I have tried all you mentioned about DDB without
 success.

 * Four systems handle 700 clients, and two have squid 3.2.5 compiled
 with small options (pf-transparent, ssl), and use also named, dhcpd and
 openOSPFd
 * The last two system uses only PF+openBGPd+openOSPFd.

 Before, i think it was related to LACP agregates, but two of the squid
 systems doesn't use agregates.
 I also think it's related to CARP, but only 4 four uses CARP...

 On each system, only 10% of bw is used (10-50Mbps), RAM is correct (each
 system has too many ram, 16Gbit and use only 8G for squid servers and
 200M for other servers).

 One month ago i have this network problem each 30 minutes on one server.
 I thinked about too many connections on my proxy.
 In UNIX logic, a network connection is a file. Then i have increased
 kern.maxfiles to 16K, openfiles-cur to 8k and openfiles-max to 16k.

 Since this moment, i haven't have crashed since today. Then i have
 increased all to 36K. Is this the good way ? Is there anything else to
 check ?? Must i set openfiles to infinity ??

 At this time, here is the current open files on the main squid router on
 the production:
 kern.nfiles=4701.

 Thanks for advance. If you need more details please tell me.



Good start will be to provide 'netstat -m, netstat -s, vmstat -i, vmstat
-s,dmesg,systat' outputs



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



Re: Is it possible to do with pf?

2013-05-30 Thread Tomas Bodzar
On Tue, May 28, 2013 at 9:11 PM, Mark Felder f...@feld.me wrote:

 Yes, it's in the man page for pf.conf. Search for user.


and maybe you will want it from other point of view so then check man authpf



Re: __guard_local issue

2013-05-22 Thread Tomas Bodzar
On Wed, May 22, 2013 at 12:30 PM, Bogdan Andu bo...@yahoo.com wrote:

 Hello,


 I compile from source Erlang R14B04 on a freshly installed OpenBSD 5.3
 amd64 machine, configured with preinstalled opensssl library
 /usr/lib/libssl.so.19.0 .



Why older version as there's package of newer one available anyway?
http://openports.se/lang/erlang



 $ /usr/sbin/openssl
 OpenSSL version
 OpenSSL 1.0.1c 10 May 2012
 OpenSSL
 ^D

 when I try to load the crypto module I get the follwing error:

 $erl
 Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2]
 [async-threads:0] [kernel-poll:false]

 Eshell V5.8.5  (abort with ^G)
 1 crypto:start().
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'
 /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto.so:
 undefined symbol '__guard_local'

 =ERROR REPORT 21-May-2013::15:19:12 ===
 Unable to load crypto library. Failed with error:
 load_failed, Failed to load NIF library
 

Re: inotify for BSD?

2013-05-16 Thread Tomas Bodzar
On Wed, May 15, 2013 at 1:25 PM, Peter J. Philipp p...@centroid.eu wrote:

 Hi,

 This is a question for devs really.  An inotify for BSD would be useful
 for me.  The URL for inotify explanation is at wikipedia:
 http://en.wikipedia.org/wiki/**Inotifyhttp://en.wikipedia.org/wiki/Inotify, 
 would you say something like this being added to /sys/kern/vfs_vops.c
 would be the right place for it?  If it's finished would something like
 this be included in OpenBSD, or would one have to maintain external patches
 across releases?

 Thanks,

 -peter


Maybe this http://www.tedunangst.com/kqueue.pdf and this
http://people.freebsd.org/~jlemon/papers/kqueue.pdf (Dfly/FBSD related) can
help you somewhat.



Re: smp

2013-05-16 Thread Tomas Bodzar
On Wed, May 15, 2013 at 10:03 PM, Alfonso S. Siciliano alfi...@gmail.comwrote:

 Hi,
 I'm trying to study the concurrency and the parallelism of OpenBSD.
 Fortunately SMP is supported on my platform, amd64.
 Where can I find documentation about what components are been
 parallelized? (queue, stack, etc.)

 Regards
 Alfonso

 
 Alfonso Sabato Siciliano alfi...@gmail.com
 http://www.alfix.org


Like this
http://www.openbsd.org/papers/eurobsd2012/guenther-rthreads/slide001.html
( http://www.youtube.com/watch?v=xAJpfy_Hhy4 ) ? Then man pages in system
for example.



Re: who is using obsd

2013-05-14 Thread Tomas Bodzar
On Mon, May 13, 2013 at 11:12 PM, Pau vim.u...@gmail.com wrote:

 on his/her laptop as *only* OS and uses it daily for scientific work?
 please contact me off list. Thanks


I'm not sure if there will be some official readings available (you can try
BSDmag and similar resources), but it's completely possible and fine as
long as there's SW you need in packages/ports or compilation works on your
own. And you know, here are in use tradional Unix/Unix-like things so
everything is possible.

Yes, having it as desktop instead of Windows and/or Linux is working
perfectly.



Re: Very slow NFS writes

2013-04-23 Thread Tomas Bodzar
On Mon, Apr 22, 2013 at 2:46 PM, Mattieu Baptiste mattie...@gmail.comwrote:

 Hi,

 I'm currently trying to access files from my OpenBSD -current/amd64
 workstation on a NAS under FreeNAS (8.3.1). On my workstation, the
 filesystem is a read/write NFS mounted share. Its size is about 5.2TB.
 While reading seems normal : about 45MB/s, writing is a lot slower
 (fluctuates between 10MB/s and 20MB/s) before eventually stall (under
 1MB/s). Note that at the start, my box is totally unresponsive. When the
 writes fall below 1MB/s, the box became responsive again.

 PF is disabled on my box and on both sides, I have em(4) interfaces
 (autoneg at 1000 baseT).

 With CIFS shares, the NAS can do a lot more throughput : above 50MB/s
 writes.

 I suspect problems with the OpenBSD NFS client since I saw problems like
 that in the archive. Moreover, the behavior of my box which became
 unresponsive when writing at 20MB/s seems strange.

 Any clues ?

 I'm sorry to not have more factual numbers... except the dmesg of my box.
 The NAS isn't accessible to me all the time. I can provide more details in
 the future.



You can start on client side as well to provide some numbers.

nfsstat -c
systat (check more screens)
vmstat
netstat -m
top
...





 OpenBSD 5.3-current (GENERIC.MP) #12: Mon Apr 15 15:18:44 CEST 2013
 matt...@kronenbourg.brimbelle.org:/usr/src/sys/arch/amd64/compile/
 GENERIC.MP
 real mem = 8571518976 (8174MB)
 avail mem = 8335634432 (7949MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0710 (68 entries)
 bios0: vendor American Megatrends Inc. version 2003 date 12/14/2010
 bios0: ASUSTeK Computer INC. P7P55D
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG OEMB HPET DMAR ASPT OSFR
 acpi0: wakeup devices P0P4(S4) BR1E(S4) UAR1(S4) PS2K(S4) PS2M(S4) EUSB(S4)
 USB0(S4) USB1(S4) USB2(S4) USB3(S4) USBE(S4) USB4(S4) USB5(S4) USB6(S4)
 BR21(S4) BR22(S4) BR23(S4) P0P1(S4) P0P3(S4) P0P5(S4) P0P6(S4) USB8(S4)
 BR20(S4) BR24(S4) BR25(S4) BR26(S4) BR27(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3374.33 MHz
 cpu0:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 cpu0: apic clock running at 160MHz
 cpu1 at mainbus0: apid 4 (application processor)
 cpu1: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.90 MHz
 cpu1:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 0, core 2, package 0
 cpu2 at mainbus0: apid 1 (application processor)
 cpu2: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.90 MHz
 cpu2:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 1, core 0, package 0
 cpu3 at mainbus0: apid 5 (application processor)
 cpu3: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.90 MHz
 cpu3:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 2, package 0
 ioapic0 at mainbus0: apid 6 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 1, remapped to apid 6
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 7 (BR1E)
 acpiprt2 at acpi0: bus -1 (BR21)
 acpiprt3 at acpi0: bus -1 (BR22)
 acpiprt4 at acpi0: bus -1 (BR23)
 acpiprt5 at acpi0: bus 1 (P0P1)
 acpiprt6 at acpi0: bus -1 (P0P3)
 acpiprt7 at acpi0: bus -1 (P0P5)
 acpiprt8 at acpi0: bus -1 (P0P6)
 acpiprt9 at acpi0: bus 6 (BR20)
 acpiprt10 at acpi0: bus 5 (BR24)
 acpiprt11 at acpi0: bus 4 (BR25)
 acpiprt12 at acpi0: bus 3 (BR26)
 acpiprt13 at acpi0: bus 2 (BR27)
 acpiec0 at acpi0
 acpicpu0 at acpi0
 acpicpu1 at acpi0
 acpicpu2 at acpi0
 acpicpu3 at acpi0
 aibs0 at acpi0: GGRP GITM SITM
 acpibtn0 at acpi0: PWRB
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core Host rev 0x12
 ppb0 at pci0 dev 1 function 0 Intel Core PCIE rev 0x12: msi
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon HD 4670 rev 0x00
 radeondrm0 at vga1: apic 6 int 16
 drm0 at radeondrm0
 wsdisplay0 at vga1 mux 1: console 

Re: user websites on apache chroot

2013-04-19 Thread Tomas Bodzar
good place for start http://www.openbsd.org/faq/faq10.html#httpdchroot


On Fri, Apr 19, 2013 at 3:07 AM, fek...@tormail.org wrote:

 I want to avoid using Apache 2.x for my server and want a chroot but where
 users can have their own webpages. It doesn't need to be automated I'm
 happy to edit httpd.conf to add each virtual server. I'd also like php to
 run as that user, can I run php via cgi on Apache 1.3?



Re: Precisions on ZFS (was: Millions of files in /var/www inode / out of space issue.)

2013-02-22 Thread Tomas Bodzar
On Thu, Feb 21, 2013 at 11:50 PM, Jeremie Le Hen jere...@le-hen.org wrote:
 On Thu, Feb 21, 2013 at 05:15:35PM -0500, Bryan Horstmann-Allen wrote:
 I apologize this is off-topic, but I'm somewhat close to the illumos project
 and would like to correct a few things.

 [...things corrected...]

 Well, thank you very much for correcting me and providing us high quality
 informations!

What's much more funny is that Oracle is paying for training and
support to Joyent to be able to offer at least some level of support
in ZFS for its own customers :D


 Regards,
 --
 Jeremie Le Hen

 Scientists say the world is made up of Protons, Neutrons and Electrons.
 They forgot to mention Morons.



Re: Emacs on OpenBSD for DEC VAX?

2013-01-29 Thread Tomas Bodzar
On Sat, Jan 26, 2013 at 4:58 PM, futzen fut...@gmail.com wrote:
 I have managed to install OpenBSD 5.2 on my DEC VaxStation 4000 Model 90 but
 to my surprise have not found a binary for Emacs (any version) for the VAX
 architecture. As best as I can tell I do not see it in the ports collection
 either.


How about 
http://www.openbsd.org/cgi-bin/man.cgi?query=mgapropos=0sektion=0manpath=OpenBSD+Currentarch=vaxformat=html
as replacement?

 Has anybody succeeded in installing any version of Emacs (or for that matter
 Zile) on the VAX architecture? Note that the VAX architecture distribution of
 OpenBSD uses a modified version of GCC 2.9.5 as it's compiler.

 Thanks.

 Sincerely,

 Hany.



Re: getting apps en masse

2013-01-29 Thread Tomas Bodzar
On Mon, Jan 28, 2013 at 12:33 AM, John Newton johnnewto...@yahoo.com wrote:
 Sirs: Especially Dewey and Jorge.I should have stated at the outset that I
 must download from public computer not using openbsd so wget would
 not work. I must work with the constraints of the mirror and my windows
 system. BTW this is version 5.1 i am using. Maybe osdisc.com has app
 repository for 5.1 but they don't say so explicitly on their site. To Jorge
 especially: no, most of the apps are not on the install set. They take up
 about 16 GB. Thanks to all


You can have some terminal fun (and in same time downloading in
terminal) even in Windows like
http://teusje.wordpress.com/2011/02/19/download-file-with-powershell/



Re: cups on 5.2

2013-01-23 Thread Tomas Bodzar
On Wed, Jan 23, 2013 at 10:23 AM, unix unixe...@club-internet.fr wrote:
 Hello guys.
 CUPS : A few months before, I run on OpenBSD 5.1 and all is running
 perfectly.
 Two months ago, I upgrade my OS to 5.2 and since it's impossible to install
 my old Epson Stylus Photo EX.
 On 5.1 I've installed :
 - cups
 - foomatic-db-gutenprint (meta package)
 and it's run perfectly
 On 5.2 the same way goes to the impossibility to install the printer.
 Since, I look for the fault, I've installed the 5.2 version several times.
 I uninstall the foomatic-db-gutenprint to compile directly from sourceforce
 (with gmake), no issue (gmake install goes wrong).
 I turn round.
 Thank you for your help.


I can remember some problems even with eg. Xerox printers and bugs in
CUPS. However newer version (1.6.1) of CUPS is in current only. A lot
of updates http://www.openbsd.org/cgi-bin/cvsweb/ports/print/cups/Makefile



Re: Could this be a faulty NIC?

2013-01-23 Thread Tomas Bodzar
On Wed, Jan 23, 2013 at 12:43 PM, Aaron Mason simplersolut...@gmail.com wrote:
 HI all

 Got an old HP Compaq NX9040 laptop that I've repurposed as a wireless
 client router running OpenBSD 5.1.  I've installed a Ralink RT2560 wireless
 card I salvaged from a broken D-Link print server.  The wireless has IP
 address 192.168.2.251, and the NIC has IP 172.16.1.254.

 My problem is if I connect to anything on the 172.16.1/24 network, even the
 router's NIC address, it drops out after a few minutes.  If I connect to
 the wireless IP, it's rock solid.

 The onboard network card is a shitty Realtek 8139 card you find on most
 laptops.  Could it just be that the onboard NIC's gone to the dogs, or
 could there be more at play here?  I don't see any errors appear in dmesg
 when the dropout occurs.


Try to look with netstat -i, netstat -s for interface or protocol
errors. With vmstat -i or default screen of systat if there's not some
interrupt storm.

 Full dmesg:

 OpenBSD 5.1 (GENERIC) #160: Sun Feb 12 09:46:33 MST 2012
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Celeron(R) M processor 1400MHz (GenuineIntel
 686-class) 1.40 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF
 real mem  = 233238528 (222MB)
 avail mem = 219344896 (209MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 07/07/04, BIOS32 rev. 0 @
 0xfd740, SMBIOS rev. 2.31 @ 0xdf010 (28 entries)
 bios0: vendor Hewlett-Packard version BF.04M1 date 07/07/2004
 bios0: Hewlett-Packard
 \M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?
 apm0 at bios0: Power Management spec V1.2
 acpi at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 2.1 @ 0xfd740/0x8c0
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #3 is the last bus
 bios0: ROM list: 0xc/0xcc00! 0xcd000/0x1000 0xdf000/0x1000! 
 0xe/0x4000!
 cpu0 at mainbus0: (uniprocessor)
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 mem address conflict 0xdf0/0x400
 pchb0 at pci0 dev 0 function 0 Intel 82855GM Host rev 0x02
 Intel 82855GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
 Intel 82855GM Config rev 0x02 at pci0 dev 0 function 3 not configured
 vga1 at pci0 dev 2 function 0 Intel 82855GM Video rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xe800, size 0x800
 inteldrm0 at vga1: irq 10
 drm0 at inteldrm0
 Intel 82855GM Video rev 0x02 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 10
 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 11
 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: couldn't
 map interrupt
 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
 pci1 at ppb0 bus 1
 mem address conflict 0xdf01000/0x1000
 mem address conflict 0xdf02000/0x1000
 rl0 at pci1 dev 0 function 0 Realtek 8139 rev 0x10: irq 10, address
 00:c0:9f:57:68:77
 rlphy0 at rl0 phy 0: RTL internal PHY
 cbb0 at pci1 dev 1 function 0 TI PCI1520 CardBus rev 0x01: couldn't
 map interrupt
 cbb1 at pci1 dev 1 function 1 TI PCI1520 CardBus rev 0x01: couldn't
 map interrupt
 ral0 at pci1 dev 6 function 0 Ralink RT2560 rev 0x01: irq 11,
 address 00:13:d3:73:00:bb
 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
 TI TSB43AB21 FireWire rev 0x00 at pci1 dev 7 function 0 not configured
 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03:
 24-bit timer at 3579545Hz
 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA,
 channel 0 configured to compatibility, channel 1 configured to
 compatibility
 pciide0: channel 0 disabled (no drives)
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: PHILIPS, CDRW/DVD CDD5263, UH89 ATAPI
 5/cdrom removable
 cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x03: irq 5
 iic0 at ichiic0
 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2100CL2.5
 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq 5, ICH4 
 AC97
 ac97: codec id 0x43585430 (Conexant CXT48)
 ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo
 audio0 at auich0
 Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured
 usb1 at uhci0: USB revision 1.0
 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb2 at uhci1: USB revision 1.0
 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at ichpcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 

Re: Interface and trunking performance

2013-01-22 Thread Tomas Bodzar
On Tue, Jan 22, 2013 at 4:02 PM, Patrick Vultier xinfor...@gmail.com wrote:
 Hi,

 I tried to use two OpenBSD systems as network load with iperf and netperf.

 Each server is equipped with two Intel dual NIC gigabit (plus one
 embedded gigabit NIC), two Xeon 3.2GHz H.T., 12GB RAM and OpenBSD 5.2
 i386.

Why i386 on 12GB of RAM? Did you test amd64 and best option current?


 My problem, I can't exceed ~ 870Mbps with multiple interface as
 reported in the experiments (see below).
 (PF was disabled for all experiment).

You think that 870Mbps is bad for 1Gbps card


 Why am I blocked at ~ 1Gbps limit ? Is this normal ?
 EM drivers ? Kernel performance ? ... ?

Maybe you want to try roundrobin option of
http://www.openbsd.org/cgi-bin/man.cgi?query=trunkapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html
to aggregate traffic instead of load balance or I don't understand.


 Thanks for your help.
 Xinform3n

 Initial post here: http://www.daemonforums.org/showthread.php?t=7618

 experiment 1:
 Server A - NIC em0 - Subnet A - @.111
 Server B - NIC em0 - Subnet B - @.222
 One-way test (64KB window): ~ 870Mbps

 experiment 2:
 Server A - NIC trunk0 - Subnet A - @.111
 Server A - NIC em0 - trunkport, loadbalance
 Server A - NIC em1 - trunkport, loadbalance
 Server B - NIC trunk0 - Subnet B - @.222
 Server B - NIC em0 - trunkport, loadbalance
 Server B - NIC em0 - trunkport, loadbalance
 Switch side is well configured in aggregation with a hash algorithm
 based on src.mac+dst.mac+src.ip+dst.ip+src.port+dst.port
 One-way test (64KB window): ~ 870Mbps
 Two parallel one-way test (64KB window): total don't exceed ~ 850Mbps

 experiment 3:
 Server A - NIC trunk0 - Subnet A - @.111 and @.112
 Server A - NIC em0 - trunkport, loadbalance
 Server A - NIC em1 - trunkport, loadbalance
 Server B - NIC trunk0 - Subnet B - @.222 and @.223
 Server B - NIC em0 - trunkport, loadbalance
 Server B - NIC em0 - trunkport, loadbalance
 Switch side is well configured in aggregation with a hash algorithm
 based on src.mac+dst.mac+src.ip+dst.ip+src.port+dst.port
 One-way test (64KB window): ~ 870Mbps
 Two parallel one-way test (64KB window, on different IP @): total
 don't exceed ~ 850Mbps

 experiment 4:
 Server A - NIC trunk0 - Subnet A - @.111 and @.112
 Server A - NIC em0 - trunkport, lacp
 Server A - NIC em1 - trunkport, lacp
 Server B - NIC trunk0 - Subnet B - @.222 and @.223
 Server B - NIC em0 - trunkport, lacp
 Server B - NIC em0 - trunkport, lacp
 Switch side is well configured in aggregation with LACP standard.
 One-way test (64KB window): ~ 870Mbps
 Two parallel one-way test (64KB window, on different IP @): total
 don't exceed ~ 850Mbps

 experiment 5:
 Server A - NIC em0 - Subnet A - @.111
 Server A - NIC em1 - Subnet B - @.111
 Server B - NIC em0 - Subnet A - @.222
 Server B - NIC em0 - Subnet B - @.222
 Two parallel one-way test (64KB window, on different IP @): total
 don't exceed ~ 850Mbps



Re: openBSD 5.2 amd64 on lenovo x201s

2013-01-03 Thread Tomas Bodzar
On Thu, Jan 3, 2013 at 8:15 PM, Andriy Samsonyuk
andriy.samson...@ch.tum.de wrote:
 On Thu, Jan 03, 2013 at 06:40:39PM +0100, Jes wrote:
 And probably no power on usb ports after resume, like my T410.
 have not checked yet

 Do i understand it correctly, that there is no chance of it
 running properly until the CEO of Intel want to improve his
 karma?

You need to run current with latest HW. Not release/stable.


 Thanx for your replys!

 Andriy

 --
 Your goose is cooked.
 (Your current chick is burned up too!)

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



Re: Wireless Atheros chipset compatibility

2013-01-01 Thread Tomas Bodzar
On Wed, Jan 2, 2013 at 8:08 AM, Yusof Khalid - FreeBSD / OpenBSD
frysha...@gmail.com wrote:
 Hi misc,

 Just want to know if someone has been successfully using this device on
 OpenBSD.

 Model : TL-WN751ND
 Chipset : Atheros

Too far from useful info. http://www.openbsd.org/faq/faq6.html#Wireless
At least dmesg and pcidump -v from that machine (or one where this
card is connected) will be fine. Eg. lspci from Linux for comparison
can be useful as well.


 One of my client would like to setup a wireless network with small range of
 users connect to the wifi network.

 Thanks in advance.

 --
 --
 7.2-RELEASE-p6



Re: OpenBSD desktop

2012-12-17 Thread Tomas Bodzar
On Mon, Dec 17, 2012 at 7:13 AM, Robert Connolly rob...@secondfloor.ca wrote:
 Hello.

 I have heard on IRC that I am running a vulnerable version of Firefox,
 despite running 'pkg_add -a -u', on my OpenBSD 5.2 system. The advice I got
 was to run snapshots, because OpenBSD does not have the human resources to
 maintain packages. I understand this is a problem, but I want to understand
 the best way of dealing with this problem.

 Am I expected to run 'pkg_add -a -u -n' daily, and then decide when to
 update to a -current snapshot and package tree? I am not being sarcastic...
 I have every intention of continuing to run OpenBSD, and I would like to
 know the best way of doing it.

On snapshots it's more easy. You do just upgrade from bsd.rd (like
regular install), after reboot sysmerge -s -x is your friend, check of
current.html in FAQ and pkg_add -ui. Completely binary process which
takes about 15 minutes or so. It depends on you how often you will do
that if every week, every day, once a month or so. Of course if you
will see during install of package some weird messages about libraries
or something else then it's good sign of need for update :-)


 Thank you.



Re: Kernel panic with Asus U36S on 5.2 and current amd64

2012-12-17 Thread Tomas Bodzar
On Sat, Dec 15, 2012 at 11:01 PM, Mike Larkin mlar...@azathoth.net wrote:
 On Sat, Dec 15, 2012 at 05:46:39PM +0100, Tomas Bodzar wrote:
 Hi all,

 my friend tested OpenBSD amd64 (5.2 and current) with Asus U36S, but
 install goes always fine. However first reboot always result in a
 kernel panic related to aml and acpi. BIOS is 203, there's newer one
 206 with updates to VGA bios and 205 was with updates to BIOS (Asus
 doesn't describe those well). I have three pictures taken by him of
 trace and ps if anyone interested (in ps is only swapper anyway).

 It boots once 'disable acpi' done in UKC. In terminal it looks fine
 (asking for dmesg), just doing startx hangs PC. He will try to update
 BIOS today.


 dmesg and panic text with trace, please. An acpidump would also be
 useful.

I will be able to collect those during this week. However this is
nVidia Optimus platform for VGA and even in latest BIOS there's not
switch to use only integrated Intel VGA so let's see what will happen.
On AC adapter it runs nVidia, without AC adapter it runs Intel.


 -ml



Kernel panic with Asus U36S on 5.2 and current amd64

2012-12-15 Thread Tomas Bodzar
Hi all,

my friend tested OpenBSD amd64 (5.2 and current) with Asus U36S, but
install goes always fine. However first reboot always result in a
kernel panic related to aml and acpi. BIOS is 203, there's newer one
206 with updates to VGA bios and 205 was with updates to BIOS (Asus
doesn't describe those well). I have three pictures taken by him of
trace and ps if anyone interested (in ps is only swapper anyway).

It boots once 'disable acpi' done in UKC. In terminal it looks fine
(asking for dmesg), just doing startx hangs PC. He will try to update
BIOS today.



Re: Hunning HA over multiple ARCH's

2012-12-04 Thread Tomas Bodzar
On Tue, Dec 4, 2012 at 11:42 PM, Joel Wirāmu Pauling j...@aenertia.net wrote:
 Yes CARP/LACP layer2 load balancing was my first preference of design.

 There is a very expensive Alcatel-Lucent 7750 on the upstream(red)
 side that these machines are plugged into which does our BGP session
 handling to our peer among other carrier things. These boxes whilst
 very capable - are esoteric when you want to any sort interactive
 inspection of L3 traffic, and I enjoy having the flexibility and
 familiarity of OpenBSD on the FW.

 In our existing setup I have noticed that with the existing SUN v215
 OBSD box ends up being the pinch point - especially when we have
 multicast running internally it becomes very noticeable wrt Latency
 and Throughput.

But actual version of OpenBSD is 5.2 and not 4.9. And A LOT changed
between those regarding performance. Is it performing bad even with
5.2? I think that devs will be interested in such a report.


 Sounds like I should retire the v215 - I was hoping I might be able to
 prolong it's life as part of the HA setup;  it boots very quickly in
 comparison to the HP hardware something quite useful in a Firewall -
 but seems I should perhaps put a Soekris or something else in-line for
 that purpose.

 Kind regards

 -Joel





 On 5 December 2012 11:27, Loïc BLOT loic.b...@frostsapphirestudios.com 
 wrote:
 Hi Joel,
 You can mix several architectures, that's not a problem for firewall and
 routers, IP is OS arch independant.
 The thing you must consider is packet processing. Some architectures are
 fast to process for packets than other (with equivalent perfs on paper).
 If you doesn't need low latency, you don't have to consider this thing.
 Do you want to make a load balanced infrastructure (like CARP LB) ?

 --
 Cordialement,
 Loïc BLOT, expertise en systèmes UNIX, sécurité et réseaux
 Frost Sapphire Studios

 Le mercredi 05 décembre 2012 à 10:15 +1300, Joel Wirāmu Pauling a
 écrit :

 Kia ora/hello,

 I am currently redesigning one of our border edge Firewalls and want
 to split the existing SPARC64 v215 into several DL140's in an HA -
 Active/Load-balanced configuration.

 The Sparc64 hasn't been without issues - and is currently running 4.9
 release + some patches and is due for a re-install in any-case.

 My question is whether or not it is considered a 'good idea' to mix
 and match Archs. Effectively The question is if it is worth retaining
 the v215 alongside the two dl140's as part of the border FW solution.


  question to determine if :

 a) Anyone is doing this? (mixing amd64/i386/sparc64)
 b) Gotcha's
 c) If this is generally considered a 'good idea'?



 Kind regards

 -Joel

 http://gplus.to/aenertia
 http://linkedin.com/in/aenertia
 @aenertia



Re: PRIMERGY RX200 S2 installation problems

2012-11-28 Thread Tomas Bodzar
On Wed, Nov 28, 2012 at 6:55 PM, Tony Berth tonybe...@googlemail.com wrote:
 Dear group,

 I was trying to install OBSD 5.2 on a Fujitsu-Siemens PRIMERGY RX200 S2
 (dual CPU) and I get following errors:

By any chance ability to try current?


 
 mpi0: timeout
 mpi0: phys disk Async at 0 MHz width 8bit offset 0 QAS 0 DT 0 IU 0
 em1 at pci3 dev 6 function 0 Intel PRO/100MT (82546GB) rev 0x03: apic 2
 int 16uvm_fault (0xd07f31d8, 0x0, 0, 1) - e
 fatal page fault (6) in supervisor mode
 trap type 6 code 0 eip 0 cs 50 eflags 10282 cr2 0 cpl 50
 panic: trap type 6, code=0, pc=0
 The operating system has halted
 Please press any key to reboot

Is there a way for you to get full report?
http://www.openbsd.org/faq/faq2.html#Bugs

 ---

 I aslo saw that the bsd.rd kernel was used during the boot process. Meaning
 that the smp mode is not used?

 Thanks

 Tony



Re: libiconv openssl expat

2012-11-24 Thread Tomas Bodzar
On Sat, Nov 24, 2012 at 5:39 PM, Raindy Long sop...@yeah.net wrote:
 Hi Misc,

 How about add these three software as the default packages in the list ?  
 There are so many opensource  depend on them.

In which list?

 Thanks .




 Raindy Long



Re: responding to buttonpress ACPI event sent by KVM/Qemu (same behavior in v5.2)

2012-11-24 Thread Tomas Bodzar
On Sat, Nov 24, 2012 at 7:08 PM, IMAP List Administration li...@y42.org wrote:
 Hello,

 some of you may remember a posting of mine here from March, 2012, in which I
 mentioned that the ACPI buttonpress event is not being correctly transmitted
 form a debian 6 host to an OpenBSD v5.1 guest.

 In the meantime I've installed a OBSD v5.2 system which exhibits exactly the
 same behavior -- the guest hangs (freezes) instantly and totally.

 I've seen similar posts in the past which yielded replies mostly to the effect
 of OpenBSD's implementation is clean, Linux must be the bad guy.

 I'm not interested in assigning blame, or seeing it assigned. I'd simply like 
 to
 see the problem solved, somehow.

 Would a developer be willing to have a look, if I set up a v5.2 sandbox on the
 debian host?

I think that for start devs will be missing what type of
virtualization you're using on Debian, then it will be fine to see
complete dmesg from OpenBSD guest 5.2 and as well latest snapshot.


 cheers,

 Robert Urban

 --- original message ---

 Hello,

 I'm trying to get a v5.0 system newly installed in a VM running on Debian v6
 am64 (squeeze) to respond properly when I execute virsh shutdown GUEST, 
 which
 apparently sends an ACPI power-button-press event to the guest.  I have acpi
 configured for the guest.

 Currently, when I run the command, the guest hangs totally.  All interactive
 sessions, including console are frozen, and the guest stops answering pings.

 It's not clear from the acpi(4) manpage what mechanism is/should be invoked 
 for
 this event, and what can be, or must be, configured for it to work.

 thanks,

 Robert Urban



Re: PERC H310: fdisk: Can't get disk geometry

2012-11-21 Thread Tomas Bodzar
On Wed, Nov 21, 2012 at 5:31 PM, mxb m...@alumni.chalmers.se wrote:
 Hi misc@,

 I have Dell R620 with PERC H310 with SSD attached to it.
 However, geometry is not calculated thus I'm unable to install -current on it.

 Any ideas how to solve this?

 mfi0 at pci3 dev 0 function Symbios Logic MegaRAID SAS2008 rev: 0x03: apic 
 1 int 10
 mfi0: PERC H310 Mini, firmware 20.11.0-0002
 scsibus0 at mfi0: 16 targets
 scsibus1 at mfi0: 256 targets
 sd0 at scsibus1 targ 0 lun 0: ATA, INTEL SSDSA2CW08, 0302 SCSI3 0/direct 
 fixed naa.50015179594ea2be

 # fdisk sd0
 fdisk: DIOCGPDINFO: Input/output error
 fdisk: Can't get disk geometry, please use [-chs] to specify
 #

It's saying what to do. Use 'fdisk -chs sd0' , but for that you need
to find more details about disk first.


 Regards,
 Maxim



Re: getting NetMos Nm9835 addon adapter to work gaining two more serial ports

2012-11-19 Thread Tomas Bodzar
On Tue, Nov 20, 2012 at 12:33 AM, Imre Oolberg i...@auul.pri.ee wrote:
 Hi!

 I am having hard time getting NetMos Nm9835 addon PCI adapter going for
 gaining two more com ports. OpenBSD 5.2-current of Nov 13 says on commodity
 i386 hardware

 # dmesg
 ...
 puc0 at pci0 dev 8 function 0 NetMos Nm9835 rev 0x01: ports: 2 com, 1 lpt
 com3 at puc0 port 0 irq 10: ns16550a, 16 byte fifo
 com4 at puc0 port 1 irq 10: ns16550a, 16 byte fifo
 lpt3 at puc0 port 2 irq 10

 and /etc/ttys has

 # cat /etc/ttys
 ...

 tty03   /usr/libexec/getty std.9600   vt200 off secure
 tty04   /usr/libexec/getty std.9600   vt200 off secure

But you need to have on here http://www.openbsd.org/faq/faq7.html#SerCon


 Issuing usual cu gives

 # cu -l /dev/cua03 -s 9600
 Connected
 and stays here

 # cu -l /dev/cua03 -s 9600
 Connected
 and stays here

 I would be thankful if somebody comments whether i am doing wrong something
 obious or this particular device isnt supposed to work on OpenBSD although
 man puc kind of says it should. (Actually haven't tried this particular
 piece on anything else yet). Or some advice how to debug it to get some
 meaningful information to make it possible to help me further. (And i also
 tried to serve serial console from this computer on cua03 and cua04, no
 luck).


 Best regards,

 Imre

 PS This computer has two onboard com ports and they work both ways, i.e. as
 serial consoles and as means to get connected to serial consoles elsewhere.
 So cable should be good (so to say factory null modem cable).

 OpenBSD 5.2-current (GENERIC) #82: Tue Nov 13 13:09:22 MST 2012
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: AMD Duron(tm) Processor (AuthenticAMD 686-class, 64KB L2 cache) 698
 MHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,MMXX,3DNOW2,3DNOW
 real mem  = 2146955264 (2047MB)
 avail mem = 2100928512 (2003MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 10/06/00, BIOS32 rev. 0 @ 0xfb350,
 SMBIOS rev. 2.3 @ 0xf0800 (38 entries)
 bios0: vendor Award Software International, Inc. version 6.00 PG date
 10/06/2000
 bios0: VIA Technologies, Inc. VT8363
 apm0 at bios0: Power Management spec V1.2 (slowidle)
 acpi at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 2.1 @ 0xf/0xb7d0
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd00/176 (9 entries)
 pcibios0: PCI Exclusive IRQs: 5 10
 pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1800
 cpu0 at mainbus0: (uniprocessor)
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 VIA VT8363 Host rev 0x03
 viaagp0 at pchb0: v2
 agp0 at viaagp0: aperture at 0xd000, size 0x1000
 ppb0 at pci0 dev 1 function 0 VIA VT8363 AGP rev 0x00
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 NVIDIA Vanta rev 0x15
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x22
 pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x10: ATA66, channel
 0 configured to compatibility, channel 1 configured to compatibility
 wd0 at pciide0 channel 0 drive 0: WDC WD2000JB-32EVA0
 wd0: 16-sector PIO, LBA48, 190781MB, 390719855 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, CD-RW GCE-8520B, 1.03 ATAPI
 5/cdrom removable
 cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x10: irq 5
 uhci1 at pci0 dev 7 function 3 VIA VT83C572 USB rev 0x10: irq 5
 viapm0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x30: SMI
 iic0 at viapm0
 spdmem0 at iic0 addr 0x50: 1GB SDRAM registered ECC PC133CL2
 spdmem1 at iic0 addr 0x51: 1GB SDRAM registered ECC PC133CL2
 viapm0: 24-bit timer at 3579545Hz
 auvia0 at pci0 dev 7 function 5 VIA VT82C686 AC97 rev 0x20: irq 10
 ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
 ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
 audio0 at auvia0
 puc0 at pci0 dev 8 function 0 NetMos Nm9835 rev 0x01: ports: 2 com, 1 lpt
 com3 at puc0 port 0 irq 10: ns16550a, 16 byte fifo
 com4 at puc0 port 1 irq 10: ns16550a, 16 byte fifo
 lpt3 at puc0 port 2 irq 10
 em0 at pci0 dev 9 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 10,
 address 00:0e:0c:b0:96:b6
 em1 at pci0 dev 10 function 0 Intel PRO/1000MT (82545GM) rev 0x04: irq 10,
 address 00:04:23:bd:17:d9
 fxp0 at pci0 dev 11 function 0 Intel 8255x rev 0x0c, i82550: irq 5,
 address 00:03:47:9b:76:56
 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
 re0 at pci0 dev 12 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB
 (0x1000), irq 10, address 00:06:4f:63:e3:d7
 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
 isa0 at pcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: 

Re: ThinkPad W530 Intel HD Graphics 4000 friendly to puffy?

2012-11-18 Thread Tomas Bodzar
On Sun, Nov 18, 2012 at 10:56 AM, Jorge Armendariz
tedeumjo...@lavabit.com wrote:
 Hello this is Jorge,

 Just wondering I just recently bought my workstation, now I am looking
 into a laptop. From this place, http://laclinux.com/gnu/Laptop they are
 pretty much configuring a ThinkPad W530 (laptop workstation). They give
 you the option of choosing the nVidia card or the Intel HD Graphics
 4000. Given that the Intel HD Graphics is open source I am wondering how
 friendly it is to puffy? I tried searching the mailing list, and man
 pages. To be honest I kind of did not even know where to look given that
 it is integrated graphics (other than using the search feature could not
 find anything in the usual places). The main reason why I want this
 laptop is because it has upgradeable RAM up to 32 GB.

 If there are no drivers written for this yet, how much until you think
 it will be compatible (that is the drivers written for it)?

Not sure if it's still Sandrybridge
http://www.lenovo.com/products/us/tech-specs/laptop/thinkpad/w-series/w530/
, but OpenBSD doesn't have KMS yet (just partiall parts) which means
that most probably it will work, just don't expect much 3D power on
Intel. Best option will be to try install latest snapshot if you can
and post dmesg, pcidump -v, usbdevs -v, Xorg.0.log outputs.


 Thanks appreciate the help.

 [demime 1.01d removed an attachment of type application/pkcs7-signature which 
 had a name of smime.p7s]



Re: Unified BSD?

2012-11-16 Thread Tomas Bodzar
On Fri, Nov 16, 2012 at 9:34 AM, Hub- FreeBSD free...@hub.org wrote:

 Actually, according to what we are tracking at http://bsdstats.org, there are 
 currently *8*:

 PC-BSD
 FreeBSD
 PYC-BSD (aka Rus-BSD)
 DesktopBSD
 OpenBSD
 NetBSD
 DragonflyBSD
 MidnightBSD


Tracking something like DesktopBSD which doesn't exist for quite a
long time make statistics not much useful. MidnightBSD seems to be
same case as last activy on mailing list last year in May, forums
doesn't working at all so we are still on 4 core BSDs
(Open/Net/Free/Dfly).


 On 2012-11-16, at 12:30 AM, Alfred Perlstein bri...@mu.org wrote:

 On 11/13/12 2:45 AM, Ignatios Souvatzis wrote:
 On Tue, Nov 13, 2012 at 10:08:08AM +0100, Joost van de Griek wrote:
 On 12 Nov 2012, at 21:37 , Robin  Björklin robin.bjork...@gmail.com 
 wrote:

 Am I bat crap crazy for thinking it could be good to merge the four 
 largest BSD variants out there, take the best bits and pieces out of each 
 and create a Unified BSD?

 You'd end up creating a fifth.
 At least a sixth, IIRC. You left out MirBSD from your distribution list.
 Also, you could argue that Minix, with its NetBSD compatibility,
 is a seventh and MacOS-X, with its partially (Free-/Net-)BSD compatible
 userland, an eighth.

 And Free/Net derived kernel.  (at least for unix services: vfs, inet, 
 process)

  -is
 ___
 freebsd-c...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-chat
 To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org

 ___
 freebsd-c...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-chat
 To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org



Re: Noppoo Mini Choc 84 USB keyboard can not work correctly on OpenBSD 5.2 (loongson)

2012-11-14 Thread Tomas Bodzar
On Wed, Nov 14, 2012 at 3:24 PM, yunplusplus yunplusp...@163.com wrote:
 After the Noppoo keyboard plugged in, usbdevs -dv shows:

 Controller /dev/usb0:
 addr 1: high speed, self powered, config 1, EHCI root hub(0x),
 NEC(0x1033), rev 1.00
   uhub0
  port 1 powered
  port 2 powered
  port 3 powered
 Controller /dev/usb1:
 addr 1: high speed, self powered, config 1, EHCI root hub(0x),
 AMD(0x1022), rev 1.00
   uhub1
  port 1 addr 2: high speed, power 500 mA, config 1, USB2.0-CRW(0x0158),
 Generic(0x0bda), rev 58.87, iSerialNumber 2007111417340
umass0
  port 2 powered
  port 3 powered
  port 4 addr 4: high speed, power 500 mA, config 1, RTL8187B(0x8189),
 Realtek(0x0bda), rev 2.00, iSerialNumber 00e04c01
urtw0
 Controller /dev/usb2:
 addr 1: full speed, self powered, config 1, OHCI root hub(0x),
 NEC(0x1033), rev 1.00
   uhub2
  port 1 powered
  port 2 powered
  port 3 powered
 Controller /dev/usb3:
 addr 1: full speed, self powered, config 1, OHCI root hub(0x),
 AMD(0x1022), rev 1.00
   uhub3
  port 1 powered
  port 2 addr 2: low speed, power 100 mA, config 1, USB Keyboard(0x0022),
 vendor 0x1006(0x1006), rev 1.40
uhidev0
uhidev1
  port 3 powered
  port 4 powered

 I am upgrading my system form 5.2 to current version.
 I hope it will work correctly on the current version.
 Thank you for your advise.

However I think you need to do this (you need to do that and test on
current anyway)
http://undeadly.org/cgi?action=articlesid=20080315134047 or
http://undeadly.org/cgi?action=articlesid=20070207152423 because I
can't see your device in /usr/src/sys/dev/usb/usbdevs*






 At 2012-11-14 14:06:57,Tomas Bodzar tomas.bod...@gmail.com wrote:
On Wed, Nov 14, 2012 at 6:19 AM, yunplusplus yunplusp...@163.com wrote:
 PLATFORM: Yeelong 2F 8089D
 OS:   OpenBSD 5.2 stable
 PROBLEM:   Noppoo Mini Choc 84 USB keyboard do not work correctly on my
 system.
  For exampIe, when I type Enter, but get 5
 displayed on the screen.


 When I plug in my Noppoo Mini Choc 84 USB keyboard, the dmesg is:
 ukbd1 detached
 uhidev1 detached
 uhidev0 at uhub3 port 2 configuration 1 interface 0 vendor 0x1006 USB
 Keyboard rev 2.00/1.40 addr 2
 uhidev0: iclass 3/1
 ukbd0 at uhidev0: 64 variable keys, 0 key codes
 wskbd1 at ukbd0 mux 1
 wskbd1: connecting to wsdisplay0
 uhidev1 at uhub3 port 2 configuration 1 interface 1 vendor 0x1006 USB
 Keyboard rev 2.00/1.40 addr 2
 uhidev1: iclass 3/0, 3 report ids
 uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
 ukbd1 at uhidev1 reportid 3: 56 variable keys, 0 key codes
 wskbd2 at ukbd1 mux 1
 wskbd2: connecting to wsdisplay0


 Another Logitech USB keyboard  works well. Its dmesg is:
 uhidev0 at uhub3 port 2 configuration 1 interface 0 Logitech Logitech
 USB Keyboard rev 1.10/28.00 addr 2
 uhidev0: iclass 3/1
 ukbd0 at uhidev0: 8 variable keys, 6 key codes
 wskbd1 at ukbd0 mux 1
 wskbd1: connecting to wsdisplay0


 It seems that the OS detect two devices when I plugged in my Noppoo Mini
 Choc 84 USB keyboard.
 By the way, this Noppoo Mini Choc 84 USB keyboard works well on several
 diffirent linux distributions i ever used.


 Can any one help me?

Can you post output of usbdevs -dv ? Can't see 0x1006 related with
your device in /usr/src/sys/dev/usb , but any chance to try current?



 Thanks.



Re: Noppoo Mini Choc 84 USB keyboard can not work correctly on OpenBSD 5.2 (loongson)

2012-11-14 Thread Tomas Bodzar
On Wed, Nov 14, 2012 at 9:37 PM, Stuart Henderson s...@spacehopper.org wrote:
 On 2012-11-14, Tomas Bodzar tomas.bod...@gmail.com wrote:
 However I think you need to do this (you need to do that and test on
 current anyway)
 http://undeadly.org/cgi?action=articlesid=20080315134047 or
 http://undeadly.org/cgi?action=articlesid=20070207152423 because I
 can't see your device in /usr/src/sys/dev/usb/usbdevs*

 For many USB devices, there are common device classes with
 standard(ish) drivers, devices in those classes will automatically
 attach to the relevant driver. In this case the device already
 attaches to uhid(4) and ukbd(4) based on the device class.


Maybe this can be problem http://deskthority.net/wiki/Noppoo_Choc_Mini
here? Specifically http://deskthority.net/wiki/NKRO-over-USB_issues


 On Wed, Nov 14, 2012 at 3:24 PM, yunplusplus yunplusp...@163.com wrote:
 After the Noppoo keyboard plugged in, usbdevs -dv shows:

 This gives more information which might be useful,

 pkg_add usbutils
 lsusb -d 1006: -v

 (-d 1006: restricts to devices matching the vendor ID of this keyboard).



Re: Noppoo Mini Choc 84 USB keyboard can not work correctly on OpenBSD 5.2 (loongson)

2012-11-13 Thread Tomas Bodzar
On Wed, Nov 14, 2012 at 6:19 AM, yunplusplus yunplusp...@163.com wrote:
 PLATFORM: Yeelong 2F 8089D
 OS:   OpenBSD 5.2 stable
 PROBLEM:   Noppoo Mini Choc 84 USB keyboard do not work correctly on my 
 system.
  For exampIe, when I type Enter, but get 5 displayed 
 on the screen.


 When I plug in my Noppoo Mini Choc 84 USB keyboard, the dmesg is:
 ukbd1 detached
 uhidev1 detached
 uhidev0 at uhub3 port 2 configuration 1 interface 0 vendor 0x1006 USB 
 Keyboard rev 2.00/1.40 addr 2
 uhidev0: iclass 3/1
 ukbd0 at uhidev0: 64 variable keys, 0 key codes
 wskbd1 at ukbd0 mux 1
 wskbd1: connecting to wsdisplay0
 uhidev1 at uhub3 port 2 configuration 1 interface 1 vendor 0x1006 USB 
 Keyboard rev 2.00/1.40 addr 2
 uhidev1: iclass 3/0, 3 report ids
 uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
 ukbd1 at uhidev1 reportid 3: 56 variable keys, 0 key codes
 wskbd2 at ukbd1 mux 1
 wskbd2: connecting to wsdisplay0


 Another Logitech USB keyboard  works well. Its dmesg is:
 uhidev0 at uhub3 port 2 configuration 1 interface 0 Logitech Logitech USB 
 Keyboard rev 1.10/28.00 addr 2
 uhidev0: iclass 3/1
 ukbd0 at uhidev0: 8 variable keys, 6 key codes
 wskbd1 at ukbd0 mux 1
 wskbd1: connecting to wsdisplay0


 It seems that the OS detect two devices when I plugged in my Noppoo Mini Choc 
 84 USB keyboard.
 By the way, this Noppoo Mini Choc 84 USB keyboard works well on several 
 diffirent linux distributions i ever used.


 Can any one help me?

Can you post output of usbdevs -dv ? Can't see 0x1006 related with
your device in /usr/src/sys/dev/usb , but any chance to try current?



 Thanks.



Re: Internet Connection - Load Balancing and Failover

2012-11-12 Thread Tomas Bodzar
On Mon, Nov 12, 2012 at 11:09 PM, Walter Neto wsouz...@gmail.com wrote:
 Hello guys,

 I have two internet connections, and I want to make load balancing and
 failover service, I had read about pf load balancing and multi-path route,
 what is the difference between them.

 Which is the better to use in my scenario?

 And for failover, the best solution is ifstated(8)?

One of the possible approaches, but maybe easier for you will be
http://www.openbsd.org/cgi-bin/man.cgi?query=trunkapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html


 thanks in advance.

 Walter Neto



Re: Possible regression on dhclient (current)

2012-11-12 Thread Tomas Bodzar
On Mon, Nov 12, 2012 at 11:12 PM, Ville Valkonen weezeld...@gmail.com wrote:
 On 13 November 2012 00:09, Joerg Zinke m...@umaxx.net wrote:

 Are you really on latest -current?
 There was a fix committed for a descriptor leak, which results in the
 problems you describe.
 http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/dhclient/kroute.c.diff?r1=1.12;r2=1.13;f=h

 Noup, and thanks for the pointer. Will upgrade asap and sorry for the noise.

Saw that for one day as well, but update to latest did help.



Re: uhub error

2012-11-11 Thread Tomas Bodzar
On Sun, Nov 11, 2012 at 5:15 PM, Chris Chung chunc...@gmail.com wrote:
 On Sun, Nov 11, 2012 at 08:14:49AM +0100, Tomas Bodzar wrote:
 On Sun, Nov 11, 2012 at 2:53 AM, Chris Chung chunc...@gmail.com wrote:
  Hello,
 
  When attempting to connect an external hard drive through a usb port I'm
  receiving the error below. I can sucessfully mount my dvd drive and sd 
  memory
  cards without issue. This could be a hardware issue, but I'm not
  sure. I have read the relevant FAQ sections along with the man pages for
  disklabel and mount but still at a loss, so any additional insights would 
  be appreciated.
 
  # /var/log/messages
  openbox /bsd: uhub5: device problem, disabling port 2
 

 From code 
 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/uhub.c?rev=1.59

 if (err) {
   DPRINTFN(-1,(uhub_explore: usbd_new_device failed, 
error=%s\n, usbd_errstr(err)));
   /* Avoid addressing problems by disabling. */
   /* usbd_reset_port(dev, port, up-status); */

   /*
* The unit refused to accept a new address, or had
* some other serious problem.  Since we cannot leave
* at 0 we have to disable the port instead.
*/
   printf(%s: device problem, disabling port %d\n,
  sc-sc_dev.dv_xname, port);
   usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE);

  # 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: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 
  686-class) 2.67 GHz
  cpu0: 
  FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF
  real mem  = 3178491904 (3031MB)
  avail mem = 3116384256 (2972MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 03/17/11, BIOS32 rev. 0 @ 0xfdc50, 
  SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
  bios0: vendor LENOVO version 6FET88WW (3.18 ) date 03/17/2011
  bios0: LENOVO 4063HK6
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S3 S4 S5
  acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA 
  SSDT SSDT SSDT
  acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) 
  EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) 
  EHC0(S3) EHC1(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 266MHz
  cpu1 at mainbus0: apid 1 (application processor)
  cpu1: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 
  686-class) 2.67 GHz
  cpu1: 
  FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF
  ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
  ioapic0: misconfigured as apic 2, remapped to apid 1
  acpimcfg0 at acpi0 addr 0xe000, 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 -1 (EXP2)
  acpiprt5 at acpi0: bus 5 (EXP3)
  acpiprt6 at acpi0: bus 13 (EXP4)
  acpiprt7 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 is 127 degC
  acpitz1 at acpi0: critical temperature is 100 degC
  acpibtn0 at acpi0: LID_
  acpibtn1 at acpi0: SLPB
  acpibat0 at acpi0: BAT0 model 42T4620 serial  1283 type LION oem 
  Panasonic
  acpibat1 at acpi0: BAT1 not present
  acpiac0 at acpi0: AC unit offline
  acpithinkpad0 at acpi0
  acpidock0 at acpi0: GDCK not docked (0)
  bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 
  0xd2000/0x1000 0xde000/0x1800! 0xe/0x1
  cpu0: Enhanced SpeedStep 2661 MHz: speeds: 2667, 2666, 2133, 1600, 800 MHz
  pci0 at mainbus0 bus 0: configuration mode 1 (bios)
  pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
  vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  intagp0 at vga1
  agp0 at intagp0: aperture at 0xd000, size 0x1000
  inteldrm0 at vga1: apic 1 int 16
  drm0 at inteldrm0
  Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
  Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
  puc0 at pci0 dev 3 function 3 Intel GM45 AMT SOL rev 0x07: ports: 1 com
  com3 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo

Re: uhub error

2012-11-11 Thread Tomas Bodzar
On Mon, Nov 12, 2012 at 12:11 AM, Chris Chung chunc...@gmail.com wrote:
 On Sun, Nov 11, 2012 at 07:05:43PM +0100, Tomas Bodzar wrote:
 On Sun, Nov 11, 2012 at 5:15 PM, Chris Chung chunc...@gmail.com wrote:
  On Sun, Nov 11, 2012 at 08:14:49AM +0100, Tomas Bodzar wrote:
  On Sun, Nov 11, 2012 at 2:53 AM, Chris Chung chunc...@gmail.com wrote:
   Hello,
  
   When attempting to connect an external hard drive through a usb port I'm
   receiving the error below. I can sucessfully mount my dvd drive and sd 
   memory
   cards without issue. This could be a hardware issue, but I'm not
   sure. I have read the relevant FAQ sections along with the man pages for
   disklabel and mount but still at a loss, so any additional insights 
   would be appreciated.
  
   # /var/log/messages
   openbox /bsd: uhub5: device problem, disabling port 2
  
 
  From code 
  http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/uhub.c?rev=1.59
 
  if (err) {
DPRINTFN(-1,(uhub_explore: usbd_new_device failed, 
  
 error=%s\n, usbd_errstr(err)));
/* Avoid addressing problems by disabling. */
/* usbd_reset_port(dev, port, up-status); */
 
/*
 * The unit refused to accept a new address, or had
 * some other serious problem.  Since we cannot 
  leave
 * at 0 we have to disable the port instead.
 */
printf(%s: device problem, disabling port %d\n,
   sc-sc_dev.dv_xname, port);
usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE);
 
   # 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: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 
   686-class) 2.67 GHz
   cpu0: 
   FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF
   real mem  = 3178491904 (3031MB)
   avail mem = 3116384256 (2972MB)
   mainbus0 at root
   bios0 at mainbus0: AT/286+ BIOS, date 03/17/11, BIOS32 rev. 0 @ 
   0xfdc50, SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
   bios0: vendor LENOVO version 6FET88WW (3.18 ) date 03/17/2011
   bios0: LENOVO 4063HK6
   acpi0 at bios0: rev 2
   acpi0: sleep states S0 S3 S4 S5
   acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT 
   TCPA SSDT SSDT SSDT
   acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) 
   EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) 
   EHC0(S3) EHC1(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 266MHz
   cpu1 at mainbus0: apid 1 (application processor)
   cpu1: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 
   686-class) 2.67 GHz
   cpu1: 
   FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF
   ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
   ioapic0: misconfigured as apic 2, remapped to apid 1
   acpimcfg0 at acpi0 addr 0xe000, 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 -1 (EXP2)
   acpiprt5 at acpi0: bus 5 (EXP3)
   acpiprt6 at acpi0: bus 13 (EXP4)
   acpiprt7 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 is 127 degC
   acpitz1 at acpi0: critical temperature is 100 degC
   acpibtn0 at acpi0: LID_
   acpibtn1 at acpi0: SLPB
   acpibat0 at acpi0: BAT0 model 42T4620 serial  1283 type LION oem 
   Panasonic
   acpibat1 at acpi0: BAT1 not present
   acpiac0 at acpi0: AC unit offline
   acpithinkpad0 at acpi0
   acpidock0 at acpi0: GDCK not docked (0)
   bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 
   0xd2000/0x1000 0xde000/0x1800! 0xe/0x1
   cpu0: Enhanced SpeedStep 2661 MHz: speeds: 2667, 2666, 2133, 1600, 800 
   MHz
   pci0 at mainbus0 bus 0: configuration mode 1 (bios)
   pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
   vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
   wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
   wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
   intagp0 at vga1
   agp0 at intagp0: aperture at 0xd000, size 0x1000
   inteldrm0 at vga1: apic 1 int 16
   drm0 at inteldrm0
   Intel GM45 Video

Re: question about built-in support for full disk encryption

2012-11-11 Thread Tomas Bodzar
On Sun, Nov 11, 2012 at 8:04 PM, Jiri B ji...@devio.us wrote:
 On Sun, Nov 11, 2012 at 11:20:53AM +, hepta tor wrote:
 Thanks for the pointer. Do you know if there are any guidelines on how
 to configure FDE with what's implemented in -current?
 At 
 http://geekyschmidt.com/2011/01/19/configuring-openbsd-softraid-fo-encryption
 there is a kind of mini tutorial on how to configure softraid for
 encryption - does anyone know if this is compatible with what's
 implemented in -current?
   -h

 1. During installation jump to shell
 2. fdisk sd0
 3. disklabel sd0, so sd0a is RAID, no sd0b as swap!
 4. cd /dev ; sh ./MAKEDEV sd1 ; cd /
 5. bioctl -c C -l /dev/sd0a softraid0
 6. dd if=/dev/zero of=/dev/rsd1c bs=1m count=1
 7. /install and use sd1 as your disk for usual installation
 8. couple of enters...
 9. change /mnt/etc/sysctl.conf to have 'vm.swapencrypt.enable=0'
 10. reboot

 Of course, no warranty.

Works like a charm ;-) Tested now.


 jirib



Re: uhub error

2012-11-10 Thread Tomas Bodzar
On Sun, Nov 11, 2012 at 2:53 AM, Chris Chung chunc...@gmail.com wrote:
 Hello,

 When attempting to connect an external hard drive through a usb port I'm
 receiving the error below. I can sucessfully mount my dvd drive and sd memory
 cards without issue. This could be a hardware issue, but I'm not
 sure. I have read the relevant FAQ sections along with the man pages for
 disklabel and mount but still at a loss, so any additional insights would be 
 appreciated.

 # /var/log/messages
 openbox /bsd: uhub5: device problem, disabling port 2


From code http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/uhub.c?rev=1.59

if (err) {
DPRINTFN(-1,(uhub_explore: usbd_new_device failed, 
 error=%s\n, usbd_errstr(err)));
/* Avoid addressing problems by disabling. */
/* usbd_reset_port(dev, port, up-status); */

/*
 * The unit refused to accept a new address, or had
 * some other serious problem.  Since we cannot leave
 * at 0 we have to disable the port instead.
 */
printf(%s: device problem, disabling port %d\n,
   sc-sc_dev.dv_xname, port);
usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE);

 # 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: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 686-class) 
 2.67 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF
 real mem  = 3178491904 (3031MB)
 avail mem = 3116384256 (2972MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 03/17/11, BIOS32 rev. 0 @ 0xfdc50, 
 SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
 bios0: vendor LENOVO version 6FET88WW (3.18 ) date 03/17/2011
 bios0: LENOVO 4063HK6
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA 
 SSDT SSDT SSDT
 acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
 EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
 EHC1(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 266MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 686-class) 
 2.67 GHz
 cpu1: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 2, remapped to apid 1
 acpimcfg0 at acpi0 addr 0xe000, 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 -1 (EXP2)
 acpiprt5 at acpi0: bus 5 (EXP3)
 acpiprt6 at acpi0: bus 13 (EXP4)
 acpiprt7 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 is 127 degC
 acpitz1 at acpi0: critical temperature is 100 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 42T4620 serial  1283 type LION oem Panasonic
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit offline
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 
 0xd2000/0x1000 0xde000/0x1800! 0xe/0x1
 cpu0: Enhanced SpeedStep 2661 MHz: speeds: 2667, 2666, 2133, 1600, 800 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1: apic 1 int 16
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
 puc0 at pci0 dev 3 function 3 Intel GM45 AMT SOL rev 0x07: ports: 1 com
 com3 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
 com3: probed fifo depth: 0 bytes
 em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 
 00:22:68:11:dc:fd
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20
 uhci1 at 

Re: Low latency High Frequency Trading

2012-11-08 Thread Tomas Bodzar
On Thu, Nov 8, 2012 at 8:55 PM, Diana Eichert deich...@wrench.com wrote:
 take a look at Tilera TileGX boards
 (you better hire a s/w developer.)


Some company is already working on that
http://mail-index.netbsd.org/netbsd-users/2012/10/31/msg011803.html



Re: hardware suggestion: off topic (probably)

2012-11-06 Thread Tomas Bodzar
On Tue, Nov 6, 2012 at 5:28 PM, Friedrich Locke
friedrich.lo...@gmail.com wrote:
 Dear list members,

 I have setted up a web server in my working environment and i was asked to
 install webalizer. Now my boss asked me to install a tool that looks at
 webalizer stats files and suggest a hardware capacity for that workload
 reported by webalizer.

 I dont know what to tell him. Why do you think he asked me that ?

For example https://en.wikipedia.org/wiki/Webalizer#Criticism and you
will be able to find a lot of others. That's for your boss :-) You can
continue here https://en.wikipedia.org/wiki/List_of_web_analytics_software
, but webalizer and piwik (or even more) are available in OpenBSD
ports/packages. Real question is what your boss wants to achieve and
if he knows why he needs something like that at all as that is mostly
biggest issue. That's however your job to prove that solution you
implemented out of your ideas (not one you were forced to do by higher
management) is working as expected and as company needs. Then it's
easy and you can offer alternatives and show results from that. If
your boss is looking just for some stick then best is to simply
implement it and clearly stating why it will not help (after you test
yourself) and that he will be responsible for false results out of
that (they are mostly scared to be responsible for something).

BTW here on misc@ are people which are using integrated Apache 1.3.x
with thousands of clients on not so modern HW so even virtual machine
can keep that pretty good (if you are not on some crippled
virtualization - which is not these days? :-)). It just leads to thing
that even tools in base system like
pflow,systat,pfctl,netstat,iostat,vmstat,top,sar and some others you
can measure pretty well if your webserver really needs physical HW.



Re: eGalax touchscreen for Exopc

2012-11-04 Thread Tomas Bodzar
On Mon, Nov 5, 2012 at 12:42 AM, Brett brett.ma...@gmx.com wrote:
 Hi,

 I've just installed amd64 snapshot on an Exopc and am trying to see if it can 
 use the touchscreen. From the dmesg below, its an uhts(4) eGalax Inc. USB 
 TouchController rev 1.10/10.06.

 I tried to use xtsscale -v -d 7 and -d 8 to calibrate the pointer (7 is 
 wsmouse0, 8 is wsmouse1). In both cases, the touch screen calibration 
 screen comes up, but it does not detect me pressing the screen. Is there much 
 chance of getting this touchscreen to work?

 dmesg, usbdevs, and Xorg.0.log follow.

 Thanks,
 Brett.


 OpenBSD 5.2-current (GENERIC.MP) #96: Sat Nov  3 14:43:34 MDT 2012
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 2134208512 (2035MB)
 avail mem = 2054971392 (1959MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe9150 (52 entries)
 bios0: vendor American Megatrends Inc. version Lucid-CE-133 date 11/22/2010
 bios0: EXOPC EXOPG06411
 acpi0 at bios0: rev 3
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG SLIC HPET ECDT
 acpi0: wakeup devices P0P3(S4) USB0(S3) USB1(S3) USB2(S3) EUB1(S3) USB4(S3) 
 EUB2(S3) P0P9(S4) P0PA(S4) P0PB(S4) P0PC(S4) P0PD(S4) P0PE(S4) AC0_(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Atom(TM) CPU N450 @ 1.66GHz, 1679.47 MHz
 cpu0: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF
 cpu0: 512KB 64b/line 8-way L2 cache
 cpu0: apic clock running at 167MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Atom(TM) CPU N450 @ 1.66GHz, 1679.23 MHz
 cpu1: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF
 cpu1: 512KB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf000, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiec0 at acpi0
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 3 (P0P3)
 acpiprt2 at acpi0: bus 1 (P0P9)
 acpiprt3 at acpi0: bus -1 (P0PA)
 acpiprt4 at acpi0: bus 2 (P0PB)
 acpiprt5 at acpi0: bus -1 (P0PC)
 acpiprt6 at acpi0: bus -1 (P0PD)
 acpiprt7 at acpi0: bus -1 (P0PE)
 acpiec at acpi0 not configured
 acpicpu0 at acpi0:, C3, C2, C1, PSS
 acpicpu1 at acpi0:, C3, C2, C1, PSS
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT0
 acpibtn0 at acpi0: PWRB
 acpiasus at acpi0 not configured
 cpu0: Enhanced SpeedStep 1679 MHz: speeds: 1667, 1500, 1334, 1167, 1000 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x00
 vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xe000, size 0x1000
 inteldrm0 at vga1: apic 4 int 16
 drm0 at inteldrm0
 Intel Pineview Video rev 0x00 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x04: apic 4 int 16
 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x04: apic 4 int 21
 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x04: apic 4 int 18
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x04: msi
 azalia0: codecs: Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x04: msi
 pci1 at ppb0 bus 1
 athn0 at pci1 dev 0 function 0 Atheros AR9285 rev 0x01: apic 4 int 16
 athn0: AR9285 rev 2 (1T1R), ROM rev 14, address 48:5d:60:22:03:07
 ppb1 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x04: msi
 pci2 at ppb1 bus 2
 vendor Broadcom, unknown product 0x1615 (class multimedia subclass 
 miscellaneous, rev 0x00) at pci2 dev 0 function 0 not configured
 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x04: apic 4 int 23
 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x04: apic 4 int 19
 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x04: apic 4 int 18
 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x04: apic 4 int 23
 usb1 at ehci1: USB revision 2.0
 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf4
 pci3 at ppb2 bus 3
 pcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x04
 pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x04: DMA, channel 
 0 configured to compatibility, channel 1 configured to compatibility
 pciide0: channel 0 disabled (no drives)
 pciide0: channel 1 disabled (no drives)
 pciide1 at pci0 dev 31 function 2 Intel 82801HBM SATA rev 0x04: DMA, 
 channel 0 configured to native-PCI, channel 1 configured 

Re: 5.2 SSD machine won't boot

2012-11-03 Thread Tomas Bodzar
On Sat, Nov 3, 2012 at 6:30 PM, Devin Ceartas de...@nacredata.com wrote:
 On Sat, Nov 3, 2012 at 11:35 AM, Devin Ceartas de...@nacredata.com wrote:

 On Sat, Nov 3, 2012 at 12:38 AM, Tomas Bodzar tomas.bod...@gmail.comwrote:

 On Fri, Nov 2, 2012 at 11:50 PM, Devin Ceartas de...@nacredata.com
 wrote:
  On Fri, Nov 2, 2012 at 3:10 PM, Devin Ceartas de...@nacredata.com
 wrote:
 
  On Nov 2, 2012, at 3:04 PM, Tyler Morgan wrote:
 
   On 11/2/2012 6:39 AM, Devin Ceartas wrote:
   hp laptop with Intel SSD won't boot under 5.2 - the problem
 reported on
  
   screen appears to be the one described here:
  
  
 
 http://old.nabble.com/Re%3A-Fwd%3A--mSATA-failure-on-6501-w--OpenBSD-5.0-td32881415.html#a32884546
  
   ahci0: stopping the port, softreset slot 31 was still active.
  
   ahci0: failed to reset port during timeout handling, disabling it
  
   Does anyone have a patch to try or is there a way to boot into the
 full
  
   system starting from a CD or network boot?
  
   -- devin
 
 
   Boots reliably when running Current. Thanks, lesson learned.
  



 Problem is back. Booted several times from the Oct. 30 snapshot. Did the
 CVS sync to latest -current, and ports. Tried to install XFCE and found the
 default disk layout didn't have room for all the dependencies to be built.
  So started over again from snapshot, rearranging the disk layout. Now I
 have am back to repeated failures to boot with the AHCI error message. I
 can find no where to toggle this in the very minimal BIOS (interface is
 labeled InsydeH2) Setup Utility). Back to being stuck :-(

 devin


 If I wanted to hack on a solution to this AHCI (softraid related?) issue
 with SSDs, where would I start?


Look at sources, check who's mostly working on that part and ask him,
search in tech@ if something similar worked on or you can send patches
to that mailing list. Or are you asking more wider question about how
to develop on OpenBSD?

 devin



Re: 5.2 SSD machine won't boot

2012-11-02 Thread Tomas Bodzar
On Fri, Nov 2, 2012 at 2:39 PM, Devin Ceartas nacred...@gmail.com wrote:
 hp laptop with Intel SSD won't boot under 5.2 - the problem reported on

Do you have a chance to try current snapshot on that?


 screen appears to be the one described here:

 http://old.nabble.com/Re%3A-Fwd%3A--mSATA-failure-on-6501-w--OpenBSD-5.0-td32881415.html#a32884546



 ahci0: stopping the port, softreset slot 31 was still active.


 ahci0: failed to reset port during timeout handling, disabling it



 Does anyone have a patch to try or is there a way to boot into the full

 system starting from a CD or network boot?



 -- devin


 --
 Devin M. Ceartas, owner NacreData L.L.C.
 nacred...@gmail.com
 i...@nacredata.com
 (919) 442-8899
 AIM: nacredata
 skype IM: nacredata



Re: 5.2 SSD machine won't boot

2012-11-02 Thread Tomas Bodzar
On Fri, Nov 2, 2012 at 11:50 PM, Devin Ceartas de...@nacredata.com wrote:
 On Fri, Nov 2, 2012 at 3:10 PM, Devin Ceartas de...@nacredata.com wrote:

 On Nov 2, 2012, at 3:04 PM, Tyler Morgan wrote:

  On 11/2/2012 6:39 AM, Devin Ceartas wrote:
  hp laptop with Intel SSD won't boot under 5.2 - the problem reported on
 
  screen appears to be the one described here:
 
 
 http://old.nabble.com/Re%3A-Fwd%3A--mSATA-failure-on-6501-w--OpenBSD-5.0-td32881415.html#a32884546
 
  ahci0: stopping the port, softreset slot 31 was still active.
 
  ahci0: failed to reset port during timeout handling, disabling it
 
  Does anyone have a patch to try or is there a way to boot into the full
 
  system starting from a CD or network boot?
 
  -- devin


  Boots reliably when running Current. Thanks, lesson learned.


For changing kernel without need to recompile you can do
http://www.openbsd.org/faq/faq5.html#BootConfig (of course that not
everything can be done here, but for disabling ACPI it's ok).
As you are on current now (better to say snapshots, on current you
will be when following man release), but for most of the users it's
easier to follow snapshots as you can 1) upgrade your system from
bsd.rd binary (during boot at prompt boot boot /bsd.rd and choose
(U)pgrade) 2) man sysmerge (-s and -x switches) 3) pkg_add -ui 4)
checking current.html

With that completely new system, configs and packages in a quick way
without need to recompile plus latest bug/security fixes and version
of packages. How often to do this is completely on you. You can run
eg. for 6 months or more on snapshot, but if you will want to install
some package then most probably you will hit some issues with
libraries during install and that' simply sign that you really need to
upgrade :-) That sign can come even after one week of usage of course,
but as that binary update process Is so straightforward then it's no
worry about that.



Re: remote out-of-band management / intel vpro

2012-11-02 Thread Tomas Bodzar
On Fri, Nov 2, 2012 at 9:07 PM, Dewey Hylton dewey.hyl...@gmail.com wrote:
 for some of my remote customers, as well as my own office, i'm looking for an 
 out-of-band management solution that's cheaper than iLO or DRAC. remote power 
 management would be nice, but network KVM is a must. i read about intel vpro 
 / amt recently and just started looking into it; it seems to be baked into 
 most of their q-series chipsets.

 has anyone here successfully used the intel solution for KVM or anything 
 else? how about unsuccessfully? having something baked into the chipset makes 
 me worry about compatibility with openbsd, as i'm not sure just how 
 transparent/non-invasive it is.

 reports either way would be appreciated - as would another usable solution.


Just saw it in 52.html

Added support for using AMT to provide console-over-Ethernet (c.f. the
amtterm package) http://openports.se/comms/amtterm

So maybe good chance for you



Re: pf and torrenting

2012-11-01 Thread Tomas Bodzar
On Wed, Oct 31, 2012 at 11:08 PM, Matt M. cmorrow...@gmail.com wrote:
 I am trying to get torrenting to work but I can't seem to get any packets to
 go through. Tcpdump shows attempted activity and nothing blocked,but the
 torrent client itself doesn't seem to be receiving anything from any torrent
 I have tried.
 The torrent client is using port 58846

Which torrent client, what command line options used, what was in
tcpdump, what version of OpenBSD.


 From the pf.conf:
 ---

 ext_if=rl0

 
 

 pass in on $ext_if proto tcp from any to any port 58846 rdr-to 192.168.1.101
 port 58846


Useless without complete pf.conf. You can trim out IPs for safety



  1   2   3   4   5   6   7   >