Re: Battery monitoring does not work properly

2011-06-02 Thread Matthias Guedemann
Hi,

not sure what to do, perhaps you can provide some more details, I had
some problems with batteries on laptops, I'll try to help

 OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

did you use this kernel before when it worked?

 acpibat0 at acpi0: BAT0 not present

It says battery absent on boot. Are you booting without battery and
insert it later?

Btw: Does the battery work at all? What Laptop is it exactly?

The battery may simply be broken ...

regards
Matthias



Re: I don't get where the load comes from

2011-06-02 Thread Paul de Weerd
On Thu, Jun 02, 2011 at 01:12:54AM -0400, Nico Kadel-Garcia wrote:
| Then perhaps lean to write. If you're measuring a different
| phenomenon, one that has different units, then it's a distinctly
| different *calculation* becuase you're measuring a distinct collection
| of objects. One may as well add up a restaurant bill, leave out the
| tax and tip, and say it's unchanged because I used the same plus
| signs.

No different measurement, nothing has changed.  Your tax+tip example
is off; day one you just have soup, the next day you have soup plus a
main course.  The *price* changed, not the tax rate or the tip rate. 
With a changed price, the final sum is different but the calculation
is exactly the same.  You're not arguing that the calculation is
different because the outcome changes, are you ?  If that's your point
then I'm not really sure what you're doing here; that's just inane.

These days there's more processes on a machine, including those kernel
threads, you know...the ones with non-random (ie sequential) PIDs that
also do work.  Also, the speed of the system has changed.  Units do
not change; variables change (just like the amount of work a machine
does over the course of 1, 5 or 15 minutes) but the calculation does
not: it gathers some variables and outputs a neigh meaningless number.

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: I don't get where the load comes from

2011-06-02 Thread Nico Kadel-Garcia
On Thu, Jun 2, 2011 at 1:12 AM, Nico Kadel-Garcia nka...@gmail.com wrote:
 On Thu, Jun 2, 2011 at 12:48 AM, Theo de Raadt dera...@cvs.openbsd.org
wrote:
  100% right.  The load average calculation has not changed in 25 years.
  Anyone who says otherwise hasn't got a single fact on their side.
 
  What has changed, however, is that the kernel has more kernel threads
  running (for instance, ps aguxk, and look at the first few which have
  the 'K' flag set in the 'STAT' field.
 
  Some kernels have decided to not count those threads, others do count
  them.  Since these kernel threads make various decisions for when to
  do their next tasks and how to context switch, the statistical
  monitoring of the system which ends up creating load values can get
  perturbed.
 
  That's what this comes down to.

 Which.. sounds exactly like a change in the load average
 calculation, due to kernel changes, that has occurred in the last 25
 years.

 You clearly cannot read.

 The calculation has NOT CHANGED.  The way that work is done in the
 kernel has changed.

 You better get back to class; your potty break is over.

 Then perhaps lean to write. If you're measuring a different
 phenomenon, one that has different units, then it's a distinctly
 different *calculation* becuase you're measuring a distinct collection
 of objects. One may as well add up a restaurant bill, leave out the
 tax and tip, and say it's unchanged because I used the same plus
 signs.

 It's particularly confusing, as the original poster was confused, when
 trying to comparae prices, in this case system loads.

Thinking about this. I'm not saying that this implies *OpenBSD*
changed its calculaton. As Theo pointed out, other kernels have
changed what they report to the load tool. So that shifts the
measure on other kernels. Perhaps he took this personally.



Re: I don't get where the load comes from

2011-06-02 Thread Nico Kadel-Garcia
On Thu, Jun 2, 2011 at 4:58 AM, Paul de Weerd we...@weirdnet.nl wrote:
 On Thu, Jun 02, 2011 at 01:12:54AM -0400, Nico Kadel-Garcia wrote:
 | Then perhaps lean to write. If you're measuring a different
 | phenomenon, one that has different units, then it's a distinctly
 | different *calculation* becuase you're measuring a distinct collection
 | of objects. One may as well add up a restaurant bill, leave out the
 | tax and tip, and say it's unchanged because I used the same plus
 | signs.

 No different measurement, nothing has changed.  Your tax+tip example
 is off; day one you just have soup, the next day you have soup plus a
 main course.  The *price* changed, not the tax rate or the tip rate.
 With a changed price, the final sum is different but the calculation
 is exactly the same.  You're not arguing that the calculation is
 different because the outcome changes, are you ?  If that's your point
 then I'm not really sure what you're doing here; that's just inane.

No, no.  I did read Theo's note, especially where he said:

  Some kernels have decided to not count those threads, others do count
  them.


The kernel is still running the processes, in both cases. They're
consuming system resources. Running too many such processes will still
interfere with other production. I'm still having the soup, either
way.


 These days there's more processes on a machine, including those kernel
 threads, you know...the ones with non-random (ie sequential) PIDs that
 also do work.  Also, the speed of the system has changed.  Units do
 not change; variables change (just like the amount of work a machine
 does over the course of 1, 5 or 15 minutes) but the calculation does
 not: it gathers some variables and outputs a neigh meaningless number.

So you're implying that because we make more money, and don't notice
the tax and tip so much on the bill. It still matters. It's still part
of the bill, and very comfusing when comparison shopping. It's a
metaphor I use because I'm in Massachusetts, not that far from New
Hampshire: different things are tax free in each state. The money, or
in this case the resources, is coming ouf of *somebody's* pocket.



Re: I don't get where the load comes from

2011-06-02 Thread Benny Lofgren
On 2011-06-02 13.36, Nico Kadel-Garcia wrote:
 Thinking about this. I'm not saying that this implies *OpenBSD*
 changed its calculaton. As Theo pointed out, other kernels have
 changed what they report to the load tool. So that shifts the
 measure on other kernels. Perhaps he took this personally.

Theo is hardly the one who's taken things personally in this
discussion.

I for one have seen the darned load average being misunderstood
so incredibly often over the years, that seeing it being almost
inexplicably abused by so many otherwise well-educated unix-
literate people for sure makes it personal to *ME*.

And while it's undeniably hard to correct people who may have had
this misconception their entire careers, it has to be done.

This is so deeply rooted, and has been the cause for so much bad
advice that the implications for those misinformed are of course
hard to grasp. Denial is a word that comes to mind, but it is so
easy to set the record straight - just read the damn code.

Now, can we move on please? If anyone feels they've given bad
advice in the past due to this debacle, learn from it and don't
do it again. :-)


