[gentoo-user] problem with v86d

2014-06-10 Thread covici
Hi.  Does anyone have a clue as to why v86d should suddenly start being
very cpu intensive on my computer?  When I first boot its fine (using
either systemd or openrc), but after a while -- maybe  a day or two it
starts using up lots of cpu and definitely increases the load average
and slows down things.  I notice this has not changed in several years,
so I am wondering if it is not working as it used to?

Thanks in advance for any ideas.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Logitech C920 HD Pro Webcamera ... view: YES record: NO ?

2014-06-10 Thread meino . cramer




thegeezer  [14-06-10 17:08]:
> On 06/07/2014 04:18 PM, meino.cra...@gmx.de wrote:
> > Hi,
> >
> > the Logitech c920 HD Pro webcam is able to deliver 1920xq080x30fps
> > (H.264).
> >
> > Now I am trying to display (watch) and record the video stream.
> > Currently I am using guvcview.
> >
> > Most of the time watching is not an problem: no video delays, no
> > frame drops, no ultra low fps...wonderful!
> >
> > But beware of pressing the "record" botton...
> >
> > KABOOM! guvcview ends with an error message, which does not say
> > anythong to me...:
> >
> > (guvcview:19104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 
> > 'GTK_IS_WIDGET (widget)' failed
> > initiating video file context
> > STREAM: add stream 0 to stream list
> >
> > I tried "cheese" which interestingly dies similiarily...
> >
> > Since there a zillions of things to tweak with the video and audio
> > setting I still hope that someone got this nice camera running and
> > recording with full hd and audio 
> >
> > ?
> >
> > Any ide to fix that?
> >
> > Best regards,
> > mcc
> >
> >
> >
> >
> >
> have you tried something like media-video/motion  which would do much of
> this for you (although it would qualify "any motion" as "interesting")
> i just thought that if it is a daemon in the background always with the
> record set this might work ...
> 

Thank you for your help !:))

yes, I tried that software with my previous webcam, which does not
offer HD or Full HD as the current one. With my setup (means: may be I
did something wrong...;) it eats too much resources...there is only
one Linux box for me work and for detecting motions and for recording 
video.

The Logitech offers 1920x1080 Full HD HD264, which needs to be decoded
frame by frame, analyzed and when found "interesting" to be recorded
to disc while further analyzing steps are running.

If motion failed (with my setup) to work with low res video
streams I dont think that it will successfully run under the load of 
Full HD.

Furthermore there is a delay of ~1 second between "reality" and video
possbly due to not that fast compression hardware in the camera...






Re: [gentoo-user] qemu-kvm replacement

