Re: more Thinkpad T60 X/video woes (5.0-stable amd64)

2012-02-02 Thread Tomas Bodzar
On Wed, Feb 1, 2012 at 11:17 PM, Jonathan Thornburg
jth...@astro.indiana.edu wrote:
 In a thread back in November 2011,
 B http://marc.info/?t=132173453400070r=1w=1
 I reported intermittent kernel/X hangs (usually under near-idle loads)
 on a Thinkpad T60 widescreen laptop (alas I misspelled the name as
 Tinkpad in the Subject: line) running 5.0-stable amd64. B My full
 dmesg is given in the first message in that thread,
 B http://marc.info/?l=openbsd-miscm=132105242827683w=1
 along with various other (hopefully-)relevant information. B There's
 also more information on the problem symptoms in my later messages in
 that thread,
 B http://marc.info/?l=openbsd-miscm=132103762123592w=1
 B http://marc.info/?l=openbsd-miscm=132137790200900w=1

 I've now gathered a bit more information, and have some new questions
 for the list:


 Moving to 5.0-stable made no difference to this problem.
 Switching between GENERIC.mp and GENERIC made no difference to this
 problem.

 My original reports were with X autoconfiguring (i.e.,
 /etc/X11/xorg.conf did NOT exist), using the Radeon driver:

 % dmesg|grep vga
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 1 int 16

 Since I don't actually need/use accelerated 3-D video, I've tried to
 switch to the generic VESA X driver. B Alas, I haven't been able to
 construct an B /etc/X11/xorg.conf B which successfully uses the VESA
 driver at the full (15.4 widescreen) hardware screen resolution of
 1680x1050 pixels. B (None of my attempts would go above 1400x1050
 pixels, stretched in a horribly ugly way to fill the screen.)

 As a last-ditch measure to try to get a reliable computer, I've tried
 disabling ALL video acceleration using the xorg.conf given below. B This
 works -- I've had no more hangs in the 2 months I've been using this
 configuration (now with 5.0-stable GENERIC.mp), whereas before I was
 getting multiple hangs/week. B Alas, this has come at the price of
 painfully slow scrolling in xterm, painfully slow window drags, and
 general video performance that reminds me of that 8 MB Sparcstation
 SLC I remember using back around 1990 or so. :( :(

 So... questions for the list:
 * Can anyone point me to a working xorg.conf to use the VESA video
 B driver on a T60 @ 1680x1050 pixel resolution?
 * Can anyone suggest a better fix or workaround for my X hangs?
 B Loosing 3-D acceleration is no problem for me, but 2-D acceleration
 B would be nice...
 * If I do switch back to the Radeon driver, and the hangs reoccur,
 B is there any information I could gather from a hung machine, and/or
 B any logging I could switch on before a hang, that would be useful
 B in further diagnosing the problem?
 * Starting from a cold boot, my current xorg.conf (given below) doesn't
 B work -- X is unable to properly initialize the video, resulting in
 B a screen display that's vaguely abstract-art bars of white pixels
 B scattered around the screen, with no X cursor visible. B So, right
 B now, after each cold boot I first start X with an xorg.conf in which
 B the line

 B  B  B  B Option B  B  NoAccel B  B  B  B  B  B  B  B  B  B # [bool]

 B is commented out (with thie xorg.conf X starts fine, but is vulnerable
 B to crashes), then immediately shut down X, then restart with the
 B no-acceleration xorg.conf (the one given below). B This procedure works,
 B but is awkward. B Is there a way around this kludge?


Do you have possibility to try a snapshot to see if problem still persist?


 --- begin /etc/X11/xorg.conf to disable ALL video acceleration ---
 Section ServerLayout
 B  B  B  B Identifier B  B  X.org Configured
 B  B  B  B Screen B  B  B 0 B Screen0 0 0
 B  B  B  B InputDevice B  B Mouse0 CorePointer
 B  B  B  B InputDevice B  B Keyboard0 CoreKeyboard
 EndSection

 Section Files
 B  B  B  B ModulePath B  /usr/X11R6/lib/modules
 B  B  B  B FontPath B  B  /usr/X11R6/lib/X11/fonts/misc/
 B  B  B  B FontPath B  B  /usr/X11R6/lib/X11/fonts/TTF/
 B  B  B  B FontPath B  B  /usr/X11R6/lib/X11/fonts/OTF/
 B  B  B  B FontPath B  B  /usr/X11R6/lib/X11/fonts/Type1/
 B  B  B  B FontPath B  B  /usr/X11R6/lib/X11/fonts/100dpi/
 B  B  B  B FontPath B  B  /usr/X11R6/lib/X11/fonts/75dpi/
 EndSection

 Section Module
 B  B  B  B Load B dbe
 B  B  B  B Load B dri
 B  B  B  B Load B dri2
 B  B  B  B Load B extmod
 B  B  B  B Load B glx
 B  B  B  B Load B record
 EndSection

 Section InputDevice
 B  B  B  B Identifier B Keyboard0
 B  B  B  B Driver B  B  B kbd
 EndSection

 Section InputDevice
 B  B  B  B Identifier B Mouse0
 B  B  B  B Driver B  B  B mouse
 B  B  B  B Option B  B  B Protocol wsmouse
 B  B  B  B Option B  B  B Device /dev/wsmouse
 B  B  B  B Option B  B  B ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
 B  B  B  B Identifier B  Monitor0
 B  B  B  B VendorName B  Monitor Vendor
 B  B  B  B ModelName B  B Monitor Model
 EndSection

 Section Device
 B  B  B  B ### Available Driver 

Re: FR: Make it possible to turn off untrusted users ability to read cmdline arguments of processes they don't own

2012-02-02 Thread Tomas Bodzar
On Thu, Feb 2, 2012 at 7:29 AM, Paul Dejean p...@officegps.com wrote:
 I'll start working on a patch (even though it'll take me forever) if I
 can be confident it wouldn't be vetoed because people don't like the
 concept.

Don't reinvent wheel https://www.youtube.com/watch?v=JaVnNllZxn4

Eg. actual situation in NetBSD
http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20100605_1826.html is
quite similar to Solaris, but don't know technical details (how secure
is that in fact)


 On Wed, Feb 1, 2012 at 11:00 PM, Richard Toohey
 richardtoo...@paradise.net.nz wrote:
 On 2/02/2012, at 12:30 PM, Paul Dejean wrote:

 Even though it's bad practice, a lot of commonly programs will request
 passwords or similar sensitive information as command line arguments.
 For instance, curl, svn, useradd... There will usually be a way to
 work around doing things this way (curl can read from a config file
 for instance), but doing so is a hassle (have to write a new config
 file for each request).

 I would really like some way to turn the access unprivileged users
 have to this information on and off. Ideally I'd like it off by
 default in OpenBSD (secure by default).

 Also I would like to add, that even if you folks shoot down this FR as
 being an awful idea. It's good that there's an operating system
 community where I feel comfortable bringing up this request, where I
 wouldn't hear things like:
 You have untrusted users on your system? What a n00b
 All security features are off by default, why should it be our
 responsibility to protects admins from their stupid mistakes?
 omg why should you care. hunting for sensitive information? it's not
 like anyone actually does that

 I've got no comment on the idea itself ...

 In this community, the reply is likely to be great idea, where is your 
 sample implementation?

 There are not a lot of developers - I'm not one - so generally ideas need to 
 be accompanied by code.

 It's a bit like the school P.T.A. that I help out with - there are lots of 
 ideas, but very few helpers - ideas welcome, but they need to be attached to 
 someone willing to actually do the work.

 HTH.



Re: adding icewm

2012-02-02 Thread Tomas Bodzar
On Fri, Feb 3, 2012 at 3:29 AM, Richard Thornton
thornton.rich...@gmail.com wrote:
 How do I add this window manager?

If you read http://www.openbsd.org/faq/faq11.html already then you can
jump to step http://www.openbsd.org/faq/faq15.html


 RT



Re: looking for hardware recommendations, x86 or otherwise.

2012-01-30 Thread Tomas Bodzar
On Tue, Jan 31, 2012 at 5:16 AM, Lars nore...@z505.com wrote:
 If someone is considering doing openbsd ports for raspberry pi devices,
 they might want to look at freebsd as a starting point, instead of linux.

 But it doesn't look that great, lots of undocumented crap with pi:

 http://lists.freebsd.org/pipermail/freebsd-hackers/2011-November/036754.html

 I don't know what happened ultimately with freebsd and raspberry pi, that
 is an old post from 2011 so it could be more progress or not.


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

It's called viral marketing, PR, social crap whatever. Raspberry Pi
foundation claims something about support for schools and
blahblahblah, but in fact was created but one of engineers of
Broadcom. It's just test bed for their proprietary crap or vendor lock
in via children and a way how to lower taxes via charity organization
without real charity.



Re: Starting out

2012-01-27 Thread Tomas Bodzar
On Fri, Jan 27, 2012 at 10:52 AM, Jannik Pruitt
pruttel...@googlemail.com wrote:
 Hi everyone.

 I got my netier xl 1000 runing now.
 It has full network and I can ssh to and from.
 X does come up.

 thanks for the help with the config on the 32GB CF card.

 What I want to do now is put a better terminal in.
 A small office suite either console or X based or both.

 And I want to install a web browser

 Is there a guide or a help page you can point me to.

man help
man afterboot
http://www.openbsd.org/faq/


 I know that Open BSD is not really a desk top system.
 But its so low in installed space

 Thanks



Re: Long delay updating xenocara source tree?

2012-01-27 Thread Tomas Bodzar
On Fri, Jan 27, 2012 at 9:10 PM, Dave Anderson d...@daveanderson.com wrote:
 I've run into this problem perhaps a dozen times over the past several
 months while running amd64-current, most recently at 15:53 2012/1/26 EST
 while running a system built from source updated at about 14:30
 2012/1/21 EST: when trying to update the xenocara source tree there is a
 very long (perhaps infinite) delay between issuing the 'cvs ...' command
 and the start of any visible activity. B In this most recent case the
 delay was about 9 hours. B Updating the src and ports source trees at
 about the same time and using the same CVSROOT has always worked OK;
 there's some delay but not a really long one. B And sometimes the
 xenocara update has worked without any problem. B When it doesn't, 'rm
 -rf /usr/xenocara' followed by reloading from the 5.0-release CD has
 always allowed a subsequent cvs update to work.

 The command I'm using is
 B # cd /usr/xenocara  cvs -d$CVSROOT -q up -Pd
 (except for the working directory, exactly the same as the command for
 updating the src or ports tree).

How about:

# cd /usr ; cvs -d$CVSROOT -q up -Pd xenocara


 This has happened with several different values for CVSROOT, currently
 B # echo $CVSROOT
 B anon...@anoncvs1.usa.openbsd.org:/cvs

 I am very confused by this. B Any clues would be greatly appreciated.

 B  B  B  B Dave

 --
 Dave Anderson
 d...@daveanderson.com



Re: Starting out

2012-01-27 Thread Tomas Bodzar
On Fri, Jan 27, 2012 at 10:52 AM, Jannik Pruitt
pruttel...@googlemail.com wrote:
 Hi everyone.

 I got my netier xl 1000 runing now.
 It has full network and I can ssh to and from.
 X does come up.

 thanks for the help with the config on the 32GB CF card.

 What I want to do now is put a better terminal in.
 A small office suite either console or X based or both.

 And I want to install a web browser

 Is there a guide or a help page you can point me to.

 I know that Open BSD is not really a desk top system.

You're completely wrong here. There's even Gnome 3.2.1 and is running
fine on i386/amd64 as far as I can tell from tests. I use scrotwm
personally. And take a look at this
http://www.undeadly.org/cgi?action=articlesid=20110420080633

 But its so low in installed space

 Thanks



Re: n00b questions -- keyboard messed up

2012-01-22 Thread Tomas Bodzar
On Sun, Jan 22, 2012 at 7:16 PM, John Doe jl2...@yahoo.com wrote:
 The keyboard mapping in the kernel is getting correpted when I use X
Windows
 Version 11 Release 6 Xenocara. B I am using a Microsoft(R) Digital Media
 Keyboard 3000. B How do I map the extra keys? and would it help if I used
 machdep.allowaperture=1 instead of 2? B Also kbd can change the keyboard
 mapping as a regular user, but it cannot list the available keyboard
mappings
 without being r00t, and it doesn't take effect until I log out and back in
to
 X-Windows. Why is this, and how do I type diacritical marks like circumflex
 carets and other accents, umlauts, ruotsalainen o, etc. in OpenBSD?


This thread belongs to misc@ and not www@

post your dmesg, /etc/X11/xorg.conf and /var/log/Xorg.0.log

for mapping keys in X see man xmodmap

Why machdep.allowaperture and what is done by this setting see
http://www.openbsd.org/cgi-bin/man.cgi?query=xf86sektion=4 (man xf86)



Re: Scrotwm not reading .scrotwm.conf

2012-01-21 Thread Tomas Bodzar
2012/1/21 Pablo Velasco FernC!ndez warlock...@gmail.com:
 Hi, I have installed scrotwm as window manager. In the man it says that it
 read first the ~/.scrotwm.conf for the user settings or /etc/scrotwn.conf
 for global settings. I have modified both and it doesnt apply my changes...
 Any idea? Thanks

Version of OS?
Version of scrotwm?
ls -l on ~/.scrotwm.conf?
output of scrotwm startup from terminal?
Is ~/.scrotwm.conf without bugs (like syntax)?



Re: yt_execution_fails_due_to_lua_error-[4.9-stable]

2012-01-20 Thread Tomas Bodzar
On Fri, Jan 20, 2012 at 6:38 PM, soko.tica soko.t...@gmail.com wrote:
 Hello,

 I was trying to download a youtube video from a box running 4.9
 stable, but got the following error:
 =
 Getting http://www.youtube.com/watch?v=i7pkyDUX5uM ...
 /usr/local/bin/lua: /usr/local/share/lua/5.1/base.lua:433:
 stack traceback:
 B  B  B  B [C]: in function 'error'
 B  B  B  B /usr/local/share/lua/5.1/base.lua:433: in function 'assert'
 B  B  B  B /usr/local/bin/yt:158: in main chunk
 B  B  B  B [C]: ?

 
 $dmesg
 OpenBSD 4.9-stable (GENERIC) #3: Sun Aug 28 13:35:42 CEST 2011
 B  B p...@zdera.lan.internal:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Celeron(R) CPU 2.80GHz (GenuineIntel 686-class) 2.82 GHz
 cpu0:
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR
 real mem B = 804810752 (767MB)
 avail mem = 781512704 (745MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 09/09/04, BIOS32 rev. 0 @
 0xfae70, SMBIOS rev. 2.3 @ 0xf0100 (39 entries)
 bios0: vendor Award Software International, Inc. version F3 date
09/09/2004
 bios0: Gigabyte Technology Co., Ltd. 8I845PE Pro
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S1 S4 S5
 acpi0: tables DSDT FACP APIC
 acpi0: wakeup devices HUB0(S4) USB0(S1) USB1(S1) USB2(S1) USB3(S1)
 USBE(S1) PCI0(S4)
 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 133MHz
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 2 (HUB0)
 acpicpu0 at acpi0
 acpitz0 at acpi0: critical temperature 75 degC
 acpibtn0 at acpi0: PWRB
 bios0: ROM list: 0xc/0xf400
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82865G Host rev 0x02
 intelagp0 at pchb0
 agp0 at intelagp0: aperture at 0xe800, size 0x800
 ppb0 at pci0 dev 1 function 0 Intel 82865G AGP rev 0x02
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 NVIDIA GeForce FX 5500 rev 0xa1
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic
 2 int 16 (irq 10)
 uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: apic
 2 int 19 (irq 10)
 uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: apic
 2 int 18 (irq 11)
 uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: apic
 2 int 16 (irq 10)
 ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: apic
 2 int 23 (irq 9)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xc2
 pci2 at ppb1 bus 2
 skc0 at pci2 dev 9 function 0 Marvell Yukon 88E8001/8003/8010 rev
 0x13, Yukon Lite (0x9): apic 2 int 20 (irq 11)
 sk0 at skc0 port A: address 00:0f:ea:77:e0:94
 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5
 ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02
 pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02:
 DMA, channel 0 configured to compatibility, channel 1 configured to
 compatibility
 wd0 at pciide0 channel 0 drive 0: WDC WD800BB-00FJA0
 wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-115D, 1.13 ATAPI
 5/cdrom removable
 cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02:
 apic 2 int 17 (irq 5)
 iic0 at ichiic0
 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC3200CL2.5
 spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC3200CL3.0
 spdmem2 at iic0 addr 0x52: 256MB DDR SDRAM non-parity PC3200CL2.5
 auich0 at pci0 dev 31 function 5 Intel 82801EB/ER AC97 rev 0x02:
 apic 2 int 17 (irq 5), ICH5 AC97
 ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0)
 audio0 at auich0
 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
 usb3 at uhci2: USB revision 1.0
 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb4 at uhci3: USB revision 1.0
 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at ichpcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 it0 at isa0 port 0x2e/2: IT8712F rev 

Re: youtube works, thanks!

2012-01-20 Thread Tomas Bodzar
On Fri, Jan 20, 2012 at 8:14 PM, Peter J. Philipp p...@centroid.eu wrote:
 Hi,

 I noticed today by accident that the videos on Youtube work. B They are
HTML5.
 The sound I made happen by by starting aucat -l. B Is this old news or am
 I dreaming?

Old news. Watching HTML5 videos for about year. xxxterm is better then
ff in my case.


 -peter



Re: VoIP Sophtphones

2012-01-19 Thread Tomas Bodzar
On Thu, Jan 19, 2012 at 10:36 AM,  sc...@web.de wrote:
 Tomas Bodzar wrote:

 OpenBSD 4.8 and earlier releases are not supported anymore.

 I will update to 5.0 or 5.1 later, but now I have a little stress
 and other preocupations. To update twice a year means a little
 work and care, and there are priorities. I am just using OpenBSD
 as desktop. Perhaps a misuse, because security is not my priority,
 indeed I would perhaps preffer less security and have more software,
 telnetd in the system (with a hint to security problems in the
 man pages), etc, but I am happy with OpenBSD as Desktop.

$ sysctl kern.version
kern.version=OpenBSD 5.1-beta (GENERIC.MP) #159: Thu Jan 12 00:00:27 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

$

I'm using OpenBSD mostly as desktop as well. To bee on current has a
lot of pros. Complete update of system, configs and packages say every
month takes about 30 minutes. It's binary process so no need for
compile and you have actual packages (close to upstream as much as
possible)

I don't think that eg. Minitube or similar from 4.8 will work with
actual youtube.

Updates on other systems takes much more time and have so much errors and
bugs.


 I tried to compile twinkle and linphone, not from the packages, they
 were not there, just the software releases, my question was only if
 someone tried and had troubles as I, if he was successfull.

 I understand the point of B L. V. Lammert in locate weirdness,
 I didnt want in this case to bother the developers, it is
 a question that I would have made in USENETs group
 comp.unix.bsd.openbsd.misc, but it is unfortunately death.

 Rodrigo.



Re: error report when installing gnome on openbsd 5.0

2012-01-19 Thread Tomas Bodzar
On Thu, Jan 19, 2012 at 9:07 AM, lbvvbooo lbvvbooo lbvvb...@live.com wrote:
 Thanks for reply.

 The B OpenBSD 5.0 should be release. Because I don't it from
http://www.openbsd.org/ftp.html when I found there's 5.0 version available.

 It's i386.

 It's a fresh install, with existing window xp. Now I can successfully boot
into bsd or xp.

 It's installed from cd, which I burned from the downloaded install50.iso.

 It should be Generic.mp. I can see info after booting.

 I have a hard disk foler which include all the packages on internet, it
includes packages for openbsd 4.5, packages for openbsd 5.0, maybe even have
packages for openbsd 4.6. When I install new package, I point the PKG_PATH to
that folder, and then install it like:

 pkg_add gnome-desktop-2.32.1p4.tgz.

 pkg_add gnugetopt-1.1.4p2.tgz

 The version of the package is the biggest one I found in the foler.

 And fyi, I don't think it's caused by packages of different versions in one
folder, because the error are all tracked and rooted to one

 error: can't install gnugetopt: library c.51.0 not found; library intl.4.0
not found.

 It seems a mismatch between openbsd and package gnugetopt.

 for me, it seems gnugetopt need library c.51.0, but bsd is using packages
like this:
 | /usr/lib/libc.so.60.1 (system): bad major
 | /usr/local/lib/libintl.so.5.0 (gettext-0.18.1p0): bad major
 Direct dependencies for gnugetopt-1.1.4p2 resolve to gettext-0.18.1p0
libiconv-1.13p2
 Full dependency tree is gettext-0.18.1p0 libiconv-1.13p2

You just think wrong ;-) You broken your system either by not
following at least FAQ properly or not following it at all. Errors
indicate that your system is not in sync. You mixed packages from
different versions of OS and this will not work for sure.

http://www.openbsd.org/faq/faq15.html#NoFun



 Any help is appreciated.

 Thanks


 Date: Thu, 19 Jan 2012 20:33:26 +1300
 From: richardtoo...@paradise.net.nz
 Subject: Re: error report when installing gnome on openbsd 5.0
 To: lbvvb...@live.com
 CC: misc@openbsd.org

 On 19/01/2012, at 8:15 PM, lbvvbooo lbvvbooo wrote:

  After a 2nd thought, I don't think it's caused by packages of different
 versions in one folder, because the error are all tracked and rooted to
one
 error: can't install gnugetopt: library c.51.0 not found; library intl.4.0
not
 found. It seems a mismatch between openbsd and package gnugetopt.
 
  Any help is appreciated.
 

 What *exact* version of OpenBSD 5.0? B Release? B CD? B Stable? Something
else?
 Generic? B i386? B amd64? B What?

 Fresh install? B Upgrade? B Clean disc install from CD? B What?

 What *exact* commands are you typing and what output do you get?

 Have you set PKG_PATH to anything?

 You are not providing enough information for anyone to help you.

 Every release there are questions like this, and it usually ends up
someone
 trying to mix versions of OpenBSD with the wrong version of
ports/packages.

 And in the process of trying to explain EXACTLY what they have tried to
do,
 the lightbulb goes off.
 
  Thanks.
  Any help is appreciated.
 
  Thanks
 
  
  Thanks for reply.
 
  I myself is a programmer, from my point of view, it's a version mismatch
 here. Because I think gnome is quite common used package, I want to know
if
 there's a quick fix for this, so, if somebody else has met the same
problem
 with me, or have solution for this, or have suggestion on this, pls reply
on
 this.
 
  For the bsd and packages, I'm using the latest release version. I get
bsd
 5.0, download the package on internet. So I don't know where the mismatch
 happens.
 
  Any help is appreciated.
 
  Thanks.
 
 
 
  Subject: Re: error report when installing gnome on openbsd 5.0
  From: j...@jggimi.homeip.net
  Date: Wed, 18 Jan 2012 23:58:07 -0500
  To: lbvvb...@live.com; misc@openbsd.org
 
  lbvvbooo lbvvbooo lbvvb...@live.com wrote:
 
  Hi,
 
  I used to use an older version of bsd, and the gnome works quit well on
 that version.
 
  Now,
  I'm trying to install gnome on openbsd 5.0, but it report error when I
  try to install gnome-desktop, gnome-session, and gdm. They report
  similar error basically:
 
  can't install gnugetopt: library c.51.0 not found; library intl.4.0 not
 found
 
 
  Here's the detail information:
 
  When adding gdm-2.20.11p22.tgz
 
  | /usr/lib/libc.so.60.1 (system): bad major
  | /usr/local/lib/libintl.so.5.0 (gettext-0.18.1p0): bad major
  Direct dependencies for gnugetopt-1.1.4p2 resolve to gettext-0.18.1p0
 libiconv-1.13p2
  Full dependency tree is gettext-0.18.1p0 libiconv-1.13p2
 
  When adding gnome-desktop-2.32.1p4.tgz:
 
  | /usr/lib/libc.so.60.1 (system): bad major
  | /usr/local/lib/libintl.so.5.0 (gettext-0.18.1p0): bad major
  Direct dependencies for gnugetopt-1.1.4p2 resolve to gettext-0.18.1p0
 libiconv-1.13p2
  Full dependency tree is gettext-0.18.1p0 libiconv-1.13p2
 
 
  When adding gnome-session-2.32.1p18.tgz:
 
  | /usr/lib/libc.so.60.1 (system): bad major
  | /usr/local/lib/libintl.so.5.0 

Re: ASUS USB adapters

2012-01-18 Thread Tomas Bodzar
On Wed, Jan 18, 2012 at 1:30 PM, mufurcz mufu...@iinet.net.au wrote:
 Greetings,

 Anybody using/tested these wireless cards with OpenBSD? Unfortunately, I
 can't find the chip-set specs.

 http://www.asus.com/Networks/Wireless_Adapters/WL167G_V3/#specifications
 http://www.asus.com/Networks/Wireless_Adapters/USBN13/#specifications
 http://www.asus.com/Networks/Wireless_Adapters/USBN10/#specifications

Check Linux drivers which are for download on that page. Eg. USBN13 is
RealTek RT2870


 Regards,

 mufurcz



Re: VoIP Sophtphones

2012-01-18 Thread Tomas Bodzar
On Wed, Jan 18, 2012 at 9:10 PM,  sc...@web.de wrote:
 pjsua from the packages works very good. I tryied to compile
 linphone-3.5.0 and twinkle-1.4.2 in OpenBSD4.8 without
 success. Did someone managed to do it?

From http://www.openbsd.org/security.html

OpenBSD 4.8 and earlier releases are not supported anymore. The
following paragraphs only list advisories issued while they were
maintained; these releases are likely to be affected by the advisories
for more recent releases.

So do upgrade to 5.0 or current and simply install packages and you
will be fine.



 Thanks
 Rodrigo.



Re: Softraid raid 5 throughput problem

2012-01-16 Thread Tomas Bodzar
On Mon, Jan 16, 2012 at 1:12 PM, keith ke...@scott-land.net wrote:
 I built a storage server to run the Bacula storage daemon on. B My plan was
 to boot of a usb key then to use the four 2TB sata disks that are in the
 server as a softraid raid 5 volume. The server in question is a dell
 poweredge R310, i3 CPU 540 @ 3.07GHz with OBSD 5.0 amd64.

 I put the OS onto the usb key but the softraid 5 volume seemed realy slow.
 Sftping files over the local network to the servers softraid volume was
 taking ages. So as I was short of time I just rebuilt the server installing
 OBSD into one of the sata disks wd0

 Later I connect to the server and made a raid5 volume on the remaining
three
 disks but the speed was really slow to I tried a raid1 on two of the disks
 and that works fine speed wise.

 I've tried to get some stats to figure out what's going on

 raid 5 (wd1, wd2,wd3) Time for newfs command to complete = 1 min 14 secs
 raid 5 (wd1, wd2,wd3) Time to copy 2.3G file from wd0 onto the softraid5
 disk = 5 mins ish

 raid 1 (wd1, wd2) = 1.8TB B Time for newfs command to complete = 4 secs
 raid 1 (wd1, wd2) copy 2.3G Time to copy 2.3G file from wd0 onto softraid
 disk = 25 secs

 As this point I though I'd try raid0 but the server went and hung for some
 reason.

 #bioctl -d sd0
 #bioctl -c 0 -l B /dev/wd2a,/dev/wd3a softraid0  It hung on this
command
 Won't know what happed till I get to the datacenter.

 Idealy I wanted one large disk but if can't get a quick raid5 working I
will
 just use two softraid raid 1 disks and work around it. Does anyone have any
 suggestions B ?

If you are concerned about a speed then RAID5 (or similar) is (and
will not be) not a good choice with any filesystem

http://constantin.glez.de/blog/2010/01/home-server-raid-greed-and-why-mirrori
ng-still-best


 Thanks
 Keith



Re: mailserv project

2012-01-15 Thread Tomas Bodzar
On Mon, Jan 16, 2012 at 7:11 AM, Wesley M. open...@e-solutions.re wrote:
 Hi,

 It will be famous if somebody can update mailserv project to work
 on the last version OpenBSD 5.0
 Therefore it works like a charm on OpenBSD
 4.8/4.9
 Here the source : https://github.com/mailserv/mailserv/

There's sendmail in base system and there's ongoing work on smtpd by
OpenBDS devs (other components are in ports). Anyway you're welcome to
start port see http://www.openbsd.org/faq/ports/index.html

BTW if it's running for at least 2 releases why author/authors did not
create port yet?


 Best
 regards,

 Wesley.



Re: DLINK DUB-E100

2012-01-08 Thread Tomas Bodzar
On Sun, Jan 8, 2012 at 11:16 AM, Alessandro Baggi
alessandro.ba...@gmail.com wrote:
 Hi there,

 I would buy an Ethernet card usb, and I've found the Dlink dub-e100.

 It is supported on OpenBSD 5.0?

Why don't you check?
http://www.openbsd.org/cgi-bin/man.cgi?query=usbapropos=0sektion=4manpath=OpenBSD+5.0arch=i386format=html


 Someone has ever used it?

 Thanks in advance.



Re: HTTPS and the opinion of the Great OpenBSD team

2012-01-08 Thread Tomas Bodzar
On Sun, Jan 8, 2012 at 11:01 AM, Rumoseh, Loros
rumosehlo...@postafiok.hu wrote:
 Good morning Everybody.

 Q1: Correct me If I'm wrong, but AFAIK the OpenBSD team is not trusting the
 CA/HTTPS modell on security side. That's why www.openbsd.org isn't
 available over HTTPS [?].

What exactly is private on OpenBSD page to have it over https? ;-)


 ---off---
 Q2: Then why is:

https://lists.openbsd.org/cgi-bin/mj_wwwusr?user=passw=func=lists-long-full
extra=misc
 using an invalid certificate? :O
 ---on---

Because services for certificates are mostly too much expensive
without a reason. Doesn't provide real security and because OpenBSD is
fun project so self-signed certificate is enough?


 -

 The main questions/RFC's:
 I recently heard about Convergence, the website that features a firefox
 plugin (client code) and a notary (server code) is here:
 http://convergence.io/

 A starting video of this Idea from the Developer, Moxie Marlinspike (author
 of sslstrip/sslsniff):
 https://www.youtube.com/watch?v=Z7Wl2FW2TcA
 [the main part is from 35m40sec, but the video is worth watching!]

 If there is no adobe flash installed on your machine, then visit this link:

https://addons.mozilla.org/en-US/firefox/search/?q=youtube+downloaderappver=
9.0.1platform=linux

 About Moxie Marlinspike

https://www.blackhat.com/html/bh-us-11/bh-us-11-speaker_bios.html#Marlinspike

 Convergence:
 It's explicitly not an SSL replacement. It's a replacement for CAs, with
 the explicit design goal of not forcing some giant IPv6-like change the
 world rollout. It's based in large part on earlier work on solving the SSH
 Host Key validation problem - see

http://www.usenix.org/event/usenix08/tech/full_papers/wendlandt/wendlandt_htm
l/-
 http://security.stackexchange.com/a/5968/2212

 Q3: So what does the OpenBSD team think about this great [?] idea? Is it a
 viable solution? Is this the future or just a dead end?

 -

 ps.: Also URL's regarding this topic:
 http://security.stackexchange.com/a/6780/2212
 http://security.stackexchange.com/a/10334/2212

http://security.stackexchange.com/questions/9945/does-https-everywhere-defend
s-me-against-sslsniff-like-attacks
 http://unix.stackexchange.com/a/28288/6960

 -

 ps.2:

http://security.stackexchange.com/questions/9946/when-will-the-webbrowsers-ha
ve-tls-1-2-support

http://security.stackexchange.com/questions/10481/next-microsoft-patch-tuesda
y-include-beast-ssl-fix

 B  B The TLS support for browsers right now is:

 B  B  B  B IE9 TLS 1.0, 1.1, 1.2 all supported via Schannel
 B  B  B  B IE8 TLS 1.0 supported by default, 1.1 and 1.2 can be configured
 B  B  B  B Opera - 10.x supports TLS 1.0, 1.1, 1.2

 B  B I don't count older versions of any of these browsers, since people
 really should have auto-update on. if they don't they've probably got
 bigger problems ( http://isc.sans.edu/diary.html?storyid=11527 )

 B  B  B  B Mozilla/Firefox - TLS 1.0 only
 B  B  B  B Chrome - TLS 1.0 only (though an update is rumoured)
 B  B  B  B Safari - TLS 1.0
 B  B  B  B Cell phones - various support levels (webkit has tls 1.2 since
Nov
 2010, but for individual phone browser implementations your mileage may
 vary)

 -

 Thank you for any comments on this idea/questions.

 Long live OpenBSD! :)

 Have a nice day!

 bye!



Re: DLINK DUB-E100

2012-01-08 Thread Tomas Bodzar
On Sun, Jan 8, 2012 at 11:42 AM, Alessandro Baggi
alessandro.ba...@gmail.com wrote:
 On 01/08/2012 11:38 AM, Tomas Bodzar wrote:

 On Sun, Jan 8, 2012 at 11:16 AM, Alessandro Baggi
 alessandro.ba...@gmail.com B wrote:

 Hi there,

 I would buy an Ethernet card usb, and I've found the Dlink dub-e100.

 It is supported on OpenBSD 5.0?

 Why don't you check?


http://www.openbsd.org/cgi-bin/man.cgi?query=usbapropos=0sektion=4manpath=
OpenBSD+5.0arch=i386format=html

 Someone has ever used it?

 Thanks in advance.

 Sorry, I'm new to OpenBSD, and I don't know that there was the manual page
 for usb.
 Thanks for info.

Ah, probably Linux background. Then this
http://www.openbsd.org/faq/index.html and man pages (man help and man
afterboot for start) can be good start for you. One of the pros of BSD
world is quality of documentation.



Re: Ted Unangst Static Source Code Analysis

2012-01-07 Thread Tomas Bodzar
On Sun, Jan 8, 2012 at 1:04 AM, Lars nore...@z505.com wrote:
 I was watching an older video regarding Static Source code analysis to
 make code more secure. B I especially enjoyed your comments about SQL
 injections and escaping sql which all sorts of websites forget to do.

 What tools are used in OpenBSD for static source code analysis? I guess
 Lint is considered one tool? B Do you, Ted, use other tools than Lint?
 This post is not just meant to be sent for Ted, of course anyone else
 could reply if they know about source code analysis.

Parfait
http://labs.oracle.com/projects/downunder/publications/documents/kca09.pdf

(document about finding bugs in kernels of OpenBSD, Linux and OpenSolaris)


 Should some of these static source code analysis techniques be merged into
 compilers to catch more errors right within the development process,
 instead of it being a separate tool?

 Advantages of keeping static source code analysis separate tools:
 -keeps the compiler simpler, doesn't add extra code to the compiler
 -the source code analysis tool can be used not just with one compiler that
 has it built in
 -source code analysis needs to be configured on a case by case basis,
 embedding it into the compiler might make things too complex for the user
 setting up the compiler


 Disadvantages of keeping static analysis separate:
 -people are less inclined to use the separate tool and practice proper
 coding techniques. Building it into the compiler would force them to write
 more secure code on day one.
 -people see the tool as an extra option, rather than developing their code
 right from day one as an essential.

 How to solve the disadvantages:
 -ship source code analysis tools with the compiler and encourage people to
 use it moreso than we do now, keep the tools as separate modules so they
 can be developed individually but run together possibly with
 processes/pipes.
 -write more books on the topic, I doubt they would be Bestsellers though
 since people are more interested in just having their program compile and
 run quickly

 --
 Regards, Lars

 GNG is not GNU
 http://gng.z505.com



Re: OpenBSD 5.0 Snapshot: ASUS Wireless Card - Not Configured

2012-01-07 Thread Tomas Bodzar
On Sun, Jan 8, 2012 at 6:29 AM, Steven w.steven.schnei...@ualberta.net
wrote:
 Hi,

 I recently purchased an ASUS PCE-N15 Wireless-N PCI-E Adapter.

 http://www.asus.com/Networks/Wireless_Adapters/PCEN15/

 After i installed it and restarted my computer I got this in the
 dmesg (I'm assuming this is the ASUS adapter as it's the only new
 device message I noticed in the logs. I'll include the full dmesg so
 more knowledgeable minds can figure it out.)

 pci2 at ppb1 bus 2
 vendor Realtek, unknown product 0x8178 (class network subclass
 miscellaneous, rev 0x01) at pci2 dev 0 function 0 not configured

http://www.openbsd.org/faq/faq6.html#Wireless


 It looks to be a half card and so I'm worried that I may have bought
 a win-device. Is this ASUS Adapter supported by OpenBSD, do I have a
 bad card, or is this a win-device?

http://ubuntuforums.org/showthread.php?t=1814675

Details from pcidump will be maybe useful for developers, but it seems
like you have some Win-only/proprietary stuff for which Linux has
binary blob because of NDA or something.


 Thanks.

 Computer: AMD64 X4
 OpenBSD 5.0 20 Dec snapshot.

 ifconfig -a

 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33152
 B  B  B  B priority: 0
 B  B  B  B groups: lo
 B  B  B  B inet6 ::1 prefixlen 128
 B  B  B  B inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 B  B  B  B inet 127.0.0.1 netmask 0xff00
 re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 B  B  B  B lladdr 1c:6f:65:83:06:26
 B  B  B  B priority: 0
 B  B  B  B groups: egress
 B  B  B  B media: Ethernet autoselect (1000baseT
full-duplex,rxpause,txpause)
 B  B  B  B status: active
 B  B  B  B inet6 fe80::1e6f:65ff:fe83:626%re0 prefixlen 64 scopeid 0x1
 B  B  B  B inet 10.0.1.7 netmask 0xff00 broadcast 10.0.1.255
 enc0: flags=0
 B  B  B  B priority: 0
 B  B  B  B groups: enc
 B  B  B  B status: active

 dmesg

 OpenBSD 5.0-current (GENERIC.MP) #159: Tue Dec 20 11:02:37 MST 2011
 B  B dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 8586723328 (8188MB)
 avail mem = 8344002560 (7957MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (57 entries)
 bios0: vendor Award Software International, Inc. version F2 date
 06/07/2010
 bios0: Gigabyte Technology Co., Ltd. GA-870A-UD3
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT HPET MCFG MATS TAMG APIC
 acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3)
 USB6(S3) SBAZ(S4) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) P2P_(S5) PCE2(S4)
 PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE8(S4) PCE9(S4) PCEA(S4)
 PCEB(S4) PCEC(S4) PS2M(S5) PS2K(S5) PCI0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 32 bits
 acpihpet0 at acpi0: 14318180 Hz
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: AMD Phenom(tm) II X4 955 Processor, 3215.16 MHz
 cpu0:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DN
OW
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
 64b/line 16-way L2 cache
 cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully
 associative
 cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully
 associative
 cpu0: apic clock running at 200MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: AMD Phenom(tm) II X4 955 Processor, 3214.82 MHz
 cpu1:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DN
OW
 cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
 64b/line 16-way L2 cache
 cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully
 associative
 cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully
 associative
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: AMD Phenom(tm) II X4 955 Processor, 3214.82 MHz
 cpu2:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DN
OW
 cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
 64b/line 16-way L2 cache
 cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully
 associative
 cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully
 associative
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: AMD Phenom(tm) II X4 955 Processor, 3214.82 MHz
 cpu3:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DN
OW
 cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
 64b/line 16-way L2 cache
 cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully
 associative
 cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully
 associative
 ioapic0 at 

Re: pcn0: packet spilled into next buffer

2012-01-06 Thread Tomas Bodzar
On Fri, Jan 6, 2012 at 8:40 AM, Indunil Jayasooriya induni...@gmail.com wrote:
 Hi mics,


 I just installed OpenBSD 5 64 bit as a VM on Redhat Linux KVM .

 Then, I got below error?

 pcn0: packet spilled into next buffer


 I searched the internet . then, I got below URL


 http://www.google.lk/url?sa=trct=jq=packet spilled into next
 buffersource=webcd=1ved=0CBoQFjAAurl=ftp%3A%2F%2Fftp.irisa.fr
 %2Fpub%2FOpenBSD%2Fsrc%2Fsys%2Fdev%2Fpci%2Fif_pcn.cei=0KMGT8bKJPHQmAWiutSxAgusg=AFQjCNE_6v0It-SIaxCx7Yblsbf2Po1Y9gcad=rja


 But, I can't get an idea from it.

 It is normal or should I solve it ?

Bugs in virtual SW are not problem of OpenBSD ;-)



 Hope to hear from you.



 --
 Thank you
 Indunil Jayasooriya



Re: bc4318

2012-01-05 Thread Tomas Bodzar
On Thu, Jan 5, 2012 at 10:00 PM, Nikolas Slivka damagec...@freemail.hu wrote:
 Welcome!

 Where i can find information about BC4318 wifi card is working under OpenBSD
 5.0?

Read first (last) log on this page
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/Attic/if_bcw_pci.c
for 43xx Here is some background including links
https://en.wikipedia.org/wiki/Theo_de_Raadt#Clash_with_Linux_developers

And your actual options are here http://www.openbsd.org/faq/faq6.html#Wireless


 Thanks!



Re: bc4318

2012-01-05 Thread Tomas Bodzar
On Fri, Jan 6, 2012 at 8:22 AM, Ted Unangst t...@tedunangst.com wrote:
 On Fri, Jan 06, 2012, Tomas Bodzar wrote:
 On Thu, Jan 5, 2012 at 10:00 PM, Nikolas Slivka damagec...@freemail.hu
 wrote:
 Welcome!

 Where i can find information about BC4318 wifi card is working under
 OpenBSD
 5.0?

 Read first (last) log on this page
 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/Attic/if_bcw_pci.c
 for 43xx Here is some background including links
 https://en.wikipedia.org/wiki/Theo_de_Raadt#Clash_with_Linux_developers

 And your actual options are here
 http://www.openbsd.org/faq/faq6.html#Wireless

 man bwi is probably a better source for current information.

Sure, bwi is mentioned in that FAQ part.



Re: Need some suggestions abt application inside chroot

2012-01-01 Thread Tomas Bodzar
On Sun, Jan 1, 2012 at 4:59 PM, Stefan N stefanbsd...@yahoo.com wrote:
 Hi All,

 I need some suggestions/feedback about application on OpenBSD whether it 
 should or should not be installed inside chroot environment.
 For example,apache webserver is installed in chroot environment by default.

 Are there specific guidelines to check and verify whether the application 
 should or should not be installed in chroot environment?

As always FAQ is good start
http://www.openbsd.org/faq/faq10.html#httpdchroot , linked man pages
as well and then just try ;-)


 Many thanks.

 Stefan



Re: Upgrading 4.9 to 5.0 problems: can't build kernel, errata patch not in CVS, no documentation for netstart changes

2011-12-25 Thread Tomas Bodzar
On Sun, Dec 25, 2011 at 4:03 AM,  openbsd_mis...@zehmahyesh.e4ward.com
wrote:
 First, sorry for the bogus formatting in my previous email...
 hopefully, this one is better.

 It turns out that I needed to manually delete the .depend file from
 a previous kernel build in my local build directory. The makefile has
 only this under the depend target:

 B  B touch $@

 and 'make clean' didn't delete '.depend' as I would expect it should.
 It looks like a new .depend file is not written out, but the old
 one was recognized and used which caused my problems.

 Nice gotcha! B Shouldn't this be documented? Also, what happened to
 the FAQ text about non-root kernel build procedures??

Mmmm stuff about depend part was documented in current guide, but
seems to be missing either in FAQ or upgrade guide for 4.9 - 5.0

Change is visible in man release between 4.9 and 5.0 so will be
somewhere in CVS logs as well.


 On 24 Dec 2011 at 18:10, misc@openbsd.org wrote:

 Some strange things going on...

 Running OpenBSD 5.0 on an x86 32 bit, upgraded smoothly from 4.9 aside
 from at upgrade from 4.9 to 5.0, the upgrade failed at first trying to
 start the network with this hostname.if file for my external facing
 interface: up dhcp -inet6

 ... complaining that it is an invalid hostname file. This worked just
 fine in 4.9. After scratching my head for a long time, I changed it to
 be: up -inet6 dhcp .. and it worked... looks like /etc/netstart
 changed how it parses hostname.if files but there is no documentation
 about this.

 Once I had a working system again after completing the full upgrade
 process, I primed my source directories by removing /usr/src/*,
 /usr/xenocara, and /usr/ports.

 I then downloaded the 4 source tarballs from
 http://ftp5.usa.openbsd.org/pub/OpenBSD/5.0/*.tar.gz, unpacked them
 into the proper places and ran cvs update on them (using the proper
 options for the -stable branch, of course, as per the FAQ). There were
 no updates patched into the trees.

 The patch for the bind DoS
 (http://ftp.openbsd.org/pub/OpenBSD/patches/5.0/common/001_bind.patch)
 specifically was not in the CVS stable branch, almost a month after
 the patch came out. B I had to add it manually to the tree.

 I then tried to build the kernel as a regular user following this
 text: Variation on above process: Read-only source tree Sometimes,
 you may wish to ensure your /usr/src/sys directory remains untouched.
 This can be done by using the following process:

 B  B  $ cd /somewhere
 B  B  $ cp /usr/src/sys/arch/i386/conf/GENERIC .
 B  B  $ config -s /usr/src/sys -b . GENERIC
 B  B  $ make clean  make depend  make
 B  B  B  B ... lots of output ...
 ... which is missing now from the latest FAQ page
 (http://www.openbsd.org/faq/faq5.html#BldKernel)... I had to search
 the internet to find this text again. B It still _does_say: Note that
 you can build a kernel without root access, but you must have root to
 install the kernel. but the procedure on how to do it is gone.

 When I try to build the kernel in an empty limited user directory
 after the config command above, I get the following error: $ make
 clean  make depend  make rm -f eddep *bsd *bsd.gdb tags *.[dio]
 [a-z]*.s B [Ee]rrs linterrs assym.h make: don't know how to make
 /usr/src/sys/uvm/uvm_pglist.h. Stop in /home//kernel-build. $

 Can anybody tell me what is going on or what I'm missing or did wrong?
 B Is building a kernel from read-only sources now not supported?? B I
 didn't try to build this as root yet, figuring I have some sort of
 borked system.

 Any insight welcomed. B I don't follow the maling lists too regularly
 so I must have missed something.



Re: see_other_uids

2011-12-23 Thread Tomas Bodzar
On Fri, Dec 23, 2011 at 9:08 AM, Vitali coonar...@gmail.com wrote:
 On Fri, Dec 23, 2011 at 6:49 AM, Tomas Bodzar tomas.bod...@gmail.com
wrote:
 On Thu, Dec 22, 2011 at 10:43 PM, Vitali coonar...@gmail.com wrote:
 Gentlemen

 In FreeBSD there is one great feature I like very much.

 If you set the variable
 security.bsd.see_other_uids
 to zero, users can't see other users' processes.

 Is there something like that in OpenBSD?

 https://www.youtube.com/bsdconferences#p/u/4/JaVnNllZxn4

 Not sure how far is that or if it's still work in progress


 That's very interesting, thank you.

 But I just need to say
 sysctl security.bsd.see_other_uids=0

If you have X running then it doesn't matter and doesn't hide stuff ;-)


 This is a little bit different. :)


 Thank you.

 --
 ### Coonardoo - P QP8P=P8Q P:P0 Q B Q Q P=Q B / The Well In The Shadow /
 Le
 Puits
 Dans L'Ombre ###




 --
 ### Coonardoo - P QP8P=P8Q P:P0 Q B Q Q P=Q B / The Well In The Shadow / Le
 Puits
 Dans L'Ombre ###



Re: see_other_uids

2011-12-22 Thread Tomas Bodzar
On Thu, Dec 22, 2011 at 10:43 PM, Vitali coonar...@gmail.com wrote:
 Gentlemen

 In FreeBSD there is one great feature I like very much.

 If you set the variable
 security.bsd.see_other_uids
 to zero, users can't see other users' processes.

 Is there something like that in OpenBSD?

https://www.youtube.com/bsdconferences#p/u/4/JaVnNllZxn4

Not sure how far is that or if it's still work in progress


 Thank you.

 --
 ### Coonardoo - P QP8P=P8Q P:P0 Q B Q Q P=Q B / The Well In The Shadow / Le
 Puits
 Dans L'Ombre ###



Re: IPSEC gateway serving rogue laptops

2011-12-21 Thread Tomas Bodzar
On Wed, Dec 21, 2011 at 3:25 PM, Henrik Engmark h...@tti.se wrote:

 I have been trying to set up a vpn concentrator using isakmpd and ipsec,
 where clients are laptops on the run, and my vpn concentrator is on a
 static IP. To start with, I want to use a setup as simple as possible,
 and use only psk for authentication. No certificates or anything like
 that.
 I am having trouble finding information on the subject, both on forums
 and list archives.

 I know this is kind of a spoon feeding request, but is anyone aware of
 a good source of information, how-to or guide regarding this?
 IPSEC has a kind of steep learning curve, and I am by no means an expert.
 When we set up LAN-LAN IPSEC tunnels with static publics, everything
 is as simple as can be. Not so much so when I try to serve rogue clients
 with identical configs, it appears.

 I am aware of the flaws in such a crude setup, but I dont need pointers
 about that.

 Any information or links would be highly appreciated.

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

http://www.kernel-panic.it/openbsd/vpn/



Re: OpenBSD/amd64 runs on computers equipped with AMD Athlon64

2011-12-12 Thread Tomas Bodzar
On Mon, Dec 12, 2011 at 5:02 PM,  sc...@web.de wrote:
 Peter Kay syllops...@syllopsium.co.uk wrote:

 Wikipedia says 'AMD64 supported by: all models with an OPN ending in
 BX and CV' and 'E6 stepping or later'

 It seems I have a BO: SSE3, but not AMD64 according to dmesg.

 Henning Brauer lists-open...@bsws.de wrote:

 this one is a no-brainer. [...] boot amd64 bsd.rd.
 either it boots or it doesn't.

 How do you exclude the possibility of something in
 between? It booted and installed, but it is
 perhaps not the right image. Should I use an
 intel image? there is no AMD without 64.

Wt? If it's booting and installing then why do you think that it's
not correct image? What is Intel image? i386/amd64 is platform suited
for any vendor be it Intel, AMD or VIA.



 BTW: the ethernet on the motherboard (Asus K8U-X) does not work.

BTW try current snapshot if it's still unsupported.


 Rod.

 ---

 Here my dmesg after installing:

 OpenBSD 5.0 (GENERIC) #53: Wed Aug 17 10:07:52 MDT 2011
 B  B dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 2146238464 (2046MB)
 avail mem = 2075078656 (1978MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0500 (58 entries)
 bios0: vendor American Megatrends Inc. version 0703 date 09/08/2005
 bios0: ASUSTeK Computer INC. K8U-X
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC OEMB
 acpi0: wakeup devices HTT_(S4) AC97(S4) MC97(S4) LAN_(S4) USB0(S4) USB1(S4)
USB2(S4) UB20(S4)
 acpitimer0 at acpi0: 3579545 Hz, 32 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: AMD Sempron(tm) Processor 3000+, 1800.13 MHz
 cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 128KB
64b/line 16-way L2 cache
 cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
 cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
 cpu0: AMD erratum 89 present, BIOS upgrade may be required
 cpu0: apic clock running at 199MHz
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (P0P1)
 acpiprt2 at acpi0: bus 2 (HTT_)
 acpicpu0 at acpi0: PSS
 acpibtn0 at acpi0: PWRB
 cpu0: Cool'n'Quiet K8 1800 MHz: speeds: 1800 1000 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Acer Labs M1689 PCI rev 0x00
 agp at pchb0 not configured
 ppb0 at pci0 dev 1 function 0 Acer Labs M5246 AGP rev 0x00
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon VE rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 1 int 16
 drm0 at radeondrm0
 ppb1 at pci0 dev 2 function 0 Acer Labs M5249 PCI-PCI rev 0x00
 pci2 at ppb1 bus 2
 pcib0 at pci0 dev 3 function 0 Acer Labs M1563 ISA rev 0x70
 Acer Labs M7101 Power rev 0x00 at pci0 dev 3 function 1 not configured
 auacer0 at pci0 dev 4 function 0 Acer Labs M5455 Audio rev 0x20: apic 1
int 18
 ac97: codec id 0x41445368 (Analog Devices AD1888)
 ac97: codec features headphone, 20 bit DAC, No 3D Stereo
 audio0 at auacer0
 Acer Labs M5263 LAN rev 0x40 at pci0 dev 13 function 0 not configured
 pciide0 at pci0 dev 14 function 0 Acer Labs M5229 UDMA IDE rev 0xc7: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
 wd0 at pciide0 channel 0 drive 0: WDC AC14300R
 wd0: 16-sector PIO, LBA, 4112MB, 8421840 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: ATAPI, CD-ROM DRIVE-24X, 242M ATAPI 5/cdrom
removable
 cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
 Acer Labs M5289 SATA rev 0x10 at pci0 dev 14 function 1 not configured
 ohci0 at pci0 dev 15 function 0 Acer Labs M5237 USB rev 0x03: apic 1 int
20, version 1.0, legacy support
 ohci1 at pci0 dev 15 function 1 Acer Labs M5237 USB rev 0x03: apic 1 int
21, version 1.0, legacy support
 ohci2 at pci0 dev 15 function 2 Acer Labs M5237 USB rev 0x03: apic 1 int
22, version 1.0, legacy support
 ehci0 at pci0 dev 15 function 3 Acer Labs M5239 USB2 rev 0x01: apic 1 int
23
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Acer Labs EHCI root hub rev 2.00/1.00 addr 1
 pchb1 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
 pchb2 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
 pchb3 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
 kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00
 isa0 at pcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 lpt0 

Re: Narcicism?

2011-12-05 Thread Tomas Bodzar
On Tue, Dec 6, 2011 at 4:13 AM, Eric Oyen eric.o...@gmail.com wrote:
 easy there pardoner! :)

 I think he was pointing out my spelling error in jest.
 anyway, go easy on him as he probably didn't know (and I make it a point not
 to call attention to my disability, except where it becomes necessary).

Will be very off topic, but if you're using OpenBSD for your
school/work don't you think that it will be fine post for undeadly.org
about your stuff? Not sure how much apps is available in OpenBSD for
people with some disability.

Thx


 so, how is school going?

 -eric
 On Dec 5, 2011, at 2:04 PM, Super Biscuit wrote:

 Mr. Eric Oyen is blind. He cannot see the keyboard and makes occasional
 mistakes. Had you ever read or subscribed to the OpenBSD powerpc mailing
 lists, you would know this.



Re: Developing software on OpenBSD

2011-12-02 Thread Tomas Bodzar
On Fri, Dec 2, 2011 at 12:15 PM, Neoklis Kyriazis n5b...@yahoo.com wrote:
 Hi

 I hesitate somewhat to post this, being aware of the recommendations to
 look for answers in the extensive documentation of OpenBSD, but I just
 don't
 seem to find the information I need.

 I have been using Linux for a number of
 years and have written a few
 applications for that platform, mainly for my Ham
 Radio hobby (they
 are available on my website below). I have recently
 installed OpenBSD
 on my second SSD and I would like to edit the source code to
 make it
 compatible with OpenBSD's coding standards (I have managed to
 compile
 a couple of my simplest apps and I already have warnings of
 bad practices like
 using strcpy and strcat... ;-)

A  lot of is here http://www.openbsd.org/papers/ for details and
interesting internals of system itself. Especially this one
http://atmnis.com/~proger/openkyiv/openkyiv2009_proger_sys.pdf Except
of that superb man pages and take a look here
http://www.openbsd.org/cgi-bin/cvsweb/

 Is there a guide for developers regarding
 OpenBSD programming standards
 and practices, including specific API functions
 like strlcpy etc? Some of
 the apps I have written use the ALSA sound API,
 which I understand is not
 available on OpenBSD (and I think on all *BSDs). B Is
 OpenBSD using the
 standard OSS API?

http://www.openbsd.org/faq/ports/specialtopics.html#Audio


 My thanks in advance!



 Regards
 Neoklis - Ham Radio Call 5B4AZ
 QTH Locator KM64KR
 Website:
 http://www.qsl.net/5b4az/



Re: Narcicism?

2011-12-02 Thread Tomas Bodzar
On Fri, Dec 2, 2011 at 10:42 PM, Richard Thornton
thornton.rich...@gmail.com wrote:
 I wonder how much c++ the Russian programmer from Goldman is doing these
 days?!

Of course a lot to cover all of those black ops :D

 On Dec 2, 2011 4:35 PM, Tekk t...@parlementum.net wrote:

 It's that way in the US too, afaict(C is 'deprecated')

 On Fri, 2 Dec 2011, Dmitrij Czarkoff wrote:

 B On Fri, Dec 2, 2011 at 10:11 PM, David Riley fraveyd...@gmail.com
 wrote:

 one has to know C before knowing C++


 Well, I don't know how it happens in US or Canada, but in Russia
 ordinarily people first learn C++, and then (may be) C. Yes, knowing
 C++ implies substantial knowledge of C, but the point still stands. He
 didn't say a word about C, which would have been more relevant, so I
 assume that he was exaggerating his involvement with Linux and
 hacking.

 --
 Dmitrij D. Czarkoff



Re: Narcicism?

2011-12-01 Thread Tomas Bodzar
On Thu, Dec 1, 2011 at 8:28 AM, John Tate j...@johntate.org wrote:
 I think I've found a bug in the OpenBSD crowd. They bug the hell out of me
 and my little mistakes.

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


 I am not talking about people who actually have a solution, but I can't
 seem to ask anything on this list without parrots coming along picking on
 me. I think some people just hang out here because it's the most anal bunch
 of hackers ever, in recorded history. What are your experiences?

 Is it true that occasionally we attract people who either love bullying or
 are just lazy and pretending to be one of the clever?

 It just figures some of these people sit on the list, and email you poorly
 researched crap with no answers contain.

 If you hate a question, it truly doesn't belong, bug me.

 But if you just can't answer a question, ignore it.

 John Tate.

 Note: Yes, it's not my list.

 --
 www.johntate.org



Re: cd boot panic on 5.0 but not 4.9 or earlier

2011-11-26 Thread Tomas Bodzar
On Sat, Nov 26, 2011 at 10:46 PM, quartz qua...@sneakertech.com wrote:
 put a 5.0 kernel in the root directory of your file system with the name
 bsd50. B At the boot prompt, do a boot bsd50. B If the kernel loads
 all the way, it's just an issue with the bsd.rd kernel. B if it doesn't,
 it's a 5.0-rel issue.

 that's obvious and I should have thought of that myself, thank you.

 as for current/release, everyone who's responded seems to indicate that
 'current' is relatively stable. I guess I'm just not used to that, coming
 from other projects.

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

and that's simply true.



Re: More burning issues...

2011-11-21 Thread Tomas Bodzar
On Mon, Nov 21, 2011 at 10:10 AM, John Tate j...@johntate.org wrote:
 I am having troubles using cdio as described in the manual:
 http://www.openbsd.org/faq/faq13.html#burnCD

 I am using a DVD-RW. With dvd+rw-tools I had no troubles blanking the disk.

 [john@rothbard ~$ cdio -f cd0c tao backup.iso
 cdio: The media can't be written in TAO mode

sudo cdrecord -v -blank=fast
sudo cdrecord -v -tao driveropts=burnfree backup.iso



 The manual page `man 1 cdio` seems to lack and clear direction for a
 mode which works.

 --
 www.johntate.org



Re: Which version of Firefox most secure?

2011-11-20 Thread Tomas Bodzar
On Sun, Nov 20, 2011 at 3:14 PM, Javier Bassi javierba...@gmail.com wrote:
 On Sun, Nov 20, 2011 at 4:17 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 7.x.xx actual stable from Mozilla

 7.x is no longer supported by Mozilla. 7.0.1 has 3 CVEs
 If you don't have 8.0 on ports, go with 3.6.24

Actually I'm going with xxxterm, but Firefox is as backup only



Re: Which version of Firefox most secure?

2011-11-20 Thread Tomas Bodzar
On Mon, Nov 21, 2011 at 12:05 AM, James Hozier guitars...@yahoo.com wrote:
 From: Tomas Bodzar tomas.bod...@gmail.com
 Subject: Re: Which version of Firefox most secure?
 To: Javier Bassi javierba...@gmail.com
 Cc: misc@openbsd.org
 Date: Sunday, November 20, 2011, 3:18 PM
 On Sun, Nov 20, 2011 at 3:14 PM,
 Javier Bassi javierba...@gmail.com
 wrote:
  On Sun, Nov 20, 2011 at 4:17 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:
  7.x.xx actual stable from Mozilla
 
  7.x is no longer supported by Mozilla. 7.0.1 has 3
 CVEs
  If you don't have 8.0 on ports, go with 3.6.24

 Actually I'm going with xxxterm, but Firefox is as backup
 only



 I use xxxterm too (as well as scrotwm as my WM) but I need some of
 the add-ons that are offered on Firefox not elsewhere on any other
 browser

AdSuck from packages/ports and whitelist mode (need some work from
start to allow JS/cookies only for pages you really want) and runs
superb



Re: Which version of Firefox most secure?

2011-11-19 Thread Tomas Bodzar
On Sun, Nov 20, 2011 at 5:41 AM, James Hozier guitars...@yahoo.com wrote:
 In both the Packages list (for 5.0) and Ports, there are various
 different versions of Firefox, such as 3.5.xx, 3.6.xx, 7.x.xx, etc.,
 all seemingly separately maintained software for each of these.

 Is there a version that is considered more safe/secure to use since
 there are several different options of which version one can choose?

3.4.xx because of JRE
3.6.xx because last supported version of 3.x line from Mozilla
7.x.xx actual stable from Mozilla



Re: gkrellm and uuid's for filesystems

2011-11-18 Thread Tomas Bodzar
On Sat, Nov 19, 2011 at 1:46 AM, John Tate j...@johntate.org wrote:
 Misc/Ports,

 gkrellm has an OpenBSD specific shortcoming. Depending on what USB
 drives are plugged in, my softraid could be anywhere between sd2-sd6.
 gkrellm needs to be reconfigured every time. The OpenBSD port of
 gkrellm could instead support the uuids, and always display my two
 physical AHCI drives and the softraid. It's a little annoying having
 to configure gkrellm after every different boot scenario.

 Also, where do I get started on learning to make ports? I don't
 necessarily mean contribute but where are the docs for a wannabe
 contributor?

Everything is where it is supposed to be

http://www.openbsd.org/faq/ports/index.html

and this one may be of some help too

http://www.openbsd.org/papers/opencon07-portstutorial/


 John

 Also this leads nowhere, so I couldn't find gkrellm's maintainer:
 http://openports.se/sysutils/gkrellm

 --
 www.johntate.org



Re: opensmtpd

2011-11-17 Thread Tomas Bodzar
Check:

1) archives of misc@
2) man smtpd
3) man smtpd.conf
4) as it's work in progress use current
5) some people use it in production

On Thu, Nov 17, 2011 at 9:27 AM, Wesley M. open...@e-solutions.re wrote:
 Hi,

 I seen http://www.opensmtpd.org

 Does exist a stable version ?
 can we put it on production ?

 And what's about your handbook :
 https://www.poolp.org/OpenSMTPD/

 Possible to have this hanbook in french
 ?

 Thank you very much for replies.

 All the best,

 Wesley M.




Dell E6320 crashes continue and em0 doesn't work

2011-11-12 Thread Tomas Bodzar
Hi all,

update BIOS to A07 from A05 in a hope that it will solve hangs (some
improvements was promising regarding that), but no. Eg. during
'pkg_add -vi gimp' when process was in about 60% I started on second
console in tmux systat and it just hang (disk LED is on and computer
doesn't react to anything just Power off button pressed for couple of
seconds).

second issue (which is new) is that em0 stopped working. BTW in NetBSD
it's detected as 82579LM, but doesn't work either.

em0 at pci0 dev 25 function 0 Intel 82579V rev 0x04: msiem0: The
EEPROM Checksum Is Not Valid
em0: Unable to initialize the hardware

Some ideas? Can send acpidump if someone wants that.

Thx



OpenBSD 5.0-current (GENERIC.MP) #116: Wed Nov  9 17:06:02 MST 2011
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error 3fconfig_unit,memory_size,fixed_disk,invalid_time
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
686-class) 2.50 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
real mem  = 3394228224 (3236MB)
avail mem = 3328618496 (3174MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/03/11, BIOS32 rev. 0 @
0xffa10, SMBIOS rev. 2.6 @ 0xf1db0 (106 entries)
bios0: vendor Dell Inc. version A07 date 09/15/2011
bios0: Dell Inc. Latitude E6320
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC TCPA SSDT MCFG HPET BOOT SSDT SSDT DMAR SLIC
acpi0: wakeup devices UAR1(S3) HDEF(S4) GLAN(S4) PXSX(S4) RP01(S4)
PXSX(S4) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4)
RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4)
PEG1(S4) PEG2(S4) PEG3(S4) PXSX(S4) RP03(S4) EHC2(S3) EHCI(S3)
LID_(S3) PBTN(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 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
686-class) 2.50 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
686-class) 2.50 GHz
cpu2: 
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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
686-class) 2.50 GHz
cpu3: 
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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 9 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus 10 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus -1 (PEG0)
acpiprt10 at acpi0: bus -1 (PEG1)
acpiprt11 at acpi0: bus -1 (PEG2)
acpiprt12 at acpi0: bus -1 (PEG3)
acpiprt13 at acpi0: bus 3 (RP03)
acpiec0 at acpi0
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
acpitz0 at acpi0: critical temperature is 107 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL YJNKK16 serial S/N type LION oem
Samsung SDI
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: LCD_
bios0: ROM list: 0xc/0xee00
cpu0: Enhanced SpeedStep 2495 MHz: speeds: 2501, 2500, 2200, 2000,
1800, 1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel GT2+ Video rev 0x09
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 2 int 16
drm0 at inteldrm0
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not
configuredIntel 6 Series KT rev 0x04 at pci0 dev 22 function 3 not
configured
em0 at pci0 dev 25 function 0 Intel 82579V rev 

Re: Dell E6320 crashes continue and em0 doesn't work

2011-11-12 Thread Tomas Bodzar
On Sat, Nov 12, 2011 at 9:35 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 Hi all,

 update BIOS to A07 from A05 in a hope that it will solve hangs (some
 improvements was promising regarding that), but no. Eg. during
 'pkg_add -vi gimp' when process was in about 60% I started on second
 console in tmux systat and it just hang (disk LED is on and computer
 doesn't react to anything just Power off button pressed for couple of
 seconds).

 second issue (which is new) is that em0 stopped working. BTW in NetBSD
 it's detected as 82579LM, but doesn't work either.

 em0 at pci0 dev 25 function 0 Intel 82579V rev 0x04: msiem0: The
 EEPROM Checksum Is Not Valid
 em0: Unable to initialize the hardware

Seems like there were a lot of similar problems in the past like:

http://www.thinkwiki.org/wiki/Problem_with_e1000:_EEPROM_Checksum_Is_Not_Vali
d
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/60388

Is there an easy way to disable that checksum of EEPROM or change that
to warning only?



 Some ideas? Can send acpidump if someone wants that.

 Thx



 OpenBSD 5.0-current (GENERIC.MP) #116: Wed Nov B 9 17:06:02 MST 2011
 B  B t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 RTC BIOS diagnostic error
3fconfig_unit,memory_size,fixed_disk,invalid_time
 cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu0:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 real mem B = 3394228224 (3236MB)
 avail mem = 3328618496 (3174MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 09/03/11, BIOS32 rev. 0 @
 0xffa10, SMBIOS rev. 2.6 @ 0xf1db0 (106 entries)
 bios0: vendor Dell Inc. version A07 date 09/15/2011
 bios0: Dell Inc. Latitude E6320
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP APIC TCPA SSDT MCFG HPET BOOT SSDT SSDT DMAR SLIC
 acpi0: wakeup devices UAR1(S3) HDEF(S4) GLAN(S4) PXSX(S4) RP01(S4)
 PXSX(S4) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4)
 RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4)
 PEG1(S4) PEG2(S4) PEG3(S4) PXSX(S4) RP03(S4) EHC2(S3) EHCI(S3)
 LID_(S3) PBTN(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 99MHz
 cpu1 at mainbus0: apid 2 (application processor)
 cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu1:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 cpu2 at mainbus0: apid 1 (application processor)
 cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu2:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu3:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus 2 (RP02)
 acpiprt4 at acpi0: bus 9 (RP04)
 acpiprt5 at acpi0: bus -1 (RP05)
 acpiprt6 at acpi0: bus 10 (RP06)
 acpiprt7 at acpi0: bus -1 (RP07)
 acpiprt8 at acpi0: bus -1 (RP08)
 acpiprt9 at acpi0: bus -1 (PEG0)
 acpiprt10 at acpi0: bus -1 (PEG1)
 acpiprt11 at acpi0: bus -1 (PEG2)
 acpiprt12 at acpi0: bus -1 (PEG3)
 acpiprt13 at acpi0: bus 3 (RP03)
 acpiec0 at acpi0
 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
 acpitz0 at acpi0: critical temperature is 107 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: PBTN
 acpibtn2 at acpi0: SBTN
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT0 model DELL YJNKK16 serial S/N type LION oem
 Samsung SDI
 acpibat1 at acpi0: BAT1 not present
 acpibat2 at acpi0: BAT2 not present
 acpivideo0 at acpi0: VID_
 acpivout0 at acpivideo0: LCD_
 bios0: ROM list: 0xc/0xee00
 cpu0: Enhanced SpeedStep 2495 MHz: speeds: 2501, 2500, 2200, 2000,
 1800, 1600, 1400, 1200, 1000, 800 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel Core 2G Host

Re: Dell E6320 crashes continue and em0 doesn't work

2011-11-12 Thread Tomas Bodzar
On Sat, Nov 12, 2011 at 10:29 AM, Tomas Bodzar tomas.bod...@gmail.com
wrote:
 On Sat, Nov 12, 2011 at 9:35 AM, Tomas Bodzar tomas.bod...@gmail.com
wrote:
 Hi all,

 update BIOS to A07 from A05 in a hope that it will solve hangs (some
 improvements was promising regarding that), but no. Eg. during
 'pkg_add -vi gimp' when process was in about 60% I started on second
 console in tmux systat and it just hang (disk LED is on and computer
 doesn't react to anything just Power off button pressed for couple of
 seconds).

 second issue (which is new) is that em0 stopped working. BTW in NetBSD
 it's detected as 82579LM, but doesn't work either.

 em0 at pci0 dev 25 function 0 Intel 82579V rev 0x04: msiem0: The
 EEPROM Checksum Is Not Valid
 em0: Unable to initialize the hardware

 Seems like there were a lot of similar problems in the past like:


http://www.thinkwiki.org/wiki/Problem_with_e1000:_EEPROM_Checksum_Is_Not_Vali
d
 https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/60388

 Is there an easy way to disable that checksum of EEPROM or change that
 to warning only?

Tried resetting it twice via this change and recompile of kernel, but no luck

$ pwd
/usr/src/sys/dev/pci
$ cvs diff -C 5 if_em.c
Index: if_em.c
===
RCS file: /cvs/src/sys/dev/pci/if_em.c,v
retrieving revision 1.261
diff -C5 -r1.261 if_em.c
*** if_em.c 5 Oct 2011 02:52:09 -   1.261
--- if_em.c 12 Nov 2011 12:03:28 -
***
*** 1734,1743 
--- 1734,1749 
sc-tx_fifo_head = 0;

/* Make sure we have a good EEPROM before we read from it */
if (em_validate_eeprom_checksum(sc-hw)  0) {
/*
+* Trying Linux way which solved issues with EEPROM
+* checksum invalid by calling HW reset twice.
+*/
+   em_reset_hw(sc-hw);
+
+   /*
 * Some PCIe parts fail the first check due to
 * the link being in sleep state, call it again,
 * if it fails a second time its a real issue.
 */
if (em_validate_eeprom_checksum(sc-hw)  0) {
$





 Some ideas? Can send acpidump if someone wants that.

 Thx



 OpenBSD 5.0-current (GENERIC.MP) #116: Wed Nov B 9 17:06:02 MST 2011
 B  B t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 RTC BIOS diagnostic error
3fconfig_unit,memory_size,fixed_disk,invalid_time
 cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu0:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 real mem B = 3394228224 (3236MB)
 avail mem = 3328618496 (3174MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 09/03/11, BIOS32 rev. 0 @
 0xffa10, SMBIOS rev. 2.6 @ 0xf1db0 (106 entries)
 bios0: vendor Dell Inc. version A07 date 09/15/2011
 bios0: Dell Inc. Latitude E6320
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP APIC TCPA SSDT MCFG HPET BOOT SSDT SSDT DMAR SLIC
 acpi0: wakeup devices UAR1(S3) HDEF(S4) GLAN(S4) PXSX(S4) RP01(S4)
 PXSX(S4) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4)
 RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4)
 PEG1(S4) PEG2(S4) PEG3(S4) PXSX(S4) RP03(S4) EHC2(S3) EHCI(S3)
 LID_(S3) PBTN(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 99MHz
 cpu1 at mainbus0: apid 2 (application processor)
 cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu1:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 cpu2 at mainbus0: apid 1 (application processor)
 cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu2:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (GenuineIntel
 686-class) 2.50 GHz
 cpu3:
FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX
,LAHF
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0

Re: 1 Mpps router and OpenBSD?

2011-10-27 Thread Tomas Bodzar
On Thu, Oct 27, 2011 at 8:23 PM, tx zzw...@gmail.com wrote:
 Is it possible to make 1 Mpps router (BGP and routing between several 1GBE
 links) with standard x86 CPU such as Xeon or Opteron and accelerated NICs
 like Intel PRO1000/PT? All with latest stable OpenBSD, of course :) Any
 suggestions, tweaks, special techniques for that case, any documentation,
 please?

http://afresh1.com/OpenBSD_49_Throughput_Latency/



Re: Only noise from Azalia

2011-10-11 Thread Tomas Bodzar
On Tue, Oct 11, 2011 at 3:25 AM, Jairo Souto j.so...@unix.net wrote:
 I can get only noise from the audio of a notebook Acer Aspire
 5820T-6825. dmesg, audioctl and mixerctl are attached.

 Any advice? Thank you.

Go for snapshot


 --Jairo
 dmesg
 
 OpenBSD 4.9 (GENERIC.MP) #819: Wed Mar B 2 06:57:49 MST 2011
 B  B dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 RTC BIOS diagnostic error 80clock_battery
 real mem = 3008843776 (2869MB)
 avail mem = 2914725888 (2779MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe9460 (51 entries)
 bios0: vendor INSYDE version V1.23 date 12/21/2010
 bios0: Acer Aspire 5820T
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP ASF! HPET APIC MCFG SLIC BOOT ASPT WDAT SSDT
 acpi0: wakeup devices EHC1(S3) EHC2(S3) PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4)
PXSX(S4) PXSX(S4) PXSX(S4) PXSX(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) i5 CPU M 480 @ 2.67GHz, 2660.90 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: apic clock running at 133MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz, 2660.46 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu2 at mainbus0: apid 4 (application processor)
 cpu2: Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz, 2660.46 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu3 at mainbus0: apid 5 (application processor)
 cpu3: Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz, 2660.46 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
 cpu3: 256KB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 2
 acpimcfg0 at acpi0 addr 0xf000, bus 0-127
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 3 (P0P1)
 acpiprt3 at acpi0: bus 1 (RP01)
 acpiprt4 at acpi0: bus -1 (RP02)
 acpiprt5 at acpi0: bus -1 (RP03)
 acpiprt6 at acpi0: bus -1 (RP04)
 acpiprt7 at acpi0: bus -1 (RP05)
 acpiprt8 at acpi0: bus -1 (RP07)
 acpiprt9 at acpi0: bus -1 (RP08)
 acpiprt10 at acpi0: bus -1 (PEG3)
 acpiprt11 at acpi0: bus -1 (PEG5)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C1, PSS
 acpicpu1 at acpi0: C3, C1, PSS
 acpicpu2 at acpi0: C3, C1, PSS
 acpicpu3 at acpi0: C3, C1, PSS
 acpitz0 at acpi0: critical temperature 105 degC
 acpibat0 at acpi0: BAT1 model AS10B3E serial 7F5A type LION oem SANYO
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID0
 acpibtn2 at acpi0: SLPB
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: LCD_
 acpivideo1 at acpi0: VGA_
 cpu0: Enhanced SpeedStep 2660 MHz: speeds: 2667, 2666, 2533, 2399, 2266,
2133, 1999, 1866, 1733, 1599, 1466, 1333, 1199 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core Host rev 0x18
 vga1 at pci0 dev 2 function 0 Intel Mobile HD graphics rev 0x18
 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 0xc000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 7)
 drm0 at inteldrm0
 Intel 3400 MEI rev 0x06 at pci0 dev 22 function 0 not configured
 ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x05: apic 2 int 16
(irq 7)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 3400 HD Audio rev 0x05: apic 2 int
22 (irq 11)
 azalia0: codecs: Realtek ALC269, Intel/0x2804, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 3400 PCIE rev 0x05: apic 2 int 17
(irq 255)
 pci1 at ppb0 bus 1
 Attansic Technology L1D rev 0xc0 at pci1 dev 0 function 0 not configured
 ppb1 at pci0 dev 28 function 5 Intel 3400 PCIE rev 0x05: apic 2 int 16
(irq 255)
 pci2 at ppb1 bus 2
 Broadcom BCM43225 rev 0x01 at pci2 dev 0 function 0 not configured
 ehci1 at pci0 dev 29 function 0 Intel 3400 USB rev 0x05: apic 2 int 23
(irq 11)
 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 

Re: Why I uninstalled OpenBSD???

2011-10-02 Thread Tomas Bodzar
On Sun, Oct 2, 2011 at 6:44 AM, Nick Holland
n...@holland-consulting.net wrote:
 On 10/01/11 23:08, Christiano F. Haesbaert wrote:
 Not again people, please.

 Stop feeding.

 Yes.
 Yet another never-heard-from-before-or-again loser (and *always* using a
 gmail account...isn't that interesting?) posting a link to that loser's
 site (which is hosted on google, and MX records point to google). B $0.50
 says it's the same loser who writes that dribble and posts the link here.

 And then a bunch of people who should know better jump all over him, not
 unjustifiably, but include the link of the crap in their reply, giving
 more advertising to the site and higher search engine ratings. B Mission
 accomplished.

 IF you have to reply to someone posting a stupid link (even an
 UNINTENTIONALLY stupid link...you know, the well-intended ones that
 provide bddd advice), do the world a favor and remove the link from
 your reply...

That guy must know a lot about security for sure. He has fcb account
(find that, don't want to make PR for him) so real guru :-) It turns
his complaints about security, FBI, backdoors and other stuff in to
really high level joke :-)

In the end his page has title which says enough how serious are all
his post. BTW did not find his name in cvs@, tech@, misc@ so I'm
curious with what he contributed to code as he writes about that.
Maybe some invisible improvement? :-)



 Nick.



Re: nfe0: watchdog timeout

2011-10-02 Thread Tomas Bodzar
On Sun, Oct 2, 2011 at 9:12 AM, VICTOR TARABOLA CORTIANO
vt...@c3sl.ufpr.br wrote:
 Hi,

 I installed the 4.9 release on my machine and I was having trouble
 with my network card. Every couple of seconds I would get the
 message nfe0: watchdog timeout. For all purposes I couldn't connect
 to the internet. I have a Nvidia RealTek ethernet card. More details
 in the dmesg...

 After messing around with boot -c I was able to get it working
 by disabling acpi, apm and mpbios. Hope this helps someone, since
 I didn't find anything about this error on the OpenBSD archives...

Nvidia HW is quite too much crappy. Did you try latest snapshot just
to see if it's ok in current or not? If it's not then maybe some of
the devs will want to see acpidump(8) tables (not here on misc@
directly probably ;-))



 Here is my ifconfig:

 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33200
 B  B  B  B priority: 0
 B  B  B  B groups: lo
 B  B  B  B inet 127.0.0.1 netmask 0xff00
 B  B  B  B inet6 ::1 prefixlen 128
 B  B  B  B inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 B  B  B  B lladdr 00:1d:60:56:26:b4
 B  B  B  B priority: 0
 B  B  B  B groups: egress
 B  B  B  B media: Ethernet autoselect (100baseTX full-duplex)
 B  B  B  B status: active
 B  B  B  B inet6 fe80::21d:60ff:fe56:26b4%nfe0 prefixlen 64 scopeid 0x1
 B  B  B  B inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255
 enc0: flags=0
 B  B  B  B priority: 0
 B  B  B  B groups: enc
 B  B  B  B status: active
 pflog0: flags=141UP,RUNNING,PROMISC mtu 33200
 B  B  B  B priority: 0
 B  B  B  B groups: pflog

 And here is my dmesg after disabling acpi, apm and mpbios. If you
 guys want a dmesg with them enabed, just ask:

 (80x25, vt100 emulation)
 pchb0 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
 pchb1 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
 pchb2 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
 kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00: core rev
