Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Alan McKinnon
On 18/05/2015 20:21, Nuno Magalhães wrote:
 On Mon, May 18, 2015 at 2:08 AM, Rich Freeman ri...@gentoo.org wrote:
 On the other hand, both btrfs and zfs will get you a level of data
 security that you simply won't get from ext4+lvm+mdadm - protection
 from silent corruption.
 
 That's one of the advantages i see in ZFS. Do you use it frequently?
 Can anyone comment on its memory usage (without dedicated SSDs for
 ARC)?


ZFS needs a lot of memory to function well. It does work and run with
far less memory than recommended, but doesn't run *well* - performance
is impaired.

I don't recall the exact formula (insufficiently caffeinated at 8am) but
8G is about your minimum for a decent storage device




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




Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Peter Humphrey
On Sunday 17 May 2015 21:36:57 Stefan G. Weichinger wrote:
 Am 2015-05-17 um 18:05 schrieb Peter Humphrey:
  Maybe I will. I suspect dodgy disks and I have a pair of new SSDs on the
  way. Perhaps it's time for a rethink.
 
 perhaps one more thought to be thought right now:

(I overlooked this at the time.)

 skip mdadm and lvm ... and try btrfs as you have the chance on shiny new
 hardware

I also have a spare external hard disk, which I could experiment with for 
snapshots etc.

 less layers, more features ... I definitely recommend giving this a try.

I do like the idea of having fewer layers and less complication. I'm doing a 
bit of reading while awaiting the bits - the SSDs are here; all I need now is 
the mounting brackets.

 tl;dr ... maybe you listed some reason to stick with mdadm/lvm2/xfs etc
 ... sorry in that case

No, it's just what I have at the moment.

-- 
Rgds
Peter




Re: [gentoo-user] Recommendations for WLAN-AP?

2015-05-19 Thread Alec Ten Harmsel


On 05/18/2015 06:47 PM, waben...@gmail.com wrote:
 Paul Tobias tobias@gmail.com wrote:

 On 2 May 2015 at 17:17, waben...@gmail.com wrote:

 Volker Armin Hemmann volkerar...@googlemail.com wrote:

 tplink archer series?

 can cope with 20 laptops at the same time easily and is not too
 expensiv.
 Thanks Volker. I will have a look at it.

 --
 Regards
 wabe


 Hi wabe, did you decide yet? You might find this article useful:
 http://arstechnica.com/gadgets/2015/03/from-the-wirecutter-the-best-wi-fi-router-for-most-people-anyway/

 Before that article came out, I also arrived at the same conclusion:
 the TP-Link Archer C7 v2 is the best for me. My requirements also
 included OpenWRT support.
 Sorry for my late response, but I was on a holiday trip till last night.

 I never thought about using OpenWRT before I read your post, but I 
 wish I had. I already bought two ZyXEL NWA1123-AC. Unfortunately it 
 seems not possible to run OpenWRT on these devices. 

 I will call the dealer tomorrow. I hope that it is possible to exchange 
 the devices because I still have not opened the packagings.

 --
 Regards
 wabe



I'm a little late to the conversation, but my roommates and I use a $20
TP-LINK with DD-WRT as an AP because it has better wireless than my $100
Netgear router. The routing part of the TP-LINK isn't nearly as good
(chokes on more than 10 devices), but the Netgear for routing with the
TP-LINK for an AP is a perfect combo.

Alec



Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Neil Bothwick
On Tue, 19 May 2015 10:02:38 +0100, Peter Humphrey wrote:

  skip mdadm and lvm ... and try btrfs as you have the chance on shiny
  new hardware  
 
 I also have a spare external hard disk, which I could experiment with
 for snapshots etc.

Snapshots are subvolumes in btrfs, so they stay in the same filesystem.
That's why they are so fast.

It's a similar situation with ZFS.


-- 
Neil Bothwick

Stop tagline theft! Copyright your tagline (c)


pgpotFS3Mpi7h.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] (OT) Recommendations for WLAN-AP?

2015-05-19 Thread wabenbau
Paul Tobias tobias@gmail.com wrote:

 On 2 May 2015 at 17:17, waben...@gmail.com wrote:
 
  Volker Armin Hemmann volkerar...@googlemail.com wrote:
 
   Am 27.04.2015 um 20:37 schrieb waben...@gmail.com:
I'm searching for a new WLAN-AP that is fast, powerful and
reliable. I can remember that there were some recommendations in
this list some weeks/months ago, but I can't find them.
   
Regards
wabe
   
   
  
   tplink archer series?
  
   can cope with 20 laptops at the same time easily and is not too
   expensiv.
 
  Thanks Volker. I will have a look at it.
 
  --
  Regards
  wabe
 
 
 Hi wabe, did you decide yet? You might find this article useful:
 http://arstechnica.com/gadgets/2015/03/from-the-wirecutter-the-best-wi-fi-router-for-most-people-anyway/
 
 Before that article came out, I also arrived at the same conclusion:
 the TP-Link Archer C7 v2 is the best for me. My requirements also
 included OpenWRT support.

I have two questions about the Archer C7 v2.

1. Can the stock firmware handle multiple SSIDs and VLANs?
2. Can OpenWRT on the Archer C7 handle multiple SSIDs and VLANs?

--
Regards
wabe



Re: [gentoo-user] Brother missed in cups listing

2015-05-19 Thread Manuel Schönlaub
Hi,

Did you install the correct driver from Brother? Gutenprint seems not to
have support for your printer atm. Has it worked ever before (e.g. it
stopped working after an upgrade of so?)

Regards,
MS
Am 19.05.2015 15:51 schrieb Silvio Siefke siefke_lis...@web.de:

 Hello,

 i has a problem, my printer Brother MFC-7320 is not listed in cups when
 i add a printer. Not on my Acer Aspire and not on Dell Inspiron. One ok,
 maybe printer is defect, but on all laptops then something is not okay.

 Has someone an idea what is wrong now?

 Thank you  Nice Day
 Silvio

 /var/log/messages
 May 18 22:10:46 gentoomobile kernel: usb 3-1: new full-speed USB device
 number 6 using uhci_hcd
 May 18 22:10:47 gentoomobile kernel: usb 3-1: New USB device found,
 idVendor=04f9, idProduct=01eb
 May 18 22:10:47 gentoomobile kernel: usb 3-1: New USB device strings:
 Mfr=0, Product=0, SerialNumber=3
 May 18 22:10:47 gentoomobile kernel: usb 3-1: SerialNumber: 000M9N691511
 May 18 22:10:46 gentoomobile mtp-probe[3435]: checking bus 3, device 6:
 /sys/devices/pci:00/:00:1d.1/usb3/3-1
 May 18 22:10:46 gentoomobile mtp-probe[3435]: bus: 3, device: 6 was not an
 MTP device

 dmesg
 [ 8300.874141] usb 3-1: new full-speed USB device number 6 using uhci_hcd[
 8301.025146] usb 3-1: New USB device found, idVendor=04f9, idProduct=01eb[
 8301.025157] usb 3-1: New USB device strings: Mfr=0, Product=0,
 SerialNumber=3[ 8301.025163] usb 3-1:SerialNumber: 000M9N691511

 gentoomobile cups # uname -a
 Linux gentoomobile 4.0.4-ck1

 siefke ~ $  cat .src/kernel/linux-4.0.4/.config | grep USB_PRINTER
 # CONFIG_USB_PRINTER is not set

 Is has try with USB in kernel active and in cups deactivated and other
 way too. Nothing change.


 siefke ~ $  equery u cups | grep usb
 +usb


 # lsusb
 siefke /usr/portage/net-print/cups $  sudo lsusb
 Passwort:
 Bus 005 Device 001: ID 04f9:01eb Brother Industries, Ltd MFC-7320




Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Rich Freeman
On Tue, May 19, 2015 at 6:13 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Tue, 19 May 2015 10:02:38 +0100, Peter Humphrey wrote:

  skip mdadm and lvm ... and try btrfs as you have the chance on shiny
  new hardware

 I also have a spare external hard disk, which I could experiment with
 for snapshots etc.

 Snapshots are subvolumes in btrfs, so they stay in the same filesystem.
 That's why they are so fast.

 It's a similar situation with ZFS.

Yup.  In both cases they're copy-on-write, so they don't consume
additional space except to the extent that things change.

Also, in both cases you can serialize a snapshot (either in its
entirety or as a diff vs a previous snapshot) and store it on separate
storage.  This is mainly done for backup (storing the serialized
files) or replication (replaying them onto another server with the
same filesystem).

But, neither ZFS nor btrfs are without issue on Linux, so I'd use care
in a production environment.  The btrfs issues tend to revolve around
stability, and the zfs issues tend to revolve around dealing with
out-of-mainline code and legal/license issues.

-- 
Rich



Re: [gentoo-user] Poor mans audio in the world of the great Jack D.

2015-05-19 Thread Meino . Cramer
Emanuele Rusconi ema...@gmail.com [15-05-19 03:01]:
 On 18 May 2015 at 19:54, meino.cra...@gmx.de wrote:
 
  Hi,
 
  From time to time I come across software, which directly wants
  to talks to good ole' alsa and get kicked by Sensei Jack D. for accessing
  a device, which already is occupied by him...
 
  Is there any way to go or any software to install which enables me to use
  Jack D.'ed software and alsa-acessing without shutting down and
  restarting that grandmaster Jack D. ?
 
  Thanks a lot for any Koan, which will light up my darkened ears!
  Best regards,
  Meino
 
 
 
 
 And so the wise ~/.asoundrc thus spake:
 
 
 ## http://jackaudio.org/faq/routing_alsa.html
 ## http://www.alsa-project.org/main/index.php/Asoundrc
 pcm.jackplug {
 type plug
 slave { pcm rawjack }
 hint { description JACK Audio Connection Kit }
 }
 pcm.rawjack {
 type jack
 playback_ports {
 0 system:playback_1
 1 system:playback_2
 }
 capture_ports {
 0 system:capture_1
 1 system:capture_2
 }
 }
 
 
 -- Emanuele Rusconi
 