2014-06-10 Thread Mike Gilbert
On Tue, Jun 10, 2014 at 5:36 PM, Rich Freeman  wrote:
> On Tue, Jun 10, 2014 at 5:31 PM, Heiko Zinke  wrote:
>>
>> So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by
>> "/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this
>> error :(
>> "error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine
>> accel=kvm -enable-kvm: No such file or directory"
>
> I replaced /usr/bin/qemu-kvm with /usr/bin/qemu-system-x86_64 and
> everything worked fine.
>
> However, perhaps leaving out the --enabled-kvm will cause some
> problem.  If you do need to pass a parameter there may be some other
> way to specify it - I'd have to read the xsd or the docs.
>

Using /usr/bin/qemu-system-x86_64 should be fine. It looks like
libvirt will automatically append accel=kvm to the machine options,
which is equivalent to -enable-kvm.



Re: [gentoo-user] Re: qemu-kvm replacement

2014-06-10 Thread Mike Gilbert
On Tue, Jun 10, 2014 at 7:45 PM, walt  wrote:
> On 06/10/2014 02:31 PM, Heiko Zinke wrote:
>> Hi,
>>
>> with my recent qemu update from 1.6 to 2.0 I got the following error:
>>
>> * The kvm/qemu-kvm wrappers no longer exist, but your libvirt
>>  * instances are still pointing to it.  Please update your
>>  * configs in /etc/libvirt/qemu/ to use the -enable-kvm flag
>>  * and the right system binary (e.g. qemu-system-x86_64).
>>  * ERROR: app-emulation/qemu-2.0.0::gentoo failed (pretend phase):
>>  *   update your virt configs to not use qemu-kvm
>>  *
>>  * Call stack:
>>  *   ebuild.sh, line  93:  Called pkg_pretend
>>  *   qemu-2.0.0.ebuild, line 225:  Called die
>>  * The specific snippet of code:
>>  *  die "update your virt configs to not use qemu-kvm"
>>
>> I found this bug which explains the why but sadly not the how.
>> https://bugs.gentoo.org/show_bug.cgi?id=506566
>>
>> I need to get rid of the reference to the /usr/bin/qemu-kvm shell script 
>> which
>> is basically only a wrapper for "exec /usr/bin/qemu-system-x86_64 -machine
>> accel=kvm "$@""
>>
>> So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by
>> "/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this
>> error :(
>> "error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine
>> accel=kvm -enable-kvm: No such file or directory"
>>
>> How is this supposed to work? Do I need to create a custom shell skript or
>
>> just use /usr/bin/qemu-system-x86_64 w/o the args an hope it  magically uses
>> kvm acceleration?
>
> I believe "accel=kvm" is obsolete now.  "-enable-kvm" is the magic word
> lately.  Try "qemu-system-x86_64 -help" for more info than you want :)
>

Reading through the source code, -enable-kvm seems to be equivalent to
-machine accel=kvm.



[gentoo-user] Re: qemu-kvm replacement

2014-06-10 Thread walt
On 06/10/2014 02:31 PM, Heiko Zinke wrote:
> Hi,
> 
> with my recent qemu update from 1.6 to 2.0 I got the following error:
> 
> * The kvm/qemu-kvm wrappers no longer exist, but your libvirt
>  * instances are still pointing to it.  Please update your
>  * configs in /etc/libvirt/qemu/ to use the -enable-kvm flag
>  * and the right system binary (e.g. qemu-system-x86_64).
>  * ERROR: app-emulation/qemu-2.0.0::gentoo failed (pretend phase):
>  *   update your virt configs to not use qemu-kvm
>  * 
>  * Call stack:
>  *   ebuild.sh, line  93:  Called pkg_pretend
>  *   qemu-2.0.0.ebuild, line 225:  Called die
>  * The specific snippet of code:
>  *  die "update your virt configs to not use qemu-kvm"
> 
> I found this bug which explains the why but sadly not the how.
> https://bugs.gentoo.org/show_bug.cgi?id=506566
> 
> I need to get rid of the reference to the /usr/bin/qemu-kvm shell script 
> which 
> is basically only a wrapper for "exec /usr/bin/qemu-system-x86_64 -machine 
> accel=kvm "$@""
> 
> So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by 
> "/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this 
> error :(
> "error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine 
> accel=kvm -enable-kvm: No such file or directory"
> 
> How is this supposed to work? Do I need to create a custom shell skript or 

> just use /usr/bin/qemu-system-x86_64 w/o the args an hope it  magically uses 
> kvm acceleration?

I believe "accel=kvm" is obsolete now.  "-enable-kvm" is the magic word
lately.  Try "qemu-system-x86_64 -help" for more info than you want :)





[gentoo-user] N failed logins since your last login

2014-06-10 Thread walt
I remember seeing that message years ago when logging in at an ordinary
console, but not any time recently and never on my gentoo machines.

But I just saw that message again yesterday when logging into a Fedora20
virtual machine running the gdm (gnome) display manager.

Is there a way to display that 'failed logins' message without using
gdm/kdm/xdm?

Also, is there a way to display the same 'failed logins' message when
logging in with ssh?

Thanks for any clues.




Re: [gentoo-user] Intel(R) C600 SAS Controller

2014-06-10 Thread Stefan G. Weichinger

Found out something about megacli and checked settings for cache and
stuff following

http://highperfpostgres.com/guides/lsi-megaraid-setup-for-postgresql/

Did I set a wrong Strip Size for the third array?

good night, late here ...

Stefan



# megacli -LDInfo -Lall -aALL


Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name:root
RAID Level  : Primary-6, Secondary-3, RAID Level Qualifier-3
Size: 500.0 GB
Sector Size : 512
Is VD emulated  : No
Parity Size : 250.0 GB
State   : Optimal
Strip Size  : 256 KB
Number Of Drives: 6
Span Depth  : 1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if
Bad BBU
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if
Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No


Virtual Drive: 1 (Target Id: 1)
Name:swap
RAID Level  : Primary-6, Secondary-3, RAID Level Qualifier-3
Size: 8.0 GB
Sector Size : 512
Is VD emulated  : No
Parity Size : 4.0 GB
State   : Optimal
Strip Size  : 64 KB
Number Of Drives: 6
Span Depth  : 1
Default Cache Policy: WriteBack, ReadAheadNone, Cached, No Write Cache
if Bad BBU
Current Cache Policy: WriteBack, ReadAheadNone, Cached, No Write Cache
if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No


Virtual Drive: 2 (Target Id: 2)
Name:lvm
RAID Level  : Primary-6, Secondary-3, RAID Level Qualifier-3
Size: 1.321 TB
Sector Size : 512
Is VD emulated  : No
Parity Size : 676.5 GB
State   : Optimal
Strip Size  : 64 KB
Number Of Drives: 6
Span Depth  : 1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if
Bad BBU
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if
Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No






Re: [gentoo-user] qemu-kvm replacement

2014-06-10 Thread Rich Freeman
On Tue, Jun 10, 2014 at 5:31 PM, Heiko Zinke  wrote:
>
> So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by
> "/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this
> error :(
> "error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine
> accel=kvm -enable-kvm: No such file or directory"

I replaced /usr/bin/qemu-kvm with /usr/bin/qemu-system-x86_64 and
everything worked fine.

However, perhaps leaving out the --enabled-kvm will cause some
problem.  If you do need to pass a parameter there may be some other
way to specify it - I'd have to read the xsd or the docs.

Rich



[gentoo-user] qemu-kvm replacement

2014-06-10 Thread Heiko Zinke
Hi,

with my recent qemu update from 1.6 to 2.0 I got the following error:

* The kvm/qemu-kvm wrappers no longer exist, but your libvirt
 * instances are still pointing to it.  Please update your
 * configs in /etc/libvirt/qemu/ to use the -enable-kvm flag
 * and the right system binary (e.g. qemu-system-x86_64).
 * ERROR: app-emulation/qemu-2.0.0::gentoo failed (pretend phase):
 *   update your virt configs to not use qemu-kvm
 * 
 * Call stack:
 *   ebuild.sh, line  93:  Called pkg_pretend
 *   qemu-2.0.0.ebuild, line 225:  Called die
 * The specific snippet of code:
 *  die "update your virt configs to not use qemu-kvm"

I found this bug which explains the why but sadly not the how.
https://bugs.gentoo.org/show_bug.cgi?id=506566

I need to get rid of the reference to the /usr/bin/qemu-kvm shell script which 
is basically only a wrapper for "exec /usr/bin/qemu-system-x86_64 -machine 
accel=kvm "$@""

So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by 
"/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this 
error :(
"error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine 
accel=kvm -enable-kvm: No such file or directory"

How is this supposed to work? Do I need to create a custom shell skript or 
just use /usr/bin/qemu-system-x86_64 w/o the args an hope it  magically uses 
kvm acceleration?

thanks for the help!
heiko
-- 
Just go ahead and write your own multitasking multiuser os!
Worked for me all the times.
-- Linus Torvalds



Re: [gentoo-user] chown - not permited

2014-06-10 Thread Neil Bothwick
On Tue, 10 Jun 2014 13:33:28 -0600, Joseph wrote:

> >> I mount USB stick form camera and I can not change ownership (I'm
> >> login as root)

> >What filesystem does it contain and what mount options are you using?
> >Depending on the filesystem it can be possible to mount with
> >user/group permissions.  
> 
> One USB stick was ext2 the other was dos file system.  I have problem
> with dos.

FAT32, the DOS fs, does not have ownerships. You cannot change something
that isn't there.


-- 
Neil Bothwick

In the begining, there was nothing.
And God said "Let there be light" and there was light.
There was still nothing, but you could see it better.


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge util-linx; util-linux and sysvinit block eachother.

2014-06-10 Thread Neil Bothwick
On Tue, 10 Jun 2014 21:33:16 +0200, Alan McKinnon wrote:

> I'm an old fart, set in my ways, I found something long ago that works
> for me with unsufficient pain to provoke a change.

I clearly have a lower pain threshold than you :(
 
> So I ain't changin' :-)

Good thing it's an option then ;-)

And no, I don't have it turned on by default, but it is in my alias for a
world update - but not in my system alias update, I ain't that trusting...


-- 
Neil Bothwick

The thrill of victory, the agony of delete.


signature.asc
Description: PGP signature


Re: [gentoo-user] Systemd upower

2014-06-10 Thread Tom Wijsman
On Mon, 9 Jun 2014 18:43:04 +
Alan Mackenzie  wrote:

> Hello, Rick, thanks for the reply.
> 
> [... cut all the emerge output, quotes and text in between ...]
> 
> What the heck is going on, when a package management system can't even
> make a decision on which version of perl to use, and stick to that
> decision?  And it can only be described as a bug, that the
> gobbledegook "(no parents that aren't satisfied by other packages in
> this slot)" passes for a supposedly informative message.
> 
> Anyhow, thanks indeed for the help.  Maybe, someday in the distant
> future, I'll succeed in updating my Gentoo system after all.

To start with, please avoid using -p (--pretend); sometimes emerge will
continue regardless of what is displayed, which can help you forward.
Though, that still might imply that you need to resolve that output.

A very first thing you'll notice is that the Perl conflict seems to
suggest that there is an old Perl version installed and a new Perl
version scheduled to be merged.

When you do a merge of an individual package, it won't consider the
reverse dependencies of Perl and therefore it will result in a conflict
instead of upgrading the reverse dependencies of Perl.

A solution to this is to upgrade your entire system (@world) such that
your entire system is in a consistent and upgraded state; however, this
only is a way forward as long as it doesn't bring up a conflict.

So ... In order to proceed here, you have to unmerge sys-power/upower
(which you've already done) and mask sys-power/upower as well as
sys-apps/systemd (yet to do), then an `emerge -auvDNt @world` should
help you forward; if not, its output can help you bring it forward.

If there is a mention about backtracking, try --backtrack=9001 or so;
also, if it still tries to bring in sys-power/upower then you might
have an overlay that attempts to do this (sync and/or contact author).

As a result of the unmerge and mask, it picks upower-pm-utils for you.

> Have a great evening!

You too.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-user] Intel(R) C600 SAS Controller

2014-06-10 Thread Stefan G. Weichinger

additional infos from journalctl.

I don't like the fact with 512-byte logical blocks vs. 4096-byte
physical blocks ... sounds wrong, hm?

->

Jun 10 21:54:31 booze kernel: megaraid_sas :02:00.0: Controller
type: MR,Memory size is: 512MB
Jun 10 21:54:31 booze kernel: scsi7 : LSI SAS based MegaRAID driver
Jun 10 21:54:31 booze kernel: scsi 7:0:1:0: Direct-Access ATA
ST9500620NS  FTA7 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: scsi 7:0:2:0: Direct-Access ATA
ST9500620NS  FTA7 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: scsi 7:0:3:0: Direct-Access ATA
ST9500620NS  FTA7 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: scsi 7:0:4:0: Direct-Access ATA
ST9500620NS  FTA7 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: scsi 7:0:5:0: Direct-Access ATA
ST9500620NS  FTA7 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: scsi 7:0:6:0: Direct-Access ATA
ST9500620NS  FTA7 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: scsi 7:2:0:0: Direct-Access LSI
RAID 5/6 SAS 6G  2.13 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: sd 7:2:0:0: [sda] 1048576000 512-byte
logical blocks: (536 GB/500 GiB)
Jun 10 21:54:31 booze kernel: sd 7:2:0:0: Attached scsi generic sg2 type 0
Jun 10 21:54:31 booze kernel: scsi 7:2:1:0: Direct-Access LSI
RAID 5/6 SAS 6G  2.13 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: sd 7:2:0:0: [sda] 4096-byte physical blocks
Jun 10 21:54:31 booze kernel: sd 7:2:1:0: [sdb] 16777216 512-byte
logical blocks: (8.58 GB/8.00 GiB)
Jun 10 21:54:31 booze kernel: sd 7:2:1:0: [sdb] 4096-byte physical blocks
Jun 10 21:54:31 booze kernel: sd 7:2:1:0: Attached scsi generic sg3 type 0
Jun 10 21:54:31 booze kernel: sd 7:2:1:0: [sdb] Write Protect is off
Jun 10 21:54:31 booze kernel: sd 7:2:1:0: [sdb] Mode Sense: 1f 00 10 08
Jun 10 21:54:31 booze kernel: sd 7:2:1:0: [sdb] Write cache: disabled,
read cache: enabled, supports DPO and FUA
Jun 10 21:54:31 booze kernel: scsi 7:2:2:0: Direct-Access LSI
RAID 5/6 SAS 6G  2.13 PQ: 0 ANSI: 5
Jun 10 21:54:31 booze kernel: sd 7:2:2:0: [sdc] 2837446656 512-byte
logical blocks: (1.45 TB/1.32 TiB)
Jun 10 21:54:31 booze kernel: sd 7:2:2:0: [sdc] 4096-byte physical blocks
Jun 10 21:54:31 booze kernel: sd 7:2:2:0: [sdc] Write Protect is off
Jun 10 21:54:31 booze kernel: sd 7:2:2:0: [sdc] Mode Sense: 1f 00 00 08
Jun 10 21:54:31 booze kernel: sd 7:2:2:0: [sdc] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Jun 10 21:54:31 booze kernel: sd 7:2:2:0: Attached scsi generic sg4 type 0
Jun 10 21:54:31 booze kernel: sd 7:2:0:0: [sda] Write Protect is off
Jun 10 21:54:31 booze kernel: sd 7:2:0:0: [sda] Mode Sense: 1f 00 00 08
Jun 10 21:54:31 booze kernel: sd 7:2:0:0: [sda] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Jun 10 21:54:31 booze kernel:  sdb: unknown partition table
Jun 10 21:54:31 booze kernel: sd 7:2:1:0: [sdb] Attached SCSI disk
Jun 10 21:54:31 booze kernel:  sdc: unknown partition table
Jun 10 21:54:31 booze kernel: sd 7:2:2:0: [sdc] Attached SCSI disk
Jun 10 21:54:31 booze kernel:  sda:
Jun 10 21:54:31 booze kernel: sd 7:2:0:0: [sda] Attached SCSI disk
Jun 10 21:54:31 booze systemd[1]: Found device RAID_5_6_SAS_6G ROOT.





Re: [gentoo-user] Intel(R) C600 SAS Controller

2014-06-10 Thread Stefan G. Weichinger
Am 27.05.2014 15:03, schrieb Stefan G. Weichinger:

>> way too slow ...
> 
> I think I have some IO-topic going on ... very likely some mismatch of
> block sizes ...
> 
> the hw-raid, then LVM, then the snapshot on top of that ... and a
> filesystem with properties as target ... oh my.
> 
> Chosing noop as IO-scheduler helps a bit but maybe I have to roll back
> and rebuild one of the HW-RAID-Arrays with a different blocksize.

back from short vacation and re-attacking this one ...

I am not sure if I set up the HW-RAIDs correctly and want to move data
away from the LVM (yes, again) to try to rebuild the array /dev/sdc

I have:

# lsblk -o NAME,FSTYPE,UUID,SIZE,TYPE,MOUNTPOINT,LABEL,MODEL,PHY-SEC,MIN-IO
NAME   FSTYPE  UUID
SIZE TYPE MOUNTPOINT  LABEL  MODELPHY-SEC MIN-IO
sdabtrfs   9133c469-df1e-45f5-a09f-d1b9c75c69da
500G disk /mnt/defvol ROOT   RAID 5/6 SAS 6G 4096   4096

sdbswap102d41a8-848d-4525-b39e-d9b543355b71
  8G disk [SWAP]  SWAP   RAID 5/6 SAS 6G 4096   4096

sdcLVM2_member
Z2LEVf-ZJch-cqi3-GVob-Jpd2-eweJ-sDtW7H   1,3T disk
RAID 5/6 SAS 6G 4096   4096
├─vg01-amhold  xfs 96b7395b-6e81-4660-9459-6a7ad83d8861
400G lvm  /mnt/amhold AMHOLD 4096   4096
└─vg01-winserver_disk0
  244,1G lvm 4096   4096



(sorry for the ugly format ... should I post a URL?)

Is the value for PHY-SEC my problem? The 4 MB ... ?

-

So sdc is a PV in VG vg01 ... which contains a KVM-diskimage

/dev/vg01/winserver_disk0

I use the noop scheduler btw ...

I try a dd (or ddrescue) from that LV to somewhere else and only get
around 1-5 MB/s ... this takes way too long.

--- example with external disk as target:

ddrescue -v --block-size=4M  /dev/vg01/winserver_disk0
/mnt/ext/virt-backup/windows-server/windows-server_vda.img

tried local root-fs as target, different block sizes etc.

---

The system is an updated and stable gentoo amd64 box ->

# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17,
3.12.21-gentoo-r1 x86_64)
=
System uname:
Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-2407_0_@_2.20GHz-with-gentoo-2.2
KiB Mem:16413444 total,   9252100 free
KiB Swap:8388604 total,   8388604 free
Timestamp of tree: Tue, 10 Jun 2014 07:30:01 +
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:  4.2_p45
dev-lang/python:  2.7.6, 3.2.5-r2, 3.3.3
dev-util/cmake:   2.8.11.2
dev-util/pkgconfig:   0.28
sys-apps/baselayout:  2.2
sys-apps/openrc:  0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf:   2.69
sys-devel/automake:   1.13.4
sys-devel/binutils:   2.23.2
sys-devel/gcc:4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4.2
sys-devel/make:   3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:   2.17
Repositories: gentoo hiro-oops-intern
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news notitles
parallel-fetch preserve-libs protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org";
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://172.32.99.6/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm
iconv ipv6 mmx modules multilib ncurses nls nptl openmp pam pcre
readline session sse sse2 ssl systemd tcpd udev unicode zlib"
ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci" APACHE2_MODULES="alias cgi headers filter deflate perl"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon
braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load
memory rrdtool swap syslog" CURL

Re: [gentoo-user] chown - not permited

2014-06-10 Thread Alan McKinnon
On 10/06/2014 21:33, Joseph wrote:
> On 06/10/14 22:50, the wrote:
>> On 06/10/14 22:37, Joseph wrote:
>>> I mount USB stick form camera and I can not change ownership (I'm
>>> login as root)
>>>
>>> drwxr-xr-x 9 root root 32768 Nov 18  2013 DCIM -rwxr-xr-x 1 root
>>> root 4 Nov 21  2013 _disk_id.pod drwxr-xr-x 2 root root 32768
>>> Aug 14  2013 LOST.DIR
>>>
>>> I can read and write another USB stick but others I can not.  How
>>> to control it?
>>>
>> What filesystem does it contain and what mount options are you using?
>> Depending on the filesystem it can be possible to mount with
>> user/group permissions.
> 
> One USB stick was ext2 the other was dos file system.  I have problem
> with dos.
> I have commentd out in fstab:
> /dev/sdb1/media/stickautonoauto,rw,user0  0
> 
> and let udisks mange it.  It works.
> Except that now I have ugly long names, for ext2 I get:
> /run/media/joseph/2f5fc53e-4f4c-4e74-b9c4-fca316b47fea
> 
> for dos I get:
> /run/media/joseph/3136-3934
> 
> with fstab entry they all were mounted under: /media/stick
> 


Those long names are filesystem id's and volume labels. You didn't tell
udisks what to call the mount point so it has picked the only thing it
has available - the ID of the filesystem.

fstab is a really bad tool for this, it does not apply the rules to your
USB sticks, it applies them to anything that just happens to get node
/dev/sdb1. Don't assume that will *always* be a portable usb stick,
because it won't.

Read the udisks documentation to find out how to customize naming of
mount points.





-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] emerge util-linx; util-linux and sysvinit block eachother.

2014-06-10 Thread Alan McKinnon
On 10/06/2014 20:29, Neil Bothwick wrote:
> On Tue, 10 Jun 2014 19:06:19 +0200, Alan McKinnon wrote:
> 
>>> What's not to like? Do you like a long emerge list aborting as soon as
>>> you turn your back because of a missing patch file in a minor package?
>>
>> Yes, exactly. For two reasons:
>>
>> 1. In the vast majority of cases, there's something to deal with and I
>> like to deal with it now. Missing patch files are comparatively rare for
>> me, whereas X doesn't build with the latest version of Y is somewhat
>> common. I'd rather mask the new version of Y and let portage re-figure
>> things out.
> 
> Yes, but the packages that continue have nothing to do with the error, so
> it makes sense to get them out the way so only the problem packages are
> left. Also, when there's yet-another-bloody-chromium-update and I set it
> running and go to do something useful, I don't want to come back two
> hours later to find it didn't even try to build chromium because
> sys-unrelated/foo failed.
> 
> Also, occasionally, I find that running the update again compiles the
> program correctly this time. This happens quite often with KDE updates
> when kdm and one or two others fail on the first pass, but work next
> time.
> 
>> 2. My over-the-top OCDness won't let me leave the bloody thing alone and
>> let it finish, if I know there's an error in there I feel compelled to
>> hit Ctrl-C and find out what the error is :-)
> 
> I understand that only too well, but I find it less destructive to look
> at the log for the failed build while the others continue :P
> 
> 


I understand you completely, and I also understand Alan completely :-)

I'm an old fart, set in my ways, I found something long ago that works
for me with unsufficient pain to provoke a change.

So I ain't changin' :-)



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] chown - not permited

2014-06-10 Thread Joseph

On 06/10/14 22:50, the wrote:

On 06/10/14 22:37, Joseph wrote:

I mount USB stick form camera and I can not change ownership (I'm
login as root)

drwxr-xr-x 9 root root 32768 Nov 18  2013 DCIM -rwxr-xr-x 1 root
root 4 Nov 21  2013 _disk_id.pod drwxr-xr-x 2 root root 32768
Aug 14  2013 LOST.DIR

I can read and write another USB stick but others I can not.  How
to control it?


What filesystem does it contain and what mount options are you using?
Depending on the filesystem it can be possible to mount with
user/group permissions.


One USB stick was ext2 the other was dos file system.  I have problem with dos.
I have commentd out in fstab:
/dev/sdb1   /media/stickautonoauto,rw,user0 
 0

and let udisks mange it.  It works.
Except that now I have ugly long names, for ext2 I get:
/run/media/joseph/2f5fc53e-4f4c-4e74-b9c4-fca316b47fea

for dos I get:
/run/media/joseph/3136-3934

with fstab entry they all were mounted under: 
/media/stick


--
Joseph



Re: [gentoo-user] chown - not permited

2014-06-10 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06/10/14 22:37, Joseph wrote:
> I mount USB stick form camera and I can not change ownership (I'm
> login as root)
> 
> drwxr-xr-x 9 root root 32768 Nov 18  2013 DCIM -rwxr-xr-x 1 root
> root 4 Nov 21  2013 _disk_id.pod drwxr-xr-x 2 root root 32768
> Aug 14  2013 LOST.DIR
> 
> I can read and write another USB stick but others I can not.  How
> to control it?
> 
What filesystem does it contain and what mount options are you using?
Depending on the filesystem it can be possible to mount with
user/group permissions.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJTl1OEAAoJEK64IL1uI2hat9IH/Rzqea0KLW1x8a93yyrhUmmC
De97fC3abcl5y+Fw06tqYibSgAfsLi+coiy9rBHIweMI9NP249wD1YYPD0ta4Ley
iQez1yA8pDpbeZD5tJHM09o8zVxVHxMMCCdTJdCXu6XePgodv469FwTJMIkxzFA+
SBQ0Z7iduU4dNM68+elwgQrJd30zR/YzPYFRYKjw5fRv6v/ooF41psdtq3uIkBJh
RiVu81lJaxEGGtVFdv3GOhvNvoECFi7QRuF5rYbe7vaiyCCIw6N/bG3UY4tVoqXa
9dy0K9GmsNz6mHYLUpxh7XjhEfk+G/CQ+AIpiO5PEbO1nnN8Pcl6RnzeCKDRDqs=
=StNj
-END PGP SIGNATURE-



[gentoo-user] chown - not permited

2014-06-10 Thread Joseph

I mount USB stick form camera and I can not change ownership (I'm login as root)

drwxr-xr-x 9 root root 32768 Nov 18  2013 DCIM
-rwxr-xr-x 1 root root 4 Nov 21  2013 _disk_id.pod
drwxr-xr-x 2 root root 32768 Aug 14  2013 LOST.DIR

I can read and write another USB stick but others I can not.  How to control it?

--
Joseph



Re: [gentoo-user] emerge util-linx; util-linux and sysvinit block eachother.

2014-06-10 Thread Neil Bothwick
On Tue, 10 Jun 2014 19:06:19 +0200, Alan McKinnon wrote:

> > What's not to like? Do you like a long emerge list aborting as soon as
> > you turn your back because of a missing patch file in a minor package?
> 
> Yes, exactly. For two reasons:
> 
> 1. In the vast majority of cases, there's something to deal with and I
> like to deal with it now. Missing patch files are comparatively rare for
> me, whereas X doesn't build with the latest version of Y is somewhat
> common. I'd rather mask the new version of Y and let portage re-figure
> things out.

Yes, but the packages that continue have nothing to do with the error, so
it makes sense to get them out the way so only the problem packages are
left. Also, when there's yet-another-bloody-chromium-update and I set it
running and go to do something useful, I don't want to come back two
hours later to find it didn't even try to build chromium because
sys-unrelated/foo failed.

Also, occasionally, I find that running the update again compiles the
program correctly this time. This happens quite often with KDE updates
when kdm and one or two others fail on the first pass, but work next
time.

> 2. My over-the-top OCDness won't let me leave the bloody thing alone and
> let it finish, if I know there's an error in there I feel compelled to
> hit Ctrl-C and find out what the error is :-)

I understand that only too well, but I find it less destructive to look
at the log for the failed build while the others continue :P


-- 
Neil Bothwick

Evolution stops when stupidity is no longer fatal!


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge util-linx; util-linux and sysvinit block eachother.

2014-06-10 Thread Alan McKinnon
On 10/06/2014 16:27, Neil Bothwick wrote:
> On Tue, 10 Jun 2014 15:35:57 +0200, Alan McKinnon wrote:
> 
>> I know about --keep-going, I don't like it much.
> 
> What's not to like? Do you like a long emerge list aborting as soon as
> you turn your back because of a missing patch file in a minor package?
> 
> 

Yes, exactly. For two reasons:

1. In the vast majority of cases, there's something to deal with and I
like to deal with it now. Missing patch files are comparatively rare for
me, whereas X doesn't build with the latest version of Y is somewhat
common. I'd rather mask the new version of Y and let portage re-figure
things out.

2. My over-the-top OCDness won't let me leave the bloody thing alone and
let it finish, if I know there's an error in there I feel compelled to
hit Ctrl-C and find out what the error is :-)



-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Re: x11-misc/synergy

2014-06-10 Thread James
Daniel Jackson  gmail.com> writes:

> 
> 
> Can't live without it. I use it at work and at home. I actually paid for
the premium for the shared clipboard and to keep the program going. 

> > Pros and Cons?
> Its easy to use, doesn't get in your way, and maybe two cons,it ask
> you to pay if you want the shared clipboard feature, only one computer
> acts like server so the control its :
> laptop -> desktop

Hey thanks guys for the feedback. I'm going to give it whirl, when the
zenbook returns from repairs of a faulty keyboard. Since Gentoo is
my main system, I going to use workstation --> doz lappy.



thx
James




[gentoo-user] Re: How to extend the tmux status 'title' for each pane or window

2014-06-10 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 06/07/2014 06:33 AM, Mick wrote:
> On Tuesday 03 Jun 2014 15:16:56 Stroller wrote:
>> On Tue, 3 June 2014, at 6:59 am, Mick 
>> wrote:
 … I have:
 
 … status-left "#[fg=blue]#T" … status-right "#[fg=blue][#S]" 
 …
>>> 
>>> Thanks Stroller,
>>> 
>>> On the left status bar I see this:
>>> 
>>> [0] 0:bash*
>>> 
>>> with one window open.  As I create more windows it adds to it
>>> like so:
>>> 
>>> [0] 0:bash  1:bash- 2:bash*
>>> 
>>> 
>>> The right hand side shows the prompt, or command being run, but
>>> not all of it if it is too long.
>>> 
>>> … status-left "[#S]" … status-right ""#22T" %H:%M %d-%b-%y"
>> 
>> It looks to me like I've merely swapped left and right panes
>> because, presumably, I thought it looked better that way.
>> 
>> And I've removed the clock - that's one way you could reclaim
>> some screen space.
> 
> Right, on my default setup the clock is on the right, the number of
> windows on the left and the title in the middle.
> 
> As is the title shows:
> 
> "root@compaq:/usr/src/l"
> 
> instead of "root@compaq:/usr/src/linux".  This is what I mean of it
> being cut short.
> 
> 
> [snip ...]
>> As I say, I don't seem to be firing on all cylinders right now,
>> but it doesn't look to me like the "commands being run" are shown
>> where you say they are, not on the far right, at least.
>> 
>> I think they're shown in the *middle* section of the status bar.
> 
> Yes, they are shown in the middle, but on a 82x25 pixel terminal
> the title is displayed about 2/3 towards the right of the status
> bar, right against the clock.  See attached screenshot.
> 
> Running tmux set -g status-right "#32T" removed the clock and
> increased the real estate for the title bar.
> 
> Thanks again Stroller.
> 

The "#22T" means (I think) to show the *first 22 characters* of the
title, cutting it off if it is too long.  You may just want to
increase that number to something that matches the room you have
available.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJTlyfpAAoJELHSF2kinlg49csP/1XsKO/l2RGUfMd7/VlKV7Iq
z6FdY/9qMepDvk4fZgkGB4wvsA45H8i2Dgj6Ua8PwsMW0NOo11McHGkBTwWzlZln
bJKGX4+on+vu24omf7amTpRddiDNXIfyE1jn0E0kgcpLGOqAGf8yf3YLWLCHe2Ao
MVariiSq3d3+QtUzf9NSXtCVZTsBmZAS63aYa9IRNikNfjVgiMIBUuhyrMZzaRCQ
/cwEH2xhiZLcuiSkJ7299r9OoFipSYg2gzgjz5EBpimxpxnWPPazlr2qQH10kGXX
VL4B3YX3RFpFzRJ1lyvBEyninCx9+aJcyx+WlkF3g8NpymwvRRJrlYMpwqQkEuhD
2ckNQLQBGdvv/XRpGPZqMedsW3Zk6tFWp8r4OrSrRRI+jBZhqqV8/edEQAqW8Zw2
S+qjO8jviWrahEXjcbMSuVVrsy0Dr9muYIwY1wLRR3fgpQwFA4VztwCTPTft2/40
rh0A3PoVdHO/6Z8eI08pQsno+DrxCuDNQAq6CtULGMLmiur9U5iT9xReNQgnz6YV
QGvmSw141fp6kzvi1zPpby/O88d2XJR44ovTcbJBOH3JtRGb8aOLBJeenQDwk3Wu
O6DhgvqdW8/K8yChvZWbWEECJ9GItINungrXEKa+HQbrqxi2AB7ccxJfJTqinwUd
oqGlxGJod38/7IhGX2MX
=RisW
-END PGP SIGNATURE-



Re: [gentoo-user] emerge util-linx; util-linux and sysvinit block eachother.

2014-06-10 Thread Neil Bothwick
On Tue, 10 Jun 2014 15:35:57 +0200, Alan McKinnon wrote:

> I know about --keep-going, I don't like it much.

What's not to like? Do you like a long emerge list aborting as soon as
you turn your back because of a missing patch file in a minor package?


-- 
Neil Bothwick

How is it that we put man on the moon before we figured out it would be a
good idea to put wheels on luggage?


signature.asc
Description: PGP signature


Re: [gentoo-user] postgresql-9.1 start - ERROR

2014-06-10 Thread Joseph

On 06/10/14 14:54, J. Roeleveld wrote:

On Monday, June 09, 2014 10:12:25 PM Joseph wrote:

On 06/09/14 22:08, Joseph wrote:
>After upgrade when I try to start postgresql I get error:
>
>/etc/init.d/postgresql-9.1 start
>
> * Starting PostgreSQL ...
> * start-stop-daemon: did not create a valid pid in
> `/var/lib/postgresql/9.1/data/postmaster.pid' * Check the log for a
> possible explanation of the above error.
> * /var/lib/postgresql/9.1/data/postmaster.log
>
>[>
>!! ]
>
> * ERROR: postgresql-9.1 failed to start
>
>What is is looking for?

more information from:
/var/lib/postgresql/9.1/data/postmaster.log

LOG:  database system was shut down at 2014-06-08 09:05:33 MDT
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
LOG:  received smart shutdown request
LOG:  autovacuum launcher shutting down
LOG:  shutting down
LOG:  database system is shut down
FATAL:  exceeded maxAllocatedDescs (16) while trying to open directory
"/usr/share/zoneinfo" FATAL:  exceeded maxAllocatedDescs (16) while trying
to open directory "/usr/share/zoneinfo" FATAL:  exceeded maxAllocatedDescs
(16) while trying to open directory "/usr/share/zoneinfo" FATAL:  exceeded
maxAllocatedDescs (16) while trying to open directory "/usr/share/zoneinfo"



Joseph,

Known issue.
It is unclear if the issue is with PostgeSQL or timezone data or how Gentoo
packages it.

See bug:
https://bugs.gentoo.org/show_bug.cgi?id=486556

I see 3 possible solutions:
1) Upgrade to PostgreSQL 9.2
2) Downgrade timezone-data to: sys-libs/timezone-data-2013c
3) manually delete the problematic symlink: /usr/share/zoneinfo/posix

I have NOT tested any of these options myself. It is up to you to test this on
your system.
I think options 1 or 2 have the least amount of risk.

--
Joost


Thank you for the information. I removed the link /usr/share/zoneinfo/posix
and it worked.  I don't know what this posix link for?

On my system I only have stable postgresql 9.1 and 9.3 I don't have 9.2

[D] dev-db/postgresql-server
Available versions:  
(8.3)  8.3.18 8.3.19 ~8.3.19-r1 8.3.20

(8.4)  8.4.11 8.4.12 ~8.4.12-r1 8.4.13
(9.0)  9.0.7 9.0.8 ~9.0.8-r1 9.0.9
(9.1)  9.1.3 9.1.4 ~9.1.4-r1 9.1.5
(9.2)  ~9.2.0_beta1-r1 ~9.2.0_beta2 ~9.2.0_beta2-r1 ~9.2.0_beta3 ~9.2.0_rc1
(9.3)  **


--
Joseph



Re: [gentoo-user] emerge util-linx; util-linux and sysvinit block eachother.

2014-06-10 Thread Alan McKinnon
On 10/06/2014 12:36, thegeezer wrote:
>> +1 to just letting portage work with world.
>> >
>> > What I have found useful when trying to do what Alan is attempting, is
>> > to select a chunk of packages at a time (like say all of kde, then a
>> > bunch of daemons). If I get a block, drop it and try the next chunk.
> you might also like to know about my favourite flag "keep-going", which
> drops the failed emerge and goes to the next non-dependent on what failed.
> emerge -uDNa --keep-going
> 


I know about --keep-going, I don't like it much.

It's also a different topic, what's being mentioned here is how to get
past the bit where portage fails to give an emerge list due to blockers.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] postgresql-9.1 start - ERROR

2014-06-10 Thread J. Roeleveld
On Monday, June 09, 2014 10:12:25 PM Joseph wrote:
> On 06/09/14 22:08, Joseph wrote:
> >After upgrade when I try to start postgresql I get error:
> >
> >/etc/init.d/postgresql-9.1 start
> >
> > * Starting PostgreSQL ...
> > * start-stop-daemon: did not create a valid pid in
> > `/var/lib/postgresql/9.1/data/postmaster.pid' * Check the log for a
> > possible explanation of the above error.
> > * /var/lib/postgresql/9.1/data/postmaster.log 
> >  
> >[>
> >!! ]
> >
> > * ERROR: postgresql-9.1 failed to start
> >
> >What is is looking for?
> 
> more information from:
> /var/lib/postgresql/9.1/data/postmaster.log
> 
> LOG:  database system was shut down at 2014-06-08 09:05:33 MDT
> LOG:  database system is ready to accept connections
> LOG:  autovacuum launcher started
> WARNING:  pgstat wait timeout
> WARNING:  pgstat wait timeout
> LOG:  received smart shutdown request
> LOG:  autovacuum launcher shutting down
> LOG:  shutting down
> LOG:  database system is shut down
> FATAL:  exceeded maxAllocatedDescs (16) while trying to open directory
> "/usr/share/zoneinfo" FATAL:  exceeded maxAllocatedDescs (16) while trying
> to open directory "/usr/share/zoneinfo" FATAL:  exceeded maxAllocatedDescs
> (16) while trying to open directory "/usr/share/zoneinfo" FATAL:  exceeded
> maxAllocatedDescs (16) while trying to open directory "/usr/share/zoneinfo"


Joseph,

Known issue.
It is unclear if the issue is with PostgeSQL or timezone data or how Gentoo 
packages it.

See bug:
https://bugs.gentoo.org/show_bug.cgi?id=486556

I see 3 possible solutions:
1) Upgrade to PostgreSQL 9.2
2) Downgrade timezone-data to: sys-libs/timezone-data-2013c
3) manually delete the problematic symlink: /usr/share/zoneinfo/posix

I have NOT tested any of these options myself. It is up to you to test this on 
your system.
I think options 1 or 2 have the least amount of risk.

--
Joost



Re: [gentoo-user] Logitech C920 HD Pro Webcamera ... view: YES record: NO ?

2014-06-10 Thread thegeezer
On 06/07/2014 04:18 PM, meino.cra...@gmx.de wrote:
> Hi,
>
> the Logitech c920 HD Pro webcam is able to deliver 1920xq080x30fps
> (H.264).
>
> Now I am trying to display (watch) and record the video stream.
> Currently I am using guvcview.
>
> Most of the time watching is not an problem: no video delays, no
> frame drops, no ultra low fps...wonderful!
>
> But beware of pressing the "record" botton...
>
> KABOOM! guvcview ends with an error message, which does not say
> anythong to me...:
>
> (guvcview:19104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 
> 'GTK_IS_WIDGET (widget)' failed
> initiating video file context
> STREAM: add stream 0 to stream list
>
> I tried "cheese" which interestingly dies similiarily...
>
> Since there a zillions of things to tweak with the video and audio
> setting I still hope that someone got this nice camera running and
> recording with full hd and audio 
>
> ?
>
> Any ide to fix that?
>
> Best regards,
> mcc
>
>
>
>
>
have you tried something like media-video/motion  which would do much of
this for you (although it would qualify "any motion" as "interesting")
i just thought that if it is a daemon in the background always with the
record set this might work ...



Re: [gentoo-user] Ifplugd breaks services

2014-06-10 Thread thegeezer
On 06/08/2014 10:25 AM, Matti Nykyri wrote:
> Hi
>
> I also have other problems in my life. One of them is on one of my gentoo 
> server. This server has two network cards one serves intranet and the other 
> internet. The on that is on the internet is attached to a cable modem. The 
> modem is buggy and some times reboots it self losing the link so I have 
> ifplugd there get new address via dhcp immediately. Intranet card is 
> configured not to use ifplugd. I'm using OpenRC.
>
> The problems are related to iptables and samba.
>
> Samba: when ifplugd runs down the internet card samba is killed. This 
> shouldn't happen. Samba is configured only to use intranet card. Samba always 
> fails to start when ifplugd starts the internet card. Manual starting is 
> required.
>
> Iptables: the system uses new nic names (enp7s0 etc). Iptables has them 
> correctly in the rules and in rules save. However when ifplugd cycles the 
> internet nic all the nic names in the in-kernel rules change to eth0 an eth1. 
> I need to zap iptables and then start it to reset the rules. 
>
> Any suggestions where to start? Or just disable ifplugd?
>
> --
> Matti
I used to really like ifplugd.  mostly for the audible beep when things
are disconnected as it's easier to diagnose from afar.
being able to up/down interfaces based on connection state was also
great for dynamic routing when combined with openrc/netifrc
however, lack of clear config, no way to at runtime remove it from an
interface and just complete confusion over software based interfaces
i.e. gre tunnels or even macvlans all mean it is slowly being
removed from my boxen.




Re: [gentoo-user] emerge util-linx; util-linux and sysvinit block eachother.

2014-06-10 Thread thegeezer
On 06/09/2014 10:01 PM, Alan McKinnon wrote:
> On 09/06/2014 21:15, Andreas K. Huettel wrote:
>> Am Montag, 9. Juni 2014, 13:28:03 schrieb Alan Mackenzie:
>>> Hi, Gentoo!
>>>
>>> The latest episode of my months long update saga.
>>>
>> [snip]
>>> This all seems crazy.  Keeping Gentoo up to date shouldn't be this
>>> difficult.
>> You are making it artificially complicated by doing it piecewise. Whenever 
>> you 
>> try to update only part of your tree, emerge cannot do changes anywhere 
>> else, 
>> which means that other stuff can block your intended changes.
>>
>> emerge can do a lot more if you let it run over the whole world set. 
>>
>> [which doesnt mean that blockers are impossible then. just that emerge has a 
>> lot more free hand to work around them.]
>>
>> emerge -uDNavt --backtrack=100 world
>>
>
> +1 to just letting portage work with world.
>
> What I have found useful when trying to do what Alan is attempting, is
> to select a chunk of packages at a time (like say all of kde, then a
> bunch of daemons). If I get a block, drop it and try the next chunk.

you might also like to know about my favourite flag "keep-going", which
drops the failed emerge and goes to the next non-dependent on what failed.
emerge -uDNa --keep-going

> Don't try fiddle, just proceed with things that will update without
> tripping over everything else.
>
> In this way you can whittle down the gigantic list of things portage
> wants to update bit by bit till a world update gets to a manageable length.
>
> Still easier to just do everything at once
>
>
>