Re: [gentoo-user] Swap performance

2011-05-25 Thread Alan McKinnon
Apparently, though unproven, at 18:58 on Wednesday 25 May 2011, Volker Armin 
Hemmann did opine thusly:

 On Wednesday 25 May 2011 10:31:19 Paul Hartman wrote:
  When I move the swap to a slow SD card instead (2MB/sec transfer
  rate), even in that slow device, swapoff on the eMMC swap partition
  with ~500M in-use takes about 2 or 3 minutes at most with the data
  being swapped slowly into the SD card.
  
  So I think in your case it should be much faster than that!
 
 you are comparing apples with oranges (harddisks with moving arms with
 solid state devices).
 
 Do yourself a favour. Look up how long a harddisk needs to position its
 head.
 
 Now you can calculate how many times a second a harddisk can position its
 head.
 
 Now remember: swap is stupid, so lots and lots of head movement needed (and
 a cash flush is running too - so even more movements to write all that
 crap to disk),
 
 The result: the whole mess is fscking slow.
 
 You can have a nice fat raid with nice and fast harddisks - if you try to
 stream to a 15 year old DLT drive with 5/10mb/sec speed the dlt drive will
 constantly rewind - because harddisks suck when they have to seek. And swap
 (just like a backup) = lots and lots and lots of seeks.

That reminds me of how SSDs ought to be much faster than hard disks.

But every time I use my Acer netbook (8G SSD) I curse and swear and commit 
random acts of violence - that first gen SSD controller is the worst possible 
thing to ever hit computers. I swear the 4G SDHC expansion card is leaps 
faster

(completely OT, I know. I'll keep quiet now.)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] chrome and everything

2011-06-02 Thread Mike Edenfield
On 6/2/2011 10:40 AM, Paul Hartman wrote:
 On Thu, Jun 2, 2011 at 9:23 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Thu, Jun 2, 2011 at 3:49 AM, András Csányi sayusi.a...@gmail.com wrote:
 Hi All,

 Something strange happen here. I have seen few things in Linux world
 but this is very new for me!

 I have this fantastic browser called Chromium (12.0.742.68) and I
 really like it. But, sometimes, when I see flash videos on different
 sites (youtube, cnn, bbc) the whole chromium become frozen and basicly
 impossible to kill it

 Flash is behaving like this in every browser on my Gentoo ~amd64 box
 ever since Flash plugin 10.3 was released. Constantly freezing UI,
 flash video still showing when when window is closed, etc. With
 earlier 10.x series it was (mostly) okay, it was definitely usable.
 With 10.3 so far it is basically a waste of time to try loading any
 flash objects. Noscript/adblock to the rescue. ;)

 
 Replying to myself, it looks like flash plugin 10.3 is only available
 as 32-bit on linux (so it's using the nspluginwrapper), while 10.2 was
 64-bit. So maybe that's part of the explanation in my case.

According to Adobe, they have closed the Flash Player 10 for 64-bit
Linux program. Given that the only reason I bothered with Flash on
Linux was the native 64-bit support, I've masked off adobe-flash-10.3*
and have been quite happy with the last 10.2 so far.

--Mike



Re: [gentoo-user] Threads changing Was: OT: website design

2011-06-05 Thread Indi
On Sun, Jun 05, 2011 at 12:41:42PM +0100, Mick wrote:
 On Sunday 05 Jun 2011 12:17:08 Indi wrote:
  
  If I were driven strictly by aesthetic concerns qt and kde4
  might be my choices, as they can be extremely pleasant to look
  at. Heh, reminds me of my ex -- he was very pleasant to look at
  (and a huge amount of constant maintenance work) as well. ;)
 
 I think that your problem is that you are running ~arch and this comes with 
 frequent updates.  These days I'm running stable and my qt, kde or OOo 
 updates 
 are quite infrequent (like twice a year or may be less).


Twice a year or less, *really*?
Had no idea the difference between stable and testing was that huge...
Of course the reason I'm running testing is that typically, when I
install there are inevitably two or three things I can't live without
that don't work in stable so I start with the ACCEPT_KEYWORDS fiddling, 
and eventually that snowballs into a level of complexity which
frustrates me and then I just end up putting ~x86 in make.conf.

Anyway, I do use some gtk stuff as well as wmaker and fluxbox and 
those work (mostly) fine without having to be constantly fooled with.
Sometimes gtk or vte breaks and I have to resort to urxvt instead of 
my beloved terminator while fixing things, but that's acceptably
infrequent. 

 I have to admit though that now the mutt can work as a multi-function client 
 I 
 am tempted to reinstall it and give it a another go ...
  

Can't beat mutt, at least if you're keyboard-oriented.
Nothing else comes close.

-- 
caveat utilitor
♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤ 



Re: [gentoo-user] mysqld invoked oom-killer

2011-07-21 Thread Albert Hopkins


On Thursday, July 21 at 16:53 (-0700), Grant said:


 So swap isn't treated exactly like RAM.  It actually has special
 handling in Linux which makes it beneficial to have on almost any
 Linux system?  According to Alan, things get very bad when a Linux
 system hits swap.  How can behavior like this be beneficial:
 
 When a linux machine hits swap, it does so very aggressively, there
 is nothing nice about it at all. The entire machine slows to a
 painstaking crawl for easily a minute at a time while the kernel
 writes pages out to disk, and disk is thousands of times slower than
 RAM.
 
This is not entirely true.  There's regular swapping and there is
thrashing.  Thrashing is indicative of a memory-starved system, i.e.
when many processes are trying to access memory, but there just isn't
enough and the system is frantically swapping in/out.  I'm talking about
your normal day-to-day swapping that you probably don't even notice.

 It gets so bad that you can't even run a shell properly to try and see
 what's going on and kill the actual memory hog.

Again, that is thrashing.  I'm talking about normal swappage.  Dont
throw the baby out with the bath water.

 Also, aren't you likely to wear out your hard disk sooner using swap?

Is this coming from someone who uses Gentoo linux, which is constantly
downloading/compiling/linking object files?   Syslog and other loggers
writing everything under the sun to a log file.  Backups, journal
writes, database transactions, etc.  Compare how many disk transactions
take place during your normal Gentoo usage versus a few megabytes
here/there being swapped in/out.  Again, I'm talking about regular
swapping, not oh my god I has no RAM and my hard drive won't stop
Even so, we're talking about modern drives here.  This isn't the 1960s.




Re: [gentoo-user] SSDs, swap, caching, other unusual uses

2011-07-30 Thread Florian Philipp
Am 29.07.2011 20:18, schrieb Michael Mol:
 Something that's been tickling my brain for a couple years now, and
 you guys are probably the right ones to ask.
 
 I haven't dropped coin for an SSD (yet), but I was wondering about
 uses for them beyond using them for / or /home.
 
 1) What about sitting swap (partition, file, whatever) on the SSD?
 Presumably, in scenarios where expanding the RAM in a system is
 prohibitively expensive, an SSD could reduce the impact of swap
 thrash.
 

Sure why not. However, if you plan to swap constantly, I'd recommend
doing a prediction of the life-time. For normal usage, the number of
possible write cycles should be sufficient.
 
 2) While my system rarely goes above using 2-2.5GB of RAM, I enjoy
 having 6-8GB of RAM, just for the file cache. Of course, I lose that
 when I reboot; the cache needs to be repopulated. Has there been any
 work in the kernel for doing things like Vista/Win7's ReadyBoost?
 ReadyBoost has a ridiculous limit to only using 4GB of a flash drive,
 but I'd think that an 80GB SSD would be a massive performance
 improvement.
 

You should try sys-kernel/tuxonice-sources for suspend-to-disk. It
preserves the cache as well.

 Obviously, for something like Gentoo, putting an SSD-based filesystem
 under /var/tmp makes a lot of sense, but what other uses have been
 tried? How'd they work out?
 

Ruggedized PC sitting on top of the rotor head of a helicopter, making
videos of the blade movement. Works well, but the SATA connectors tend
to fall off. ;-)

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: How can I power disk off?

2011-10-06 Thread Paul Hartman
On Thu, Oct 6, 2011 at 8:29 PM, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2011-10-06, Jarry mr.ja...@gmail.com wrote:
 Hi,

 In my server I have a few disks which must be running 24/7,
 but I also have a single big hard-drive, which is used only
 for a few minutes every day, just for backups. How could I
 power disk off when not needed (and on again when needed)
 in order to save a little power and prolong its life?

 That prompts one to ask the question:  Does spinning a drive up/down
 every day lengthen or shorten it's life compared to having it on 24/7
 (assuming the same number of seeks in both cases).

I think it is generally believed that by NOT spinning down the drive,
you are going to shorten its life-span. Any HDD made in the past few
years are designed with spin-up/spin-down when idle in mind.
Constantly spinning will probably wear it out faster than regularly
spinning up and down. It should be able to handle thousands of
spin-up/spin-down cycles with ease. I think SMART will tell you how
many times it has happened.

In my case I disabled it because I found it to be annoying and
inappropriate for my RAID, but I realize I'm wasting power and
probably jeopardizing the long-term health of my drives by not
allowing them to spin-down.



Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-14 Thread czernitko
Hi Raffaele,
Gentoo Cross Development Guide is deprecated in favour of Gentoo Embedded
project, which so far seems to suit my needs. I had a quick look on
CodeSourcery's products a few days ago, but in freely available version they
don't seem to offer me more than toolchain compiled with crossdev. Maybe I'm
wrong and if I'll get stuck I'll give them a go. AFAIK the biggest
disadvantage of crossdev-created toolchain, compared to other cross
compilation tools, is that without usage of emulator (like qemu-user) it is
not possible to compile things that use in their configure scipts checks
that need to be run on the target architecture (like Perl).
Sticking to arm-none-linux-gnueabi-emerge offers quite a lot of comfort so
far, so I'll see where I can get.
Thanks for your tips!

Peter

2011/10/14 Raffaele BELARDI raffaele.bela...@st.com

 On 10/14/2011 01:14 PM, czernitko wrote:
  Hello!
  I started playing a little bit with cross compilation for ARM
  architecture. Using crossdev I created a toolchain for
  arm-none-linux-gnueabi tuple.
  Now I'd like to emerge some more packages, but perl constantly refuses
  to emerge and it is needed by many packages.

 Not a direct answer to your question, but I managed to cross-build a
 functional linux rootfs (including X11/Xfbdev and QTEmbedded) for ARM
 using buildroot. I found buildroot much easier to use than trying to
 follow the now-deprecated Gentoo Cross Development Guide.
 Also, I used CodeSourcery's toolchain instead of building my own.



Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-15 Thread czernitko
Hi Raffaele,
how far did you get with compiling rootfs? Do you have complete gentoo
installation including kernel compiled for ARM? Would it be possible to make
vmdk/any other image for Qemu in which it could be run? I guess it would
ease quite many things...

As for my progress: I found out that patches from Cross directory does not
work, but configure script has some options for cross compilation so I wrote
ebuild with different parameters for perl Configure script. It assumes that
you have ARM machine ready on network and with ssh daemon running - it uses
ssh to transfer cross compiled binaries, run them remotely and uses the
output to continue compiling on host pc. I had no problem with establishing
that, but configure script still tries to run few binaries compiled for ARM
on my x64 host machine. Fight continues!

Stay tuned :)
Peter

2011/10/14 Raffaele BELARDI raffaele.bela...@st.com

 On 10/14/2011 01:14 PM, czernitko wrote:
  Hello!
  I started playing a little bit with cross compilation for ARM
  architecture. Using crossdev I created a toolchain for
  arm-none-linux-gnueabi tuple.
  Now I'd like to emerge some more packages, but perl constantly refuses
  to emerge and it is needed by many packages.

 Not a direct answer to your question, but I managed to cross-build a
 functional linux rootfs (including X11/Xfbdev and QTEmbedded) for ARM
 using buildroot. I found buildroot much easier to use than trying to
 follow the now-deprecated Gentoo Cross Development Guide.
 Also, I used CodeSourcery's toolchain instead of building my own.



Re: [gentoo-user] gnome3 hotkey for searching in overview

2011-12-02 Thread Albert W. Hopkins
On Fri, 2011-12-02 at 15:02 +0100, Stefan G. Weichinger wrote:
 Am 02.12.2011 12:34, schrieb Albert W. Hopkins:
  On Fri, 2011-12-02 at 07:23 +0100, András Csányi wrote:
  Dear Stefan,
 
  Nowadays I'm using it just at home for private. I would be so happy if
  it would be a gentoo my workspace! :) 
  
  I use Gentoo at home and at work, and am running GNOME3 at both
  locations.  No problems.
 
 And you don't miss stuff like icons on desktop, applets etc ?
 Do you use fallback-mode?
 
 
If you'd look at my GNOME2 desktop you'd probably notice the lack of
icons on the desktop, applets on the panel, etc.[1]  I find these things
distracting (especially in my work environment).  Usually when I install
GNOME2 the first thing I do is turn most of those things off.

When GNOME3 came out, I thought they had read my mind.  I use extensions
to get rid of a few more icons on the top panel.  I patched so it
doesn't show the time (if the time is shown on the desktop, I find I'm
constantly looking at the time which is also distracting (for the same
reason I don't wear a watch))[2].  So I like to keep things simple, and
for most-used apps I use keyboard shortcuts.  Works for me.

If you want icons on the desktop, etc. There are extensions and config
settings to enable that in GNOME3.  gnome-tweak-tool is your friend.

I don't use fallback mode.  The gnome-shell is (almost) exactly what I
want.

[1] http://ompldr.org/vYmp4OA
[2] http://ompldr.org/vYmp4YQ





Re: [gentoo-user] gnome3 hotkey for searching in overview

2011-12-02 Thread Stefan G. Weichinger
Am 2011-12-02 15:22, schrieb Albert W. Hopkins:
 On Fri, 2011-12-02 at 15:02 +0100, Stefan G. Weichinger wrote:
 Am 02.12.2011 12:34, schrieb Albert W. Hopkins:
 On Fri, 2011-12-02 at 07:23 +0100, András Csányi wrote:
 Dear Stefan,

 Nowadays I'm using it just at home for private. I would be so happy if
 it would be a gentoo my workspace! :) 

 I use Gentoo at home and at work, and am running GNOME3 at both
 locations.  No problems.

 And you don't miss stuff like icons on desktop, applets etc ?
 Do you use fallback-mode?


 If you'd look at my GNOME2 desktop you'd probably notice the lack of
 icons on the desktop, applets on the panel, etc.[1]  I find these things
 distracting (especially in my work environment).  Usually when I install
 GNOME2 the first thing I do is turn most of those things off.
 
 When GNOME3 came out, I thought they had read my mind.  I use extensions
 to get rid of a few more icons on the top panel.  I patched so it
 doesn't show the time (if the time is shown on the desktop, I find I'm
 constantly looking at the time which is also distracting (for the same
 reason I don't wear a watch))[2].  So I like to keep things simple, and
 for most-used apps I use keyboard shortcuts.  Works for me.
 
 If you want icons on the desktop, etc. There are extensions and config
 settings to enable that in GNOME3.  gnome-tweak-tool is your friend.
 
 I don't use fallback mode.  The gnome-shell is (almost) exactly what I
 want.

Good to hear. Maybe I will give it a try after doing some snapshot of my
/-fs ... quick rollback possible ...

S




[gentoo-user] Re: Looking for IMAP-IMAP spam filtering

2012-02-20 Thread Grant Edwards
On 2012-02-21, Pandu Poluan pa...@poluan.info wrote:
 On Feb 21, 2012 7:03 AM, Grant Edwards grant.b.edwa...@gmail.com wrote:

 On 2012-02-20, Grant Edwards grant.b.edwa...@gmail.com wrote:
  I'm looking to set up something that reads messages from one IMAP
  server/mailbox, filters out the spam, and then writes the filtered
  messages into another IMAP server/mailbox. The source and destination
  servers may or may not be the same, and neither is the machine where
  the filter is running. I'd like the solution to use the IMAP IDLE
  command to avoid the latency and load of constantly setting up SSL
  connections and polling the source server.
 
  It looks like fetchmail - procmail+spamassassin - dovecot/deliver
  ought to do what I want.

 Or not.  It looks dovecot can't deliver to a mailbox on an IMAP server
 after all.

  Is there something simpler and easier that I've overlooked?


 Seems to me getmail is more suitable for your needs:

 http://pyropus.ca/software/getmail/documentation.html#features

 the feature list says that it can run a filtering software, and delivers
 emails directly into maildirs.

 Not sure about IDLE support though.

I'll take a look at the sources.  Doesn't look like it delivers to an
IMAP mailbox (I could always add that).

I've just thrown together a Python app that reads messages from one
IMAP server/mailbox [using the idle command :) ], writes them to
another IMAP server/mailbox, and then deletes them from the source
server.  Now for the filtering...

-- 
Grant Edwards   grant.b.edwardsYow! Spreading peanut
  at   butter reminds me of
  gmail.comopera!!  I wonder why?




Re: [gentoo-user] Looking for IMAP-IMAP spam filtering

2012-02-20 Thread Pandu Poluan
On Feb 21, 2012 6:44 AM, Grant Edwards grant.b.edwa...@gmail.com wrote:

 I'm looking to set up something that reads messages from one IMAP
 server/mailbox, filters out the spam, and then writes the filtered
 messages into another IMAP server/mailbox. The source and destination
 servers may or may not be the same, and neither is the machine where
 the filter is running. I'd like the solution to use the IMAP IDLE
 command to avoid the latency and load of constantly setting up SSL
 connections and polling the source server.

 It looks like fetchmail - procmail+spamassassin - dovecot/deliver
 ought to do what I want.

 Is there something simpler and easier that I've overlooked?


Okay, I may have misunderstood your needs the first time around (blame it
to not having my first cuppa tea of the day).

So, you want to do these steps:
- Pull email from an IMAP account in box A
- Filter it in box B
- Push it to box C

So, the third step is not an LDA.

There are some alternatives, none of them are simple, though. The 'easiest'
I think would be:

- have fetchmail (on box B) pull email from box A, and deliver to local
maildir (on B) via procmail+SA

- have Dovecot watch the local maildir

- have *another* fetchmail instance pull email from the local Dovecot and
push it to an SMTP MTA on box C

You can have multiple fetchmail daemons running at the same time by
copying/symlinking the fetchmail initscript and creating a correspondent
conf file. I've submitted a patch (that has been accepted into the tree)
that allows multiple fetchmail daemons.

Rgds,


Re: [gentoo-user] Re: nvidia-drivers vs. nouveau

2012-04-11 Thread Dale
Nikos Chantziaras wrote:
 On 12/04/12 00:32, Stefan G. Weichinger wrote:
 Am 11.04.2012 23:14, schrieb Nikos Chantziaras:

 Unless you need to use the console (nvidia-drivers don't provide a KMS
 fb console,) there's no reason to use Nouveau at the moment.  The binary
 drivers perform better and save much more energy.  With Nouveau, your
 GPU will be running full-on constantly.  NVidia's drivers will reduce
 clocks and voltages when the card is idle.

 Additional question:

 what do you have for VIDEO_CARDS?

 my make.conf:

 VIDEO_CARDS=nvidia nv vesa
 
 Mine:
 
   VIDEO_CARDS=nvidia
 
 nv is for the old, deprecated 2D-only driver that should not be used
 anymore.  vesa is for the generic VESA driver.  It's still good as an
 emergency backup.
 
 Note that after changing VIDEO_CARDS, it's best to emerge -uDN world 
 emerge -a --depclean.
 
 
 


Somewhat related question.  I use the Nvidia drivers here and have not
had any issues in a while.  How does one use VESA if the Nvidia drivers
fail?  One used to change it in xorg.conf but most don't have a
xorg.conf any more.

Just curious.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



[gentoo-user] Re: nvidia-drivers vs. nouveau

2012-04-11 Thread Nikos Chantziaras

On 12/04/12 01:55, Dale wrote:

Nikos Chantziaras wrote:

On 12/04/12 00:32, Stefan G. Weichinger wrote:

Am 11.04.2012 23:14, schrieb Nikos Chantziaras:


Unless you need to use the console (nvidia-drivers don't provide a KMS
fb console,) there's no reason to use Nouveau at the moment.  The binary
drivers perform better and save much more energy.  With Nouveau, your
GPU will be running full-on constantly.  NVidia's drivers will reduce
clocks and voltages when the card is idle.


Additional question:

what do you have for VIDEO_CARDS?

my make.conf:

VIDEO_CARDS=nvidia nv vesa


Mine:

   VIDEO_CARDS=nvidia

nv is for the old, deprecated 2D-only driver that should not be used
anymore.  vesa is for the generic VESA driver.  It's still good as an
emergency backup.

Note that after changing VIDEO_CARDS, it's best to emerge -uDN world
emerge -a --depclean.






Somewhat related question.  I use the Nvidia drivers here and have not
had any issues in a while.  How does one use VESA if the Nvidia drivers
fail?  One used to change it in xorg.conf but most don't have a
xorg.conf any more.


You have an /etc/X11/xorg.conf.d/ directory though.  You can put 
snippets in it with the *.conf extension and X.Org will read it when it 
starts.  For my GPU setting for example, I use 
/etc/X11/xorg.conf.d/gpu.conf.  It has a Device section in with:


   Driver nvidia

This can be changed to vesa at any time.




Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Canek Peláez Valdés
On Sun, Aug 19, 2012 at 11:10 PM, Michael Trausch m...@trausch.us wrote:
 PA works well with stereo-only outputs. That's most users.

 People such as myself, however, with 5.1 out, are perpetually disappointed
 and/or frustrated by the lack of the systems ability to work reliably. I
 constantly have problems playing music, because it reverts to stereo output
 every time it is opened. It happens in all distributions that have PA, so it
 isn't a bug in packaging or configuration, unless all distress and upstream
 itself get it all wrong.

Mmmh. Have you tried pactl list and checking the Active Profile:
in the card you are using? Then you can change it with (in my case):

pactl set-card-profile alsa_card.pci-_04_00.0
output:analog-surround-51+input:analog-stereo

Of course, if you are using GNOME, you can set it in System Settings
(see screenshot
https://plus.google.com/photos/115256116066287398549/albums/5778609034682831121).
Yes, I have two sound cards, and I still prefer my old SB Live!
exactly because it has 5.1 output. It have never reverted to stereo
for me. I got a 5.1 Logitech speakers, with one subwoofer and 5
satellites.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Michael Trausch
Yes.

I have to change it to 4.1 and then back to 5.1 after every song finishes
playing.

It has been that way ever since the first time I encountered it in Ubuntu
years back.
On Aug 20, 2012 12:43 AM, Canek Peláez Valdés can...@gmail.com wrote:

 On Sun, Aug 19, 2012 at 11:10 PM, Michael Trausch m...@trausch.us wrote:
  PA works well with stereo-only outputs. That's most users.
 
  People such as myself, however, with 5.1 out, are perpetually
 disappointed
  and/or frustrated by the lack of the systems ability to work reliably. I
  constantly have problems playing music, because it reverts to stereo
 output
  every time it is opened. It happens in all distributions that have PA,
 so it
  isn't a bug in packaging or configuration, unless all distress and
 upstream
  itself get it all wrong.

 Mmmh. Have you tried pactl list and checking the Active Profile:
 in the card you are using? Then you can change it with (in my case):

 pactl set-card-profile alsa_card.pci-_04_00.0
 output:analog-surround-51+input:analog-stereo

 Of course, if you are using GNOME, you can set it in System Settings
 (see screenshot

 https://plus.google.com/photos/115256116066287398549/albums/5778609034682831121
 ).
 Yes, I have two sound cards, and I still prefer my old SB Live!
 exactly because it has 5.1 output. It have never reverted to stereo
 for me. I got a 5.1 Logitech speakers, with one subwoofer and 5
 satellites.

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México




Re: [gentoo-user] Having the possibility to set the system-wide locale settings

2012-09-09 Thread Dale
Chris Stankevitz wrote:
 Hello,

 Section 8c of the handbook tells me:

 ===

 You now have the possibility to set the system-wide locale settings in
 the /etc/env.d/02locale file:

 ===

 Code Listing 3.8: Setting the default system locale in /etc/env.d/02locale
 LANG=de_DE.UTF-8
 LC_COLLATE=C

 ===

 Q1: Do I have the possibility to set the system-wide locale settings?
 A1: YES [I knew the answer to this one!]

 Q2: Should I?
 A2: ?

 Q3: If yes, what should I set them to? [The example sets them to a
 magical value that seems to be related to code listing 3.6, but it is
 not exactly the same.  I am in the united states and I speak english
 if that helps answer this one.]
 A3: ?

 Thank you!

 Chris

 PS: In case it is not clear already I have no idea what a locale is
 and have no preference or what it is so long as gentoo and all my apps
 are happy.



I think my settings would work for you.  This is what is in my file:

LANG=en_US.UTF8
LC_ALL=en_US.UTF8

It works fine for me.  Everything is in English as in American not the
others.  lol 

Dale

:-)  :-) 

P. S.  Welcome to Gentoo and the world of constantly learning.  Just
when you learn something, something changes and you get to learn it all
over again.  :/

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Beagle vs. Panda vs. Raspberry on Gentoo

2012-11-17 Thread Alan McKinnon
On Sat, 17 Nov 2012 12:43:38 -0800
Grant emailgr...@gmail.com wrote:

   Which of these would be the best choice for Gentoo?  I have a
   Beaglebone but now I'm looking for something with video for HD
   playback.
  
   - Grant
 
  I'd say none of them (yet).
 
  It doesn't matter what other features in the form of fancy IO and
  neat circuitry is put on such boards, they are all limited by what
  the CPU can do. If the board has a RealTek chip, it;s limited by
  what the RealTek dev software provides.
 
  I have a Raspberry Pi, and doing what it was designed to do is
  something it is very good at. It was designed to teach kids how to
  program. It was not designed to play full HD video.
 
  The Pi suffers with playback the very same way all the other ARM
  media players out there suffer, whether they be AC Ryan, Medi8ter,
  Xtreamer or whatever - as soon as you have to run some controlling
  software as well as the codec, and especially if you have to decode
  audio on the device (as opposed to having the amp do it in
  hardware), it stutters. The cpu just cannot cut it.
 
 That's too bad.  I thought the GPU on at least some of these boards
 was capable of smooth 1080p playback.  The Pandaboard ES claims Full
 HD (1080p) multi-standard video encode/decode but I suppose that
 doesn't mean it's stutter-free.
 
 http://pandaboard.org/content/pandaboard-es
 
 - Grant

I had the same disappointment. I suppose 1080p is a rather variable
quantity - a konsole in 1080p is not exactly the same thing in terms of
computing requirement as Transformers3 :-)

But what the heck, get yourself a Pi anyway and run OpenElec on it.
Improvements are constantly being made to the code, you might find it's
acceptable for your needs. And besides, it's always a thrill getting
that tiny little pcb running something useful.


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




Re: [gentoo-user] Beagle vs. Panda vs. Raspberry on Gentoo

2012-11-23 Thread Grant
   That's too bad.  I thought the GPU on at least some of these boards
   was capable of smooth 1080p playback.  The Pandaboard ES claims Full
   HD (1080p) multi-standard video encode/decode but I suppose that
   doesn't mean it's stutter-free.
  
   http://pandaboard.org/content/pandaboard-es
  
   - Grant
 
  I had the same disappointment. I suppose 1080p is a rather variable
  quantity - a konsole in 1080p is not exactly the same thing in terms of
  computing requirement as Transformers3 :-)
 
  But what the heck, get yourself a Pi anyway and run OpenElec on it.
  Improvements are constantly being made to the code, you might find it's
  acceptable for your needs. And besides, it's always a thrill getting
  that tiny little pcb running something useful.

 I think the Pandaboards actually can play 1080p video back smoothly as
long as hardware video decoding is enabled.  I've found several threads
with some Ubuntu users saying they can't get it to work and others
indicating that it works for them.  Here's one from February:

 https://groups.google.com/forum/?fromgroups=#!topic/pandaboard/WMi6iwEutX4

 - Grant

Apparently the Raspberry Pi can play 1080p videos with omxplayer:

http://www.brianhensley.net/2012/07/how-to-get-1080p-videos-running-on-my.html

Omxplayer is a video player specifically made for the Raspberry PI's GPU

http://elinux.org/Omxplayer
http://gpo.zugaina.org/media-video/omxplayer
http://www.youtube.com/watch?v=KGUIePe32Bo

- Grant


Re: [gentoo-user] Installing specific layman packages eix-test-obsolete

2012-12-11 Thread Neil Bothwick
On Tue, 11 Dec 2012 14:32:01 -0800, Grant wrote:

  This is against the idea of an overlay: If you want only cerain
  packages copy them into your local overlay and do not add the whole
  overlay to portage. (But you might get troubles if you do not use
  eclasses or other ebuilds from the overlay which might contain
  corresponding patches).  
 
 Surely you can see the value in finding an ebuild for a package you like
 that isn't in portage, adding the overlay associated with that ebuild
 via layman, somehow specifying that you only want that package from the
 overlay, and running 'layman -S' to stay on top of version bumps.  If I
 understand your suggestion correctly, it would involve manually checking
 for version bumps and recopying them into the local overlay.  That
 doesn't seem very Gentoo.

Agreed. I may not want to add the whole overlay. That's fine for things
like the kde or vmware overlays that have a specific focus, but sometimes
I find a package I want isn't in portage but is in an overlay, but adding
that overlay pulls in all sorts of other packages, sometimes beta or
unstable versions.

However, the idea of setting overlay order sounds interesting as it would
at least solve part of the problem. For now, symlinking rather than
copying, which I tried before, at least keeps things up to date.


-- 
Neil Bothwick

Snacktrek, n.:
 The peculiar habit, when searching for a snack, of constantly
 returning to the refrigerator in hopes that something new will have
 materialized.


signature.asc
Description: PGP signature


Re: [Bulk] Re: [gentoo-user] /etc/hosts include file?

2013-03-11 Thread Alan McKinnon
On 11/03/2013 06:00, Walter Dnes wrote:
 On Sun, Mar 10, 2013 at 05:07:25PM -0400, Michael Mol wrote
 
 NAT behind a home router is bad, too. For IPv4, it's only necessary
 because there aren't enough IPv4 addresses to let everyone have a unique
 one.
 
   The best real reason for moving to IPV6 is address space (or lack
 thereof, in the case of IPV4).  The people who are truly interested in
 speeding up IPV6 adoption should do their best to shut up the internet
 hippies who constantly rant and rave about how NAT is evil.  Don't let
 the cause get distracted by that unrelated issue.  Focus on the core
 issue.
 

You are being over-simplistic.

Lack of IPv4 address space *caused* NAT to happen, the two are
inextricably intertwined. Even worse, people now have NAT conflated with
all sorts of other things. Like for example NAT and security.

NAT is the context of an IPv6 discussion is *very* relevant, it's one of
the points you have to raise to illustrate what bits inside people's
heads needs to be identified and changed.

Until you change the content of people's heads, IPv6 is just not going
to happen.

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




Re: [Bulk] Re: [Bulk] Re: [gentoo-user] /etc/hosts include file?

2013-03-11 Thread Kevin Chadwick
  NAT behind a home router is bad, too. For IPv4, it's only necessary
  because there aren't enough IPv4 addresses to let everyone have a unique
  one.  
  
The best real reason for moving to IPV6 is address space (or lack
  thereof, in the case of IPV4).  The people who are truly interested in
  speeding up IPV6 adoption should do their best to shut up the internet
  hippies who constantly rant and rave about how NAT is evil.  Don't let
  the cause get distracted by that unrelated issue.  Focus on the core
  issue.
 

I completely agree divide and conquer tactics.

 
 You are being over-simplistic.
 
 Lack of IPv4 address space *caused* NAT to happen, the two are
 inextricably intertwined. Even worse, people now have NAT conflated with
 all sorts of other things. Like for example NAT and security.
 

NAT was around way earlier and may I state again also that I have
externally facing servers and games machines behind NAT.

So are you saying that you think it is good for every machine to be in
a DMZ, few chosen ones yes. I disagree completely as I do with the
usefullness of push-email.

 NAT is the context of an IPv6 discussion is *very* relevant, it's one of
 the points you have to raise to illustrate what bits inside people's
 heads needs to be identified and changed.
 
 Until you change the content of people's heads, IPv6 is just not going
 to happen.

NAT has more uses than those two, NAT type of functionality is
apparently desired by some ipv6 networks to allow easier ISP
migration.

It's true NAT distracts from the bad points of ipv6 and which is the
only part irrelevent for ipv4 modded to work with a larger address space
(ipv5).

I wonder if this is an example of how these technologies can get so
convoluted?

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] Moving from old udev to eudev

2013-08-01 Thread Dale
Samuli Suominen wrote:
 On 01/08/13 19:28, Tanstaafl wrote:
 Hi all,

 Ok, rehashing this, but please don't turn it into another udev vs
 systemd thread.

 I have an older server that I have been putting off this update,
 debating on whether to update to the regular udev, or to eudev.

 I've googled until my fingers are blue, but cannot for the life of me
 find any explicit instructions for *how* to switch from udev to eudev.

 The eudev project page is sparse, to say the least.

 Anyone?


 First of all, eudev only has IUSE=rule-generator that is backported
 from udev-171.
 It's otherwise same in users point of view with sys-fs/udev, except
 sys-fs/eudev is constantly out of date and the code forwarding from
 upstream is not very reliable process.
 Futhermore sys-fs/udev is not 'old' but it's the new one and will be
 the default for OpenRC for long as OpenRC is in Portage.
 I don't want to bash anything or anybody but sys-fs/eudev as-is in the
 Portage is currently useless and a bit buggy.



That's odd.  I been using eudev since like the second version that came
out and have had zero issues with it.  Ask anyone here, if it had a
problem, I'd be found it by now.  lol

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Moving from old udev to eudev

2013-08-01 Thread Samuli Suominen

On 02/08/13 00:49, Dale wrote:

Samuli Suominen wrote:

On 01/08/13 19:28, Tanstaafl wrote:

Hi all,

Ok, rehashing this, but please don't turn it into another udev vs
systemd thread.

I have an older server that I have been putting off this update,
debating on whether to update to the regular udev, or to eudev.

I've googled until my fingers are blue, but cannot for the life of me
find any explicit instructions for *how* to switch from udev to eudev.

The eudev project page is sparse, to say the least.

Anyone?



First of all, eudev only has IUSE=rule-generator that is backported
from udev-171.
It's otherwise same in users point of view with sys-fs/udev, except
sys-fs/eudev is constantly out of date and the code forwarding from
upstream is not very reliable process.
Futhermore sys-fs/udev is not 'old' but it's the new one and will be
the default for OpenRC for long as OpenRC is in Portage.
I don't want to bash anything or anybody but sys-fs/eudev as-is in the
Portage is currently useless and a bit buggy.




That's odd.  I been using eudev since like the second version that came
out and have had zero issues with it.  Ask anyone here, if it had a
problem, I'd be found it by now.  lol


Then you haven't been following.  It's multiple issues per week, if not 
even day.
And like said, you don't gain anything by using sys-fs/eudev. The 
package is useless.





Re: [gentoo-user] Moving from old udev to eudev

2013-08-01 Thread Samuli Suominen

On 02/08/13 02:27, William Kenworthy wrote:

On 02/08/13 00:28, Tanstaafl wrote:

Hi all,

Ok, rehashing this, but please don't turn it into another udev vs
systemd thread.

I have an older server that I have been putting off this update,
debating on whether to update to the regular udev, or to eudev.

I've googled until my fingers are blue, but cannot for the life of me
find any explicit instructions for *how* to switch from udev to eudev.

The eudev project page is sparse, to say the least.

Anyone?



Something like

olympus ~ # cat /etc/portage/package.mask

=sys-fs/udev-180

...
olympus ~ #

olympus ~ # grep udev /etc/portage/package.keywords
sys-fs/eudev ~amd64
=virtual/udev-206 ~amd64
olympus ~ #

unmerge everything udev  emerge eudev

its been much less fuss and bother than trying to stick with the udev
machinations - I have maybe 15 machines and vm's running eudev, no udev
... :)


nope, you just believed all the FUD there has been out there.  i've said 
it many times, and i'll say it again:


the only real different is USE=rule-generator and that's it

and sys-fs/eudev is constantly out of date and haven't developed any 
features of their own


so why follow with unreliable fork, when there is the official package 
available with equal features?





Re: [gentoo-user] Moving from old udev to eudev

2013-08-01 Thread William Kenworthy
On 02/08/13 07:42, Samuli Suominen wrote:
 On 02/08/13 02:27, William Kenworthy wrote:
 On 02/08/13 00:28, Tanstaafl wrote:
 Hi all,

 Ok, rehashing this, but please don't turn it into another udev vs
 systemd thread.

 I have an older server that I have been putting off this update,
 debating on whether to update to the regular udev, or to eudev.

 I've googled until my fingers are blue, but cannot for the life of me
 find any explicit instructions for *how* to switch from udev to eudev.

 The eudev project page is sparse, to say the least.

 Anyone?


 Something like

 olympus ~ # cat /etc/portage/package.mask
 =sys-fs/udev-180
 ...
 olympus ~ #

 olympus ~ # grep udev /etc/portage/package.keywords
 sys-fs/eudev ~amd64
 =virtual/udev-206 ~amd64
 olympus ~ #

 unmerge everything udev  emerge eudev

 its been much less fuss and bother than trying to stick with the udev
 machinations - I have maybe 15 machines and vm's running eudev, no udev
 ... :)
 
 nope, you just believed all the FUD there has been out there.  i've said
 it many times, and i'll say it again:
 
 the only real different is USE=rule-generator and that's it
 
 and sys-fs/eudev is constantly out of date and haven't developed any
 features of their own
 
 so why follow with unreliable fork, when there is the official package
 available with equal features?
 
 

and I just searched gentoo's bugzilla for eudev and there is a single
bug which is a stabilisation request.  Looking at the eudev github page
recent updates range from hours to days though some are months as one
would expect.

If its unreliable, where are the bugs? Try doing a search of gentoo's
bugzilla for udev instead of eudev ...


BillK





Re: [gentoo-user] Moving from old udev to eudev

2013-08-01 Thread Samuli Suominen

On 02/08/13 05:48, Dale wrote:

Samuli Suominen wrote:


Huh? USE=firmware-loader is optional and enabled by default in
sys-fs/udev
Futhermore predictable network interface names work as designed, not a
single valid bug filed about them.

Stop spreading FUD.

Looking forward to lastrite sys-fs/eudev just like
sys-apps/module-init-tools already was removed as unnecessary later on.


So your real agenda is to kill eudev?  Maybe it is you that is spreading
FUD instead of others.  Like others have said, udev was going to cause
issues, eudev has yet to cause any.


Yes, absolutely sys-fs/eudev should be punted from tree since it doesn't 
bring in anything useful, and it reintroduced old bugs from old version 
of udev, as well as adds confusing to users.
And no, sys-fs/udev doesn't have issues, in fact, less than what 
sys-fs/eudev has.
Like said earlier, the bugs assigned to udev-bugs@g.o apply also to 
sys-fs/eudev and they have even more in their github ticketing system.
And sys-fs/udev maintainers have to constantly monitor sys-fs/eudev so 
it doesn't fall too much behind, which adds double work unnecessarily.

They don't keep it up-to-date on their own without prodding.

Really, this is how it has went right from the start and the double work 
and user confusion needs to stop.


- Samuli



Re: [gentoo-user] Moving from old udev to eudev

2013-08-03 Thread Walter Dnes
On Fri, Aug 02, 2013 at 02:42:36AM +0300, Samuli Suominen wrote

 nope, you just believed all the FUD there has been out there.
 i've said it many times, and i'll say it again:
 
 the only real different is USE=rule-generator and that's it
 
 and sys-fs/eudev is constantly out of date and haven't developed any 
 features of their own

  udev, the red-headed stepchild of systemd, hasn't exactly had a lot of
new features, either.  The following FUD brought to you by
Lennart Poettering - Red Hat, Inc. 
http://lists.freedesktop.org/archives/systemd-devel/2012-August/006066.html

 Well, we intent to continue to make it possible to run udevd outside
 of systemd. But that's about it. We will not polish that, or add
 new features to that or anything.
 
 OTOH we do polish behaviour of udev when used *within* systemd
 however, and that's our primary focus.
 
 And what we will certainly not do is compromise the uniform
 integration into systemd for some cosmetic improvements for
 non-systemd systems.

  Straight from the horse's mouth, udev won't be getting new features
and the systemd maintainers' main target is integration into systemd.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01

2013-09-29 Thread Tanstaafl

On 2013-09-29 2:25 PM, Dale rdalek1...@gmail.com wrote:

Tanstaafl wrote:

The way I see it, if you cannot provide a rational answer to that
question, then  there is no reason for you to use this as a reason to
abandon gentoo, only a reason to merge /usr into /...



Simple, I have never had to resize / or /boot before.  I have had to
resize /usr, /var and /home several times tho.  THAT is the reason.


Ok, but... everything I've read and personal experience over the years 
shows that space required for /usr should not change much, especially 
constantly grow over time (like requirements for /home can and will)- it 
may fluctuate (increase, decrease) *a little* over time, but it 
definitely should not grow substantially, so, if you had to resize it, 
most likely it is because you simply didn't allocate enough room to 
start with.



For me, it doesn't matter if it is rational to YOU or not.


Sorry, but rationality is not subjective. Just because something seems 
to be rational to you doesn't mean that it is.


You have still not stated a logical, rational reason for wanting a 
separate /usr.



I am the one doing things on my puter not you or anyone else. If the
init thingy fails, that will be me staring at a error message, not
you.


I don't want one of those things either, but that isn't what I was 
questioning you about.


Of course you can do whatever you want *and* are technically capable of 
on your own computer, but that doesn't automatically make those things 
logical or rational.


I did see one good case for a separate /usr (someone who was using 
ancient PATA drives, and something about striping for performance), but 
that was obviously a corner case...




Re: [gentoo-user] Re: s6 et al

2013-10-03 Thread Alan McKinnon
On 03/10/2013 14:55, James wrote:
 William Hubbs williamh at gentoo.org writes:
 
 
 On Wed, Oct 02, 2013 at 12:04:24AM -0500, Bruce Hill wrote:
 Just stumbled across some very interesting software/ideas:

 http://skarnet.org/poweredby.html
 
 Yes, I have been looking at this for a few days, and some of the other
 members of the OpenRC team are interested in it as well.
 
 I'm not too sure about the kernel sources:
 is provided by Gandi and cannot be modified

That's a GPL violation right there.

The developer absolutely totally cannot do that. He/she may refuse to
provide support if the kernel image is not what is shipped, but by using
Linux they have already bound themselves to an agreement that the
sources must be provided and be modifiable. And, they have to host the
sources on their own network or provide them on demand



 
 My experiences with embedded *nix is that the kernel sources
 are tinkered with, almost constantly to infinity..
 
 You'd be wise to post to the gentoo-embedded group, where
 those learking in the shadows (memory crevaces) have
 lots of experiences with a multitude of embedded ventures.
 
 Most embedded ventures end up on the waste heap; they made
 critical decision that leave the effort..borked.
 I'd research into the coding+user community, as being 
 naked and alone on an embedded vetnure, does give rise to
 abandonment.   
 
 Another consideration is the processor architecture(s) that 
 the codebase runs on. Most embedded and high end processor
 efforts are looking at LOW POWER architectures, as the thrust
 of all future efforts. This means on ARM or ARM+x86 or such.
 
 
 That said, the project does look attractive.
 
 caveat emptor.
 hth,
 James
 
 
 
 
 
 


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




Re: [gentoo-user] Re: s6 et al

2013-10-03 Thread Dragostin Yanev
On Thu, 03 Oct 2013 14:57:38 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:

 On 03/10/2013 14:55, James wrote:
  William Hubbs williamh at gentoo.org writes:
  
  
  On Wed, Oct 02, 2013 at 12:04:24AM -0500, Bruce Hill wrote:
  Just stumbled across some very interesting software/ideas:
 
  http://skarnet.org/poweredby.html
  
  Yes, I have been looking at this for a few days, and some of the
  other members of the OpenRC team are interested in it as well.
  
  I'm not too sure about the kernel sources:
  is provided by Gandi and cannot be modified
 
 That's a GPL violation right there.

Hi,
I think you are misreading that sentence out of it's context.
The context as I read it states that the hosting server is a VPS leased
by Gandi and they don't have control over the kernel (openvz, lxc,
containers, etc..).


 
 The developer absolutely totally cannot do that. He/she may refuse to
 provide support if the kernel image is not what is shipped, but by
 using Linux they have already bound themselves to an agreement that
 the sources must be provided and be modifiable. And, they have to
 host the sources on their own network or provide them on demand
 
 
 
  
  My experiences with embedded *nix is that the kernel sources
  are tinkered with, almost constantly to infinity..
  
  You'd be wise to post to the gentoo-embedded group, where
  those learking in the shadows (memory crevaces) have
  lots of experiences with a multitude of embedded ventures.
  
  Most embedded ventures end up on the waste heap; they made
  critical decision that leave the effort..borked.
  I'd research into the coding+user community, as being 
  naked and alone on an embedded vetnure, does give rise to
  abandonment.   
  
  Another consideration is the processor architecture(s) that 
  the codebase runs on. Most embedded and high end processor
  efforts are looking at LOW POWER architectures, as the thrust
  of all future efforts. This means on ARM or ARM+x86 or such.
  
  
  That said, the project does look attractive.
  
  caveat emptor.
  hth,
  James
  
  
  
  
  
  
 
 




Re: [gentoo-user] Xorg-server crashing constantly

2014-02-13 Thread Joseph

On 02/12/14 23:26, Willie Matthews wrote:

On 02/12/2014 09:22 PM, Joseph wrote:

I'm running xorg-server-1.13.4-r1 and XFCE using slim as login
Whenever I start tree applications like: two Firefox and try to open
Thunderbird or Thunderbird + Firefox and try to open another instance
of Firefox xorg-server is crashing and logging me out.

What I mean to say I can start any two of them but not the third one.

xorg-log is not showing anything.  It has been happening on my other
machines as well.


Have you tried starting XFCE without SLiM? What about looking at the log
files? If so you should show us everything that you looked at. We can't
give you a good answer without seeing something.

--


Willie Matthews
matthews.wil...@gmail.com
(702) 508.8455
I have my geeky moments!


I switched to xdm and I'm getting some kind of error when xorg-server crashes:

GLib-WARNING **: GChildWatchSource: Exit status of a child process was 
requested but ECHILD was received by waitpid()

I can not capture the error as X crashes so I can not copy the content of the 
screen.

and dmesg shows:

[29776.366067] xfce4-session[6723]: segfault at  ip 
7fdf8fc3ff51 sp 7fff0e9ad820 error 5 in 
libglib-2.0.so.0.3600.4[7fdf8fbd8000+12e000]
[29777.564536] composite sync not supported
[29777.663752] composite sync not supported
[29874.036048] composite sync not supported


--
Joseph



Re: [gentoo-user] [SOLVED] Xorg-server crashing constantly

2014-02-13 Thread Willie Matthews
On 02/13/2014 06:17 AM, Joseph wrote:
 On 02/12/14 23:26, Willie Matthews wrote:
 On 02/12/2014 09:22 PM, Joseph wrote:
 I'm running xorg-server-1.13.4-r1 and XFCE using slim as login
 Whenever I start tree applications like: two Firefox and try to open
 Thunderbird or Thunderbird + Firefox and try to open another instance
 of Firefox xorg-server is crashing and logging me out.

 What I mean to say I can start any two of them but not the third one.

 xorg-log is not showing anything.  It has been happening on my other
 machines as well.

 Have you tried starting XFCE without SLiM? What about looking at the log
 files? If so you should show us everything that you looked at. We can't
 give you a good answer without seeing something.

 -- 


 Willie Matthews
 matthews.wil...@gmail.com
 (702) 508.8455
 I have my geeky moments!

 SOLVED.
 It is a problem with stable: xfce4-session-4.10.0-r1
 switching to unstable: xfce-base/xfce4-session-4.10.1
 solved the problem.

 as per:
 http://forums.gentoo.org/viewtopic-t-977392-highlight-libglib.html?sid=f42e37919a4446a3457be2955107bd23




I come back and read your emails and you have it all solved already.
Gotta love those log files.

-- 


 Willie Matthews
 matthews.wil...@gmail.com
 (702) 508.8455
 I have my geeky moments!




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Fwd:How about the gentoo server or cluster in production environment?

2014-02-26 Thread Poison BL.
On Wed, Feb 26, 2014 at 5:55 AM, Nicolas Sebrecht nsebre...@piing.fr wrote:
 The 21/02/14, hasufell wrote:

 So you are saying compiling a minimal kernel to minimize exposure to
 subsystem bugs is only obscurity? (I really wonder what Greg would say
 to this)

 Developers made the kernel to rely on modules. Distributions relies on
 them. Since they are almost always loaded on demand, Gentoo does not
 make things better in this area, either.

 --
 Nicolas Sebrecht


Actually, they're loaded on demand when they:
a) Are enabled (the kernel doesn't rely on modules, it offers them for
versatility, though some user space code does rely on them, i.e.
virtualbox, a few drivers for X, etc)
b) Are built for that particular kernel
c) That kernel has all the dependencies in place to support them
d) The tools to load them exist in user space
e) They're not specifically blacklisted in user space (assuming a
loading mechanism that honors that)

Unless it's changed when I wasn't looking, it's entirely possible to
build a kernel with module loading disabled entirely and restrict the
set of code to be run in kernel space to an explicitly defined series
of kernel options. I say when I wasn't looking because I use modules
to trim down how much of iptables is constantly loaded on my router
for rules there I don't use and the only other places I have Gentoo
are my multitude of laptops, where the versatility of building and
loading a module to test out yet another toy someone has on hand
around me, without a reboot in many cases, is incredibly handy.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Systemd upower

2014-06-04 Thread Tanstaafl

On 6/3/2014 1:08 PM, Canek Peláez Valdés can...@gmail.com wrote:

On Tue, Jun 3, 2014 at 11:48 AM, Tanstaafl tansta...@libertytrek.org wrote:

On 6/3/2014 11:10 AM, Canek Peláez Valdés can...@gmail.com wrote:

Maybe. The thing is, this is going to keep happening, as more and more
infrastructure migrates towards systemd. Perhaps a news item everytime
it happens is unrealistic?



Weren't you the one saying that those of us who were voicing concerns that
systemd proponents were ultimately wanting to FORCE systemd on everyone were
just scare-mongering conspiracy theorists?



Who is forcing  anything?


I was specifically referring to your comment that:


The thing is, this is going to keep happening, as more and more
infrastructure migrates towards systemd.


That comment right there - specifically the word *infrastructure* - 
screams to me 'we intend to take over the world'.


And yes, as devs get lazier (decide to rely on systemd rather than build 
it to work independently of the init system), this will in fact result 
in *users* (read: those lacking the skills to code every program out 
there to work without systemd) eventually being *forced* to switch to 
systemd.


That is simply the reality. You can ignore it if you like, but it 
doesn't change it. Forced is forced.



That's what you and many others don't seem to understand: systemd is a
*BETTER* implementation for basically *ALL* the hodgepodge of
solutions that we had before in our plumbing layer.


Time will tell, and you may even be right. The problem is, average users 
really don't have a way to prove this to themselves, all we see is the 
wailing and gnashing of teeth as stuff constantly *breaks* that *never* 
broke before.




Re: [gentoo-user] python-updater constantly rebuilds one same package

2014-08-14 Thread Alan McKinnon
On 14/08/2014 18:09, Mike Gilbert wrote:
 On Thu, Aug 14, 2014 at 11:57 AM, Сергей protsero...@gmail.com wrote:
 I have looked at dev-libs/libgamin-0.1.10-r4 and
 dev-libs/libgamin-0.1.10-r5 ebuilds and compared them.
 dev-libs/libgamin-0.1.10-r5 has PYTHON_TARGETS=python2_7 (r4 had no
 PYTHON_TARGETS) and now python-updater doesn't rebuild libgamin. Seems
 like now everything is ok and it was only a portage bug.

 
 It is actually a bug with python-updater. However, we have no plans to
 fix it; instead, the problem will be resolved once all python-based
 ebuilds are migrated to python-r1.eclass and therefore utilize
 PYTHON_TARGETS.
 
 At that point, python-updater will become obsolete and you will no
 longer need to run it.


Um, yeah.

That's what they said about revdep-rebuild when @preserved-rebuild hit.
And then again when sub-slots hit. But revdep-rebuild to this day still
catches things both of those solutions missed.

In Gentoo-land I have learned to be extremely wary of any statement like
old xyz tool is no longer necessary :-)

It seems like the 98%-2% rule is still very much in play


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




Re: [gentoo-user] python-updater constantly rebuilds one same package

2014-08-14 Thread Mike Gilbert
On Thu, Aug 14, 2014 at 2:26 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On 14/08/2014 18:09, Mike Gilbert wrote:
 On Thu, Aug 14, 2014 at 11:57 AM, Сергей protsero...@gmail.com wrote:
 I have looked at dev-libs/libgamin-0.1.10-r4 and
 dev-libs/libgamin-0.1.10-r5 ebuilds and compared them.
 dev-libs/libgamin-0.1.10-r5 has PYTHON_TARGETS=python2_7 (r4 had no
 PYTHON_TARGETS) and now python-updater doesn't rebuild libgamin. Seems
 like now everything is ok and it was only a portage bug.


 It is actually a bug with python-updater. However, we have no plans to
 fix it; instead, the problem will be resolved once all python-based
 ebuilds are migrated to python-r1.eclass and therefore utilize
 PYTHON_TARGETS.

 At that point, python-updater will become obsolete and you will no
 longer need to run it.


 Um, yeah.

 That's what they said about revdep-rebuild when @preserved-rebuild hit.
 And then again when sub-slots hit. But revdep-rebuild to this day still
 catches things both of those solutions missed.

 In Gentoo-land I have learned to be extremely wary of any statement like
 old xyz tool is no longer necessary :-)

 It seems like the 98%-2% rule is still very much in play


I have not run revdep-rebuild in over a year. If you have seen that
preserve-libs is missing things, that's a a bug.

Slot-operators are going to take a LONG time to get implemented
tree-wide, and I agree that it may never happen.

Packages which utilize PYTHON_TARGETS do not get rebuilt by
python-updater anyway -- it explicitly skips them. At this point, the
majority of packages that people actually use have been converted.
Many users may not even need to run python-updater if they don't have
USE=python enabled globally.



Re: [gentoo-user] Re: 1TB 2.5in drive recommendation

2014-09-14 Thread J. Roeleveld

On Saturday, September 13, 2014 09:45:28 PM Hans wrote:
 On 28/08/14 21:45, Joseph wrote:
  I need to select 500GB or 1TB infernal 2.5in drive, any recommendation
  (reliability) of the brand.
  My current WD 320GB fail after 5-years.
 
 Go Samsung actually made by Samsung in Korea or if you can get Hitachi
 actually made by Hitachi in Japan.  Western Digital and Seagate come out
 of the same plants in Thailand and Indonesia and don't last.

What do you mean with don't last?
I have seen Hitachis die within a year and WDs that lasted more then 10 years.
That is no guarantee that Hitachis are unreliable or WDs are always reliable.

 I had a 14 year old Toshiba Laptop with a Toshiba disk, The disk died
 after 14 month when the warranty has expired.

1 failure 14 years ago is not a reliable result to base your comments on.

 Replaced it with Samsung
 disk. The Laptop was used until very recently 24/7 as mail and web
 server with buld in UPS (battery) until the screen and keyboard died.

A laptop is not designed to run 24/7 and neither are the batteries reliable 
after being constantly charged 24/7. Did you ever test the ups 
functionality?

 The Samsung disk is still alive and well as a plugin backup for the
 replacement Laptop server.

If the new one has a Li-Ion battery, you have a nice fire-hazard
Hope you have sufficient cooling for the battery, considering you are using it 
24/7.

--
Joost



[gentoo-user] Re: File system testing

2014-09-17 Thread James
Alec Ten Harmsel alec at alectenharmsel.com writes:


 As far as HDFS goes, I would only set that up if you will use it for
 Hadoop or related tools. It's highly specific, and the performance is
 not good unless you're doing a massively parallel read (what it was
 designed for). I can elaborate why if anyone is actually interested.

Acutally, from my research and my goal (one really big scientific simulation
running constantly). Many folks are recommending to skip Hadoop/HDFS all
together and go straight to mesos/spark. RDD (in-memory)  cluster calculations
are at the heart of my needs. The opposite end of the spectrum, loads
of small files and small apps; I dunno about, but, I'm all ears.
In the end, my (3) node scientific cluster will morph and support
the typical myriad  of networked applications, but I can take
a few years to figure that out, or just copy what smart guys like
you and joost do.


 We use Lustre for our high performance general storage. I don't have any
 numbers, but I'm pretty sure it is *really* fast (10Gbit/s over IB
 sounds familiar, but don't quote me on that).

AT Umich, you guys should test the FhGFS/btrfs combo. The folks 
at UCI swear about it, although they are only publishing a wee bit.
(you know, water cooler gossip).. Surely the Wolverines do not
want those californians getting up on them?

Are you guys planning a mesos/spark test? 

  Personally, I would read up on these and see how they work. Then,
  based on that, decide if they are likely to assist in the specific
  situation you are interested in.

It's a ton of reading. It's not apples-to-apple_cider type of reading.
My head hurts.


I'm leaning to  DFS/LFS

(2)  Luster/btrfs  and FhGFS/btrfs

Thoughts/comments?

James





Re: [gentoo-user] Re: Something firewall-ish

2014-12-15 Thread J. Roeleveld
On Tuesday, December 16, 2014 05:46:17 AM meino.cra...@gmx.de wrote:
 »Q« boxc...@gmx.net [14-12-16 05:28]:
  On Tue, 16 Dec 2014 05:02:40 +0100
  
  meino.cra...@gmx.de wrote:
   actually the thing is: There is a plugin called NoScript which
   constantly accesses secure.informaction.com, which is the author
   of this plugin.
   I tried a lot to block that access from inside firefox but did
   not find a way to do so (read: _I_ did not find... ;)
  
  http://hackademix.net/2010/07/28/abe-patrols-the-routes-to-your-routers/
  explains the connection and how to disable it in NoScript's options.
 
 Hi Q,
 
 very interesting page...thank you!
 Its the stuff I like ;)
 
 What is the difference between NoScript saying the access to
 secure.informaction.com is completly anonymous and
 anyone else stating this?
 Since the access is encrypted I cannot check its contents.
 And how is it possible to send back an answer, if my
 IP-address isn't offered (that is: completly anonymous)?

For any connection between 2 computers, both will always know the IP address 
of the other. (when using TCP/IP)

All that site does, according to the blogpost, is reply with your IP is: xx

There are other sites that offer a similar service and it's commonly used when 
you need to know the external IP. (Dyndns-scripts use it as well)

 Do you know anything about the other address and its origin:
 s3-1.amazonaws.com
 
 ? It has something to do with a cloud service of Amazon...
 But what could be the origin of this one ... ?

Any plugin you have installed.
I've got that blocked in my firewall due to a large amount of SSH accesses in 
my logs.

--
Joost



Re: [gentoo-user] Re: Get off my lawn?

2015-01-22 Thread Rich Freeman
On Thu, Jan 22, 2015 at 1:06 PM, Tom H tomh0...@gmail.com wrote:

 Samsung's starting to release Tizen-driven phones, TVs, white goods,
 etc. Tizen uses systemd and, given the size of Samsung, the number of
 systemd embedded devices is going to skyrocket in the next few years.
 Samsung wouldn't have chosen systemd for Tizen if it were too resource
 hungry for its use case.


Embedded is a pretty broad term, and it impacts all aspects of a
device's design.  You can't really put a smartphone and a microwave in
the same category.

Phones actually have plenty of storage, RAM, and CPU by most embedded
standards.  The main issue is battery use, which is mostly about
ensuring that your software isn't constantly waking up the CPU.  If
systemd is well-behaved in this regard I'd expect it to work on a
phone just fine.

The thing is that most devices that couldn't run systemd would
probably be hard-pressed to run any kind of generic linux distro in
any case.  They might not even run linux, or if they did it might be a
super-stripped-down build with an embedded initramfs containing
nothing but a single executable built in C which runs as PID 1 (no
need for even filesystem support, let alone stuff like /proc and so
on).

I'm genuinely curious as to how systemd and competing solutions are
adopted in the embedded world, including phones but especially getting
beyond this (huge) niche.

I'm also curious as to where ChromeOS ends up going.  It is based on
Gentoo, but runs Upstart (which isn't used by just about anybody else
now, and which isn't even in Gentoo's portage).

-- 
Rich



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan McKinnon
On 09/02/2015 11:48, Alan Mackenzie wrote:
 Hello, Gentoo!
 
 I've pretty much got my new system up and running.  It took me less than
 a week (compared with the month it took me when I first installed Gentoo
 a few years ago).  The most time consuming bit was getting my email
 server (qmail) going.  I've still got to go through my old
 /var/lib/portage/world file, and see which packages I had I still want
 installed.
 
 However, I don't seem to have a system log.  There is no file named
 /var/log/syslog, or anything like it.
 
 I've got syslog-ng installed, and rc-update show shows that it is
 in runlevel default.  Indeed, there exists /var/run/syslog-ng.pid and
 /var/run/syslog-ng.ctl.  But no /var/log/syslog, if that's what the
 logfile is indeed called.  (The syslog-ng manpages don't make this
 clear.)
 
 Do I actually need to configure the name of a log file in
 /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
 even hint at, such being necessary.
 
 Clearly, I'm missing something obvious here.  What is it?
 
 Thanks in advance for the help.
 


Gentoo defaults to calling it /var/log/messages

(it's also constantly tailed on vt12, just in case you need to see
what's going on it right now)



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




Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan Mackenzie
Hi, Alan.

On Mon, Feb 09, 2015 at 12:19:20PM +0200, Alan McKinnon wrote:
 On 09/02/2015 11:48, Alan Mackenzie wrote:
  Hello, Gentoo!

  I've pretty much got my new system up and running.  It took me less than
  a week (compared with the month it took me when I first installed Gentoo
  a few years ago).  The most time consuming bit was getting my email
  server (qmail) going.  I've still got to go through my old
  /var/lib/portage/world file, and see which packages I had I still want
  installed.

  However, I don't seem to have a system log.  There is no file named
  /var/log/syslog, or anything like it.

  I've got syslog-ng installed, and rc-update show shows that it is
  in runlevel default.  Indeed, there exists /var/run/syslog-ng.pid and
  /var/run/syslog-ng.ctl.  But no /var/log/syslog, if that's what the
  logfile is indeed called.  (The syslog-ng manpages don't make this
  clear.)

  Do I actually need to configure the name of a log file in
  /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
  even hint at, such being necessary.

  Clearly, I'm missing something obvious here.  What is it?

  Thanks in advance for the help.



 Gentoo defaults to calling it /var/log/messages

Yes.  :-)

 (it's also constantly tailed on vt12, just in case you need to see
 what's going on it right now)

I didn't know that.  Wow!  Is this something relatively new, or has it
always been there?

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

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] NSA SELinux kernel support

2015-01-04 Thread Erik Mackdanz
Sid S r03...@gmail.com writes:

 your distribution probably comes
 with policies for everything you want to install, anyway...

...until it doesn't, and then what?

I attempted a full conversion a few months back, and was ready to make
some commitment to getting SELinux to work on my personal laptop.  I got
as far as Permissive mode, with a firehose of access violations in the
auditd log.  I had written a couple of scrappy policies to authorize a
few small one-off violations, with the help of audit2allow, but the
firehose was still gushing.

I use offlineimap for fetching mail, which doesn't have a policy.  Now,
if I ever wanted to switch from Permissive to Enforcing, I was required,
as an absolute SELinux n00b, to write a full policy for a non-trivial
mail application.  This is when I turned around.

I could have half-assed it with audit2allow, but security-wise that's a
cop-out.

Inevitably, there will always be some program I want to use with no
existing policy, and I'll constantly have this problem.

I realized that my personal workstation is a place I like to try lots of
software (don't we all like that about Linux?), and SELinux can be a big
wet blanket on the fun at any time.

I'd like to find a middle ground, and it might be Targeted mode (I was
attempting Strict).  Or, it might be a different system like AppArmor.
-- 
Erik Mackdanz



Re: [gentoo-user] openrc-systemd command comparison

2015-03-16 Thread Canek Peláez Valdés
On Mon, Mar 16, 2015 at 7:47 PM, Daniel Frey djqf...@gmail.com wrote:

 Hey all,

 I've now converted two systems to systemd and so far haven't had too
 much issues with systemd itself, other than me constantly forgetting
 commands.

 Is there a nice table or chart somewhere that lists openrc commands with
 equivalent systemd commands? That would really help me from bashing my
 head and then wandering through man pages for a while trying to figure
 out what I want to do. I'll eventually remember but it would be nice to
 have something to help me along. My memory sure isn't what it used to be.

I remember seeing a table like that in the wiki a long time ago, but I
can't find it now. Anyway, the translatable commands are obvious:

/etc/init.d/service start → systemctl start service
/etc/init.d/service stop → systemctl stop service

and the rest are usually are not translatable. There is nothing like
systemctl mask service in OpenRC, AFAIK, and there is no equivalent for
/etc/init.d/service zap in systemd (the whole idea of systemd is that an
ugly hack like zap will never be necessary).

Not sure if this will help you.

Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México


Re: [gentoo-user] openrc-systemd command comparison

2015-03-17 Thread Bob Wya
I've not seen any that are OpenRC specific... But this one is pretty decent
for SysVInit vs. systemd...
http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/




On 17 March 2015 at 01:58, Canek Peláez Valdés can...@gmail.com wrote:

 On Mon, Mar 16, 2015 at 7:47 PM, Daniel Frey djqf...@gmail.com wrote:
 
  Hey all,
 
  I've now converted two systems to systemd and so far haven't had too
  much issues with systemd itself, other than me constantly forgetting
  commands.
 
  Is there a nice table or chart somewhere that lists openrc commands with
  equivalent systemd commands? That would really help me from bashing my
  head and then wandering through man pages for a while trying to figure
  out what I want to do. I'll eventually remember but it would be nice to
  have something to help me along. My memory sure isn't what it used to be.

 I remember seeing a table like that in the wiki a long time ago, but I
 can't find it now. Anyway, the translatable commands are obvious:

 /etc/init.d/service start → systemctl start service
 /etc/init.d/service stop → systemctl stop service

 and the rest are usually are not translatable. There is nothing like
 systemctl mask service in OpenRC, AFAIK, and there is no equivalent for
 /etc/init.d/service zap in systemd (the whole idea of systemd is that an
 ugly hack like zap will never be necessary).

 Not sure if this will help you.

 Regards.
 --
 Canek Peláez Valdés
 Profesor de asignatura, Facultad de Ciencias
 Universidad Nacional Autónoma de México




-- 

All the best,
Robert


Re: [gentoo-user] How can I block incomming tor-traffic?

2015-06-06 Thread Rich Freeman
On Sat, Jun 6, 2015 at 7:04 AM, Jarry mr.ja...@gmail.com wrote:
 Hi Gentoo-users,

 my web-server gets constantly abused by users which appear to be
 using tor-network (ip-lookup of source addresses always points
 to tor-exit.watever). How can I block this tor-traffic completely?

 I know I can get the list of tor exit-nodes on:
 check.torproject.org/exit-addresses

 How can I feed this list to iptables? Is there some ready-to-use
 solution, or do I have to parse this list through some script
 I have to write first?


However you do it, please don't use whatever approach half the
websites seem to be using, which ends up blocking relay nodes as well
as exit nodes.  I run a relay-only node and it seems like random
websites block me all the time.  So, I just route all my non-server
traffic through an anonymous vpn, which works fine, though likely
being the source of just as much abuse (by others).

There seem to be ip reputation services out there which don't
distinguish between tor exits and relay nodes.

Every once in a while I force a new dhcp lease on the IP used by tor,
and I'm sure some other random user on my ISP then wonders why half
the internet no longer works.

The website you listed does appear to list only exit nodes - my node
doesn't appear on the list.

-- 
Rich



Re: [gentoo-user] Re: [WAS: keyboard stops working] Recent kernels block the loading of non-GPL kernel modules

2015-08-19 Thread Fernando Rodriguez
On Wednesday, August 19, 2015 9:09:59 PM Rich Freeman wrote:
 On Wed, Aug 19, 2015 at 7:40 PM, Fernando Rodriguez
 frodriguez.develo...@outlook.com wrote:
 
  The law is not clear about that. But how can it not be a derived work if 
it
  doesn't work without it?
 
 
 A is only a derived work of B if the law says it is.

The letter of the law is constantly changing. I'll grant that your argument is 
more inline with the letter of the law because the law wasn't written with 
this specific case in mind. But the FSF's argument is more inline with it's 
spirit. Until a court decides one way or the other it's just a grey are so 
there's no point in arguing.

 My pot isn't a derived work of my stove.  My browser isn't a derived
 work of the kernel it runs on.
 
 Copyright law doesn't talk about interoperability when it comes to
 derived works.  It talks about translations, adaptations, etc.  These
 are derived works because they incorporate substantial portions of the
 original work.  MST3K incorporates substantial portions of the movies
 they're parodying.  Rifftrax does not.  That is the difference.
 
 A kernel module does not incorporate substantial portions of the kernel.
 
 And interoperability is actually a legal defense against copyright.
 If the only way to make something interoperate with something else is
 to partially copy it, the court tends to view that as fair use.

The GPL symbols are not necessary for interoperability. For that you need 
little more that access to the hardware and an interface to userspace. Most of 
those GPL symbols are convenience routines to enable reuse of code among 
different subsystems and  drivers.

-- 
Fernando Rodriguez



Re: [gentoo-user] Re: emerge world looking grim

2015-08-24 Thread wraeth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 24/08/15 23:59, Rich Freeman wrote:
 On Mon, Aug 24, 2015 at 9:39 AM, Alec Ten Harmsel 
 a...@alectenharmsel.com wrote:
 On Mon, Aug 24, 2015 at 09:35:36AM -0400, Harry Putnam wrote:
 Alan Mackenzie a...@muc.de writes:
 
 I'd recommend you then just to reinstall.  Remembering my
 fights with stupid error messages from emerge, and so on, I
 wish I'd just reinstalled months earlier than I did.
 
 Thanks for the frank suggestions and noted lack unix hero 
 talk... hehe.
 
 I personally think that updating glibc and gcc, then continuing
 with the rest of the system update is the easiest path forward.
 You won't lose your portage config, it will probably be a little
 bit faster, and it requires a lot less manual intervention
 (running a handful of commands vs. following the handbook)..
 
 
 Agree. I probably get update issues of this complexity at least 
 annually.  I couldn't tell you when I installed my stage3 on this
 box, but it was a LONG time ago and I'm constantly cleaning up /etc
 cruft from things being moved around.
 
 I would not rush to just reinstall a gentoo box unless you get
 really stuck, or this is part of a configuration management
 workflow (which I fully encourage - there is something to be said
 for blowing away your install and reinstalling every time you do a
 package update, just to demonstrate that you're able to do it from
 a disaster-recovery standpoint).
 

+1

There's also the fact that working through conflicts like this is also
an educational experience in itself, making it easier for the next time.

- -- 
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlXbJLQACgkQXcRKerLZ91keqgD+JX2qXS8/Db/Y5oR8DDA2TsUQ
VmNTY7qyU1iWBzzwZm8A/A9f2dIIhj7e5McD2cmeLnyf0TszISU85vyOQTsJ7bWI
=gjmo
-END PGP SIGNATURE-



Re: [gentoo-user] Re: emerge world looking grim

2015-08-24 Thread Rich Freeman
On Mon, Aug 24, 2015 at 9:39 AM, Alec Ten Harmsel
a...@alectenharmsel.com wrote:
 On Mon, Aug 24, 2015 at 09:35:36AM -0400, Harry Putnam wrote:
 Alan Mackenzie a...@muc.de writes:

  I'd recommend you then just to reinstall.  Remembering my fights with
  stupid error messages from emerge, and so on, I wish I'd just
  reinstalled months earlier than I did.

 Thanks for the frank suggestions and noted lack unix hero
 talk... hehe.

 I personally think that updating glibc and gcc, then continuing with the
 rest of the system update is the easiest path forward. You won't lose
 your portage config, it will probably be a little bit faster, and it
 requires a lot less manual intervention (running a handful of commands
 vs. following the handbook)..


Agree. I probably get update issues of this complexity at least
annually.  I couldn't tell you when I installed my stage3 on this box,
but it was a LONG time ago and I'm constantly cleaning up /etc cruft
from things being moved around.

I would not rush to just reinstall a gentoo box unless you get really
stuck, or this is part of a configuration management workflow (which I
fully encourage - there is something to be said for blowing away your
install and reinstalling every time you do a package update, just to
demonstrate that you're able to do it from a disaster-recovery
standpoint).

-- 
Rich



Re: [gentoo-user] want to upgrade 50 month old installation

2015-08-04 Thread Daniel Frey
On 08/04/2015 11:30 AM, Felix Miata wrote:
 Grant Edwards composed on 2015-08-04 17:20 (UTC):
 
 and faster.  A fresh install will take a couple hours. An upgrade will
 take somewhere between a couple days and a couple weeks.
 
 Seriously, more than a day?
 

Oh sure, it's possible.

In late 2013 I upgraded some old installs installed in 2007/2008. They
were left stagnant for a long time due to some really finicky software
(tried an upgrade and it broke so many things on that software it wasn't
funny.)

However, this process took almost a week to iron the bugs out.

Portage had a bit of a fit and refused to do anything. There were so
many changes with core things (like udev, python, perl, and numerous
others) that it just crapped out.

I found that I had to do it in little pieces at a time and portage got
in my way constantly. I wish there was a setting to just forcibly
compile a package and then manually deal with breakage afterward with
something like revdep-rebuild, rather than trying to solve problems it
can't deal with beforehand. It would have been a lot easier.

So after upgrading some core items which took several hours of figuring
out what to remove, what to upgrade, and what to switch to (in some
cases) then I could install a new kernel and boot, after that I still
had portage getting in the way and wound up installing packages manually
instead of emerging world.

I would've just started fresh if the software package I was using
actually had an installer that worked. I had to do a lot of tricks to
get it installed initially and didn't want to repeat that process.

Dan



Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Neil Bothwick <n...@digimed.co.uk> wrote:

> On Wed, 15 Jun 2016 08:42:45 -0400, cov...@ccs.covici.com wrote:
> 
> > > > But the manual and the html pages constantly talk about the grub
> > > > command or rather the grub interactive command, and they usually
> > > > call it grub, maybe it has a different name.  
> > > 
> > > That's the GRUB interactive shell, that you get to from the boot menu
> > > (press c) or get dropped into it if there is no grub.cfg file.
> > >   
> > 
> > hmmm, I thought you could do it from the console as well, for certain
> > commands.
> 
> The commands that show up in "qlist grub" can be run from a standard
> shell. The GRUB interactive shell is different, with its own set of
> commands. You really need to read the online manual or the info pages
> again. The man pages explain the individual commands, but only the full
> manual shows how it all fits together.
> 
> Why are you looking to switch from Lilo to GRUB now? If Lilo works, stick
> with it. If it is because you have EFI hardware, I'd skip GRUB and go
> straight to Gummiboot or systemd-boot.

Well, I am trying to use the nvidia driver which conflicts with uvesafb
frame buffer, so it seems.  It used to work fine, but not it does not
work anymore and the only solutions I have found was a couple of grub
parameters which gives you a higher resolution and passes it on to
linux.  It would not be as good as the uvesafb, but at least it would be
better than 80x25.  I use the console a lot and only use gnome
sometimes, but I don't want to have to reboot into a different kernel
just to use gnome.

So, I thought I would check out grub2 to see if those parameters would
work for me or not.

-- 
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] Re: [OT?]: CH340 working/not working with ESP286 Node MCU

2016-07-09 Thread James
Corbin Bird  charter.net> writes:

> The hardware ID's database may need to be updated ( or supplemented ).
> The package "sys-apps/pciutils" has the hardware database included in it.

looking at the ebuild for 'pci-utils' we see::

RDEPEND="${DEPEND}
sys-apps/hwids

So if you want the latest data on hwids, install::
'sys-apps/hwids-'

> I have a 990FX chipset MB that is constantly ID as a 880 chipset board.
> No info on 990FX chipsets found in the hardware ID's database.
> The kernel keeps applying a 880 chipset workaround for the PCI bus, 
> every boot.
> 
> Same problem I think, different hardware.

OK, so both of you guys should use serial sniffers and usb sniffers and log
those sessions on a separate machine for rigorous analysis. Commercial
sniffers are very user friendly. Some cheap embedded boards can sniff usb
readily (but you'll have to search them out yourself).

For a usb sniffer, you may need special hardware to intercept those singnals
from the actual communications link. sniffing from inside
of a host is sometime problematic on catching every charcter, timings,
and other such critical signal information. sniffing RS-232 is well
documented around the net. When I sniff usb, I try to first use usb-1.0
or 1.1, as the slower speeds are easier to watch and collect critical data.

good-hunting.

hth,
James




Re: [gentoo-user] Re: [OT?]: CH340 working/not working with ESP286 Node MCU

2016-07-10 Thread Meino . Cramer
James <wirel...@tampabay.rr.com> [16-07-10 14:05]:
> Corbin Bird  charter.net> writes:
> 
> > The hardware ID's database may need to be updated ( or supplemented ).
> > The package "sys-apps/pciutils" has the hardware database included in it.
> 
> looking at the ebuild for 'pci-utils' we see::
> 
> RDEPEND="${DEPEND}
> sys-apps/hwids
> 
> So if you want the latest data on hwids, install::
> 'sys-apps/hwids-'
> 
> > I have a 990FX chipset MB that is constantly ID as a 880 chipset board.
> > No info on 990FX chipsets found in the hardware ID's database.
> > The kernel keeps applying a 880 chipset workaround for the PCI bus, 
> > every boot.
> > 
> > Same problem I think, different hardware.
> 
> OK, so both of you guys should use serial sniffers and usb sniffers and log
> those sessions on a separate machine for rigorous analysis. Commercial
> sniffers are very user friendly. Some cheap embedded boards can sniff usb
> readily (but you'll have to search them out yourself).
> 
> For a usb sniffer, you may need special hardware to intercept those singnals
> from the actual communications link. sniffing from inside
> of a host is sometime problematic on catching every charcter, timings,
> and other such critical signal information. sniffing RS-232 is well
> documented around the net. When I sniff usb, I try to first use usb-1.0
> or 1.1, as the slower speeds are easier to watch and collect critical data.
> 
> good-hunting.
> 
> hth,
> James
> 
> 

Hi James,

thanks for joining the problem party :)

I think I got either a lemon (faulty board) or this 
board was sent to me without any firmware.
If latter is the case I may have a chance with an ISP
programmer (I have one) ... will see.
See my previous post of just a moment ago answering Corbins
post.

Best regards
Meino





[gentoo-user] prevent 'openoffice-bin' rebuild

2017-02-27 Thread thelma
I have in: 
/etc/revdep-rebuild/99revdep-rebuild
...
SEARCH_DIRS_MASK="/usr/lib64/openoffice"

But my openoffice-bin constantly rebuilds.
Is there a way to prevent it besides switching to non bin ver.?

!!! existing preserved libs:
>>> package: dev-libs/libbsd-0.8.3
 *  - /usr/lib32/libbsd.so.0
 *  - /usr/lib32/libbsd.so.0.8.2
 *  used by /usr/lib32/libXdmcp.so.6.0.0 (x11-libs/libXdmcp-1.1.2-r1)
>>> package: gnome-base/orbit-2.14.19-r4
 *  - /usr/lib64/libORBit-2.so.0
 *  - /usr/lib64/libORBit-2.so.0.1.0
 *  used by /usr/lib64/openoffice/program/gconfbe1.uno.so 
(app-office/openoffice-bin-4.1.2)
>>> package: sys-libs/ncurses-5.9-r5
 *  - /usr/lib64/libpanelw.so.5
 *  - /usr/lib64/libpanelw.so.5.9
 *  used by 
/usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/_curses_panel.so
 (app-office/openoffice-bin-4.1.2)
 *  - /lib64/libncursesw.so.5
 *  - /lib64/libncursesw.so.5.9
 *  used by 
/usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/_curses.so 
(app-office/openoffice-bin-4.1.2)
 *  used by 
/usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/_curses_panel.so
 (app-office/openoffice-bin-4.1.2)
 *  used by 
/usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/readline.so 
(app-office/openoffice-bin-4.1.2)

-- 
Thelma



[gentoo-user] Re: Portage vs Qt

2016-12-17 Thread Kai Krakow
Am Wed, 14 Dec 2016 00:06:00 -0500
schrieb Philip Webb <purs...@ca.inter.net>:

> I just updated Qt5 to 5.6.2 & ran into a familiar Portage problem.
> 
> The emerge command responds with a list of "conflicts",
> all involving 5.6.1 vs 5.6.2 versions of the  c 15  pkgs.
> The only way to get around this is to unmerge the existing pkgs via
> '-C', then install the new versions.  That works, but it's brute
> force.
> 
> Portage sb able to resolve this kind of conflict for itself.
> If not, then at least it should advise users intelligently
> to do what I've just described.  It can happen with other sets of
> pkgs.
> 
> Yes, I did do 'backtrack==30'.
> 
> Before I send in a bug, does anyone else have useful comments ?

I constantly see the same conflict and haven't nailed it down exactly
right now. It seems to happen when one package requires a binary
compatibility to an older version of a depend but can also be built
against the newer version. Usually, emerge should trigger a rebuild
then. But this doesn't seem to work when both packages (the depend and
the depender) are updated at the same time. Portage then pulls in the
old and the new version of the same package at the same time, resulting
in a conflict.

Upgrading the depends with "-1a" first sometimes helps but usually I'll
also resolv it by unmerging the conflicting package first.

-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] Re: Portage vs Qt

2016-12-17 Thread Mick
On Saturday 17 Dec 2016 12:27:18 Kai Krakow wrote:
> Am Wed, 14 Dec 2016 00:06:00 -0500
> 
> schrieb Philip Webb <purs...@ca.inter.net>:
> > I just updated Qt5 to 5.6.2 & ran into a familiar Portage problem.
> > 
> > The emerge command responds with a list of "conflicts",
> > all involving 5.6.1 vs 5.6.2 versions of the  c 15  pkgs.
> > The only way to get around this is to unmerge the existing pkgs via
> > '-C', then install the new versions.  That works, but it's brute
> > force.
> > 
> > Portage sb able to resolve this kind of conflict for itself.
> > If not, then at least it should advise users intelligently
> > to do what I've just described.  It can happen with other sets of
> > pkgs.
> > 
> > Yes, I did do 'backtrack==30'.
> > 
> > Before I send in a bug, does anyone else have useful comments ?
> 
> I constantly see the same conflict and haven't nailed it down exactly
> right now. It seems to happen when one package requires a binary
> compatibility to an older version of a depend but can also be built
> against the newer version. Usually, emerge should trigger a rebuild
> then. But this doesn't seem to work when both packages (the depend and
> the depender) are updated at the same time. Portage then pulls in the
> old and the new version of the same package at the same time, resulting
> in a conflict.
> 
> Upgrading the depends with "-1a" first sometimes helps but usually I'll
> also resolv it by unmerging the conflicting package first.

Or, I usually end up unmerging the older version and emerge then picks up the 
latest stable version of the dependency.  I'm not saying this is the correct 
way to do it but either of these two methods get me out of the woods 
eventually.  
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] At last! A Qt5 version of KMail-2 - but here be dragons!

2016-12-28 Thread Alan McKinnon
On 28/12/2016 11:28, J. Roeleveld wrote:
> On December 27, 2016 9:36:36 PM GMT+01:00, Neil Bothwick <n...@digimed.co.uk> 
> wrote:
>> On Tue, 27 Dec 2016 19:54:57 +, J. Roeleveld wrote:
>>
>>> Speaking of English. I always wonder which would be a better match
>> for
>>> someone who uses English mostly to deal with international friends
>> and
>>> computers. I am Dutch myself, which means it's officially a second
>>> language for me. (Always wondered about that, as I speak several
>>> languages and fluency is simply a matter of which I speak regularly).
>> I
>>> usually throw a dice to decide between US and UK whenever I get
>> asked.
>>
>> As a native English speaking pedant, I would throw "a die" or "some
>> dice"
>> to decide, dice is the plural :P
> 
> I stand corrected. Always thought the word was both singular and plural.
> 
> Probably because most games with dice have more then 1.
> 
> Still wondering which the majority of non-english-natives would use.
> Is there an Irish, Welsh or Scottish dictionary available? (Sequence chosen 
> randomly)

There are really only two:

- dictionaries printed in England (Oxford's collection is the de-facto
definitive)
- dictionaries printed in the U.S.A., which all seem to follow the local
lingo i.e. New York English is a very different beast from L.A. English

English is a funny language, almost unique. It absorbs new words and
grammars from the local language like the Borg. And some of us (myself
included) want to keep the rules the same even though they are
constantly changing from new input :-)

How do you think "sheep" got to be both singular and plural? Wasn't
always like that, it became that way and now it's the correct form.

Same with die and dice - one day you will be correct but Peter and I
will be wrong


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




Re: [gentoo-user] [OT]: "New to aliexpress" pop up - how to block it?

2017-07-16 Thread R0b0t1
On Sun, Jul 16, 2017 at 1:47 AM,  <tu...@posteo.de> wrote:
> Hi,
>
> that drives my insane:
> While searching items for my DIY Nixie clock on aliexpress I get
> one certain popup with each new access to aliexpress asking
> me, whether I am new to aliexpress and offers me a coupon.
>
> I have no othe chance than clicking on this [beep] pop up
> to be able to see the page contents.
>
> I searched the web for according informations how to block
> this [beep] popup, but I only get informations how to
> remove a certain kind of adware virus from Mac and Windows.
>
> Since this virus pops up an advertisement of constantly changing
> goods and is page filling I am sure I am not suffering from this.
>
> If anyone out there has solved this problem without disabling
> the possibility to /buy/ something on aliexpress PLEASE HELP
> ME. I AM NEAR INSANITY! ;) :)
>
> Thanks a lot in advance for any life saver!
> Cheers
> Meino
>

You might be able to block the element on the page using uBlock
Origin, but unfortunately that type of ad is very hard to remove. If
you have to interact with it is harder to select using uBlock's
interface.

You can also use Greasemonkey to block more invasive ads, but I never
had much luck with that. It's designed to do more than filter
background content.

I feel like I need to ask whether or not you've done something like
disable cookies. I'd not suggest doing that, at most delete all of
them when you close your browser session. It's impossible to use most
pages without having cookies enabled (this makes automating things
with web libraries infuriating).

R0b0t1.



Re: [gentoo-user] [OT]: "New to aliexpress" pop up - how to block it?

2017-07-16 Thread tuxic
On 07/16 08:51, Peter Humphrey wrote:
> On Sunday 16 Jul 2017 08:47:20 tu...@posteo.de wrote:
> > Hi,
> > 
> > that drives my insane:
> > While searching items for my DIY Nixie clock on aliexpress I get
> > one certain popup with each new access to aliexpress asking
> > me, whether I am new to aliexpress and offers me a coupon.
> > 
> > I have no othe chance than clicking on this [beep] pop up
> > to be able to see the page contents.
> > 
> > I searched the web for according informations how to block
> > this [beep] popup, but I only get informations how to
> > remove a certain kind of adware virus from Mac and Windows.
> > 
> > Since this virus pops up an advertisement of constantly changing
> > goods and is page filling I am sure I am not suffering from this.
> > 
> > If anyone out there has solved this problem without disabling
> > the possibility to /buy/ something on aliexpress PLEASE HELP
> > ME. I AM NEAR INSANITY! ;) :)
> > 
> > Thanks a lot in advance for any life saver!
> 
> Have you tried Ghostery?
> 
> http://www.ghostery.com
> 
> -- 
> Regards
> Peter
> 

Hi Peter,

no, due to this reason:

"Ghostery is owned by Evidon, a company that collects and provides data to 
advertising companies."
Source here:
https://lifehacker.com/ad-blocking-extension-ghostery-actually-sells-data-to-a-514417864

Cheers
Meino






[gentoo-user] Re: replacement for ftp?

2017-05-14 Thread Kai Krakow
Am Sun, 14 May 2017 01:28:55 +0100
schrieb lee <l...@yagibdah.de>:

> Kai Krakow <hurikha...@gmail.com> writes:
> 
> > Am Sat, 29 Apr 2017 22:02:51 -0400
> > schrieb "Walter Dnes" <waltd...@waltdnes.org>:
> >  
> >>   Then there's always "sneakernet".  To quote Andrew Tanenbaum from
> >> 1981
> >>   
>  [...]  
> >
> > Hehe, with the improvements in internet connections nowadays, we
> > almost stopped transferring backups via sneakernet. Calculating the
> > transfer speed of the internet connection vs. the speed calculating
> > miles per hour, internet almost always won lately. :-)
> >
> > Most internet connections are faster than even USB sticks these
> > days.  
> 
> Wow, you must be living in some sort of paradise.  Here, internet is
> more like being cut off from the rest of the world.
> 
> But then, there's a manufacturer that makes incredibly slow USB sticks
> which I won't buy anymore ...

Okay, it really depends. I shouldn't say "most"... ;-)

I compared my really crappy (but most reliable yet) old USB stick to my
internet connection. My USB stick doesn't do 48 MByte/s, more like 5-10.
And don't even ask when writing data.

Even my rusty hard disk (read: not SSD) has a hard time writing away a
big download with constantly high download rate.

But I guess that a good internet connection should be at least 50 MBit
these days.

And most USB sticks are really crappy at writing. That also counts when
you do not transfer the file via network. Of course, most DSL
connections have crappy upload speed, too. Only lately, Telekom offers
40 MBit upload connections in Germany.

I'm currently on a 400/25 MBit link and can saturate the link only with
proper servers like the Steam network which can deliver 48 MByte/s.


-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] Re: Opinions on DVR/PVR backend?

2018-01-26 Thread Rich Freeman
On Fri, Jan 26, 2018 at 1:40 PM, Grant Edwards
<grant.b.edwa...@gmail.com> wrote:
>
> Pre-transocoding from MPEG-2 TS to MPEG-4 h264 would be nice.
>

So, that is a downside with Plex.  I don't think you get that level of
fine-grained control.  You can't just pick the codec and features.
You pick the target platform (optimize for Android, or a generic
Optimize for "Mobile", etc), and you pick the resolution/bitrate from
a list of presets.  I'm not sure how easy it is to tweak the actual
settings, though maybe it is possible.

On MythTV the transcoder isn't exactly super-flexible either.

On either platform you could also do your own transcoding.  With
MythTV the regular player tends to be pretty picky about how files are
encoded (at least it used to be).  Plex will play just about anything
you throw at it.

>
> One open question is handling of closed-captioning in ATSC recordings.
> Results with Plex seem to be mixed.
>

I've found captions mostly work, but I don't use them much, and I
haven't used the DVR functionality.  I couldn't tell you how well they
work with ATSC.  The bigger pain is the way they're encoded into
shows.  If they're done right you can do things like have captions
only for foreign language phrases (works great in Star Trek
Discovery).  If the subtitles aren't set up the way it expects then
you find yourself constantly turning them on/off when the show
contains extensive use of foreign/fictional languages.  I suspect the
issue is more in my source material there, though I can't vouch for
how well it works over ATSC.  With ATSC I'd think that foreign
language subtitles would be more likely to be burned in anyway.

-- 
Rich



Re: [gentoo-user] Cellphone VFAT datestamps versus linux datestamps

2018-08-28 Thread Walter Dnes
On Mon, Aug 27, 2018 at 10:22:30PM -0500, R0b0t1 wrote
> On Mon, Aug 27, 2018 at 9:48 PM, Walter Dnes  wrote:
> >   So I went to an event on Friday August 24th, and snapped some pics on
> > my cellphone.  Let's just say the datestamps were ridiculous.  Is there
> > a conversion algorithm or program to correct it? This may be a Windows
> > versus linux thing.  See attached listing...
> >
> 
> The high order bits are incrementing too quickly. I will check in a
> bit, but I think you should parse them into epoch time and flip the
> endianness.
> 
> What is the brand and model of your cellphone so I can avoid all
> products from that company?

  Correction; the OS is not Windows or Android, but rather KaiOS.
This is an Alcatel Go Flip.  It gets bad reviews from people used to
smartphones who expect easy-to-use wifi, bluetooth, email, and web
browsing.  The camera is mediocre too.  I use the Go Flip mostly as a
phone... dohhh.  I like it because it's luddite and it has...

* a physical keypad
* a slot for a user microSD card.  Media files, e.g. photos, can be
  pointed to go to my 32 Gig card.
* a user-replacable battery.
* a functional FM radio.  For an antenna it needs to have ear/head
  phones plugged into "the jack they didn't have the courage to remove".
* no Google Garbage constantly running in the background, so the battery
  lasts 10 or 11 days on standby.
* the option to take any available usable frequency band, or to force 2G
  or 3G or 4G/LTE.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] How long does "Verifying /usr/portage" take?

2018-07-06 Thread Rich Freeman
On Fri, Jul 6, 2018 at 3:02 PM Grant Edwards  wrote:
>
> Now that the public key stuff is working again (knock on wood), I'm
> curious if it's usual for an emerge --sync to take 10-15 minutes
> longer than it used due to the "Verifying /usr/portage" step.
>

Again, the sync mechanisms are different, but I note that the git
verify is nearly instant.

Of course, the only thing being fed to gpg in the git case is the git
commit record itself, which is about 10 lines of text.  That record
contains a content hash of the tree record, which in turn references
content hashes of every directory inside, and so on.  So, with git
most of the hash validation is happening constantly just by virtue of
everything being content-hashed, and the only extra layer with the gpg
signature is to sign the top level of the whole tree.

Now, on the flip side, some of those git operations might take time
since it is stating files for things like git status/etc.  I've never
noticed an issue, but I'm also on an SSD and tend to always have a
warm cache when I'm using it.  emerge shouldn't need to trigger any
git operations except when syncing.

--
Rich



--
Rich



Re: [gentoo-user] Haskell hell

2018-10-05 Thread John Covici
On Fri, 05 Oct 2018 02:55:38 -0400,
Klaus Ethgen wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Hi Folks,
> 
> Currently I suffer from the bad haskell hell. I need the current
> git-annex that is only available in the haskell overlay.
> 
> Unfortunately this brings me into the haskell dependency hell. For two
> days I am constantly adding keywords for one more package, emerging it,
> doing haskell-updater, doing emerge @preserved-rebuild and starting over
> again.
> 
> It seems that no single package in thatoverlay, that is marked green is
> working and I have to add a keyword overwrite for them.
> 
> Isn't there a way to escape the haskell dependency hell? Is there a
> clean way to compile and use haskell stuff? That is a real nightmare.

I use the overlay and the last major update was a pain.  I had  errors
when compiling the preserved-rebuild list, so I had to create a bash
script and do them individually.  Sometimes a package needed something
further down in the list, so I had to compile that one first.  If I
remember correctly I had to compile a couple of packages with
--nodeps, but I am not sure about that.  I hope this helps you.

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

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



RE: [gentoo-user] How to compress lots of tarballs

2021-09-28 Thread Laurence Perkins
Regular xzutils now does multiple threads with the -T option.

> -Original Message-
> From: Ramon Fischer  
> Sent: Sunday, September 26, 2021 5:23 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] How to compress lots of tarballs
> 
> In addition to this, you may want to use the parallel implementations of 
> "gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are "pigz"[1], 
> "pixz"[2], "pbzip2"[3], or "zstmt" (within package "app-arch/zstd")[4] in 
> order to increase performance:
> 
> $ cd 
> $ for tar_archive in *.tar; do pixz "${tar_archive}"; done
> 
> -Ramon
> 
> [1]
> * https://www.zlib.net/pigz/
> 
> [2]
> * https://github.com/vasi/pixz
> 
> [3]
> * https://launchpad.net/pbzip2
> * http://compression.ca/pbzip2/
> 
> [4]
> * https://facebook.github.io/zstd/
> 
> 
> On 26/09/2021 13:36, Simon Thelen wrote:
> > [2021-09-26 11:57] Peter Humphrey 
> >> part   text/plain 382
> >> Hello list,
> > Hi,
> >
> >> I have an external USB-3 drive with various system backups. There are 
> >> 350 .tar files (not .tar.gz etc.), amounting to 2.5TB. I was sure I 
> >> wouldn't need to compress them, so I didn't, but now I think I'm 
> >> going to have to. Is there a reasonably efficient way to do this? I 
> >> have 500GB spare space on /dev/sda, and the machine runs constantly.
> > Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
> > then:
> > mount USB-3 /mnt; cd /mnt; lzip *
> >
> > The archiver you chose will compress the file and add the appropriate 
> > extension all on its own and tar will use that (and the file magic) to 
> > find the appropriate decompresser when you want to extract files later 
> > (you can use `tar tf' to test if you want).
> >
> > --
> > Simon Thelen
> >
> 
> --
> GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF
> 



[gentoo-user] Re: Iphone and transferring image files, pics and videos.

2021-09-28 Thread Grant Edwards
On 2021-09-28, Laurence Perkins  wrote:

> I know a few people who use iPhones with Linux.

They've got more patience than I...

> It can usually be made to work with some trouble, but Apple
> constantly tries to lock out third party access, so it requires
> regular updates and tweaking.

Before I got my first smartphone, I had an iPod touch that I loved. It
was great for e-mail, games, music, etc. But, it was a nightmare
tryhing to get files to/from it. At the time, you couln't use Linux
_at_all_ with the touch models. Some of the older iPods would work
with certain Linux apps, sort of, somtimes, if you spent hours bashing
your head against a wall, and the phase of the moon was right.

iTunes on Windows was also a nightmare, but it usually worked,
eventually, after a few crashes and restarts.  Then I was given an
iPad. It was also a lovely device, but it had the same hatred for
Linux (and almost as much for Windows).

When I finally broke down and got a smartphone I abandoned iOS and
went Android -- and transferring files was trivial and reliable. I'm
on my fourth Android phone, and it still is. I also gave up on the
iPad and am on my second Kindle Fire.

IMO, you should only buy an iOS device if you're never, ever, going to
want it to interact with anything non-Apple.

--
Grant





Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Ramon Fischer
In addition to this, you may want to use the parallel implementations of 
"gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are 
"pigz"[1], "pixz"[2], "pbzip2"[3], or "zstmt" (within package 
"app-arch/zstd")[4] in order to increase performance:


   $ cd 
   $ for tar_archive in *.tar; do pixz "${tar_archive}"; done

-Ramon

[1]
* https://www.zlib.net/pigz/

[2]
* https://github.com/vasi/pixz

[3]
* https://launchpad.net/pbzip2
* http://compression.ca/pbzip2/

[4]
* https://facebook.github.io/zstd/


On 26/09/2021 13:36, Simon Thelen wrote:

[2021-09-26 11:57] Peter Humphrey 

part   text/plain 382
Hello list,

Hi,


I have an external USB-3 drive with various system backups. There are 350 .tar
files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't need to
compress them, so I didn't, but now I think I'm going to have to. Is there a
reasonably efficient way to do this? I have 500GB spare space on /dev/sda, and
the machine runs constantly.

Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
then:
mount USB-3 /mnt; cd /mnt; lzip *

The archiver you chose will compress the file and add the appropriate
extension all on its own and tar will use that (and the file magic) to
find the appropriate decompresser when you want to extract files later
(you can use `tar tf' to test if you want).

--
Simon Thelen



--
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF




OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Ramon Fischer

Addendum:

To complete the list. Here the parallel implementation of "lzip":

   "plzip": https://www.nongnu.org/lzip/plzip.html

-Ramon

On 26/09/2021 14:23, Ramon Fischer wrote:
In addition to this, you may want to use the parallel implementations 
of "gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are 
"pigz"[1], "pixz"[2], "pbzip2"[3], or "zstmt" (within package 
"app-arch/zstd")[4] in order to increase performance:


   $ cd 
   $ for tar_archive in *.tar; do pixz "${tar_archive}"; done

-Ramon

[1]
* https://www.zlib.net/pigz/

[2]
* https://github.com/vasi/pixz

[3]
* https://launchpad.net/pbzip2
* http://compression.ca/pbzip2/

[4]
* https://facebook.github.io/zstd/


On 26/09/2021 13:36, Simon Thelen wrote:

[2021-09-26 11:57] Peter Humphrey 

part   text/plain 382
Hello list,

Hi,

I have an external USB-3 drive with various system backups. There 
are 350 .tar
files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't 
need to
compress them, so I didn't, but now I think I'm going to have to. Is 
there a
reasonably efficient way to do this? I have 500GB spare space on 
/dev/sda, and

the machine runs constantly.

Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
then:
mount USB-3 /mnt; cd /mnt; lzip *

The archiver you chose will compress the file and add the appropriate
extension all on its own and tar will use that (and the file magic) to
find the appropriate decompresser when you want to extract files later
(you can use `tar tf' to test if you want).

--
Simon Thelen





--
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF




OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] Synchronous writes over the network.

2021-12-23 Thread Rich Freeman
On Thu, Dec 23, 2021 at 12:39 PM Mark Knecht  wrote:
>
> I'll respond to Rich's points in a bit but on this point I think
> you're both right - new SSDs are very very reliable and I'm not overly
> worried, but it seems a given that forcing more and more writes to an
> SSD has to up the probability of a failure at some point. Zero writes
> is almost no chance of failure, trillions of writes eventually wears
> something out.
>

Every SSD has a rating for total writes.  This varies and the ones
that cost more will get more writes (often significantly more), and
wear pattern matters a great deal.  Chia fortunately seems to have
died off pretty quickly but there is still a ton of data from those
who were speculating on it, and they were buying high end SSDs and
treating them as expendable resources - and plotting Chia is actually
a fairly ideal use case as you write a few hundred GB and then you
trim it all when you're done, so the entirety of the drive is getting
turned over regularly.  People plotting Chia were literally going
through cases of high-end SSDs due to write wear, running them until
failure in a matter of weeks.

Obviously if you just write something and read it back constantly then
wear isn't an issue.

Just googled the Samsung Evo 870 and they're rated to 600x their
capacity in writes, for example.  If you write 600TB to the 1TB
version of the drive, then it is likely to fail on you not too long
after.

Sure, it is a lot better than it used to be, and for typical use cases
I agree that they last longer than spinning disks.  However, a ZIL is
not a "typical use case" as such things are measured.

-- 
Rich



Re: [gentoo-user] Kicad and complications from hdf5 and vtk USE flags. Not package specific tho.

2022-02-17 Thread Miles Malone
Now for your own sanity you might consider stopping adding things
globally constantly, and using app-portage/flaggie to sanely manage
them per-package... Cause there's far more use flags that make sense
per-package than make sense globally.  I used to manage them all
largely globally like ten years ago, but it's utterly unrealistic to
do that today.

On Thu, 17 Feb 2022 at 21:34, Dale  wrote:
>
> Neil Bothwick wrote:
> > On Thu, 17 Feb 2022 01:42:39 -0600, Dale wrote:
> >
> >> P. S.  Is there a tool to make the USE line in make.conf in alphabetical
> >> order or something?  When I add things, I try to put them in order so it
> >> is easier to find them.  For some reason, they are out of order, a lot.
> >> Something at some point messed up my organizing, badly.
> > emerge --info shows the flags in alphabetical order, whatever their order
> > in make.conf. It lso shows all flags, including those set b the profile,
> > so you can see exactly what portage is using.
> >
> >
> > -- Neil Bothwick Deja Foobar: A feeling of having made the same
> > mistake before.
>
>
> Now that is cheating big time.  Why didn't I think of that?  Now they
> back in order.  I been cleaning up my USE line in make.conf.  I think
> some flags I added ages ago were only used by a few packages but are in
> wide use now, and I don't always need them.  So, I edit, run emerge
> -auDN world to see what blows up.  Edit again, run emerge and repeat.  I
> think I'm on about the 10th repeat now.  Slowly cleaning things up.
>
> I love the sig on this one.  How is it that thing knows which to pick?
> ROFL
>
> Thanks for the cheat, I mean tip.  Hit the nail on the head.
>
> Dale
>
> :-)  :-)
>



[gentoo-user] Re: How to run X11 apps remotely?

2022-03-22 Thread Grant Edwards
On 2022-03-22, Grant Taylor  wrote:
> On 3/22/22 10:41 AM, Grant Edwards wrote:
>> How does one run "modern" X11 apps remotely?
>
> Xvnc
>
> As in run an Xvnc server as an X11 server / display.  Point your 
> programs at that display / server.  Then have a VNC client connect to 
> said VNC server.

I've used VNC in the past, and always ended up with a virtual
desktop/screen rather than having a remote application show up in a
window.

>> I do not want a "remote desktop". I just want to run a single 
>> application on a remote machine and have its window show up locally.
>
> You can adjust the size of the Xvnc's display so that it's the size of 
> just the application in question.  You also don't need the full desktop 
> to display on that screen.

OK, I've done that, but it's a little awkward to have to constantly
adjust the Xvnc display to match the application window size. It
appears that Xpra can handle that automatically.

>> X11 transparent network support was its killer feature,
> I completely agree.  Especially when you start running different 
> programs on different systems / users / contexts.
>
>> but for all practical purpopses, that feature seems to have been 
>> killed.
>
> I don't think that's true.

Of course it depends on which X11 apps you need to run remotely. For
everything I've needed to run remotely in the past decade or so, it
was unusable.

The path to my remote host is also rather ugly. It jumps most of the
way across the county and back through at least two NAT
firewalls. Though the ping time is actually pretty decent (15-20ms)
for the path it has to take.

--
Grant




Re: [gentoo-user] TrueNAS not helping me now.

2023-09-06 Thread Frank Steinmetzger
Am Wed, Sep 06, 2023 at 02:45:11PM -0500 schrieb Dale:

> Oh, creating a
> vdev was the trick.  Once that is done, expand the pool.  It's one of
> those, once it is done, it seems easy.  ROFL

Note that people used to shoot themselves in the foot when lazily (or by 
accident) adding a single disk to an existing pool. If that pool was 
composed of RAID vdevs, then now they had a non-redundant single disk in 
that pool and it was not possible to remove a vdev from a pool! That 
single-disk vdev could only be converted to a mirror to at least get 
redundancy back.

The only proper solution was to destroy the pool and start from scratch. By now 
there is a partial remedy, in that it is possible to remove mirror vdevs from a 
pool. But no RAIDs:
https://forum.level1techs.com/t/solved-how-to-remove-vdev-from-zpool/192044/5
https://arstechnica.com/civis/threads/performance-when-removing-zfs-vdevs-with-zpool-remove.1481148/post-40491873
And you get some left-over metadata about the removed vdev.

> I guess vdev is like LVMs pv, physical volume I think it is.

Haven’t we had this topic before? At least twice? Including the comparison 
between 
the three layers of LVM with their equivalent in ZFS land. ;-)

ZFS is more meant for static setups, not constantly changing disk loadouts 
of varying disk sizes.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

The boss is a human just like everyone else, he just doesn’t know.


signature.asc
Description: PGP signature


Re: [gentoo-user] OFF TOPIC Need Ubuntu network help

2023-10-17 Thread Neil Bothwick
On Mon, 16 Oct 2023 19:34:09 -0500, Dale wrote:

> While I'm sure systemd is here to stay, I still have options.  I'm
> seriously thinking of installing Gentoo on that thing.  At least then if
> it breaks, I can post a thread that isn't off topic. o_O  I also just
> put a pretty large CPU cooler on that thing.  Should compile without so
> much as a mild fever.

You could have compiled the whole system several times over in the time
you've been trying to fix this. Even when you do fix it, you'll still
have an unfamiliar experience. Sticking with what you know is often best,
unless you treat it as a learning experience.

> Neil, I tired that command journalctl but not sure about the options. 
> It either returned a lot or nothing related.  I'll make note of the
> systemctl command.  If Ubuntu survives, I may need it one day.  ;-) 

If it returned nothing with  -p err, nothing logged an error since the
last boot, which is odd considering something is broken. without -p err,
you get everything from the system log, it's like doing "cat
/var/log/messages" but only since the last reboot. You could pipe that
through grep, searching for the name of your network interface.


-- 
Neil Bothwick

Snacktrek, n.:
 The peculiar habit, when searching for a snack, of constantly
 returning to the refrigerator in hopes that something new will have
 materialized.


pgpuCGFIFmuIi.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Limiting amount of memory a program can use.

2022-08-28 Thread Rich Freeman
On Sun, Aug 28, 2022 at 8:24 AM Dale  wrote:
>
> What I would like to do is limit the amount of memory torrent
> software can use.

While ulimit/cgroups/etc will definitely do the job, they're probably
not the solution you want.  Those will cause memory allocation to
fail, and I'm guessing at that point your torrent software will just
die.

I'd see if you can do something within the settings of the program to
limit its memory use, and then use a resource limit at the OS level as
a failsafe, so that a memory leak doesn't eat up all your memory.

Otherwise your next email will be asking how to automatically restart
a dead service.  Systemd has support for that built-in, and there are
also options for non-systemd, but you're going to be constantly having
restarts and it might not even run for much time at all depending on
how bad the problem is.  It is always best to tame memory use within
an application.

Something I wish linux supported was discardable memory, for
caches/etc.  A program should be able to allocate memory while passing
a hint to the kernel saying that the memory is discardable.  If the
kernel is under memory pressure it can then just deallocate the memory
and then have some way to notify the process that the memory no longer
is allocated.  That might optionally support giving warning first, or
it might be some kind of new trappable exception for segfaults to
discarded memory.  (Since access to memory doesn't involve system
calls it might be hard to have more graceful error handling.  I guess
an option would be to first tell the kernel to lock the memory before
accessing it, then release the lock, so that the memory isn't
discarded after checking that it is safe.)

-- 
Rich



[gentoo-user] Don't be like stupid me!

2024-02-10 Thread Alan Mackenzie
Hello, gentoo.

I was wanting to do a pretty full build of my Emacs working repository.
This involved first purging al *.elc files.  The way to do this is

$ find . -name '*.elc' | xargs rm

..  But for some reason, I typed

$ find . '*.elc' | xargs rm

..  I even carefully checked it before pressing RET.  However, press it I
did, instantly deleting all files in my working directory.  OUTCH!

So, I fell back on my backup from last Sunday.  After about 1½ hours
trial and error, I had my source files as of last Sunday back again,
though git could have been more helpful than it actually is.

Thankfully, I had Emacs open, with all the files modified since Sunday
in buffers.  So, I laboriously worked through Emacs's buffer list,
saving those ones I'd since changed.

I lost all my timestamps on the files, and lost all my Emacs backup
files (things ending in ~ which Emacs constantly makes).  But my
software builds and runs.

It could have been a lot worse.  Boys and girls, don't use

$ find  | xargs rm

unless you really know what you're doing.  And even then, it's probably
better not to.  ;-(

It occurred to me fairly quickly after that press of RET that I could
have done well with a COW snapshot facility, something which has been
discussed at length on another recent thread.  I even have LVM on my
machine for its RAID capabilities.  But I've never bothered before.  I
mean "I'm too careful", amn't I?  ;-(  At least I do a weekly backup,
though.

So, in the end I managed to recover fairly well, thankfully.

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] Re: Suggestions for backup scheme?

2024-01-30 Thread Grant Edwards
On 2024-01-30, Rich Freeman  wrote:
> On Tue, Jan 30, 2024 at 3:08 PM Wol  wrote:
>>
>> On 30/01/2024 19:19, Rich Freeman wrote:
>> > I'd echo the other advice.  It really depends on your goals.
>>
>> If you just want a simple backup, I'd use something like rsync onto lvm
>> or btrfs or something. I've got a little script that sticks today's date
>> onto the snapshot name
>
> So, you've basically described what rsnapshot does, minus half the
> features.  You should consider looking at it.

If you do, read carefully the documentation on intervals and
automation.

It took me an embarassing number of tries to get the intervals and
crontab entries to mesh so it worked the way I wanted. It's not really
that difficult (and it's pretty well documented), but I managed to
combine a misreading of how often and in what order the rsync wrapper
was supposed to run with my chronic inability to grok crontab
specifications. Hilarity ensued.

> It is basically an rsync wrapper and will automatically rotate
> multiple snapshots, and when it makes them they're all hard-linked
> such that they're as close to copy-on-write copies as possible.  The
> result is that all those snapshots don't take up much space, unless
> your files are constantly changing.







[gentoo-user] Re: Gentoo as a production server - insecure?

2009-02-16 Thread James
Johannes Frandsen jsf at imento.dk writes:


 Somebody pointed out that having a productions server with a gcc  
 installed was a big no no security wise, so I did a bit of goggling on  
 that topic and found a couple of articles supporting that view.


From 10,000 feet above, for those less versed in running a daily
tight network, it totally misses the point.

If you want to run a really secure network. Model and profile the 
activity,
set soft (say 5%) and hard alarms (10%) for certain types of traffic
flows that could contain interloper activity.   Then add tools that
analyze the traffic, where you perceive vulnerability. If your
organization does not have a pathelogical hacker on the payroll, then
consider retaining a consultant periodically to perform penetration
tests. Stay away from corporations, as most of their talent pool, is
on the weak side of modern genectic apptitude. Lock up your special 
consultant with a aggressive legal contract. Some really paranoid 
groups get different special consultants to perform penetration 
tests over time.

Layer your security
through several firewalls. Partition the network via managed
switches. If you suspect an internal interloper, then put him
on an isolated segment with a stealth sniffer monitoring his activities.
(my idea of a stealth sniffer is set the eth-int to 0.0.0.0)
on that segment. 

But why stop there. Most cell phone protocols/encyption have 
been cracked.
Spend some money and start sniffing the local cell phone 
calls.  (monitoring 
for quality assurance) Note, may be illegal in your area,
unless you pay the local goverments money and show them how to
do the same
Amature lie detection electronics are a lot of fun too! (at least 
for the
prick that gets to ask the questions). Then there are urine
tests. Anyone that has a good time with recreational drugs is
automatically an interloper, (guilty by association right?)

Build a network that requires tons of manual intervention, unlike 
what anyone else doesLots of other out of the box 
security ideas abound == caveat emptor!


If the rub is  really the gcc compiler, then do not have it installed;
activate a remote partition with any such tools as gcc, coreutils
and use them for admin things. Then unmount these (NFS or such)
necessary system tools, when your not actively using them.
Or put then on a usb stick with (ivman or your favorite mechanism).

Prolly (I like this term so much, I borrowed it from another
gentooer...)  what you will discover is other admins do not like
your Gentoo tendencies, because it's not their idea
(just a hunch) My experience is when you constantly flesh_out
a system and constantly update stuff, it stays more secure. Systems
that get little attention are where the interlopers like to hide; imho.
Gentoo does fall short on anomaly detection as do most operating
systems, but, it's easy to remedy with modeling, profiling and 
analysis of the traffic flows


I find the best security is obscurity, and secrecy of the admin's
tools and traits for administration. Don't follow the herd/vendor
rhetoric. Using the common approaches to security, makes your
life much easier. Add your own unique spices to the mixture
of security tools you use. The change_up is the best and easiest
pitch in baseball. Some admins never use the change_up?


SElinux is superb but a pain in the waz. Lots of folks do not
trust the NSA, mostly from a historical perspective. All governments
have a vested interest in their citizens and businesses having
really secure computers and networks. It makes their jobs (the spoofs)
much easier.

SElinux
is focused on software security policy enforcement (orange book).
SElinux in and of itself, is not a complete solution for a tight
network. It is a component that needs to be augmented with network
and statistical tools and lots of tricks. Without admin tools, it is 
tedious and  laborious,  imho.  I found a really cool java based tool to
implement and manage it, but there was not much enthusiasm , amongst 
the java nor selinux folks here at gentoo to implement the tool:

http://bugs.gentoo.org/show_bug.cgi?id=209435

This is just the tip of the ice-burg, you can (and many do) go crazy
with security. My best advice is make security fun for the
nerds that perform the security admin work on a daily basis.
You get a lot of satisfaction, watching the CFO play video games
or the board members connect to a foreign bank account,
on a network you secure(grin). Not to mention folks with 
elite skills, never seem to go unemployed, nor suffer from
a lack of resources.. Our planet is corrupt, then questions
is who do we throw the first stone at, and for what 'bonafide'
reasons.


ymmv,
James







Re: [gentoo-user] Filesystem choice for NVMe SSD

2016-01-23 Thread Rich Freeman
On Sat, Jan 23, 2016 at 7:44 PM, Andrew Savchenko <birc...@gentoo.org> wrote:
>
> a) EXT4 is a good extremely robust solution. Reliability is out of
> the questioning: on my old box with bad memory banks it kept my data
> safe for years, almost all losses were recoverable. And it has some
> SSD-oriented features like discard support, also stripe and stride
> with can be aligned to erase block size to optimize erase
> operations and reduce wear-out.

I think EXT4 is the conservative solution.  It is also more flexible
than xfs, and a decent performer all around.

> b) In some tests XFS is better than EXT4 ([1] slides 16-18; [2]).
> Though I had data loss on XFS on unclear shutdown events in the
> past. This was about 5 years ago, so XFS robustness should have
> improved, of course, but I still remember the pain :/

Maybe it improved, but xfs probably hasn't changed much at all.  It
isn't really a focus of development as far as I'm aware.  I probably
wouldn't use it.  I used to use it, but was frustrated with its
inability to shrink and the zero-files feature.

> c) F2FS looks very interesting, it has really good flash-oriented
> design [3]. Also it seems to beat EXT4 on PCIe SSD ([3] chapter
> 3.2.2, pages 9-10) and everything other on compile test ([2] page 5)
> which should be close to the type of workload I'm interested in
> (though all tests in [2] have extra raid layer). The only thing
> that bothers me is some data loss reports for F2FS found on the
> net, though all I found is dated back 2012-2014 and F2FS have fsck
> tool now, thus it should be more reliable these days.

So, F2FS is of course very promising on flash.  It should be the most
efficient solution in terms of even wear of your drive.  I'd think
that lots of short-term files like compiling would actually be a good
use case for it, Since discarded files don't need to be rewritten when
it rolls over.  But, I won't argue with the benchmarks.

It probably will improve as well as it matures.  However, it isn't
nearly as mature as ext4 or xfs, so from a data-integrity standpoint
you're definitely at higher risk.  If you're regularly backing up and
don't care about a very low risk of problems, It is probably a good
choice.

> d) I'm not sure about BTRFS, since it is very sophisticated and I'm
> not interested in its advanced features such as snapshots,
> checksums, subvolumes and so on. In some tests [2] it tends to
> achive better performance than ext4, but due to its sophisticated
> nature it is bound to add more code paths and latency than other
> solutions.

The only reason to use btrfs at this point are all those advanced
features, such as being able to copy a directory with 10 million small
files in it in 5 seconds.  I'd think that might be useful for
development, but of course git does the same thing.  Git and btrfs are
actually somewhat similar in principle.  Take git with the ability to
erase blobs and mirror things and that is kind of like btrfs.

Btrfs is also immature, and while data loss on an n-1 longterm like
3.18 is fairly rare it does happen.  It is optimized for ssd but
generally tends to underperform the write-in-place filesystems, mainly
because it isn't optimized, and of course it can't write-in-place.

If you REALLY don't care about the data integrity features and such
then I don't think it is the best solution for you.

> P.S. Is aligning to erase block size really important for NVMe? I
> can't find erase block size for this drive (Samsung MZ-VKV512)
> neither in official docs nor on the net...

Unless the erase blocks are a single sector in size then I'd think
that alignment would matter.  Now, for F2FS alignment probably matters
far less than other filesystems since the only blocks on the entire
drive that may potentially be partially erased are the ones that
border two log regions.  F2FS just writes each block in a region once,
and then trims and entire contiguous region when it fills the previous
region up.  Large contiguous trims with individual blocks being
written once are basically a best-case for flash, which is of course
why it works that way.  You should still ensure it is aligned, but not
much will happen if it isn't I'd think.

For something like ext4 where blocks are constantly overwritten I'd
think that poor alignment is going to really hurt your performance.
Btrfs might be somewhere in-between - it doesn't overwrite data in
place, but it does write all over the disk so it would be constantly
be hitting erase block borders if not aligned.  That is just a
hand-waving argument - I have no idea how they work in practice.

-- 
Rich



Re: [gentoo-user] Nvidia users: please sign petition for open/free drivers

2008-01-02 Thread Hemmann, Volker Armin
On Mittwoch, 2. Januar 2008, Jesús Guerrero wrote:
 On Tue, 1 Jan 2008 19:51:36 +0100

 Hemmann, Volker Armin [EMAIL PROTECTED] wrote:
  On Montag, 31. Dezember 2007, Enrico Weigelt wrote:
   Hi folks,
  
  
   I'd just want to let you know there's an petition to NV on
   opening their driver code (or at least specs) to the free world:
  
   * http://www.petitiononline.com/nvfoss/
 
  no, 'online petitions' are a worthless waste of time. They are like a
  fart in the wind - just worse. They are like farting and then tell
  everybody that you have farted. You are just angry that your beloved, but
  maybe crappy hardware does not work with a driver that is pretty old by
  now.

 Not true. It is true that a petition by itself will not do anything,
 but it serves another purposes. Any joining effort demonstrates that
 people actually care about a problem. And, by the way, if you fart,
 the less you can do is to be honest, and not blame anyone else while
 you are the only guilty.

believe me, all the guys constantly whining around on nvnews have shown nvidia 
already that there are people who care about this.


 This is not about old or new hardware, this is about getting a free
 driver, and that, as linux users, is something that would benefit
 everyone in this list. You don't seem to understand what this is
 about at all.

it is not about a free driver, it is about a stupid petition. If you want free 
drivers, support nouveau or write a polite letter to nvidia.


   Please sign the petition and spread around this link.
 
  Please don't spam.

 We could argue if this topic is valid for the list or not, that is
 debatable, but everything you wrote above this last sentence is pure
 spam. Far more spammy than the post of the original poster. And, in
 turn, you generated a need for additional responses, like the one from
 Neil Walker and this one that I am writing right now.

this topic and the 'support nouveau' has shown up on this list in the past AND 
every linux site out there SEVERAL times. So yes, it is spam. And asking 
people to spam other lists, makes it worse.


 Thing that could have been avoided if you just posted something in
 the lines of Isn't this offtopic?, and nothing more.

Maybe you should have taken your own medicine? Not reacting at all to reduce 
noise? No?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why isn't sshd blocking repeated failed login attempts?

2009-01-20 Thread Paul Hartman
On Tue, Jan 20, 2009 at 3:49 PM, Joshua Murphy poiso...@gmail.com wrote:
 On Tue, Jan 20, 2009 at 4:33 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 Hi,

 After setting up public key authentication i changed my sshd back to
 port 22 and got the expected bombardment of connection attempts.
 However, it doesn't seem to ever stop them. I'm using sshd with this
 setting:

 MaxAuthTries 3

 in my /etc/ssh/sshd_config

 So, why does it allow unlimited failed login attempts? For example, as
 I write this I'm seeing this in my logs:

 snip

 I'm using denyhosts but it seems that it doesn't deny anyone until an
 hour has passed, despite the fact I'm using the daemon which
 constantly monitors the log file... by which time hundreds or
 thousands of attempts can be made. Maybe that's a configuration issue
 on my denyhosts setup, but shouldn't sshd be blocking them in the
 first place?

 Thanks,
 Paul

 I'm pretty sure MaxAuthTries 3 does nothing more than disconnect you
 after 3 failed connections (meaning all you have to do is reconnect to
 keep trying)... it doesn't do any sort of 'intelligent' protection of
 the system. DenyHosts worked great for me while I used it, but I also
 found that a firewall rule limiting connection attempts to 3 per
 source IP per 10 minute period put a big dent in the number of tries
 that denyhosts ever even had to see (though they were always enough to
 get that source blacklisted, I had things set rather restrictive).
 Something I was pointed towards on IRC, in the event that the SSH
 server you're running is primarily for your use or the use of
 knowledgeable users (fellow admins)... look up Single Packet
 Authorization (SPA).

I'm using the online denyhosts synchronization database, I think that
may negatively affect how often it blocks hosts locally, because it
waits until it does a remote sync to scan the local file. This is my
theory. I like the idea of sharing my blocks and taking advantage of
the blocks of others, but if it renders the program ineffective
against the IP /actively/ attacking my system, then it's pointless.

I'm going to turn off the online sharing of denyhosts and see if it
makes a difference.

Otherwise I guess I need to set up some kind of local firewall on this
machine to get any more fine control over the connections.

Thanks
Paul



Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Beau Henderson
On Thu, Feb 19, 2009 at 10:04 AM, Beau Henderson b...@thehenderson.comwrote:



 On Thu, Feb 19, 2009 at 9:53 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 On Thursday 19 February 2009 01:38:39 Beau Henderson wrote:
  I've tried manually altering the governor to performance but its the
 same
  story.
 
  The system doesn't appear sluggish, I'm really more concerned that
  something is causing the load and this might lead to shorter battery
 life
  and and more heat.

 Right in the beginning you said the load was *exactly* 1.00. Now, load is
 defined as

 the _number_ of processes on average waiting for the cpu in the last 1,
 5, 15
 minutes

 So it does not mean that the cpu is necessarily working hard (but usually
 does) if the load is high. Yours is _exactly_ 1.00 (very suspicious)

 This is almost certainly one of two things:

 1. A stupid kernel config that you should not have done :-)
 2. Some app is blocking hard on IO

 I guess #2 - something waits for IO, it is not available, so immediately
 goes
 back to sleep waiting for it's next time slice. This happens many times a
 second and averaged over a minute looks like the cpu is constantly busy.
 Thus,
 no real extra cpu load is happening, the machine does not appear at all
 sluggish and the only harm is that it is annoying as hell.

 --
 alan dot mckinnon at gmail dot com



 Woah, now were getting somewhere.

 After reading that, I had another look at the top output and noticed that a
 single hald process was in D state. /etc/init.d/hald stop and the load is
 lowering as I type. I'm going to have to dig into this deeper as time
 permits.

 Thanks everyone :)


 --
 Beau Dylan Henderson

 No human being should be denied the fundamental right to educate
 themselves or indulge their curiosities. To deny any person the right to do
 so, for whatever reason, is nothing more than the safeguarding of ignorance
 to ensure that enlightenment does not become a threat. For nothing in this
 world is more dangerous than an open mind. -- Matthew Good



The culprit: Hals cdrom polling. Interestingly, the load shot down as soon
as I stuck a disk.

The fix: hal-disable-polling --device /dev/scd0 'hal'
-- 
Beau Dylan Henderson

No human being should be denied the fundamental right to educate themselves
or indulge their curiosities. To deny any person the right to do so, for
whatever reason, is nothing more than the safeguarding of ignorance to
ensure that enlightenment does not become a threat. For nothing in this
world is more dangerous than an open mind. -- Matthew Good


Re: [gentoo-user] Re: Another USE question

2009-05-27 Thread Stroller


On 27 May 2009, at 10:11, Volker Armin Hemmann wrote:

...
Nah, that just doesn't cut it.  It's annoying as hell.  It's far less
annoying to simply equery uses on the USE flags you see during an
emerge -a and edit make.conf by hand instead of doing the
scroll-circus.  You try to read text by constantly scrolling right  
and
left.  It doesn't work for me, and probably for the majority of  
others

neither.


oh yeah, scrolling for a tenth of a second is so much slower than  
feeding
equery or euse and then open make.conf, type, check that you did not  
forget

something 


When you called me a liar, the post you were replying to contained a  
bit of detail on this.


Apparently you didn't bother to read all that, and just jumped to some  
kind of conclusions and treated me like an idiot.


It's all about a matter of user interfaces and modes of thought. For  
some people, a curses interface just isn't going to be as smooth as  
some other.


Personally, if I type `emerge -pv mplayer` and see 30 different USE  
flags listed, then it doesn't help me that they will be obscured if I  
run ufed (which takes over the whole terminal window, overwriting the  
output I was just looking at). No longer can I see what USE flags I'm  
supposed to be looking for, and it doesn't help that there are loads  
of USE flags in the tree that are unmemorable 4 letter acronyms.


That's why `euses` or `equery uses` just really suit me well. I can  
don't have to open make.conf because I use flagedit, and I can bring  
these commands up really quickly by typing ctrl-r and three letters;  
when I retrieve a line from Bash history I tend to use the down-arrow  
immediately followed by the up-arrow to get the cursor to the end of  
the line; I can then use ctrl-w to delete the last word of the  
historical command, and then I just type the new package or USE that I  
want to query. For me this works very quickly. I guess it just suits  
my keyboard style.


I don't want to have to bitched out because your favourite tool  
doesn't suit me.


Stroller.






[gentoo-user] Hardware issues, probably overheating, help?

2006-02-16 Thread Mrugesh Karnik
Hi,

I've been having issues with the computer shutting down automatically. Makes 
me wonder if it's an over heating problem. The system (AMD Sempron 2500+, MSI 
K8M800 mobo, two Seagate HDDs, an LG DVD Burner and a GB of RAM) has 
developed a habit of shutting down or restarting randomly, no matter what OS 
I'm using.

A few days ago, the system shut itself down. I pressed the start switch but it 
would not respond, instead the power LED just kept blinking. I thought it to 
be an overheating issue and let it cool off for a bit. It worked fine for a 
few days and then this phenomenon just kept repeating itself and the 
frequency increased. There were a few lockups in between too. This would 
happen when running and update world while running Azureus in KDE or even 
when I was doing something as trivial as just chatting.

One day, the system refused to start. I pressed the start switch after a few 
minutes of such a shutdown and all that happened was I could see the power, 
HDD LEDs and the DVD burner's LED all glowing, but the monitor wouldn't 
start. The CPU fan would be working. I let the thing sleep for a few hours.

Later, I though I'd just run memtest to check if the RAM modules aren't 
causing any trouble. The pc actually started this time, but as soon as the 
memtest86+ screen came up, the thing shut itself down once again.

Next day, I had the system lock up twice while editing the BIOS settings. This 
time I decided to dig out the processor and take the board and the processor 
to the dealer for checkup. Turns out that the processor had got stuck to the 
heat sink. After separating and reinstalling the two, the system worked fine 
for a few days.

Now, again, a couple of days ago, I had the shut down. This time I decided to 
keep the room as cool as possible and have been running the computer with the 
lid open. But then again, just a few minutes ago, I had the shutdown while 
compiling K3B while running KDE and Azureus. Since then I've put up ksensors 
to check the temperature constantly. It's showing a pretty neat 35C right 
now, running Azureus, Kmail and Kopete.

Anyway, the point of this lng emails is that I haven't exactly pin 
pointed the problem. If anyone thinks this is something other than over 
heating, please reply.

Thank you,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems with the GLI on the x86 2006.0 LiveCD

2006-03-01 Thread Kevin
Hi List-

Some hardware issue requires me to boot the subject CD with either the
nodetect or nohotplug parameters.  Without one of these, the boot
process hangs when detecting pnp hardware.  I suspect that the cause may
be one of the two Digium PCI cards that I have in the machine, but not sure.

So I'm booting the LiveCD at the grub prompt with this command:

gentoo-nofb nohotplug

Happily, in spite of this, my NIC is being detected and the correct
(tulip) module is being loaded for it automatically.

However, the curses-based GLI is failing on me constantly at the stage
where I manually configure the NIC.

I've tried this many times, and every time, the installer program fails
with the words:

The setup program seems to have failed

That's all I get.

I've also tried setting up the network manually by editing
/etc/conf.d/net and starting up the network, then starting sshd, then
remotely logging into the box and running the installer that way.  That
method gets me past the network config part of the GLI, but I've found
that the installer crashes at various other points also: when I try to
save the XML profile and a few other points that I've just learned to
try and avoid as I walk through the installer steps.

But I'm at the point now where I've run the installer 15 or 20 times and
every time it ends the same way, with the error message above.
Sometimes it ends this way at the network config step, other times it
ends this way at other steps, but it always crashes.  Plus, I can't find
anywhere in the script that it allows me to set mountpoints for the
partitions that I've created.

Is anyone else seeing this and can anyone recommend a work-around?  I'd
be happy to share my dmesg output or any other details if someone thinks
it would help improve the installer program.

Since the 2006.0 handbook assumes that I'm installing with the GLI, it
seems that my only other option for installing is with the minimal CD
and the general installation handbook.  If anyone has other ideas on how
to install from one of the 2006 series of CDs, I'd very much appreciate
learning of them.

TIA for any suggestions.

-Kevin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?

2008-08-10 Thread Volker Armin Hemmann
On Montag, 11. August 2008, b.n. wrote:
 Volker Armin Hemmann ha scritto:
  On Sonntag, 10. August 2008, b.n. wrote:
  Hi,
 
  I ask it here because I really don't know where to ask it.
 
  Is there a Linux system somewhere with a *non-GNU* userland?
 
  linux + uclibc + busybox?
 
  yes. And maybe you even get X or KDE run on it - google and tell us your
  results ;)
 
  http://www.linuxfromscratch.org/hints/downloads/files/uclibc.txt

 Wow! To bring back the thread on a Gentoo topic, I found neat howtos on
 the wiki:
 http://gentoo-wiki.com/TinyGentoo
 http://gentoo-wiki.com/Embedded_Gentoo

 I guess I'll try when I'll have some really spare time...

 Thanks for the cool link. The next step, I guess, is things that
 differ conceptually from the familiar Linux we're accustomed to. That
 is, if you follow newslogs like OSNews, you'll see a lot of hobbysts and
 engineers like to create new kernels. There is less interest in doing
 conceptually novel userlands (novel shells etc.) or it is just my
 impression? Maybe a more boring task?


there are many shells. sh, bash, bsh. korn, csh, zsh, dash, tcsh,  why 
make a new one, if you can do incredible stuff with zsh? A shell is not so 
easy to create.

A new kernel is not so hard to do. The problem are the drivers - and all the 
quirks. It is one thing to write a little task scheduler for your little pet 
project, but if it crashs constantly it becomes a bitch to fight through all 
the errata. But at the beginning a simple kernel is much easier to do than 
stuff that runs on it (simple is the important work. A non-simple kernel is 
very hard).
Another thing are libcs. A libc is a bitch. Luckily there is a whole bunch to 
choose from. glibc, bsd's libc, uclibc, dietlibc, ... so why re-invent the 
wheel? 

Or look at  X. X is horrible. A convoluted mess of grown cruft and standards 
to hold the pile together. But where is the replacement? Fiasco/Berlin? 
failed. Y-window? failed. Because X works good enough. And if you aren't 
writing toolkits or apps using xlib directly, you don't need to care about 
most of the stuff. 

So hobbyist concentrate on the easy stuff - and a userland is not easy.

Userland is not boring - it is very hard. And the best userland doesn't help 
you if no 3rd party software runs on it.



Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?

2008-08-11 Thread b.n.

Volker Armin Hemmann ha scritto:
there are many shells. sh, bash, bsh. korn, csh, zsh, dash, tcsh,  why 
make a new one, if you can do incredible stuff with zsh? A shell is not so 
easy to create.


I understand. I wondered if *conceptually new* shells were 
present.That's why I thought about the Powershell, as an example.


A new kernel is not so hard to do. The problem are the drivers - and all the 
quirks. It is one thing to write a little task scheduler for your little pet 
project, but if it crashs constantly it becomes a bitch to fight through all 
the errata. But at the beginning a simple kernel is much easier to do than 
stuff that runs on it (simple is the important work. A non-simple kernel is 
very hard).


Well, I've never done kernel programming, but I have always been under 
the impression it is among the hardest programming stuff you can do, 
even if only for the hardware knowledge and debugging troubles it gives...


Another thing are libcs. A libc is a bitch. Luckily there is a whole bunch to 
choose from. glibc, bsd's libc, uclibc, dietlibc, ... so why re-invent the 
wheel? 


For libc, yes, I agree.

Or look at  X. X is horrible. A convoluted mess of grown cruft and standards 
to hold the pile together. But where is the replacement? Fiasco/Berlin? 
failed. Y-window? failed. Because X works good enough. And if you aren't 
writing toolkits or apps using xlib directly, you don't need to care about 
most of the stuff. 


So hobbyist concentrate on the easy stuff - and a userland is not easy.

Userland is not boring - it is very hard. And the best userland doesn't help 
you if no 3rd party software runs on it.


But projects like Haiku and ReactOS created also most of userland from 
scratch,  not only the kernels. They had the advantage of taking 
inspiration from existing OSes but they actually did the implementation. 
Also, SkyOS or Syllable did it, AFAIK.


So I can rephrase my question as those two:
Why didn't those projects use the Linux kernel?
Are there similar projects using the Linux kernel?

m.



Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?

2008-08-11 Thread Volker Armin Hemmann
On Montag, 11. August 2008, b.n. wrote:
 Volker Armin Hemmann ha scritto:
  there are many shells. sh, bash, bsh. korn, csh, zsh, dash, tcsh, 
  why make a new one, if you can do incredible stuff with zsh? A shell is
  not so easy to create.

 I understand. I wondered if *conceptually new* shells were
 present.That's why I thought about the Powershell, as an example.

look up zsh. You can do stuff with that shell that make the powershell look 
like a child's toy.


  A new kernel is not so hard to do. The problem are the drivers - and all
  the quirks. It is one thing to write a little task scheduler for your
  little pet project, but if it crashs constantly it becomes a bitch to
  fight through all the errata. But at the beginning a simple kernel is
  much easier to do than stuff that runs on it (simple is the important
  work. A non-simple kernel is very hard).

 Well, I've never done kernel programming, but I have always been under
 the impression it is among the hardest programming stuff you can do,
 even if only for the hardware knowledge and debugging troubles it gives...

a 'real' kernel is hard, but a little hobbyist kernel is not that hard to do.


  Another thing are libcs. A libc is a bitch. Luckily there is a whole
  bunch to choose from. glibc, bsd's libc, uclibc, dietlibc, ... so why
  re-invent the wheel?

 For libc, yes, I agree.


 But projects like Haiku and ReactOS created also most of userland from
 scratch,  not only the kernels.

reactos tries to copy windows - so it will be using the windows userland. 
haiku tries to be beos - it is will be able to run beos apps. Also some posix-
apps run on it.


 They had the advantage of taking
 inspiration from existing OSes but they actually did the implementation.
 Also, SkyOS or Syllable did it, AFAIK.

and how many apps run on skyos or syllabe?


 So I can rephrase my question as those two:
 Why didn't those projects use the Linux kernel?

because they wanted to do something different.



Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Volker Armin Hemmann
On Monday 29 September 2008, Jon Hardcastle wrote:
On Monday 29 September 2008, Jon Hardcastle
 
  wrote:
 Hi, i have spent the weekend trying to get
 
  my new
 
Hauppage USB tv stick to
   
 work under linux.

 I have been constantly perplexed by
 
  references to
 
compilable kernel modules
   
 I couldn't see! I assumed it was because
 
  they
 
referred to old modules or
   
 something.

 But having downloaded and booted into
 
  Knoppix and run
 
make menuconfig on
   
 that i have confirmed that kernel seems to
 
  have
 
10's of TV card chipset
   
 drivers availible to compile whereas
   
gentoo-sources/vanilla-sources emerged
   
 on my machine have maybe 2 or 3.

 Can someone offer me some assistance as to
 
  why this
 
might be?
   
 Thank you

 (This is my first mailing list post - please
 
  be
 
gentle!)
   
   
because a large part of the dvb/tv drivers are
 
  developed
 
outside of the main
kernel tree. Also a large part is hidden under
experimental.
   
For my dvb-t stick I need to checkout a mercurial
 
  rep and
 
do a make, make
install in it do get drivers that work. And with
'work' I mean: no sound on
first try, but after disconnecting the stick and
reconnecting it, it suddenly
works.
  
   Hi, I went thru this process but i still dont have the
 
  option to add
 
   support as a kernel module. Should the mercurial add
 
  steps to the
 
   menuconfig?
 
  no.
  it just installs all the drivers in the rep as modules. It
  doesn't touch any
  configs at all.

 Hmmm i wonder why i have seen sooo many references to alot more kernel
 options than i have in either my gentoo-sources or vanilla-sources.

because they patch their kernel.

 Is it
 possible to 'patch' the kernel source instead of downloading using
 mercurial. Also how does it 'know' what kernel to make the modules
 available under? I have 3 sets of kernel code on my machine?

a) /usr/src/linux
b) uname -r
c) just make clean  make make install for every kernel.

Why patch at all? with the rep and make make install you get all the 
drivers. It is not that much 'overhead' compared to the work of patching the 
kernel. And you don't even need to worry about which driver you need - 
autoloading will do that for you ;)





Re: [gentoo-user] ftp transfer dies

2008-10-21 Thread Robert Bridge
On Tue, 21 Oct 2008 08:21:49 +0100
Mick [EMAIL PROTECTED] wrote:

 On Tuesday 21 October 2008, Paul Hartman wrote:
  On Tue, Oct 21, 2008 at 12:15 AM, Mick [EMAIL PROTECTED]
  wrote:
   Hi All,
  
   Any idea why this happens:
   
   150 Ok to send data.
   100% |***|   224 MiB   46.74
   KiB/s 00:00 ETA
   226 File receive OK.
   235279855 bytes sent in  1:21:59 (46.70 KiB/s)
   local: xab remote: xab
   227 Entering Passive Mode (205,178,145,65,166,71)
   150 Ok to send data.
34% |***|   115 MiB   46.80
   KiB/s 1:19:27 ETAtnftp: Writing to network: Connection reset by
   peer 0% |   |-10.00
   KiB/s --:-- ETA
   500 OOPS: child died
   
  
   It is rare that I am able to complete more than a single file
   transfer before the connection is reset by peer.  As these are
   relatively large files and the upload is unattended this is
   rather annoying. --
   Regards,
   Mick
 
  That used to happen to me when I was using a piece-of-junk D-Link
  router. It was one of those $29.99 consumer-grade deals. It would
  reboot itself constantly when it was under any kind of load. I
  replaced it with a $50 router with DD-WRT and things have been fine
  ever since. Might not have anything to do with your problem, but I
  figured I'd mention it. Check your router logs to see if it's having
  any problems.
 
 Thanks Paul,
 
 On the client side I am running a $500 professional grade router and
 I assume that the server ISP is also running something upmarket in
 their data center.
 
 On this topic the client-server arrangement straddles the Atlantic
 ocean, so who knows how many routers and switches it jumps across.
 That said the failure pattern is consistent:  first file always
 transfers cleanly, then second transfer fails after a while.  Could
 it be some configured disk/account quote, dropping transfers above a
 certain size on the (Unix) server?

Are you running through a proxy?


signature.asc
Description: PGP signature


Re: [gentoo-user] ftp transfer dies

2008-10-21 Thread Mick
2008/10/21 Robert Bridge [EMAIL PROTECTED]:
 On Tue, 21 Oct 2008 08:21:49 +0100
 Mick [EMAIL PROTECTED] wrote:

 On Tuesday 21 October 2008, Paul Hartman wrote:
  On Tue, Oct 21, 2008 at 12:15 AM, Mick [EMAIL PROTECTED]
  wrote:
   Hi All,
  
   Any idea why this happens:
   
   150 Ok to send data.
   100% |***|   224 MiB   46.74
   KiB/s 00:00 ETA
   226 File receive OK.
   235279855 bytes sent in  1:21:59 (46.70 KiB/s)
   local: xab remote: xab
   227 Entering Passive Mode (205,178,145,65,166,71)
   150 Ok to send data.
34% |***|   115 MiB   46.80
   KiB/s 1:19:27 ETAtnftp: Writing to network: Connection reset by
   peer 0% |   |-10.00
   KiB/s --:-- ETA
   500 OOPS: child died
   
  
   It is rare that I am able to complete more than a single file
   transfer before the connection is reset by peer.  As these are
   relatively large files and the upload is unattended this is
   rather annoying. --
   Regards,
   Mick
 
  That used to happen to me when I was using a piece-of-junk D-Link
  router. It was one of those $29.99 consumer-grade deals. It would
  reboot itself constantly when it was under any kind of load. I
  replaced it with a $50 router with DD-WRT and things have been fine
  ever since. Might not have anything to do with your problem, but I
  figured I'd mention it. Check your router logs to see if it's having
  any problems.

 Thanks Paul,

 On the client side I am running a $500 professional grade router and
 I assume that the server ISP is also running something upmarket in
 their data center.

 On this topic the client-server arrangement straddles the Atlantic
 ocean, so who knows how many routers and switches it jumps across.
 That said the failure pattern is consistent:  first file always
 transfers cleanly, then second transfer fails after a while.  Could
 it be some configured disk/account quote, dropping transfers above a
 certain size on the (Unix) server?

 Are you running through a proxy?

No, although I would love to be able to do that at work!  They only
allow port 80 to get out through the corporate gateway and probably
are running some clever filters on their Cisco routers to stop other
protocols.
-- 
Regards,
Mick



Re: [gentoo-user] Help with nautilus

2005-05-16 Thread Ognjen Bezanov
A. R. wrote:

Hello,

Would you please provide more details about the actual error?
One good way to do that is to launch nautilus from a terminal with the
following command IIRC:

nautilus --no-desktop --file-browser

and take a look at the ouput when it crashes.

I used to use gnome, and I can say that nautilus was a bit buggy IMHO, but
I was using gnome 2.6.


Regards,

-AR

On 5/16/05, Ognjen Bezanov [EMAIL PROTECTED] wrote:
  

I am using gnome with gentoo, but i have a major bug with nautilus which
results in it constantly crashing.

Whatever I click on a file nautilus crases and asks to be reloaded, I
have tried remerging, updating, uninstalling, and a ton of other stuff,
and I cant seem to fix it.

does anyone know what the problem is? This cannot be a bug because if it
was it would have rendered gnome unusable (and someone would have fixed
it by now).

Any tips welcome.

--
gentoo-user@gentoo.org mailing list






  

here is the error output from the command you specified:

[EMAIL PROTECTED] ognen $ nautilus --no-desktop --file-browser

** (nautilus:13834): WARNING **: URI NOT LOADED

** (nautilus:13834): WARNING **: Error in parse: Error on line 1851 char
14: Odd  character 'T', expected a '' character to end the start tag of
element 'URIion '

** (nautilus:13834): WARNING **: Error on line 1851 char 14: Odd
character 'T', expected a '' character to end the start tag of element
'URIion'

** (eog:13859): WARNING **: Failed to lock:  Resource temporarily
unavailable

** (eog:13859): WARNING **: URI NOT LOADED

** (eog:13859): WARNING **: Error in parse: Error on line 1851 char 14:
Odd char acter 'T', expected a '' character to end the start tag of
element 'URIion'

** (eog:13859): WARNING **: Error on line 1851 char 14: Odd character
'T', expec ted a '' character to end the start tag of element 'URIion'

** (eog:13859): WARNING **: URI NOT LOADED

** (eog:13859): WARNING **: Error in parse: Error on line 1851 char 14:
Odd char acter 'T', expected a '' character to end the start tag of
element 'URIion'

** (eog:13859): WARNING **: Error on line 1851 char 14: Odd character
'T', expec ted a '' character to end the start tag of element 'URIion'


Any help appreciated.


Whats interesting to note is that if i run the above command as root it
works, without crashing. It seems to be a problem with my user
account/permissions rather then the program itself.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SMTPS not working after upgrade 4.43 to 4.50

2005-06-14 Thread Daevid Vincent
Please help. I run Gentoo and try to use only the stable x86 packages for my
server. I upgraded from 4.43-r2 to 4.50-r1 as per portage's suggestion and
now I can't SEND mail from Outlook through my server to anywhere using
SMTPS. This worked fine earlier today before the upgrade. I don't see any
readme or other txt that would indicate I needed to configure something.
there was no 
etc-update files to examine either.

checking here, i don't see any known bugs re: my issue.
http://gentoo-portage.com/mail-mta/exim/bugs

this also talks about port 465, but i'm using port 25 according to outlook.

this chapter talks about SSL, but it's over my head.
http://www.exim.org/exim-html-4.50/doc/html/spec_38.html
like i say, this worked earlier with the lower version, so i assume my
config files are correct.

If i disable SSL in outlook for outgoing, then i can send mail to my exim
server (daevid.com), but can't send to anywhere else as relay not
permitted [which is expected]

If i check the SSL box for outgoing SMTP (like i has always been), then mail
never leaves outlook. it just constantly tries to send.

i can send mail using 'pine' from the server to anywhere.

i don't see any messages in the log file ?!

i do have a firewall (shorewall). did some port change now that i need to
open?

here are the parameters for exim that i have in my emerge:

[ebuild   R   ] mail-mta/exim-4.50-r1  +X -dnsdb -exiscan -exiscan-acl +ipv6
-ldap -lmtp -mailwrapper -mbox +mysql -nis +pam +perl -postgres -sasl +ssl
-syslog +tcpd 0 kB

so +ssl is on.

i recieve mail just fine.

so at the moment, no users can send mail basically and i'm dead in the water
as we require SSL to send so that we're not an open relay. :(

I tried to post to the exim list but they have dynamic IPs blocked via an
RBL list even though you have to be a member of the list to post -- very
helpful. UGH! So I was hoping that someone on this list would be a bit more
helpful.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X freezes locks up, constantly

2005-11-08 Thread Holly Bostick
Phill MV schreef:
 Every now and then, usually while doing something related to firefox
 ( mozilla-firefox-1.0.7-r2) but it's also happened when someone sent
 me a file over MSN in gaim (gaim-1.5.0), my copy of xorg-x11-6.8.2-r4
 will lock up and refuse all interaction.
 
 All windows stop responding; xmms keeps playing; keyboard locks up
 and the mouse, although free to wiggle around won't cross from one
 screen to another. Logging in from another machine over SSH, top
 reveals that X is occupying 90-something% of the CPU; killing
 individual applications like firefox or xmms doesn't do anything but
 killing X gives me back a working, functional login screen.
 
 This is, as you might imagine, amazingly annoying. For whatever
 reason, it'll happen when I click specific links in Firefox (i.e. my
 professor's labs  assignments link) snip

Before going further, let me say that I agree that X is becoming a real
annoyance. I'm at this very moment upgrading to the unstable version
(6.8.2-r6, not the masked pre-7.0 versions; I'm not that desperate :-) )
to see if it helps.

That said, this would seem to be an interaction between 'problems with
X' and 'problems with Firefox' (we've had discussions of the increasing
memory usage of Firefox lately-- it may well be that both these sets of
issues are manageable on their own, but together, Firefox becomes the
straw that breaks the back of X.

So try using another web browser for a while. I myself like Galeon for
my alternate browser, but there's Epiphany, Dillo, Konqueror (of
course), kazehakase, w3m, amaya, skipstone, and of course the text-based
browsers such as links, lynx and so on. I would avoid Mozilla, because
it's about the only thing that could possibly be yet more bloated than
Firefox is becoming.

In any case, see if the problem persists when using another browser; if
it doesn't, then at least you can do your work, if it does, perhaps
we'll get more information as to what is going wrong.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X freezes locks up, constantly

2005-11-08 Thread Phill MV
That's a pretty defeatist way of looking at it :P.
FIrefox seems to work just fine on every other X running desktop,
including a fellow Gentoo'er friend of mind;
Not to mention that simply stop using the application cos X has a bug
is, well, far out.

I'll go ahead with the mass recompile, I guess.
(PS. Opera 8.5 is waaay laggy for some reason and I like my extensions)


On 08/11/05, Holly Bostick [EMAIL PROTECTED] wrote:
 Phill MV schreef:
  Every now and then, usually while doing something related to firefox
  ( mozilla-firefox-1.0.7-r2) but it's also happened when someone sent
  me a file over MSN in gaim (gaim-1.5.0), my copy of xorg-x11-6.8.2-r4
  will lock up and refuse all interaction.
 
  All windows stop responding; xmms keeps playing; keyboard locks up
  and the mouse, although free to wiggle around won't cross from one
  screen to another. Logging in from another machine over SSH, top
  reveals that X is occupying 90-something% of the CPU; killing
  individual applications like firefox or xmms doesn't do anything but
  killing X gives me back a working, functional login screen.
 
  This is, as you might imagine, amazingly annoying. For whatever
  reason, it'll happen when I click specific links in Firefox (i.e. my
  professor's labs  assignments link) snip

 Before going further, let me say that I agree that X is becoming a real
 annoyance. I'm at this very moment upgrading to the unstable version
 (6.8.2-r6, not the masked pre-7.0 versions; I'm not that desperate :-) )
 to see if it helps.

 That said, this would seem to be an interaction between 'problems with
 X' and 'problems with Firefox' (we've had discussions of the increasing
 memory usage of Firefox lately-- it may well be that both these sets of
 issues are manageable on their own, but together, Firefox becomes the
 straw that breaks the back of X.

 So try using another web browser for a while. I myself like Galeon for
 my alternate browser, but there's Epiphany, Dillo, Konqueror (of
 course), kazehakase, w3m, amaya, skipstone, and of course the text-based
 browsers such as links, lynx and so on. I would avoid Mozilla, because
 it's about the only thing that could possibly be yet more bloated than
 Firefox is becoming.

 In any case, see if the problem persists when using another browser; if
 it doesn't, then at least you can do your work, if it does, perhaps
 we'll get more information as to what is going wrong.

 Hope this helps,
 Holly
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mounting /dev from udev ... [oops]

2007-04-10 Thread Dan Farrell
On Sat, 7 Apr 2007 14:51:00 -0700 (PDT)
maxim wexler [EMAIL PROTECTED] wrote:

  Dude, your kernel is really old.  We're on 2.6.19 or
  2.6.20 right now.
  There were significant updates and bugfixes.  Youve
  got to update your
  system.  Why on earth is a new install getting
  2.6.12?  
 
 So what? The Pentium III is older that the software.
but ... the isn't working properly.  If I were attempting to make your
processor work differently, I would concede the point.  But there's
many more requirements for a kernel than just supporting the processor
and other hardware.  It also has to support software, namely in this
case udev.  Not having proper udev support could certainly cause the
problems we're seeing here, don't you think?  
 I don't need all the bells and whistles. Don't need X
 or gnome or even a mouse. 
I'm kind of a minimalist too.  _My_ laptop is a Pentium 166.
Nevertheless, I try to keep it up to date.  2.6.12 was a long
time ago -- http://kerneltrap.org/node/5308 dates it at about 20+ months
old, being from late june 2005.  
 Also, upgrades are difficult here in the boonies.
 Modem speed is approx 28k.
I feel your pain.  I was on dialup for a long time.   I was actually
running a 2.4 kernel 8 months or so ago, and that was really outdated.
Getting it up to date was a real pain, and I wish I would have saved
myself the hassle and updated it regularly.  That was a learning
experience; )
 I got newer software on the working PC, 2.6.16, So
 it's not exactly bleeding edge but it works fine.

 I could transfer the newer stuff with ssh but that
 doesn't seem to be working either.
Probably a similar problem.  Udev would be responsible for creating
network devices such as eth0 based on 
 -mw
I agree that you never really need the latest and greatest.  That's
especially true for hardware when you run gentoo.  But software changes
quickly, unlike hardware, and is constantly improving.  You don't
necessarily get bells and whistles, you get bug fixes and performance
enhancements as well.  Bells and whistles can be left out of the kernel
easily enough.  I guess you could count udev as a bell or whistle, in
which case you could always manage a static /dev by hand.  I don't know
how to do this, or I probably would on my laptop.  

Good luck with your /dev problems, and may the solutions be swift and
painless ; ) 

 -- Dan
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Port Tracer Program Needed

2006-03-14 Thread Timothy A. Holmes
Hans -- Thank you,  I realize that I can make it blink with network
traffic, the problem is that basically all the ports on the switches
have traffic running constantly on them, so I need to find a way to make
it distinctive enough so it can be picked out from the rest of the
noise.

I will try to run down the tools that you mentioned and see if any of
them provide a solution -- thank you

TIM


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14

 -Original Message-
 From: Hans-Werner Hilse [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 14, 2006 12:01 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Port Tracer Program Needed
 
 Hi,
 
 On Tue, 14 Mar 2006 10:03:24 -0500 Timothy A. Holmes
 [EMAIL PROTECTED] wrote:
 
  I am getting ready to start a project here in the building to map
the
  physical infrastructure of our network (its been assembled kinda
willy
  nilly over the last 8 years or so).  I am looking for a program to
run
  on my laptop that I can plug into a wall plate and it will cause the
  port activity lights on the switch to blink distinctly so that I can
  begin tracing plugs to ports.  Due to budgetary constraints, open
  source / freeware is very very preferable.
 
 Not sure about distinctly (that will certainly depend on the
switch's
 electronic and programmatic design), but - tada - you can usually
cause
 the traffic light on the switch to blink with network traffic ;-)
 
 So broadcasting some UDP packages out into the wild should be
 sufficient. Use e.g. netcat. OTOH, you might want to play with ethtool
 and switch connection rates for short intervals. Usually switches have
 a light indicator for the speed, too, so that should be easier to
 distinct on a busy switch. Toggle this in a shell loop with a few
 sleeps inserted...
 
 -hwh
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Port Tracer Program Needed

2006-03-14 Thread Timothy A. Holmes
WOW -- that looks great -- Thank you very very much

I will be trying it shortly

TIM

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14

 -Original Message-
 From: Heiko Wundram [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 14, 2006 12:50 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Port Tracer Program Needed
 
 Am Dienstag, 14. März 2006 18:08 schrieb Timothy A. Holmes:
  Hans -- Thank you,  I realize that I can make it blink with network
  traffic, the problem is that basically all the ports on the switches
  have traffic running constantly on them, so I need to find a way to make
  it distinctive enough so it can be picked out from the rest of the
  noise.
 
 Save the following script as floodping.sh, and try it, you should be able
 to
 notice the traffic from your regular traffic:
 
 #!/bin/sh
 ifconfig $1 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
 while true
 do
   ping -f -w $2 -b 10.0.0.255
   sleep $2
 done
 
 ./floodping.sh eth0 5
 
 would mean that it does five seconds of intensive traffic (which has
 packets
 going to the switch in the order of 20ms or so, depending on your laptop,
 and the lamp should blink very frequently), then does five seconds of data
 sleep, which should be almost completely quiet on the switch (except for
 that
 occasional broadcast packet from another computer directed at yours).
 
 Be sure to use a network that isn't on your local net for testing, as my
 network is 192.*, I've used 10.* in the example. If you use a network
 that's
 regularily used on your network, you might get problems discerning the
 sleep
 phase, as the arp address of your laptop propagates to all other endpoints
 on
 your net due to the use of a regular network, and this might mean a lot of
 ARP queries, depending on your network size.
 
 I've used a technique like this to check the cabling in a building, and it
 worked just fine.
 
 HTH!
 
 --
 --- Heiko.
 
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PC freeze with ati-drivers and gentoo-sources-2.6.16-r3

2006-04-29 Thread Jannis Achstetter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 Hi,

 On Wed, 2006-04-26 at 22:00 +0200, Jannis Achstetter wrote:
 I don't say you have to but if I were you I would:
 - - update the xorg to 7.X
 - - build agpgart for your chipset into the kernel
 - - build the DRM for the ATI Radeon into the kernel

 can you specify what kernel version you're using, and what the config
 file names are for these two kernel options?
I'm using 2.6.16-beyond-git12 here.
The agpgart is called CONFIG_AGP. You have to select the correct
MB-chipset here, which is an SIS for me (CONFIG_AGP_SIS).
Next, you need the DRM (CONFIG_DRM) and the Radeon-support for it
(CONFIG_DRM_RADEON).

 - - configure xorg to use the radeon-driver (This is not just changing
 one line, you will have to reconfigure the whole section because the
 different drivers use different parameters)

 I thought I'd try your suggestion, since I already have modular xorg,
 and I'm getting fed-up with constantly-locking-up-ati-drivers.

 Also, what options do you have set in your xorg.conf file? Maybe even
 post your whole radeon Device section, if its small :)

 that would help me out a bit, I think.

 so far, I don't have dri (the Load dri command in xorg.conf locks up
 my laptop)

Here is my device-section:

Section Device
Identifier  device0
Driver  radeon
Option  AGPMode 4
Option  backingstore true
Option  VideoRam 128
BusID   PCI:1:0:0
Option  hw cursor off
# This is for Xorg 7.0 to work correctly:
Option  ColorTiling off
Option  AccelMethod EXA
EndSection

Be sure to add this section (you might have it already):
Section DRI
Group video
Mode 0666
EndSection


Good Luck,
Jannis Achstetter
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEU0qqsnofy59UleQRAuvaAJ4uoPlLhtZZC2bepO4ldc2iYyDADgCfXW0R
OSJzFZAXSmfRBBxvBfkanjU=
=h5+5
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature


RE: [gentoo-user] A couple projects on my laptop

2006-05-09 Thread Timothy A. Holmes


  My /etc/fstab says:
  /dev/sdb1   /mnt/removable  vfat  noauto,async,user,exec 0  0
  and I can mount it as a user just by clicking on its icon on
Konqueror,
  for example.
 
  I think what you really need, however, is not automount but maybe
HAL.
  Check in the wiki and/or docs for info, and don't run away in fear
if
  you see some page of instruction... after all, you're using Gentoo!
:)
 
 Search this mailing list over the last week or so.  At least three
 different threads asked exactly the same Q re: mounting USB CFs.
 
 Consider HAL, ivman if you want automounting of CFs and eventually
 decide to bother setting it up (it's not that difficult).
 
 Another thread over the last two weeks or so, explained what entries
 you need in your xorg.conf to manage your screen.  (Hint: check man
 xorg.conf for Option SuspendTime, or  DPMS off , etc.  Also,
 consider setting up your /etc/hibernate/hibernate.conf if you want to
 do the same thing manually.
 
 Sorry, I can't help with the VPN set up.  I recall reading about it in
 Gentoo Wiki if I'm not wrong.
 
 An equivalent to hyperterm is minicom.  If you want an alternative to
 a telnet client (and you would rather use something more secure than
 telnet) then try ssh.
 
 HTH.
 --
 Regards,
 Mick

[Timothy A. Holmes] 

Hi Mick - thanks for the response - I checked into the stuff from that
earlier thread, inserted the entries specified, and it did no good at
all, im beginning to suspect that it is something to do with the gateway
bios, as all my gateway gentoo machines do it, and none respond to the
commands in xorg.conf.


Thanks for the tip on minicom -- I will look into that one for sure -- I
use SSH constantly, I need this connection only for switches and UPS
serial port connections -- they are a last backup in case the Ethernet
goes down 

TIM


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



<    1   2   3   4   5   6   7   >