Wise the words may sound and nice to hear.
But the shell spake

#qsstv
using visual class 4, id 2b
hijackWindow() context created for QSplashScreen(0x7ffecb5760c0) 1 
Created Window Surface FBO QSize(736, 330) with samples 8 
Card  0 name:  HDA ATI SB 
Card  1 name:  HDA NVidia 
Card  2 name:  HDA NVidia 
ALSA lib 
/var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm_dmix.c:1022:(snd_pcm_dmix_open)
 unable to open slave
Unable to open default: Device or resource busy 
hijackWindow() context created for mainWindow(0x1820730, name = MainWindow) 1 
Created Window Surface FBO QSize(897, 530) with samples 8 

The master control program (qsstv) raises its shield against Tron, displaying 
Sound card error: Device or resource busy.

And silence was the only voice heard by the folks...
And nothing was displayed anymore.









Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread gottlieb
On Tue, May 19 2015, Rich Freeman wrote:

 On Tue, May 19, 2015 at 11:22 AM,  gottl...@nyu.edu wrote:
 On Tue, May 19 2015, Peter Humphrey wrote:

 On Tuesday 19 May 2015 10:53:26 Rich Freeman wrote:
 On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk
 wrote:
  Incidentally, what's the received wisdom on frequency of file-system
  trimming on SSDs these days? I've seen values quoted between twice a day
  and once a week. And how does trimming affect btrfs?

 I included discard in fstab for my ssd filesystems, presumably
 following some installation guide.  For example I have

   /dev/sda5 / ext4noatime,discard   0 1
   /dev/vg/local /localext4noatime,discard   0 2

 Is it preferred to instead issue explicit trim's via cron?


 It depends.

 In theory giving your drive useful information about allocation now is
 better than giving it the information later.  The drive can make use
 of that information to improve performance.

 In practice some drives have brain-dead firmware and they'll do stupid
 things with that information.  If you trim part of an erase block, the
 drive should just file that info away and make use of that information
 when it can.  However, some drives will immediately copy/erase the
 rest of the block at that moment, which creates an unnecessary erase
 cycle and creates IO load at a moment that the drive is already busy.

 So, if your drive isn't brain-dead discard is better.  If your drive
 is brain-dead fstrim is almost as good if the drive isn't too full.
 I've yet to test discard and see how well it works.

Understood. Thank you.
allan



Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Peter Humphrey
On Tuesday 19 May 2015 10:53:26 Rich Freeman wrote:
 On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk 
wrote:
  Incidentally, what's the received wisdom on frequency of file-system
  trimming on SSDs these days? I've seen values quoted between twice a day
  and once a week. And how does trimming affect btrfs?
 
 I've been trimming mine daily, and I've yet to be able to distinguish
 it from a no-op.  As far as I can tell fstrim -v always outputs 0
 bytes trimmed.

I've just run fstrim manually on my LAN server, which is installed on ext4:
# /sbin/fstrim -av
/usr/local: 0 B (0 bytes) trimmed
/usr/portage/packages: 71.4 MiB (74878976 bytes) trimmed
/usr/portage: 389.3 MiB (408174592 bytes) trimmed
/var/cache/http-replicator: 0 B (0 bytes) trimmed
/var/cache/squid: 41.5 MiB (43532288 bytes) trimmed
/home: 123.1 MiB (129081344 bytes) trimmed
/: 698.9 MiB (732839936 bytes) trimmed

It's supposed to have done that at 01:15 on Saturday, but my KMail system is 
sick so I can't say what it actually did. Roll on new SSDs!

-- 
Rgds
Peter




Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Rich Freeman
On Tue, May 19, 2015 at 11:00 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote:
 On Tuesday 19 May 2015 10:53:26 Rich Freeman wrote:
 On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk
 wrote:
  Incidentally, what's the received wisdom on frequency of file-system
  trimming on SSDs these days? I've seen values quoted between twice a day
  and once a week. And how does trimming affect btrfs?

 I've been trimming mine daily, and I've yet to be able to distinguish
 it from a no-op.  As far as I can tell fstrim -v always outputs 0
 bytes trimmed.

 Ah, well that's quite different from my Atom box with its 64GB SSD; before I
 remove the -v a few weeks ago it was reporting many megabytes trimmed most
 times it ran. That's on ext4 and running Gentoo with http-replicator service.


So, I was inspired to look into this yet again.  Looks like it is the
subject of this:
https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg40618.html

It doesn't look like this is in 3.18 yet.  So, I'm basically running
without trimming.

-- 
Rich



Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Rich Freeman
On Tue, May 19, 2015 at 11:22 AM,  gottl...@nyu.edu wrote:
 On Tue, May 19 2015, Peter Humphrey wrote:

 On Tuesday 19 May 2015 10:53:26 Rich Freeman wrote:
 On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk
 wrote:
  Incidentally, what's the received wisdom on frequency of file-system
  trimming on SSDs these days? I've seen values quoted between twice a day
  and once a week. And how does trimming affect btrfs?

 I included discard in fstab for my ssd filesystems, presumably
 following some installation guide.  For example I have

   /dev/sda5 / ext4noatime,discard   0 1
   /dev/vg/local /localext4noatime,discard   0 2

 Is it preferred to instead issue explicit trim's via cron?


It depends.

In theory giving your drive useful information about allocation now is
better than giving it the information later.  The drive can make use
of that information to improve performance.

In practice some drives have brain-dead firmware and they'll do stupid
things with that information.  If you trim part of an erase block, the
drive should just file that info away and make use of that information
when it can.  However, some drives will immediately copy/erase the
rest of the block at that moment, which creates an unnecessary erase
cycle and creates IO load at a moment that the drive is already busy.

So, if your drive isn't brain-dead discard is better.  If your drive
is brain-dead fstrim is almost as good if the drive isn't too full.
I've yet to test discard and see how well it works.

-- 
Rich



Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Peter Humphrey
On Tuesday 19 May 2015 10:53:26 Rich Freeman wrote:
 On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk 
wrote:
  Incidentally, what's the received wisdom on frequency of file-system
  trimming on SSDs these days? I've seen values quoted between twice a day
  and once a week. And how does trimming affect btrfs?
 
 I've been trimming mine daily, and I've yet to be able to distinguish
 it from a no-op.  As far as I can tell fstrim -v always outputs 0
 bytes trimmed.

Ah, well that's quite different from my Atom box with its 64GB SSD; before I 
remove the -v a few weeks ago it was reporting many megabytes trimmed most 
times it ran. That's on ext4 and running Gentoo with http-replicator service.

-- 
Rgds
Peter




Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Peter Humphrey
On Tuesday 19 May 2015 08:54:26 Rich Freeman wrote:
 On Tue, May 19, 2015 at 6:13 AM, Neil Bothwick n...@digimed.co.uk wrote:
  On Tue, 19 May 2015 10:02:38 +0100, Peter Humphrey wrote:
   skip mdadm and lvm ... and try btrfs as you have the chance on shiny
   new hardware
  
  I also have a spare external hard disk, which I could experiment with
  for snapshots etc.
  
  Snapshots are subvolumes in btrfs, so they stay in the same filesystem.
  That's why they are so fast.
  
  It's a similar situation with ZFS.
 
 Yup.  In both cases they're copy-on-write, so they don't consume
 additional space except to the extent that things change.
 
 Also, in both cases you can serialize a snapshot (either in its
 entirety or as a diff vs a previous snapshot) and store it on separate
 storage.  This is mainly done for backup (storing the serialized
 files) or replication (replaying them onto another server with the
 same filesystem).
 
 But, neither ZFS nor btrfs are without issue on Linux, so I'd use care
 in a production environment.  The btrfs issues tend to revolve around
 stability, and the zfs issues tend to revolve around dealing with
 out-of-mainline code and legal/license issues.

Well, this is my toy desktop, so no risk to fame and fortune there. By /toy/, 
of course, I mean I play with it, not that it's a Mickey-Mouse setup (which 
some of you pros out there might think it is anyway, but that's another 
story).

Some people will remember that I had a fling with f2fs on my little Atom LAN 
server some months ago; I don't think I'll be using that this time!

Incidentally, what's the received wisdom on frequency of file-system trimming 
on SSDs these days? I've seen values quoted between twice a day and once a 
week. And how does trimming affect btrfs?

Hmm. Looks like I'm hijacking Nuno's thread. Apologies if that's ruffled any 
feathers, but I think I'm still on-topic, more or less, and he may still be 
interested in the conversation.

- 
Rgds
Peter




Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Rich Freeman
On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote:

 Incidentally, what's the received wisdom on frequency of file-system trimming
 on SSDs these days? I've seen values quoted between twice a day and once a
 week. And how does trimming affect btrfs?


I've been trimming mine daily, and I've yet to be able to distinguish
it from a no-op.  As far as I can tell fstrim -v always outputs 0
bytes trimmed.

-- 
Rich



Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Marc Joliet
Am Tue, 19 May 2015 10:53:26 -0400
schrieb Rich Freeman ri...@gentoo.org:

 On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk 
 wrote:
 
  Incidentally, what's the received wisdom on frequency of file-system 
  trimming
  on SSDs these days? I've seen values quoted between twice a day and once a
  week. And how does trimming affect btrfs?
 
 
 I've been trimming mine daily, and I've yet to be able to distinguish
 it from a no-op.  As far as I can tell fstrim -v always outputs 0
 bytes trimmed.

(Note that I'm also a btrfs user.)

I've been using the systemd timer that comes with util-linux upstream without
modification, which runs fstrim weekly.  That seems to work well, but to be
quite honest, I wouldn't know how to tell.  Sometimes I wasn't even sure it
ran, so I would run it manually, and it always finished nigh-instantaneously.

Before that, I used the discard mount option, but apparently that's only a good
idea with high-end SSDs (not that I noticed much of a difference in everyday
usage).

-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


pgpbuY5i2MFsi.pgp
Description: Digitale Signatur von OpenPGP


Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread gottlieb
On Tue, May 19 2015, Peter Humphrey wrote:

 On Tuesday 19 May 2015 10:53:26 Rich Freeman wrote:
 On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk 
 wrote:
  Incidentally, what's the received wisdom on frequency of file-system
  trimming on SSDs these days? I've seen values quoted between twice a day
  and once a week. And how does trimming affect btrfs?

I included discard in fstab for my ssd filesystems, presumably
following some installation guide.  For example I have

  /dev/sda5 / ext4noatime,discard   0 1
  /dev/vg/local /localext4noatime,discard   0 2

Is it preferred to instead issue explicit trim's via cron?

thanks,
allan



Re: [gentoo-user] Re: Poor mans audio in the world of the great Jack D.

2015-05-19 Thread Meino . Cramer
James wirel...@tampabay.rr.com [15-05-19 03:02]:
  Meino.Cramer at gmx.de writes:
 
 
  From time to time I come across software, which directly wants
  to talks to good ole' alsa and get kicked by Sensei Jack D. for accessing
  a device, which already is occupied by him...
 
 Well, this is a different question depending if you are asking for a
 gentoo workstation/server or one of your 'embedded' gentoo boards?
 
 
  Is there any way to go or any software to install which enables me to use
  Jack D.'ed software and alsa-acessing without shutting down and
  restarting that grandmaster Jack D. ?
 
 
 I ran across this qt 'audio app' some time ago but have yet to download it
 and see what it can do. *maybe* it'll fill the need you have?
 
  media-sound/qjackctlhttp://qjackctl.sourceforge.net/
 
 
  Meino
 
 hth,
 James
 

And master James moved slightly and asked a simply question.
Suddenly the novice was enlighted.
He answers It is used for my PC. And after a while he added:
I want to decode sstv and weather fax.
And in the distant a little radio whispers
Di da da di di da da da di da di di.
And the fog raises and everything becomes clear as it was in
the beginning.





[gentoo-user] Re: Question for users of the Firefox browser

2015-05-19 Thread »Q«
On Sun, 17 May 2015 14:41:21 -0700
walt w41...@gmail.com wrote:

 I've noticed that, when running linux, the end result of selecting
 text can depend on which Desktop Environment you are using.

Yes indeed.  If the DE comes with a clipboard manager (most do), it
pays to play around with the manager's config until the clipboard stops
annoying you.  Whether or not it syncs with the X clipboard and/or
whether it requires an explicit 'copy' command (as opposed to picking
up mere highlighting) should be set to suit the user's habits, rather
than the user trying to conform to the clipboard manager's defaults.





Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread covici
Rich Freeman ri...@gentoo.org wrote:

 On Tue, May 19, 2015 at 11:22 AM,  gottl...@nyu.edu wrote:
  On Tue, May 19 2015, Peter Humphrey wrote:
 
  On Tuesday 19 May 2015 10:53:26 Rich Freeman wrote:
  On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey pe...@prh.myzen.co.uk
  wrote:
   Incidentally, what's the received wisdom on frequency of file-system
   trimming on SSDs these days? I've seen values quoted between twice a day
   and once a week. And how does trimming affect btrfs?
 
  I included discard in fstab for my ssd filesystems, presumably
  following some installation guide.  For example I have
 
/dev/sda5 / ext4noatime,discard   0 1
/dev/vg/local /localext4noatime,discard   0 2
 
  Is it preferred to instead issue explicit trim's via cron?
 
 
 It depends.
 
 In theory giving your drive useful information about allocation now is
 better than giving it the information later.  The drive can make use
 of that information to improve performance.
 
 In practice some drives have brain-dead firmware and they'll do stupid
 things with that information.  If you trim part of an erase block, the
 drive should just file that info away and make use of that information
 when it can.  However, some drives will immediately copy/erase the
 rest of the block at that moment, which creates an unnecessary erase
 cycle and creates IO load at a moment that the drive is already busy.
 
 So, if your drive isn't brain-dead discard is better.  If your drive
 is brain-dead fstrim is almost as good if the drive isn't too full.
 I've yet to test discard and see how well it works.

Do you know if the Samsung 850 evo or similar are considered brain-dead?

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



[gentoo-user] Brother missed in cups listing

2015-05-19 Thread Silvio Siefke
Hello,

i has a problem, my printer Brother MFC-7320 is not listed in cups when
i add a printer. Not on my Acer Aspire and not on Dell Inspiron. One ok,
maybe printer is defect, but on all laptops then something is not okay.

Has someone an idea what is wrong now?

Thank you  Nice Day
Silvio 

/var/log/messages
May 18 22:10:46 gentoomobile kernel: usb 3-1: new full-speed USB device number 
6 using uhci_hcd
May 18 22:10:47 gentoomobile kernel: usb 3-1: New USB device found, 
idVendor=04f9, idProduct=01eb
May 18 22:10:47 gentoomobile kernel: usb 3-1: New USB device strings: Mfr=0, 
Product=0, SerialNumber=3
May 18 22:10:47 gentoomobile kernel: usb 3-1: SerialNumber: 000M9N691511
May 18 22:10:46 gentoomobile mtp-probe[3435]: checking bus 3, device 6: 
/sys/devices/pci:00/:00:1d.1/usb3/3-1
May 18 22:10:46 gentoomobile mtp-probe[3435]: bus: 3, device: 6 was not an MTP 
device

dmesg
[ 8300.874141] usb 3-1: new full-speed USB device number 6 using uhci_hcd[ 
8301.025146] usb 3-1: New USB device found, idVendor=04f9, idProduct=01eb[ 
8301.025157] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=3[ 
8301.025163] usb 3-1:SerialNumber: 000M9N691511

gentoomobile cups # uname -a
Linux gentoomobile 4.0.4-ck1 

siefke ~ $  cat .src/kernel/linux-4.0.4/.config | grep USB_PRINTER
# CONFIG_USB_PRINTER is not set

Is has try with USB in kernel active and in cups deactivated and other
way too. Nothing change. 


siefke ~ $  equery u cups | grep usb
+usb


# lsusb
siefke /usr/portage/net-print/cups $  sudo lsusb
Passwort: 
Bus 005 Device 001: ID 04f9:01eb Brother Industries, Ltd MFC-7320



pgpvGaaActitO.pgp
Description: PGP signature


[gentoo-user] Re: Brother missed in cups listing

2015-05-19 Thread James
Silvio Siefke siefke_listen at web.de writes:



  Has it worked ever before (e.g. it stopped working 
  after an upgrade of so?)
 
 On my acer it has last worked in january when i correct remember.


Did you keep a backup of the old working config files on that system?

For me it's these files; I just append a date to the end of the file:

/etc/cups/


cupsd.conf.15mar2015
cups-files.conf.3apr2015 
printers.conf.15mar2015
snmp.conf.15mar2015


That way it's fairly trivial to re-construct working cups files
after an upgrade has gone errant.
Do you have backups of the /etc/cups/ dir?
If it worked on the acer it should work everywhere. Often I just copy
/etc/cups/* files from one systems to the next, rather than deal with
that ever_changing cups interface. Also, brother printers, like most,
work better in a linux/unix centric network when they are ethernet
connected. If you have your printers plugged into ethernet, then you 
can connect to them (via ethernet) by just typing in the ip address of the
printer into your web browser. That makes checking the embedded printer
configuration much simpler.


hth,
James







Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Stefan G. Weichinger
Am 2015-05-19 um 22:17 schrieb Rich Freeman:
 On Tue, May 19, 2015 at 12:23 PM,  cov...@ccs.covici.com wrote:

 Do you know if the Samsung 850 evo or similar are considered brain-dead?

 
 That's what I'm using, and I couldn't find anything too useful on
 Google, so I might just test it out.

wow, that thread is rather active

my 2 cents: one samsung 850 evo 500gb here in my main desktop, with
btrfs on it, and I decided to run fstrim -va every few days manually
... kind of when I am at keeping things in shape or so ... along btrfs
scrub on fridays ...

I also have written / cut-and-pasted systemd-timers for that but I
disabled them for now.

discard in fstab was documented to slow down things and who wants
*that* ??

;)



[gentoo-user] Re: question for en_GB users of myspell-en dictionaries

2015-05-19 Thread »Q«
On Mon, 11 May 2015 20:29:37 + (UTC)
James wirel...@tampabay.rr.com wrote:

 »Q« boxcars at gmx.net writes:
 
 
  tl;dr:  Is an update to the myspell-en Oxford  spelling dictionary
  really wanted by anyone?  
 
 Oxford is known as the 'the reference' for unabridged dictionaries in 
 English (at least this is what some psychotic professors tortured us
 with, in English 101/102 some decades ago; leather helmets, dinosaurs
 etc).. ymmv.

For meanings and etymology, the OED is the gold standard, but we're
just talking about spellchecking dictionaries here.  The Oxford
spelling is *not* the spelling used by most of the UK.  It's the
official spelling of the Oxford University Press and some academic
journals, such as /The Lancet/, and people writing for those
publications need it.  Most Oxford dons don't use the Oxford spelling.
IOW, only people who have to write according to style guides which
explicitly specify Oxford spelling need an Oxford spellchecking
dictionary.

I'm interpreting the feedback from you and Joost to mean yes we want a
good UK spelling dictionary, which you'll get.  If it really is
*Oxford* spelling one of you needs, I need to hear a more specific
plea (e.g., I write for The Lancet/).

My mother has a Ph.D. in English Lit, and there was always a concise
OED around my house when I was growing up, but she was unaware of the
Oxford spelling until I asked her about it recently.

The main difference between standard UK spelling and Oxford spelling is
that Oxford spelling uses -ize endings (criticize, optimize) whereas
standard UK spelling uses -ise.  Using Oxford will make most readers
think you're using American spelling, since Americans use -ize.

  I hope it is available system wide for a variety of apps?

Yes, these are system dictionaries.  `equery d hunspell aspell enchant`
will probably show you most of the things on your system that use these
dictionaries.  (I don't know what GNOME uses, but it probably depends
on either hunspell or aspell.)




Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Rich Freeman
On Tue, May 19, 2015 at 12:23 PM,  cov...@ccs.covici.com wrote:

 Do you know if the Samsung 850 evo or similar are considered brain-dead?


That's what I'm using, and I couldn't find anything too useful on
Google, so I might just test it out.

-- 
Rich



Re: [gentoo-user] Re: question for en_GB users of myspell-en dictionaries

2015-05-19 Thread Peter Humphrey
On Tuesday 19 May 2015 17:43:57 »Q« wrote:

 The main difference between standard UK spelling and Oxford spelling is
 that Oxford spelling uses -ize endings (criticize, optimize) whereas
 standard UK spelling uses -ise.  Using Oxford will make most readers
 think you're using American spelling, since Americans use -ize.

Yes, and I've never understood that. The -ise version is true to its French 
origins (remember 1066?), while as far as I can see the -ize version has no 
precedent. It also doesn't help with knowing which ending to use in a 
particular case, so I've no idea why they've adopted it.

Moreover, Oxford English insists on that egregious comma before nearly every 
and, which is just stupid. It causes as many problems as it avoids, and it's 
deadly to the flow of the sentence. I once argued about it with an American 
contributor to an e-mail list, and was told it's a matter of style. No. 
Wrong. It's just slavish obedience of an arbitrary rule which cannot be 
justified in any rational way. Just consider: and is equivalent to a comma in 
most cases; it's how a child starts out until it learns something more 
sophisticated. So pairing the two leaves us with nonsense.

Just my two penn'orth.

-- 
Rgds
Peter




Re: [gentoo-user] Brother missed in cups listing

2015-05-19 Thread Silvio Siefke
On Tue, 19 May 2015 16:24:17 +0200 Manuel Schönlaub
manuel.schoenl...@gmail.com wrote:

 Hi,
 
 Did you install the correct driver from Brother?

Yes i have installed the correct driver on both maschines i delete old 
one and install new. 


 Has it worked ever before (e.g. it stopped working 
 after an upgrade of so?)

On my acer it has last worked in january when i correct remember. Since 
then cups not find it. On my tell i has last time print in March and now
there the same. Printer Not work, sending data thats all. Has delete 
printer after driver new install and now not find in cups. 

Cups  Add Printer  Local printer only pdf or nothing. 

I dont know what happen now. I can not understand the problem, under
Arch Linux the printer works without probs, friend come checked today
for me. But under gentoo the printer is not found. Very strange. 

Kernel Config : http://silviosiefke.com/downloads/kernelconf

Thank You  Nice Day
Silvio


pgp2SQ28EFxUg.pgp
Description: PGP signature


[gentoo-user] Re: Question for users of the Firefox browser

2015-05-19 Thread »Q«
On Mon, 18 May 2015 09:07:34 +0300
Gevisz gev...@gmail.com wrote:

 On Mon, 18 May 2015 06:26:31 +0100 Mick michaelkintz...@gmail.com
 wrote:
 
  On Monday 18 May 2015 02:56:43 Daniel Frey wrote:

   I usually use Alt+D on the keyboard, it moves the caret to the
   location bar and highlights its text, and I just checked, it
   doesn't touch the clipboard.
  
  Useful tip!  I didn't know about Alt+D, thanks for sharing.  :-)
 
 The same does Ctrl-L.  

ctrl+k does the same thing for the search box.  (And if the search box
is hidden in your UI, ctrl+k opens about:home and puts the carat in its
search box.)

For browsers a lot of things are mousey, but for inherently type-y
things, I really like the keyboard shortcuts.  All (or most) Fx ones are
listed at
https://support.mozilla.org/kb/keyboard-shortcuts-perform-firefox-tasks-quickly.








[gentoo-user] Re: Poor mans audio in the world of the great Jack D.

2015-05-19 Thread James
 Meino.Cramer at gmx.de writes:


   media-sound/qjackctlhttp://qjackctl.sourceforge.net/

 And master James moved slightly and asked a simply question.
 Suddenly the novice was enlighted.
 He answers It is used for my PC. And after a while he added:
 I want to decode sstv and weather fax.

SSTV? really?  now you are just teasing an old (EE) fart?
That's a real application, it just hard to keep the sync bit stable.


 And in the distant a little radio whispers
 Di da da di di da da da di da di di.

Once (in my youth) I dated a young, friendly lass, named 'Candy Morse'
do da da do da da..!


 And the fog raises and everything becomes clear as it was in
 the beginning.

This is unknown to me; but you might find help if you get sstv audio
signals parsed out of your serial line signal, if I am to speculate
what you are really after? You may need a spectrum analyzer to identify
and isolate the audio signal since the signal is a superposition
(hybrid) signal. It might be best to filter the audio signal out
in the Rf domain, as opposed to it's digital derivative signal.

http://users.belgacom.net/hamradio/index.htm

under software he has rx-sstv for windoz. Get it working under doz
and then hunt for a linux setup, using windows to verify it
all works (hardware wise) first, is one possible path.

Also : http://www.dxatlas.com/SstvTools/

and in portage (just to be complete)  media-radio/qsstv

Also verify the chipsets used (dongle?) and their reliability at various
frequencies. Those chipssets that are wideband, are always problematic,
imho Most of the crap (dongles) floating around are not very good.
Me, I'd go to the trouble to find a new chipset, including filters and
LNAs (low noise amplifiers) to build a decoder box. You could probably
sell them. If you go that route, drop to me privately.

Dowload PDF - Image Communication on Short Waves
www.sstv-handbook.com/download/sstv_04.pdf


good hunting!
James







Re: [gentoo-user] Re: Brother missed in cups listing

2015-05-19 Thread Silvio Siefke
On Tue, 19 May 2015 17:28:57 + (UTC) James
wirel...@tampabay.rr.com wrote:

 Did you keep a backup of the old working config files on that system?

No i have not, i has use cups not so often because i not often print. 
But when i use i ever pluged in, make config in cups and it works. But
now not work. 
 
 For me it's these files; I just append a date to the end of the file:
 
 /etc/cups/
 
 
 cupsd.conf.15mar2015
 cups-files.conf.3apr2015 
 printers.conf.15mar2015
 snmp.conf.15mar2015
 
 
 Also, brother printers, like most, work better in a 
 linux/unix centric network when they are ethernet
 connected. If you have your printers plugged into ethernet, then you 
 can connect to them (via ethernet) by just typing in the ip address
 of the printer into your web browser. That makes checking the
 embedded printer configuration much simpler.

Yes sure when i buy new one i sure think on it. But now is not networking
and Brother give driver for the printer and it work not. 

Okay im not sure what has do but now my brother is in cups listed, correct
with usb but it print not, say success but page come not out. 

access.log
localhost - - [19/May/2015:20:06:16 +0200] 
POST /printers/MFC7320 HTTP/1.1 200 16467 Print-Job successful-ok

error.log
W [19/May/2015:20:03:40 +0200] CreateProfile failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [19/May/2015:20:03:40 +0200] CreateDevice failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [19/May/2015:20:03:40 +0200] CreateProfile failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [19/May/2015:20:03:40 +0200] CreateProfile failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [19/May/2015:20:03:40 +0200] CreateDevice failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [19/May/2015:20:04:18 +0200] CreateProfile failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [19/May/2015:20:04:18 +0200] CreateDevice failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files

cups/printers.conf
Printer MFC7320
UUID urn:uuid:4f27ca0f-cbeb-34cb-55f8-480a2c66422d
AuthInfoRequired none
Info MFC7320
Location 
MakeModel Brother MFC7320 for CUPS
DeviceURI usb:/dev/usb/lp0
State Idle
StateTime 1432058183
Type 8392708
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolic

But nothing happen, the printer not speak with laptop or other. 

Thank You  Nice Day
Silvio


pgp5ugGWQ0bvb.pgp
Description: PGP signature


Re: [gentoo-user] Re: Question for users of the Firefox browser

2015-05-19 Thread Daniel Frey
On 05/19/2015 09:35 AM, »Q« wrote:
 ctrl+k does the same thing for the search box.  (And if the search box
 is hidden in your UI, ctrl+k opens about:home and puts the carat in its
 search box.)
 
 For browsers a lot of things are mousey, but for inherently type-y
 things, I really like the keyboard shortcuts.  All (or most) Fx ones are
 listed at
 https://support.mozilla.org/kb/keyboard-shortcuts-perform-firefox-tasks-quickly.
 

I didn't know that either. I've always found Alt+D the easiest to use,
and the search box to me is Alt+D then Tab.

Dan




Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-19 Thread Nuno Magalhães
On Tue, May 19, 2015 at 3:44 PM, Peter Humphrey pe...@prh.myzen.co.uk wrote:
 Hmm. Looks like I'm hijacking Nuno's thread. Apologies if that's ruffled any
 feathers, but I think I'm still on-topic, more or less, and he may still be
 interested in the conversation.

No sweat, i intend to get an SSD for my laptop. It interests me and
it's on topic. :)