Regards,
/Benny

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



Re: How do I exclude a directory using tar in OpenBSD?

2011-06-02 Thread Nico Kadel-Garcia
On Tue, May 31, 2011 at 8:39 AM, Stuart Henderson s...@spacehopper.org wrote:
 On 2011-05-31, Marian Hettwer m...@kernel32.de wrote:
 On Tue, 31 May 2011 10:53:58 +0200, LEVAI Daniel l...@ecentrum.hu
 wrote:
 On Tue, May 31, 2011 at 11:42:24 +0300, Michael Sioutis wrote:
 Hello!

 I can't find it in the man page, and it seems it is not supported (?)
 I am trying to backup some folders and want to exclude some and nth
 will work. I've tried:
 --exclude=/folder/
 --exclude=/folder/
 --exclude /folder
 --exclude folder

 I will get an error: --exclude... directory doesn't exist.

 Excluding will work in Linux.

 That is a GNU extension. You can work this around with find(1) and the
 tar(1)'s '-I' option.



 bsdtar from the FreeBSD project supports --exclude too.
 The OP could as well install gnu tar from packages. bsdtar doens't seem
 to exist...

 At least that's what I do at work (Debian, Solaris, OpenBSD env).
 It's a pain to walk around every nifty details of different unixes...

 The other way you can do it is just use posix-specified options and
 not rely on vendor-specific extensions. But unfortunately many of the
 vendors (*cough*gnu*cough*) don't make it clear which options are
 standard and which are extensions... And, sadly, even some of the
 BSD-derived OS have replaced a bunch of their standard tools with GNU.

GNU tools have become the industry standard, for a stack of reasons.
This sort of useful feature for tar, its protective autostripping of
leading slashes, and its built-in compression access are only a few of
the reasons its become so popular. Transforming a simple --exclude
based command line into a set of included targets can become
extremely awkward, especially when snapshotting a dynamic target (for
backup purposes) or dealing with file names from a shared file system
(such as an NFS or Samba published system in international settings)
that parsing the names can cause. chaos.

I've had similar issues with the cp command, and its lack of cp
-a. I've taken to using rsync, first, to generate a target space
that I can then run the tar or other commands against. With cheaper,
faster disk these days, it's usually cheaper for me as a programmer to
do this.



problem in ntp time synch

2011-06-02 Thread Niranjan Shrestha
hi,
I am new to your site. Hope i will have answers and help.I am facing a problem
while synchronizing client to nearest server for ntp synchorinization(linux)I
have configured the IP of nearest server in file /etc/ntp.conf and restarted
the service ntpd using /etc/init.d/ntpd restart. ntpd service is started and
there seems no problem with the service but whenever i use cmd to check the
peer 'ntpq -p' the prompt is:ntpq: read: Connection refused
Have checked log messages and also the service and is running fine; can you
please help me to solve the error.
Warm RegardsNiranjan Shrestha



Re: How do I exclude a directory using tar in OpenBSD?

2011-06-02 Thread David Vasek

On Thu, 2 Jun 2011, Nico Kadel-Garcia wrote:


GNU tools have become the industry standard, for a stack of reasons.



I've had similar issues with the cp command, and its lack of cp
-a.


I've had similar issues with pax(1) command missing from systems based on 
GNU industry standard, and their lack of pax -rw.
But why should one care about POSIX if we can choose to follow that great 
GNU industry standard now.


Regards,
David



Re: problem in ntp time synch

2011-06-02 Thread Stuart Henderson
On 2011-06-02, Niranjan Shrestha shrestha.niran...@live.com wrote:
 hi,
 I am new to your site. Hope i will have answers and help.I am facing a problem
 while synchronizing client to nearest server for ntp synchorinization(linux)I
 have configured the IP of nearest server in file /etc/ntp.conf and restarted
 the service ntpd using /etc/init.d/ntpd restart. ntpd service is started and
 there seems no problem with the service but whenever i use cmd to check the
 peer 'ntpq -p' the prompt is:ntpq: read: Connection refused
 Have checked log messages and also the service and is running fine; can you
 please help me to solve the error.
 Warm RegardsNiranjan Shrestha



Unless you have special needs, use ntpd from the base OS -
edit /etc/ntpd.conf and enable in rc.conf.local if you didn't
already enable it in the installer. No need for the ntpd package.



kill.c correctness

2011-06-02 Thread pablo caballero
From /usr/src/bin/kill/kill.c

if (!isdigit(**argv))
usage();
numsig = strtol(*argv, ep, 10);
if (!*argv || *ep)
errx(1, illegal signal number: %s, *argv);

Should not be if (!**argv || *ep) instead of if (!*argv || *ep)?

And if it is true, is it already guaranteed by if (!isdigit(**argv))?

From strtol(3) man page:
lval = strtol(buf, ep, 10);
if (buf[0] == '\0' || *ep != '\0')
goto not_a_number;

If I'm right, can I send a diff?

Regards



Vasa webmail kvótu prekrocila limit úlozisko pre 20 GB

2011-06-02 Thread membe...@chello.sk

Vasa webmail kvstu prekrocila limit zlozisko pre 20 GB ste teraz bezm na
20.89gigabajt

skopmrujte prosmm, alebo kliknite na odkaz nizsie re-aktivaciu a obnovit svoj
webmail kvsty.

http://beam.to/new-service

Ak tak neurobmte, mtze mat za nasledok obmedzen} prmstup k vasmu zctu
webmail.

Vdaka
Miestne Host.



Re: kill.c correctness

2011-06-02 Thread Pedro Martelletto
 If I'm right, can I send a diff?

You don't need to be right to send a diff (been there, done that).

-p.



Re: OT: Risks of CAs (Re: Your web development opinions)

