Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Matthias Petermann


Hello,

I have a Lenovo X121e running Current with X and the Gnome desktop. 
Beside other issues[1] there is a strange behavior of Gnome-Desktop (and 
GDM too). When I press Fn without any additional key, the device 
immediately goes to sleep. As the X121e cannot resume properly from 
sleep, this forces me to reboot.


This problem appears to be only exist when using Gnome / GDM.
Pure X with TWM doesn't have this issue.

I already tried to re-map the Fn key (I found in some mailing this might 
have the keycode 150) to a less dangerous key:

$ xmodmap -e keycode 150 = Delete
this brought no change.

Has anyone an idea if Gnome re-maps the keys in some way or how I can 
disable this? At the moment this is the only blocker to use this Laptop 
for daily work, as I tend to accidently touch the Fn key more often than 
I want to reboot ;-)


Thanks in advance  kind regards,
Matthias


[1] 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current

___
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


Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Matthias Petermann


Hello,

I have a Lenovo X121e running Current with X and the Gnome desktop. 
Beside other issues[1] there is a strange behavior of Gnome-Desktop (and 
GDM too). When I press Fn without any additional key, the device 
immediately goes to sleep. As the X121e cannot resume properly from 
sleep, this forces me to reboot.


This problem appears to be only exist when using Gnome / GDM.
Pure X with TWM doesn't have this issue.

I already tried to re-map the Fn key (I found in some mailing this might 
have the keycode 150) to a less dangerous key:

$ xmodmap -e keycode 150 = Delete
this brought no change.

Has anyone an idea if Gnome re-maps the keys in some way or how I can 
disable this? At the moment this is the only blocker to use this Laptop 
for daily work, as I tend to accidently touch the Fn key more often than 
I want to reboot ;-)


Thanks in advance  kind regards,
Matthias


[1] 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current

___
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


Tex Live vs. print/texlive-full (was Re: texlive and package updating)

2013-08-16 Thread Aymeric Mansoux
Hello,

On Sat, August 10, 2013 6:03 pm, Nikola Pavlović wrote:
 On 09/08/13 18:40, Tim Daneliuk wrote:
 I've given up on all OS distribution-based TexLive drops.  I install
 texlive manually from their installer and then run tlmgr under
 cron control nightly to keep it up-to-date.  I do this on
 FreeBSD (my primary dev and server platform) as well as all
 linux instances in my environment.  It makes things a lot simpler.


 How do you manage dependency tracking errors?  The last time I've
 installed it the way you do was on Slackware and since it doesn't do any
 dependency tracking there were no problems (as long as the binaries were
 in PATH).  I can imagine ports and pkg tools on FreeBSD complaining
 about missing TeX packages, and AFAIK Debian based Linux distributions
 will certainly complain (I think there is a workaround, but it involves
 messing with dpkg).

I am also curious about this one. Any guideline or special considerations
regarding the use of the Tex Live distribution straight into FreeBSD would
be very helpful. Or is it just a matter of following this:
http://www.tug.org/texlive/quickinstall.html

While previous texlive-full port seemed to work fine. I haven't been able to
install it on new machines as it seems something is wrong with
japanese/tex-ptex
not able to figure out where kpathsea and zlib are, or something like that.
It feels that it is stuck in some sort of transition between few ports to
many
ports to provide Tex Live in the Collection (speculating...).

Any feedback on this would be appreciated!
a.

___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Adrian Chadd
Hi!

I'm glad someone else is seeing this!

I have the same behaviour with KDE4 on my T60 and T400. If I go to run
amiwm (because hey, Workbench is awesome!) it doesn't happen.

.. and bah, I wish the resume worked for you. It works fine for me on T42i,
T60, T400.



-adrian



On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org wrote:


 Hello,

 I have a Lenovo X121e running Current with X and the Gnome desktop. Beside
 other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too).
 When I press Fn without any additional key, the device immediately goes
 to sleep. As the X121e cannot resume properly from sleep, this forces me to
 reboot.

 This problem appears to be only exist when using Gnome / GDM.
 Pure X with TWM doesn't have this issue.

 I already tried to re-map the Fn key (I found in some mailing this might
 have the keycode 150) to a less dangerous key:
 $ xmodmap -e keycode 150 = Delete
 this brought no change.

 Has anyone an idea if Gnome re-maps the keys in some way or how I can
 disable this? At the moment this is the only blocker to use this Laptop for
 daily work, as I tend to accidently touch the Fn key more often than I want
 to reboot ;-)

 Thanks in advance  kind regards,
 Matthias


 [1] http://docs.freebsd.org/cgi/**getmsg.cgi?fetch=544740+**
 551865+/usr/local/www/db/text/**2013/freebsd-current/20130707.**
 freebsd-currenthttp://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

___
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: copying milllions of small files and millions of dirs

2013-08-16 Thread Nicolas KOWALSKI
On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:
 Is there a faster way to copy files over NFS?

I would use find+cpio. This handles hard links, permissions, and in case 
of later runs, will not copy files if they already exist on the 
destination.

# cd /source/dir
# find . | cpio -pvdm /destination/dir

-- 
Nicolas
___
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


Vbox shared folders and freebsd guests

2013-08-16 Thread krad
Hi,

Do shared folders from vbox hosts to freebsd guests work as i cant seem to
mount them? I have the guest additions installed fine.

s11 host

vbox@radical:~$ VBoxManage list runningvms
router {daa9e421-7730-4f77-b97c-d931c107e50d}
vbox@radical:~$ VBoxManage list runningvms -l| ggrep -iA 2  share
Shared folders:

Name: 'new', Host path: '/videos/new' (machine mapping), writable
vbox@radical:~$ uname -a
SunOS radical.intranet 5.11 11.1 i86pc i386 i86pc


bsd guest

[root@carrera /home/krad]# kldstat -v | grep -i vb
201 0x81c12000 22c77vboxguest.ko
(/boot/modules/vboxguest.ko)
500 pci/vboxguest
[root@carrera /home/krad]# ls -l /| grep mnt
drwxrwxrwx  13 root  wheel  512 Aug 12  2012 mnt
[root@carrera /home/krad]# mount   -t vboxsf new  /mnt
mount: new: Operation not supported by device

[root@carrera /home/krad]# ps auxwww| grep VB
root 1204   0.0  0.1  32200  2832 ??  Ss9:19AM  0:00.16
/usr/local/sbin/VBoxService
___
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: where to start with PGP/GPG?

2013-08-16 Thread Anton Shterenlikht
From cpgh...@cordula.ws Thu Aug 15 20:20:49 2013

On 08/15/13 14:16, Anton Shterenlikht wrote:
 I never needed to use pgp till now.
 So I'm not sure where to start.
 Is security/gnupg the way to go?
 Any other advice?

security/gnupg + security/pinentry is the way to go.

I wonder if pinentry should be made a required port
for gnupg. This is because gpg2 --gen-keys refuses
to run unless pinentry is installed. Perhaps this
is up the maintaniner, but to me this sounds like
a requirement.

Anton
___
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: FreeBSD 9.2

2013-08-16 Thread ajtiM
Thank you very much.
I will wait for 9.2 release or switch to Linux which works but it is not hat I 
want it…

On Aug 15, 2013, at 4:14 PM, Doug Hardie bc...@lafn.org wrote:

 
 On 15 August 2013, at 06:37, ajtiM lum...@gmail.com wrote:
 
 
 How will be ATI supported in FreeBSD 9.2, please? I like bluetooth mouse. Is 
 it supported?
 
 I try Linux Mint and it works perfect. I am downloading live CD for NetBSD 
 (jibbed) and I will see how is works but I like to install FreeBSD (not 
 double boot, just FreeBSD).
 
 
 See:  http://docs.freebsd.org/cgi/mid.cgi?28915479-B712-4ED0-A041-B75F2F59FECA
 
 Thats not a complete answer as I don't use any of the user interface stuff.  
 However, it will give a starting point for you.  I have updated my two newest 
 minis to run 9.2 (latest candidate).
 
 

Mitja

http://www.redbubble.com/people/lumiwa

___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Matthias Petermann

Hi Adrian,

Zitat von Adrian Chadd adr...@freebsd.org:


Hi!

I'm glad someone else is seeing this!

I have the same behaviour with KDE4 on my T60 and T400. If I go to run
amiwm (because hey, Workbench is awesome!) it doesn't happen.

.. and bah, I wish the resume worked for you. It works fine for me on T42i,
T60, T400.


Thanks for your response. The fact it happens also in KDE appears  
interesting... so the root cause might exist in a component on top of  
pure X which is shared by Gnome and KDE. I will definitely do more  
investigation on this at the weekend.


Hopefully some time suspend/resume will also work on the newer Lenovo  
models (I would be curious if the wakeup problem is Intel/KMS only or  
if also the NVidia models e.g. T430 NVS are affected).


Kind regards,
Matthias

--
Matthias Petermann matth...@d2ux.org

___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Polytropon
On Fri, 16 Aug 2013 13:25:41 +0200, Matthias Petermann wrote:
 Hi Adrian,
 
 Zitat von Adrian Chadd adr...@freebsd.org:
 
  Hi!
 
  I'm glad someone else is seeing this!
 
  I have the same behaviour with KDE4 on my T60 and T400. If I go to run
  amiwm (because hey, Workbench is awesome!) it doesn't happen.
 
  .. and bah, I wish the resume worked for you. It works fine for me on T42i,
  T60, T400.
 
 Thanks for your response. The fact it happens also in KDE appears  
 interesting... so the root cause might exist in a component on top of  
 pure X which is shared by Gnome and KDE.

I have tested a Lenovo R61i running Xfce, and I don't experience
the strange behaviour desribed. However, using the xev event
tester, the keycode for the Fn key is being displayed as 227,
and the KeyPress event is held (!) until the key is released,
which means KeyPress and KeyRelease happen immediately after
each other.

Because my IBM T60p is still in the ICU, I can't test this, but
I would assume to get a similar result.



 Hopefully some time suspend/resume will also work on the newer Lenovo  
 models (I would be curious if the wakeup problem is Intel/KMS only or  
 if also the NVidia models e.g. T430 NVS are affected).

It would also be nice if as much as possible would work on
the older models (including the docking stations), because
Thinkpads seem to live much longer (and therefore will probably
many more years in productive use), compared to their crappy
competitors on the laptop market. :-)




-- 
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Grzegorz Blach
Hi,

I also had problem with Fn key.
I'm using Lenovo T430 and Enlightenment desktop environment.
I resolved this issue by unbinding XF86Sleep in Enlightenment settings.

Cheers,
Grzegorz Blach

___
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


pkgng problem

2013-08-16 Thread Michael W. Lucas
Hi,

I'm sure someone has had this before, but I can't find any reference
to it.

# pkg upgrade
Updating repository catalogue
digests.txz 100%  997KB 997.1KB/s 997.1KB/s   00:00
packagesite.txz 100% 5530KB   1.8MB/s   3.2MB/s   00:03
pkg: Invalid manifest format: mapping values are not allowed in this context
Incremental update completed, 0 packages processed:
0 packages updated, 0 removed and 22568 added.
pkg: No digest falling back on legacy catalog format
packagesite repository catalogue is up-to-date, no need to fetch fresh copy
Nothing to do

This is from a machine freshly converted to pkgng.

Any suggestions?

Thanks,
==ml

-- 
Michael W. Lucas  -  mwlu...@michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code ILUVMICHAEL gets you 30% off  helps me.
___
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: pkgng problem

2013-08-16 Thread Matthew Seaman
On 16/08/2013 13:43, Michael W. Lucas wrote:
 Hi,
 
 I'm sure someone has had this before, but I can't find any reference
 to it.
 
 # pkg upgrade
 Updating repository catalogue
 digests.txz 100%  997KB 997.1KB/s 997.1KB/s   00:00
 packagesite.txz 100% 5530KB   1.8MB/s   3.2MB/s   00:03
 pkg: Invalid manifest format: mapping values are not allowed in this context
 Incremental update completed, 0 packages processed:
 0 packages updated, 0 removed and 22568 added.
 pkg: No digest falling back on legacy catalog format
 packagesite repository catalogue is up-to-date, no need to fetch fresh copy
 Nothing to do
 
 This is from a machine freshly converted to pkgng.
 
 Any suggestions?

What repositories are you using?  Please show us the result of:

pkg -vv | sed -ne '/Repositories/,$p'

I'd hazard a guess that the repository either had a bit of a flail when
creating the catalogue, or it's running some ancient version of pkg.

mapping values are not allowed in this context is an error message
from libyaml, so you've got a +MANIFEST file (or the partial copy of it
that gets incorporated into the repository catalogue) which it thinks
contains a mapping ( a sequence of key : value pairs ) when the YAML
parser was expecting an array or whatever.

Cheers,

Matthew



___
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: ZFS Snapshots Not able to be accessed under .zfs/snapshot/name

2013-08-16 Thread dweimer

On 08/15/2013 10:00 am, dweimer wrote:

On 08/14/2013 9:43 pm, Shane Ambler wrote:

On 14/08/2013 22:57, dweimer wrote:

I have a few systems running on ZFS with a backup script that creates
snapshots, then  backs up the .zfs/snapshot/name directory to make 
sure
open files are not missed.  This has been working great but all of 
the

sudden one of my systems has stopped working.  It takes the snapshots
fine, zfs list -t spnapshot shows the snapshots, but if you do an ls
command, on the .zfs/snapshot/ directory it returns not a directory.

part of the zfs list output:

NAMEUSED  AVAIL  REFER  MOUNTPOINT
zroot  4.48G  29.7G31K  none
zroot/ROOT 2.92G  29.7G31K  none
zroot/ROOT/91p5-20130812   2.92G  29.7G  2.92G  legacy
zroot/home  144K  29.7G   122K  /home

part of the zfs list -t snapshot output:

NAMEUSED  AVAIL  REFER
MOUNTPOINT
zroot/ROOT/91p5-20130812@91p5-20130812--bsnap   340K  -  2.92G  -
zroot/home@home--bsnap   22K  -   122K  -

ls /.zfs/snapshot/91p5-20130812--bsnap/
Does work at the right now, since the last reboot, but wasn't always
working, this is my boot environment.

if I do ls /home/.zfs/snapshot/, result is:
ls: /home/.zfs/snapshot/: Not a directory

if I do ls /home/.zfs, result is:
ls: snapshot: Bad file descriptor
shares

I have tried zpool scrub zroot, no errors were found, if I reboot the
system I can get one good backup, then I start having problems.  
Anyone

else ever ran into this, any suggestions as to a fix?

System is running FreeBSD 9.1-RELEASE-p5 #1 r253764: Mon Jul 29 
15:07:35

CDT 2013, zpool is running version 28, zfs is running version 5




I can say I've had this problem. Not certain what fixed it. I do
remember I decided to stop snapshoting if I couldn't access them and
deleted existing snapshots. I later restarted the machine before I
went back for another look and they were working.

So my guess is a restart without existing snapshots may be the key.

Now if only we could find out what started the issue so we can stop it
happening again.


I had actually rebooted it last night, prior to seeing this message, I
do know it didn't have any snapshots this time.  As I am booting from
ZFS using boot environments I may have had an older boot environment
still on the system the last time it was rebooted.  Backups ran great
last night after the reboot, and I was able to kick off my pre-backup
job and access all the snapshots today.  Hopefully it doesn't come
back, but if it does I will see if I can find anything else wrong.

FYI,
It didn't shutdown cleanly, so if this helps anyone find the issue,
this is from my system logs:
Aug 14 22:08:04 cblproxy1 kernel:
Aug 14 22:08:04 cblproxy1 kernel: Fatal trap 12: page fault while in 
kernel mode

Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0; apic id = 00
Aug 14 22:08:04 cblproxy1 kernel: fault virtual address = 0xa8
Aug 14 22:08:04 cblproxy1 kernel: fault code= supervisor
write data, page not present
Aug 14 22:08:04 cblproxy1 kernel: instruction pointer   =
0x20:0x808b0562
Aug 14 22:08:04 cblproxy1 kernel: stack pointer =
0x28:0xff80002238f0
Aug 14 22:08:04 cblproxy1 kernel: frame pointer =
0x28:0xff8000223910
Aug 14 22:08:04 cblproxy1 kernel: code segment  = base 0x0,
limit 0xf, type 0x1b
Aug 14 22:08:04 cblproxy1 kernel: = DPL 0, pres 1, long 1, def32 0, 
gran 1

Aug 14 22:08:04 cblproxy1 kernel: processor eflags  = interrupt
enabled, resume, IOPL = 0
Aug 14 22:08:04 cblproxy1 kernel: current process   = 1 
(init)

Aug 14 22:08:04 cblproxy1 kernel: trap number   = 12
Aug 14 22:08:04 cblproxy1 kernel: panic: page fault
Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0
Aug 14 22:08:04 cblproxy1 kernel: KDB: stack backtrace:
Aug 14 22:08:04 cblproxy1 kernel: #0 0x808ddaf0 at 
kdb_backtrace+0x60

Aug 14 22:08:04 cblproxy1 kernel: #1 0x808a951d at panic+0x1fd
Aug 14 22:08:04 cblproxy1 kernel: #2 0x80b81578 at 
trap_fatal+0x388
Aug 14 22:08:04 cblproxy1 kernel: #3 0x80b81836 at 
trap_pfault+0x2a6

Aug 14 22:08:04 cblproxy1 kernel: #4 0x80b80ea1 at trap+0x2a1
Aug 14 22:08:04 cblproxy1 kernel: #5 0x80b6c7b3 at calltrap+0x8
Aug 14 22:08:04 cblproxy1 kernel: #6 0x815276da at
zfsctl_umount_snapshots+0x8a
Aug 14 22:08:04 cblproxy1 kernel: #7 0x81536766 at 
zfs_umount+0x76
Aug 14 22:08:04 cblproxy1 kernel: #8 0x809340bc at 
dounmount+0x3cc
Aug 14 22:08:04 cblproxy1 kernel: #9 0x8093c101 at 
vfs_unmountall+0x71
Aug 14 22:08:04 cblproxy1 kernel: #10 0x808a8eae at 
kern_reboot+0x4ee
Aug 14 22:08:04 cblproxy1 kernel: #11 0x808a89c0 at 
kern_reboot+0
Aug 14 22:08:04 cblproxy1 kernel: #12 0x80b81dab at 
amd64_syscall+0x29b
Aug 14 22:08:04 cblproxy1 kernel: #13 0x80b6ca9b at 
Xfast_syscall+0xfb


Well its 

Asic Bitcoin Sales

2013-08-16 Thread sales
 = Asic-technologies.com http://www.asic-technologies.com/ =

 New Cheaper Prices - difficulty now 50M !

 

 Visit Us

USB Block Miners from ASICMINER now 0.58 BTC each !! FREE SHIPPING 
Mining board's supplied , Case, power supply , On-board heat sink , USB
connectors.

 Ready assembled
All the boards are linked together , With one main controller.
Easy to Install Software (Disk Provided)
Simple Plug and play.

 = Asic-technologies.com http://www.asic-technologies.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


Re: pkgng problem

2013-08-16 Thread Michael W. Lucas

Thanks, Matt.

# pkg -vv | sed -ne '/Repositories/,$p'
Repositories:
  packagesite:
 url: http://pkg-test.freebsd.org/pkg-test-freebsd:9:x86:32/latest
 key:
 enabled: yes
 mirror_type: SRV

Also: 

# pkg -v
1.1.4


==ml

-- 
Michael W. Lucas  -  mwlu...@michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code ILUVMICHAEL gets you 30% off  helps me.
___
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


Myrinet 10Gb odd behavior

2013-08-16 Thread aurfalien
Hi,

I've been suspecting my NIC is not up to par and notice this in the logs every 
few minutes;

Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state:
Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=1914503981 tx.done=1914503810, 
tx.queue_active=0
Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=0 tx.deactivate=0
Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=1824019832 fw=1824019931
Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset!
Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not resetting

Could tis be effecting throughput?

My card is a Myri-10G-PCIE-8A

I did install the Myrinet dev tools for FreeBSD and ran myri_info which yields;

pci-dev at 05:00.0 vendor:product(rev)=14c1:0008(00)
behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3)
Myri-10G-PCIE-8A -- Link x8
   EEPROM String-spec:
MAC=00:60:dd:45:73:23
SN=413665
PWR=100
PC=10G-PCIE-8A-R
PN=09-03852
XFI=AEL1010
TAG=ze_tools-1_4_45

   EEPROM MCP, PRESENT, length = 103384, crc=0x119daf46
ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware
Bundle: exec_len=72144, PCI-ROM-len = 31232
   Running MCP:
ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware

Any insights are appreciated.

- aurf
___
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: pkgng problem

2013-08-16 Thread Matthew Seaman
On 16/08/2013 16:02, Michael W. Lucas wrote:
 
 Thanks, Matt.
 
 # pkg -vv | sed -ne '/Repositories/,$p'
 Repositories:
   packagesite:
  url: http://pkg-test.freebsd.org/pkg-test-freebsd:9:x86:32/latest
  key:
  enabled: yes
  mirror_type: SRV
 
 Also: 
 
 # pkg -v
 1.1.4
 

Well, looks like both of those are up-to-date versions.  I wonder if the
pkg-test build system threw a wobbly at all on it's i386 builder?  Bapt
is on holiday or I'd ask him.

Cheers,

Matthew


___
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: Myrinet 10Gb odd behavior

2013-08-16 Thread aurfalien
Forgot to mention my loader.conf;

if_mxge_load=YES
mxge_ethp_z8e_load=YES
mxge_eth_z8e_load=YES
mxge_rss_ethp_z8e_load=YES
mxge_rss_eth_z8e_load=YES


I blindly added these w/o thinking what they do.

Should I simply only load the first line?

- aurf


On Aug 16, 2013, at 8:18 AM, aurfalien wrote:

 Hi,
 
 I've been suspecting my NIC is not up to par and notice this in the logs 
 every few minutes;
 
 Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state:
 Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=1914503981 
 tx.done=1914503810, tx.queue_active=0
 Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=0 tx.deactivate=0
 Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=1824019832 fw=1824019931
 Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset!
 Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not resetting
 
 Could tis be effecting throughput?
 
 My card is a Myri-10G-PCIE-8A
 
 I did install the Myrinet dev tools for FreeBSD and ran myri_info which 
 yields;
 
 pci-dev at 05:00.0 vendor:product(rev)=14c1:0008(00)
   behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3)
 Myri-10G-PCIE-8A -- Link x8
   EEPROM String-spec:
   MAC=00:60:dd:45:73:23
   SN=413665
   PWR=100
   PC=10G-PCIE-8A-R
   PN=09-03852
   XFI=AEL1010
   TAG=ze_tools-1_4_45
 
   EEPROM MCP, PRESENT, length = 103384, crc=0x119daf46
   ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware
   Bundle: exec_len=72144, PCI-ROM-len = 31232
   Running MCP:
   ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware
 
 Any insights are appreciated.
 
 - aurf

___
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: pkgng problem

2013-08-16 Thread Michael W. Lucas
Matt,

Another data point on this:

Machines converted to pkgng a couple weeks ago can install new
packages just fine despite showing the same error. And it looks like
they download the new repo information:

# pkg install sysrc
Updating repository catalogue
digests.txz 100%  997KB 997.1KB/s 997.1KB/s   00:00
packagesite.txz 100% 5530KB   1.4MB/s   1.9MB/s   00:04
pkg: Invalid manifest format: mapping values are not allowed in this contex
Incremental update completed, 0 packages processed:
8292 packages updated, 1115 removed and 129 added.
pkg: No digest falling back on legacy catalog format
packagesite repository catalogue is up-to-date, no need to fetch fresh copy
The following 1 packages will be installed:

Installing sysrc: 5.2

The installation will require 39 kB more space

15 kB to be downloaded

Proceed with installing packages [y/N]: y
sysrc-5.2.txz 100%   16KB  15.8KB/s  15.8KB/s   
00:00
Checking integrity... done
[1/1] Installing sysrc-5.2... done

Machines upgraded to pkgng this week, using the same script as I used
a couple weeks ago, cannot install packages.

# pkg install sysrc
Updating repository catalogue
digests.txz 100%  997KB 997.1KB/s 997.1KB/s   00:00
packagesite.txz 100% 5530KB   2.7MB/s   1.5MB/s   00:02
pkg: Invalid manifest format: mapping values are not allowed in this context
Incremental update completed, 0 packages processed:
0 packages updated, 0 removed and 22568 added.
pkg: No digest falling back on legacy catalog format
packagesite repository catalogue is up-to-date, no need to fetch fresh copy
pkg: No packages matching 'sysrc' has been found in the repositories

Not sure if this supports the bad repo theory, but it's interesting.

Thanks,
==ml

-- 
Michael W. Lucas  -  mwlu...@michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code ILUVMICHAEL gets you 30% off  helps me.
___
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


VPN where local private address collide

2013-08-16 Thread Frank Leonhardt
Let's say we're using MPD on FreeBSD at both ends of a link here, using 
a VPN to connect two LANs. (The use of MPD is negotiable).


One LAN uses the address range 192.168.1.0/24 and the other uses the 
address range, er,  192.168.1.0/24. However hard you try to avoid this, 
it's going to happen. Let's also assume there is no way either end can 
change its range. NO WAY. Just don't go there.


I've found I can still get away with this if the actual used IP 
addresses don't conflict, but it's not ideal. I'm not even 100% on why 
it works at all.


I've heard of a mythical solution called VPN NAT. It makes sense; just 
use NAT to map one range on to something completely different and away 
you go. Hosts at either end would be none the wiser.


Has anyone actually done this, and if so, how?

Thanks, Frank.

___
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: pkgng problem

2013-08-16 Thread Adrian Chadd
Have you done a pkg update first, just in case you needed to pull in a
pkgng update?


-adrian
___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Adrian Chadd
... xf86sleep as a keypress id?



-adrian


On 16 August 2013 04:48, Grzegorz Blach ma...@roorback.net wrote:

 Hi,

 I also had problem with Fn key.
 I'm using Lenovo T430 and Enlightenment desktop environment.
 I resolved this issue by unbinding XF86Sleep in Enlightenment settings.

 Cheers,
 Grzegorz Blach

 ___
 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

___
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: pkgng problem

2013-08-16 Thread Michael W. Lucas
On Fri, Aug 16, 2013 at 11:23:41AM -0700, Adrian Chadd wrote:
Have you done a pkg update first, just in case you needed to pull in a
pkgng update?

Yep, tried that.

==ml

-- 
Michael W. Lucas  -  mwlu...@michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code ILUVMICHAEL gets you 30% off  helps me.
___
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: VPN where local private address collide

2013-08-16 Thread Terje Elde
On 16. aug. 2013, at 19:17, Frank Leonhardt freebsd-...@fjl.co.uk wrote:
 Has anyone actually done this, and if so, how?

This is wrong on so many levels, and you'll have to work around all og them. 
Yes, you can use nat, but what about adress-resolution? And so on. 

If it's a specific thing you need to work - a spesific server for example - nat 
can work, but if you need general bridging, best to avoid conflicts. 

Note that there are alternatives, such as L2-bridging rather than L3. 

If you explain a bit more of the setup, and what you need to work, it'd be 
easier to suggest something. 

Right now, we know bits of the setup, but not really what problem(s) you're 
trying to solve. 

Terje

___
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: VPN where local private address collide

2013-08-16 Thread Odhiambo Washington
On 16 August 2013 20:17, Frank Leonhardt freebsd-...@fjl.co.uk wrote:

 Let's say we're using MPD on FreeBSD at both ends of a link here, using a
 VPN to connect two LANs. (The use of MPD is negotiable).

 One LAN uses the address range 192.168.1.0/24 and the other uses the
 address range, er,  192.168.1.0/24. However hard you try to avoid this,
 it's going to happen. Let's also assume there is no way either end can
 change its range. NO WAY. Just don't go there.


Such a stupid statement. No private IP's are engraved in stone, esp a /24.
How many days does it take you to reconfigure the hosts to connect to the
shared resources - which is what I believe would make you say there is no
way either end can change its range? It's a /24 and shared resources can
be accessed by running an internal DNS server, for crying out loud!


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Polytropon
On Fri, 16 Aug 2013 11:24:51 -0700, Adrian Chadd wrote:
 ... xf86sleep as a keypress id?

Yes, there are many of XF86... key symbols that can be
associated to key codes. Probably this is some setting
in Gnome or KDE (but not in other environments). You can
use xev to check which symbol is associated to which
key (or key combination, if this creates a new unique
key event).



-- 
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Matthias Petermann

Hi,

Am 16.08.2013 13:58, schrieb Polytropon:
I have tested a Lenovo R61i running Xfce, and I don't experience the 
strange behaviour desribed. However, using the xev event tester, the 
keycode for the Fn key is being displayed as 227, and the KeyPress 
event is held (!) until the key is released, which means KeyPress and 
KeyRelease happen immediately after each other. Because my IBM T60p is 
still in the ICU, I can't test this, but I would assume to get a 
similar result. 


thanks, I just used xev (with X and only TWM). It reports the Fn key as 
keycode 150. Looks like this is different across the Thinkpad models.


It would also be nice if as much as possible would work on the older 
models (including the docking stations), because Thinkpads seem to 
live much longer (and therefore will probably many more years in 
productive use), compared to their crappy competitors on the laptop 
market. :-) 

Agree :-)

Regards,
Matthias
___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Matthias Petermann

Hi,

a short update on this. I just found out: at least in Gnome 2 the 
behavior can be prevented by using the gconf-settings tool, changing the 
value of the key /apps/gnome-power-manager/buttons/suspend from 
suspend to nothing. Seems like some ubuntu users had the same issue 
as I found the workaround there.


Kind regards,
Matthias


Am 16.08.2013 08:44, schrieb Adrian Chadd:

Hi!

I'm glad someone else is seeing this!

I have the same behaviour with KDE4 on my T60 and T400. If I go to run 
amiwm (because hey, Workbench is awesome!) it doesn't happen.


.. and bah, I wish the resume worked for you. It works fine for me on 
T42i, T60, T400.




-adrian



On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org 
mailto:matth...@d2ux.org wrote:



Hello,

I have a Lenovo X121e running Current with X and the Gnome
desktop. Beside other issues[1] there is a strange behavior of
Gnome-Desktop (and GDM too). When I press Fn without any
additional key, the device immediately goes to sleep. As the X121e
cannot resume properly from sleep, this forces me to reboot.

This problem appears to be only exist when using Gnome / GDM.
Pure X with TWM doesn't have this issue.

I already tried to re-map the Fn key (I found in some mailing this
might have the keycode 150) to a less dangerous key:
$ xmodmap -e keycode 150 = Delete
this brought no change.

Has anyone an idea if Gnome re-maps the keys in some way or how I
can disable this? At the moment this is the only blocker to use
this Laptop for daily work, as I tend to accidently touch the Fn
key more often than I want to reboot ;-)

Thanks in advance  kind regards,
Matthias


[1]

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current
___
freebsd-questions@freebsd.org
mailto: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
mailto:freebsd-questions-unsubscr...@freebsd.org




___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Adrian Chadd
Right, but this sounds like some bug to send upstream. Or at least patch in
our port(s) for this stuff.

What keyboard / laptop has the key code '150' map to 'go to sleep' ?



-adiran


On 16 August 2013 17:09, Matthias Petermann matth...@d2ux.org wrote:

  Hi,

 a short update on this. I just found out: at least in Gnome 2 the behavior
 can be prevented by using the gconf-settings tool, changing the value of
 the key /apps/gnome-power-manager/buttons/suspend from suspend to
 nothing. Seems like some ubuntu users had the same issue as I found the
 workaround there.

 Kind regards,
 Matthias


 Am 16.08.2013 08:44, schrieb Adrian Chadd:

 Hi!

  I'm glad someone else is seeing this!

  I have the same behaviour with KDE4 on my T60 and T400. If I go to run
 amiwm (because hey, Workbench is awesome!) it doesn't happen.

  .. and bah, I wish the resume worked for you. It works fine for me on
 T42i, T60, T400.



  -adrian



 On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org wrote:


 Hello,

 I have a Lenovo X121e running Current with X and the Gnome desktop.
 Beside other issues[1] there is a strange behavior of Gnome-Desktop (and
 GDM too). When I press Fn without any additional key, the device
 immediately goes to sleep. As the X121e cannot resume properly from sleep,
 this forces me to reboot.

 This problem appears to be only exist when using Gnome / GDM.
 Pure X with TWM doesn't have this issue.

 I already tried to re-map the Fn key (I found in some mailing this might
 have the keycode 150) to a less dangerous key:
 $ xmodmap -e keycode 150 = Delete
 this brought no change.

 Has anyone an idea if Gnome re-maps the keys in some way or how I can
 disable this? At the moment this is the only blocker to use this Laptop for
 daily work, as I tend to accidently touch the Fn key more often than I want
 to reboot ;-)

 Thanks in advance  kind regards,
 Matthias


 [1]
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current
 ___
 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




___
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: Myrinet 10Gb odd behavior - SOLVED

2013-08-16 Thread aurfalien

On Aug 16, 2013, at 8:47 AM, aurfalien wrote:

 Forgot to mention my loader.conf;
 
 if_mxge_load=YES
 mxge_ethp_z8e_load=YES
 mxge_eth_z8e_load=YES
 mxge_rss_ethp_z8e_load=YES
 mxge_rss_eth_z8e_load=YES
 
 
 I blindly added these w/o thinking what they do.
 
 Should I simply only load the first line?
 
 - aurf
 
 
 On Aug 16, 2013, at 8:18 AM, aurfalien wrote:
 
 Hi,
 
 I've been suspecting my NIC is not up to par and notice this in the logs 
 every few minutes;
 
 Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state:
 Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=1914503981 
 tx.done=1914503810, tx.queue_active=0
 Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=0 tx.deactivate=0
 Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=1824019832 fw=1824019931
 Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset!
 Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not resetting
 
 Could tis be effecting throughput?
 
 My card is a Myri-10G-PCIE-8A
 
 I did install the Myrinet dev tools for FreeBSD and ran myri_info which 
 yields;
 
 pci-dev at 05:00.0 vendor:product(rev)=14c1:0008(00)
  behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3)
 Myri-10G-PCIE-8A -- Link x8
  EEPROM String-spec:
  MAC=00:60:dd:45:73:23
  SN=413665
  PWR=100
  PC=10G-PCIE-8A-R
  PN=09-03852
  XFI=AEL1010
  TAG=ze_tools-1_4_45
 
  EEPROM MCP, PRESENT, length = 103384, crc=0x119daf46
  ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware
  Bundle: exec_len=72144, PCI-ROM-len = 31232
  Running MCP:
  ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware
 
 Any insights are appreciated.
 
 - aurf


Did the ole RTFM and re programmed the firmware, all good now.

- aurf
___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Polytropon
On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote:
 What keyboard / laptop has the key code '150' map to 'go to sleep' ?

My Sun Type 7 USB keyboard has the Copy key at code 150... :-)


-- 
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


pkg install on freshly installed 9.1 doesn't find any packages

2013-08-16 Thread Yuri

I installed 9.1 from iso image.
Then 'pkg' command brought pkg-1.0.11 package.
Now commands like 'pkg install gnome2' always say:
pkg: Package 'gnome2' was not found in the repositories.

Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

Yuri
___
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: pkg install on freshly installed 9.1 doesn't find any packages

2013-08-16 Thread Matthew Seaman
On 17/08/2013 05:41, Yuri wrote:
 I installed 9.1 from iso image.
 Then 'pkg' command brought pkg-1.0.11 package.
 Now commands like 'pkg install gnome2' always say:
 pkg: Package 'gnome2' was not found in the repositories.
 
 Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

You have an old version of pkg there, and it looks like the pkg.conf
that came with that version doesn't point at a repository with any
useful contents.

Try:

pkg upgrade

which /should/ get you pkg-1.1.4_1

Then check ${LOCALBASE}/etc/pkg.conf and make sure packagesite is set to:

   http://pkg.freebsd.org/${ABI}/latest

or there are some other publicly availble repos: Exonetric has one, as
does PC-BSD.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature