Re: [gentoo-user] [OT} CPU question

2015-07-15 Thread microcai
2015-07-14 0:04 GMT+08:00  meino.cra...@gmx.de:

 Hi,

 I am on the way to decide for a tablet PC (7) to use it as a platform
 for installing Linux (preferred: Gentoo!) on it and compile software
 for it for usage of decoding shortwave audio transmissions (i.e. morse
 code, sstv, etc.) for example.

 I mean this NOT performance wise or anything else than
 the technical possibility to painless compile linux software
 on this CPU, so...


 Is an Intel Atom Z3745 (quad core) a sane decision?


 Are crosscompilers freely available for it (or is this
 CPU even i386 compatible)

 (tablet: Asus MEMO Pad 7(ME176CX))

 Thank you very much in advance for any help !

 Best regards,
 Meino

many device with Z3745 uses 32bit UEFI firmware, so you have to use
32bit UEFI loader and enable mixed mode to load 64bit kernel from
32bit bootloader



Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)

2015-07-15 Thread Neil Bothwick
On Tue, 14 Jul 2015 20:44:36 -0400, Fernando Rodriguez wrote:

  app-emulation/xen-tools -hvm
  
  Note the -, you are negating the mask. the syntax if perfectly
  logical if you think about it with the right kind of logic.  
 
 It is perfectly logical, it just don't follow the same convention used
 for masking/unmasking packages. I did look at the man page but I just
 did a quick search for .unmask

It does make sense, as you are removing the mask.
 
  Of course, there may be a very good reason why this flag is masked on
  no-multilib profiles, in which case you will not only see why but get
  to keep the resulting shrapnel.  
 
 In this case, judging by the bug report on the ChangeLog, I think the
 issue was fixed and they forgot to unmask the use flag.

In that case, if it works with the flag for you, you should file a bug
report to request the mask's removal.


-- 
Neil Bothwick

Our bikinis are exciting. They are simply the tops.


pgpeKLuqvKt6k.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)

2015-07-15 Thread wraeth
On Wed, Jul 15, 2015 at 12:33:26PM +0100, Neil Bothwick wrote:

 ebuilds are only shell scripts, not magic spells.


Such blasphemy!

-- 
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759


signature.asc
Description: Digital signature


Re: [gentoo-user] SOLVED xen hvm USE flag disabled (xen: How to enable a non-existant USE flag? (xen doesn't work))

2015-07-15 Thread hw



Am 14.07.2015 um 19:31 schrieb Fernando Rodriguez:

On Tuesday, July 14, 2015 11:55:46 AM hw wrote:


Hi,

now I found this:


moonflo ~ # find /usr/portage/profiles/ -type f -print0 | xargs -0 -P24
grep xen-tools

[...]
/usr/portage/profiles/ChangeLog-2007:  Add hvm USE flag for Xen HVM
support in xen-tools. Mask on no-multilib
[...]


And: http://gentoo-en.vfose.ru/wiki/Xen

If you plan to add hvm support on amd64, you will need to have multilib
support.


Of course, I don't have multilib.  Is that still required, and if so,
why?  There isn't any 32bit software to run other than within HVM guests
perhaps.

How can I remove this mask?  I do need xen working last week ...



It's in /usr/portage/profile/amd64/no-multilib/use.mask, I can't figure out how
to unmask it on /etc/portage. What I would do is copy the xen-tools ebuild to
your local overlay then run:

sed -ie '/hvmloader/! s/hvm/hvm2/g' xen-tools-4.5.1-r1.ebuild

and enable hvm2 and hvm, that way it doesn't get overwritten when you sync and
when the ebuid gets updated and the mask removed you already have the right
flags set.


Should I make a bug report about it?



I would comment on bug #351648 because it looks like they fixed it but forgot
to remove the mask.



Hm, I'm not sure what to make of this bug.  I switched profile to one 
that doesn't say 'no-multilib', and the flag became available.  However, 
I could not compile xen-tools with hvm because stub-32.h was missing.


So I ended up re-installing the server to a different profile and 
finally got it to work.


I'm thinking about making an entry about this problem to the wiki if I 
have some time at the weekend.




Re: [gentoo-user] xen doesn't work

2015-07-15 Thread hw



Am 14.07.2015 um 20:56 schrieb hydra:


Actually PV guests are not that hard at all.


Well, how do you do that?  Soon I want to do some Gentoo installations 
on this server.  Can I just start with HVM and switch over to PV once 
the installation is done?



However, you don't have
hvm/qemu enabled so that's why your HVM guests won't start up.


Indeed that was the problem.  Once I found that out, I finally was able 
to get it to work.  It's quite frustrating when you follow the 
documentation and yet things just don't work for unknown reasons.




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

2015-07-15 Thread Rich Freeman
On Tue, Jul 14, 2015 at 6:21 PM, R0b0t1 r03...@gmail.com wrote:

 On Sun, Jul 12, 2015 at 7:18 PM, Rich Freeman ri...@gentoo.org wrote:
 I think that assumes that the two get averaged together in some way
 and cannot be separated.  If you could determine the orientation of
 individual magnetic domains it is possible that you might be able to
 determine which ones are which.  For example, if in a given location
 you found 90% of the grains had one orientation, and 10% had another,
 you might be able to infer that the 10% was the previous value of that
 location.

 Every bit on the disk will have this ghost inverse behind it. If you
 flip bits at random - what overwriting the drive with random data
 effectively does - then it's impossible to tell which ones were
 flipped recently and which ones were flipped before the last write.

If a disk head moves across a track and lays down a pattern of
magnetic fields, I imagine that the intensity of those fields will
vary with distance from the head.  If the head makes a second pass
writing a different pattern of magnetic fields following a path not
identical to the first, I imagine that those field intensities will
also vary with distance from the head, but particles on ones die of
the track will probably retain more of the former pattern and
particles on the other side of the track would tend to retain more of
the second pattern.

I'm just not seeing anything that suggests that such an attack is
physically impossible.  It might be impractical today.  It might be
impractical forever.  However, impossible is a very high bar to clear.

Whether somebody with a technical capability so advanced that it is so
debatable today fits within your threat model is a different story.
Clearly these techniques are not available commercially/etc.  If
you're afraid of the NSA and you have unencrypted data on a disk in
the first place they've probably already defeated your security in 100
different ways already.  So, I'll agree there is a practical argument
to be made.

However, I can't really agree that something is physically impossible
unless you can prove it from first principles.

--
Rich



Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)

2015-07-15 Thread hw



Am 14.07.2015 um 22:47 schrieb Neil Bothwick:

On Tue, 14 Jul 2015 22:12:09 +0200, Alan McKinnon wrote:


You override profiles in /etc/portage/profile. In this case add
cat/pkg - hvm

to package.use.mask.


man portage for more information



ha, I had tried (among other things) package.use.unmask following the
convention used by package.mask/unmask. Thanks.



The directory is:

package.unmask

Read man portage. The answer you seek is there.


That's for unmasking packages, he wants to unmask USE flags. My previous
post got a bit mucked up, set from my phone. to clarify, add a line
to /etc/portage/profile/use.mask like this

app-emulation/xen-tools -hvm

Note the -, you are negating the mask. the syntax if perfectly logical if
you think about it with the right kind of logic.


Everything will be logical when you apply the right kind of logic ;)


Of course, there may be a very good reason why this flag is masked on
no-multilib profiles, in which case you will not only see why but get to
keep the resulting shrapnel.


I would say it is wrong to disable this flag in the first place, 
especially so without giving any warning, like when emerging xen-tools, 
that that flag is required for hardware virtualisation.  The same goes 
for other flags which are alike as well.


Then, why doesn't the xen-tools package pull in /all/ required 
dependencies (like whatever provides stub-32.h) for hvm, like it pulls 
in quite a few other packages already.  Maybe give a warning that some 
are packages you would otherwise not have with a no-multilib profile. 
That would be much better than forcing users to re-install just to get 
hvm with xen-tools.


Maybe I'll add that to the bug report.



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

2015-07-15 Thread Grant Edwards
On 2015-07-15, wirel...@tampabay.rr.com wirel...@tampabay.rr.com wrote:

 In my impetuous youth, The first time I got to work under an old
 ATT unix license, we had several heated debates with nerds from DC
 and Jersey. turns out I was right; you could kill an phone switch
 with a single shot (and old att 3Bx series).

Back in the 80s I worked for a company that made/sold radio-telephony
mobile and base station equipment (which is basically a PBX connected
to a bank of radio transceivers instead of phone sets).  They had more
than a few systems installed in various Central and South American
countries during the 60s and 70s (the worse the standard copper
infrastructure, the more important mobile phones tended to be).

The field service guys told me that a not uncommon failure mode for
the base station equipment was bullet holes.

It turns out that one of the first things you do during a coup in a
small central/south american county is take over or disable the
radio-telphone base stations.  [Back then the base stations were much
higher power and covered much larger areas than a cellular base
station does these days.]

-- 
Grant Edwards   grant.b.edwardsYow! Is something VIOLENT
  at   going to happen to a
  gmail.comGARBAGE CAN?




Re: [gentoo-user] xen doesn't work

2015-07-15 Thread hydra
On Wed, Jul 15, 2015 at 12:46 PM, hw h...@gartencenter-vaehning.de wrote:



 Am 14.07.2015 um 20:56 schrieb hydra:

  Actually PV guests are not that hard at all.


 Well, how do you do that?  Soon I want to do some Gentoo installations on
 this server.  Can I just start with HVM and switch over to PV once the
 installation is done?


From a running system lvm partitions are created for the virtual machine,
then you mount those partitions, unpack stage3 on them, chroot and follow
the same way as with installing a normal machine. You need to enable this
when compiling the kernel.




  However, you don't have
 hvm/qemu enabled so that's why your HVM guests won't start up.


 Indeed that was the problem.  Once I found that out, I finally was able to
 get it to work.  It's quite frustrating when you follow the documentation
 and yet things just don't work for unknown reasons.


Maybe try to modify the wiki for others to know?


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

2015-07-15 Thread wireless

On 07/13/2015 10:10 AM, Grant Edwards wrote:


With regards to the other replies: I think physical destruction is
unnecessary, and I don't really want to go through the trouble.

If it's trouble rather than fun, then you're doing it wrong. :)


Brilliant statement::


Others favor a high-powered rifle or an 8lb sledge.



In my impetuous youth, The first time I got to work under an old
ATT unix license, we had several heated debates with nerds from DC
and Jersey. turns out I was right; you could kill an phone switch
with a single shot (and old att 3Bx series).

I took out a .338 with a questionable round and one shot turned off
3 out of 4 drives and most of the processors. The a_holes went back
to their  agency; and I lost some very valuable potential clients.
But Grant is most correct!; if it ain't fun why fork with it?

I did become great friends with some folks from the jersey labs..

cheers!
James



[gentoo-user] [~amd64] Does the EGL useflag break mesa-progs-8.2.0?

2015-07-15 Thread walt
Normally I would just file a bug report, but lately portage has been
behaving so strangely I feel obligated to ask here first.  Maybe you
won't see what I see.  Just try emerging mesa-progs-8.2.0 with the EGL
useflag set.





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

2015-07-15 Thread James
Grant Edwards grant.b.edwards at gmail.com writes:


 It turns out that one of the first things you do during a coup in a
 small central/south american county is take over or disable the
 radio-telphone base stations.  [Back then the base stations were much
 higher power and covered much larger areas than a cellular base
 station does these days.]


Yep:: Then when I got my first research lab, guess what was our first
'Big Donation' ?   A semi trailer full of every make of those old att
unix systems; from 3B2's own up the ladder to working switchgear.
We wiped them clean and put Mt. Xinu unix (BSD) on them just to tick
off the att folks  Funny thing was they just kept giving us more and
more equipment...


Kids now a days do not get to play with the 'toys' we did in college.
At poker flats [1] we got to shoot off rockets into the ionosphere. Try
that one today The father of the modern rocket [2] taught my son
Multi-Variable Calculus Small world when you get down to it

Want to see the latest in Mach 7 guns?




cheers!
James

[1] http://www.pfrr.alaska.edu/

[2]
http://motherboard.vice.com/blog/lebanons-forgotten-space-race-in-1961-manoug-manougian-aimed-the-middle-east-at-the-stars




Re: [gentoo-user] [~amd64] Does the EGL useflag break mesa-progs-8.2.0?

2015-07-15 Thread wraeth
On Wed, Jul 15, 2015 at 01:53:50PM -0700, walt wrote:
 Normally I would just file a bug report, but lately portage has been
 behaving so strangely I feel obligated to ask here first.  Maybe you
 won't see what I see.  Just try emerging mesa-progs-8.2.0 with the EGL
 useflag set.
 
Attempting to compile =x11-apps/mesa-progs-8.2.0[egl,-gles1,-gles2] I got:

Makefile:489: recipe for target 'eglut.lo' failed
make: *** [eglut.lo] Error 1
Makefile:489: recipe for target 'eglut_screen.lo' failed
make: *** [eglut_screen.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\mesa-demos\
-DPACKAGE_TARNAME=\mesa-demos\ -DPACKAGE_VERSION=\8.2.0\
-DPACKAGE_STRING=\mesa-demos 8.2.0\
-DPACKAGE_BUGREPORT=\https://bugs.freedesktop.org/enter_bug.cgi?product=Mesacomponent=Demos\;
-DPACKAGE_URL=\\ -DPACKAGE=\mesa-demos\ -DVERSION=\8.2.0\
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DLT_OBJDIR=\.libs/\ -DHAVE_LIBGLUT=1 -DHAVE_FREEGLUT=1
-DDEMOS_DATA_DIR=\../data/\ -DDEMOS_DATA_DIR=\../data/\ -I.
-I/usr/include/libdrm -march=native -O2 -pipe -fomit-frame-pointer -c
eglut_x11.c -o libeglut_x11_la-eglut_x11.o /dev/null 21
make: Leaving directory
'/var/tmp/portage/x11-apps/mesa-progs-8.2.0/work/mesa-demos-8.2.0/src/egl/eglut'
 * ERROR: x11-apps/mesa-progs-8.2.0::gentoo failed (compile phase):
 *   emake failed

-- 
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759


signature.asc
Description: Digital signature


Re: [gentoo-user] Virtualbox-5.0.0 [wow!]

2015-07-15 Thread Fernando Rodriguez
On Tuesday, July 14, 2015 6:53:43 PM walt wrote:
 Even while slogging through my painful and ongoing update of perl and
 friends, I managed to install Virtualbox-5.0.0 and its guest-additions.
 (Apparently these two packages don't depend on perl at build-time.)
 
 I fired up my vbox gentoo guest machine and, of course, I tried to
 install the 5.0.0 guest additions kernel modules.
 
 I got an error message about usb support in the guest kernel, so I
 disabled guest usb support (temporarily) with the vbox gui, tried again
 and the guest kernel modules installed with amazing speed.
 
 I'd like to know if anyone else is seeing spectacular speed performance
 with vbox-5.0.0.
 
 

No noticeable performance improvement for me using hardware virtualization.

The USB issue is because it no longer pulls the extension pack or additions 
packages as a dependency so you need to add them to your world file. It also 
fails to compile for me with doc or sdk flags.

-- 
Fernando Rodriguez



Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)

2015-07-15 Thread Neil Bothwick
On Wed, 15 Jul 2015 12:42:00 +0200, hw wrote:

  Of course, there may be a very good reason why this flag is masked on
  no-multilib profiles, in which case you will not only see why but get
  to keep the resulting shrapnel.  
 
 I would say it is wrong to disable this flag in the first place, 
 especially so without giving any warning, like when emerging xen-tools, 
 that that flag is required for hardware virtualisation.  The same goes 
 for other flags which are alike as well.

If it doesn't work without multilib, it doesn't work without multilib -
adding a USE flag will not change that. But masking the USE flag will at
least stop you trying to use it without multilib.

ebuilds are only shell scripts, not magic spells.


-- 
Neil Bothwick

The best antiques are old friends.


pgp4m51QCDAoW.pgp
Description: OpenPGP digital signature