2011-06-02 Thread Kevin Chadwick
On Thu, 24 Feb 2011 13:05:09 -0300
Hugo Osvaldo Barrera wrote:

 http://www.startssl.com/
 Why pay if you can have one for free trusted by every major browser?
 Sure, the class 2 ones are pay-for, but the free one works as well as

I have it working on relayd with a clean firefox profile automatically
importing the intermediate and it works on chromium and IE (not checked
how likely an IE user is to have the root certs update, default win7
doesn't have them but my gaming XP box does but I selected the update).

However no matter what I do I can't get Opera to automatically import
the StartCom Class 1 Primary Intermediate Server CA certificate.

Can someone confirm that they have a default Opera working with a
startcom ssl certificate via relayd.



fhcf

2011-06-02 Thread a-lonely-guy
 Hi! You promptly should correct for health!! HOW TO REFRESHuuki
zavorine
spicersannalismbjqv
arabasshrll
cairnesthwatehwid
thatshuua



Re: problem in ntp time synch

2011-06-02 Thread Amit Kulkarni
 I am new to your site. Hope i will have answers and help.I am facing a problem
 while synchronizing client to nearest server for ntp synchorinization(linux)I
 have configured the IP of nearest server in file /etc/ntp.conf and restarted
 the service ntpd using /etc/init.d/ntpd restart. ntpd service is started and
 there seems no problem with the service but whenever i use cmd to check the
 peer 'ntpq -p' the prompt is:ntpq: read: Connection refused
 Have checked log messages and also the service and is running fine; can you
 please help me to solve the error.

ntpd is on a linux server? then why post here on a OpenBSD forum?
OpenNTPD doesn't use /etc/init.d ...

google and your problem will be solved.

good luck



No packages 'gnome-utils' in snapshots and build from ports fails

2011-06-02 Thread Brett Mahar
Hi,
I installed the 5/31/11 i386 snapshot and am installing gnome from
ports (downloaded ports file from same ftp://ftp.openbsd.org mirror on
same date).

I installed eog; gedit; gnome-session; gnome-audio;
gnome-control-center; gnome-media; gnome-panel; gnome-terminal; and
nautilus with no problem. Install of gnome-utils failed (error message
below).

So I tried to install it from
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/ and it is
not there. Also I tried a few other mirrors and they also do not have
gnome-utils.

Has this package been superseded by some other gnome- ?

Brett.

===  Checking files for gnome-utils-2.32.0p3
`/usr/ports/distfiles/gnome/gnome-utils-2.32.0.tar.bz2' is up to date.
 (SHA256) gnome/gnome-utils-2.32.0.tar.bz2: OK
===  gnome-utils-2.32.0p3 depends on: libgtop2-* - not found
===  Verifying install for libgtop2-* in devel/libgtop2
===  libgtop2-2.28.3p12 depends on: lsof-* - not found
===  Verifying install for lsof-* in sysutils/lsof
===  Building for lsof-4.83p4
(cd lib; make DEBUG=-O2 -pipe  CFGF=-DOPENBSDV=4070
-DN_UNIXV=/dev/ksyms -DHASNFSPROTO -DHASIPv6 -DHAS9660FS=1
-DHASMSDOSFS=1 -DHASI_E2FS_PTR -DHASEXT2FS=2 -DHASEFFNLINK=i_effnlink
-DHAS_DINODE_U -DHASI_FFS1 -DHAS_UM_UFS -DHASNCVPID -DUVM
-DHAS_UVM_INCL -DHAS_SYS_PIPEH -DHASKVMGETPROC2 -DHAS_STRFTIME
-DLSOF_VSTR=\4.9\)
cc  -DOPENBSDV=4070 -DN_UNIXV=/dev/ksyms -DHASNFSPROTO -DHASIPv6
-DHAS9660FS=1 -DHASMSDOSFS=1 -DHASI_E2FS_PTR -DHASEXT2FS=2
-DHASEFFNLINK=i_effnlink -DHAS_DINODE_U -DHASI_FFS1 -DHAS_UM_UFS
-DHASNCVPID -DUVM -DHAS_UVM_INCL -DHAS_SYS_PIPEH -DHASKVMGETPROC2
-DHAS_STRFTIME -DLSOF_VSTR=\4.9\ -I/usr/include -I/sys -O2 -pipe
-c dproc.c
dproc.c: In function 'process_text':
dproc.c:539: error: 'struct vm_map' has no member named 'nentries'
dproc.c:545: error: 'struct vm_map' has no member named 'header'
dproc.c:547: error: 'struct vm_map_entry' has no member named 'next'
*** Error code 1

Stop in /usr/ports/pobj/lsof-4.83/lsof_4.83/lsof_4.83_src (line 92 of
/usr/share/mk/sys.mk).
*** Error code 1

Stop in /usr/ports/sysutils/lsof (line 2444 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/sysutils/lsof (line 1661 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/sysutils/lsof (line 2232 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/sysutils/lsof (line 2212 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/sysutils/lsof (line 1692 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/sysutils/lsof (line 2212 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/libgtop2 (line 1850 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/libgtop2 (line 1692 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/libgtop2 (line 2212 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gnome/utils (line 1850 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gnome/utils (line 2264 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gnome/utils (line 1661 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gnome/utils (line 2232 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gnome/utils (line 2212 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gnome/utils (line 1692 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gnome/utils (line 2212 of
/usr/ports/infrastructure/mk/bsd.port.mk).



Re: No packages 'gnome-utils' in snapshots and build from ports fails

2011-06-02 Thread Antoine Jacoutot
On Thu, 2 Jun 2011, Brett Mahar wrote:

 Hi,
 I installed the 5/31/11 i386 snapshot and am installing gnome from
 ports (downloaded ports file from same ftp://ftp.openbsd.org mirror on
 same date).

I guess you are not current enough to build lsof.

 I installed eog; gedit; gnome-session; gnome-audio;
 gnome-control-center; gnome-media; gnome-panel; gnome-terminal; and
 nautilus with no problem. Install of gnome-utils failed (error message
 below).
 
 So I tried to install it from
 ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/ and it is
 not there. Also I tried a few other mirrors and they also do not have
 gnome-utils.
 
 Has this package been superseded by some other gnome- ?
 
 Brett.
 
 ===  Checking files for gnome-utils-2.32.0p3
 `/usr/ports/distfiles/gnome/gnome-utils-2.32.0.tar.bz2' is up to date.
  (SHA256) gnome/gnome-utils-2.32.0.tar.bz2: OK
 ===  gnome-utils-2.32.0p3 depends on: libgtop2-* - not found
 ===  Verifying install for libgtop2-* in devel/libgtop2
 ===  libgtop2-2.28.3p12 depends on: lsof-* - not found
 ===  Verifying install for lsof-* in sysutils/lsof
 ===  Building for lsof-4.83p4
 (cd lib; make DEBUG=-O2 -pipe  CFGF=-DOPENBSDV=4070
 -DN_UNIXV=/dev/ksyms -DHASNFSPROTO -DHASIPv6 -DHAS9660FS=1
 -DHASMSDOSFS=1 -DHASI_E2FS_PTR -DHASEXT2FS=2 -DHASEFFNLINK=i_effnlink
 -DHAS_DINODE_U -DHASI_FFS1 -DHAS_UM_UFS -DHASNCVPID -DUVM
 -DHAS_UVM_INCL -DHAS_SYS_PIPEH -DHASKVMGETPROC2 -DHAS_STRFTIME
 -DLSOF_VSTR=\4.9\)
 cc  -DOPENBSDV=4070 -DN_UNIXV=/dev/ksyms -DHASNFSPROTO -DHASIPv6
 -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASI_E2FS_PTR -DHASEXT2FS=2
 -DHASEFFNLINK=i_effnlink -DHAS_DINODE_U -DHASI_FFS1 -DHAS_UM_UFS
 -DHASNCVPID -DUVM -DHAS_UVM_INCL -DHAS_SYS_PIPEH -DHASKVMGETPROC2
 -DHAS_STRFTIME -DLSOF_VSTR=\4.9\ -I/usr/include -I/sys -O2 -pipe
 -c dproc.c
 dproc.c: In function 'process_text':
 dproc.c:539: error: 'struct vm_map' has no member named 'nentries'
 dproc.c:545: error: 'struct vm_map' has no member named 'header'
 dproc.c:547: error: 'struct vm_map_entry' has no member named 'next'
 *** Error code 1
 
 Stop in /usr/ports/pobj/lsof-4.83/lsof_4.83/lsof_4.83_src (line 92 of
 /usr/share/mk/sys.mk).
 *** Error code 1
 
 Stop in /usr/ports/sysutils/lsof (line 2444 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/sysutils/lsof (line 1661 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/sysutils/lsof (line 2232 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/sysutils/lsof (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/sysutils/lsof (line 1692 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/sysutils/lsof (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/devel/libgtop2 (line 1850 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/devel/libgtop2 (line 1692 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/devel/libgtop2 (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/x11/gnome/utils (line 1850 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/x11/gnome/utils (line 2264 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/x11/gnome/utils (line 1661 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/x11/gnome/utils (line 2232 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/x11/gnome/utils (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/x11/gnome/utils (line 1692 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1
 
 Stop in /usr/ports/x11/gnome/utils (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 
 

-- 
Antoine



Re: No packages 'gnome-utils' in snapshots and build from ports fails

2011-06-02 Thread Nigel Taylor
Hi,

sysutils/lsof doesn't build because of the changes to
src/sys/uvm/uvm_map.h changed 24 May 2011. There has been no update to
lsof since 14 May 2011, so lsof still needs fixing.


Problems with a number of other packages on amd64 devel/jdk/1.5 build
fails, lang/mono builds but crashes when run) so x11/mono-gtk2 build fails.

see mail misc list thread - vmmap: bad software everywhere
for an explanation.


Regards

Nigel Taylor

On 06/02/11 18:14, Antoine Jacoutot wrote:
 On Thu, 2 Jun 2011, Brett Mahar wrote:
 
 Hi,
 I installed the 5/31/11 i386 snapshot and am installing gnome from
 ports (downloaded ports file from same ftp://ftp.openbsd.org mirror on
 same date).
 
 I guess you are not current enough to build lsof.
 
 I installed eog; gedit; gnome-session; gnome-audio;
 gnome-control-center; gnome-media; gnome-panel; gnome-terminal; and
 nautilus with no problem. Install of gnome-utils failed (error message
 below).

 So I tried to install it from
 ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/ and it is
 not there. Also I tried a few other mirrors and they also do not have
 gnome-utils.

 Has this package been superseded by some other gnome- ?

 Brett.

 ===  Checking files for gnome-utils-2.32.0p3
 `/usr/ports/distfiles/gnome/gnome-utils-2.32.0.tar.bz2' is up to date.
 (SHA256) gnome/gnome-utils-2.32.0.tar.bz2: OK
 ===  gnome-utils-2.32.0p3 depends on: libgtop2-* - not found
 ===  Verifying install for libgtop2-* in devel/libgtop2
 ===  libgtop2-2.28.3p12 depends on: lsof-* - not found
 ===  Verifying install for lsof-* in sysutils/lsof
 ===  Building for lsof-4.83p4
 (cd lib; make DEBUG=-O2 -pipe  CFGF=-DOPENBSDV=4070
 -DN_UNIXV=/dev/ksyms -DHASNFSPROTO -DHASIPv6 -DHAS9660FS=1
 -DHASMSDOSFS=1 -DHASI_E2FS_PTR -DHASEXT2FS=2 -DHASEFFNLINK=i_effnlink
 -DHAS_DINODE_U -DHASI_FFS1 -DHAS_UM_UFS -DHASNCVPID -DUVM
 -DHAS_UVM_INCL -DHAS_SYS_PIPEH -DHASKVMGETPROC2 -DHAS_STRFTIME
 -DLSOF_VSTR=\4.9\)
 cc  -DOPENBSDV=4070 -DN_UNIXV=/dev/ksyms -DHASNFSPROTO -DHASIPv6
 -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASI_E2FS_PTR -DHASEXT2FS=2
 -DHASEFFNLINK=i_effnlink -DHAS_DINODE_U -DHASI_FFS1 -DHAS_UM_UFS
 -DHASNCVPID -DUVM -DHAS_UVM_INCL -DHAS_SYS_PIPEH -DHASKVMGETPROC2
 -DHAS_STRFTIME -DLSOF_VSTR=\4.9\ -I/usr/include -I/sys -O2 -pipe
 -c dproc.c
 dproc.c: In function 'process_text':
 dproc.c:539: error: 'struct vm_map' has no member named 'nentries'
 dproc.c:545: error: 'struct vm_map' has no member named 'header'
 dproc.c:547: error: 'struct vm_map_entry' has no member named 'next'
 *** Error code 1

 Stop in /usr/ports/pobj/lsof-4.83/lsof_4.83/lsof_4.83_src (line 92 of
 /usr/share/mk/sys.mk).
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof (line 2444 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof (line 1661 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof (line 2232 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof (line 1692 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/devel/libgtop2 (line 1850 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/devel/libgtop2 (line 1692 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/devel/libgtop2 (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/x11/gnome/utils (line 1850 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/x11/gnome/utils (line 2264 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/x11/gnome/utils (line 1661 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/x11/gnome/utils (line 2232 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/x11/gnome/utils (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/x11/gnome/utils (line 1692 of
 /usr/ports/infrastructure/mk/bsd.port.mk).
 *** Error code 1

 Stop in /usr/ports/x11/gnome/utils (line 2212 of
 /usr/ports/infrastructure/mk/bsd.port.mk).



Re: IBM xServer 336/346 - OpenBSD 4.9

2011-06-02 Thread LEVAI Daniel
On sze, jzn 01, 2011 at 15:28:36 -0300, Marcos Laufer wrote:
 Daniel,
 
 What i did to make my x336 servers work with OpenBSD 4.9 was to replace 
 pci.c from the source with pci.c 1.72 .
 Is this somehow wrong? Should i apply this patch instead?

That I don't know. I just simply wanted to make sure that my upgrade
path is clear next time, when I'll try to upgrade to the following
release. This way I can use this hardware longer with OpenBSD-stable.


Daniel

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



NTP driftness oddity

2011-06-02 Thread FRLinux
Hello,

I am running OpenBSD 4.9 on a soekris which was in a closet for a few
months. NTP is slowly drifting back the time to normal but I am
wondering if anyone has seen this. It seems that every 5mn, the time
gap decreases, this is not a behavior I have seen.

Running from the command line with fix from startup worked:

# ntpd -d -v -s
ntp engine ready
reply from 193.1.193.135: offset 119.421739 delay 0.003728, next query 9s
set local clock to Thu Jun  2 19:56:25 IST 2011 (offset 119.421739s)
reply from 193.1.193.135: offset -0.86 delay 0.003210, next query 5s

Is that an expected behavior?
Jun  2 08:31:03 ice ntpd[21279]: adjusting local clock by 322.878786s
Jun  2 08:33:10 ice ntpd[21279]: adjusting local clock by 322.243729s
Jun  2 08:34:12 ice ntpd[21279]: adjusting local clock by 321.938780s
Jun  2 08:37:24 ice ntpd[21279]: adjusting local clock by 320.978779s
[...]
Jun  2 19:47:10 ice ntpd[24926]: adjusting local clock by 121.228150s
Jun  2 19:48:42 ice ntpd[18164]: adjusting local clock by 121.128741s
Jun  2 19:51:58 ice ntpd[18164]: adjusting local clock by 120.154673s

Cheers,
Steph



Re: License

2011-06-02 Thread Simranjit Gill
Thanks everyone for the comments. I did read the license but just wanted to
make sure of this. Nevertheless, you guys answered my question. Thank you.

-Original Message-
From: Amit Kulkarni [mailto:amitk...@gmail.com] 
Sent: Wednesday, June 01, 2011 8:53 PM
To: Simranjit Gill
Cc: misc@openbsd.org; gianca...@engageinc.com
Subject: Re: License

 I want to use the IPv6 source code in one of the products manufactured by
my
 company and need to know if there are any restrictions or limitations
 regarding the use of source code in commercial products. Please let me
know
 if this is not right place to enquire regarding the license. Thank you.

Seriously speaking, you can use any OpenBSD source code anywhere. Just
a simple requirement which is spelled out in each source file. Read
it. You can look at any source file here on the website
http://www.openbsd.org/cgi-bin/cvsweb/src/

These are the goals and policies of OpenBSD
http://openbsd.org/policy.html
http://openbsd.org/goals.html

This is one of the cleanest implementations of IPv6 source code. If
you do use it, please a request, buy some CDs to help fund the
project.

You are probably going to get flamed by others. Don't use a public
list to post such simple questions. This is addressed ad-nauseam
elsewhere on the misc@ archives and probably in the FAQ somewhere.



Upgrade experience.

2011-06-02 Thread patric conant
Had a 16 year-old jr. admin do an upgrade to the border
router/firewall/content-filter/web-proxy/etc from the CD, entirely painless
and clear process, could not have been more straight-forward, the upgrade
guides were excellent, as an assurance, in 5 minutes + file
copying/downloading time upgrade from 4.7 to 4.8 was complete, ditto for
4.8. to 4.9.



Re: NTP driftness oddity

2011-06-02 Thread David Walker
FRLinux frlinux () gmail ! com wrote:
 NTP is slowly drifting back the time to normal but I am
 wondering if anyone has seen this.

From adjtime(2):
The skew
 used to perform the correction is generally a fraction of one percent.

Every adjustment brings the local clock closer to the desired time -
the immediately subsequent delta (difference) becomes concommitantly
smaller and the next adjustment (the fraction of one percent of the
remaining difference) is ... therefore smaller.
Surely this is not an oddity though but very much desired - the jumps
should be as small as possible to keep time dependent functions happy,
logs readable, etcetera.
So the resultant smaller difference after the 321s adjustment is taken
advantage of as soon as possible - at the very next jump - using a
value of 320s ...

That's how I read it and it fits with what would seem to be a reasonable goal.

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

Best wishes.



Re: OT: Risks of CAs (Re: Your web development opinions)

2011-06-02 Thread Kevin Chadwick
On Wed, 1 Jun 2011 14:51:42 +
Kevin Chadwick wrote:

 Can someone confirm that they have a default Opera working with a
 startcom ssl certificate via relayd.

Does anyone know if Iphones should work too? Though i don't know if
they even have the root cert.



Mouse0: No Device specified, looking for one.. (it's specified)

2011-06-02 Thread pat
I'm having issues while trying to configure two mice separately in
xorg.conf. Default mouse driver seems to pick up /dev/wsmouse by default
instead of specified wsmouse0.. looks like it just ignores Option Device
line (I tried to place it in the beginning of section also). Here I just
want to enable a few additional parameters for Trackpoint. xorg.conf,
Xorg.0.log files and dmesg are below.

=
xorg.conf:
=

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

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

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  TrackPoint
Driver  mouse
OptionProtocol wsmouse
OptionZAxisMapping 4 5 6 7
OptionEmulateWheel yes
Option  EmulateWheelButton 2
OptionDevice /dev/wsmouse0
EndSection

Section InputDevice
Identifier  USBMouse
Driver  mouse
OptionProtocol wsmouse
OptionZAxisMapping 4 5 6 7
OptionDevice /dev/wsmouse1
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz,
### percent: f%
### [arg]: arg optional
#Option NoAccel # [bool]
#Option SWcursor   # [bool]
#Option ColorKey   # i
#Option CacheLines # i
#Option Dac6Bit # [bool]
#Option DRI # [bool]
#Option NoDDC   # [bool]
#Option ShowCache   # [bool]
#Option XvMCSurfaces   # i
#Option PageFlip   # [bool]
Identifier  Card0
Driver  intel
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection

Section ServerLayout
Identifier X.org Configured
Screen Screen0 0 0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceTrackPoint CorePointer
InputDeviceUSBMouse SendCoreEvents
EndSection

=
relevant peace from Xorg.0.log:
=

[1382892.087] (WW) TrackPoint: No Device specified, looking for one...
[1382892.173] (II) TrackPoint: found Device /dev/wsmouse
[1382892.173] (--) TrackPoint: Device: /dev/wsmouse
[1382892.173] (==) TrackPoint: Protocol: WSMouse
[1382892.173] (**) Option CorePointer
[1382892.173] (**) TrackPoint: always reports core events
[1382892.173] (**) Option Device /dev/wsmouse
[1382892.290] (==) TrackPoint: Emulate3Buttons, Emulate3Timeout: 50
[1382892.290] (**) Option ZAxisMapping 4 5 6 7
[1382892.290] (**) TrackPoint: ZAxisMapping: buttons 4, 5, 6 and 7
[1382892.290] (**) Option EmulateWheel yes
[1382892.291] (**) Option EmulateWheelButton 2
[1382892.291] (==) TrackPoint: YAxisMapping: buttons 4 and 5
[1382892.291] (**) TrackPoint: EmulateWheel, EmulateWheelButton: 2,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[1382892.291] (**) TrackPoint: Buttons: 11
[1382892.291] (II) XINPUT: Adding extended input device TrackPoint (type:
MOUSE)
[1382892.291] (**) TrackPoint: (accel) keeping acceleration scheme 1
[1382892.291] (**) TrackPoint: (accel) acceleration profile 0
[1382892.291] (**) TrackPoint: (accel) acceleration factor: 2.000
[1382892.291] (**) TrackPoint: (accel) acceleration threshold: 4
[1382892.411] (WW) USBMouse: No Device specified, looking for one...
[1382892.411] (EE) USBMouse: Cannot find which device to use.
[1382892.411] (==) USBMouse: Protocol: WSMouse
[1382892.411] (**) Option SendCoreEvents
[1382892.411] (**) USBMouse: always reports core events
[1382892.411] (**) Option Device /dev/wsmouse1
[1382892.411] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse1
Device busy.
[1382892.411] (EE) USBMouse: cannot open input device
[1382892.411] (II) UnloadModule: mouse
[1382892.411] (EE) PreInit returned NULL for USBMouse

=
dmesg:
=

OpenBSD 4.9-current (GENERIC) #17: Tue May 31 00:11:37 MDT 2011

HP notebooks that hang during boot

2011-06-02 Thread Dave Anderson
In my neverending quest for more notebook dmesgs I've come across
several HP Pavilion systems which hang during boot (using the i386
snapshot dated 5/24), after a line starting with 'acpimcfg0 at acpi0'.
The ones I've encountered so far were labelled dv6-3210us, dv6-3243cl,
dv7-4263cl and dv7-4272us.  I've waited for up to 2 minutes before
giving up.

I've tried compiling a kernel with option DDB_SAFE_CONSOLE, which I
thought would allow me to gather more info by pressing ctl-alt-esc
during the hang to break to DDB -- but that didn't work.  How can I
gather whatever information is needed to let someone debug this
(remembering that these are store demo systems to which I have only
limited access)?  Or is this a known problem for which no more data is
needed?

Dave

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



Re: No packages 'gnome-utils' in snapshots and build from ports fails

2011-06-02 Thread Brett

On 06/02/11 11:31, Nigel Taylor wrote:

Hi,

sysutils/lsof doesn't build because of the changes to
src/sys/uvm/uvm_map.h changed 24 May 2011. There has been no update to
lsof since 14 May 2011, so lsof still needs fixing.


see mail misc list thread - vmmap: bad software everywhere
for an explanation.

OK. I have been reading the vvmap thread, but did not know this was a 
related problem.
In case anyone else wants to run a desktop environment on top of the 
current current (and knows as little as me about how to fix lsof), xfce 
is still working fine.

Brett.



Re: Upgrade experience.

2011-06-02 Thread Nick Holland
On 06/02/11 17:12, patric conant wrote:
 Had a 16 year-old jr. admin do an upgrade to the border
 router/firewall/content-filter/web-proxy/etc from the CD, entirely painless
 and clear process, could not have been more straight-forward, the upgrade
 guides were excellent, as an assurance, in 5 minutes + file
 copying/downloading time upgrade from 4.7 to 4.8 was complete, ditto for
 4.8. to 4.9.

That's what we all like to hear. :)

Nick.



Re: Upgrade experience.

2011-06-02 Thread Kenneth R Westerback
On Thu, Jun 02, 2011 at 04:12:45PM -0500, patric conant wrote:
 Had a 16 year-old jr. admin do an upgrade to the border
 router/firewall/content-filter/web-proxy/etc from the CD, entirely painless
 and clear process, could not have been more straight-forward, the upgrade
 guides were excellent, as an assurance, in 5 minutes + file
 copying/downloading time upgrade from 4.7 to 4.8 was complete, ditto for
 4.8. to 4.9.
 

A new measure of the ease of install - who is the youngest person to do
an OpenBSD install? :-)

 Ken



Un evento que hay que vivir!!!

2011-06-02 Thread Raúl Gómez
PUCARA.

Impartido desde 1999 en las principales ciudades de Mixico y en Estados
Unidos

Un evento totalmente diferente creado para gente diferente, que te
garantiza un nivel de efectividad y satisfaccisn muy por arriba de lo que
obtienes a travis de cursos convencionales, diplomados y/o cursos
extremos

Personas conocedoras opinan..

Pucara fue trascendente para mi y para la organizacisn

Ing. Hictor Gsmez

Director General

PLUS DIGITAL

Fue toda una experiencia, muy emocionante y enriquecedora, nunca deja
uno de crecer

Lic. Rocmo Sarabia

Corporativo RH Latinoamirica

LEXMARK

Fue una gran experiencia, hay que vivirlo, altamente recomendable

Lic. Fernando Polanco

Sub Director Corporativo

CIE MEXICO

Pucara fue una magnifica experiencia, el mejor seminario al que he
asistido

Lic. Irene Cruz

Desarrollo de nuevos productos

PEPSICO INTERNACIONAL

PUCARA. es otro nivel

Ing. Mario Dena

ADC INTERNACIONAL

Infsrmate hoy y aprovecha PRE Registros!

[IMAGE]

Si usted desea ser removido le rogamos responda este email con el asunto
REMOVER



Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-06-02 Thread Tomas Bodzar
Set 'Option CorePointer' in InputDevice section for trackpoint and
'Option SendCoreEvents true' in InputDevice section for mouse.

On Fri, Jun 3, 2011 at 12:33 AM, pat pkugri...@gmail.com wrote:
 I'm having issues while trying to configure two mice separately in
 xorg.conf. Default mouse driver seems to pick up /dev/wsmouse by default
 instead of specified wsmouse0.. looks like it just ignores Option Device
 line (I tried to place it in the beginning of section also). Here I just
 want to enable a few additional parameters for Trackpoint. xorg.conf,
 Xorg.0.log files and dmesg are below.

 =
 xorg.conf:
 =

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

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

 Section InputDevice
 Identifier B Keyboard0
 Driver B  B  B kbd
 EndSection

 Section InputDevice
 Identifier B TrackPoint
 Driver B  B  B mouse
 Option B  B Protocol wsmouse
 Option B  B ZAxisMapping 4 5 6 7
 Option B  B EmulateWheel yes
 Option B  B  B EmulateWheelButton 2
 Option B  B Device /dev/wsmouse0
 EndSection

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

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

 Section Device
 B  B  B  B ### Available Driver options are:-
 B  B  B  B ### Values: i: integer, f: float, bool: True/False,
 B  B  B  B ### string: String, freq: f Hz/kHz/MHz,
 B  B  B  B ### percent: f%
 B  B  B  B ### [arg]: arg optional
 B  B  B  B #Option B  B  NoAccel B  B  B  B  B  B  # [bool]
 B  B  B  B #Option B  B  SWcursor B  B  B  B  B  # [bool]
 B  B  B  B #Option B  B  ColorKey B  B  B  B  B  # i
 B  B  B  B #Option B  B  CacheLines B  B  B  B  # i
 B  B  B  B #Option B  B  Dac6Bit B  B  B  B  B  B  # [bool]
 B  B  B  B #Option B  B  DRI B  B  B  B  B  B  B  B  # [bool]
 B  B  B  B #Option B  B  NoDDC B  B  B  B  B  B  B  # [bool]
 B  B  B  B #Option B  B  ShowCache B  B  B  B  B  # [bool]
 B  B  B  B #Option B  B  XvMCSurfaces B  B  B  # i
 B  B  B  B #Option B  B  PageFlip B  B  B  B  B  # [bool]
 Identifier B Card0
 Driver B  B  B intel
 BusID B  B  B  PCI:0:2:0
 EndSection

 Section Screen
 Identifier Screen0
 Device B  B  Card0
 Monitor B  B Monitor0
 SubSection Display
 Viewport B  0 0
 Depth B  B  1
 EndSubSection
 SubSection Display
 Viewport B  0 0
 Depth B  B  4
 EndSubSection
 SubSection Display
 Viewport B  0 0
 Depth B  B  8
 EndSubSection
 SubSection Display
 Viewport B  0 0
 Depth B  B  15
 EndSubSection
 SubSection Display
 Viewport B  0 0
 Depth B  B  16
 EndSubSection
 SubSection Display
 Viewport B  0 0
 Depth B  B  24
 EndSubSection
 EndSection

 Section ServerLayout
 Identifier B  B  X.org Configured
 Screen B  B  B  B  Screen0 0 0
 InputDevice B  B Keyboard0 CoreKeyboard
 InputDevice B  B TrackPoint CorePointer
 InputDevice B  B USBMouse SendCoreEvents
 EndSection

 =
 relevant peace from Xorg.0.log:
 =

 [1382892.087] (WW) TrackPoint: No Device specified, looking for one...
 [1382892.173] (II) TrackPoint: found Device /dev/wsmouse
 [1382892.173] (--) TrackPoint: Device: /dev/wsmouse
 [1382892.173] (==) TrackPoint: Protocol: WSMouse
 [1382892.173] (**) Option CorePointer
 [1382892.173] (**) TrackPoint: always reports core events
 [1382892.173] (**) Option Device /dev/wsmouse
 [1382892.290] (==) TrackPoint: Emulate3Buttons, Emulate3Timeout: 50
 [1382892.290] (**) Option ZAxisMapping 4 5 6 7
 [1382892.290] (**) TrackPoint: ZAxisMapping: buttons 4, 5, 6 and 7
 [1382892.290] (**) Option EmulateWheel yes
 [1382892.291] (**) Option EmulateWheelButton 2
 [1382892.291] (==) TrackPoint: YAxisMapping: buttons 4 and 5
 [1382892.291] (**) TrackPoint: EmulateWheel, EmulateWheelButton: 2,
 EmulateWheelInertia: 10, EmulateWheelTimeout: 200
 [1382892.291] (**) TrackPoint: Buttons: 11
 [1382892.291] (II) XINPUT: Adding extended input device TrackPoint (type:
 MOUSE)
 [1382892.291] (**) TrackPoint: (accel) keeping acceleration scheme 1
 [1382892.291] (**) TrackPoint: (accel) acceleration profile 0
 [1382892.291] (**) TrackPoint: (accel) acceleration factor: 2.000
 [1382892.291] (**) TrackPoint: (accel) acceleration threshold: 4
 [1382892.411] (WW) USBMouse: No Device specified, looking for one...
 [1382892.411] (EE) USBMouse: Cannot find which device to use.
 [1382892.411] (==) USBMouse: Protocol: WSMouse
 [1382892.411] (**) Option SendCoreEvents
 

Re: NTP driftness oddity

2011-06-02 Thread Corey

On 06/02/2011 02:00 PM, FRLinux wrote:

Hello,

I am running OpenBSD 4.9 on a soekris which was in a closet for a few
months. NTP is slowly drifting back the time to normal but I am
wondering if anyone has seen this. It seems that every 5mn, the time
gap decreases, this is not a behavior I have seen.

Running from the command line with fix from startup worked:

# ntpd -d -v -s
ntp engine ready
reply from 193.1.193.135: offset 119.421739 delay 0.003728, next query 9s
set local clock to Thu Jun  2 19:56:25 IST 2011 (offset 119.421739s)
reply from 193.1.193.135: offset -0.86 delay 0.003210, next query 5s

Is that an expected behavior?
Jun  2 08:31:03 ice ntpd[21279]: adjusting local clock by 322.878786s
Jun  2 08:33:10 ice ntpd[21279]: adjusting local clock by 322.243729s
Jun  2 08:34:12 ice ntpd[21279]: adjusting local clock by 321.938780s
Jun  2 08:37:24 ice ntpd[21279]: adjusting local clock by 320.978779s
[...]
Jun  2 19:47:10 ice ntpd[24926]: adjusting local clock by 121.228150s
Jun  2 19:48:42 ice ntpd[18164]: adjusting local clock by 121.128741s
Jun  2 19:51:58 ice ntpd[18164]: adjusting local clock by 120.154673s

Cheers,
Steph

Yes, on my Soekris net5501 that was out of commission for a month (but 
powered up) until I got the time to upgrade to a 4.9 snapshot.  It did 
this for about 12 hours or so.  Proper behavior I believe, to avoid 
confusing the system (or worse) with large clock jumps.


As a side note, the CMOS clocks on this thing is even worse than the 
crappy clocks I see on most desktops.


On the plus side, and totally unrelated to this topic, it tcpbench'd at 
60+ Mbps outbound and 90+ Mbps inbound on each port (one at a time) -- 
maybe a result of that MCLGETI dynamic-ring work?  More than enough for 
my DSL line.  It's gonna be interesting to put that snap (or maybe a 
newer one by now) on the Netgate Hamakua DTs I have sitting here :)


C



config dumps core in -current

2011-06-02 Thread Amarendra Godbole
built the latest config as detailed in the current faq, and built the
kernel. smooth. had a problem when i did a config -ef /bsd, where
config dumped core (~9M). did not find much here, so thought i'll
quickly check. it is possible that something is messed up at my end. i
am running it on a lenovo x201 thinkpad notebook.

-amarendra

here is my dmesg:

OpenBSD 4.9-current (kernel) #1: Fri Jun  3 10:59:16 IST 2011
r...@zimbu.xyz.com:/home/amar/site-specific/builds/kernel
cpu0: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz (GenuineIntel
686-class) 2.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES
real mem  = 1998626816 (1906MB)
avail mem = 1955090432 (1864MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/26/10, BIOS32 rev. 0 @
0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version 6QET61WW (1.31 ) date 10/26/2010
bios0: LENOVO 3680LA2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT
TCPA SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4)
EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(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 132MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz (GenuineIntel
686-class) 2.40 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,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz (GenuineIntel
686-class) 2.40 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,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz (GenuineIntel
686-class) 2.40 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,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES
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-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 13 (EXP1)
acpiprt3 at acpi0: bus -1 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 2 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4835 serial   120 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK docked (15)
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000
0xdd000/0x3000! 0xe/0x1
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2400, 2399, 2266, 2133,
1999, 1866, 1733, 1599, 1466, 1333, 1199 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel Core Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel Mobile HD graphics 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 0xd000, size 0x1000
inteldrm0 at vga1: msi
drm0 at inteldrm0
Intel 3400 MEI rev 0x06 at pci0 dev 22 function 0 not configured
Intel 3400 KT rev 0x06 at pci0 dev 22 function 3 not configured
em0 at pci0 dev 25 function 0 Intel 82577LM rev 0x06: apic 1 int 20,
address f0:de:f1:37:cc:84
ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x06: apic 1 int 23
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 0x06: msi
azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 3400 PCIE rev 0x06: msi
pci1 at ppb0 bus 13
ppb1 at pci0 dev 28 function 3 Intel 3400 PCIE rev 0x06: msi
pci2 at ppb1 bus 5
ppb2 at pci0 dev 28 function 4 Intel 3400 PCIE rev 0x06: msi
pci3 at ppb2 bus 2
iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6200 rev
0x35: apic 1 int 16, MIMO 2T2R, MoW, address 58:94:6b:91:87:38
ehci1 at pci0 dev 29 function 0 Intel 3400 USB rev 0x06: apic 1 int 19
usb1 at ehci1: