upgrade of portupgrade

2012-04-23 Thread n dhert
Today, my nightly run of portsnap informed me there is un update for:
# pkg_version -vIL=
 portupgrade-2.4.9.3.2   needs updating (index has 2.4.9.3_1,2)

Since there is no special entry in /usr/ports/UPDATING about the
portupgrade  update,
I started my weekly
# portupgrade -yaRrpb

this gives:
...
---  Upgrade of ports-mgmt/portupgrade started at: Mon, 23 Apr 2012
08:37:14 +0
200
---  Upgrading 'portupgrade-2.4.9.3,2' to 'portupgrade-2.4.9.3_1,2'
(ports-mgmt
/portupgrade)
---  Build of ports-mgmt/portupgrade started at: Mon, 23 Apr 2012 08:37:14
+020
0
---  Building '/usr/ports/ports-mgmt/portupgrade'
===  Cleaning for portupgrade-2.4.9.3_1,2^M
===  License BSD accepted by the user^M
===  Found saved configuration for portupgrade-2.4.6,2^M
===  Extracting for portupgrade-2.4.9.3_1,2^M
= SHA256 Checksum mismatch for pkgtools-2.4.9.3.tar.bz2.^M
===  Refetch for 1 more times files: pkgtools-2.4.9.3.tar.bz2 ^M
===  License BSD accepted by the user^M
===  Found saved configuration for portupgrade-2.4.6,2^M
= pkgtools-2.4.9.3.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles/.^M
= Attempting to fetch
http://heanet.dl.sourceforge.net/project/portupgrade/pkgt
ools/2.4.9.3/pkgtools-2.4.9.3.tar.bz2^M
fetch:
http://heanet.dl.sourceforge.net/project/portupgrade/pkgtools/2.4.9.3/pkg
tools-2.4.9.3.tar.bz2: Moved Temporarily^M
it does 5 more at other places, then
= Attempting to fetch
http://freefr.dl.sourceforge.net/project/portupgrade/pkgt
ools/2.4.9.3/pkgtools-2.4.9.3.tar.bz2^M
fetch: pkgtools-2.4.9.3.tar.bz2: local file (79394 bytes) is longer than
remote
file (79377 bytes)^M
...
then 10 more 'Attempting to fetch' with Moved temporarily
then
= Attempting to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/pkgtool
s-2.4.9.3.tar.bz2^M
===  License BSD accepted by the user^M
===  Found saved configuration for portupgrade-2.4.6,2^M
= SHA256 Checksum mismatch for pkgtools-2.4.9.3.tar.bz2.^M
===  Giving up on fetching files: pkgtools-2.4.9.3.tar.bz2 ^M
Make sure the Makefile and distinfo file
(/usr/ports/ports-mgmt/portupgrade/dist
info)^M
are up to date.  If you are absolutely sure you want to override this^M
check, type make NO_CHECKSUM=yes [other args].^M
*** Error code 1^M
^M
Stop in /usr/ports/ports-mgmt/portupgrade.^M
*** Error code 1^M
^M
Stop in /usr/ports/ports-mgmt/portupgrade.^M
*** Error code 1^M
^M
Stop in /usr/ports/ports-mgmt/portupgrade.^M
---  Build of ports-mgmt/portupgrade ended at: Mon, 23 Apr 2012 08:37:45
+0200
(consumed 00:00:30)
---  Upgrade of ports-mgmt/portupgrade ended at: Mon, 23 Apr 2012 08:37:45
+020
0 (consumed 00:00:30)

What's this problem with  pkgtools ???
I have a
$ ls -la /usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2
-rw-r--r--  1 root  wheel  79394 Aug 23  2011
/usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2
but no 2.4.9.3_1,2  version

And, strange: if I try
http://www.freebsd.org/ports, Search for  pkgtools in All
it finds nothing  ???  Isn't that package described ??

What's going on here and how to solve it ??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: upgrade of portupgrade

2012-04-23 Thread Shane Ambler

On 23/04/2012 17:13, n dhert wrote:

Today, my nightly run of portsnap informed me there is un update
for: # pkg_version -vIL= portupgrade-2.4.9.3.2  needs updating
(index has 2.4.9.3_1,2)



=  SHA256 Checksum mismatch for pkgtools-2.4.9.3.tar.bz2.^M ===
Giving up on fetching files: pkgtools-2.4.9.3.tar.bz2 ^M Make sure
the Makefile and distinfo file
(/usr/ports/ports-mgmt/portupgrade/dist info)^M are up to date.  If
you are absolutely sure you want to override this^M check, type make
NO_CHECKSUM=yes [other args].^M *** Error code 1^M




What's this problem with  pkgtools ??? I have a $ ls -la
/usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2 -rw-r--r--  1 root
wheel  79394 Aug 23  2011
/usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2 but no 2.4.9.3_1,2
version

And, strange: if I try http://www.freebsd.org/ports, Search for
pkgtools in All it finds nothing  ???  Isn't that package described
??

What's going on here and how to solve it ??


The issue would appear to be the recent update was messed up. You are 
getting an error as the distfile you have has a different md5sum than 
what was saved to the port files.


pkgtools is the name of the project, even though the sourceforge project
name and the port name is portupgrade. On github it is pkgtools.

I would guess the port name was chosen to prevent conflicts with pkg_* 
named tools in the base system.


I would wait for the maintainer to sort things out. Currently you can
download a tar.gz from github or a tar.bz from sourceforge both
identified as 2.4.9.3 but there is some file differences between them.

As this is a new maintainer just taken over the port about a week ago
you may want to email them or submit a pr.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mounting from zfs:system/ROOT/nch failed with error 2

2012-04-23 Thread vermaden
 If you move the dataset to a new machine you should also fix
 the zpool.cache on the new machine. Boot it with f.e. mfsbsd
 cd import the pool and copy the zpool.cache file.
 
 Best regards
 Andreas

I have solved it by copying the /boot/zfs/zpool.cache from the
working/running system to the just imported ZFS snapshot, for
example to /mnt/boot/zfs/zpool.cache if You set mountpoint
to /mnt for that dataset, works like a charm ;)

Regards,
vermaden
-- 








































...




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


Lots of lagging after upgrade of xorg.

2012-04-23 Thread Leslie Jensen


Hello list.

I'm experiencing a lot of lagging after I've upgraded xorg. I use XFCE 
and just changing from one desktop to another now feels really slow.


If I click on a button in an application I have to move the mouse 
pointer before there's a reaction to the click.


In a terminal window I also have to move the pointer outside before the 
input from the keyboard is registered.


Maybe it's a mouse problem. Anyway I need some help if it's a setting 
that has to be changed.


My system, 8.2-RELEASE-p6, worked well before the upgrade of xorg.

Thanks

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


Re: Lots of lagging after upgrade of xorg.

2012-04-23 Thread Polytropon
On Mon, 23 Apr 2012 13:57:29 +0200, Leslie Jensen wrote:
 
 Hello list.
 
 I'm experiencing a lot of lagging after I've upgraded xorg. I use XFCE 
 and just changing from one desktop to another now feels really slow.
 
 If I click on a button in an application I have to move the mouse 
 pointer before there's a reaction to the click.
 
 In a terminal window I also have to move the pointer outside before the 
 input from the keyboard is registered.
 
 Maybe it's a mouse problem. Anyway I need some help if it's a setting 
 that has to be changed.
 
 My system, 8.2-RELEASE-p6, worked well before the upgrade of xorg.

Did you done any changes to the possible HAL settings (with
or without - needs to be set at compile time, and maybe xorg.conf
with some options)?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Lots of lagging after upgrade of xorg.

2012-04-23 Thread Leslie Jensen



2012-04-23 14:13, Polytropon skrev:

On Mon, 23 Apr 2012 13:57:29 +0200, Leslie Jensen wrote:


Hello list.

I'm experiencing a lot of lagging after I've upgraded xorg. I use XFCE
and just changing from one desktop to another now feels really slow.

If I click on a button in an application I have to move the mouse
pointer before there's a reaction to the click.

In a terminal window I also have to move the pointer outside before the
input from the keyboard is registered.

Maybe it's a mouse problem. Anyway I need some help if it's a setting
that has to be changed.

My system, 8.2-RELEASE-p6, worked well before the upgrade of xorg.


Did you done any changes to the possible HAL settings (with
or without - needs to be set at compile time, and maybe xorg.conf
with some options)?



No Sir.

No changes what so ever. Just upgrading.

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


Re: Lots of lagging after upgrade of xorg.

2012-04-23 Thread Eduardo Morras

At 13:57 23/04/2012, you wrote:


Hello list.

I'm experiencing a lot of lagging after I've upgraded xorg. I use 
XFCE and just changing from one desktop to another now feels really slow.


If I click on a button in an application I have to move the mouse 
pointer before there's a reaction to the click.


In a terminal window I also have to move the pointer outside before 
the input from the keyboard is registered.


Maybe it's a mouse problem. Anyway I need some help if it's a 
setting that has to be changed.


My system, 8.2-RELEASE-p6, worked well before the upgrade of xorg.

Thanks


Have you reinstalled the graphic card drivers?


/Leslie



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


Re: Lots of lagging after upgrade of xorg.

2012-04-23 Thread Leslie Jensen



2012-04-23 15:29, Eduardo Morras skrev:

At 13:57 23/04/2012, you wrote:


Hello list.

I'm experiencing a lot of lagging after I've upgraded xorg. I use XFCE
and just changing from one desktop to another now feels really slow.

If I click on a button in an application I have to move the mouse
pointer before there's a reaction to the click.

In a terminal window I also have to move the pointer outside before
the input from the keyboard is registered.

Maybe it's a mouse problem. Anyway I need some help if it's a setting
that has to be changed.

My system, 8.2-RELEASE-p6, worked well before the upgrade of xorg.

Thanks


Have you reinstalled the graphic card drivers?


/Leslie



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


I'm using the built in nv driver.

/Leslie



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


Re: Lots of lagging after upgrade of xorg.

2012-04-23 Thread Warren Block

On Mon, 23 Apr 2012, Leslie Jensen wrote:



Hello list.

I'm experiencing a lot of lagging after I've upgraded xorg. I use XFCE and 
just changing from one desktop to another now feels really slow.


If I click on a button in an application I have to move the mouse pointer 
before there's a reaction to the click.


In a terminal window I also have to move the pointer outside before the input 
from the keyboard is registered.


That is often a symptom of setting Option AllowEmptyInput Off.

If you have AEI settings in xorg.conf, remove them.  Use Option 
AutoAddDevices Off to disable HAL input device detection.

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


Re: Lots of lagging after upgrade of xorg.

2012-04-23 Thread Leslie Jensen



2012-04-23 18:29, Warren Block skrev:

On Mon, 23 Apr 2012, Leslie Jensen wrote:



Hello list.

I'm experiencing a lot of lagging after I've upgraded xorg. I use XFCE
and just changing from one desktop to another now feels really slow.

If I click on a button in an application I have to move the mouse
pointer before there's a reaction to the click.

In a terminal window I also have to move the pointer outside before
the input from the keyboard is registered.


That is often a symptom of setting Option AllowEmptyInput Off.

If you have AEI settings in xorg.conf, remove them. Use Option
AutoAddDevices Off to disable HAL input device detection.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org



Thank you Warren.

I found the page where you explain this in great detail a little while 
before I got you reply.


I'll have to reconfigure my Swedish keyboard because the mapping 
disappeared in the process.


I'll post the link to your page for reference to others that might 
experience the same problem.


http://www.wonkity.com/~wblock/docs/html/aei.html

/Leslie

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


ntpd problems after port updates

2012-04-23 Thread Dean E. Weimer
I am running NTPD built from ports on system that has had world rebuilt 
without ntp.  After doing some port updates this morning to the latest 
OpenSSL which caused ntp to rebuild as its built against the OpenSSL 
port.  ntpd now core dumps at start, in order to attempt and resolve the 
issue I tried starting ntpd with the -d switch added, at which point it 
loads fine without any problems.


NTP options set in rc.conf
# Enable NTP Daemon
ntpd_enable=YES
ntpd_flags=-p /var/run/ntpd.pid
ntpd_program=/usr/local/bin/ntpd

Only option checked when doing make config on the port is the with 
OpenSSL option.


if I execute: /usr/local/bin/ntpd -p /var/run/ntpd.pid
The result is a signal 11 core dump.

if I execute: /usr/local/bin/ntpd -d -p /var/run/ntpd.pid
The result is a successful launch, but of course it doesn't detach from 
the terminal and it start showing debugging logs on the terminal.


Anyone have any clue how I can determine what's causing it to crash 
when started without the -d?


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpd problems after port updates

2012-04-23 Thread Chuck Swiger
On Apr 23, 2012, at 11:13 AM, Dean E. Weimer wrote:
 I am running NTPD built from ports on system that has had world rebuilt 
 without ntp.  After doing some port updates this morning to the latest 
 OpenSSL which caused ntp to rebuild as its built against the OpenSSL port.  
 ntpd now core dumps at start, in order to attempt and resolve the issue I 
 tried starting ntpd with the -d switch added, at which point it loads fine 
 without any problems.

If you run 'ldd /usr/local/bin/ntpd', that might be informative.

 Only option checked when doing make config on the port is the with OpenSSL 
 option.

Consider not doing this-- OpenSSL has a much worse security history than ntpd 
itself does.  In particular, the ASN.1 parser is infamous for trouble, such as 
CVE-2012-2110.

 if I execute: /usr/local/bin/ntpd -p /var/run/ntpd.pid
 The result is a signal 11 core dump.

Run gdb against ntpd and the coredump you've gotten to see the crash backtrace. 
 Or run ntpd under gdb.

Regards,
-- 
-Chuck

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


Re: upgrade of portupgrade

2012-04-23 Thread Michael Powell
n dhert wrote:

 Today, my nightly run of portsnap informed me there is un update for:
 # pkg_version -vIL=
  portupgrade-2.4.9.3.2   needs updating (index has 2.4.9.3_1,2)
 
 Since there is no special entry in /usr/ports/UPDATING about the
 portupgrade  update,
 I started my weekly
 # portupgrade -yaRrpb
 
 this gives:
 ...
 ---  Upgrade of ports-mgmt/portupgrade started at: Mon, 23 Apr 2012
 08:37:14 +0
 200
 ---  Upgrading 'portupgrade-2.4.9.3,2' to 'portupgrade-2.4.9.3_1,2'
 (ports-mgmt
 /portupgrade)
 ---  Build of ports-mgmt/portupgrade started at: Mon, 23 Apr 2012
 08:37:14 +020
 0
 ---  Building '/usr/ports/ports-mgmt/portupgrade'
 ===  Cleaning for portupgrade-2.4.9.3_1,2^M
 ===  License BSD accepted by the user^M
 ===  Found saved configuration for portupgrade-2.4.6,2^M
 ===  Extracting for portupgrade-2.4.9.3_1,2^M
 = SHA256 Checksum mismatch for pkgtools-2.4.9.3.tar.bz2.^M
 ===  Refetch for 1 more times files: pkgtools-2.4.9.3.tar.bz2 ^M
 ===  License BSD accepted by the user^M
 ===  Found saved configuration for portupgrade-2.4.6,2^M
 = pkgtools-2.4.9.3.tar.bz2 doesn't seem to exist in
 /usr/ports/distfiles/.^M
 = Attempting to fetch
 http://heanet.dl.sourceforge.net/project/portupgrade/pkgt
 ools/2.4.9.3/pkgtools-2.4.9.3.tar.bz2^M
 fetch:
 http://heanet.dl.sourceforge.net/project/portupgrade/pkgtools/2.4.9.3/pkg
 tools-2.4.9.3.tar.bz2: Moved Temporarily^M
 it does 5 more at other places, then
 = Attempting to fetch
 http://freefr.dl.sourceforge.net/project/portupgrade/pkgt
 ools/2.4.9.3/pkgtools-2.4.9.3.tar.bz2^M
 fetch: pkgtools-2.4.9.3.tar.bz2: local file (79394 bytes) is longer than
 remote
 file (79377 bytes)^M
 ...
 then 10 more 'Attempting to fetch' with Moved temporarily
 then
 = Attempting to fetch
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/pkgtool
 s-2.4.9.3.tar.bz2^M
 ===  License BSD accepted by the user^M
 ===  Found saved configuration for portupgrade-2.4.6,2^M
 = SHA256 Checksum mismatch for pkgtools-2.4.9.3.tar.bz2.^M
 ===  Giving up on fetching files: pkgtools-2.4.9.3.tar.bz2 ^M
 Make sure the Makefile and distinfo file
 (/usr/ports/ports-mgmt/portupgrade/dist
 info)^M
 are up to date.  If you are absolutely sure you want to override this^M
 check, type make NO_CHECKSUM=yes [other args].^M
 *** Error code 1^M
 ^M
 Stop in /usr/ports/ports-mgmt/portupgrade.^M
 *** Error code 1^M
 ^M
 Stop in /usr/ports/ports-mgmt/portupgrade.^M
 *** Error code 1^M
 ^M
 Stop in /usr/ports/ports-mgmt/portupgrade.^M
 ---  Build of ports-mgmt/portupgrade ended at: Mon, 23 Apr 2012 08:37:45
 +0200
 (consumed 00:00:30)
 ---  Upgrade of ports-mgmt/portupgrade ended at: Mon, 23 Apr 2012
 08:37:45 +020
 0 (consumed 00:00:30)
 
 What's this problem with  pkgtools ???
 I have a
 $ ls -la /usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2
 -rw-r--r--  1 root  wheel  79394 Aug 23  2011
 /usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2
 but no 2.4.9.3_1,2  version
 
 And, strange: if I try
 http://www.freebsd.org/ports, Search for  pkgtools in All
 it finds nothing  ???  Isn't that package described ??

Search for portupgrade instead.
 
 What's going on here and how to solve it ??

I just did this upgrade utilizing portupgrade 2 days ago - 04/20/12 03:34 
and did not experience any trouble. However, I noticed the name of the file 
that was downloaded here was: pkgtools-pkgtools-b99f3ce.tar.gz. This file was 
98949 bytes in size.

Today I have csup'd my ports tree and did a make fetch for this port and it 
downloaded a file of the same name as you have described. This file is 79377 
bytes in size. I did a make for the port and it again built without error.

Sounds like something was out of sync at the time you tried this. Try 
refreshing your ports again and see if it has been fixed. Also consider the 
possibility that the mirror you were using wasn't completely up to date. 
Either the mirror will have caught up since then, or try another mirror.

-Mike




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


Re: ntpd problems after port updates

2012-04-23 Thread Dean E. Weimer

On 23.04.2012 13:19, Chuck Swiger wrote:

On Apr 23, 2012, at 11:13 AM, Dean E. Weimer wrote:
I am running NTPD built from ports on system that has had world 
rebuilt without ntp.  After doing some port updates this morning to 
the latest OpenSSL which caused ntp to rebuild as its built against 
the OpenSSL port.  ntpd now core dumps at start, in order to attempt 
and resolve the issue I tried starting ntpd with the -d switch added, 
at which point it loads fine without any problems.


If you run 'ldd /usr/local/bin/ntpd', that might be informative.

Only option checked when doing make config on the port is the with 
OpenSSL option.


Consider not doing this-- OpenSSL has a much worse security history
than ntpd itself does.  In particular, the ASN.1 parser is infamous
for trouble, such as CVE-2012-2110.


if I execute: /usr/local/bin/ntpd -p /var/run/ntpd.pid
The result is a signal 11 core dump.


Run gdb against ntpd and the coredump you've gotten to see the crash
backtrace.  Or run ntpd under gdb.



Tried rebuilding without the with SSL option set, oddly it started once 
after that, but a restart caused same behavior.  gdb doesn't give me 
anything that I know how to interpret, gdb -c /ntpd.core.  (I haven't 
really used gdb before, so if I am not doing something correctly with 
it, please feel free to let me know)


GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for 
details.

This GDB was configured as amd64-marcel-freebsd.
Core was generated by `ntpd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0008006878c0 in ?? ()
(gdb) bt
#0  0x0008006878c0 in ?? ()
#1  0x0c78 in ?? ()
#2  0x0008006bf800 in ?? ()
#3  0x7fff0001 in ?? ()
#4  0x000800687836 in ?? ()
#5  0x7fffcb60 in ?? ()
#6  0x7fffcb48 in ?? ()
#7  0x0066 in ?? ()
#8  0x00080142b570 in ?? ()
#9  0x7fffcf80 in ?? ()
#10 0x0003 in ?? ()
#11 0x7fffcfc0 in ?? ()
#12 0x00080166037f in ?? ()
#13 0x7fffcd70 in ?? ()
#14 0x0008006bf800 in ?? ()
[..snip..]
#532 0x0008 in ?? ()
#533 0x in ?? ()
#534 0x0009 in ?? ()
#535 0x004040d0 in ?? ()
#536 0x0007 in ?? ()
#537 0x00080067f000 in ?? ()
#538 0x000f in ?? ()
#539 signal handler called
#540 0x in ?? ()
Previous frame inner to this frame (corrupt stack?)


Running from within gdb didn't give me much either.
proxy1# gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for 
details.

This GDB was configured as amd64-marcel-freebsd.
(gdb) set args -c /etc/ntp.conf
(gdb) file /usr/local/bin/ntpd
Reading symbols from /usr/local/bin/ntpd...(no debugging symbols 
found)...done.

(gdb) run
Starting program: /usr/local/bin/ntpd -c /etc/ntp.conf
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no debugging symbols 
found)...[New LWP 100873]

(no debugging symbols found)...[New Thread 801c07400 (LWP 100873/ntpd)]

Program exited normally.
(gdb) quit
proxy1# tail -f /var/log/messages
[..snip..]
Apr 23 13:55:43 proxy1 ntpd[95834]: ntpd 4.2.6p5@1.2349 Mon Apr 23 
18:23:07 UTC 2012 (1)

Apr 23 13:55:43 proxy1 ntpd[95836]: proto: precision = 0.699 usec
Apr 23 13:55:43 proxy1 kernel: pid 95836 (ntpd), uid 0: exited on 
signal 5 (core dumped)


However it seems to have made it farther before crashing.
gdb -c /ntpd.core
[..snip..]
#832 0x0005 in ?? ()
#833 0x0008 in ?? ()
#834 0x0006 in ?? ()
#835 0x1000 in ?? ()
#836 0x0008 in ?? ()
#837 0x in ?? ()
#838 0x0009 in ?? ()
#839 0x004040d0 in ?? ()
#840 0x0007 in ?? ()
#841 0x00080067f000 in ?? ()
#842 0x000f in ?? ()
#843 signal handler called
#844 0x in ?? ()
Previous frame inner to this frame (corrupt stack?)

Of course it still runs fine with the -d option set.

--
Thanks,
 Dean E. Weimer
 http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpd problems after port updates

2012-04-23 Thread Chuck Swiger
On Apr 23, 2012, at 12:08 PM, Dean E. Weimer wrote:
 Tried rebuilding without the with SSL option set, oddly it started once after 
 that, but a restart caused same behavior.  gdb doesn't give me anything that 
 I know how to interpret, gdb -c /ntpd.core.  (I haven't really used gdb 
 before, so if I am not doing something correctly with it, please feel free to 
 let me know)

Ah, you need to build ntpd with -g in CFLAGS  LDFLAGS for debugging symbols to 
be present

Regards,
-- 
-Chuck

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


Re: ntpd problems after port updates

2012-04-23 Thread Dean E. Weimer

On 23.04.2012 14:10, Chuck Swiger wrote:

On Apr 23, 2012, at 12:08 PM, Dean E. Weimer wrote:
Tried rebuilding without the with SSL option set, oddly it started 
once after that, but a restart caused same behavior.  gdb doesn't give 
me anything that I know how to interpret, gdb -c /ntpd.core.  (I 
haven't really used gdb before, so if I am not doing something 
correctly with it, please feel free to let me know)


Ah, you need to build ntpd with -g in CFLAGS  LDFLAGS for debugging
symbols to be present



at the risk of sounding like an complete n00b, how do I do that?  After 
reading through the make man page, I decided on trying to build the port 
with make CFLAGS+=-g LDFLAGS+=-g install clean however I still get the 
no debugging symbols found message.  Does the information in in the 
Makefile for the port overwrite this option from the command line?  Or 
am I just using the incorrect syntax here?


(gdb) file /usr/local/bin/ntpd
Reading symbols from /usr/local/bin/ntpd...(no debugging symbols 
found)...done.


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


LaCie P'9230 Is Not Recognized

2012-04-23 Thread Doug Sampson
I went out and got a LaCie P'9230 drive, an external USB 3.0/2.0 2TB drive 
(http://www.lacie.com/products/product.htm?id=10559). FreeBSD 9.0-STABLE #5 
running on an Intel D845GEBV2L motherboard does not recognize it.

Apr 23 15:57:11 test kernel: usb_alloc_device: set address 2 failed 
(USB_ERR_STALLED, ignored)
Apr 23 15:57:11 test kernel: usbd_setup_device_desc: getting device descriptor 
at addr 2 failed, USB_ERR_STALLED
Apr 23 15:57:12 test kernel: usbd_req_re_enumerate: addr=2, set address failed! 
(USB_ERR_STALLED, ignored)
Apr 23 15:57:12 test kernel: usbd_setup_device_desc: getting device descriptor 
at addr 2 failed, USB_ERR_STALLED
Apr 23 15:57:13 test kernel: usbd_req_re_enumerate: addr=2, set address failed! 
(USB_ERR_STALLED, ignored)
Apr 23 15:57:13 test kernel: usbd_setup_device_desc: getting device descriptor 
at addr 2 failed, USB_ERR_STALLED
Apr 23 15:57:13 test kernel: ugen3.2: Unknown at usbus3 (disconnected)
Apr 23 15:57:13 test kernel: uhub_reattach_port: could not allocate new device
root@test:/usr/home/install#

'camcontrol devlist -v' does not indicate any daX devices.

I've used a variety of smaller external LaCie USB 2.0 drives with this 
motherboard successfully in the past.

A link at the LaCie web site (http://www.lacie.com/more/index.htm?id=10112) 
indicates that a driver needs to be installed on a Mac in order to realize true 
USB 3.0 speeds. Does this mean that for me to use this drive, I need a special 
driver?

I've consulted the hardware compatibility list but it appears to not have been 
updated to reflect newer hardware.

Any advice would be appreciated.

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


Cron Problems

2012-04-23 Thread Tim Gustafson
I've recently installed a FreeBSD 9.0 jail server, and inside each of
my jails I am getting the following errors in my log about every 5
minutes:

cron[7635]: NSSWITCH(_nsdispatch): ldap, group, setgrent, not found,
and no fallback provided
cron[7635]: NSSWITCH(_nsdispatch): ldap, group, getgrent_r, not found,
and no fallback provided
cron[7635]: NSSWITCH(_nsdispatch): ldap, group, endgrent, not found,
and no fallback provided
cron[7635]: NSSWITCH(_nsdispatch): ldap, passwd, endpwent, not found,
and no fallback provided
/usr/sbin/cron[7673]: (CRON) WARNING (madvise() failed)

I'm using nss_ldap and pam_ldap on these systems, so I suspect and
error in my /etc/pam.d configuration or my nsswitch.conf
configuration.  I've added some configuration to /etc/pam.d/sshd and
/etc/pam.d/other but have left the other files unmolested.

Now, this seems like an nsswitch problem, but my nsswitch.conf is
fairly straightforward:

group: files ldap
hosts: files dns
networks: files
passwd: files ldap
shells: files
services: files
protocols: files
rpc: files

I'm able to get user ID information without a problem using id or
finger.  Authentication is working.  LDAP groups are working.
Pretty much everything seems like it ought to work, except for those
error messages.  I don't think this is a PAM issue, but just in case,
here's my /etc/pam.d/sshd:

authsufficient  /usr/local/lib/pam_ldap.so
authrequiredpam_unix.so
account requiredpam_nologin.so
account requiredpam_login_access.so
account requiredpam_unix.so
session requiredpam_permit.so
passwordrequiredpam_unix.so no_warn try_first_pass

And here is /etc/pam.d/other:

authsufficient  /usr/local/lib/pam_ldap.so
authrequiredpam_unix.so no_warn try_first_pass
account requiredpam_nologin.so
account requiredpam_login_access.so
account requiredpam_unix.so
session requiredpam_permit.so
passwordrequiredpam_permit.so

I note that there is an /etc/pam.d/cron but it's not clear to me what
I might add to this file, as it is quite different than the others:

account requiredpam_nologin.so
account requiredpam_unix.so

So, what am I missing?

-- 

Tim Gustafson
t...@tgustafson.com
http://tgustafson.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-23 Thread Leslie Jensen



2012-04-23 19:56, Leslie Jensen skrev:



2012-04-23 18:29, Warren Block skrev:

On Mon, 23 Apr 2012, Leslie Jensen wrote:




 Use Option

AutoAddDevices Off to disable HAL input device detection.
___




http://www.wonkity.com/~wblock/docs/html/aei.html





After adding the above Option I lost the Swedish layout of my keyboard.

Following the instructions and editing the

/usr/local/etc/hal/fdi/policy/x11-input.fdi


I already have the file in place with the following setup:


?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keyboard
merge key=input.x11_options.XkbOptions 
type=stringterminate:ctrl_alt_bksp

/merge
  merge key=input.x11_options.XkbModel 
type=stringlatitude/merge

  merge key=input.x11_options.XkbLayout type=stringse/merge
/match
  /device
/deviceinfo


Where else can I control the setting for Swedish?


I can see in /usr/local/share/X11/xkb/rules/base.lst that there is the ! 
variant parameters.



Any hints appreciated.

Thanks

/Leslie

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