BH-G1
 isa0 at pcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 it0 at isa0 port 0x2e/2: IT8712F rev 8, EC port 0x290
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 usb1 at ohci0: USB revision 1.0
 uhub1 at usb1 NVIDIA OHCI root hub rev 1.00/1.00 addr 1
 mtrr: Pentium Pro MTRR support
 vscsi0 at root
 scsibus1 at vscsi0: 256 targets
 softraid0 at root
 root on wd0a swap on wd0b dump on wd0b
 nfe0: watchdog timeout
 nfe0: watchdog timeout
 syncing disks...
 OpenBSD 4.9 (GENERIC) #671: Wed Mar B 2 07:09:00 MST 2011
 B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ (AuthenticAMD
686-class, 512KB L2 cache) 2.11 GHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
 real mem B = 938831872 (895MB)
 avail mem = 913342464 (871MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 08/20/07, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.4 @ 0xf06f0 (49 entries)
 bios0: vendor American Megatrends Inc. version 0403 date 08/20/2007
 bios0: ASUSTeK Computer INC. M2N-MX SE
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP MCFG OEMB HPET SSDT
 acpi0: wakeup devices PS2K(S4) PS2M(S4) UAR1(S4) USB0(S4) USB2(S3) P0P1(S4)
HDAC(S4) P0P2(S4) BR11(S4) NMAC(S4) NSMB(S4) PWRB(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpihpet0 at acpi0: 2500 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (P0P1)
 acpiprt2 at acpi0: bus 2 (P0P2)
 acpiprt3 at acpi0: bus 3 (BR11)
 acpiprt4 at acpi0: bus 4 (BR12)
 acpicpu0 at acpi0: PSS
 aibs0 at acpi0: RTMP RVLT RFAN GGRP GITM SITM
 acpibtn0 at acpi0: PWRB
 mpbios0 at bios0: Intel MP Specification 1.4
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 200MHz
 cpu at mainbus0: not configured
 mpbios0: bus 0 is type PCI
 mpbios0: bus 1 is type PCI
 mpbios0: bus 2 is type PCI
 mpbios0: bus 3 is type PCI
 mpbios0: bus 4 is type PCI
 mpbios0: bus 5 is type ISA
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
 bios0: ROM list: 0xc/0xf000
 cpu0: PowerNow! K8 2110 MHz: speeds: 2100 2000 1800 1000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 NVIDIA MCP61 Memory rev 0xa1 at pci0 dev 0 function 0 not configured
 pcib0 at pci0 dev 1 function 0 NVIDIA MCP61 ISA rev 0xa2
 nviic0 at pci0 dev 1 function 1 NVIDIA MCP61 SMBus rev 0xa2
 iic0 at nviic0
 

Re: kernel panic: inteldrm

2011-09-28 Thread Tomas Bodzar
2011/9/28 Alexei Malinin alexei.mali...@mail.ru:
 Owain Ainsworth wrote:
 On Tue, Sep 27, 2011 at 01:24:36PM +0400, Alexei Malinin wrote:
 Hello.

 Can anybody comment this kernel panic event?

 I will look into it.

 What were you doing at the time?

 rdesktop was running, I moved cursor from rdesktop window
 to seamonkey window, after that all hung, I switched to other
 virtual console, then I switched back to X and after
 that computer rebooted

My colleague has quite similar issues on about month old current.

3533124.077] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
  (Operation not permitted)
  Check that you have set 'machdep.allowaperture=1'
  in /etc/sysctl.conf and reboot your machine
  refer to xf86(4) for details
[3533124.077]   linear framebuffer access unavailable
[3533124.098] (--) Using wscons driver on /dev/ttyC4 in pcvt
compatibility mode (version 3.32)
[3533125.109]
Fatal server error:
[3533125.109] xf86OpenConsole: VT_SETMODE VT_PROCESS failed
[3533125.109]
Please consult the The X.Org Foundation support
   at http://wiki.x.org
for help.
[3533125.109] Please also check the log file at /var/log/Xorg.1.log
for additional information.
[3533125.109]
$

machdep.allowaperture is set to 2 and permissions looks fine. What's
interesting is that there are messages in console about some issue in
Seamonkey (sorry don't have them in hand right now). Before they start
appearing in console cursor in X changes to vertical line about 3cm
in size which is shaking and in couple of seconds whole machine just
freeze. Sometimes it's possible to avoid that behaviour with quick
switch to text console, but not always.

There's Gnome2 and other packages installed. Right now I can't provide
more. Probably I will be able next week when machine will be upgraded
to real current and I will check if problem is still in place.



 This is pure 4.9 yes?

 yes


 --
 Alexei Malinin



Re: Blocking Trojans with PF

2011-09-26 Thread Tomas Bodzar
On Mon, Sep 26, 2011 at 10:16 AM, Hassan Monfared hmonfa...@gmail.com
wrote:
 thanks for clear answer !
 I'd already read.
 not bad idea to refer every question on the list to the manuals and books
or
 man pages, huh ?

Because nearly 95% or more was already answered in them? ;-) This is not
Linux.


 On Mon, Sep 26, 2011 at 11:35 AM, Gregory Edigarov
 g...@bestnet.kharkov.uawrote:

 Why can't you read how does statefull filtration works? You'd be much
 better with the full explanation of TCP handshake process, and how does
 a statefull firewall fits into picture.

 On Mon, 26 Sep 2011 11:26:54 +0330
 Hassan Monfared hmonfa...@gmail.com wrote:

  Hi again,
  all 6 webservers are behind FW ,
  doesn't block in on $intif rule blocks TCP handshaking ? I mean ACK
  message must be passed on $intif, mustn't ?
  Regards,
  Hassan H. Monfared
 
 
  On Mon, Sep 26, 2011 at 11:21 AM, Gregory Edigarov
  g...@bestnet.kharkov.uawrote:
 
  
   If your firewall is on the same machine as webserver -you can safely
   use the ruleset i wrote.
  
   if not - you should have B  block in on $intif
  
   On Mon, 26 Sep 2011 10:40:09 +0330
   Hassan Monfared hmonfa...@gmail.com wrote:
  
thank you,
is it right blocking connection initiation from inside using rule
something like:
block in on $if flags S/SA
am I right ?
   
Regards,
Hassan H. Monfared
   
   
On Mon, Sep 26, 2011 at 10:18 AM, Gregory Edigarov
g...@bestnet.kharkov.uawrote:
   
 On Mon, 26 Sep 2011 09:48:20 +0330
 Hassan Monfared hmonfa...@gmail.com wrote:

  Hi,
  Any idea for denying connection initiation to outside from
  any web server protected by PF? ( wanna block Trojans and
  reverse connections while incomming http traffic is allowed) .

 block all
 pass in on $if from any to ($if)

 will block it as you wish.


 --
 With best regards,
 B  B  B  B Gregory Edigarov



Re: microsoft and UEFI boot

2011-09-26 Thread Tomas Bodzar
On Mon, Sep 26, 2011 at 11:09 AM, Paolo Aglialoro paol...@gmail.com wrote:
 Actually I'm way more optimist about OEM motherboard manufacturers rather
 than PC companies.
 The weak spot will in fact be laptops and other portable equipment, as these
 are all proprietary design.

There's new article related to that http://www.bunniestudios.com/blog/?p=1863


 Considering that laptop sales have overdone standard fixed PCs ones since
 years, the ecosystem, unless some heavyweight authority will strike hard,
 could be severely affected

 Plus: is this crap going to fit the TPM chip onboard? Or just something that
 can be got around by flashing bios/firmware? And how many firmwares will
 there be? It's not realistic to think that any single one of them can be
 hacked... plus with the danger of bricking the box any time or making it
 behave dizzy



 On Sat, Sep 24, 2011 at 7:09 PM, Marc Smith marc_sm...@gmx.com wrote:

 Well, yes. You're right. Apparently only EU commission can help and
 let me tell you that: EU is really good with those kind of
 regulations. It usually cares for customer's privacy and fights
 monopoly of particular companies. Let's hope it would make next move.

 Anyway, there are [still] some custom PC sets that remains open and
 non-restrictive. Let's count on that so it will remain active on the
 market.

 W dniu 24.09.2011 18:57, Paolo Aglialoro pisze:
  Unfortunately, just a tiny percentage of sold X86 boxes is no-OS,
  and also dell has stopped selling linux PCs. The last no-OS one I
  bought was an HP laptop (HP 360) with suse 11 onboard. Drops within
  an ocean. Unless EU Commission helps, it'll be a hell of a
  scenery
 
 
 
  On Sat, Sep 24, 2011 at 4:13 PM, Marc Smith marc_sm...@gmx.com
  wrote:
 
  This has been already explained in multiple articles, really. It
  looks like it's OEMs stuff. They decide whether they give the end
  user an option to disable secure boot or not. It's probobly the
  best to buy only No OS computers anyway. You can also support
  various open BIOS initiatives.
 
  Dnia sob, 24 wrz 2011, 15:36:21 Amit Kulkarni pisze:
  http://mjg59.dreamwidth.org/5850.html
 
  in the future how will we have access to OpenBSD if Microsoft
  get away with it? right now most of us buy Windows enabled PCs
  and either dual boot or wipe it out...
 
  thanks



Re: rc_scripts

2011-09-24 Thread Tomas Bodzar
On Sat, Sep 24, 2011 at 3:59 PM, Alessandro Baggi
alessandro.ba...@gmail.com wrote:
 Hi list.

 I'm trying to use rc_script in rc.conf.local but without results.
 In rc.conf.local I put this:

 rc_scripts=clamd

 but after reboot, clamd does not start.
 I've tried also:

 rc_scripts=clamd start

 and

 clamd_flags=

 but without result.

Did you set clamd already? Because you need to config clamd first and
uncomment at least one line in config to get that daemon running


 Can someone point me in the right direction?

man rc.d
man rc.subr

find env for debug


 Thanks in advance.



Re: rc_scripts

2011-09-24 Thread Tomas Bodzar
On Sat, Sep 24, 2011 at 4:24 PM, Alessandro Baggi
alessandro.ba...@gmail.com wrote:
 Hi Tomas,

 Yes, clamd is already running. Now i'm starting it from rc.local.

Use /etc/rc.conf.local and that new infrastructure rc.d


 Reading man pages from www.openbsd.org I get:

 The fourth section contains the/pkg_scripts/ B variable, responsible for
 B  B  starting and stoppingrc.d(8)

B http://www.openbsd.org/cgi-bin/man.cgi?query=rc.dsektion=8arch=i386apro
pos=0manpath=OpenBSD+Current
 B scripts installed by packages in the speci-
 B  B  fied order. B For example, the following line

 B  B  B  B  B  pkg_scripts=dbus_daemon cupsd

 B  B  will run//etc/rc.d/dbus_daemon/ B then//etc/rc.d/cupsd/ B with
the/start/
 B argu-
 B  B  ment at boot time and in reverse order with the/stop/ B argument at
shut-
 B  B  down.


 but reading man from my installed OpenBSD (4.9/amd64), i get:

 The fourth section contains the/rc_scripts/ B variable, responsible for
 B  B  starting and stoppingrc.d(8)

B http://www.openbsd.org/cgi-bin/man.cgi?query=rc.dsektion=8arch=i386apro
pos=0manpath=OpenBSD+Current
 B scripts installed by packages in the speci-
 B  B  fied order. B For example, the following line

 B  B  B  B  B  rc_scripts=dbus_daemon cupsd

 B  B  will run//etc/rc.d/dbus_daemon/ B then//etc/rc.d/cupsd/ B with
the/start/
 B argu-
 B  B  ment at boot time and in reverse order with the/stop/ B argument at
shut-
 B  B  down.

 What's the way?

We don't know what is your version of OpenBSD ;-) Anyway it was
rc_scripts in 4.9 and changed to pkg_scripts in current
http://www.openbsd.org/faq/current.html#20110707



 On 09/24/2011 04:16 PM, Tomas Bodzar wrote:

 On Sat, Sep 24, 2011 at 3:59 PM, Alessandro Baggi
 alessandro.ba...@gmail.com B wrote:

 Hi list.

 I'm trying to use rc_script in rc.conf.local but without results.
 In rc.conf.local I put this:

 rc_scripts=clamd

 but after reboot, clamd does not start.
 I've tried also:

 rc_scripts=clamd start

 and

 clamd_flags=

 but without result.

 Did you set clamd already? Because you need to config clamd first and
 uncomment at least one line in config to get that daemon running

 Can someone point me in the right direction?

 man rc.d
 man rc.subr

 find env for debug

 Thanks in advance.



Re: rc_scripts

2011-09-24 Thread Tomas Bodzar
On Sat, Sep 24, 2011 at 5:41 PM, Alessandro Baggi
alessandro.ba...@gmail.com wrote:
 Nothing, I've also tried to use pkg_scripts=clamd

 It does not work.

 There some place where I can find some logs error? In /var/log I don't see
 nothing.

There was in man rc.d this:

RC_DEBUG  Setting this variable will print the function names as they are
  called and prevent the rc.subr(8) framework from redirecting
  stdin and stderr to /dev/null.  This is used to allow debugging
  of failed actions.

but not sure where it gone. Can't see that in current/4.9



 On 09/24/2011 05:21 PM, William Yodlowsky wrote:

 On 24 September 2011 at 17:23, Alessandro
 Baggialessandro.ba...@gmail.com B wrote:

 I've put in my rc.conf.local, at the end of the file, this:

 rc_scripts=clamd

 but it does not work.

 The variable was renamed to pkg_scripts so try this in rc.conf.local
 instead:

 pkg_scripts=clamd

 The system's manpage of rc.d(8) should say at the top of the page which
 the correct one is.



Re: -current userland not building

2011-09-23 Thread Tomas Bodzar
On Fri, Sep 23, 2011 at 1:04 AM, Chris Smith obsd_m...@chrissmith.org
wrote:
 It seems I've followed the instructions labelled 2011/09/19 - thread
 model posix enabled for gcc 3 at
 http://openbsd.org/faq/current.html#20110919 and mistakenly so which
 is probably why userland wont build as that process has replaced
 gcc-4.x with gcc-3.x.

Mmmm are you on alpha or landisk that you follow those instructions?


 If indeed that is the case, the question is, how do I get gcc-4.x back ?

 Thanks,

 Chris

 On Wed, Sep 21, 2011 at 12:01 PM, Chris Smith obsd_m...@chrissmith.org
 wrote:
 Problems building -current userland:
 ==
 === libcurses
 cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c codes.c -o codes.o
 cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c comp_captab.c -o
 comp_captab.o
 cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c expanded.c -o
 expanded.o
 cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c fallback.c -o
 fallback.o
 cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c lib_gen.c -o
lib_gen.o
 lib_gen.c:27: error: conflicting types for `addchnstr'
 /usr/src/lib/libcurses/curses.h:531: error: previous declaration of
 `addchnstr'
 lib_gen.c:34: error: conflicting types for `addchstr'
 /usr/src/lib/libcurses/curses.h:532: error: previous declaration of
 `addchstr'
 lib_gen.c:41: error: conflicting types for `addnstr'
 /usr/src/lib/libcurses/curses.h:533: error: previous declaration of
 `addnstr'
 lib_gen.c:48: error: conflicting types for `addstr'
 snip
 lib_gen.c:1522: error: conflicting types for `waddwstr'
 /usr/src/lib/libcurses/curses.h:1483: error: previous declaration of
 `waddwstr'
 lib_gen.c:1558: error: conflicting types for `wins_wstr'
 /usr/src/lib/libcurses/curses.h:1499: error: previous declaration of
 `wins_wstr'
 *** Error code 1

 Stop in /usr/src/lib/libcurses (line 92 of /usr/share/mk/sys.mk).
 *** Error code 1

 Stop in /usr/src/lib (line 48 of /usr/share/mk/bsd.subdir.mk).
 *** Error code 1

 Stop in /usr/src (line 80 of Makefile).
 ==

 Clues please.

 Chris



Re: current an Intel 3400 USB

2011-09-23 Thread Tomas Bodzar
On Fri, Sep 23, 2011 at 11:01 AM, Holger Glaess gla...@glaessixs.de wrote:
 hi
 i allready download the snapshot from 22.9.

 i get this dmesg

Is it dmesg from LiveCD, first boot after install or another one?


 # dmesg
 OpenBSD 5.0-current (RAMDISK) #70: Thu Sep 22 12:02:43 MDT 2011
 B  B dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK
 real mem = 4285005824 (4086MB)
 avail mem = 4161949696 (3969MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfc860 (68 entries)
 bios0: vendor American Megatrends Inc. version 080015 date 05/02/2011
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2660.37 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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,S
SSE3,CX16,xTPR,G
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: apic clock running at 133MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 7 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 1, remapped to apid 7
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P1)
 acpiprt2 at acpi0: bus 5 (BR1E)
 acpiprt3 at acpi0: bus -1 (BR20)
 acpiprt4 at acpi0: bus -1 (BR21)
 acpiprt5 at acpi0: bus -1 (BR22)
 acpiprt6 at acpi0: bus -1 (BR23)
 acpiprt7 at acpi0: bus -1 (BR24)
 acpiprt8 at acpi0: bus -1 (BR25)
 acpiprt9 at acpi0: bus -1 (BR26)
 acpiprt10 at acpi0: bus -1 (BR27)
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core DMI rev 0x11
 ppb0 at pci0 dev 3 function 0 Intel Core PCIE rev 0x11
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 4 function 0 Intel Core PCIE rev 0x11
 pci2 at ppb1 bus 2
 em0 at pci2 dev 0 function 0 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:12
 em1 at pci2 dev 0 function 1 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:13
 em2 at pci2 dev 0 function 2 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:14
 em3 at pci2 dev 0 function 3 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:15
 ppb2 at pci0 dev 5 function 0 Intel Core PCIE rev 0x11
 pci3 at ppb2 bus 3
 em4 at pci3 dev 0 function 0 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0a
 em5 at pci3 dev 0 function 1 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0b
 em6 at pci3 dev 0 function 2 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0c
 em7 at pci3 dev 0 function 3 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0d
 ppb3 at pci0 dev 6 function 0 Intel Core PCIE rev 0x11
 pci4 at ppb3 bus 4
 em8 at pci4 dev 0 function 0 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:06
 em9 at pci4 dev 0 function 1 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:07
 em10 at pci4 dev 0 function 2 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:08
 em11 at pci4 dev 0 function 3 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:09
 Intel Core Management rev 0x11 at pci0 dev 8 function 0 not configured
 Intel Core Scratch rev 0x11 at pci0 dev 8 function 1 not configured
 Intel Core Control rev 0x11 at pci0 dev 8 function 2 not configured
 Intel Core Misc rev 0x11 at pci0 dev 8 function 3 not configured
 Intel Core QPI Link rev 0x11 at pci0 dev 16 function 0 not configured
 Intel Core QPI Routing rev 0x11 at pci0 dev 16 function 1 not configured
 Intel 3400 USB rev 0x05 at pci0 dev 29 function 0 not configured
 ppb4 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xa5
 pci5 at ppb4 bus 5
 pciide0 at pci5 dev 1 function 0 ITExpress IT8213F rev 0x00: DMA
 (unsupported), channel 0 wired to native-PCI, channel 1 wired to
 native-PCI
 pciide0: using apic 7 int 16 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: TRANSCEND
 wd0: 1-sector PIO, LBA, 485MB, 994896 sectors
 pciide0: channel 1 ignored (not responding; disabled or no drives?)
 vga1 at pci5 dev 2 function 0 ASPEED Technology AST2000 rev 0x10
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 Intel 3420 LPC rev 0x05 at pci0 dev 31 function 0 not configured
 pciide1 at pci0 dev 31 function 2 Intel 3400 SATA rev 0x05: DMA, channel
 0 configured to native-PCI, channel 1 configured to native-PCI
 pciide1: using apic 7 int 19 for native-PCI interrupt
 wd1 at pciide1 channel 0 drive 0: WDC WD2503ABYX-01WERA0
 wd1: 16-sector PIO, LBA48, 239429MB, 490350672 sectors
 wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
 Intel 3400 SMBus rev 0x05 at pci0 dev 31 function 3 not configured
 pciide2 at pci0 dev 31 function 5 Intel 3400 SATA rev 0x05: DMA, channel
 0 wired to native-PCI, channel 1 wired to native-PCI
 pciide2: using apic 7 int 19 for native-PCI interrupt
 isa0 at mainbus0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte 

Re: current an Intel 3400 USB

2011-09-23 Thread Tomas Bodzar
On Fri, Sep 23, 2011 at 11:50 AM, Holger Glaess gla...@glaessixs.de wrote:
 On Fri, Sep 23, 2011 at 11:01 AM, Holger Glaess gla...@glaessixs.de
 wrote:
 hi
 i allready download the snapshot from 22.9.

 i get this dmesg

 Is it dmesg from LiveCD, first boot after install or another one?

 i create an boot cd form the snapshot and boot the box with it.

 after the install ... question i break to shell

 at the moment there is no usb device active anymore.

 but i have also access by serial remote connect that i can do somthing.

Because RAMDISK doesn't have all the drivers available to be able to
fit to medium used.


 holger


 # dmesg
 OpenBSD 5.0-current (RAMDISK) #70: Thu Sep 22 12:02:43 MDT 2011
 B  B dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK
 real mem = 4285005824 (4086MB)
 avail mem = 4161949696 (3969MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfc860 (68 entries)
 bios0: vendor American Megatrends Inc. version 080015 date 05/02/2011
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2660.37 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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,S
SSE3,CX16,xTPR,G
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: apic clock running at 133MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 7 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 1, remapped to apid 7
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P1)
 acpiprt2 at acpi0: bus 5 (BR1E)
 acpiprt3 at acpi0: bus -1 (BR20)
 acpiprt4 at acpi0: bus -1 (BR21)
 acpiprt5 at acpi0: bus -1 (BR22)
 acpiprt6 at acpi0: bus -1 (BR23)
 acpiprt7 at acpi0: bus -1 (BR24)
 acpiprt8 at acpi0: bus -1 (BR25)
 acpiprt9 at acpi0: bus -1 (BR26)
 acpiprt10 at acpi0: bus -1 (BR27)
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core DMI rev 0x11
 ppb0 at pci0 dev 3 function 0 Intel Core PCIE rev 0x11
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 4 function 0 Intel Core PCIE rev 0x11
 pci2 at ppb1 bus 2
 em0 at pci2 dev 0 function 0 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:12
 em1 at pci2 dev 0 function 1 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:13
 em2 at pci2 dev 0 function 2 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:14
 em3 at pci2 dev 0 function 3 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:3a:c1:15
 ppb2 at pci0 dev 5 function 0 Intel Core PCIE rev 0x11
 pci3 at ppb2 bus 3
 em4 at pci3 dev 0 function 0 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0a
 em5 at pci3 dev 0 function 1 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0b
 em6 at pci3 dev 0 function 2 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0c
 em7 at pci3 dev 0 function 3 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:0d
 ppb3 at pci0 dev 6 function 0 Intel Core PCIE rev 0x11
 pci4 at ppb3 bus 4
 em8 at pci4 dev 0 function 0 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:06
 em9 at pci4 dev 0 function 1 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:07
 em10 at pci4 dev 0 function 2 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:08
 em11 at pci4 dev 0 function 3 Intel I340-T4 (82580) rev 0x01: msi,
 address 00:90:fb:37:74:09
 Intel Core Management rev 0x11 at pci0 dev 8 function 0 not configured
 Intel Core Scratch rev 0x11 at pci0 dev 8 function 1 not configured
 Intel Core Control rev 0x11 at pci0 dev 8 function 2 not configured
 Intel Core Misc rev 0x11 at pci0 dev 8 function 3 not configured
 Intel Core QPI Link rev 0x11 at pci0 dev 16 function 0 not configured
 Intel Core QPI Routing rev 0x11 at pci0 dev 16 function 1 not
 configured
 Intel 3400 USB rev 0x05 at pci0 dev 29 function 0 not configured
 ppb4 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xa5
 pci5 at ppb4 bus 5
 pciide0 at pci5 dev 1 function 0 ITExpress IT8213F rev 0x00: DMA
 (unsupported), channel 0 wired to native-PCI, channel 1 wired to
 native-PCI
 pciide0: using apic 7 int 16 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: TRANSCEND
 wd0: 1-sector PIO, LBA, 485MB, 994896 sectors
 pciide0: channel 1 ignored (not responding; disabled or no drives?)
 vga1 at pci5 dev 2 function 0 ASPEED Technology AST2000 rev 0x10
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 Intel 3420 LPC rev 0x05 at pci0 dev 31 function 0 not configured
 pciide1 at pci0 dev 31 function 2 Intel 3400 SATA rev 0x05: DMA,
 channel
 0 configured to native-PCI, channel 1 configured to native-PCI
 pciide1: using apic 7 int 19 for native-PCI interrupt
 wd1 at pciide1 channel 0 drive 0: WDC WD2503ABYX-01WERA0
 wd1: 

Re: Unable to add Greek Layout after Upgrading to -current

2011-09-22 Thread Tomas Bodzar
seems to me like some Linux config, but I may be wrong. Didn't see
anything similar on BSD. Btw did you try plain setxkbmap app for
setting that from command line without those conf.d files? I hope that
you used sysmerge after upgrade of system

On 9/22/11, Sepuku Kamikazee ph03nix_...@hotmail.com wrote:
 Hello there people,

 Yesterday i upgraded from 4.9 stable to -current  using a 5 current -cd:

 this is my sysctl:

 $  sysctl -n kern.version
 OpenBSD 5.0-current (GENERIC.MP) #67: Tue Sep 13 22:12:54 MDT 2011
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

 I have i386 architecture.


 According to the Follow -current section of the FAQ :
 http://www.openbsd.org/faq/current.html#20110602  i removed the xkb dir:
 '-rf /etc/X11/xkb' and also removed the
 /etc/X11/xorg.conf file.Then as shown
 here:http://www.x.org/releases/X11R7.6/doc/xorg-docs/input/XKB-Config.html#id
 2548546 i created a /etc/X11/xorg.conf.d/90-custom-kbd.conf with this code:

 Section InputClass
 Identifier keyboard defaults
 MatchIsKeyboard on

 Option XkbModel pc104
 Option XkbLayout us,gr
 Option XKbOptions grp:alt_ctrl_toggle
 EndSection

 And a /etc/X11/xorg.conf.d/90-zap.conf with this code:

 Section InputClass
 Identifier keyboard defaults
 MatchIsKeyboard on

 Option XKbOptions terminate:ctrl_alt_bksp
 EndSection


 So far, i have not managed to use the Greek Layout.In the -stable days
 things
 where different so if anyone has managed to add a non-us layout and give a
 hint would really
 be appreciated.

 This is my first time writing to the mail lists.I hope I'm clear enough to
 help you  helping me. :/



Re: Are there any virtualization solutions for OpenBSD? (!important: no package from ports!)

2011-09-20 Thread Tomas Bodzar
On Tue, Sep 20, 2011 at 9:37 AM, Michel Blais mic...@targointernet.com wrote:
 The're also proxmox ve that is really nice for virtualisation.

 http://pve.proxmox.com/wiki/Main_Page

As it's based on OpenVZ and KVM it doesn't seems to be answer on
question in subject.



Re: Sparc Openbsd install

2011-09-20 Thread Tomas Bodzar
On Tue, Sep 20, 2011 at 4:58 PM, hvom .org hvom@gmail.com wrote:
 Hi all

 I'm one server sunfire V100 for 10$, i'm look list hardware openbsd is
 good, v100 is supported. I'm not installed, no VGA, no CD, four
 ethernet.

 Help me, install OpenBSD please ?

http://www.openbsd.org/sparc64.html#install

version with much more details

ftp://ftp.openbsd.org/pub/OpenBSD/4.9/sparc64/INSTALL.sparc64




 Tanks !



Re: tp_smapi/hdaps equivalent

2011-09-19 Thread Tomas Bodzar
On Mon, Sep 19, 2011 at 4:53 AM, Paolo Reyes Balleza
paolo.ball...@gmail.com wrote:
 Hello all,

 I was wondering if there's an equivalent in OpenBSD of tp_smapi/hdaps
 battery control  hdd protection.

man apm
man systat
man sysctl

$ apm
Battery state: high, 100% remaining, unknown life estimate
A/C adapter state: connected
Performance adjustment mode: cool running (800 MHz)
$

$ systat sensors

   3 usersLoad 0.96 1.10 1.32 Mon Sep 19 07:56:22 2011

SENSOR  VALUE  STATUS  DESCRIPTION
acpitz0.temp0  25.00 degC  zone temperature
acpiac0.indicator0 On  power supply
acpibat0.volt0 11.10 V DC  voltage
acpibat0.volt1 12.97 V DC  current voltage
acpibat0.amphour0 5.57 Ah  last
full capacity
acpibat0.amphour1 0.54 Ah  warning capacity
acpibat0.amphour2 0.16 Ah  low capacity
acpibat0.amphour3 5.57 AhOK
remaining capacity
acpibat0.raw0   0 rawOKbattery full
acpibat0.raw1   1 raw  rate
cpu0.temp0 55.00 degC
lisa0.raw0  8 raw  OUT_X
lisa0.raw1  1 raw  OUT_Y
lisa0.raw2 52 raw  OUT_Z

$

see lisa0 for monitoring of accelerometer from disk

$ sysctl hw.sensors
hw.sensors.acpitz0.temp0=25.00 degC (zone temperature)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)
hw.sensors.acpibat0.volt1=12.97 VDC (current voltage)
hw.sensors.acpibat0.amphour0=5.57 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.54 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.16 Ah (low capacity)
hw.sensors.acpibat0.amphour3=5.57 Ah (remaining capacity), OK
hw.sensors.acpibat0.raw0=0 (battery full), OK
hw.sensors.acpibat0.raw1=1 (rate)
hw.sensors.cpu0.temp0=59.00 degC
hw.sensors.lisa0.raw0=5 (OUT_X)
hw.sensors.lisa0.raw1=2 (OUT_Y)
hw.sensors.lisa0.raw2=53 (OUT_Z)
$

I have Dell so for you:

$ man -k thinkpad
acpithinkpad (4) - IBM/Lenovo ThinkPad ACPI support
aps (4) - ThinkPad Active Protection System accelerometer
$

http://www.openbsd.org/cgi-bin/man.cgi?query=apsapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html


 Using i386-4.9-release on Thinkpad T60.

I'm on current, but probably not so much difference in this specific outputs.


 TIA,

 Paolo



Re: Are there any virtualization solutions for OpenBSD? (!important: no package from ports!)

2011-09-19 Thread Tomas Bodzar
On Mon, Sep 19, 2011 at 9:00 AM, Hassan Monfared hmonfa...@gmail.com wrote:
 IB haven'tB tried Xen on OpenBSD as host, but Xen is open source and there
was
 subject toB B correction of a lock-up bug in OpenBSD to support Xen
Hosting.
 NetBSD supports Xen Hostig

OpenBSD doesn't mean NetBSD for a very long time


 On Mon, Sep 19, 2011 at 11:03 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:

 On Mon, Sep 19, 2011 at 8:12 AM, Hassan Monfared hmonfa...@gmail.com
 wrote:
  why don't you try xen ?

 Maybe because he asked for solution with OpenBSD as a host and nothing
 from packages/ports? ;-)

  The XenB. hypervisor, the powerful open source industry standard for
  virtualization, offers a powerful, efficient, and secure feature set for
  virtualization of x86, x86_64, IA64, ARM, and other CPU architectures.
  visit Xen at www.Xen.org
 
  On Sun, Sep 18, 2011 at 2:10 PM, Tomas Bodzar
  tomas.bod...@gmail.comwrote:
 
  On Sat, Sep 17, 2011 at 12:17 PM, lancebaynes87
  lancebayne...@zoho.com
  wrote:
  
 
 
 
http://unix.stackexchange.com/questions/20917/are-there-any-virtualization-so
  lutions-for-openbsd-important-no-package-from
  
   I'm searching for Virtualization solutions:
  
   OpenBSD: host
   CentOS: guest
  
   What are my solutions? I'm searching for one that doesn't use
   packages
  from ports. Are there any?
 
  Qemu only or switch to real virtualization Ldoms where OpenBSD runs
  fine as a host/guest. Not sure how well CentOS runs inside Ldoms if at
  all :-)
 
  
   Thank you in anticipation.



Re: Are there any virtualization solutions for OpenBSD? (!important: no package from ports!)

2011-09-19 Thread Tomas Bodzar
On Mon, Sep 19, 2011 at 9:02 AM, Hassan Monfared hmonfa...@gmail.com wrote:
 http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machinesB (
look
 at Host OS column)

For what? Xen doesn't have OpenBSD in that column and OpenBSD doesn't
have Xen in sources as you can check on OpenBSD pages. Qemu, DosBox
and VAX are in place, but eg. Ldoms doesn't have OpenBSD in that
column even as OpenBSD support that so not so much correct table in
the end.

And eg. this one is not so hard
http://marc.info/?l=openbsd-miscw=2r=1s=dom0q=b


 On Mon, Sep 19, 2011 at 11:30 AM, Hassan Monfared hmonfa...@gmail.com
 wrote:

 IB haven'tB tried Xen on OpenBSD as host, but Xen is open source and there
 was subject toB B correction of a lock-up bug in OpenBSD to support Xen
 Hosting.
 NetBSD supports Xen Hostig

 On Mon, Sep 19, 2011 at 11:03 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:

 On Mon, Sep 19, 2011 at 8:12 AM, Hassan Monfared hmonfa...@gmail.com
 wrote:
  why don't you try xen ?

 Maybe because he asked for solution with OpenBSD as a host and nothing
 from packages/ports? ;-)

  The XenB. hypervisor, the powerful open source industry standard for
  virtualization, offers a powerful, efficient, and secure feature set
  for
  virtualization of x86, x86_64, IA64, ARM, and other CPU architectures.
  visit Xen at www.Xen.org
 
  On Sun, Sep 18, 2011 at 2:10 PM, Tomas Bodzar
  tomas.bod...@gmail.comwrote:
 
  On Sat, Sep 17, 2011 at 12:17 PM, lancebaynes87
  lancebayne...@zoho.com
  wrote:
  
 
 
 
http://unix.stackexchange.com/questions/20917/are-there-any-virtualization-so
  lutions-for-openbsd-important-no-package-from
  
   I'm searching for Virtualization solutions:
  
   OpenBSD: host
   CentOS: guest
  
   What are my solutions? I'm searching for one that doesn't use
   packages
  from ports. Are there any?
 
  Qemu only or switch to real virtualization Ldoms where OpenBSD runs
  fine as a host/guest. Not sure how well CentOS runs inside Ldoms if at
  all :-)
 
  
   Thank you in anticipation.



Re: Lynloong All-in-one PC

2011-09-19 Thread Tomas Bodzar
On Mon, Sep 19, 2011 at 10:54 AM, Francois Pussault
fpussa...@contactoffice.fr wrote:
 Computer science is like playing golf
 you need to learn english before playing.

That's why so many projects ends in water or sand, right? :-)


 ;)


 
 From: Marc Smith marc_sm...@gmx.com
 Sent: Mon Sep 19 10:44:16 CEST 2011
 To: misc@openbsd.org
 Subject: Re: Lynloong All-in-one PC


 As Tomas already wrote, sysadmin's main lang is EN and that would
 probobly not change in anytime soon.
 Beside that, OpenBSD can't be really used by non-english speaking users
 when there's no easy, or simple one-clik/one command way to enable
 localization, and the whole localization doesn't seem to be ready,
 really. UTF-8 is missing in CLI [well, you usually don't need your lang
 in CLI, don't you?], but you can make Xorg to display messages in your
 language, so there's no problem I guess.
 Translations would probobly take large space from OpenBSD CD [unless
 it's downloadable] and there needs to be place for people to submit
 translations.
 So I don't know ... learn english basics or just use some GUI linux
 distro, which is probobly better suited for casual user.

 Regards

 W dniu 19.09.2011 04:28, Daniel Villarreal pisze:
  I got a reply from Lemote, in regards to the Lynloong All-in-one PC.
 
  I wonder if the Lemote would consider extending the company's offer of a
  system to those willing to contribute to the Lemote application platform
 to
  OpenBSD developers. The website link from article from the Beijing
 GNU/Linux
  User's Group, i.e.
 

http://clubbeautiful.com/index.php?option=com_contentview=articleid=2:lemot
 eloongson-and-new-web-site-presentationcatid=4:archiveItemid=7
  is http://dev.lemote.com
 
  Although I don't read Chinese, it appears that this project deals with
  GNU/Linux. It seems logical to me that any organization willing to
 develop
  free software would want the best software.
 
  Given that Lemote wishes to mass-produce computers for the rural people
 of
  China, they would also need lots of servers. Any chance of producing a
  multi-lingual installer ?
 
  Daniel Villarreal



 Cordialement
 Francois Pussault
 3701 - 8 rue Marcel Pagnol
 31100 ToulouseB
 FranceB
 +33 6 17 230 820B B B +33 5 34 365 269
 fpussa...@contactoffice.fr



Re: Lynloong All-in-one PC

2011-09-19 Thread Tomas Bodzar
Anyway for OpenBSD it looks like only one usable device for small home
server with low power consumption, not so much noise and non-x86 CPU
there's only http://www.lemote.com/en/products/mini-computer/2010/0310/111.html
 , right?

I know that there was thread about mini-ITX products before one week
or so on misc@, but it was around Atom only. VIA will be fine in that
regard too. But if someone wants to go non-x86 then there's only
Lemote as it seems.

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

On Mon, Sep 19, 2011 at 4:28 AM, Daniel Villarreal
yclwebmas...@gmail.com wrote:
 I got a reply from Lemote, in regards to the Lynloong All-in-one PC.

 I wonder if the Lemote would consider extending the company's offer of a
 system to those willing to contribute to the Lemote application platform to
 OpenBSD developers. The website link from article from the Beijing GNU/Linux
 User's Group, i.e.
 http://clubbeautiful.com/index.php?option=com_contentview=articleid=2:lemoteloongson-and-new-web-site-presentationcatid=4:archiveItemid=7
 is http://dev.lemote.com

 Although I don't read Chinese, it appears that this project deals with
 GNU/Linux. It seems logical to me that any organization willing to develop
 free software would want the best software.

 Given that Lemote wishes to mass-produce computers for the rural people of
 China, they would also need lots of servers. Any chance of producing a
 multi-lingual installer ?

 Daniel Villarreal



Re: Lynloong All-in-one PC

2011-09-19 Thread Tomas Bodzar
On Mon, Sep 19, 2011 at 4:00 PM, Daniel Villarreal
yclwebmas...@gmail.com wrote:


 On Mon, Sep 19, 2011 at 1:54 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:

 ...
  I wonder if the Lemote would consider extending the company's offer of a
  system to those willing to contribute to the Lemote application platform to
  OpenBSD developers http://dev.lemote.com...

 A lot of projects happy with GNU/Linux because of some reasons which
 mostly don't apply at all.

 Yes. Maybe they use it because they're comfortable with it. Maybe they use
 it because it's perceived as being multi-lingual, or even that it's just not
 hostile to their language, or whatever.

Or maybe because they think that it's free. It doesn't matter in fact.



 Given that Lemote wishes to mass-produce computers for the rural people of
 China, they would also need lots of servers. Any chance of producing a
 multi-lingual installer ?

 OpenBSD is not targeted to typical users (but it can be prepared for use
 for those users). De facto standard language in system administration is
 English so why to have installer in different language? Especially one which
 is mostly about hitting enter only. In running system after install you can
 have any of the most used languages either for keyaboard only in console or
 complete apps in X.

 Good point. I don't know if English-speaking typical users are equivalent
 to Chinese typical users. Do a study on foreigners earning advanced
 science and mathematics degrees in the U.S.

I suppose that their classes related to IT are in English ;-) But I'm
not from US so maybe I'm wrong.


 What I'm getting at when I discuss language in this list isn't to aggravate
 people who think the world must conform to their strict interpretation of
 English. They're a lost cause, anyway...

 http://www.oed.com/public/oed3
 Every three months the entire OED database is republished online, with new
 words added for the first time and older entries revised according the
 exacting standards of modern historical lexicography.

Sure a lot of changed when I was visiting school, a lot of new rules
and other stuff which I don't know about, but it's not stopping me in
conversation. And I don't care if someone is doing bugs in English or
my language or any other as long as we can understand each other. I
can understand that people which don't have English as mother language
can have issues with that. Probably same as I will have issues with
Chinese or whatever.


 Ultimately Theo decides what is used in OpenBSD and I get that. I get your
 point about the install being easy, and I agree, but this goes way beyond
 that. This is about the big picture. I'm not asking Theo and the developers
 to *switch* to Chinese, or Afrikaans, or anything of the sort. I'm merely
 trying to get people to think and consider about the implications of people
 wanting to use the best software possible for servers and give them an
 opportunity to work with the OpenBSD foundation. Isn't it important to give
 people a reason to want to work with you? Including people is very
 important. If the Chinese were willing to go through so much trouble to
 arrive at an excellent low-power consumption computing platform, why
 *wouldn't* they want the very best operating system, especially for
 servers?

Ah time for funny links ;-)

http://marc.info/?l=openbsd-miscm=125295040219808w=2
(quite long, but worth of it)

http://marc.info/?l=openbsd-miscm=125320519308891w=2
(EXCELLENT)

For short:

Attempting to prove the worth of OpenBSD to folks who are not able to
figure things out for themselvs is much like trying to teach butterflies
Calculus.

It doesn't work and wastes your time.

--STeve Andre'

Why this? Because in old times when most of the people thought that
Earth is plain if you tried to give people opportunity to think that
Earth is not plain (OpenBSD is better or whatever) you ended in flames
;-) Most of the people is lazy, so much lazy that even GUI is too much
complicated for them and without small blue E on the desktop they are
not able to use Internet. On the other side there are people which are
90 or so and are able to use any Unix which you will show them just
because they are not lazy. That's why there's so low number of people
which are genius like Theo which are able to bring fresh ideas and
solutions to things which every other person do as others just because
others do that so it must be right.


 I've always wondered if the Chinese thought that learning English was
 trivially easy. As much as I would like to ask a Chinese that, I realize
 that it's not a polite thing to ask. That's not the point. What makes you
 think they need English speakers to translate? Maybe the OpenBSD Foundation
 has everything to gain by being more receptive to more foreign languages.

What? Polite? What's bad on asking some Chinese how hard is English
for them? Did people lost freedom to ask something? I can ask someone
if you want.

Who said that Chinese need English

Re: Are there any virtualization solutions for OpenBSD? (!important: no package from ports!)

2011-09-18 Thread Tomas Bodzar
On Sat, Sep 17, 2011 at 12:17 PM, lancebaynes87 lancebayne...@zoho.com wrote:
 http://unix.stackexchange.com/questions/20917/are-there-any-virtualization-solutions-for-openbsd-important-no-package-from

 I'm searching for Virtualization solutions:

 OpenBSD: host
 CentOS: guest

 What are my solutions? I'm searching for one that doesn't use packages from 
 ports. Are there any?

Qemu only or switch to real virtualization Ldoms where OpenBSD runs
fine as a host/guest. Not sure how well CentOS runs inside Ldoms if at
all :-)


 Thank you in anticipation.



Re: Apache problems

2011-09-18 Thread Tomas Bodzar
On Sun, Sep 18, 2011 at 2:40 AM, L. V. Lammert l...@omnitec.net wrote:
 On Sun, 18 Sep 2011, Jeremie Courreges-Anglas wrote:

  [error] (35)Resource temporarily unavailable: fork: Unable to fork new
process

 Isn't running 4.3 kinda cranky?

 Only in the past six months - pretty much bulletproof for many years.

 $SEARCH_ENGINE $your_error_message

 gives, for example, this result:
 http://www.mail-archive.com/misc@openbsd.org/msg36388.html

 Unfortunatley, that isn't the issue. It has run fine with max_clients set
 at 150; when this started happening, I ran it down to 64.

 All the others results lead to the same conclusion: your httpd process has
 reached its resources limits. Either your problem is due to the use of
 sudo apachectl (use /etc/rc.d/httpd), or you'll have to give httpd more
room,
 by tweaking login.conf.

 It isn't a resource problem, however, ..

 B  B  B  B :datasize=infinity:\
 B  B  B  B :maxproc=infinity:\
 B  B  B  B :openfiles-cur=128:\
 B  B  B  B :stacksize-cur=8M:\

 *Something* seems to be breaking, causing Apache to 'think' it's out of
 resources.

Eg. for amd64 limit of ~4000 processes was resolved only before couple
of months/weeks (not sure about correct time). A LOT of improvements
from 4.3 times regarding performance and speed of system so you will
be better to try upgrade first and see if problems are still in place.


 B  B  B  B Lee



Re: Lynloong All-in-one PC

2011-09-18 Thread Tomas Bodzar
On Mon, Sep 19, 2011 at 4:28 AM, Daniel Villarreal
yclwebmas...@gmail.com wrote:
 I got a reply from Lemote, in regards to the Lynloong All-in-one PC.

 I wonder if the Lemote would consider extending the company's offer of a
 system to those willing to contribute to the Lemote application platform to
 OpenBSD developers. The website link from article from the Beijing GNU/Linux
 User's Group, i.e.
 http://clubbeautiful.com/index.php?option=com_contentview=articleid=2:lemoteloongson-and-new-web-site-presentationcatid=4:archiveItemid=7
 is http://dev.lemote.com

 Although I don't read Chinese, it appears that this project deals with
 GNU/Linux. It seems logical to me that any organization willing to develop
 free software would want the best software.

A lot of projects happy with GNU/Linux because of some reasons which
mostly don't apply at all.


 Given that Lemote wishes to mass-produce computers for the rural people of
 China, they would also need lots of servers. Any chance of producing a
 multi-lingual installer ?

OpenBSD is not targeted to typical users (but it can be prepared for
use for those users). De facto standard language in system
administration is English so why to have installer in different
language? Especially one which is mostly about hitting enter only. In
running system after install you can have any of the most used
languages either for keyaboard only in console or complete apps in X.
For sure you're free to provide patches for multilingual installer as
long as it will be able to fit one floppy only (want to see that
because of need for UTF ;-)).


 Daniel Villarreal



PS: I'm not from English speaking country and my mother language is not English



Re: audit openbsd.org!

2011-09-17 Thread Tomas Bodzar
On Sat, Sep 17, 2011 at 10:40 AM, Daniel Villarreal
yclwebmas...@gmail.com wrote:
 Okay, STeve. Right on. I see no need to discuss this topic here. I am more
 interested in the differences in perspective of Theo and Linus. I addressed
 Linus' blog out of interest in his concern in the ongoing developments.
 Even then, I consider Linux to be a kernel packaged with a bunch of
 ancillary programs from GNU. B I am happy to be composing this email on my
 primary OpenBSD system.

You can find differences in perspective of Theo and Linus all around
the web with any search engine. I can really recommend to start with
eg. wiki page for Theo or with
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mg/theo.c?rev=1.121
(see *talk[])

Theo is interested in doing his job right and hiking. He don't need to
loose time on some social platform. If you want to do proper job
then you need focus.

I'm sure that you will find in history that Linux/GNU people were
informed couple of times why something is wrong, but they simply don't
care so why we need to care about their infrastructure if they did not
care anytime before?

 Daniel


 On Sat, Sep 17, 2011 at 3:57 AM, STeve Andre' and...@msu.edu wrote:

 Linux is not OpenBSD, it's Linux. B What happens there does not affect
 OpenBSD. B Likely at some point it will be revealed what happened. B At
 any rate it isn't germane to these lists.

 --STeve Andre'


 On 09/17/11 03:40, Daniel Villarreal wrote:

 I'm still worried, though. There's some mystery involved, how did they
 get
 root ?


http://isc.sans.edu/diary.**html?storyid=11497http://isc.sans.edu/diary.html
?storyid=11497

 kernel.org is indicating Down for maintenance. Ouch.

 http://www.linuxfoundation.**org/ http://www.linuxfoundation.org/ has
 some information, but they're still
 investigating.

 Looking at Linus' plus.google.com account doesn't give much information,
 either.

 Wondering when and if we can expect results on the compromise.

 Hmm.
 Daniel


 On Wed, Sep 14, 2011 at 2:15 PM, Kevin Chadwickma1l1i...@yahoo.co.uk**
 wrote:

 B On Tue, 13 Sep 2011 22:38:27 -0700
 lancebaynes87 wrote:

 B I love OBSD, and I don't want it to fail like kernel.org:


 What happened, a ssh account password was stolen followed by local
 privile;-Dge escalation.

 They have said that as far as code goes, no harm was done. The worrying
 part was how the admins handled the server afterwards (just reboot and
 see what happens isn't exactly a strategy and could make things
 much worse). I guess that's because they don't really care too much
 about the server aside from functionality as the code is protected by
 the developers many systems and eyes.

 I'm also not sure if the hacked servers were running the website.



Re: userdel -p option - FAQ/man page issue?

2011-09-15 Thread Tomas Bodzar
On Thu, Sep 15, 2011 at 11:28 AM, Richard Toohey
richardtoo...@paradise.net.nz wrote:
 Hi, guys.

 I wanted to disable a user account under OpenBSD 4.9, and Google led me
here:

 http://www.openbsd.org/faq/faq10.html#AddDelUser

 quoteRemoving users

 To remove users with the user(8) hierarchy of commands, you will use
 userdel(8). This is a very simple, yet usable command. To remove the user
 created in the last example, simply:

 # userdel -r testuser
 Notice the -r option, which must be specified if you want the users home
 directory to be deleted as well. Alternatively, you can specify -p and not
-r
 and this will lock the user's account, but not remove any
 information./unquote

 That last sentence - sounds exactly like what I need - so I try it:

 # userdel -p testuser
 usage: userdel -D [-p preserve-value]
 B  B  B userdel [-prv] user

 The man page suggests that it should work as well.

 Looks like it has been raised before:

 http://www.mail-archive.com/bugs@openbsd.org/msg01370.html

 No patches because I'm not exactly sure what the right answer(s) are.

 Am I just doing it wrong?

$ id test
uid=1001(test) gid=1001(test) groups=1001(test)
$ sudo userdel -pv test
$ id test
id: test: No such user
$ grep test /etc/passwd
$ ls -ld /home/test
drwxr-xr-x  3 1001  test  512 Sep 15 11:52 /home/test
$
$ sudo chsh test
chsh: unknown user: test
$
$ sudo userdel -pv test
userdel: No such user `test'
$


I'm on current. Anyway strange that -v switch doesn't provide verbose
output in fact and that information in password file was not preserved
in fact. User disappeared somewhere, but where :-) Files are in place
as you can see.




 Thanks.



Re: userdel -p option - FAQ/man page issue?

2011-09-15 Thread Tomas Bodzar
On Thu, Sep 15, 2011 at 11:57 AM, Tomas Bodzar tomas.bod...@gmail.com
wrote:
 On Thu, Sep 15, 2011 at 11:28 AM, Richard Toohey
 richardtoo...@paradise.net.nz wrote:
 Hi, guys.

 I wanted to disable a user account under OpenBSD 4.9, and Google led me
here:

 http://www.openbsd.org/faq/faq10.html#AddDelUser

 quoteRemoving users

 To remove users with the user(8) hierarchy of commands, you will use
 userdel(8). This is a very simple, yet usable command. To remove the user
 created in the last example, simply:

 # userdel -r testuser
 Notice the -r option, which must be specified if you want the users home
 directory to be deleted as well. Alternatively, you can specify -p and not
-r
 and this will lock the user's account, but not remove any
 information./unquote

 That last sentence - sounds exactly like what I need - so I try it:

 # userdel -p testuser
 usage: userdel -D [-p preserve-value]
 B  B  B userdel [-prv] user

 The man page suggests that it should work as well.

 Looks like it has been raised before:

 http://www.mail-archive.com/bugs@openbsd.org/msg01370.html

 No patches because I'm not exactly sure what the right answer(s) are.

 Am I just doing it wrong?

 $ id test
 uid=1001(test) gid=1001(test) groups=1001(test)
 $ sudo userdel -pv test
 $ id test
 id: test: No such user
 $ grep test /etc/passwd
 $ ls -ld /home/test
 drwxr-xr-x B 3 1001 B test B 512 Sep 15 11:52 /home/test
 $
 $ sudo chsh test
 chsh: unknown user: test
 $
 $ sudo userdel -pv test
 userdel: No such user `test'
 $


 I'm on current. Anyway strange that -v switch doesn't provide verbose
 output in fact and that information in password file was not preserved
 in fact. User disappeared somewhere, but where :-) Files are in place
 as you can see.



$ sudo rm -rf /home/test/
$ userdel -D
preservefalse
$ userdel -p true
usage: userdel -D [-p preserve-value]
   userdel [-prv] user
$ userdel -p yes
usage: userdel -D [-p preserve-value]
   userdel [-prv] user
$ userdel -p 1
usage: userdel -D [-p preserve-value]
   userdel [-prv] user
$ vi /etc/usermgmt.conf
$ sudo vi /etc/usermgmt.conf
$ userdel -D
preservetrue
$ useradd -c 'Testing user' -m test
useradd: Program must be run as root
$ sudo useradd -c 'Testing user' -m test
$ id test
uid=1001(test) gid=10(users) groups=10(users)
$
$ grep test /etc/passwd
test:*:1001:10:Testing user:/home/test:/bin/ksh
$ ls -ld /home/test
drwxr-xr-x  3 test  users  512 Sep 12 09:53 /home/test
$ sudo userdel -pv test
$ grep test /etc/passwd
$ id test
id: test: No such user
$ ls -ld /home/test
drwxr-xr-x  3 1001  users  512 Sep 12 09:53 /home/test
$

Looks like userdel -p in its first form doesn't work because you need
to set preserve in /etc/usermgmt.conf file to get it in true state and
even after that login informations are not preserved, just home
directory. So something is maybe really wrong?



 Thanks.



Re: GCC 4.2.4?

2011-09-15 Thread Tomas Bodzar
On Thu, Sep 15, 2011 at 11:59 PM, Jeffrey Walton noloa...@gmail.com wrote:
 On Thu, Sep 15, 2011 at 5:23 PM, Marc Espie es...@nerim.net wrote:
 On Thu, Sep 15, 2011 at 03:17:36PM -0400, Jeffrey Walton wrote:
 I'm interested in seeing if (1) patches have been applied to fix my
 template error problem
 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21656); and (2) the
 compiler/linker is using hardened settings (I know 4.2.1 is not
 hardened out of the box).

 lol.

 4.2.1 *in OpenBSD* is hardened more, and has been tested as an hardened
 compiler for more time than gcc 4.2.4.
 I believe -z relro -z now are fairly standard for GOT and PLT attack
 remediations. I know some flavors of Linux include them in the spec
 file for a gcc:

 B $ uname -a
 B OpenBSD germain.home.pvt 4.9 GENERIC#671 i386
 B $ /usr/local/bin/egcc -dumpspecs | grep -i relro
 B $ /usr/local/bin/egcc -dumpspecs | grep -i wall
 B $ /usr/local/bin/egcc -dumpspecs | grep -i wextra
 B $ /usr/local/bin/egcc -dumpspecs | grep -i format
 B $ /usr/local/bin/egcc -dumpspecs | grep -i security
 B $

 Also, I was not sure about -Wformat=2 -Wformat-security. I guess it
 depends on what procedures are in place to enforce policy (or in
 OpenBSD's case, its position on security).

 (unless you want to get f*d harder by the GPLv3, that is)
 I sometimes wonder about the whole free software, free beer thing. Its
 kind of like trying to figure out how US politicians claim to balance
 a budget, yet the US is trillions in debt.

Second point  http://www.openbsd.org/goals.html which leads to
http://www.openbsd.org/policy.html as well

Probably one of the reasons for  http://www.bsdfund.org/projects/pcc/
( http://undeadly.org/cgi?action=searchmode=thres=query=pcc ) and
http://clang.llvm.org/


 Jeff



Re: Atheros Ethernet on Toshiba Laptop

2011-09-14 Thread Tomas Bodzar
On Wed, Sep 14, 2011 at 6:31 PM, James Wycliffe
james.wycli...@gmail.com wrote:
 Misc:

 I am installing OpenBSD 4.9 i386 on my Toshiba Satellite C655-S5225 which
 has Atheros Wireless and Atheros Ethernet. The wireless is recognized
 durring the install process with out any problem and works perfectly.
 However the wired ethernet is not working, and the install process does not
 even give me a choice to attempt to configure it.

 I know in the Supported Hardware list
(http://openbsd.org/i386.html#hardware)
 Atheros wireless is listed but not ethernet, however I've seen various
 fixes kicked around for my hardware for OpenBSD and FreeBSD, and both
 wireless and ethernet work in de-blobbed fully-free GNU/Linux distros like
 Trisquel.

 Are there any plans to officially support Atheros ethernet hardware? Is
 there a generally accepted way of getting this working in 4.9?

See alc(4) and ale(4) here
http://www.openbsd.org/cgi-bin/man.cgi?query=pciapropos=0sektion=4manpath=
OpenBSD+4.9arch=i386format=html
, but I can't see any of them in your dmesg


 At any rate, attached is my dmesg

 dmesg:
 OpenBSD 4.9 (GENERIC) #671: Wed Mar B 2 07:09:00 MST 2011
 B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz (GenuineIntel 686-class)
 2.30 GHz
 cpu0:

FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX1
6,xTPR,PDCM,XSAVE
 real mem B = 3081773056 (2939MB)
 avail mem = 3021234176 (2881MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 03/18/11, SMBIOS rev. 2.4 @ 0xe8160
 (35 entries)
 bios0: vendor INSYDE version 1.60 date 03/18/2011
 bios0: TOSHIBA Satellite C655
 acpi0 at bios0: rev 2
 acpi0: sleep states S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SLIC BOOT SSDT
 acpi0: wakeup devices LID0(S4) P32_(S0) UHC1(S3) UHC2(S3) ECHI(S3) EXP1(S4)
 AZAL(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: apic clock running at 199MHz
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 4 (P32_)
 acpiprt2 at acpi0: bus 2 (EXP1)
 acpiprt3 at acpi0: bus 3 (EXP2)
 acpiprt4 at acpi0: bus -1 (EXP3)
 acpiprt5 at acpi0: bus -1 (EXP4)
 acpiprt6 at acpi0: bus 7 (EXP5)
 acpiprt7 at acpi0: bus -1 (EXP6)
 acpiprt8 at acpi0: bus -1 (PEGP)
 acpicpu0 at acpi0: C2, C1, PSS
 acpipwrres0 at acpi0: FN00
 acpitz0 at acpi0: critical temperature 114 degC
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID0
 acpiac0 at acpi0: AC unit offline
 acpibat0 at acpi0: BAT0 model PA381 serial 6719 type Li-ion
 acpivideo0 at acpi0: OVGA
 acpivideo1 at acpi0: VGA_
 bios0: ROM list: 0xc/0xfc00! 0xd/0x1000 0xd1000/0x2c00!
 cpu0: Enhanced SpeedStep 2295 MHz: speeds: 2300, 1600, 1200 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 0xc000, size 0x1000
 inteldrm0 at vga1: apic 4 int 16 (irq 11)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 4 int 16
 (irq 11)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 4 int 21
 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 4 int 19
 (irq 11)
 ehci0: timed out waiting for BIOS
 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 82801I HD Audio rev 0x03: apic 4
 int 22 (irq 11)
 azalia0: codecs: Conexant/0x5069
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 4 int 17
 (irq 5)
 pci1 at ppb0 bus 2
 Attansic Technology L2C rev 0xc1 at pci1 dev 0 function 0 not configured

maybe this one?

 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 4 int 16
 (irq 11)
 pci2 at ppb1 bus 3
 athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 4 int 17
(irq
 11)
 athn0: AR9285 rev 2 (1T1R), ROM rev 14, address e0:ca:94:12:f9:6f
 ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 4 int 17
 (irq 11)
 pci3 at ppb2 bus 7
 uhci2 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 4 int 23
 (irq 11)
 uhci3 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 4 int 19
 (irq 11)
 uhci4 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 4 int 16
 (irq 11)
 uhci5 at pci0 dev 29 function 3 Intel 82801I USB rev 0x03: apic 4 int 18
 (irq 11)
 ehci1 

Re: Atheros Ethernet on Toshiba Laptop

2011-09-14 Thread Tomas Bodzar
On Wed, Sep 14, 2011 at 6:48 PM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 On Wed, Sep 14, 2011 at 6:31 PM, James Wycliffe
 james.wycli...@gmail.com wrote:
 Misc:

 I am installing OpenBSD 4.9 i386 on my Toshiba Satellite C655-S5225 which
 has Atheros Wireless and Atheros Ethernet. The wireless is recognized
 durring the install process with out any problem and works perfectly.
 However the wired ethernet is not working, and the install process does
not
 even give me a choice to attempt to configure it.

 I know in the Supported Hardware list
(http://openbsd.org/i386.html#hardware)
 Atheros wireless is listed but not ethernet, however I've seen various
 fixes kicked around for my hardware for OpenBSD and FreeBSD, and both
 wireless and ethernet work in de-blobbed fully-free GNU/Linux distros like
 Trisquel.

 Are there any plans to officially support Atheros ethernet hardware? Is
 there a generally accepted way of getting this working in 4.9?

 See alc(4) and ale(4) here

http://www.openbsd.org/cgi-bin/man.cgi?query=pciapropos=0sektion=4manpath=
OpenBSD+4.9arch=i386format=html
 , but I can't see any of them in your dmesg


 At any rate, attached is my dmesg

 dmesg:
 OpenBSD 4.9 (GENERIC) #671: Wed Mar B 2 07:09:00 MST 2011
 B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz (GenuineIntel 686-class)
 2.30 GHz
 cpu0:

FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX1
6,xTPR,PDCM,XSAVE
 real mem B = 3081773056 (2939MB)
 avail mem = 3021234176 (2881MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 03/18/11, SMBIOS rev. 2.4 @ 0xe8160
 (35 entries)
 bios0: vendor INSYDE version 1.60 date 03/18/2011
 bios0: TOSHIBA Satellite C655
 acpi0 at bios0: rev 2
 acpi0: sleep states S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SLIC BOOT SSDT
 acpi0: wakeup devices LID0(S4) P32_(S0) UHC1(S3) UHC2(S3) ECHI(S3)
EXP1(S4)
 AZAL(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: apic clock running at 199MHz
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 4 (P32_)
 acpiprt2 at acpi0: bus 2 (EXP1)
 acpiprt3 at acpi0: bus 3 (EXP2)
 acpiprt4 at acpi0: bus -1 (EXP3)
 acpiprt5 at acpi0: bus -1 (EXP4)
 acpiprt6 at acpi0: bus 7 (EXP5)
 acpiprt7 at acpi0: bus -1 (EXP6)
 acpiprt8 at acpi0: bus -1 (PEGP)
 acpicpu0 at acpi0: C2, C1, PSS
 acpipwrres0 at acpi0: FN00
 acpitz0 at acpi0: critical temperature 114 degC
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID0
 acpiac0 at acpi0: AC unit offline
 acpibat0 at acpi0: BAT0 model PA381 serial 6719 type Li-ion
 acpivideo0 at acpi0: OVGA
 acpivideo1 at acpi0: VGA_
 bios0: ROM list: 0xc/0xfc00! 0xd/0x1000 0xd1000/0x2c00!
 cpu0: Enhanced SpeedStep 2295 MHz: speeds: 2300, 1600, 1200 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 0xc000, size 0x1000
 inteldrm0 at vga1: apic 4 int 16 (irq 11)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 4 int 16
 (irq 11)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 4 int 21
 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 4 int 19
 (irq 11)
 ehci0: timed out waiting for BIOS
 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 82801I HD Audio rev 0x03: apic 4
 int 22 (irq 11)
 azalia0: codecs: Conexant/0x5069
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 4 int 17
 (irq 5)
 pci1 at ppb0 bus 2
 Attansic Technology L2C rev 0xc1 at pci1 dev 0 function 0 not configured

 maybe this one?

Ah, I was too much quick :-) This one
http://www.openbsd.org/cgi-bin/man.cgi?query=liisektion=4arch=i386apropos=
0manpath=OpenBSD+4.9
. Can you see something in pcidump -v output regarding this device and
try current.


 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 4 int 16
 (irq 11)
 pci2 at ppb1 bus 3
 athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 4 int 17
(irq
 11)
 athn0: AR9285 rev 2 (1T1R), ROM rev 14, address e0:ca:94:12:f9:6f
 ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 4 int 17
 (irq 11)
 pci3 at ppb2 bus 7
 uhci2 at pci0 dev 29 function 0 Intel

Re: Atheros Ethernet on Toshiba Laptop

2011-09-14 Thread Tomas Bodzar
On Wed, Sep 14, 2011 at 7:57 PM, James Wycliffe
james.wycli...@gmail.com wrote:
 Tomas-

 Yes I do!

 Domain /dev/pci0:
 B 2:0:0: Attansic Technology L2C
 B B B  0x: Vendor ID: 1969 Product ID: 2060
 B B B  0x0004: Command: 0007 Status ID: 0010
 B B B  0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: c1
 B B B  0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size:
00
 B B B  0x0010: BAR mem 64bit addr: 0xd560/0x0004
 B B B  0x0018: BAR io addr: 0x3000/0x0080
 B B B  0x001c: BAR empty ()
 B B B  0x0020: BAR empty ()
 B B B  0x0024: BAR empty ()
 B B B  0x0028: Cardbus CIS: 
 B B B  0x002c: Subsystem Vendor ID: 1179 Product ID: ff1e
 B B B  0x0030: Expansion ROM Base Address: 
 B B B  0x0038: 
 B B B  0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 00 Max Lat: 00
 B B B  0x0040: Capability 0x01: Power Management
 B B B  0x0048: Capability 0x05: Message Signaled Interrupts (MSI)
 B B B  0x0058: Capability 0x10: PCI Express
 B B B  B B B B B B B  Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1
 B B B  0x006c: Capability 0x03: Vital Product Data (VPD)

 Thank you very much, I will try the current.

Probably it will be fine  see here
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/pcidevs.h?rev=1.1618
and look for 0x2060 which you can see in your output. If not then
maybe you have different device which is not in database yet.


 How did you know to check that? I see that now in my dmesg, but considering
 the manufacturer calls it Atheros, was it just your familiarity with
chipset
 manufacturers?

No. Just familiarity with their lies in PR materials :-)


 Thanks again

 -jw




 On Wed, Sep 14, 2011 at 12:50 PM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:

 On Wed, Sep 14, 2011 at 6:48 PM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:
  On Wed, Sep 14, 2011 at 6:31 PM, James Wycliffe
  james.wycli...@gmail.com wrote:
  Misc:
 
  I am installing OpenBSD 4.9 i386 on my Toshiba Satellite C655-S5225
  which
  has Atheros Wireless and Atheros Ethernet. The wireless is recognized
  durring the install process with out any problem and works perfectly.
  However the wired ethernet is not working, and the install process does
  not
  even give me a choice to attempt to configure it.
 
  I know in the Supported Hardware list
  (http://openbsd.org/i386.html#hardware)
  Atheros wireless is listed but not ethernet, however I've seen various
  fixes kicked around for my hardware for OpenBSD and FreeBSD, and both
  wireless and ethernet work in de-blobbed fully-free GNU/Linux distros
  like
  Trisquel.
 
  Are there any plans to officially support Atheros ethernet hardware? Is
  there a generally accepted way of getting this working in 4.9?
 
  See alc(4) and ale(4) here
 
 
http://www.openbsd.org/cgi-bin/man.cgi?query=pciapropos=0sektion=4manpath=
OpenBSD+4.9arch=i386format=html
  , but I can't see any of them in your dmesg
 
 
  At any rate, attached is my dmesg
 
  dmesg:
  OpenBSD 4.9 (GENERIC) #671: Wed Mar B 2 07:09:00 MST 2011
  B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz (GenuineIntel
  686-class)
  2.30 GHz
  cpu0:
 
 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX1
6,xTPR,PDCM,XSAVE
  real mem B = 3081773056 (2939MB)
  avail mem = 3021234176 (2881MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 03/18/11, SMBIOS rev. 2.4 @
  0xe8160
  (35 entries)
  bios0: vendor INSYDE version 1.60 date 03/18/2011
  bios0: TOSHIBA Satellite C655
  acpi0 at bios0: rev 2
  acpi0: sleep states S3 S4 S5
  acpi0: tables DSDT FACP HPET APIC MCFG ASF! SLIC BOOT SSDT
  acpi0: wakeup devices LID0(S4) P32_(S0) UHC1(S3) UHC2(S3) ECHI(S3)
  EXP1(S4)
  AZAL(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: apic clock running at 199MHz
  cpu at mainbus0: not configured
  ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
  ioapic0: misconfigured as apic 0, remapped to apid 4
  acpimcfg0 at acpi0 addr 0xf800, bus 0-63
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 4 (P32_)
  acpiprt2 at acpi0: bus 2 (EXP1)
  acpiprt3 at acpi0: bus 3 (EXP2)
  acpiprt4 at acpi0: bus -1 (EXP3)
  acpiprt5 at acpi0: bus -1 (EXP4)
  acpiprt6 at acpi0: bus 7 (EXP5)
  acpiprt7 at acpi0: bus -1 (EXP6)
  acpiprt8 at acpi0: bus -1 (PEGP)
  acpicpu0 at acpi0: C2, C1, PSS
  acpipwrres0 at acpi0: FN00
  acpitz0 at acpi0: critical temperature 114 degC
  acpibtn0 at acpi0: PWRB
  acpibtn1 at acpi0: LID0
  acpiac0 at acpi0: AC unit offline
  acpibat0 at acpi0: BAT0 model PA381 serial 6719 type Li-ion
  acpivideo0 at acpi0: OVGA
  acpivideo1 at acpi0: VGA_
  bios0: ROM list: 0xc/0xfc00! 0xd/0x1000 0xd1000/0x2c00!
  cpu0: Enhanced

Re: Wifi doesnt work correctly

2011-09-12 Thread Tomas Bodzar
On Sun, Sep 11, 2011 at 9:50 PM, unixak.cz open...@unixak.cz wrote:
 Are you able to ping your laptop from AP to see similar statistics? Or
 ping OpenBSD laptop from other clients associated with AP?

 Yes, statistics are similar... (ping OpenBSD-Linux 70-73% success,
 Linux-OpenBSD 70-73% success).

Do you have issues only with ICMP traffic or you can see problems with
http, ftp, ... as well?



 I suppose that there's more operating systems on clients in your
 network and they don't have these issues, right?

 If I ping gateway from laptop where I have Linux ... I have 100%
 success.

 Problem is only in OpenBSD laptop. (I already had FreeBSD at the same
 laptop (same AP) and wifi worked correctly.

Mmm how about that AP? Maybe OpenBSD is too much sensitive about
vendor? (heh). What's the type of that AP, is latest firmware applied,
any special configs, how about power saving mode?



Re: Installing Gnome on OpenBSD 4.9

2011-09-12 Thread Tomas Bodzar
On Tue, Sep 13, 2011 at 4:55 AM, Jeffrey Walton noloa...@gmail.com wrote:
 Hi Sturat,

 On Mon, Sep 12, 2011 at 3:58 PM, Stuart Henderson s...@spacehopper.org
 wrote:
 On 2011-09-12, Jeffrey Walton noloa...@gmail.com wrote:
 Otherwise, if pkg_add is the 'installer', then the tool or process is
 broken. In the later case - as a dumb user - I don't consider required
 configuration changes 'knob turning'.

 pkg_add is a package installer, not a configuration editor. B By policy
 OpenBSD doesn't second-guess your intentions and reconfigure your system
 just because you've installed a package.
 I think my confusion lies in the [overloaded] meaning of 'install';
 and my presumption that one who wants to install a package really
 wants it configured and ready for use. I did not realize there were
 folks who want to install software, but don't want it configured (and
 don't want to use it).

There are folks which want software installed, but don't want it
configured with ugly and/or stupid defaults decided by someone
another.


 Perhaps Item 15 of the FAQ could differentiate the meaning of
 'install' more succinctly? ('How to install' was one of the first
 topics I researched, and 15.2.4 was the first items I visited).

 Applications for Microsoft OS often *do* do this; the result: the
 Don't forget the Mac OS X installer, Debian and friends via apt-get,
 and Fedora with yum (I don't work with BlackBerry and Android enough
 to speak about their process). As far as I am aware, all perform an
 installation with appropriate configuration changes.

Really appropriate??
Take for example some pdf viewer. In OpenBSD you can choose during
install if you want plain version or cups version, but if you choose
cups version it's not enabled automatically and that's correct because
only you as a user/admin of that particular computer knows how you
want to be that sw configured and enabled. In Linux you install couple
of packages and you will end with cups, samba, avahi and a lot of
unexpected and unwanted servers/apps runnig. You're not informed about
that and if you can't read enough quick you will not notice that
during install as well. So in the end you have computer full of
unneeded SW which is enabled, you don't know about that, mostly it has
some bugs so your security is lower or even zero.

Guess why Windows, MacOS X, Linux have so much security issues and
bugs. It's not only about design. Part of that is how appropriate is
their install of packages.


 There are plenty of OS geared towards, to use your words, a dumb user;
 OpenBSD is not one. (actually I would change this to inexperienced admin
 as it's quite possible for a system administrator to set things up for a
 non-technical user, as happens all the time in the commercial software
 world but also demonstrated nicely in the 'Puffy In The Corporate
Aquarium'
 article in bsdmag/undeadly).
 Don't worry - I don't take offense to being a 'dumb user'. Half the
 time its all that I really am, and the other half its all I really
 want to be. If I'm spending time researching how to administer a
 system, I'm not working on my primary task.

There are people for that. They are called sysadmins and you have
couple of choices.

1) Pay them so you can focus on your primary task
2) Have some of your friends for that for free or barter exchange of
stuff or whatever
3) Become one of them to be able to maintain your PC, improve
knowledge and maybe even bring something to your primary work
4) Worst case scenario - don't learn it, don't pay anyone, just build
it somewhat and use it. Internet is full of similar machines which
just brings more to the numbers of spam and other crap


 I kind of exist in a middle ground - I only need to compile a library
 and run test cases to make sure the software is OpenBSD compatible. I
 don't want to be an administrator or a user. Please don't take offense
 as its not meant to be an insult.

Correct test cases and interpretation of its results are only possible
when you know platform used very well ;-) Without that you just think
that they are correct/wrong. It's called guessing and not QA.

Probably no one here is taking that as insult (including me), but you
must know that even as computers are somewhat called consumer devices
it did not change their status of complex systems. Including operating
systems which are really complex. Sure you can take anyone for
developer, admin or whatever because it's so easy today. The
question is what results you will have in the end.

I'm curious why it's so much visible in IT and not eg. in cars
industry, space shuttles, jet fighters and so on. Why I can't see
people complaining that driving car needs learning how to drive or
that space shuttle is useless for users without Unity on its HUD
displays (:D) or that all of that anti-G, school, physics, mathematics
and so on is too much for normal users to flight jet fighter. All of
that requires a lot of knowledge, learning and involvement and mostly
people are OK 

Re: Asus R2Hv - ACPI/APM faulty, freezes

2011-09-11 Thread Tomas Bodzar
On Sun, Sep 11, 2011 at 1:03 PM, Dmitrij D. Czarkoff czark...@gmail.com
wrote:
 Hello, everyone!

 I have a power management issue with my Asus R2Hv laptop/tablet running on
of
 the first OpenBSD snapshots tagged as 5.0.

Did you try if something improved with latest snasphots? Because yours
is from Aug and it's Sep already.


 When I plug its power cord off, it dumps the core. As it has only USB
 keyboard, I can only switch it off with a power button. When I do halt
-p,
 the system doesn't power off automaticly. Instead it writes

 B  B  B  B syncing disks... done

 and the cursor blinks instantly on a new line.

What's in your /etc/rc.shutdown ? Is it like this one?

$ grep -i power /etc/rc.shutdown
powerdown=YES   # set to YES for powerdown
$


 If I start it with power cord unplugged and plug it in after I see the
login
 prompt, I can freely plug and unplug the cord later.

 Battery statistic is always faulty.

 I collected dmesg, header file of acpidump and apm output. Any other useful
 info I can provide?

 Thanks in advance.

 apm output of a fully charged device with battery connected, booted on
power
 supply:

 B $ apm
 Battery state: CRITICAL, 0% remaining, unknown life estimate
 A/C adapter state: not connected
 Performance adjustment mode: cool running (600 MHz)
 B $ apm -ablmP
 2
 0
 unknown
 0
 2

 apm output after booting on battery, (initially fully charged, seconds
after
 login prompt shown)):

 B $ apm
 Battery state: CRITICAL, 0% remaining, unknown life estimate
 A/C adapter state: not connected
 Performance adjustment mode: cool running (600 MHz)
 ddc@r2hv:~ $ apm -ablmP
 2
 0
 unknown
 0
 2

 apm output after pluging power cord in (exectly after previous result):

 B $ apm
 Battery state: CRITICAL, 0% remaining, unknown life estimate
 A/C adapter state: connected
 Performance adjustment mode: cool running (600 MHz)
 ddc@r2hv:~ $ apm -ablmP
 2
 0
 unknown
 1
 2

 dmesg:

 OpenBSD 5.0 (GENERIC) #39: Mon Aug B 8 14:53:43 MDT 2011
 B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) M processor 1.00GHz (GenuineIntel 686-class) 1
GHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,
FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
 real mem B = 1324675072 (1263MB)
 avail mem = 1292951552 (1233MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 10/16/07, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.3 @ 0xf92f0 (36 entries)
 bios0: vendor American Megatrends Inc. version 208 date 10/16/2007
 bios0: ASUSTeK Computer Inc. R2H
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET SSDT
 acpi0: wakeup devices LAN0(S4) P0P1(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3)
EUSB(S3) MC97(S4) AZAL(S3) PWRB(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: apic clock running at 99MHz
 ioapic0 at mainbus0: apid 1 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 -1 (P0P2)
 acpiprt2 at acpi0: bus 1 (P0P1)
 acpiprt3 at acpi0: bus 2 (P0P4)
 acpiprt4 at acpi0: bus -1 (P0P5)
 acpiprt5 at acpi0: bus -1 (P0P6)
 acpiprt6 at acpi0: bus -1 (P0P7)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpitz0 at acpi0: critical temperature is 105 degC
 acpiac0 at acpi0: AC unit offline
 acpibat0 at acpi0: BAT0
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: SLPB
 acpivideo0 at acpi0: VGA_
 acpivideo1 at acpi0: VGA_
 bios0: ROM list: 0xc/0xea00!
 cpu0: Enhanced SpeedStep 1098 MHz: speeds: 1000, 800, 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
 wsdisplay0 at vga1 mux 1: console (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 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: Analog Devices/0x1986
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int 16
 pci1 at ppb0 bus 2
 re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x01: RTL8101E (0x3400),
apic 1 int 16, address 00:1d:60:38:96:0e
 rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: apic 1 int 23
 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: apic 1 int 19
 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: apic 1 int 18
 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: apic 1 int 16
 ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: apic 1 int 23
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 

Re: Installing Gnome on OpenBSD 4.9

2011-09-11 Thread Tomas Bodzar
On Sun, Sep 11, 2011 at 1:12 PM, Jeffrey Walton noloa...@gmail.com wrote:
 Hi All,

 OpenBSD specific reading for installing GNOME is a bit hard to come
 by, and README and INSTALL don't mention GNOME, so please forgive the
 basic questions.

 I think GNOME is either fully installed or partially installed (I'm
 not sure if I hung in AddDelete.pl at Avahi*). I issued 'pkg_add
 gnome-desktop gnome-session'. After reboot, a window manager does not
 appear to start. 'startx' results in a desktop with wallpaper, and
 nothing more (I find it less useful than an X session with a
 terminal).

 Concerned about a corrupt install of Avahi, I tried to reinstall with
 'pkg_add -D installed gnome-desktop gnome-session'.

 I did come across http://www.techonia.com/install-gnome-openbsd. But I
 don't believe the fellow writing told the full story (though he offers
 screen shots). For example, he did not 'chmod +x .xinitrc', so I'm not
 sure he stuff should even work.

Following two years old post which is not official documentation for
OpenBSD is at least weird.


 Is anyone aware of a [comprehensive] GNOME HowTo for OpenBSD?

You left off the most important part
http://www.openbsd.org/report.html so we don't know which version are
you running, which packages you have. What error messages you can see
(if any) during startup of X/Gnome and so on. BTW if you're on current
then there are no packages yet.


 Jeff

 * During package download and install, the machine went into 'power
 save' mode. When I woke the machine, the last message was related to
 installing Avahi. I pressed enter a few times and left the machine
 alone. The machine went back to sleep, and it was at the same place
 when I re-woke it some time later. ^C, and then I reissued B 'pkg_add
 gnome-desktop gnome-session'.



Re: frontpage openbsd

2011-09-11 Thread Tomas Bodzar
On Sun, Sep 11, 2011 at 4:25 PM, Nico Kadel-Garcia nka...@gmail.com wrote:
 On Fri, Sep 9, 2011 at 4:25 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk
wrote:
 On Fri, 09 Sep 2011 11:22:38 -0700
 Carlos A. Garcia G. B wrote:

 ok ill try to find out how to puch the webmaster so he change his mind,
 let me get the info from the webmaster.
 the only reason he said its Frontpage have a marvelous tools and with
 my frontpage i can upload the website without messing the ftp
 hummm!

Only people which use and love Frontpage are people which are doing
similar pages with Frontpage http://www.700200.cz/

In short people for which it will be good idea to deny access at all
for www or anything from IT :-) It's better to fire those people from
company instead of trying to find ways around for their crap.


 See what he thinks of sftp (it is ssh not secure ftp making it
 reliable, secure and silky smooth) with filezilla or gftp and never
 look back.

 Dreamweaver supports sftp but only password based auth as far as the
 latest version I've seen.

 The WWW consortium's tool, Amaya, also works quite well to avoid
 FrontPage's limitations. And it actually follows the standards for
 HTML encoding, correctly handling relative URL's, creating far more
 reliable and compatible web pages than Microsoft's tools.

 If the last avaiable version of FrontPage still supports it, and for
 many other tools which *do* support it such as the World Wide Web
 consortium's tool Amaya, WebDAV is a much, much better protocol than
 FTP. It uses HTTP or preferably HTTPS, it's built into core UNIX and
 Linux system tools such as Subversion so it's well supported, it
 doesn't have the split data and command channel problems that FTP has
 always had at firewalls, and no one blocks outgoing HTTPS at their
 firewalls in environments where the web must be accessible. Many sites
 very casually block the SSH port 22 that SFTP uses (to my occasional
 regret, and often so that the proxy servers or intervening network
 tools can monitor user's traffic for content).

 I've helped several companies migrate from FTP to WebDAV over HTTPS
 with good success and excellent reliability. Is this open to you?



Re: Wifi doesnt work correctly

2011-09-11 Thread Tomas Bodzar
On Sun, Sep 11, 2011 at 3:05 PM, unixak.cz open...@unixak.cz wrote:
 Hi everyone,

 my wifi doesnt work correctly. I have installed clean OpenBSD from
 snapshots today.


 Problem description:
 If I try ping gateway from my notebook where I have instaled OpenBSD, is
 only 70-73% packets returned - cyclic loses sequence 5-6 packets.
 I tried FreeBSD at the some notebook and all is OK (in FreeBSD is
 very similar driver). Signal is very good (distance between AP and
 notebook is directly 2 meters).

 # ping -s 1024 -c 100 192.168.0.1
 PING 192.168.0.1 (192.168.0.1): 1024 data bytes
 1032 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=4.315 ms
 /* here missing 5 ping reply (requests was send (tcpdump)) */
 1032 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=5.710 ms
 1032 bytes from 192.168.0.1: icmp_seq=7 ttl=64 time=4.242 ms
 ...
 1032 bytes from 192.168.0.1: icmp_seq=21 ttl=64 time=7.004 ms
 1032 bytes from 192.168.0.1: icmp_seq=22 ttl=64 time=4.217 ms
 /* here missing 6 ping reply (requests was send (tcpdump)) */
 1032 bytes from 192.168.0.1: icmp_seq=29 ttl=64 time=4.229 ms
 1032 bytes from 192.168.0.1: icmp_seq=30 ttl=64 time=4.237 ms
 ...
 1032 bytes from 192.168.0.1: icmp_seq=66 ttl=64 time=4.256 ms
 1032 bytes from 192.168.0.1: icmp_seq=67 ttl=64 time=4.761 ms
 /* here missing 5 ping reply (requests was send (tcpdump)) */
 1032 bytes from 192.168.0.1: icmp_seq=73 ttl=64 time=4.246 ms
 1032 bytes from 192.168.0.1: icmp_seq=74 ttl=64 time=4.218 ms
 ...
 1032 bytes from 192.168.0.1: icmp_seq=88 ttl=64 time=4.441 ms
 1032 bytes from 192.168.0.1: icmp_seq=89 ttl=64 time=4.241 ms
 /* here missing 6 ping reply (requests was send (tcpdump)) */
 1032 bytes from 192.168.0.1: icmp_seq=96 ttl=64 time=4.235 ms
 1032 bytes from 192.168.0.1: icmp_seq=97 ttl=64 time=4.215 ms
 ...
 --- 192.168.0.1 ping statistics ---
 100 packets transmitted, 73 packets received, 27.0% packet loss
 round-trip min/avg/max/std-dev = 4.207/4.407/7.749/0.582 ms

Are you able to ping your laptop from AP to see similar statistics? Or
ping OpenBSD laptop from other clients associated with AP?

I suppose that there's more operating systems on clients in your
network and they don't have these issues, right?



 System information:

 # dmesg
 OpenBSD 5.0-current (GENERIC.MP) #64: Sat Sep 10 11:23:27 MDT 2011
 B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz (GenuineIntel
 686-class) 2.20 GHz cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
 B  B CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,
 B  B VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 real mem B = 3176398848 (3029MB) avail mem = 3114364928 (2970MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 05/26/10, BIOS32 rev. 0 @
 0xfdc50, SMBIOS rev. 2.4 @ 0xe0010 (80 entries) bios0: vendor LENOVO
 version 7VET86WW (3.16 ) date 05/26/2010 bios0: LENOVO 744332G
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT SSDT TCPA
 DMAR 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 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz (GenuineIntel
 686-class) 2.20 GHz cpu1:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
 B  B CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,
 B  B VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 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 42T4653 serial 42249 type LION oem LGC
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit online
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000
 0xd2000/0x1000 0xde000/0x1800! 0xe/0x1 cpu0: Enhanced SpeedStep
 2195 MHz: speeds: 2201, 2200, 1600, 1200 MHz pci0 at mainbus0 bus 0:
 configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 

Re: Installing Gnome on OpenBSD 4.9

2011-09-11 Thread Tomas Bodzar
On Mon, Sep 12, 2011 at 4:12 AM, Jeffrey Walton noloa...@gmail.com wrote:
 Hi Dmitrij,

 On Sun, Sep 11, 2011 at 5:46 PM, Dmitrij D. Czarkoff czark...@gmail.com
wrote:
 On Sun, Sep 11, 2011 at 11:07:14AM -0400, Jeffrey Walton wrote:
 OK, I deleted 4.9 and installed 4.8. I saved the console messages and
 started and started the gdm, avahi, and dbus daemon as instructed. No
 joy.

 Could You please be a bit more precise?
 My apologies. I'll try and clear things up now (for grandma!).

 I fell back to 4.8 because Tom stated something to the effect that
 Gnome was not yet [fully] ported (forgive my misquotes). This made
 some sense to me since I did see a few messages related to outdated
 binaries on 4.9 when running `startx` from a teminal. I presumed the
 developers knew about it, and it was OK with them (otherwise, it would
 have been fixed).

I did not say that ;-)
I said that packages are not in current right now because of
infrastructure  reasons. Packages for 4.8 and 4.9 are in place without
issues.And Gnome is well running and supported on OpenBSD eg. because
of this http://undeadly.org/cgi?action=articlesid=20110420080633

And what is really of interest for you is this message
http://marc.info/?l=openbsd-portsm=131546789610229w=2


 Which instructions did You follow - those unofficial instructions on some
 website about OpenBSD 4.7 or the official README that is cited in the
 install-message at installation time?

 I followed the instructions from

http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/gnome/session/pkg/README?rev=
1.13;content-type=text%2Fplain.
 Actually, I missed gnome-audio and gnome-power-manager was not found:

 B  # pkg_add eog \
 B  B  B  file-roller \
 B  B  B  gdm \
 B  B  B  gedit \
 B  B  B  gnome-applets2 \
 B  B  B  gnome-audio \
 B  B  B  gnome-backgrounds \
 B  B  B  gnome-control-center \
 B  B  B  gnome-keyring \
 B  B  B  gnome-media \
 B  B  B  gnome-panel \
 B  B  B  gnome-power-manager \
 B  B  B  gnome-screensaver \
 B  B  B  gnome-terminal \
 B  B  B  gnome-themes \
 B  B  B  gnome-utils

 After the list of 'primary' packages was installed, I then executed:

 B  # pkg_add gnome-session \
 B  B  B  gnome-desktop \
 B  B  B  nautilus-open-terminal

 While installing the 'primary' packages (eog, ...,gnome-utils), I did
 so in an XTERM so I was able to scroll through messages. Despite my
 sincerest efforts to install the 'primary' packages, I still had to add
 the following to rc.local per the terminal messages:

 B if [ -x /usr/local/bin/dbus-daemon ]; then
 B install -d -o _dbus -g _dbus /var/run/dbus
 B echo -n ' dbus'; /usr/local/bin/dbus-daemon --system
 B fi

 B if [ -x /usr/local/sbin/gdm ]; then
 B echo -n ' gdm'; (sleep 5; /usr/local/sbin/gdm)
 B fi

 B if [ -x /usr/local/sbin/avahi-daemon ]; then
 B echo -n ' avahi-daemon'; /usr/local/sbin/avahi-daemon -D
 B fi

 For what its worth, nautilus-open-terminal *should* be listed in the
 'primary' list.

 What does the phrase No joy mean?
 My bad. It is slang for 'not successful'. I appreciate the help, so I
 don't want to use terms like 'failed' and 'broken'.

 You've got some errors? You've got no
 error but no GNOME? You didn't like the default color theme? You were
 depressed and decided not to go ahead?
 I think it was approaching the latter :)

 I used to install GNOME on OpenBSD 4.9. It is 100% straight forward exactly
as
 written in a README file that is referenced in the install message.
 OK. This raises my suspicions (please don't take offense). I tried
 following the instructions from the provided link on both 4.8 and 4.9.
 I was not successful.

 And I am
 planning to instruct my grandmother to install OpenBSD 5.0 with GNOME.
 Perhaps you should be at your gandmom's house when the migration occurs.

 You please share You experience in some more detail?
 OK. For me, its all about 'dumb users' and 'reasonable expectations'.
 I'm a dumb user, and I think my expectations are reasonable.

 I think the documentation is lacking and the process is too involved.
 I personally found Christian's link of

http://www.gabsoftware.com/tips/tutorial-install-gnome-desktop-and-gnome-disp
lay-manager-on-openbsd-4-8/
 much more helpful. At minimum, it had pictures which are always easy
 to follow.

 I cannot explain why I got a 2 year old document as a top hit when
 searching for 'OpenBSD install gnome' (perhaps SEO?). And I cannot
 explain why the official OpenBSD document was not predominantly listed
 in the Google'd results. Nor can I explain why neither the README nor
 the INSTALL mention anything gnome or its installation document.

Because search engines are full of ads and other crap thanks to times
when everyone without knowledge can create blog with false (or only
true in that time) information and people then follow it for years.


 In practice, after following the official OpenBSD instructions, GDM
 would start (ie, a 'gnome login screen') but I would get XTERM when I
 logged in. Christian's instructions seems to 

Re: OpenBSD ACER aspire 9300 laptop install panic

2011-09-10 Thread Tomas Bodzar
On Sat, Sep 10, 2011 at 10:47 PM,  marc.verwe...@telenet.be wrote:
 Hello,

 My previous firewall needs a replacement so I got hold of an
 ACER aspire 9300 laptop. For a number of days I've tried installing
 the 4.9 (i386) release. Unfortunatly, most things I try fail so I'm
 looking for some help/advice.

 Upon booting from the 4.9 release CD I usually (9 out of 10) get a
 panic screen. I was lucky enough to install 4.9 on the laptop but when
 booting from the HD, I also usually get a panic screen. Sometimes I
 can boot and run OpenBSD without trouble but that's the exception,
 not the rule.

 In order to exclude HW problems I ran memtest86 for 11 hours, did a
 thorough check on the disk that only revealed 2 reallocated sectors
 and installed a number of linux distros (ubuntu, mint, clearos, ...).
 Every distro worked out of the box.

 Then I asked for some advice on daemonforums (1) and 2 people helped
 me. First advice was to try out the -current or AMD release. Second
 advice was to upgrade the BIOS of the laptop.

 In order to upgrade the laptop I've reinstalled XP and was able to
 flash the BIOS. I then retried all 3 three OpenBSD variants. No
 change in behaviour.

 When I boot 4.9 i386 a get a panic screen shortly after the 'boot'
 prompt. Doesn't matter whether I boot from CD or HD.

 When I boot 5.0-current (8 of sept) I don't get a panic screen. But
 the install halts and nothing happens. Last line I see is:
 entry point at 0x20012
 and that's it.

 The AMD release gets to the 'boot' prompt. After a short wait it
 shows a spinning cursor and 1 number (in the other releases it seems
 like calculating and then displays something like
 '5965416+946088 [61+227984+215947]=0x703e08' ). Here I only get
 the first number. Then it crashes without a panic screen and the
 system reboots automatically.

 I've included the dmesg output at the end and for those interested
 there's an attachment with a picture from the panic screens on the
 daemonforums (1).

 Any help greatly appreciated

 Marc

 1: http://www.daemonforums.org/showthread.php?t=6312

 Dmesg output:

 OpenBSD 4.9 (GENERIC) #671: Wed Mar 2 07:09:00 MST 2011
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: AMD Turion(tm) 64 Mobile Technology MK-36 (AuthenticAMD 686-class, 
 512KB L2 cache) 2.01 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16
 real mem = 938102784 (894MB)
 avail mem = 912625664 (870MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 09/13/06, BIOS32 rev. 0 @ 0xfda64, 
 SMBIOS rev. 2.4 @ 0x37f6b000 (27 entries)
 bios0: vendor Phoenix Technologies LTD version V1.06 date 09/13/2006
 bios0: Acer Aspire 9300
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP MCFG APIC BOOT SSDT
 acpi0: wakeup devices LID0(S3) SLPB(S3) USB0(S3) USB2(S3) MAC0(S5) AZA0(S3) 
 P2P0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimcfg0 at acpi0 addr 0xe000, bus 0-4
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 200MHz
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 4 (P2P0)
 acpiprt2 at acpi0: bus 3 (XVR0)
 acpiprt3 at acpi0: bus 2 (XVR1)
 acpiprt4 at acpi0: bus 1 (XVR2)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C2, PSS
 acpitz0 at acpi0: critical temperature 96 degC
 acpitz1 at acpi0: critical temperature 111 degC
 acpibtn0 at acpi0: LID0
 acpibtn1 at acpi0: SLPB
 acpibtn2 at acpi0: PWRB
 acpibat0 at acpi0: BAT0 model BODEN43 serial 10780 type LION oem 594e4f53
 acpiac0 at acpi0: AC unit online
 acpivideo0 at acpi0: VGA_
 acpivout0 at acpivideo0: CRT_
 acpivout1 at acpivideo0: LCD_
 acpivout2 at acpivideo0: TVO_
 acpivideo1 at acpi0: VGA_
 acpivout3 at acpivideo1: CRT_
 acpivout4 at acpivideo1: LCD_
 acpivout5 at acpivideo1: TVO_
 bios0: ROM list: 0xc/0xf200 0xcf800/0x1800
 cpu0: PowerNow! K8 2010 MHz: speeds: 2000 1800 1600 800 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
 ppb0 at pci0 dev 2 function 0 NVIDIA C51 PCIE rev 0xa1
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
 pci3 at ppb2 bus 3
 vga1 at pci0 dev 5 function 0 NVIDIA GeForce Go 6100 rev 0xa2
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 

Re: Security over wireless.

2011-09-09 Thread Tomas Bodzar
On Fri, Sep 9, 2011 at 11:33 AM, David Walker davidianwal...@gmail.com wrote:
 Hi.

 I'm using some old gear that doesn't support WPA or better (WEP only).
 Until I get around to that what are my options security wise?

 Here's the machines:

 inet - OpenBSD - CPE AP - USB - OpenBSD - desktops

 The AP is some Cisco or something. Like those WRT54s and whatnot.
 I notice it has options for L2TP pass through and maybe IPSEC and PPTP.
 I'm not really sure how they work that (no man pages of course).
 The USB stick is old and WEP only (Netgear MA111).

 I have control over all the machines
 It's a bit dual purpose - it's my route to the internet so I figure
 encrypting/decrypting at the OpenBSD machines or tunneling between
 them or something is probably good but the plan is also to access the
 immediate inet OpenBSD machine from the desktop end OpenBSD machine
 via SSH at some point but I'm not sure if that matters.

 I'm unfamiliar with all of that (yes even SSH).
 I'd like to use something that's in base at a minimum.
 If it's conceptually simple that's a bonus.

http://www.openbsd.org/faq/pf/authpf.html

or you can slightly modify this one which is quite old, but not so
much changed in fact
http://www.openbsd-support.com/jp/en/htm/mgp/pacsec05/index.html


 Best wishes.



Re: State of Intel HD GPU (HM55) - or how it will do on HP's Pavilion DM4

2011-09-09 Thread Tomas Bodzar
On Fri, Sep 9, 2011 at 8:47 PM, roberth rob...@openbsd.pap.st wrote:
 On Fri, 09 Sep 2011 17:16:36 +0100
 Matej D=ach matej.l...@gmail.com wrote:

 Intel HD Graphics (HM55 chipset) - including GPU acceleration (at
 least 2D).

 It is being worked on. Atm from what i have read, even the vesa driver
 doesn't work that good.

 Owain has posted a diff for this on tech@ recently. (search for
 sandybride).
 But there is more work to do, like pulling in the Xorg bits.

I have

$ sysctl kern.version
kern.version=OpenBSD 5.0-current (GENERIC.MP) #63: Thu Sep  8 12:10:28 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

$

and before that my Sandybridge Intel GT2+ was able to do only around
7fps and work was somewhat slower in X, sound was stuttered and I was
not able to watch eg. movies with mplayer -vo x11, list of huge number
of files in directory was slow, vga was marked as not configured in
dmesg and so on. Except of that work was fine. Now every problem which
I've had before is gone and I have around 23fps, X is not sluggish,
sound is ok, movies are ok in mplayer, html5 movies runs and so on.

Yes, it's initial change (still KMS needed), but it's ok in 2D for me
and thx again to all devs for their superb job.

$ dmesg | grep -i vga
vga1 at pci0 dev 2 function 0 Intel GT2+ Video rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
intagp0 at vga1
inteldrm0 at vga1: apic 2 int 16
$

$ sudo pcidump -v 0:2:0
 0:2:0: Intel GT2+ Video
0x: Vendor ID: 8086 Product ID: 0126
0x0004: Command: 0007 Status ID: 0090
0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 09
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0xe140/0x0040
0x0018: BAR mem prefetchable 64bit addr: 0xd000/0x1000
0x0020: BAR io addr: 0x4000/0x0040
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 0492
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0090: Capability 0x05: Message Signaled Interrupts (MSI)
0x00d0: Capability 0x01: Power Management
0x00a4: Capability 0x13: PCI Advanced Features
$

$ glxinfo | grep -i render
direct rendering: Yes
OpenGL renderer string: Software Rasterizer
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program,
$

$ grep -i intel /var/log/Xorg.0.log
[1368685.875]   Identifier  Builtin Default intel Device 0
[1368685.875]   Driver  intel
[1368685.875]   Identifier  Builtin Default intel Screen 0
[1368685.875]   Device  Builtin Default intel Device 0
[1368685.875]   Screen  Builtin Default intel Screen 0
[1368685.884] (**) |--Screen Builtin Default intel Screen 0 (0)
[1368685.885] (**) |   |--Device Builtin Default intel Device 0
[1368685.885] (==) No monitor specified for screen Builtin Default
intel Screen 0.
[1368686.126] (II) LoadModule: intel
[1368686.127] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[1368686.148] (II) Module intel: vendor=X.Org Foundation
[1368686.184] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
[1368686.248] (II) VESA(0): VESA VBE OEM: Intel(R)Sandybridge Mobile
Graphics Chipset Accelerated VGA BIOS
[1368686.248] (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation
[1368686.248] (II) VESA(0): VESA VBE OEM Product: Intel(R)Sandybridge
Mobile Graphics Controller
[1368686.377] (II) UnloadModule: intel
[1368686.377] (II) Unloading /usr/X11R6/lib/modules/drivers/intel_drv.so
[1368686.383] (II) VESA(0): VESA VBE OEM: Intel(R)Sandybridge Mobile
Graphics Chipset Accelerated VGA BIOS
[1368686.383] (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation
[1368686.383] (II) VESA(0): VESA VBE OEM Product: Intel(R)Sandybridge
Mobile Graphics Controller
$




 I'd say dualboot for now, see what works and help yourself by testing
 the offered patches.



Re: Why aren't you running -current?

2011-09-08 Thread Tomas Bodzar
On Thu, Sep 8, 2011 at 9:40 AM, Raimo Niskanen
raimo+open...@erix.ericsson.se wrote:
 On Thu, Sep 08, 2011 at 06:49:16AM +0200, Tomas Bodzar wrote:
 On Thu, Sep 8, 2011 at 6:41 AM, Wesley M. open...@e-solutions.re wrote:
  Hi,
 
  Need to cvs update and rebuild, so take time.
  And configuration file can change

 No compilation at all.

 With snapshots:

 binary upgrade
 sysmerge(8) for config files
 pkg_add -ui for packages

 Takes cca 15minutes on modern HW. During that time you can drink eg.
 coffe and occasionally hit Enter on your keyboard :-)

 So you will have at least 15 minutes of downtime on your production
 server, but if you run into problems e.g because of a non-trivial
 configuration file change, kernel bug that makes your network
 card unusable, and such that has happened in the past your are
 looking at a worst case downtime of several days waiting for a
 better snapshot. Depending on the demands on the server that is
 maybe not worth the risk.

For that purpose there are HA setups, site scripts and other stuff to
do update quickly without break in production. Or very short breaks in
production which are regularly planned.


 You could have an identical dummy server and do a test upgrade
 to be sure to avoid that. To avoid wasting time and resources
 sometimes running stable with patches is the better option.

He did not ask most important question. If he is interested in
workstation/laptop/desktop/home use of current or big production.
Still for stable with patches you need either separate machine which
will create release or do that on production machine. Any of that
needs some break in production when you apply that.



 
  Cheers,
 
  Wesley.
 
  i'm sorry :(
 
  don't be sorry, just tell me why, i am just curious.

 --

 / Raimo Niskanen, Erlang/OTP, Ericsson AB



BSD Day 2011

2011-09-08 Thread Tomas Bodzar
Are some of the devs attending or no one invited?

http://www.bsdday.eu/2011



Re: fresh Thinkpad x220 - possibly new iwn variant

2011-09-07 Thread Tomas Bodzar
On Mon, Aug 29, 2011 at 4:58 PM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 On Mon, Aug 29, 2011 at 1:28 PM, Mark Kettenis mark.kette...@xs4all.nl
wrote:
 Date: Mon, 29 Aug 2011 11:53:02 +0200
 From: Tomas Bodzar tomas.bod...@gmail.com

 On Sun, Aug 28, 2011 at 9:38 AM, Tomas Bodzar tomas.bod...@gmail.com
wrote:
  On Sun, Aug 28, 2011 at 2:53 AM, Jonathan Gray j...@goblin.cx wrote:
  On Sat, Aug 27, 2011 at 09:38:31PM +0200, Peter N. M. Hansteen wrote:
  My new employer handed me a fresh Thinkpad x220 for my day-to-day
needs,
  nice little number but the iwn
 
  iwn0 at pci2 dev 0 function 0 Intel Centrino Advanced-N 6205 rev
0x34: msi, MIMO 2T2R, MoW, address a0:88:b4:41:6f:5c
 
  (which is a bit temperamental under recent linuxes too) is refusing
to
  play nice with OpenBSD (specifically the 17 Aug amd64 snapshot). B I
  imagine it's another firmware iteration that's need
  dmesg followed by pcidump -v:
 
  kettenis has a diff for this
 
  http://marc.info/?l=openbsd-bugsm=131404660404926w=2

 diff works fine. scan is running, connection is running without
 issues, passwords working,dhcp works
 just detection in dmesg is still wrong

 iwn0 at pci2 dev 0 function 0 Intel Centrino Advanced-N 6005 rev
 0x34: MIMO 2T2R, MoW, address MAC

 Uh what do you mean by that? B Are you saying this really is an Intel
 Centrino Advanced-N 6205 card, but it is identified as 6005?

Actual situation with unmodified sources:

$ sysctl kern.version
kern.version=OpenBSD 5.0-current (GENERIC.MP) #2: Tue Sep  6 06:59:19 CEST
2011
root@fqdn:/usr/src/sys/arch/i386/compile/GENERIC.MP

$ dmesg | grep iwn
iwn0 at pci2 dev 0 function 0 Intel Centrino Advanced-N 6205 rev
0x34: msi, MIMO 2T2R, MoW, address MAC
$

$ sudo pcidump -vxx 2:0:0
 2:0:0: Intel Centrino Advanced-N 6205
0x: Vendor ID: 8086 Product ID: 0082
0x0004: Command: 0006 Status ID: 0010
0x0008: Class: 02 Subclass: 80 Interface: 00 Revision: 34
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size:
10
0x0010: BAR mem 64bit addr: 0xe2d0/0x2000
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 8086 Product ID: 1321
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
0x00c8: Capability 0x01: Power Management
0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
0x00e0: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1
0x: 00828086 0016 02800034 0010
0x0010: e2d4   
0x0020:    13218086
0x0030:  00c8  010a
0x0040:    
0x0050:    
0x0060:    
0x0070:    
0x0080:    
0x0090:    
0x00a0:    
0x00b0:    
0x00c0:   c823d001 0d00
0x00d0: 0081e005 fee0  0061
0x00e0: 00010010 10008ec0 00190810 0006ec11
0x00f0: 10110142   
$

So seems completely fine now. Thanks a lot for your patches


 Yep https://www.dell.com/us/business/p/latitude-e6320/pd , Intel 6005
 is not even an option for this model. On Linux it's detected as 6205
 and as I checked if_iwn.c and other files there's not 6205 mentioned
 at all.

 Here you can find how it's detected by Linux
 http://marc.info/?l=openbsd-miscm=131229962808914w=2 and my original
 post http://marc.info/?l=openbsd-miscm=131228154321103w=2



Re: httpd wouldn't start from rc script by default

2011-09-07 Thread Tomas Bodzar
On Thu, Sep 8, 2011 at 4:15 AM, Dmitrij D. Czarkoff czark...@gmail.com
wrote:
 Sorry for an empty message.

 On Wed, Sep 07, 2011 at 08:51:06PM -0400, Nick Holland wrote:
 1) system daemons must have a corresponding daemon_flags variable
 defined in rc.conf.local. B All the files in /etc/rc.d are executed at
 boot, only the daemons named with _flags variables actually stick and
 run. B The idea is, if you want the daemon to start at boot, you want to
 know that all the pieces are in place for it to happen at boot,
 otherwise, just start the process manually (as you did)

 Thanks! Adding

 httpd_flags=

 to /etc/rc.conf.local made httpd rc.d script run.

 2) rc_scripts is history. B It's now pkg_scripts for packages, and has
 nothing to do with system daemons at all.
 B  B * pkg_scripts controls packages
 B  B * rc.conf.local controls daemons included with OpenBSD

 On my system /etc/rc.conf.local contained rc_scripts entry and
 /etc/rc.d/httpd file. I thought it could be started as all the other rc.d
 files...

 Anyway, now I don't have to keep httpd in rc_scripts, do I?

As you're on current then you read this  for sure, right?
http://www.openbsd.org/faq/current.html#20110707

Not sure if you read that
http://www.openbsd.org/cgi-bin/man.cgi?query=rc.dsektion=8 , but
there's everything described including info that system daemons (like
httpd) are started via
http://www.openbsd.org/cgi-bin/man.cgi?query=rcsektion=8arch=apropos=0man
path=OpenBSD+Current
and not via pkg_scripts.

So instead of guessing try to use documentation.


 --
 Dmitrij D. Czarkoff



Re: Why aren't you running -current?

2011-09-07 Thread Tomas Bodzar
On Thu, Sep 8, 2011 at 6:41 AM, Wesley M. open...@e-solutions.re wrote:
 Hi,

 Need to cvs update and rebuild, so take time.
 And configuration file can change

No compilation at all.

With snapshots:

binary upgrade
sysmerge(8) for config files
pkg_add -ui for packages

Takes cca 15minutes on modern HW. During that time you can drink eg.
coffe and occasionally hit Enter on your keyboard :-)


 Cheers,

 Wesley.

 i'm sorry :(

 don't be sorry, just tell me why, i am just curious.



Re: Netgear WG111.

2011-09-07 Thread Tomas Bodzar
On Thu, Sep 8, 2011 at 5:53 AM, David Walker davidianwal...@gmail.com
wrote:
 Hi Thomas.
 Sorry for the delay.

 On 21/08/2011, Tomas Bodzar tomas.bod...@gmail.com wrote:
 Hi,

 post output of 'usbdevs -v' command.

 Controller /dev/usb0:
 addr 1: full speed, self powered, config 1, UHCI root hub(0x),
 Intel(0x8086), rev 1.00
 B port 1 addr 2: full speed, power 500 mA, config 1, NETGEAR
 WG111(0x4240), GlobespanVirata(0x0846), rev 10.20, iSerialNumber
 3887-
 B port 2 addr 3: full speed, self powered, config 1, Generic USB
 Hub(0x9254), ALCOR(0x058f), rev 3.12
 B port 1 powered
 B port 2 addr 4: low speed, power 100 mA, config 1, Microsoft Basic
 Optical Mouse v2.0(0x00cb), Microsoft(0x045e), rev 1.99
 B port 3 powered
 B port 4 addr 5: low speed, power 100 mA, config 1, USB
 Keyboard(0x00f2), NOVATEK(0x0603), rev 1.12

 Install usbutil package as well
 and post output of 'usbctl -a 2 -f /dev/usb0'

 DEVICE addr 2
 DEVICE descriptor:
 bLength=18 bDescriptorType=device(1) bcdUSB=2.00 bDeviceClass=0
 bDeviceSubClass=0
 bDeviceProtocol=0 bMaxPacketSize=64 idVendor=0x0846 idProduct=0x4240
 bcdDevice=1020
 iManufacturer=1(GlobespanVirata) iProduct=2(NETGEAR WG111)
 iSerialNumber=3(3887-) bNumConfigurations=1

 CONFIGURATION descriptor 0:
 bLength=9 bDescriptorType=config(2) wTotalLength=53 bNumInterface=1
 bConfigurationValue=1 iConfiguration=0() bmAttributes=80 bMaxPower=500 mA

 INTERFACE descriptor 0:
 bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0
bAlternateSetting=0
 bNumEndpoints=5 bInterfaceClass=255 bInterfaceSubClass=255
 bInterfaceProtocol=255 iInterface=0()

 ENDPOINT descriptor:
 bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in
 bmAttributes=bulk wMaxPacketSize=64 bInterval=0

 ENDPOINT descriptor:
 bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-out
 bmAttributes=bulk wMaxPacketSize=64 bInterval=0

 ENDPOINT descriptor:
 bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=2-in
 bmAttributes=bulk wMaxPacketSize=64 bInterval=0

 ENDPOINT descriptor:
 bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=2-out
 bmAttributes=bulk wMaxPacketSize=64 bInterval=0

 ENDPOINT descriptor:
 bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=3-in
 bmAttributes=interrupt wMaxPacketSize=64 bInterval=1

 current configuration 1

Do you have latest snapshot to see if something changed in dmesg output?


 --

 I noticed this:

 MASTER_SITES= B  ftp://ftp.augustsson.net/pub/netbsd/


http://www.openbsd.org/cgi-bin/cvsweb/ports/sysutils/usbutil/Makefile?rev=1.1
9;content-type=text%2Fplain

 AFAICT, there's nothing useful there.
 I see this:
 http://www.freshports.org/sysutils/usbutil/

Not sure how are fbsd ports related to obsd. This site is correct
http://openports.se/sysutils/usbutil


 Best wishes.



Re: Most secure Operating-System?

2011-09-07 Thread Tomas Bodzar
On Thu, Sep 8, 2011 at 6:03 AM, Siju George sgeorge...@gmail.com wrote:
 On Thu, Sep 8, 2011 at 6:14 AM, Clint Pachl pa...@ecentryx.com wrote:
 I just listened to an interview with one of the devs on the project
 (http://twit.tv/show/floss-weekly/156). Wow! With SELinux, you basically
 just flip a switch and boom, you're secure.


 Do such people like you really exist?
 Or are you being Sarcastic?

If it wasn't sarcastic then God help us all :D


 --Siju

 No process can talk to any other
 processes without your permission. No process can access the Internet if you
 don't want it to. Say goodbye to buffer overflows! It's implemented by the
 USA's NSA so you know it's the most secure OS in the Universe. It's truly
 amazing security. Set it and forget it!

 Alec, I think you really need to refocus on SELinux.



Re: Netgear WG111.

2011-09-07 Thread Tomas Bodzar
On Sat, Aug 20, 2011 at 5:19 PM, David Walker davidianwal...@gmail.com
wrote:
 Hey kids.

 I'm running a snapshot from a week or so ago:
 OpenBSD 5.0 GENERIC#39

 I have a Netgear WG111 v2 USB wifi adapter that might be supported
 according to urtw(4) but only gets ugen status.
 I haven't used this thing for a long time and can't remember previous
status.

 Is there any procedure I need to do or should I assume it's unsupported?

 Best wishes.

 OpenBSD 5.0 (GENERIC) #39: Mon Aug B 8 14:53:43 MDT 2011
 B  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium III (GenuineIntel 686-class) 731 MHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,SER,MMX,FXSR,S
SE
 real mem B = 266858496 (254MB)
 avail mem = 252444672 (240MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 12/05/01, BIOS32 rev. 0 @
 0xfd87d, SMBIOS rev. 2.2 @ 0xe4010 (42 entries)
 bios0: vendor Phoenix Technologies Ltd. version IP.01.08US date
12/05/2001
 bios0: Hewlett-Packard HP Vectra
 apm0 at bios0: Power Management spec V1.2
 acpi at bios0 function 0x0 not configured

Do you have latest BIOS available for that machine? Did you disable acpi?

 pcibios0 at bios0: rev 2.1 @ 0xfd810/0x7f0
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0xa000 0xe/0x4000! 0xe4000/0xc000!
 cpu0 at mainbus0: (uniprocessor)
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82815 Host rev 0x02
 vga1 at pci0 dev 2 function 0 Intel 82815 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 0xf000, size 0x400
 ppb0 at pci0 dev 30 function 0 Intel 82801AA Hub-to-PCI rev 0x02
 pci1 at ppb0 bus 1
 xl0 at pci1 dev 4 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 7,
 address 00:01:03:03:c3:8c
 bmtphy0 at xl0 phy 24: 3C905C internal PHY, rev. 7
 ichpcib0 at pci0 dev 31 function 0 Intel 82801AA LPC rev 0x02:
 24-bit timer at 3579545Hz
 pciide0 at pci0 dev 31 function 1 Intel 82801AA IDE rev 0x02: DMA,
 channel 0 wired to compatibility, channel 1 wired to compatibility
 wd0 at pciide0 channel 0 drive 0: WDC WD80EB-28CGH2
 wd0: 16-sector PIO, LBA, 7633MB, 15633072 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: ATAPI-CD, ROM-DRIVE-52MAX, 52E4 ATAPI
 5/cdrom removable
 cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 uhci0 at pci0 dev 31 function 2 Intel 82801AA USB rev 0x02: irq 11
 ichiic0 at pci0 dev 31 function 3 Intel 82801AA SMBus rev 0x02: irq 9
 iic0 at ichiic0
 spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC133CL2
 spdmem1 at iic0 addr 0x51: 128MB SDRAM non-parity PC133CL2
 isa0 at ichpcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4: polled
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
 mtrr: Pentium Pro MTRR support
 ugen0 at uhub0 port 1 GlobespanVirata NETGEAR WG111 rev 2.00/10.20 addr 2

Maybe that device needs USB 2.0 as in docs they say that v2/v3 (which
are only supported by OpenBSD) needs USB 2.0

 uhub1 at uhub0 port 2 ALCOR Generic USB Hub rev 1.10/3.12 addr 3
 uhidev0 at uhub1 port 2 configuration 1 interface 0 Microsoft
 Microsoft Basic Optical Mouse v2.0 rev 1.10/1.99 addr 4
 uhidev0: iclass 3/1
 ums0 at uhidev0: 3 buttons, Z dir
 wsmouse0 at ums0 mux 0
 uhidev1 at uhub1 port 4 configuration 1 interface 0 NOVATEK USB
 Keyboard rev 1.10/1.12 addr 5
 uhidev1: iclass 3/1
 ukbd0 at uhidev1: 8 modifier keys, 6 key codes
 wskbd1 at ukbd0 mux 1
 wskbd1: connecting to wsdisplay0
 uhidev2 at uhub1 port 4 configuration 1 interface 1 NOVATEK USB
 Keyboard rev 1.10/1.12 addr 5
 uhidev2: iclass 3/0, 4 report ids
 uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
 uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
 uhid2 at uhidev2 reportid 4: input=2, output=0, feature=0
 vscsi0 at root
 scsibus1 at vscsi0: 256 targets
 softraid0 at root
 scsibus2 at softraid0: 256 targets
 root on wd0a (01f39c01585cc992.a) swap on wd0b dump on wd0b
 wsdisplay0: screen 6 added (80x25, vt100 emulation)
 wsdisplay0: screen 7 added (80x25, vt100 emulation)
 wsdisplay0: screen 8 added (80x25, vt100 emulation)
 wsdisplay0: screen 9 added (80x25, vt100 emulation)
 wsdisplay0: screen 10 added (80x25, vt100 emulation)
 wsdisplay0: screen 11 added (80x25, vt100 emulation)
 wsmouse0 detached
 ums0 detached
 uhidev0 

Re: Firefox 6

2011-09-06 Thread Tomas Bodzar
switched to xxxterm + adsuck which works every release better and
better. Just some IIS pages are not running because of authentication
issues which seems related to webkit. So probably chrome has some
plugin for that as no issues in chrome at all

On 9/7/11, bofh goodb...@gmail.com wrote:
 On Tue, Sep 6, 2011 at 7:29 PM, Abel Abraham Camarillo Ojeda
 acam...@verlet.org wrote:
 FF7 is the first FF release which pays serious attention to those
 memory bugs, so it might help you. takes about 2-4 hrs to compile on
 amd64.

 2-4 hrs to build? When it finishes compiling there will be already firefox
 8!

 I used to work with a guy who had access to the netscape source code.
 Apparently they don't really understand how to build a project - a
 single change *ANYWHERE* would require a complete rebuild.  That took
 overnight...

 Makefiles are for wimps, apparently.


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



Re: Most secure Operating-System?

2011-09-05 Thread Tomas Bodzar
On Mon, Sep 5, 2011 at 3:55 PM, Alec Taylor alec.tayl...@gmail.com wrote:
 Good evening,

 What's the most secure operating system?

 /me is thinking OpenBSD

What you think is not important for suits ;-) For them the most
important part is how much dinners and other gifts will they have from
vendor if they choose right one ;-) You will be in the end just
monkey which needs to administer whichever shit they throw at you ;-)


 Features required:
 B TCP/IP Suite with IPv4 and IPv6 (yeah, I know, big security loss by
 incorporating Internet access!)
 B GUI
 B Web-server (with HTTPS capabilities)
 B LDAP+-Kerberos server for User auth
 B CAS or similar for SSO
 B Radius or (preferably) Diameter support
 B Java support
 B WINE compatible
 B Multithreaded
 B Multi-processor capable
 B Wide architecture support (x86, x64, mainframes)

 If my project proposal is successful, I will be implementing this
 system to replace a Windows environment at one of the largest banks in
 the country.

 Thanks for all suggestions+advice,

 Alec Taylor



Re: Most secure Operating-System?

2011-09-05 Thread Tomas Bodzar
On Mon, Sep 5, 2011 at 4:41 PM, Christopher Linn cel...@mtu.edu wrote:
 hi alec,

 - Alec Taylor alec.tayl...@gmail.com wrote:
 Good evening,

 What's the most secure operating system?

 /me is thinking OpenBSD

 Features required:
 B TCP/IP Suite with IPv4 and IPv6 (yeah, I know, big security loss by
 incorporating Internet access!)
 B GUI
 B Web-server (with HTTPS capabilities)
 B LDAP+-Kerberos server for User auth
 B CAS or similar for SSO
 B Radius or (preferably) Diameter support
 B Java support
 B WINE compatible
 B Multithreaded
 B Multi-processor capable
 B Wide architecture support (x86, x64, mainframes)

 If my project proposal is successful, I will be implementing this
 system to replace a Windows environment at one of the largest banks in
 the country.

 Thanks for all suggestions+advice,

 Alec Taylor



 is this for desktop? in an enterprise environment you will surely need
 to run e.g. M$ applications and adobe pro

IPv6, Java, Wine really sounds like any bank on the market which
really cares about security in the same way as they care about our
money in hedge funds, sci-fi loans, even more sci-fi ratings and so on
:-)


 and, what do you mean by mainframes?

 --
 Chris Linn



Re: Laptop hard drive and emergency unload

2011-09-04 Thread Tomas Bodzar
after reading that fbsd thread it seems that it's problem of shitty hw
where acer can be count for sure. I saw a lot of them with fine
numbers in specs, but together it was worse then some older laptop
from ibm or similar vendor. Slow buses, cheap hw, missing specs and so
on. In the end expensive slow toy

On 9/4/11, Benny Lofgren bl-li...@lofgren.biz wrote:
 On 2011-09-04 07.39, David Vasek wrote:
 No, Marco, it is not true. There is a difference between unloading the
 heads in a controlled way and by an emergency retract. Doing emergency
 retract repeatedly is not good, really.

 That used to be true in the dark ages, when disk drives were as large as
 washing machines and the actual disk packs were removable and 14 in
 diameter. But in this day and age, what Marco says is entirely correct.

 The OP can safely ignore this from a disk durability standpoint, although
 it may of course be a nuisance that the disk doesn't power down when
 shutting down OpenBSD (if that's indeed what happens, I'm not sure I fully
 understood the description).

 Also, emergency retract is a misnomer, the SMART attribute in quesetion
 is actually called Power-off Retract Count. Only Fujitsu (to my
 knowledge) for some reason calles it Emergency Retract Cycle Count. In any
 case it's a bullshit value to base any reliability predictions on, unless
 maybe, MAYBE if it runs into the tens or hundreds of thousands.


 Regards,
 /Benny


 On Sat, 3 Sep 2011, Marco Peereboom wrote:

 Removing power from a running drive won't do anything to it.  Just use
 OpenBSD
 and stop looking at worthless diagnostics tools.

 On Sep 3, 2011, at 15:41, Steve scha...@aei.ca wrote:

 Hi all,

 I've got a strange situation with OpenBSD 4.9 on a new laptop, an Acer
 Aspire 1430 with an Hitachi 500 GB SATA disk, model HTS545050B9A300. When
 shutting down, OpenBSD does not spin down the disk, resulting in an
 emergency
 unload according to Smart terminology. Until I can resolve this
 issue, I've
 uninstalled OpenBSD from it, since smartctl reports in Slackware that
 there
 have been 17 Power-off Retract events so far, which could damage the
 disk in
 the long run. However I would really love to run OpenBSD on my laptop
 for the
 simple reason that I love it so much more than Linux.

 Can anyone suggest what I could do to stop this from happening? I
 found a
 discussion on a FreeBSD mailing list identifying and trying to resolve
 the
 exact same thing through kernel recompilations:



http://freebsd.1045724.n5.nabble.com/Re-Spin-down-HDD-after-disk-sync-or-befo

 re-power-off-td4043068.html

 However, neither using FreeBSD nor patching the OpenBSD kernel would
 be a
 preferred choice for me. I'm sure there must be a simpler solution,
 maybe a
 sysctl setting I'm over-looking...? I've tried both IDE and AHCI modes
 in the
 BIOS with the same results.

 Thanks,

 Steve Schaller


 --
 internetlabbet.se / work:   +46 8 551 124 80  / Words must
 Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
 /   fax:+46 8 551 124 89/not counted.
/email:  benny -at- internetlabbet.se




--
bIf youbre good at something, never do it for free.bB bThe Joker



Re: Laptop hard drive and emergency unload

2011-09-03 Thread Tomas Bodzar
Do you have latest bios? Did you try current snapshot? Where's the
dmesg, pcidump -v, atactl identify and maybe other outputs?

On 9/3/11, Steve scha...@aei.ca wrote:
 Hi all,

 I've got a strange situation with OpenBSD 4.9 on a new laptop, an Acer
 Aspire 1430 with an Hitachi 500 GB SATA disk, model HTS545050B9A300.
 When shutting down, OpenBSD does not spin down the disk, resulting in an
 emergency unload according to Smart terminology. Until I can resolve
 this issue, I've uninstalled OpenBSD from it, since smartctl reports in
 Slackware that there have been 17 Power-off Retract events so far,
 which could damage the disk in the long run. However I would really love
 to run OpenBSD on my laptop for the simple reason that I love it so much
 more than Linux.

 Can anyone suggest what I could do to stop this from happening? I found
 a discussion on a FreeBSD mailing list identifying and trying to resolve
 the exact same thing through kernel recompilations:


http://freebsd.1045724.n5.nabble.com/Re-Spin-down-HDD-after-disk-sync-or-befo
re-power-off-td4043068.html

 However, neither using FreeBSD nor patching the OpenBSD kernel would be
 a preferred choice for me. I'm sure there must be a simpler solution,
 maybe a sysctl setting I'm over-looking...? I've tried both IDE and AHCI
 modes in the BIOS with the same results.

 Thanks,

 Steve Schaller




--
bIf youbre good at something, never do it for free.bB bThe Joker



<    1   2   3   4   5   6   7   >