Re: [gentoo-user] Where are the AMD microcode updates for spectre?

2018-05-20 Thread Volker Armin Hemmann
oh come on. Spectre on AMD isn't even much of a problem. Why the panic?

Also... be prepared for a lot of trouble with intel cpu's soon...

2018-05-20 15:07 GMT+02:00 Rich Freeman :

> On Sun, May 20, 2018 at 4:59 AM Adam Carter  wrote:
>
> >> As far as I can tell there is no official AMD microcode update page, or
> any
> >> kind of official release notes.  I'm not sure where linux-firmware
> actually
> >> gets the microcode files from (I'm sure they wouldn't load if they
> weren't
> >> genuine though).  I can find no documentation as to what any of these
> >> updates actually do.
>
>
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/
> linux-firmware.git/commit/?id=77101513943ef198e2050667c87abf19e6cbb1d8
>
> > Bulldozer and Zen updates!
>
> Nice to see, but again there is no indication of what these microcode
> updates actually do.  Presumably they have something to do with Spectre,
> but there is no way to confirm that as far as I can tell.
>
> I get that not everything is open-source.  At the very least they could
> have some release notes.  Even NVidia has those...
>
> --
> Rich
>
>


Re: [gentoo-user] Trying to find which driver I can use with a ATI v9800 fireball

2016-12-10 Thread Volker Armin Hemmann
Am 04.12.2016 um 05:13 schrieb Vizo Allman:
> So I have this model
>  
> http://products.amd.com/en-us/search/Professional-Graphics/AMD-FirePro%E2%84%A2-3D-Workstation-Graphics/ATI-FirePro%E2%84%A2-V9800/24
>
> And this is the last binary driver that would work with my card
>  
> http://support.amd.com/en-us/download/workstation/previous/detail?os=Linux+x86_64=15.201.2401#
>
> for the life of me I cant figure how to get that installed . Any one
> know what to do? Please tell me what information I should provide to
> get the answr I need.
>
> Thanks
>
> -vizo-
>
>
> -- 
> "Nor aught availed him now
> To have build in Heaven high towersNor did he scape
> By all his engines
> But was headlong sent with his industrious crew
> To build in Hell
> "Milton, "Paradise Lost"

step 1: google: radeon gentoo wiki
step 2: read
step 3: follow instructions



Re: [gentoo-user] basic trouble with sendmail config

2016-12-04 Thread Volker Armin Hemmann
Am 04.12.2016 um 20:09 schrieb Harry Putnam:

is there a good reason you chose sendmail over postfix? Do you hate
yourself? You are a masochist?

I found sendmail the worst piece of software I ever had to deal with.
Windows XP user management in a mixed environment with shares is
delightful, writing bind config files or XFree86 configs by hand was
nice, easy and a joy compared to sendmail.



Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?

2016-11-29 Thread Volker Armin Hemmann
Am 29.11.2016 um 11:28 schrieb meino.cra...@gmx.de:
> Alarig Le Lay  [16-11-29 10:44]:
>> On Tue Nov 29 10:19:15 2016, meino.cra...@gmx.de wrote:
>>> Hi Marat,
>>>
>>> thanks for your help and link!
>>>
>>> ...if I install that addon I only get:
>>> "Palyback isn't supported on this device"
>>> (using Firefox 50.0)
>> Mozilla began to drop flash support since firefox 50.
>>
>> -- 
>> alarig
>
>
> ...so I am out of lyck, am I?
>
> I dont know mozillas intentions here...
>
> Cheers
> Meino
>
>
>
>
>

before you do any stupid stuff. Does hw acceleration work? Does video
acceleration work?



Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?

2016-11-29 Thread Volker Armin Hemmann
Am 29.11.2016 um 07:42 schrieb meino.cra...@gmx.de:
> Hi,
>
> I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> Most of the videos while playayaingnaying arereare stututterutering
> liiklike helellell. 
>
> I tested a lot of HTML5 addons to fix that problem and googled
> around the world but nothing helps. The only thing I found is an
> iconic sentence, which is true in this case also:
> "You are not alone...!".
>
> Is there any way to feed the stream from youtube direktly into
> a not blown player like mpv/mplayer or such (I would prefer
> not to load a complete gui (vlc) with any click again and again.)?
>
> Thanks for any help in advance!
> Cheers
> Meino
>
> PS: For the completeness:
> I have tried to fix that problem by:
> Restarting firefox
> Disabling hardware acceleration
> Disabling webgl
> Checking, whether the YouTube-testpage shows "all ok" for HTML5 (it does)
> Checking various about:config-setting for usefulness
> De-/Installing various addons, which all promise the heaven on earth
>
>
> .
>
using chrome I have no problems at all, as long as the graphic driver
stack is working fine.



Re: [gentoo-user] Re: TCP Queuing problem

2016-09-22 Thread Volker Armin Hemmann
Am 20.09.2016 um 21:52 schrieb Grant:
 My web server's response time for http requests skyrockets every
 weekday between about 9am and 5pm.  I've gone over my munin
>>> graphs
> and
 the only one that really correlates well with the slowdown is
>>> "TCP
 Queuing".  It looks like I normally have about 400 packets per
> second
 graphed as "direct copy from queue" in munin throughout the day,
> but 2
 to 3.5 times that many are periodically graphed during work
>>> hours.
> I
 don't see the same pattern at all from the graph of all traffic
>>> on
> my
 network interface which actually peaks over the weekend.  TCP
> Queuing
 doesn't rise above 400 packets per second all weekend.  This is
 consistent week after week.

 My two employees come into work during the hours in question, and
> they
 certainly make frequent requests of the web server while at work,
> but
 if their volume of requests were the cause of the problem then
>>> that
 would be reflected in the graph of web server requests but it is
> not.
 I do run a small MTU on the systems at work due to the config of
> the
 modem/router we have there.

 Is this a recognizable problem to anyone?
>>>
>>> I'm in the midst of this.  Are there certain attacks I should
>>> check
> for?
>>
>> It looks like the TCP Queuing spike itself was due to imapproxy
>>> which
>> I've now disabled.  I'll post more info as I gather it.
>
> imapproxy was clearly affecting the TCP Queuing graph in munin but I
> still ended up with a massive TCP Queuing spike today and
> corresponding http response time issues long after I disabled
> imapproxy.  Graph attached.  I'm puzzled.
>
> - Grant
 Things to check for:
 Torrent or other distributed downloads.
 Download program with multiple download threads
>>>
>>> There sure shouldn't be anything like that running either on the
>>> server or in the office.  Is there a good way to find out? Maybe
>>> something that would clearly indicate it?
>>>
>>>
 Maybe another proxy running? Esp. as you saw this also with
>>> imapproxy.
>>>
>>>
>>> nginx acts as a reverse proxy to apache2 but that's a pretty common
>>> config.  Nothing else that I know of.
>>>
>>> - Grant
>> Any way to find out between which hosts/servers those connections are for?
>> That might help in locating the cause.
>>
>> Eg. which of your desktops/laptops inside your network and where they are 
>> trying to connect to.
>
> The spikes are taking place on my remote server but they seem to
> roughly coincide with user activity within my own network.  My
> technical knowledge of networking internals is weak.  Does anyone know
> which tool will tell me more about the connections that are causing
> the TCP Queuing spikes?
>
> - Grant
>
>

wireshark or whatever it is called at the moment?




Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?

2016-09-08 Thread Volker Armin Hemmann
Am 08.09.2016 um 00:47 schrieb Alan McKinnon:
> On 08/09/2016 00:12, Volker Armin Hemmann wrote:
>> Am 07.09.2016 um 08:18 schrieb Alan McKinnon:
>>> On 07/09/2016 01:57, Volker Armin Hemmann wrote:
>>>> Am 01.09.2016 um 11:01 schrieb Alan McKinnon:
>>>>> On 01/09/2016 09:18, gevisz wrote:
>>>>>> 2016-09-01 9:13 GMT+03:00 Alan McKinnon <alan.mckin...@gmail.com>:
>>>>>>> On 01/09/2016 08:04, gevisz wrote:
>>>>> [snip]
>>>>>
>>>>>>> it will take about 5 seconds to partition it.
>>>>>>> And a few more to mkfs it.
>>>>>> Just to partition - may be, but I very much doubt
>>>>>> that it will take seconds to create a full-fledged
>>>>>> ext4 file system on these 5TB via USB2 connention.
>>>>> Do it. Tell me how long it tool.
>>>>>
>>>>> Discussing it without doing it and offering someone else's opinion
>>>>> is a
>>>>> 100% worthless activity
>>>>>
>>>>>> Even more: my aquiantance from the Window world
>>>>>> that recomended me this disc scared me that it may
>>>>>> take days...
>>>>> Mickey Mouse told me it takes microseconds. So what?
>>>>>
>>>>> Do it. Tell me how long it took.
>>>>>
>>>>>>>> Is it still advisable to partition a big hard drive
>>>>>>>> into smaller logical ones and why?
>>>>>>> The only reason to partition a drive is to get 2 or more
>>>>>>> smaller ones that differ somehow (size, inode ratio, mount
>>>>>>> options, etc)
>>>>>>>
>>>>>>> Go with no partition table by all means, but if you one day find
>>>>>>> you
>>>>>>> need one, you will have to copy all your data off, repartition,
>>>>>>> and copy
>>>>>>> your data back. If you are certain that will not happen (eg you
>>>>>>> will
>>>>>>> rather buy a second drive) then by all means dispense with
>>>>>>> partitions.
>>>>>>>
>>>>>>> They are after all nothing more than a Microsoft invention from
>>>>>>> the 80s
>>>>>>> so people could install UCSD Pascal next to MS-DOS
>>>>>> I definitely will not need more than one mount point for this
>>>>>> hard drive
>>>>>> but I do remember some arguments that partitioning a large hard
>>>>>> drive
>>>>>> into smaller logical ones gives me more safety in case a file system
>>>>>> suddenly will get corrupted because in this case I will loose my
>>>>>> data
>>>>>> only on one of the logical partitions and not on the whole drive.
>>>>>>
>>>>>> Is this argument still valid nowadays?
>>>>> That is the most stupid dumbass argument I've heard in weeks.
>>>>> It doesn't even deserve a response.
>>>>>
>>>>> Who the fuck is promoting this shit?
>>>>>
>>>>>
>>>> people who had to deal with corrupted filesystems in the past?
>>>>
>>>>
>>> The way to deal with the problem of fs corruption is to have reliable
>>> tested backups.
>>>
>>> The wrong way to deal with the problem of fs corruption is to get into
>>> cargo-cult manoeuvrers thinking that lots of little bits making a whole
>>> is going to solve the problem.
>>>
>>> Especially when the part of the disk statistically most at risk is the
>>> valuable data itself. OS code can be rebuilt easily, without backups
>>> data can't.
>>>
>>
>> the bigger the drive, the greater the chance of fs corruption. Just by
>> statistics. Better one minor partition is lost than everything.
>
> What are the statistical chances of that one minor partition being the
> one that gets corrupted? Statistically the odds are very small.
>
> Think about it, if the minor partition is say 5% of the disk and if
> all other things are exactly equal, the odds are 1 in 20.
>
> Apart from inherent defects in the drive itself, the sectors that are
> more prone to failing are those that are read the most and to a larger
> extent those that are written the most.
>
> What is read the most? OS and Data
> What is written the most? Data
> What has by far the greatest likelihood of suffering fs corruption? Data

and that is why spreading data over several partitions is not a bad idea.




Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?

2016-09-07 Thread Volker Armin Hemmann
Am 07.09.2016 um 08:18 schrieb Alan McKinnon:
> On 07/09/2016 01:57, Volker Armin Hemmann wrote:
>> Am 01.09.2016 um 11:01 schrieb Alan McKinnon:
>>> On 01/09/2016 09:18, gevisz wrote:
>>>> 2016-09-01 9:13 GMT+03:00 Alan McKinnon <alan.mckin...@gmail.com>:
>>>>> On 01/09/2016 08:04, gevisz wrote:
>>> [snip]
>>>
>>>>> it will take about 5 seconds to partition it.
>>>>> And a few more to mkfs it.
>>>> Just to partition - may be, but I very much doubt
>>>> that it will take seconds to create a full-fledged
>>>> ext4 file system on these 5TB via USB2 connention.
>>> Do it. Tell me how long it tool.
>>>
>>> Discussing it without doing it and offering someone else's opinion is a
>>> 100% worthless activity
>>>
>>>> Even more: my aquiantance from the Window world
>>>> that recomended me this disc scared me that it may
>>>> take days...
>>> Mickey Mouse told me it takes microseconds. So what?
>>>
>>> Do it. Tell me how long it took.
>>>
>>>>>> Is it still advisable to partition a big hard drive
>>>>>> into smaller logical ones and why?
>>>>> The only reason to partition a drive is to get 2 or more
>>>>> smaller ones that differ somehow (size, inode ratio, mount options, etc)
>>>>>
>>>>> Go with no partition table by all means, but if you one day find you
>>>>> need one, you will have to copy all your data off, repartition, and copy
>>>>> your data back. If you are certain that will not happen (eg you will
>>>>> rather buy a second drive) then by all means dispense with partitions.
>>>>>
>>>>> They are after all nothing more than a Microsoft invention from the 80s
>>>>> so people could install UCSD Pascal next to MS-DOS
>>>> I definitely will not need more than one mount point for this hard drive
>>>> but I do remember some arguments that partitioning a large hard drive
>>>> into smaller logical ones gives me more safety in case a file system
>>>> suddenly will get corrupted because in this case I will loose my data
>>>> only on one of the logical partitions and not on the whole drive.
>>>>
>>>> Is this argument still valid nowadays?
>>> That is the most stupid dumbass argument I've heard in weeks.
>>> It doesn't even deserve a response.
>>>
>>> Who the fuck is promoting this shit?
>>>
>>>
>> people who had to deal with corrupted filesystems in the past?
>>
>>
> The way to deal with the problem of fs corruption is to have reliable
> tested backups.
>
> The wrong way to deal with the problem of fs corruption is to get into
> cargo-cult manoeuvrers thinking that lots of little bits making a whole
> is going to solve the problem.
>
> Especially when the part of the disk statistically most at risk is the
> valuable data itself. OS code can be rebuilt easily, without backups
> data can't.
>

the bigger the drive, the greater the chance of fs corruption. Just by
statistics. Better one minor partition is lost than everything.

You can disagree as much as you like, but with the size of drives and
the current error rate of consumer hard drives it is not a question of
'if' but just a matter of 'when'.



Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?

2016-09-06 Thread Volker Armin Hemmann
Am 01.09.2016 um 11:01 schrieb Alan McKinnon:
> On 01/09/2016 09:18, gevisz wrote:
>> 2016-09-01 9:13 GMT+03:00 Alan McKinnon :
>>> On 01/09/2016 08:04, gevisz wrote:
> [snip]
>
>>> it will take about 5 seconds to partition it.
>>> And a few more to mkfs it.
>> Just to partition - may be, but I very much doubt
>> that it will take seconds to create a full-fledged
>> ext4 file system on these 5TB via USB2 connention.
>
> Do it. Tell me how long it tool.
>
> Discussing it without doing it and offering someone else's opinion is a
> 100% worthless activity
>
>> Even more: my aquiantance from the Window world
>> that recomended me this disc scared me that it may
>> take days...
> Mickey Mouse told me it takes microseconds. So what?
>
> Do it. Tell me how long it took.
>
 Is it still advisable to partition a big hard drive
 into smaller logical ones and why?
>>> The only reason to partition a drive is to get 2 or more
>>> smaller ones that differ somehow (size, inode ratio, mount options, etc)
>>>
>>> Go with no partition table by all means, but if you one day find you
>>> need one, you will have to copy all your data off, repartition, and copy
>>> your data back. If you are certain that will not happen (eg you will
>>> rather buy a second drive) then by all means dispense with partitions.
>>>
>>> They are after all nothing more than a Microsoft invention from the 80s
>>> so people could install UCSD Pascal next to MS-DOS
>> I definitely will not need more than one mount point for this hard drive
>> but I do remember some arguments that partitioning a large hard drive
>> into smaller logical ones gives me more safety in case a file system
>> suddenly will get corrupted because in this case I will loose my data
>> only on one of the logical partitions and not on the whole drive.
>>
>> Is this argument still valid nowadays?
> That is the most stupid dumbass argument I've heard in weeks.
> It doesn't even deserve a response.
>
> Who the fuck is promoting this shit?
>
>
people who had to deal with corrupted filesystems in the past?




Re: [gentoo-user] Re: USB crucial file recovery

2016-09-01 Thread Volker Armin Hemmann
Am 31.08.2016 um 16:33 schrieb Michael Mol:
>
> In data=journal mode, the contents of files pass through the journal as well, 
> ensuring that, at least as far as the filesystem's responsibility is 
> concerned, 
> the data will be intact in the event of a crash.

a common misconception. But not true at all. Google a bit.
>
> Now, I can still think of ways you can lose data in data=journal mode:
>
> * You mounted the filesystem with barrier=0 or with nobarrier; this can 
> result 

not needed.

> in data writes going to disk out of order, if the I/O stack supports 
> barriers. 
> If you say "my file is ninety bytes" "here are ninety bytes of data, all 9s", 
> "my file is now thirty bytes", "here are thirty bytes of data, all 3s", then 
> in 
> the end you should have a thirty-byte file filled with 3s. If you have 
> barriers 
> enabled and you crash halfway through the whole process, you should find a 
> file 
> of ninety bytes, all 9s. But if you have barriers disabled, the data may hit 
> disk as though you'd said "my file is ninety bytes, here are ninety bytes of 
> data, all 9s, here are thirty bytes of data, all 3s, now my file is thirty 
> bytes." If that happens, and you crash partway through the commit to disk, 
> you 
> may see a ninety-byte file consisting of  thirty 3s and sixty 9s. Or things 
> may 
> landthat you see a thirty-byte file of 9s.
>
> * Your application didn't flush its writes to disk when it should have.

not needed either.

>
> * Your vm.dirty_bytes or vm.dirty_ratio are too high, you've been writing a 
> lot to disk, and the kernel still has a lot of data buffered waiting to be 
> written. (Well, that can always lead to data loss regardless of how high 
> those 
> settings are, which is why applications should flush their writes.)
>
> * You've used hdparm to enable write buffers in your hard disks, and your 
> hard 
> disks lose power while their buffers have data waiting to be written.
>
> * You're using a buggy disk device that does a poor job of handling power 
> loss. Such as some SSDs which don't have large enough capacitors for their 
> own 
> write reordering. Or just about any flash drive.
>
> * There's a bug in some code, somewhere.

nope.
> In-memory corruption of a data is a universal hazard. ECC should be the norm, 
> not the exception, honestly.
>




Re: [gentoo-user] Re: USB crucial file recovery

2016-08-30 Thread Volker Armin Hemmann
Am 30.08.2016 um 23:59 schrieb Rich Freeman:
> On Tue, Aug 30, 2016 at 4:58 PM, Volker Armin Hemmann
> <volkerar...@googlemail.com> wrote:
>> the journal does not add any data integrity benefits at all. It just
>> makes it more likely that the fs is in a sane state if there is a crash.
>> Likely. Not a guarantee. Your data? No one cares.
>>
> That depends on the mode of operation.  In journal=data I believe
> everything gets written twice, which should make it fairly immune to
> most forms of corruption.

nope. Crash at the wrong time, data gone. FS hopefully sane.

>
> f2fs would also have this benefit.  Data is not overwritten in-place
> in a log-based filesystem; they're essentially journaled by their
> design (actually, they're basically what you get if you ditch the
> regular part of the filesystem and keep nothing but the journal).
>
>> If you want an fs that cares about your data: zfs.
>>
> I won't argue that the COW filesystems have better data security
> features.  It will be nice when they're stable in the main kernel.
>

it is not so much about cow, but integrity checks all the way from the
moment the cpu spends some cycles on it. Caught some silent file
corruptions that way. Switched to ECC ram and never saw them again.




Re: [gentoo-user] Re: USB crucial file recovery

2016-08-30 Thread Volker Armin Hemmann
Am 30.08.2016 um 22:46 schrieb Rich Freeman:
> On Tue, Aug 30, 2016 at 4:42 PM, Grant Edwards
>  wrote:
>> There's nothing in Gentoo that guarantees everybody has ext2 support
>> in their kernels.  That said, I agree that ext2 (or perhaps ext3 with
>> journalling disabled -- I've always been a bit fuzzy on whether that's
>> exactly the same thing or not)
> Sorry, I just wanted to chime in on one thing.  While a journal
> probably will cause more flash wear, it also potentially adds data
> integrity.
>
> Now consider that the original message that started this whole thread
> was important files being stored on flash and being corrupted.
> Getting rid of the journal might not be the best move.
>
> Unless you have a LOT of writes to flash you're not going to wear it
> out, especially with wear-leveling algorithms.
>
> Oh, and finally, if it matters that much, have a backup...
>

the journal does not add any data integrity benefits at all. It just
makes it more likely that the fs is in a sane state if there is a crash.
Likely. Not a guarantee. Your data? No one cares.

If you want an fs that cares about your data: zfs.



Re: [gentoo-user] USB crucial file recovery

2016-08-30 Thread Volker Armin Hemmann
Am 30.08.2016 um 22:32 schrieb Grant:
 ext2 doesn't have a journal, that's why I suggested it in the
 first
> place.
 My point was against all the journalised filesystems (that
 includes
 NTFS), not against your advice ;)

>>> OP is looking for an fs to put on a memory stick that will work
>>> everywhere:
>>>
>>> - vfat
>>> - exfat
>> He asked for something that would work "across Gentoo systems".
>>
>>
> How does exfat not fulfil that?
>
>
 because exfat does not work across gentoo systems. ext2 does.
>>> Exfat works when the drivers are installed.
>>> Same goes for ext2.
>>>
>>> It is possible to not have support for ext2/3 or 4 and still have a fully 
>>> functional system. (Btrfs or zfs for the full system for instance)
>>>
>>> When using UEFI boot, a vfat partition with support is required.
>>>
>>> --
>>> Joost
>> ext2 is on every system, exfat not. ext2 is very stable, tested and well
>> aged. exfat is some fuse something crap. New, hardly tested and unstable
>> as it gets.
>>
>> And why use exfat if you use linux? It is just not needed at all.
>
> If I use ext2 on the USB stick, can I mount and use it as any user on
> any Gentoo system from within a file manager like thunar?
>
> Should I consider ext3/4 with journaling disabled?
>
> - Grant
>
>

kde and lxde never had any problems on my systems.



Re: [gentoo-user] USB crucial file recovery

2016-08-30 Thread Volker Armin Hemmann
Am 30.08.2016 um 21:14 schrieb J. Roeleveld:
> On August 30, 2016 8:58:17 PM GMT+02:00, Volker Armin Hemmann 
> <volkerar...@googlemail.com> wrote:
>> Am 30.08.2016 um 20:12 schrieb Alan McKinnon:
>>> On 30/08/2016 14:04, Neil Bothwick wrote:
>>>> On Tue, 30 Aug 2016 12:08:13 +0200, Alan McKinnon wrote:
>>>>
>>>>>>> ext2 doesn't have a journal, that's why I suggested it in the
>> first
>>>>>>> place.
>>>>>> My point was against all the journalised filesystems (that
>> includes
>>>>>> NTFS), not against your advice ;)
>>>>>>
>>>>>
>>>>> OP is looking for an fs to put on a memory stick that will work
>>>>> everywhere:
>>>>>
>>>>> - vfat
>>>>> - exfat
>>>> He asked for something that would work "across Gentoo systems".
>>>>
>>>>
>>> How does exfat not fulfil that?
>>>
>>>
>> because exfat does not work across gentoo systems. ext2 does.
> Exfat works when the drivers are installed.
> Same goes for ext2.
>
> It is possible to not have support for ext2/3 or 4 and still have a fully 
> functional system. (Btrfs or zfs for the full system for instance)
>
> When using UEFI boot, a vfat partition with support is required.
>
> --
> Joost

ext2 is on every system, exfat not. ext2 is very stable, tested and well
aged. exfat is some fuse something crap. New, hardly tested and unstable
as it gets.

And why use exfat if you use linux? It is just not needed at all.



Re: [gentoo-user] USB crucial file recovery

2016-08-30 Thread Volker Armin Hemmann
Am 30.08.2016 um 20:12 schrieb Alan McKinnon:
> On 30/08/2016 14:04, Neil Bothwick wrote:
>> On Tue, 30 Aug 2016 12:08:13 +0200, Alan McKinnon wrote:
>>
> ext2 doesn't have a journal, that's why I suggested it in the first
> place.

 My point was against all the journalised filesystems (that includes
 NTFS), not against your advice ;)

>>>
>>>
>>> OP is looking for an fs to put on a memory stick that will work
>>> everywhere:
>>>
>>> - vfat
>>> - exfat
>>
>> He asked for something that would work "across Gentoo systems".
>>
>>
>
> How does exfat not fulfil that?
>
>

because exfat does not work across gentoo systems. ext2 does.



Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?

2016-07-11 Thread Volker Armin Hemmann
Am 11.07.2016 um 22:51 schrieb J. García:
> El lun, 11-07-2016 a las 16:27 -0400, waltd...@waltdnes.org escribió:
>>   I put it into CFLAGS/CCFLAGS years ago, and left it there.  During
>> a
>> discussion on the Pale Moon forum about build options, the opinion
>> seems
>> to be that "-fomit-frame-pointer" is now the default.  Is that
>> correct?
>> I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale
>> Moon
>> build process.
>>
> I think it is, at least here it is a default, you can find out by
> running:
> gcc -c -Q --help=optimizers
>
> It gets activated with -O, and -O2 is the default in Gentoo, so it
> should be.
> >From the gcc manual:
> "-O also turns on -fomit-frame-pointer on machines where doing so does
> not interfere with debugging."
>
>
so it is not turned on on x86. Not sure about amd64. IIRC it is default
on amd64, but I am not sure and too lazy to google. Just like the thread
starter.



Re: [gentoo-user] Re: Gentoo is supporting officially Snap packages?

2016-06-17 Thread Volker Armin Hemmann
oh yeah, forgot the catchy name. Mea culpa.

2016-06-17 10:52 GMT+02:00 Neil Bothwick <n...@digimed.co.uk>:

> On Fri, 17 Jun 2016 10:28:10 +0200, Volker Armin Hemmann wrote:
>
> > soo... why not compile everything statically in the first place? and
> > put it in HOME?
>
> Because that's not new and shiny with a catchy name!
>
>
> --
> Neil Bothwick
>
> Windows Error #02: Multitasking attempted. System confused.
>


Re: [gentoo-user] Re: Gentoo is supporting officially Snap packages?

2016-06-17 Thread Volker Armin Hemmann
soo... why not compile everything statically in the first place? and put it
in HOME?

2016-06-17 9:18 GMT+02:00 Andrew Savchenko :

> On Thu, 16 Jun 2016 19:30:49 -0400 José Maldonado wrote:
> >
> >
> > El 16/06/16 a las 11:27, James escribió:
> > > One word SECURITY?  Trust but verify does come to mind.
> > >
> >
> > The snaps come to "replace" a lack of security that is in Linux, in
> > addition to facilitating the installation of all applications from the
> > user-space without root privileges.
>
> Replace lack of security, really? It will create it in the long
> run due to outdated unmaintained third-party bundled software.
>
> Best regards,
> Andrew Savchenko
>


Re: [gentoo-user] Re: [OT] How to be a penguin.

2016-05-30 Thread Volker Armin Hemmann
Am 31.05.2016 um 02:32 schrieb Alan Grimes:
> Dale wrote:
>> Do you really want a answer to that?  Seriously?  You asked so I guess
>> you do.  Here it is.  Yes!  lol  The way you do things, and continue to
>> do things, even after having several VERY experienced users tell you
>> that the way you are doing things is wrong pretty much says it all.  If
>> I post that I was doing something and getting a bad result and someone
>> such as Neil and/or Alan McKinnon tells me I am doing it wrong, you can
>> bet your last dollar that I am about to change how I do things.  Why, if
>> either or both of them tell me I am doing something wrong, I'm doing it
>> wrong.  If I continue to do things the same way, well, that would be my
>> fault not members of this list or emerge/portage.  So far, I don't
>> recall seeing a single post that supports how your script is set up. 
>> Not one, except you of course. 
> This is linux, not Windows 10.

doing stupid things is stupid. No matter which system you are using.
>
> The key difference is that I get to decide how I want my computer to
> run. =|

if you decide to act stupid, don't complain.
>
> What I am saying is that recent changes have broken a usage pattern that I 
> was quite content with for more than a decade. =\

so you got away with stupid behaviour for a while, but now reality has
caught up with you. But instead of rethinking your approach or listening
to the advise of others you insist on continuing with your broken crap.
Sounds stupid.

>
>> Here's a idea.  Since YOU are the only one having this problem, why
>> don't YOU change what you are doing to something that actually works? 
>> What you are doing doesn't work.  Try something else.  Funny how those
>> "stupid" checks work for everyone else. 
> I'm at 193/250 right now so therefore all discussion of changing my
> procedures is tabled until the next time I have troubles (next month...)

pretty much whenever your run your stupid script.

>
> I mentioned this before.  If you keep posting but then refuse to accept
> help, people will start ignoring or blocking your messages.  Based on
> the posts that I see, I suspect some may have already.  At some point,
> even I will.  I've only ever blocked one other person on this list.  I
> can see that doubling at some point because you don't come here for help
> or accept any when it is given.  You just come here to gripe about
> things not working like you want when it is your method that is broken. 
> 
>
>
> May I remind you that most modern software has a "check for updates" button 
> that is fully automated... 
>
> May I also point out that the stated gentoo update process, of "emerge sync ; 
> emerge --update world rarely actually works or does not have the intended 
> effect without a several dozen qualifiers. I point out here that the 
> qualifiers I use were selected from the ones provided by portage. 
really? just tried. It worked. What am I doing wrong?





Re: [gentoo-user] Re: [OT] How to be a penguin.

2016-05-29 Thread Volker Armin Hemmann
Am 29.05.2016 um 22:15 schrieb Alan McKinnon:
> On 29/05/2016 19:54, Dale wrote:
>> Alan McKinnon wrote:
>>> On 29/05/2016 11:28, Dale wrote:
 Håkon Alstadheim wrote:
> Den 29. mai 2016 03:17, skrev Gregory Woodbury:
>> WOW!
>>
>> Alan just wants to start it and walk away, as if Gentoo was a binary
>> distribution
>> that handles it all upstream.  He doesn't want to take the time to
>> review what
>> emerge is proposing and see if changes are needed first.
>>
> It IS actually possible to do that, at least for non-critical systems.
> Just make sure to mail yourself with the emerge output, so you can fix
> things before the next automatic run.
>
> The point being that you don't have to sit and watch while emerge works.
> You can have the output of any blocks or failures waiting for you in
> your inbox at your convenience.
>
> For this to work in a timely fashion you need to stay on stable packages
> as much as possible, and also keep other customizations to a minimum,
> e.g. don't use --autounmask-write.
>
 Thing is, that's not what Alan seems to want.  Alan wants something like
 Ubuntu or something where you tell it to upgrade and then walk away
 without checking anything.
>>> You are both wrong. What Alan Grimes really wants is an excuse (any
>>> excuse) to whine, whinge and bitch about $STUFF.
>>>
>>> Notice how he never replies to any thread he starts?
>>>
>>>
>>
>> Well, he did reply.  Either his script is still doing it or he did and
>> he hasn't learned anything yet. 
>>
>> It's funny how he is the only one that has these problems and how he
>> keeps using that disaster of a script.  I don't think anyone has posted
>> a positive thing about that script.  I'm no script guru by any means but
>> even I can read that thing and see what a disaster it is. 
>>
>> Best of luck to him.  I'm about done trying to help.  Key word, trying.
>>
>> Dale
>>
>> :-)  :-) 
>>
>
> I agree Dale.
>
> Mr Grimes should probably move over to Linux From Scratch. It has none
> of portage's absurdities, makes no effort at all to be helpful to the
> user and allows anyone to write any build automation they feel is
> appropriate. LFS also requires you to watch all the compiler output all
> the time to catch problems; it all seems to match Mr Grimes'
> requirements right down to a tee.
>
>
> I'm going to STFU down, go to bed and finish an astonishingly intriguing
> Stephen King book and let the computer get on with doing whatever it
> thinks perl-cleaner fixes.
>

personally, I hope he stays around. His mails and the resulting threads
amuse me.



Re: [gentoo-user] Re: [OT] How to be a penguin.

2016-05-28 Thread Volker Armin Hemmann
Am 28.05.2016 um 20:49 schrieb Dale:
> Dale wrote:
>> Gregory Woodbury wrote:
>>> Has Alan ever posted his "jackhammer" script for some experts to
>>> look at?
>>>
>>> I get by really well with a small script that reads the eix outputs,
>>> finds the "[U]"
>>> tagged packages, and then runs "emerge -u1" on that list.
>>>
>>> Doing anything more than that will be a cause of pain and suffering.
>>>
>>> If a package needs patches for something special, it is better to
>>> make a local 
>>> repository with modified ebuilds and distfiles, rather than try to
>>> force the gentoo repo 
>>> into your own mess. I do this for a few tthings that Gentoo doesn't
>>> ship. Portage
>>> is actuallly quite flexible underneath, itt just takes a bit of
>>> learning.
>>>
>>> -- 
>>> G.Wolfe Woodbury
>>> redwo...@gmail.com 
>>
>>
>> He did a while back.  Some very experienced Gentoo users here
>> explained to him that his script was the problem.  From memory which
>> isn't all that good, it syncs the tree which is fine.  After that, it
>> gets bad.  I think it did the updates and then repeated that several
>> times within the script.  That is done without him looking to see if
>> anything needs to be changed, USE flags etc, or if something
>> shouldn't be updated at all.  I'm pretty sure that it then deletes
>> all the logs of what was done, which means anything broken is broke
>> and no record of what or even why. 
>>
>> Yes, some things can be done with a script.  However, there needs to
>> be a point in there where the user, the real brain of what is wanted,
>> looks at the list of what will be updated.  Only a human can look and
>> see if there is USE flag changes or other issues that need a config
>> file to be edited.   Alan skips all that. 
>>
>> If you want, I can go dig it out and post it.  I should have a copy
>> of the script in my local email.  I keep them for like 2 years or
>> something then it deletes the old stuff.  I'm not sure if you will
>> laugh your head off or cry tho. 
>>
>> Dale
>>
>> :-)  :-) 
>
>
> What the heck.  I went back and found it.  It only took a few
> minutes.  The rest of this message is the email where he has his
> script.  I'll do my usual sign off at the bottom, rest is his post.  
> For those who have already seen it, you might want to skip past the
> rest.  No need torturing yourself again. 
>
>
>> I use two scripts for all emerge use, the goal is to run one command and
>> then walk away:
>>
>> Standard general update script:
>> ###
>> tortoise ~ # cat sysupdate
>>
>> #they must have moved or removed the logs, might have to track them down
>> again...
>> #rm /var/log/emerge*
>>
>> # cache /usr/portage 
>> echo "caching /usr/portage.  This will take a long time."
>> time ls -R /usr/portage > /dev/null
>>
>> emerge --sync
>> layman --sync ALL
>>
>> emerge --update --verbose portage
>> emerge --update --newuse --deep --with-bdeps=y system --keep-going
>> emerge --update --newuse --deep --with-bdeps=y world --keep-going
>>
>> rm -f /var/cache/revdep-rebuild/*.rr
>> revdep-rebuild
>> emerge --skipfirst --resume
>> emerge --skipfirst --resume
>> etc-update
>> eclean-dist
>> 
>>
>> The eclean line was added just a few days ago from this thread...
>>
>> This one is intended to be a nice gentle update script.
>> It caches the portage tree, then syncs everything, then updates
>> everything starting with critical system packages, then all world
>> packages...
>>
>> Then it cleans stuff up, it jcakhammers the revdep-rebuild but not too
>> hard
>>
>>
>> This next script is what I use when emerge starts giving me shit:
>>
>> ##
>> tortoise ~ # cat keepgoing
>> emerge --update --newuse --deep --with-bdeps=y system
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>>
>> emerge --update --newuse --deep --with-bdeps=y world
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>>
>> rm /var/cache/revdep-rebuild/*.rr
>> revdep-rebuild
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>> emerge --skipfirst --resume --nodeps
>>
>> etc-update
>> ###
>>
>> It's basically the same as the working section of the above but instead
>> of letting emerge do it's thing, it jackhammers that bitch as hard as
>> possible to get as much updated as possible, but it requires emerge to
>> do something and not error out for no good reason... I expect prune and
>> depclean to be useless but I kinda need update to basically work every
>> time. 

Re: [gentoo-user] Re: why emerge sucks nuts:

2016-04-16 Thread Volker Armin Hemmann
Am 16.04.2016 um 17:55 schrieb Dale:
> Alec Ten Harmsel wrote:
>> On Sat, Apr 16, 2016 at 09:08:41AM -0500, »Q« wrote:
>>> On Sat, 16 Apr 2016 00:13:27 -0400
>>> Alan Grimes  wrote:
>>>
 Emerge errors out with this:

 "fuck you user, C 1.0 won't work B 2.0"
>>> I've got the 'offensive' flag set globally, and emerge never talks to
>>> me that way.  How to fix?
>>>
>> +1
>>
>> Alec
>>
>>
>
> I've had mine puke out a error before but never such profanity as that. 
> Of course, we all know that sometimes portage's output may as well be
> some foreign language we have never even seen before.  ;-) 
>
> Dale
>
> :-)  :-) 
>
>

he is using the 'vulgarian' localization.



Re: [gentoo-user] Emerge

2016-04-16 Thread Volker Armin Hemmann
Am 16.04.2016 um 16:26 schrieb Alan Grimes:
> Mick wrote:
>> Hello Mr Grimes,
>>
>> I see you still have trouble dealing with your rage issues.
>>
>> I recommend you seek professional help about that.
>> Nah!  Let the man vent.  Gentoo is a particularly effective (meta)distro for 
>> this purpose too.  It will invariably do *exactly* what you instruct it, 
>> although this comes with no guarantee this will be what wanted it to do.  
>>
>> It forces you to learn through practice.  ;-)
> No, not in this case.
> Emerge is clearly looking for any tenible excuse not to do anything
> whatsoever, and will not do anything at all if any such excuse exists.
>
> Six months ago, it wasn't like this. It would generally plow ahead and
> start compiling the shit you asked it to. This WOULD sometimes cause
> problems, which could affect multi-user systems and server situations,
> but on my desktop, all of these problems would go away by the end of the
> update list and 95% of the time, revdep-rebuild wouldn't have anything
> to do.
>
> And then some pinhead got an idea that you could verify the workingness
> of every package by spending twenty minutes of cpu time examining
> ebuilds
>
> This could work, (given 20 minutes) almost, if you set --backtrack=30.
> However, not having this set by default is a wonderful opportunity to
> annoy the crap out of the user and such opportunities are never to be
> passed up. NEVER!!
>

you do stupid things and then complain that the system does not work.

Why don't you stop doing stupid things?

That said, C 1.0 blocks A 1.0 but updating to C 2.0 would solve it, does
happen, even if you do not act retarded, BUT those instances are usually
easy to solve.

Instead of letting portage hang to dry and ranting on this ml, smart
people just emerge -u C and then go on with the rest of the updates.
Wow, that was hard. I am sweating all over. Maybe I should lay down for
a while. After a long shower.



Re: [gentoo-user] Re: [gentoo-user] Re: 回复:Re: [gentoo-user] About the kdbus with gentoo-sources 4.3.6, of the greate memory usage.

2016-03-26 Thread Volker Armin Hemmann
Am 26.03.2016 um 16:40 schrieb Rich Freeman:
> On Sat, Mar 26, 2016 at 10:48 AM, Volker Armin Hemmann
> <volkerar...@googlemail.com> wrote:
>> because it is broken by design, a security nightmare and seriously not
>> needed at all?
>>
> While there is general interest in a better design, Linus believes it
> is in fact needed and intends to merge the ultimate result.  The
> concern is with the design of kdbus itself, not the concept.  It is
> just a more rigorous form of IPC.
>
> Others are of course welcome to disagree.
>

hm, back then and everytime kdbus came up on lkml the consensus was
'speed? you do it for speed? Get userspace dbus in order and the speed
argument collapses'. Pretty much everybody also voiced problems with
security (none) and the statefulness of dbus.

All problems, blissfully ignored by the kdbus bunch.



[gentoo-user] Re: 回复:Re: [gentoo-user] About the kdbus with gentoo-sources 4.3.6, of the greate memory usage.

2016-03-26 Thread Volker Armin Hemmann
Am 11.03.2016 um 16:08 schrieb Nicol TAO:
> yes. it was not updated later any only support linux kernel 4.3 branch.
> it seems kdbus can speed up communication, why not actively devel and
> update?
>

because it is broken by design, a security nightmare and seriously not
needed at all?

> 发自 网易邮箱大师 
> 在 2016年03月11日 20:23,Arve Barsnes 
> 写道:
>
> On 11 March 2016 at 11:44, Nicol TAO  wrote:
> >
> > Has anyone use kdbus with gentoo? I built and installed the
> latest kdbus
> > with gentoo-sources 4.3.6.
>
> kdbus was discontinued back in October, so it shouldn't be used at
> all
> as far as I know.
>



Re: [gentoo-user] Re: new machine : case + power

2015-09-24 Thread Volker Armin Hemmann
Am 17.09.2015 um 05:38 schrieb james:
> Philip Webb  ca.inter.net> writes:
>
>
>>   150914 CPU : AMD X8 FX8370E 8-core 4,3 GHz 16 MB 32 nm 95 W 
>  I have 3) FX8350. Outstanding performance for the cost. Love them all.
>
>
>
>>   150914 Mobo : Gigabyte GA-970A-UD3P 970+SB950 DDR3 2000  :  119.99
>>   2x PCI-Express x16 GLAN 6xSATA 6.0 Gb/s 4xUSB 3.0 14xUSB 2.0
> I have (3) of the Ggiabyte 990A-UD3P mobos:: I love mine
>
> Very extensive wiring needs, plus you have to match the video card 
> power needs to the power supply. None of my older PS would fit the bill.
> Also, there has been a quiet revolution in power supply. The efficiency
> of the switching circuits will save you more money in the long run
> and those electronics will deliver the cleanest power to your other 
> electronics. PS have ratings so look at the efficiency and oversizing a bit
> from calculated loads is never a bad idea. 
> I would recommend to 'not go cheap' on the PS. Becuase
> 4+ GHz can create some very localized heats, I put a 'water cooler'
> on the chip that has hoses running to a radiaor bolted on the the main rear
> fan of the Case. A wise investment at 4.3GHz. Air cooled CPUs are suspect
> at those frequencies, particular if you like to compile  lots of code
> or stress the all the cores at the same time.
>
>
>
>
>>   150914 Memory : Kingston HyperX Fury 8 GB DDR3 1866 MHz CL10 :   68.99
> I always max ram in lieu of SSD. I know you have a budget but max
> ram is the single biggest item on performance and most things are 
> memory constrained on processing, ymmv.
>
> Every thing else look for bargains. Newegg is a great place to vett prices.
>
> Make sure your case has a big and quite fan to draw air across the HD. Most
> new cases do. In all you buy, check the dB (sound level) especially if
> you want a quite rig to sit near you. Make sure the UPS you have is 
> adequate and tested. Put a large light on the UPS. Yank the power cord
> of the UPS to the wall and you should not see a flicker nor deeming
> of the light of the bulb; thats a good UPS. UPS protects ALL your
> electronics, but never printers as their power draw surges can easily
> fry a smaller UPS.
>
> hth,
> James
>
>
>
>
>
I have a 125w CPU and a R7 370 plus a shitload of HDDs and all those are
quite happily fed by a 450W PSU. A pretty old 450W BeQuiet PSU.

Go figure.

What does my 600VA UPS says about this?
27% load at the moment.




Re: [gentoo-user] Re: new machine : case + power

2015-09-24 Thread Volker Armin Hemmann
Am 24.09.2015 um 18:12 schrieb Alan McKinnon:
> On 24/09/2015 16:00, Volker Armin Hemmann wrote:
>> Am 17.09.2015 um 05:38 schrieb james:
>>> Philip Webb  ca.inter.net> writes:
>>>
>>>
>>>>   150914 CPU : AMD X8 FX8370E 8-core 4,3 GHz 16 MB 32 nm 95 W 
>>>  I have 3) FX8350. Outstanding performance for the cost. Love them all.
>>>
>>>
>>>
>>>>   150914 Mobo : Gigabyte GA-970A-UD3P 970+SB950 DDR3 2000  :  119.99
>>>>   2x PCI-Express x16 GLAN 6xSATA 6.0 Gb/s 4xUSB 3.0 14xUSB 2.0
>>> I have (3) of the Ggiabyte 990A-UD3P mobos:: I love mine
>>>
>>> Very extensive wiring needs, plus you have to match the video card 
>>> power needs to the power supply. None of my older PS would fit the bill.
>>> Also, there has been a quiet revolution in power supply. The efficiency
>>> of the switching circuits will save you more money in the long run
>>> and those electronics will deliver the cleanest power to your other 
>>> electronics. PS have ratings so look at the efficiency and oversizing a bit
>>> from calculated loads is never a bad idea. 
>>> I would recommend to 'not go cheap' on the PS. Becuase
>>> 4+ GHz can create some very localized heats, I put a 'water cooler'
>>> on the chip that has hoses running to a radiaor bolted on the the main rear
>>> fan of the Case. A wise investment at 4.3GHz. Air cooled CPUs are suspect
>>> at those frequencies, particular if you like to compile  lots of code
>>> or stress the all the cores at the same time.
>>>
>>>
>>>
>>>
>>>>   150914 Memory : Kingston HyperX Fury 8 GB DDR3 1866 MHz CL10 :   68.99
>>> I always max ram in lieu of SSD. I know you have a budget but max
>>> ram is the single biggest item on performance and most things are 
>>> memory constrained on processing, ymmv.
>>>
>>> Every thing else look for bargains. Newegg is a great place to vett prices.
>>>
>>> Make sure your case has a big and quite fan to draw air across the HD. Most
>>> new cases do. In all you buy, check the dB (sound level) especially if
>>> you want a quite rig to sit near you. Make sure the UPS you have is 
>>> adequate and tested. Put a large light on the UPS. Yank the power cord
>>> of the UPS to the wall and you should not see a flicker nor deeming
>>> of the light of the bulb; thats a good UPS. UPS protects ALL your
>>> electronics, but never printers as their power draw surges can easily
>>> fry a smaller UPS.
>>>
>>> hth,
>>> James
>>>
>>>
>>>
>>>
>>>
>> I have a 125w CPU and a R7 370 plus a shitload of HDDs and all those are
>> quite happily fed by a 450W PSU. A pretty old 450W BeQuiet PSU.
>>
>> Go figure.
>>
>> What does my 600VA UPS says about this?
>> 27% load at the moment.
>
> That's all as expected. There's also this thing we called headroom:
>
> As I said in an earlier mail, and got an earful for my trouble, a 125W
> CPU does not draw 125W all the time and your 450W psu does not deliver
> 450W all the time. Your PSU is delivering about 125W or so average which
> is what I expect from that hardware.
>
> But computers are not nice well behaved LED bulbs that draw constant
> power that never varies. The CPU ramps up to full S1 state, hard drives
> spin up and that causes power draw to surge and spike. How much does it
> need? Hard to give a definite answer but easily 5 or 6 times the
> average, especially spinning up drives that spun down. You can see these
> spikes on lab power meters, ones with screens and graphs. That's what
> the headroom is for - how much extra power can be delivered in very
> brief spikes (<100ms or so) when the hardware really needs it?
>
> If the PSU is weak in this area and can't deliver the full power, the
> load will still try to draw the current, and the voltage must drop to
> compensate. Simple physics. Either way, your 450W PSU might not be up to
> the job when push really comes to shove for your hardware.
>
>

a) I know what happens if you have a bad PSU. That is why I am using
BeQuiet.

b) those 27% include the monitor and router.

b) I know how much my computer draws at full load. 300W. Absolut
maximum. All inclusive. Screen, fritzbox, powered usb hubs, computer
itself. 3



Re: [gentoo-user] preserving zpool mountpoint on boot?

2015-09-14 Thread Volker Armin Hemmann
Am 14.09.2015 um 17:38 schrieb Nuno Magalhães:
> I assume your RTFM means set it to legacy and use /etc/fstab?
> Seems ucmbersome, but it's worth a try.
>
>

well, I did and it works.



Re: [gentoo-user] preserving zpool mountpoint on boot?

2015-09-13 Thread Volker Armin Hemmann
Am 13.09.2015 um 21:20 schrieb Nuno Magalhães:
> Greetings,
>
> If i export/import a zpool, the altroot property is not preserved so
> it always gets mounted at /.
>
> In /etc/init.d/zfs, the import line reads
> $ZPOOL import -c $ZPOOL_CACHE -aN 2>/dev/null || true
> so no -options there.
>
> I've also tried with
> zpool import -o altroot=/mnt -o cachefile=/etc/zfs/zpool.cache poolname
> which works, but the cache file only lives until export, so i assume
> it's not some kind of configuration save point. A simple import
> afterwards will place the pool at / again. Same for -R.
>
> Is there some option i can put in /etc/modprobe.d/zfs.conf (which
> currently doesn't exist)?
>
no

man zfs

Mount Points
   Creating  a ZFS file system is a simple operation, so the number
of file systems per system is likely to be numerous. To cope with this, ZFS
   automatically manages mounting and unmounting file systems
without the need to edit the /etc/fstab file. All automatically managed
file sys-
   tems are mounted by ZFS at boot time.


   By  default,  file  systems are mounted under /path, where path
is the name of the file system in the ZFS namespace. Directories are created
   and destroyed as needed.


   A file system can also have a mount point set in the mountpoint
property. This directory is created as needed, and ZFS automatically  mounts
   the  file  system  when  the  zfs  mount -a command is invoked
(without editing /etc/fstab). The mountpoint property can be inherited,
so if
   pool/home has a mount point of /export/stuff, then pool/home/user
automatically inherits a mount point of /export/stuff/user.


   A file system mountpoint property of none prevents the file
system from being mounted.


   If needed, ZFS file systems can also be managed with traditional
tools (mount, umount, /etc/fstab). If a file system's mount point is set to
   legacy, ZFS makes no attempt to manage the file system, and the
administrator is responsible for mounting and unmounting the file system.




Re: [gentoo-user] system uptime

2015-08-30 Thread Volker Armin Hemmann
Am 30.08.2015 um 06:04 schrieb Philip Webb:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).

 Are there any pro's/con's I sb aware of ?


suspend to ram.

Only reboot when there is a kernel update I actually install.



Re: [gentoo-user] system uptime

2015-08-30 Thread Volker Armin Hemmann
Am 30.08.2015 um 15:26 schrieb Alan Mackenzie:
 Hello, Philip.

 On Sun, Aug 30, 2015 at 12:04:43AM -0400, Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?
 I switch my PC on in the morning when I want to start using it.  I
 switch it off before going to bed, or going out shopping, or things like
 that.  I don't like wasting electricity.

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 Unfortunately, I need to leave my router permanently powered up, which I
 resent. 
yeah, a fritzbox needs so much power



Re: [gentoo-user] ncurses: reductio ad absurdum

2015-08-28 Thread Volker Armin Hemmann
Am 28.08.2015 um 15:19 schrieb walt:
 I avoided yesterday's downgrade from ncurses-6.0 to ncurses-5.9-r4
 because it was obviously(?) a mistake.

 This morning I just upgraded(?) ncurses-6.0 to ncurses-6.0-r1 and
 immediately after doing that, portage wants to downgrade(?) from
 6.0-r1 back to 6.0.

 This comedy of errors would be funny if it weren't emblematic of the
 larger and very scary problem we all face in real life:  computers now
 dominate every aspect of everything we do and what is expected of us by
 our employers, friends, family, and our government.  (I refer to the
 government here in the US.  Your government may vary.)

 Note that /usr/portage/sys-libs/ncurses/Changelog was last updated on
 April 6, several months ago.

 Rhetorical question:  what is the purpose of a Changelog?  Or any log,
 anywhere, like the captain's log on an oil tanker, for example, or an
 airliner, or in the IT department of the bank where your life savings
 are stored.  Who last rebooted that server, and why?

 Who last updated ncurses, and why?  Yes, I looked at the ebuild, which
 cites a bug report, which may or may not serve as the log I'm asking
 for, but doesn't this all seem too complicated to work smoothly for
 years without frequent fsck-ups?

 Now I have to go to work and face exactly the same fsck-ups there that
 I face when I update my gentoo machines, and that puts me in a bad mood.




 .


*shrug* preserved-libs and ncurses update went well. No problems here.
And since I am not a compulsive updater, I had no problems today either.



Re: [gentoo-user] New Firefox-38.1.0 headers, or is Google getting smarter?

2015-07-31 Thread Volker Armin Hemmann
Am 31.07.2015 um 11:31 schrieb Mick:
 I used Firefox to login to Gmail and suddenly received a message from Google, 
 advising me:

 New sign-in from Firefox on Linux

 Hi Michael,Your Google Account x was just used to sign in from Firefox on 
  
 Linux.

 Have you noticed something similar and should we be changing anything on the 
 new FF configuration, or is this Gmail getting smarter?


seriously? Have you never heard that browsers send tons of data to the
server? Like browser version, OS, language... ?

Mozilla/5.0 (X11; Linux x86_64) KHTML/4.14.10 (like Gecko) Konqueror/4.14

that is, for example what MY konqueror setup currently sends.



Re: [gentoo-user] Testing SSD? (Somewhat OT)

2015-07-29 Thread Volker Armin Hemmann
Am 29.07.2015 um 16:52 schrieb Daniel Frey:
 On 07/28/2015 12:04 AM, Volker Armin Hemmann wrote:
 you know - this does not sound like ssd failure. Most SSDs bomb out by
 just becoming completely unacessible.

 dmesg errors?
 Filled with /dev/sda errors when it failed.

oh the joy.


 are you using ecc ram?
 Nope.

 if not - maybe, just maybe it is your ram at fault. The stuff the kernel
 sends and the stuff that end on the ssd might not be identical.

 Ran memtest overnight on it, no errors.

 Dan




I had ram that passed memtest - and zfs detected errors. Went ecc ram,
no more errors.

With ram hammer as latest attack vector, ecc is even more worth its money.



Re: [gentoo-user] Testing SSD? (Somewhat OT)

2015-07-29 Thread Volker Armin Hemmann
Am 29.07.2015 um 22:57 schrieb Daniel Frey:
 On 07/29/2015 08:34 AM, Volker Armin Hemmann wrote:
 Am 29.07.2015 um 16:52 schrieb Daniel Frey:
 On 07/28/2015 12:04 AM, Volker Armin Hemmann wrote:
 you know - this does not sound like ssd failure. Most SSDs bomb out by
 just becoming completely unacessible.

 dmesg errors?
 Filled with /dev/sda errors when it failed.
 oh the joy.
 Yeah. I don't remember what the exact error message was, other than it
 was filled with can't read and can't write in the messages.

 Booting from USB worked fine. Compiling while booted from USB worked
 until I chroot'ed to the failed SSD. Then a bunch of segfaults and other
 weird errors.

 I've seen this before both at home and work, where SSDs do this with no
 warning. IMO they're way too unreliable. I don't have one in my server
 or workstation at home. I had one in my server and it lasted two years
 before similar issues above. It (server SSD) was replaced with a
 spinning disk 3 years ago and it's still running today. I'm pretty sure
 if I replaced it with another SSD it would've failed already.

 are you using ecc ram?
 Nope.

 if not - maybe, just maybe it is your ram at fault. The stuff the kernel
 sends and the stuff that end on the ssd might not be identical.

 Ran memtest overnight on it, no errors.

 Dan



 I had ram that passed memtest - and zfs detected errors. Went ecc ram,
 no more errors.

 With ram hammer as latest attack vector, ecc is even more worth its money.

 ECC is fine and dandy, but this motherboard doesn't support it. It's a
 desktop board from 2008. All it does is a frontend for mythtv, nothing else.



 Dan



are you sure? Asus boards usually support ECC (at least their AMD boards
do) and many Gigabyte boards support ECC without telling about it
(gigabyte user forums can usually answer that).



Re: [gentoo-user] Testing SSD? (Somewhat OT)

2015-07-28 Thread Volker Armin Hemmann
Am 17.07.2015 um 18:15 schrieb Daniel Frey:
 Well, I sure haven't had much luck with SSDs. This will be the third one
 I've lost.

 On Wednesday I was watching my mythtv frontend when it hardlocked. Last
 time this happened the 7-year-old rust recordings drive failed. However,
 all that checked out and I found out I couldn't ssh in to the frontend
 to kill mythfrontend.

 I checked the CPU  RAM by booting via USB and it all checked out. I
 tried booting the SSD and the kernel panicked. After rebooting again, it
 started, but every command run ended with a segmentation fault.

 I decided to try flashing the drive's firmware, and that did so
 successfully. It booted right away after that with no panic, but the
 frontend decided that it couldn't find the backend any longer. I found
 this was not true, I (as root) could ping and connect via mysql using
 remote credentials.

 After another twenty minutes of fiddling around, I discovered the setUID
 root bit on /bin/ping had been removed somehow and this was preventing
 mythtv from finding its backend. At this point I restored from backup
 and then I discovered after restoring /bin/ping lost it setuid root bit
 again.

 After that I gave up (thinking what else has changed on the disk) and
 yesterday bought a new SSD, this time a SanDisk model. It was cheap and
 I hope I don't regret this in the future. So my frontend is once again
 running.

 That aside, the drive that failed is a Crucial m4. I have done some
 searching as how to run diagnostics on an SSD. This drive should still
 have eight or so months of warranty left. These drive did have a bug if
 they ran longer than 51xx hours but:

   9 Power_On_Hours  0x0032   100   100   001Old_age   Always
   -   2382

 ...there's only 2382 on this drive. It also accesses all media remotely
 through the LAN.

 Currently I'm running shred on the affected SSD. I also could run
 smartctl on the drive. Do other diagnostic tools even work on SSDs? This
 is where I'm sort of lost, I've not tried diagnostics on them. I usually
 send them back for warranty, but this time I'm curious.

 Dan



you know - this does not sound like ssd failure. Most SSDs bomb out by
just becoming completely unacessible.

dmesg errors?

are you using ecc ram?

if not - maybe, just maybe it is your ram at fault. The stuff the kernel
sends and the stuff that end on the ssd might not be identical.



Re: [gentoo-user] Re: The state of public relations?

2015-07-24 Thread Volker Armin Hemmann
Am 24.07.2015 um 14:56 schrieb James:
 Rich Freeman rich0 at gentoo.org writes:

 Just be practical.  From my experience showing up at a LUG and telling 20 
 people how something worked well for you gets you a lot further than 
 handing out free T-shirts and hats at a booth.

 Rich, I'll be practical. Gentoo needs an installer program, like most
 other distros if you want your rank_n_file users to entice new users.

nope.

Gentoo does not need an 'installer'. We have way too many people not
being able to read simple instructions already or spending 5minutes on
googlethinking for themselves. Just look at this mailing list. We
really don't need more of them.





Re: [gentoo-user] Catastrophic bug in the firefox 'ProfileManager' function

2015-07-21 Thread Volker Armin Hemmann
Am 21.07.2015 um 01:18 schrieb walt:
 I suspect most people don't even know firefox has a ProfileManager, but
 I'm here to warn you not to use it.  It just cost me years of bookmarks
 and saved passwords.

 For testing purposes I invoked firefox-bin with the -ProfileManager
 flag (don't do this, it's broken!) and created a fresh firefox profile
 with the name temp as I've been doing for years.

 I ran the temp profile while doing my testing, quit firefox and then
 re-invoked firefox with the -ProfileManager flag and used it to delete
 the temp profile because I didn't need it any more.

 Unfortunately, deleting temp also deleted the default profile I've
 been using for years, which had all of my bookmarks and saved passwords
 and maybe other stuff I haven't even thought about yet.

 I'm copying an old firefox profile from another machine that's four
 years out of date.  Maybe I can rescue an ort here or there.

 What a fscking disaster.

 Lesson learned:  if you need to start firefox with a fresh profile,
 just move your ~/.mozilla directory out of the way and let firefox
 create a new one from scratch.





you know, a simple cronjob copying your home directory every odd day
would have prevented all that.





Re: [gentoo-user] Re: Don't disable 'introspection'

2015-07-16 Thread Volker Armin Hemmann
Am 17.07.2015 um 02:40 schrieb walt:
 On Fri, 17 Jul 2015 02:30:24 +0200
 Volker Armin Hemmann volkerar...@googlemail.com wrote:

 I have had -introspection set for ages in make.conf.

 It is turned on for some selected packages in package.use
 Which packages, and what problems were you solving by turning it on?



 .

=x11-libs/libnotify-0.7.5-r1
=x11-libs/gtk+-3.8.2
=dev-libs/atk-2.8.0
=x11-libs/pango-1.34.1

some packages needed it. Forgot which ones.



Re: [gentoo-user] Don't disable 'introspection'

2015-07-16 Thread Volker Armin Hemmann
Am 17.07.2015 um 00:31 schrieb Canek Peláez Valdés:
 On Thu, Jul 16, 2015 at 3:53 PM, walt w41...@gmail.com
 mailto:w41...@gmail.com wrote:
 
  I don't understand 'introspection' enough to know why we need it, but
  apparently we do, so don't use the -introspection useflag like I did.
 
  The trouble I introduced a few weeks ago when I disabled introspection
  was subtle enough that I didn't realize until yesterday that I even had
  a problem.
 
  Portage had been doing mildly insane things that other people were not
  seeing, so as a test I removed the -introspection useflag and spent the
  entire day rebuilding packages.  My portage problem appears to be
  fixed.  I hope.
 
  If anyone can splain what introspection does I'd be grateful.

 Alan did a fine job explaining what introspection is in general. In
 Gentoo, the introspection flag is only used by GObject based
 libraries; all the languages that natively supports introspection does
 it inconditionally, and (as far as I am aware) GObject is the only C
 object oriented library that provides introspection.

 Some years ago, you could get away without activating it, but nowadays
 is for all practical purposes mandatory. At least this is the case for
 GNOME 3; but I would not be surprised if it's also the case for
 basically any GObject based software; that covers all GTK+ 2 and 3
 applications. The instrospection infrastructure is not only used (as
 Alan mentioned) to look inside a compiled class; it's also part of
 the automatic binding generation for other programming languages used
 by all GObject libraries (or at lest that's what I understand, please
 correct me if I'm wrong). Therefore, if you use Inkscape, for example,
 you'll need introspection since Inkscape is wrote in C++ using the
 gtk-- bindings.

 In general, I would recommend not to set USE=-* (an opinion shared
 by basically all Gentoo devs and most rational people), and let the
 default use flags to do their magic. But everyone is free to break
 their systems as they please.

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

I have had -introspection set for ages in make.conf.

It is turned on for some selected packages in package.use

I use inkscape

I don't use gnome

I don't use systemd

My system is fine.


Re: [gentoo-user] Securely deletion of an HDD

2015-07-13 Thread Volker Armin Hemmann
Am 12.07.2015 um 23:30 schrieb Rich Freeman:
 On Sun, Jul 12, 2015 at 5:20 PM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 read the second link I provided.

 I did.  It contains no theoretical arguments against the possibility

yes it does.

 of data recovery.  Theoretical limits would be ones like the
 uncertainty principle.  If a given amount of matter could only store a
 certain number of bits, and that number of bits is already being
 stored, then it would be clearly impossible to recover more.

 And then google for yourself.
 For what?

 Back then it was very hard. Today it is impossible. You toss a coin for
 every bit. And that is your chance to extract anything.

 Impossible is a pretty bold claim.  You need proof, not evidence that
 a particular recovery technique didn't work.  I can demonstrate very
 clearly that I'm unable to crack DES, but that doesn't make it secure.


they gave you the prove. Others have found the same. If you are unable
to understand what they wrote, just say so.



Re: [gentoo-user] Securely deletion of an HDD

2015-07-13 Thread Volker Armin Hemmann
Am 13.07.2015 um 03:50 schrieb Thomas Mueller:
 All that has been said on this thread supposes that the hard drive is still 
 readable and writable.

 But the original post stated this was a failed drive.

 Then you might not be able to dd if=/dev/zero of=/dev/sdx .. or whatever else.

 You would be stopped by bad sectors.

 Or a hard drive might not be accessible at all through the computer interface.

 I heard something that sounded like a modem dialing, but had no such modem.  

 Going around with my eyes and ears led me to determine that it was a hard 
 drive whining in an external eSATA enclosure, no longer recognized or 
 accessible from the computer.

 That was a Western Digital Green 3 TB hard drive that replaced, under 
 warranty, a WD Green 3 TB hard drive that developed bad sectors.

 Fortunately I had no confidential data on that hard drive.

 So everything in this thread says nothing about if the hard drive failed due 
 to a mechanical problem.

 Then the data could not be overwritten by ordinary means, but could still be 
 read by techniques such as used by Drive Savers.

in case of mechanical failure: open case, rub platters on the carpet. Done.



Re: [gentoo-user] Securely deletion of an HDD

2015-07-12 Thread Volker Armin Hemmann
Am 12.07.2015 um 21:14 schrieb Rich Freeman:
 On Sun, Jul 12, 2015 at 12:32 PM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 actually 1 time is enough. With zeros. Or ones. Does not matter at all.

 That depends on your threat model.

nope. It doesn't.

You believe in some urban legend you never dared to question.


 If you're concerned about somebody reading the contents of the drive
 using the standard ATA commands, then once with zeros is just fine.
 Secure erase is probably easier/faster.

 If you're concerned about somebody removing the disks from the drive
 and reading them with specialized equipment then you really want
 multiple rounds of complete overwrites with random data.  Even then
 you run the risk of relocation blocks and all that stuff, so the
 secure erase at the end is still a wise move but it may or may not
 completely do the job.

even then one time is enough. Links are below.



 If you're concerned about somebody leaving the disks in the drive but
 having access to directly manipulate the drive heads to possibly
 access data not accessible using the standard ATA commands then one
 pass is probably good enough, but I'd still use random data instead of
 zeros.  The reason is that a clever firmware (especially on an SSD)
 might not actually record zeros to the regular disk space, but instead
 just mark the block range as containing zeros, leaving the actual data
 intact.  For random data the drive has to actually store the contents
 as it cannot be represented in any more concise way.

 If I'm not in a rush I prefer to just do the multiple passes.  Why
 take a chance?

if you do it, it is your problem, but recommending something stupid is
something else altogether.


 And of course full-disk encryption is the solution to all of the
 above, as it defeats any kind of attack at the level of the drive and
 is proactive in nature.


cute.

Unlike you, I read some stuff before posting. This is OLD NEWS:

http://www.howtogeek.com/115573/htg-explains-why-you-only-have-to-wipe-a-disk-once-to-erase-it/

http://www.vidarholen.net/~vidar/overwriting_hard_drive_data.pdf

to quote:


Resultantly, if there is less than a 1% chance of determining each
character to be
recovered correctly, the chance of a complete 5-character word being
recovered drops
exponentially to 8.463E-11 (or less on a used drive and who uses a new
raw drive
format). This results in a probability of less than 1 chance in 10Exp50
of recovering
any useful data. So close to zero for all intents and definitely not
within the realm of
use for forensic presentation to a court.


10^50. Think about that for a moment. And that is not 'all the data' but
'any useful data'.



Re: [gentoo-user] Securely deletion of an HDD

2015-07-12 Thread Volker Armin Hemmann
Am 12.07.2015 um 23:10 schrieb Rich Freeman:
 On Sun, Jul 12, 2015 at 4:43 PM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 Unlike you, I read some stuff before posting. This is OLD NEWS:
 No need to be rude.

 http://www.howtogeek.com/115573/htg-explains-why-you-only-have-to-wipe-a-disk-once-to-erase-it/

 http://www.vidarholen.net/~vidar/overwriting_hard_drive_data.pdf

 to quote:

 
 Resultantly, if there is less than a 1% chance of determining each
 character to be
 recovered correctly, the chance of a complete 5-character word being
 recovered drops
 exponentially to 8.463E-11 (or less on a used drive and who uses a new
 raw drive
 format). This results in a probability of less than 1 chance in 10Exp50
 of recovering
 any useful data. So close to zero for all intents and definitely not
 within the realm of
 use for forensic presentation to a court.
 

 10^50. Think about that for a moment. And that is not 'all the data' but
 'any useful data'.

 This really looks like a pragmatic argument, and not a theoretical
 one.  I see no arguments based on hard laws of physics.  This argument
 basically says that because this lab couldn't read the data with their
 equipment/methods, it is impossible for anybody to do it at any time
 in the future using any equipment.

 I'd say Schneier's Law applies.


read the second link I provided.

And then google for yourself.

All that 'overwritte many times' crap came from people who never read
Guttman's original paper closely.

Back then it was very hard. Today it is impossible. You toss a coin for
every bit. And that is your chance to extract anything.

There are better chances to extract the key you used to encrypt your
data from RAM than to extract any useful data from a harddisk that was
overwritten once.



Re: [gentoo-user] Securely deletion of an HDD

2015-07-12 Thread Volker Armin Hemmann
Am 12.07.2015 um 14:35 schrieb Marc Joliet:
 Hi,

 I have to failed drives that I want to give away for recycling purposes, but
 want to be sure to properly clear them first.  They used be part of a btrfs
 RAID10 array, but needed to be replaced (with btrfs replace).  (In the
 meantime I converted the array to RAID1 with only two drives.)

 My question is how precisely the disks should be cleared.  From various 
 sources
 I know that overwriting them with random data a few times is enough to render
 old versions of data unreadable.  I'm guessing 3 times ought to be enough, but
 maybe even that small amount is overly paranoid these days?

 As to the actual command, I would suspect something like dd if=/dev/urandom
 of=/dev/sdx bs=4096 should suffice, and according to
 https://wiki.archlinux.org/index.php/Random_number_generation#.2Fdev.2Furandom,
 /dev/urandom ought to be random enough for this task.  Or are cat/cp that much
 faster?

 Any thoughts?

 Greetings

actually 1 time is enough. With zeros. Or ones. Does not matter at all.



Re: [gentoo-user] linux kernel disabling irq 16

2015-07-10 Thread Volker Armin Hemmann
how about not using an ancient kernel?

2015-07-10 11:54 GMT+02:00 cov...@ccs.covici.com:

 Hi folks.  I am using 3.16.3-gentoo kernel from gentoo-sources and I get
 the following sometime after a boot:
 Jul  9 20:24:26 ccs.covici.com kernel: Disabling IRQ #16
 This is preceeded by a call trace and on my consoles I see the
 additional  message  notody cares boot with irqpoll option.

 I did some googling and this seems to happen even in  3.19 kernels.  So
 far the system has been still working, (I am not using a display manager
 right now), but  it seems an instability and the funny thing is that
 irq 16 does have a handler -- here is the complete /proc/interrupts
CPU0   CPU1   CPU2   CPU3   CPU4   CPU5
CPU6   CPU7
   0: 26  0  0  0  0  0
   0  0   IO-APIC-edge  timer
   1:  51549  0  0  0  0  0
   0  0   IO-APIC-edge  i8042
   9:  0  0  0  0  0  0
   0  0   IO-APIC-fasteoi   acpi
  12:  4  0  0  0  0  0
   0  0   IO-APIC-edge  i8042
  16: 213194  0  0  0  0  0
   0  0   IO-APIC-fasteoi   ehci_hcd:usb2
  17:  0  0  0  0  0  0
   0  0   IO-APIC-fasteoi   pata_marvell
  18:  0  0  0  0  0  0
   0  0   IO-APIC-fasteoi   i801_smbus
  19: 602063  0  0  0  0  0
   0  0   IO-APIC-fasteoi   snd_emu10k1
  23:   1889  0  0  0  0  0
   0  0   IO-APIC-fasteoi   ehci_hcd:usb4
  48:6224537  0  0  0  0  0
   0  0   PCI-MSI-edge  ahci
  49: 10  0  0  0  0  0
   0  0   PCI-MSI-edge  ahci
  50:   31194512  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  51:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  52:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  53:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  54:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  55:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  56:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  57:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  xhci_hcd
  58:1770753  0  0  0  0  0
   0  0   PCI-MSI-edge  eth0
  59:  0  0  0  0  0  0
   0  0   PCI-MSI-edge  eth1
  60:1672015  0  0  0  0  0
   0  0   PCI-MSI-edge  eth2-rx-0
  61:2889266  0  0  0  0  0
   0  0   PCI-MSI-edge  eth2-tx-0
  62:  2  0  0  0  0  0
   0  0   PCI-MSI-edge  eth2
 NMI:480259210211129132
 138135   Non-maskable interrupts
 LOC:  101443384  104183840  103613415  102110376   99219886  100506540
  98662481   96369343   Local timer interrupts
 SPU:  0  0  0  0  0  0
   0  0   Spurious interrupts
 PMI:480259210211129132
 138135   Performance monitoring interrupts
 IWI:  1  0  0  0  0  0
   0  0   IRQ work interrupts
 RTR:  1  0  0  0  0  0
   0  0   APIC ICR read retries
 RES: 797796  82005  71556  71029   9728  19203
   17339  16821   Rescheduling interrupts
 CAL:931   1389   1310   1398   1347980
1238   1247   Function call interrupts
 TLB:  11490   9816   8656  10847   5472   5196
6390   6533   TLB shootdowns
 TRM:  0  0  0  0  0  0
   0  0   Thermal event interrupts
 THR:  0  0  0  0  0  0
   0  0   Threshold APIC interrupts
 MCE:  0  0  0  

Re: [gentoo-user] Re: 4th ::+ 5th

2015-07-05 Thread Volker Armin Hemmann
Am 04.07.2015 um 20:05 schrieb James:
 Lee ny6p01 at gmail.com writes:


 Forget it - he's probably German. ;0
 Huh?

 Muchen::
 cold river::
 fast floating naked::


 I do not remember that river's name, but nude frizbee,
 then freezing on those rapds, was but one of the german
 hi_lights.


 I loved Germany::  end2end!!  (in my youth and actually still)

 I still cannot remember Berlin.

probably for the best. I still can remember Berlin and I wish I wouldn't.

The lakes around here are filled with idiots. Not going there. The rest
is thick spruce forests. No air movement. Sticky. Hot.



Re: [gentoo-user] Re: 4th ::+ 5th

2015-07-04 Thread Volker Armin Hemmann
Am 04.07.2015 um 19:29 schrieb James:
 James wireless at tampabay.rr.com writes:


 why should anybody celebrate anything?
 Volker::=media-sound/mixxx

 Even you can have tons of pals, just spin some tunes, amplify,
 do a little voice over and shake it down...baby!!



 Beverages help 2.








39°C.

I do nothing but sweating and World of Tanks.

Btw, works pretty ok with wine.

But: if you enable native direc3d9 support, there is a funny bug. One
game is great - and suddenly the next:1-8fps, ping in the houndreds of
milliseconds.,,,



Re: [gentoo-user] 4th ::+ 5th

2015-07-04 Thread Volker Armin Hemmann
Am 04.07.2015 um 17:46 schrieb James:
 https://www.youtube.com/watch?v=EdMTl9zHQ9Y


 Get up and celebrate *everything*

 cheers!




why should anybody celebrate anything?



Re: [gentoo-user] eix

2015-06-28 Thread Volker Armin Hemmann
Am 28.06.2015 um 23:12 schrieb James:
 eix arg 


 use to match the arg string against all three: 
 (1) gentoo tree /usr/portage
 (2) the /var/lib/layman/ overlays I had installed and manage with layman
 (3) my /usr/local/portage local ebuild placed in /usr/local/portage/


 Now, only option (1) shows the embuilds

 I can manully part (2) as they are still kept in
 /var/lib/layman/  and see all the overlay (ebuilds)


 Likewise, I can manually part (3) /usr/local/portage
 any a vast collection of ugly ebuilds reside, fat dumb and happy
 to not be published, ATM.


 but no matter what I try eix shows nothing from (2) or (3) like it 
 use to with the only requirement to match the string of the arg.

 Now I have read all the news items, the new docs like
 (https://cgit.gentoo.org/dev/ultrabug.git) and everything else
 I can  google.

 How do I fix this so a simple (alias if necessary) shows all three
 sources of ebuilds on my system like it use to.

 Note I have updated eix to app-portage/eix-0.30.11

 I have all the files in /etc/portage/repos.conf:
 gentoo.conf  java.conf  layman.conf  local.conf

 cat layman.conf
 [DEFAULT]
 main-repo = gentoo



 [alunduil]
 priority = 50
 location = /var/lib/layman/alunduil
 layman-type = git
 auto-sync = yes
 sync-uri = git://anongit.gentoo.org/dev/alunduil.git
 sync-type = laymansync

 [java]
 priority = 50
 location = /var/lib/layman/java
 layman-type = git
 auto-sync = yes
 sync-uri = git://anongit.gentoo.org/proj/java.git
 sync-type = laymansync

 [sunrise]
 priority = 50
 location = /var/lib/layman/sunrise
 layman-type = git
 auto-sync = yes
 sync-uri = git://anongit.gentoo.org/proj/sunrise-reviewed.git
 sync-type = laymansync

 [ultrabug]
 priority = 50
 location = /var/lib/layman/ultrabug
 layman-type = git
 auto-sync = yes
 sync-uri = git://anongit.gentoo.org/dev/ultrabug.git
 sync-type = laymansync

 [xmw]
 priority = 50
 location = /var/lib/layman/xmw
 layman-type = git
 auto-sync = yes
 sync-uri = git://anongit.gentoo.org/dev/xmw.git
 sync-type = laymansync


 I'd deeply appreciate a wee_bit of insight into this, with particular
 attention on the java repos and getting the latest java codes the devs are
 making available in the java repo, but not the gentoo tree.


 TIA,
 James







and you use eix-sync? You did eix-update?



Re: [gentoo-user] PPPoE ADSL modem choice

2015-06-22 Thread Volker Armin Hemmann
fritzbox

There are all other modems/router and then there are fritzbox versions.
With very good security. Updates. And lots of niceuseful features.

2015-06-22 12:08 GMT+02:00 Peter Humphrey pe...@prh.myzen.co.uk:

 On Monday 22 Jun 2015 02:49:24 I wrote:

  PPPoA is not used here in the UK as far as I know.

 I think I may have this backwards.

 --
 Rgds
 Peter





Re: [gentoo-user] Can't boot using UEFI

2015-06-14 Thread Volker Armin Hemmann
Am 14.06.2015 um 15:40 schrieb João Matos:
 Hi list,

 I've bought me a ultrabook dell vostro 5470, and I'm trying to get
 gentoo running on it.

 I'm having a few problems, but I'd like to correct the boot one first.

 I'm installing it from ubuntu live cd, and the comand:

 efibootmgr --create --disk /dev/sda --part 7 --label Gentoo --loader
 \boot\efi\boot\bootx64.efi

 seems to work. It put a entry on bios - Gentoo - but when I select it,
 the windows start (second boot).

 The handbook is not that clear, so I'm not sure if I should call
 /dev/sda7 of --part 7. Other difference is I'm not using a separate
 /boot. Its everything at /, so I'm also not not sure if this path is ok.

 This seems to be the very simple, and I'd like to have it on my
 system. But I've also tried grub2, and got the following error: 

 grub2-install: error: cannot find EFI directory.

 What should I do?

 Thank you, 

 -- 
 João Neto
 Linux User #461527
 http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552

so you don't have an efi boot partition?

That would be your answer.


Re: [gentoo-user] Can't boot using UEFI

2015-06-14 Thread Volker Armin Hemmann
Am 14.06.2015 um 16:30 schrieb João Matos:
 / # gdisk -l /dev/sda
 GPT fdisk (gdisk) version 1.0.0

 Partition table scan:
   MBR: protective
   BSD: not present
   APM: not present
   GPT: present

 Found valid GPT with protective MBR; using GPT.
 Disk /dev/sda: 976773168 sectors, 465.8 GiB
 Logical sector size: 512 bytes
 Disk identifier (GUID): 757FFCA9-0B35-4AC3-BA77-B935FBBC57C9
 Partition table holds up to 128 entries
 First usable sector is 34, last usable sector is 976773134
 Partitions will be aligned on 2048-sector boundaries
 Total free space is 4029 sectors (2.0 MiB)

 Number  Start (sector)End (sector)  Size   Code  Name
12048 1026047   500.0 MiB   EF00  EFI system
 partition
2 1026048 1107967   40.0 MiB  Basic data
 partition
3 1107968 1370111   128.0 MiB   0C01  Microsoft
 reserved ...
4 1370112 2906111   750.0 MiB   2700  Basic data
 partition
5 2906112   127477759   59.4 GiB0700  Basic data
 partition
6   961155072   976771119   7.4 GiB 2700  Microsoft
 recovery ...
7   127477760   227518463   47.7 GiB8300  
8   227518464   247998463   9.8 GiB 8300  
9   247998464   961155071   340.1 GiB   0700  

 2015-06-14 11:25 GMT-03:00 Mick michaelkintz...@gmail.com
 mailto:michaelkintz...@gmail.com:

 On Sunday 14 Jun 2015 15:09:33 João Matos wrote:
  2015-06-14 11:02 GMT-03:00 Volker Armin Hemmann
  volkerar...@googlemail.com mailto:volkerar...@googlemail.com
 
Am 14.06.2015 um 15:40 schrieb João Matos:
   Hi list,
  
I've bought me a ultrabook dell vostro 5470, and I'm trying
 to get
  
   gentoo running on it.
  
I'm having a few problems, but I'd like to correct the boot
 one first.
  
I'm installing it from ubuntu live cd, and the comand:
  
efibootmgr --create --disk /dev/sda --part 7 --label Gentoo
 --loader
  
   \boot\efi\boot\bootx64.efi
  
seems to work. It put a entry on bios - Gentoo - but when I
 select it,
  
   the windows start (second boot).
  
The handbook is not that clear, so I'm not sure if I should call
  
   /dev/sda7 of --part 7. Other difference is I'm not using a
 separate
   /boot. Its everything at /, so I'm also not not sure if this
 path is ok.
  
This seems to be the very simple, and I'd like to have it on
 my system.
  
   But I've also tried grub2, and got the following error:
grub2-install: error: cannot find EFI directory.
  
What should I do?
  
Thank you,
  
--
João Neto
  
   Linux User #461527
   http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552
  
  
   so you don't have an efi boot partition?
  
   That would be your answer.
 
  Volker, the efi is already working for Windows. I just want to
 create a new
  entry. Is it really necessary to create a new partition?

 Can you please tell us what this shows:

 gdisk -l /dev/sda

 or

 fdisk -l

 assuming that /dev/sda is your drive.

 If you are multibooting then gummiboot would be advisable, but
 GRUB will work
 too.

 --
 Regards,
 Mick




 -- 
 João Neto
 Linux User #461527
 http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552

you have to put your gentoo binary into that efi boot partition. And
tell efibootmgr to look there



Re: [gentoo-user] OT: Southbridge chip on laptop overheating

2015-06-08 Thread Volker Armin Hemmann
Am 08.06.2015 um 00:15 schrieb Daniel Frey:
 Hi all,

 Not really Gentoo-related (well except the overheating part - lots of
 compiling ;-) )

 I have a very old laptop. It is an LG F1 laptop (circa 2005/2006 I
 believe) about nine years old. This has a Core2 1.6GHz chip and 4GB RAM,
 even though it only sees 3GB (that should tell you it's pretty old!)

 Anyway, I noticed during my last compile-fest on my laptop (reinstalled,
 switched to systemd for testing) that a corner of the laptop is getting
 really hot. We are talking a fair bit of heat here, you can't keep it on
 your lap when it warms up.

 So I took it apart yesterday, figuring I should re-do the thermal paste.
 During this process, I discovered it's the southbridge ICH chip that's
 overheating. There's no cooler at all on this chip (the northbridge and
 CPU have heat piping), it's a bare chip.

 Now, I suspect there's not much I can do about this given it being a
 laptop and I might have to resign myself to the fact that I'm going to
 have to buy a laptop later this year/early next year.

 I am curious though, what causes this chip to overheat, and can I do
 something about it?

 I'm using lm_sensors, which doesn't provide a temperature for this
 particular chip. I've monitored processes and nothing really stands out.
 I've even tried disabling plasma, no luck.

 Dan



are you sure it is overheating and not operating within spec?

A lot of laptops have 'hot spots'.



Re: [gentoo-user] search files for text string

2015-06-07 Thread Volker Armin Hemmann
Am 06.06.2015 um 18:45 schrieb Joseph:
 I've bunch of php files in many directories and I need to file a text
 string in them Check/Money Order

 I've tried:
 find -type f -print0 | xargs -r0 grep -F 'Check/Money Order'
 it doesn't work.

 What is a better method of searching files?

grep -R 'whateveryourarelookingfor /path/to/directory/tree/

seriously, why make everything fucking harder with find, when grep alone
can do it for you?



Re: [gentoo-user] search files for text string

2015-06-07 Thread Volker Armin Hemmann
Am 07.06.2015 um 01:40 schrieb Neil Bothwick:
 On Sat, 6 Jun 2015 13:11:04 -0400, Philip Webb wrote:

 I've bunch of php files in many directories
 and I need to find a text string in them Check/Money Order  
 'cd' to the lowest dir which contains them all,
 then 'grep -r Check/Money Order *.php'.
 That will only search *.php files in the current directory, you need

nope


 grep -r --include='*.php' 'Check/Money Order' .

not true either.





Re: [gentoo-user] Dual OS clock issues

2015-06-06 Thread Volker Armin Hemmann
Am 04.06.2015 um 21:06 schrieb Derek Ellison:
 I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the
 other. Currently I have to update the clock everytime I boot to the
 other OS and I'm wondering if there is a way I can avoid this? It's
 just starting to get to be a pain to have to update it everytime. 

 Any information would be most welcome.

 Thanks!

using google was too hard for you?

Because that is such a standard problem, you should stumble upon the
solution in less than 10 seconds.



Re: [gentoo-user] Unwelcomed non-native language support

2015-05-29 Thread Volker Armin Hemmann
just set LANGUAGE and LC_ALL.

2015-05-29 6:35 GMT+02:00 Gevisz gev...@gmail.com:

 On Thu, 28 May 2015 20:07:55 -0400 Mike Gilbert flop...@gentoo.org
 wrote:

  On Thu, May 28, 2015 at 6:41 PM, Volker Armin Hemmann
  volkerar...@googlemail.com wrote:
   Am 28.05.2015 um 17:35 schrieb gevisz:
   In my everyday work at the computer, I read
   and type at three or even four different languages.
  
   However, I do want to have all program menues
   and system messages only in English.
  
   So, when I found out that it can be achieved by
   setting -nls USE flag at my make.conf file, I did
   it, recompiled the system and for a few weeks
   enjoyed the full control of my Gentoo system.
  
   (As far as I can remember the gettext package
   was successfully depcleaned from my Gentoo
   system just after that.)
  
   However, after those few weeks (and some system
   updates), I have noticed that my system started
   to translate some system messages into one of
   the languages I use but which is not my native language.
  
   Moreover, running
   $ equery depends gettext
   I get about two fullscreens of packages that supposedly
   depend on gettext. Nevertheless, in all of them the -nls
   USE flag is either unset or absent.
  
   I have tried to depclean the gettext package from my
   system once again but portage just ignored my
   $ emerge --depclean gettext
   command.
  
   I think that it is some kind of a bug in the portage tree:
   when I set -nls USE flag globally, I do expect that the system
   messages will appear in English only and will not be translated
   in any other language, but the system understands that as
   I would have asked for a non-native language support.
  
   Of course, this is not my main problem in this life, but every
   time I get the system messages translated into my non-native
   language, I feel as I get a reminder that I do not have a full
   control of my Gentoo system.
  
   So, my questions are:
   1.  Is it a bug?
   2. How can I get rid of those unwelcomed translations in the right
 way.
  
  
  
   1. if a package hard depends on gettext, you can fiddle around with
   useflags as much as you want, it won't change. Not a bug. Just the way
   it is.
 
  Sometimes it is a bug and the ebuild doesn't need gettext
  unconditionally. It takes some expertise to figure that out, however.

 I also think so.

   2. environment variables. Set them. LANG, LANGUAGE and of course LC_ALL
  
 
  I would suggest setting LANG=foo_BAR.UTF-8 and
  LC_MESSAGES=en_US.UTF-8. Where foo and BAR are your native language
  and locale.

 I have
 # set LC_MESSAGES=en_US.UTF-8
 but it have not changed anything.

 Or shall I change it in some config files and reboot the system?





Re: [gentoo-user] Unwelcomed non-native language support

2015-05-28 Thread Volker Armin Hemmann
Am 28.05.2015 um 17:35 schrieb gevisz:
 In my everyday work at the computer, I read
 and type at three or even four different languages.

 However, I do want to have all program menues
 and system messages only in English.

 So, when I found out that it can be achieved by
 setting -nls USE flag at my make.conf file, I did
 it, recompiled the system and for a few weeks
 enjoyed the full control of my Gentoo system.

 (As far as I can remember the gettext package
 was successfully depcleaned from my Gentoo
 system just after that.)

 However, after those few weeks (and some system
 updates), I have noticed that my system started
 to translate some system messages into one of
 the languages I use but which is not my native language.

 Moreover, running
 $ equery depends gettext
 I get about two fullscreens of packages that supposedly
 depend on gettext. Nevertheless, in all of them the -nls
 USE flag is either unset or absent.

 I have tried to depclean the gettext package from my
 system once again but portage just ignored my
 $ emerge --depclean gettext
 command.

 I think that it is some kind of a bug in the portage tree:
 when I set -nls USE flag globally, I do expect that the system
 messages will appear in English only and will not be translated
 in any other language, but the system understands that as
 I would have asked for a non-native language support.

 Of course, this is not my main problem in this life, but every
 time I get the system messages translated into my non-native
 language, I feel as I get a reminder that I do not have a full
 control of my Gentoo system.

 So, my questions are:
 1.  Is it a bug?
 2. How can I get rid of those unwelcomed translations in the right way.



1. if a package hard depends on gettext, you can fiddle around with
useflags as much as you want, it won't change. Not a bug. Just the way
it is.

2. environment variables. Set them. LANG, LANGUAGE and of course LC_ALL



Re: [gentoo-user] recommended applications

2015-05-24 Thread Volker Armin Hemmann
Am 24.05.2015 um 12:32 schrieb behrouz khosravi:
 Hello everyone. After spending about a year in the world of linux (and
 mostly beloved gentoo!) I have realized that the key to a stable and
 fast machine is to keep the system as small as possible.
 So I am going to use console based tools mostly. I will also replace
 KDE with i3wm.

 What do you recommend as a replacement for kmail? (is mutt a good choise?)

 What about IRC client?

 Torrent client?

 I know that I can use google! but I would like to know your opinion.
 Thanks for your time.

(x)emacs.



Re: [gentoo-user] recommended applications

2015-05-24 Thread Volker Armin Hemmann
Am 24.05.2015 um 23:53 schrieb Emanuele Rusconi:
 On 24 May 2015 at 23:30, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 (x)emacs.
 But he said keep the system small! ^__^

 -- Emanuele Rusconi



init=/usr/bin/emacs

doesn't get smaller than that...



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

2015-05-17 Thread Volker Armin Hemmann
Am 17.05.2015 um 11:39 schrieb Paul Klos:
 Op zondag 17 mei 2015 13:52:21 schreef Andrew Lowe:
 Hi all,
  I've been using Firefox for ages and something struck me recently as a
 bit odd. In the Windows version, if I click up into the address or
 search boxes, the existing contents are highlighted and if I begin
 typing, the existing text is deleted and what I'm typing becomes the
 contents. On the Linux version, under KDE, it doesn't. I have to click
 into the appropriate edit box, highlight the contents and start typing
 or hit either home/end and then start deleting before typing my new URL.
 If, for example, the existing text happens to be a google search string,
 this can be quite a bit of text to delete.

  So my question, I suppose, is multipart:

 1) Is this by design? Is this the normal behaviour?

 2) Have I set a USE flag wrong somewhere that causes this behaviour?

 3) How do people get around the problem I mentioned above regarding long
 URL's, such as a Google search results?

  Any thoughts, greatly appreciated,

  Andrew

 Hi Andrew,

 You might be interested in these settings (from about:config):

 browser.urlbar.clickSelectsAll
 browser.urlbar.doubleClickSelectsAll

 You can configure what happens when you click in the address bar.

 I have no idea why the defaults on win/linux are different, though,

 Cheers,

 Paul



maybe because in linux selecting = copying. So if you select with a
simple click you might overwrite the contents of the clipboard = highly
annoying.



Re: [gentoo-user] Re: CFLAGs for kernel compilation

2015-05-02 Thread Volker Armin Hemmann
Am 02.05.2015 um 07:04 schrieb Nikos Chantziaras:
 On 01/05/15 10:44, Andrew Savchenko wrote:
 On Fri, 1 May 2015 05:09:51 + (UTC) Martin Vaeth wrote:
 Andrew Savchenko birc...@gentoo.org wrote:

 That's why kernel makes sure that no floating point instructions
 sneaks in using CFLAGS, you may see a lot of -mno-${intrucion_set}
 flags when running make -V.

 So it should be sufficient that the kernel does not use float
 or double, shouldn't it?

 No. Optimizer paths may be very unobvious, i.e. I'll not be
 surprised if under some conditions vectorizer may use float
 instructions for int code.

 The kernel uses -O2 and several -march variants (e.g. -march=core2).
 Several other options are used to prevent GCC from generating
 unsuitable code.

 Specifying another -march variant does not affect the optimizer
 though. It only affects the code generator. If you don't modify the
 other CFLAGS and only change -march, you will not get FP instructions
 unless you use FP in the code.

 Also, I'd be very interested to see *any* optimization that would
 somehow transform integer code to FP code (note that SIMD is not FP
 and is perfectly fine in the kernel.) In fact, optimizers tend to
 transform FP into SIMD, at least on x86 (and other architectures that
 have fast SIMD instructions.) If I inspect the generated assembly from
 GCC or Clang, I cannot find FP anywhere, even for code using float
 and double operations. They get converted to SIMD on modern CPUs
 (unless you specify a compiler flag that tells it to use the FPU, for
 example if you need 80-bit extended precision, which is supported by
 the x86 FPU.)




http://www.agner.org/optimize/calling_conventions.pdf

Device drivers under Linux
Linux systems use lazy saving of floating point registers and vector
registers. This means
that these registers are not saved and restored on every task switch.
Instead they are
saved/restored on the first access after a task switch. This method
saves time in case no
more than one thread uses these registers. The lazy saving scheme is not
supported in
kernel mode. Any device driver that attempts to use these registers
improperly will cause an
exception that will probably make the system crash. A device driver that
needs to use vector
registers must first save these registers by calling the function
kernel_fpu_begin() and
restore the registers by calling kernel_fpu_end() before returning or
sleeping. These
functions also prevent pre-emptive interruption of the device driver
which could otherwise
mess up the registers. kernel_fpu_begin() saves all floating point
registers and vector
registers if available.
There is no red zone in 64-bit Linux kernel mode.
The programmer should be aware of these restrictions if calling any
other library than the
system kernel libraries from a device driver.




Re: [gentoo-user] Re: CFLAGs for kernel compilation

2015-05-02 Thread Volker Armin Hemmann
Am 02.05.2015 um 14:06 schrieb Nikos Chantziaras:
 On 02/05/15 14:37, Volker Armin Hemmann wrote:
 Am 02.05.2015 um 13:25 schrieb Nikos Chantziaras:

 The kernel uses -O2 and several -march variants (e.g. -march=core2).
 Several other options are used to prevent GCC from generating
 unsuitable code.

 Specifying another -march variant does not affect the optimizer
 though. It only affects the code generator. If you don't modify the
 other CFLAGS and only change -march, you will not get FP instructions
 unless you use FP in the code.

 http://www.agner.org/optimize/calling_conventions.pdf

 Not sure what you're trying to say.


 that simd is not save in kernel if not carefully guarded.

 Really people, just don't fuck around with the cflags.

 I still fail to see the relevance. Unless you mean using a different
 -O level. In that case, yes. You shouldn't. But I was talking about
 -march.


you said this


 (note that SIMD is not FP and is perfectly fine in the kernel.)

and I have shown you that you are wrong.






Re: [gentoo-user] Re: CFLAGs for kernel compilation

2015-05-02 Thread Volker Armin Hemmann
Am 02.05.2015 um 13:25 schrieb Nikos Chantziaras:
 On 02/05/15 14:19, Volker Armin Hemmann wrote:
 Am 02.05.2015 um 07:04 schrieb Nikos Chantziaras:
 On 01/05/15 10:44, Andrew Savchenko wrote:
 On Fri, 1 May 2015 05:09:51 + (UTC) Martin Vaeth wrote:
 Andrew Savchenko birc...@gentoo.org wrote:

 That's why kernel makes sure that no floating point instructions
 sneaks in using CFLAGS, you may see a lot of -mno-${intrucion_set}
 flags when running make -V.

 So it should be sufficient that the kernel does not use float
 or double, shouldn't it?

 No. Optimizer paths may be very unobvious, i.e. I'll not be
 surprised if under some conditions vectorizer may use float
 instructions for int code.

 The kernel uses -O2 and several -march variants (e.g. -march=core2).
 Several other options are used to prevent GCC from generating
 unsuitable code.

 Specifying another -march variant does not affect the optimizer
 though. It only affects the code generator. If you don't modify the
 other CFLAGS and only change -march, you will not get FP instructions
 unless you use FP in the code.

 Also, I'd be very interested to see *any* optimization that would
 somehow transform integer code to FP code (note that SIMD is not FP
 and is perfectly fine in the kernel.) In fact, optimizers tend to
 transform FP into SIMD, at least on x86 (and other architectures that
 have fast SIMD instructions.) If I inspect the generated assembly from
 GCC or Clang, I cannot find FP anywhere, even for code using float
 and double operations. They get converted to SIMD on modern CPUs
 (unless you specify a compiler flag that tells it to use the FPU, for
 example if you need 80-bit extended precision, which is supported by
 the x86 FPU.)




 http://www.agner.org/optimize/calling_conventions.pdf

 Not sure what you're trying to say.




that simd is not save in kernel if not carefully guarded.

Really people, just don't fuck around with the cflags.



Re: [gentoo-user] Re: CFLAGs for kernel compilation

2015-05-02 Thread Volker Armin Hemmann
Am 02.05.2015 um 14:38 schrieb Nikos Chantziaras:
 On 02/05/15 15:10, Volker Armin Hemmann wrote:
 Am 02.05.2015 um 14:06 schrieb Nikos Chantziaras:
 On 02/05/15 14:37, Volker Armin Hemmann wrote:
 Am 02.05.2015 um 13:25 schrieb Nikos Chantziaras:

 The kernel uses -O2 and several -march variants (e.g.
 -march=core2).
 Several other options are used to prevent GCC from generating
 unsuitable code.

 Specifying another -march variant does not affect the optimizer
 though. It only affects the code generator. If you don't modify the
 other CFLAGS and only change -march, you will not get FP
 instructions
 unless you use FP in the code.

 http://www.agner.org/optimize/calling_conventions.pdf

 Not sure what you're trying to say.


 that simd is not save in kernel if not carefully guarded.

 Really people, just don't fuck around with the cflags.

 I still fail to see the relevance. Unless you mean using a different
 -O level. In that case, yes. You shouldn't. But I was talking about
 -march.


 you said this


 (note that SIMD is not FP and is perfectly fine in the kernel.)

 and I have shown you that you are wrong.

 Not sure why you think that. The kernel crypto routines are full of
 SIMD code (like SSE and AVX.) Automatic vectorization wouldn't work.
 But -march is not going to introduce that

and never used in interrupt context and carefully guarded. You act like
'oh, you can use simd instructions without any consideration' and that
is just not true.



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

2015-05-01 Thread Volker Armin Hemmann
Am 27.04.2015 um 20:37 schrieb waben...@gmail.com:
 I'm searching for a new WLAN-AP that is fast, powerful and reliable. 
 I can remember that there were some recommendations in this list some
 weeks/months ago, but I can't find them.

 Regards
 wabe



tplink archer series?

can cope with 20 laptops at the same time easily and is not too expensiv.



Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Volker Armin Hemmann
Am 30.04.2015 um 19:45 schrieb Andrew Savchenko:
 Hi,

 On Thu, 30 Apr 2015 18:26:22 +0200 Volker Armin Hemmann wrote:
 That simple. The kernel is too important and the people programming it
 know what they are doing. Don't set anything. It is retarded.
 - I don't like invoking 'CFLAGS=-O2 -march=foomake'
 - I don't want to set CFLAGS as a persistent environment variable.
 - I don't want to modify the kernel Makefile

 Does it actually make sense to set an optimization level and -march?
 no
 While I completely agree with you that kernel CFLAGS should not be
 randomly tampered with, I can't agree that -march itself is useless.
 Tests and results are available here:
 https://github.com/graysky2/kernel_gcc_patch

 Optimization is a very powerful tool if taken with care. Of course
 it may lead to a disastrous result if mindlessly used.

 Best regards,
 Andrew Savchenko

if your mail client or browser is miscompiled, it is crashy, but worst
case, a bunch of emails or bookmarks are lost.

If the kernel fucks up, it might write across partition boundaries and
destroy ALL your data. Or writes garbage instead of data.

Don't f* with the kernel.




Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Volker Armin Hemmann
Am 29.04.2015 um 13:31 schrieb Ralf:
 Hi,

 just a short question: I don't like genkernel, I always compile my
 kernel manually using menuconfig.
 So the CFLAGs of my make.conf won't get applied.

as it should be.

 What is the best way to (persistently) set the CFLAGs for the kernel
 compilation?

you don't touch kernel cflags.

That simple. The kernel is too important and the people programming it
know what they are doing. Don't set anything. It is retarded.

 - I don't like invoking 'CFLAGS=-O2 -march=foomake'
 - I don't want to set CFLAGS as a persistent environment variable.
 - I don't want to modify the kernel Makefile

 Does it actually make sense to set an optimization level and -march?

no





Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Volker Armin Hemmann
Am 29.04.2015 um 15:18 schrieb Ralf:
 Damn, you're absolutely right.

 I just tested it using make V=1.
 kernel make does override CFLAGs from the outside.

 But that's interesting: my processor supports -march=core-avx2 and none
 of the linux kernel processor family uses this flag...

that does not matter.

Just say no to stupid flags and unnecessary 'optimizations'.





Re: [gentoo-user] How do kernel modules load automatically during boot?

2015-04-22 Thread Volker Armin Hemmann
Am 22.04.2015 um 21:39 schrieb Canek Peláez Valdés:
 On Wed, Apr 22, 2015 at 2:17 PM, walt w41...@gmail.com
 mailto:w41...@gmail.com wrote:
 
  I just did a huge update on an older ~amd64 machine, and now only
  three out of a dozen or so kernel modules load during bootup, which
  leaves a lot of hardware in an unusable state.
 
  What mystifies me is how those three kernel modules managed to get
  loaded while all the others didn't. (It's the same three modules every
  time, BTW.)
 
  I grepped through /etc for the names of those modules, thinking maybe
  I listed them in modprobe.conf.d sometime in the past, but no, those
  modules are not listed anywhere in /etc, nor are any of the others
  listed either.
 
  I can modprobe all of the unloaded modules manually after bootup,
  which shows that all of the modules exist and load without error,
  so the problem lies elsewhere, but where?
 
  Any clues would be most welcome.

 If you are using systemd, there are a few modules that it always loads
 (ipv6, autofs4, stuff like that). Everything else is loaded
 automatically, by udevm, as-needed.

 My guess (but I could be wrong); you are using an initramfs, and
 didn't included the modules in it. In that case, the modules are not
 loaded because they are not available.

 I have no idea if OpenRC tries to load modules.

yes it does. You poor bunny. All those years using openrc all but
forgotten?


 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-04-01 Thread Volker Armin Hemmann
Am 01.04.2015 um 10:04 schrieb Canek Peláez Valdés:
 On Wed, Apr 1, 2015 at 1:55 AM, Marc Joliet mar...@gmx.de
 mailto:mar...@gmx.de wrote:
 
  Am Tue, 31 Mar 2015 20:05:50 -0600
  schrieb Canek Peláez Valdés can...@gmail.com
 mailto:can...@gmail.com:
 
  [...]
   With systemd you don't need this, since it can track the real
 state of its
   services thanks to cgroups. And kill *really* kills all the processes
   associated to a service, something that OpenRC, by design, cannot do.
  [...]
 
  I wonder if that's accurate.  I know that OpenRC also uses cgroups
 for grouping
  services, but how much does it actually exploit them?

 According to [1]:

 
 # If you have cgroups turned on in your kernel, this switch controls
 # whether or not a group for each controller is mounted under
 # /sys/fs/cgroup.
 [...]
 # Set this to YES if yu want all of the processes in a service's cgroup
 # killed when the service is stopped or restarted.
 # This should not be set globally because it kills all of the service's
 # child processes, and most of the time this is undesirable. Please set
 # it in /etc/conf.d/service.
 # To perform this cleanup manually for a stopped service, you can
 # execute cgroup_cleanup with /etc/init.d/service cgroup_cleanup or
 # rc-service service cgroup_cleanup.
 # rc_cgroup_cleanup=NO
 

 So it's available if you have cgroups turned on, and then you need to
 set it up globally (which is not recommended), or by service. That
 wasn't available when I stopped using OpenRC; but then again, that was
 almost five years ago.

 Is nice to see OpenRC catching up to systemd.

 Regards.

 [1] https://github.com/OpenRC/openrc/blob/master/etc/rc.conf.Linux
 --
 Canek Peláez Valdés
 Profesor de asignatura, Facultad de Ciencias
 Universidad Nacional Autónoma de México

so somebody showed you that you were spouting crap and all you are
saying it 'that is nice'.

Well done.


Btw, if you need a 'cheat sheet' for INIT the whole thing is broken
beyond repair.


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

2015-04-01 Thread Volker Armin Hemmann
Am 01.04.2015 um 11:22 schrieb Canek Peláez Valdés:
 On Wed, Apr 1, 2015 at 3:18 AM, Neil Bothwick n...@digimed.co.uk
 mailto:n...@digimed.co.uk wrote:
 
  On Wed, 01 Apr 2015 10:57:33 +0200, Volker Armin Hemmann wrote:
 
   Btw, if you need a 'cheat sheet' for INIT the whole thing is broken
   beyond repair.
 
  You don't *need* it, it's just a convenience when switching from one
  syntax to the other. The order of the switch doesn't matter, the notes
  would be just as useful for someone switching from systemd to openrc.

 Don't feed the troll Neil. Almost nobody does.

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

says the troll.


Re: [gentoo-user] gentoo announces total website makeover :-)

2015-04-01 Thread Volker Armin Hemmann
Am 01.04.2015 um 09:18 schrieb Matti Nykyri:
 On Apr 1, 2015, at 2:46, Andrew Savchenko birc...@gentoo.org wrote:

 On Wed, 1 Apr 2015 01:37:06 +0200 waben...@gmail.com wrote:
 This really made my day. :-)

 https://www.gentoo.org/news/2015/03/31/website-update.html
 The best design ever! So nice and readable font, so yummy
 background, very fast page load.

 Many thanks for Web project team for hard work!
 Nice. The load time is really fast :) Send the floppies to me. Can't wait to 
 get installing ;)


I'd prefer tape...



Re: [gentoo-user] gentoo announces total website makeover :-)

2015-04-01 Thread Volker Armin Hemmann
Am 01.04.2015 um 11:36 schrieb Neil Bothwick:
 On Wed, 01 Apr 2015 11:34:04 +0200, Volker Armin Hemmann wrote:

 Nice. The load time is really fast :) Send the floppies to me. Can't
 wait to get installing ;) 
 I'd prefer tape...
 Magnetic or punched?



magnetic. My guinea pigs tend to eat punch cardstape.



Re: [gentoo-user] How to poweroff the system from user?

2015-03-29 Thread Volker Armin Hemmann
Am 26.03.2015 um 01:46 schrieb microcai:
 on Saturday 21 March 2015 13:58:45,Canek Peláez Valdés wrote:
 On Sat, Mar 21, 2015 at 1:47 PM, Rich Freeman ri...@gentoo.org wrote:
 On Sat, Mar 21, 2015 at 3:39 PM, German gentger...@gmail.com wrote:
 No, I am trying to shutdown from a console
 Well, the old answer would be that you need to use sudo to run it, as
 shutting down is a privileged operation.

 I suspect that the new answer is that with appropriate
 policykit/consolekit/etc settings you can probably allow somebody
 sitting at a physical console to shut down the system, or any
 logged-in user if you prefer.  However, I haven't actually set that up
 myself.
 logind does that for you automagically™. The first seat has the rights to
 poweroff or reboot the machine, and it can differentiate between local and
 remote logins. You can check if your user session has the permissions to
 poweroff/reboot via dbus:

 $ gdbus call --system --dest org.freedesktop.login1 --object-path
 /org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanPowerOff
 ('yes',)

 $ gdbus call --system --dest org.freedesktop.login1 --object-path
 /org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanReboot
 ('yes',)

 But you need systemd to use logind1. There has been some attempts to
 reimplement logind outside systemd, but I'm not sure how advanced they are.

 This kind of problems were one of the reasons for creating logind.

 and dump people keep talking nonsencely that sysvinit is enough while it 
 cannot even handle reboot for normal user. sad.




it can. Did for decaded.

Dumb systemd fanbois spouting their lies everywhere. Sad.



Re: [gentoo-user] MCE error

2015-03-28 Thread Volker Armin Hemmann
Am 28.03.2015 um 23:00 schrieb Sebas Pedersen:
 On 28-03-2015 06:45 PM, Volker Armin Hemmann wrote:
 Am 28.03.2015 um 14:58 schrieb Sebas Pedersen:
 Hi guys,

 From a few days ago I am experimenting an MCE error.
 Sometimes I turn on the computer and at some point while booting the
 kernel (after the grub menu) just freezes and puts this:

 CPU 0: Machine Check Exception: 4 Bank 4: b2070f0f
 TSC f5acc9180
 PROCESSOR 2:20fc2 TIME 1427486735 SOCKET 0 APIC 0 microcode 0

 the number for TSC may vary, but the b2070f0f it's always the
 same (at least for now). The error message suggest to parse the above
 error with mcelog. I did that and the result was:

 Hardware event. This is not a software error.
 CPU 0 4 northbridge TSC f5acc9180
 TIME 1427486735 Fri Mar 27 17:05:35 2015
   Northbridge Watchdog error
bit57 = processor context corrupt
bit61 = error uncorrected
   bus error 'generic participation, request timed out
  generic error mem transaction
  generic access, level generic'
 STATUS b2070f0f MCGSTATUS 4
 CPUID Vendor AMD Family 15 Model 44
 SOCKET 0 APIC 0 microcode 0

 The error suggest it's a hardware problem. I replace de RAM with no
 luck. Same error keeps happening.

 Any suggestion for identifying the problem or how to procede?

 Many thanks in advance!

 Sebas



 bios update/microcode update. A google search suggests that you have run
 into an errata.

 Oh OK, thank you. Must have miss that in the search. So you are saying
 that the error comes from a bios errata (and don't know what microdode
 is), and the fix is to update bios?

no, possibly from a CPU errata and a bios update might bring in the
microcode update that works around that.




Re: [gentoo-user] MCE error

2015-03-28 Thread Volker Armin Hemmann
Am 28.03.2015 um 14:58 schrieb Sebas Pedersen:
 Hi guys,

 From a few days ago I am experimenting an MCE error.
 Sometimes I turn on the computer and at some point while booting the
 kernel (after the grub menu) just freezes and puts this:

 CPU 0: Machine Check Exception: 4 Bank 4: b2070f0f
 TSC f5acc9180
 PROCESSOR 2:20fc2 TIME 1427486735 SOCKET 0 APIC 0 microcode 0

 the number for TSC may vary, but the b2070f0f it's always the
 same (at least for now). The error message suggest to parse the above
 error with mcelog. I did that and the result was:

 Hardware event. This is not a software error.
 CPU 0 4 northbridge TSC f5acc9180
 TIME 1427486735 Fri Mar 27 17:05:35 2015
   Northbridge Watchdog error
bit57 = processor context corrupt
bit61 = error uncorrected
   bus error 'generic participation, request timed out
  generic error mem transaction
  generic access, level generic'
 STATUS b2070f0f MCGSTATUS 4
 CPUID Vendor AMD Family 15 Model 44
 SOCKET 0 APIC 0 microcode 0

 The error suggest it's a hardware problem. I replace de RAM with no
 luck. Same error keeps happening.

 Any suggestion for identifying the problem or how to procede?

 Many thanks in advance!

 Sebas



bios update/microcode update. A google search suggests that you have run
into an errata.



Re: [gentoo-user] What are you using to display Flash in Firefox?

2015-03-08 Thread Volker Armin Hemmann
Am 08.03.2015 um 15:41 schrieb Dan Johansson:
 As the subject says: What are you using to display Flash in Firefox?

 Reason for my question is quite simple, today I am using
 www-plugins/adobe-flash which works well for simple .swf files (where
 gnash  lightspark fails), but I have problems displaying a lot of
 Videos on Facebook  YouTube.
 95% of the time I get the following message when I try to watch a Video
 on FB or YT:
 The Adobe Flash plugin has crashed. Reload the page to try again.
 For YT it is really not that a big problem as I can download the Videos
 using a FF AddOn - but this does not work with FB.

 I am using the default/linux/amd64/13.0/desktop/kde profile.

 Any suggestions...

 Regards,

firefox and flash

works just fine.



Re: [gentoo-user] {OT} offline backups

2015-03-06 Thread Volker Armin Hemmann
Am 06.03.2015 um 18:10 schrieb Grant:
 On Tue, Mar 03, 2015 at 07:51:35AM -0800, Grant wrote
 I have several encrypted backup repositories online and I'd like to
 somehow mirror that offline.  I currently have about 20G of data to
 back up.  Any ideas?  Rewritable Blu-Ray?
 It would seem that this is a backup to a backup.  I think I read earlier
 that the OP already has backups but just wants more backups just in
 case.  I guess one can never really have to much, I guess.

 The idea is to have an offline backup in case all of my online stuff
 is infiltrated.  Should I just connect a USB tape drive, USB hard
 drive, or USB flash drive when I want to back up the backups?  Can
 tape be rewritten?  If not, that may be the best choice so I can leave
 it connected all the time and not worry about it being deleted.

 - Grant



'connected all the time'? You seem not to know how tape works?



Re: [gentoo-user] Re: {OT} reliable USB extender?

2015-03-04 Thread Volker Armin Hemmann
Am 04.03.2015 um 21:28 schrieb Grant Edwards:
 On 2015-03-04, Grant emailgr...@gmail.com wrote:

 I need to connect a Zebra LP2844 USB label printer at about 35 feet
 from a Gentoo machine.  I got this:

 http://www.amazon.com/gp/product/B003L14ZTC

 but it is proving to be unreliable.  The printer stops responding many
 times per day and needs to be power cycled.  Is there a reliable way
 to make this connection?
 Are you _required_ to use USB?

 If I were you, I'd stick an an Ethernet connected RS232 port widget on
 the printer and talk to it via Ethernet.

 OTOH, if it's only 35 feet, you could just run a serial cable to it
 (you might need to add a serial port to your host).

 The LP2844 has a serial port, right?

 rant
 Using USB for anything other than keyboard and mouse is asking for
 trouble.  Due to MS/Intel's backing, and a few other historical
 accidents, USB beat out _far_ better options like Firewire and gets
 used/abused for all sorts of things for which it's not really
 appropriate.  But, it's still a horrible protocol and oughtn't be used
 for anything where the Microsoft motto of it sort of works most of
 the time isn't good enough.
 /rant


oh not again of that myth. Firewire was not better. And it is not
better. USB is just fine.


The solution is of course a cheap print server. There are even very
cheap ones who can do ethernetwireless.



Re: [gentoo-user] {OT} offline backups

2015-03-03 Thread Volker Armin Hemmann
Am 03.03.2015 um 16:51 schrieb Grant:
 I have several encrypted backup repositories online and I'd like to
 somehow mirror that offline.  I currently have about 20G of data to
 back up.  Any ideas?  Rewritable Blu-Ray?

 - Grant


tape. Used tape drives are cheap. DLT and LTO is as reliable as granite.



Re: [gentoo-user] Re: heat codes

2015-02-26 Thread Volker Armin Hemmann
Am 27.02.2015 um 02:23 schrieb James:
 Volker Armin Hemmann volkerarmin at googlemail.com writes:


 em, but you are already monitoring it!
 Maybe. It hard to tell if there are more than one
 temperature sensor, what buss interfacet they are on
 and if it is a calculated or esitmated or actual temperature
 sensor.

it pretty much tells you all that with its name. And for radeon - there
is only one.


 Does anyone with similar hardware have a more extensive list?
 no, that is all you got.
 That's pretty sad. All that hardware and 3 temps


 What I'd really like is a very fast (real time?) gui to watch
 you won't get that, because the senors don't update in 'realtime'.
 Sure. But if I knew of a relatively consistent delay semantic,
use the command below and watch for changes. Some boards update every
second, some every three seconds.

 I could align the delays in temperature sensing with what's going
 on with code compiling or execution; even if it is a rough estimate.


 watch -n1 sensors.
  
 not bad. for quick checks.

 Works even without systemd. Shocking, I know.
 As usual, your insight and singular wit makes for pleasurable reading.

 thx,
 James








Re: [gentoo-user] the new ssd, is it happy?

2015-02-26 Thread Volker Armin Hemmann
Am 24.02.2015 um 21:49 schrieb Stefan G. Weichinger:
 ordered myself a new and shiny ssd last week.

 one thinkpad still had that 60GB OCZ Vertex3 and that was a bit tight
 now and then.

 So I ordered a Samsung SSD 850 EVO 500GB for my desktop and planned to
 move the former 840 EVO 250GB to the thinkpad.

have the smaller version - and get the same crap in dmesg. ssd is
working fine, changed cables and still get those. But since it has no
influence on its operation so far, I decided not to care at all.



Re: [gentoo-user] zfs io scheduler

2015-02-26 Thread Volker Armin Hemmann
Am 23.02.2015 um 22:57 schrieb lee:
 Hi,

 is zfs setting the io scheduler to noop for the disks in the pool?

no?

I have it set in an init script.



 I'm currently finding that the IO performance is horrible with a pool
 made from two mirrored disks ...



then set it to noop.



Re: [gentoo-user] the new ssd, is it happy?

2015-02-26 Thread Volker Armin Hemmann
Am 27.02.2015 um 00:04 schrieb Volker Armin Hemmann:
 Am 24.02.2015 um 21:49 schrieb Stefan G. Weichinger:
 ordered myself a new and shiny ssd last week.

 one thinkpad still had that 60GB OCZ Vertex3 and that was a bit tight
 now and then.

 So I ordered a Samsung SSD 850 EVO 500GB for my desktop and planned to
 move the former 840 EVO 250GB to the thinkpad.
 have the smaller version - and get the same crap in dmesg. ssd is
 working fine, changed cables and still get those. But since it has no
 influence on its operation so far, I decided not to care at all.

nope, is the 840 evo. Still, shits all over dmesg with superscary error
messages every time my box wakes up from S3 or on boot. And then it is ok.

[290276.570699] ata5.00: exception Emask 0x10 SAct 0x7fef SErr
0x40 action 0x6 frozen
[290276.570704] ata5.00: irq_stat 0x0800, interface fatal error
[290276.570707] ata5: SError: { Handshk }
[290276.570710] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570713] ata5.00: cmd 61/00:00:00:a0:60/04:00:03:00:00/40 tag 0
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570715] ata5.00: status: { DRDY }
[290276.570717] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570719] ata5.00: cmd 61/00:08:00:a4:60/04:00:03:00:00/40 tag 1
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570721] ata5.00: status: { DRDY }
[290276.570722] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570725] ata5.00: cmd 61/00:10:00:a8:60/04:00:03:00:00/40 tag 2
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570726] ata5.00: status: { DRDY }
[290276.570727] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570730] ata5.00: cmd 61/00:18:00:ac:60/04:00:03:00:00/40 tag 3
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570731] ata5.00: status: { DRDY }
[290276.570732] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570735] ata5.00: cmd 61/00:28:00:38:60/04:00:03:00:00/40 tag 5
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570736] ata5.00: status: { DRDY }
[290276.570737] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570740] ata5.00: cmd 61/00:30:00:3c:60/04:00:03:00:00/40 tag 6
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570741] ata5.00: status: { DRDY }
[290276.570743] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570745] ata5.00: cmd 61/00:38:00:40:60/04:00:03:00:00/40 tag 7
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570747] ata5.00: status: { DRDY }
[290276.570748] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570750] ata5.00: cmd 61/00:40:00:44:60/04:00:03:00:00/40 tag 8
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570752] ata5.00: status: { DRDY }
[290276.570753] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570756] ata5.00: cmd 61/00:48:00:48:60/04:00:03:00:00/40 tag 9
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570757] ata5.00: status: { DRDY }
[290276.570758] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570761] ata5.00: cmd 61/00:50:00:4c:60/04:00:03:00:00/40 tag 10
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570762] ata5.00: status: { DRDY }
[290276.570763] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570766] ata5.00: cmd 61/00:58:00:50:60/04:00:03:00:00/40 tag 11
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570767] ata5.00: status: { DRDY }
[290276.570769] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570771] ata5.00: cmd 61/00:60:00:54:60/04:00:03:00:00/40 tag 12
ncq 524288 out
 res 40/00:30:00:3c:60/00:00:03:00:00/40 Emask 0x10 (ATA bus
error)   
[290276.570773] ata5.00: status: { DRDY }
[290276.570774] ata5.00: failed command: WRITE FPDMA QUEUED
[290276.570777] ata5.00: cmd 61/00:68:00:58:60/04:00:03:00:00/40 tag 13
ncq 524288 out

Re: [gentoo-user] Re: heat codes

2015-02-26 Thread Volker Armin Hemmann
Am 26.02.2015 um 21:13 schrieb James:
 James wireless at tampabay.rr.com writes:


 modprobe: FATAL: Module i2c-piix4 not found.
 Failed to load module i2c-piix4.
 OK, so I found this code and added it to the kernel.


 Next adapter: Radeon i2c bit bus 0x90 (i2c-0)
 Do you want to scan it? (yes/NO/selectively): yes
 {through (i2c-7) all failed.
 No luck on finding/configuring the radeon temperature
 sensors.

em, but you are already monitoring it!


 So lm_sensors only found these modules:

 MODULE_0=fam15h_power   [ OK ]
 MODULE_1=it87   [ OK ]
 MODULE_2=k10temp[ OK ]
which looks good.


 Does anyone with similar hardware have a more extensive list?

no, that is all you got.

 I'm not sure how to moinor the CPU (8 cores) temperature
 and if it is a calculated (estimated value) or a real temp?

 # sensors
 radeon-pci-0100
 Adapter: PCI adapter
 temp1:+36.0°C  (crit = +120.0°C, hyst = +90.0°C)

see? radeon. Monitored. Just move along.


 fam15h_power-pci-00c4
 Adapter: PCI adapter
 power1:   19.97 W  (crit = 125.19 W)

 k10temp-pci-00c3
 Adapter: PCI adapter
 temp1:+24.9°C  (high = +70.0°C)
(crit = +90.0°C, hyst = +87.0°C)

 What I'd really like is a very fast (real time?) gui to watch
 these temperatures as certain portions of codes are compile or executed.

you won't get that, because the senors don't update in 'realtime'.

 Right now I'm running lxde, but my migration to lxqt (QT5) should
 begin very soon so any QT5_ish gui would be very cool too.


watch -n1 sensors.

Works even without systemd. Shocking, I know.




Re: [gentoo-user] Question about flakey RAM

2015-01-29 Thread Volker Armin Hemmann
Am 28.01.2015 um 00:28 schrieb walt:
 Yesterday I installed 4GB more of RAM in this machine for a total of 8GB, and
 the machine soon began random segfaulting and even a kernel crash or two, so
 obviously I suspected the new RAM was faulty.

 I let memtest86+ run overnight and it found zero memory errors. Today I
 exchanged the new RAM anyway and got a different brand this time, and
 that fixed the problem.

 My question is why didn't memtest86+ find any errors?  Could it be that the
 first RAM I bought was actually okay but this machine didn't like it for some
 reason?  Both were DDR3/1333MHz, just from different manufacturers.




Since this was not mentioned yet:

Maybe because the ram was not faulty at all.

Maybe it really operated in the range of allowed tolerances - and those
were never crossed with memtest as a very light system load.

But with an OS booted, the CPU, graphics solution, harddisks all sucking
power like mad, your mainboard or PSU might not be able to deliver as
stable currents as the specifications demand. Some memory is more
tolerant than other.



Re: [gentoo-user] chatting with the customer

2015-01-25 Thread Volker Armin Hemmann
Am 23.01.2015 um 11:24 schrieb Stefan G. Weichinger:
 I communicate with an admin at a customer ...

 we write dozens of emails and tickets and often it would be simpler to
 have some kind of chat or so.

 I'd like to avoid skype etc ... so I think of installing something on
 one of their gentoo-servers that allows us to run a simple chat.

 I run (surprise) gentoo with Gnome 3.14 ... he runs Windows 7 or 8  ...

 What could I set up?

 Maybe useable with gnome empathy?
 With a simple windows-client for the other side?


 Any quick recommendations?

 Thanks, Stefan


 .


teamviewer. You can chat. You can see their desktops and see what they
are doing wrong.



Re: [gentoo-user] Latest chromium-40 on ~x86

2015-01-25 Thread Volker Armin Hemmann
Am 25.01.2015 um 11:08 schrieb victor romanchuk:
 On 01/24/2015 07:44 PM, Peter Humphrey wrote:
 On Saturday 24 January 2015 16:43:41 Nils Holland wrote:

 I've been using chromium successfully on my ~x86 system for quite a
 long time, but starting with the last two updates that came in during
 the last few days (namely, chromium-40.0.2214.85 and
 chromium-40.0.2214.91), I started having problems.
 ---8
 The question, thus, would probably be: Anyone using one of the recent
 chromium-40 versions on ~x86 or anywhere else and seeing something
 similar? Or probably someone who has experienced something like that
 before and could offer a guess what might be wrong here - a real bug,
 custom-cflags, or something entirely different?
 This is and amd64 box, not ~x86, but chromium-40.0.2214.91 is working fine 
 here. It's not been running more than a few hours since today's upgrade, but 
 at least it does run.

 Also amd64: I observed another issue with chromium-40.0.2214.91 -- it breaks 
 X11 with compositing wm
 (i'm running compiz) when I activate any simple effect, e.g switch to another 
 viewpoint or something
 like that. At now catched that with Nvidia; have not tried with i915 (yet).


works fine with KDE and desktop effects turned on. Using xorg's amd
drivers. Runs on for days without problems.

www-client/chromium
 Available versions:  40.0.2214.91
 Installed versions:  40.0.2214.85^d{tbz2}(17:00:07 19.01.2015)





Re: [gentoo-user] unmasking qt5 and plasma 5

2015-01-09 Thread Volker Armin Hemmann
Am 09.01.2015 um 10:47 schrieb Dale:
 behrouz khosravi wrote:


 Could be compiler differences, USE flags etc.   I may give it a shot.
 Just see what it looks like if nothing else.  I just didn't want
 to step
 into water that was way over my head.  ;-)


 That is exactly my concern!
 I tried to unmask it but it seemed to be a little hard!


 I peeked at it and it is both masked and keyworded.  That is one
 reason for my question.  When something is masked, it is either not
 ready for normal use OR has a security problem.  There are sometimes
 other reasons but those are the two common reasons for that type of
 setting that I see.

 Dale

 :-)  :-) 

and most common: unmasking it might lead to an disagreeable situation
for some people because a lot of work is needed to proceed.



Re: [gentoo-user]

2014-12-20 Thread Volker Armin Hemmann
Am 20.12.2014 um 23:08 schrieb German:
 Could register at systemrescuecd forums for now, so I thought to ask here. 
 Trying to get systemrescuecd iso on USB stick. There is shell script on to 
 accomplish just that. When I try to run it, it identifies my thumb drive, 
 however reports that it is 0 mb. When disk is mounted, the volume in 
 megabytes just right,  about 2 GB. Log file says that is not enough memory to 
 install. Any ideas what might be a problem? And yes, I am about to try to 
 install gen too from rescued USB drive in efi mode

don't use any scripts. Never gave me a bootable solution. Either burn to
cd or do it manually.



Re: [gentoo-user] google-chrome fails under kernel 3.18

2014-12-11 Thread Volker Armin Hemmann
hardware support for rendering activated?


2014-12-11 10:01 GMT+01:00 Stefan G. Weichinger li...@xunil.at:

 Am 11.12.2014 um 10:01 schrieb Helmut Jarausch:

  Why do you use Google-Chrome?
  I'm using Chromium which works just fine with gentoo-sources-3.18.0.

 ... and google-chrome works as well, at least here for me






Re: [gentoo-user] Re: Gentoo's future directtion ?

2014-11-23 Thread Volker Armin Hemmann
Am 23.11.2014 um 16:18 schrieb Nicolas Sebrecht:
 On Sat, Nov 22, 2014 at 06:20:01PM -0500, Rich Freeman wrote:

 Don't get me wrong, I'm all for more overlay support.  I'm all for
 reform when there is something to reform.  However, in all your
 complaints about developers causing conflicts you're actually becoming
 part of the problem.  
 I'd say the problem is not about the devs themselves causing conflicts
 but the environment and frame devs are working in the current workflow.
 Everybody look baffled with the current way of doing things in Gentoo.

 I agree with hasukel that the distributed Gentoo as proposed today is
 a wrong answer.  Not that the issues raised are not valid. They do.

 Also, I agree with hasukel that the main problem is about having a
 correct distributed model. Posting on bugzilla for ebuilds updates or
 new ebuilds is seriously damaging when almost every where else it is
 just about sending your git patches. Becoming an official Gentoo dev is
 not a solution either due to the recruiting process.

 As you say, official devs can work on whatever they like and their
 contributions will likely hit the users at some point while at the same
 time occasional devs are asked to work with old tools like bugzilla. So
 yes, the whole review process is broken and the contribution process is
 broken too.

 About that, there's no other way than break the whole recruiting process
 and change of tools. Have your core team handle git repositories and let
 others request pull or send patches like almost all the other open
 source softwares in the world. Let's exploit the anarchy and openness
 instead of partitionning things into devs/non-devs or main-tree/overlays.


 Back to the original request. Here is how starts the distributed
 Gentoo model:

   Imagine you would say I like gentoo, but I don't like the way the
   toolchain is handled, so I want to do it differently. Currently, your
   only way is to fork the whole distro or do dangerous stuff with
   overlays.
   
   Imagine gentoo would actually be a small repository of core packages
   with lots of optional user contributed extenions of all kinds. You'd
   only need to fork the core and add those extensions you like.
   
   Similarly... you don't like the way ruby is handled? Well, apart from
   dev-lang/ruby maybe, there'd be no ruby gems in the tree anyway. So
   there can be different approaches of packaging ruby gems and you choose
   which to use or if you want to do it completely different. And there
   would be no complicated configuration required to prevent in-tree ruby
   packages getting pulled in, because there are none.

 Isn't this all stuff about handling some kind of pointers? Don't like
 the toolchain? Point to another one. Don't like the way ruby is handled?
 Point to another one.

 So, is it about overlays? No. I'd say overlays are some kind of poor
 pointers for many reasons.

 Hence, why not adding the pointers we are all missing and rethinking the
 other pointers?


am I the only one who thinks that this way leads to madness?

Version conflicts are bad enough. No multiply that with a bunch of
overlays, all having their own libXY with just some tiny, tiny
differences, and another bunch of overlays who want libXY from certain
others

if that does not give you nightmares, I don't know what.



Re: [gentoo-user] Re: Gentoo's future directtion ?

2014-11-23 Thread Volker Armin Hemmann
Am 23.11.2014 um 18:33 schrieb Nicolas Sebrecht:
 On Sun, Nov 23, 2014 at 04:31:45PM +0100, Volker Armin Hemmann wrote:

 am I the only one who thinks that this way leads to madness?

 Version conflicts are bad enough.
 First, version conflicts have their roots in the support for versions of
 libraries in softwares. This is the best place to fix that when
 possible.

 When it comes to ebuilds maintainers, version conflicts are about all
 about DECLARATIONS. If software A need Y-v1..12, we should have a way
 for the maintainers to declare that A relies on Y-v1..12 and let the
 dependency softwares to the hard job and admin/users handle them the way
 they want.
 Today, this is badly managed with implicit expectations everywhere.

 Also, there are ways to overcome version conflicts. Slots are one of
 them.

   No multiply that with a bunch of
 overlays, all having their own libXY with just some tiny, tiny
 differences, and another bunch of overlays who want libXY from certain
 others
 That's a reason why I said that overlays are a poor kind of pointers.

 For overlay maintainers today, if the main portage tree does not offer
 what they expect, the only option they have is to rewrite their own
 static dependency tree with their own ebuilds. That sucks.

 Portage should support a way to expose ALL the conditions for a software
 to work and update installed libraries to match the requirements.


and you want portage to finish on this site of eternity when looking for
dependency resolution?



Re: [gentoo-user] Re: Gentoo's future directtion ?

2014-11-23 Thread Volker Armin Hemmann
Am 23.11.2014 um 19:54 schrieb Nicolas Sebrecht:
 On Sun, Nov 23, 2014 at 07:25:26PM +0100, Volker Armin Hemmann wrote:

 and you want portage to finish on this site of eternity when looking for
 dependency resolution?
 I don't think having exposed requirements would explode the time needed
 to calculate the dependency tree because this does not add paths to the
 tree. It only validates or invalidates paths.

 And if time for dependency resolution would become a real problem, there
 are ways to solve that. One could be making pre-calcultated caches of
 parts of tree/paths.


which works so well with different useflags.

portage is already almost unbearable slow. The 'distributed model' would
add so much complexity, we can forget USE.

For what gains?



Re: [gentoo-user] Re: Gentoo's future directtion ?

2014-11-23 Thread Volker Armin Hemmann
Am 23.11.2014 um 21:54 schrieb Nicolas Sebrecht:

 Today, ebuilds don't even let a chance for an admin to apply a series of
 patches to the vanilla/distro-maintainer sources without having to
 rewrite/fork the ebuild. Whatever it is critical for them. The lone
 option is to fork+overlay. This is a serious issue FMPOV.

that is not true.

the rest: too long for me to read on a sunday night.





Re: [gentoo-user] Re: Gentoo's future directtion ?

2014-11-23 Thread Volker Armin Hemmann
Am 23.11.2014 um 22:14 schrieb Alan McKinnon:
 On 23/11/2014 22:54, Nicolas Sebrecht wrote:
 On Sun, Nov 23, 2014 at 02:30:12PM -0500, Rich Freeman wrote:
 On Sun, Nov 23, 2014 at 12:33 PM, Nicolas Sebrecht
 nicolas.s-...@laposte.net wrote:
 Portage should support a way to expose ALL the conditions for a software
 to work and update installed libraries to match the requirements.
 This sounds nice in principle, but making it work is not trivial.

 Suppose my package works with gcc-1.2.3.4 with a list of 14 specific
 patches and no others, and glibc-1.2.3.4 with another list of 14
 patches and no others.  Now suppose 300 other packages have similar
 requirements.
 To make it simple, this is almost irrelevant IMHO.

 I'll tell you what I'm seeing.

 I'm seeing a theoretical description of magic software that mathematics
 predicts can exist. I don't see running software.

 How about you write running software that does what you describe, then
 we can talk more, m'kay?




oh, the magical cantation known as 'write the code or shut up' ...



Re: [gentoo-user] Gentoo's future directtion ?

2014-11-22 Thread Volker Armin Hemmann
Am 22.11.2014 um 20:59 schrieb wirel...@tampabay.rr.com:
 On 11/22/14 13:00, Rich Freeman wrote:
 On Sat, Nov 22, 2014 at 1:12 PM,  wirel...@tampabay.rr.com wrote:

 The first 100 or so I looked at, are deprecated. They just need
 somebody
 to 'remove them' the BGO java backlog is being artificially used to
 prevent java work on gentoo. Somebody of authority needs to open
 up java for other folks to work on. Close the 100 oldest bugs
 is a no brainer and a good start, yet nobody will do that, and nobody
 else is allowed to close them. *CONVENIENT* if you hate java and are
 in control.

 Please don't take this as some kind of rejection.  I'd love to see
 Gentoo have great Java support.  However, I doubt it matters as much
 to me as it does to you, so you're the one with the incentive to make
 it happen.  That's how just about everything that exists in Gentoo got
 the way it is - somebody cared and made it happen.

 -- 
 Rich


 Exactly. So we agree; that is the reason the original post on the idea
 to move everything external to gentoo core, is a very bad one. Java
 exists and prospers on Gentoo, mostly in overlays. Formalizing that
 (original) proposal will only serve to further enshrine the fact that
 java on gentoo, get's little love and no java-centric developer will
 every get close to the core or gentoo.


 I'm using java as an example; the science herd and the clustering herd
 (projects if you like) are in the same boat. I do appreciate your candid
 and clear responses.


 James

 .


please stop this nonesense.

And I don't mean what you are talking about. Learn to thread. Seriously.
Your emails popping up everywhere, instead of one, nice thread. If you
are using a broken mail client, get another one. If it is your own
fault: stop it.

I don't give a shit about java or whatever you are talking about. But I
am so fed up with seeing your emails everywhere. Threading. Keeps people
sane.



Re: [gentoo-user] Which SMART stats to watch (link)

2014-11-12 Thread Volker Armin Hemmann
Am 13.11.2014 um 01:01 schrieb Adam Carter:
 Backblaze's analysis of nearly 40,000 drives showed five SMART
 metrics that correlate strongly with impending disk drive failure:

   * SMART 5 - Reallocated_Sector_Count.
   * SMART 187 - Reported_Uncorrectable_Errors.
   * SMART 188 - Command_Timeout.
   * SMART 197 - Current_Pending_Sector_Count.
   * SMART 198 - Offline_Uncorrectable

 http://www.computerworld.com/article/2846009/the-5-smart-stats-that-actually-predict-hard-drive-failure.html

everybody with half a brain would figure that one out themselves. ...


  1   2   3   4   5   6   7   8   9   10   >