Re: [gentoo-user] Re: Adobe flash warning and tree

2016-01-15 Thread Mick
On Friday 15 Jan 2016 03:02:07 Dale wrote:
> Nikos Chantziaras wrote:
> > On 15/01/16 10:15, Peter Weilbacher wrote:
> >> On Thu, 14 Jan 2016, Nikos Chantziaras wrote:
> >>> I thought these are only security fixes? Version 20 is actully
> >>> feature-complete and in-par with the Windows version 20.
> >>> 
> >>> v11.2.202.559 might be from December, but it's based on an ancient
> >>> version
> >>> from many years ago feature-wise.
> >> 
> >> That may well be the case. But who cares about features in a tool that's
> >> basically dead and only installed on 99.9% of the machines because some
> >> stupid websites[1] need it?
> >> 
> >> Peter.
> >> 
> >> [1] That work with the feature set of v11.2 -- at least I haven't heard
> >> otherwise.
> > 
> > You haven't visited enough porn sites then :-P
> 
> Well, so far that weather radar site is the only one that I have found
> that needs flash.  If they would switch it to HTML5, flash could be
> gone.  I wouldn't complain about that.
> 
> Dale
> 
> :-)  :-)

In the UK websites like Channel 5 will not play on Linux any more:

http://www.channel5.com/demand5

They said that they will not support the platform (too small a percentage of 
users) although I am not sure how android based smart TVs can stream this 
channel.
-- 
Regards,
Mick

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


[gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Hi,


I got a strange problem:
>From X11 I can switch to text console via CTRL-ALT-F(x).
>From the text console I can switch to other text console
via ALT-F(x).

But once touching the console, where X11 should still be
running and which is now occupied by the deep dark unholy
"nothing" ;) I got trapped -- no way out and a bindly
keyed login followed by a reboot has nothing as result.

My /etc/inittab looks like:

  # new-style single-user
  su0:S:wait:/sbin/rc single
  su1:S:wait:/sbin/sulogin
  
  # TERMINALS
  c1:12345:respawn:/sbin/agetty 38400 tty1 linux
  c2:2345:respawn:/sbin/agetty 38400 tty2 linux
  c3:2345:respawn:/sbin/agetty 38400 tty3 linux
  c4:2345:respawn:/sbin/agetty 38400 tty4 linux
  c5:2345:respawn:/sbin/agetty 38400 tty5 linux
  c6:2345:respawn:/sbin/agetty 38400 tty6 linux
  
  # SERIAL CONSOLES
  #s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
  #s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100
  
  # What to do at the "Three Finger Salute".
  ca:12345:ctrlaltdel:/sbin/shutdown -r now
  
  # Used by /etc/init.d/xdm to control DM startup.
  # Read the comments in /etc/init.d/xdm for more
  # info. Do NOT remove, as this will start nothing
  # extra at boot if /etc/init.d/xdm is not added
  # to the "default" runlevel.
  x:a:once:/etc/X11/startDM.sh
  
  

>From searching the web I found questions, from people, which
cannot switch to anything from X11...but I can.
That is another problem.
And a lot question are regarding the correct key-combo.

This has worked for years and didn't changed anything from
which I think it could be related.

How can I fix this?

Thank you very much in advance for any help!
Best regards,
mcc







Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Philip Webb
160115 meino.cra...@gmx.de wrote:
> I got a strange problem:
> From X11 I can switch to text console via CTRL-ALT-F(x).
> From the text console I can switch to other text console via ALT-F(x).
> But once touching the console, where X11 should still be running
> and which is now occupied by the deep dark unholy "nothing" ;)
> I got trapped -- no way out and a bindly keyed login
> followed by a reboot has nothing as result.

You don't mention it, so the first suggestion is to try Ctrl-Alt-F7 .
That's what worked for me just now, when I tested it.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Rich Freeman
On Fri, Jan 15, 2016 at 7:27 AM,   wrote:
>
> But once touching the console, where X11 should still be
> running and which is now occupied by the deep dark unholy
> "nothing" ;) I got trapped -- no way out and a bindly
> keyed login followed by a reboot has nothing as result.
>

What is your kernel configuration around the console?  Are you using
any binary modules (cough...nvidia...)?  KMS?  Framebuffer?  What
hardware is this?

In general this shouldn't happen, and I've mainly seen it on tainted
kernels, or in the old days of X11 running as root.

With mainline kernel drivers and KMS things have been pretty reliable for me.

If you are using nvidia-drivers, you're probably at their mercy.  If
you are running an untainted kernel and KMS and can get enough info to
the linux devs they would almost certainly consider this a valid bug.
It shouldn't be possible for userspace to break the console in the new
design.

-- 
Rich



Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Philip Webb  [16-01-15 15:16]:
> 160115 meino.cra...@gmx.de wrote:
> > I got a strange problem:
> > From X11 I can switch to text console via CTRL-ALT-F(x).
> > From the text console I can switch to other text console via ALT-F(x).
> > But once touching the console, where X11 should still be running
> > and which is now occupied by the deep dark unholy "nothing" ;)
> > I got trapped -- no way out and a bindly keyed login
> > followed by a reboot has nothing as result.
> 
> You don't mention it, so the first suggestion is to try Ctrl-Alt-F7 .
> That's what worked for me just now, when I tested it.
> 
> -- 
> ,,
> SUPPORT ___//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
> 
> 

Hi Philip,

sorry...yes...I tried that before...no chance...

Best regards,
Meino




Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Rich Freeman  [16-01-15 15:16]:
> On Fri, Jan 15, 2016 at 7:27 AM,   wrote:
> >
> > But once touching the console, where X11 should still be
> > running and which is now occupied by the deep dark unholy
> > "nothing" ;) I got trapped -- no way out and a bindly
> > keyed login followed by a reboot has nothing as result.
> >
> 
> What is your kernel configuration around the console?  Are you using
> any binary modules (cough...nvidia...)?  KMS?  Framebuffer?  What
> hardware is this?
> 
> In general this shouldn't happen, and I've mainly seen it on tainted
> kernels, or in the old days of X11 running as root.
> 
> With mainline kernel drivers and KMS things have been pretty reliable for me.
> 
> If you are using nvidia-drivers, you're probably at their mercy.  If
> you are running an untainted kernel and KMS and can get enough info to
> the linux devs they would almost certainly consider this a valid bug.
> It shouldn't be possible for userspace to break the console in the new
> design.
> 
> -- 
> Rich
> 
Hi Rich,

My Gentoo runs on an ASUS Crosshair formula IV motherboard with 
an AMD Phenom(tm) II X6 1090T Processor. The motherboard?CPU is
not overclocked.

The graphics cards are
For rendering only (not related to the desktop)
02:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] 
(rev a1)
02:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1)
For desktop purposes
09:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] 
(rev a1)
09:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller 
(rev a1)
The kernel uses x11-drivers/nvidia-drivers-361.16.
I am using Alsa/jackd with the onboard soundcard.
My monitor is an HP LP 2475w.

I am using the nvidia-drivers since years and the switch back and
forth from and to the text console does well for years too.

And today this damned trap strukcs me.

How can I get around this?

Best regards,
Meino




Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Rich Freeman
On Fri, Jan 15, 2016 at 9:37 AM,   wrote:
> I am using the nvidia-drivers since years and the switch back and
> forth from and to the text console does well for years too.
>

Ok, I can't be of too much help since the only device I have with
nvidia hardware doesn't have a keyboard so I don't switch consoles
often.  :)

It is possible somebody else will chime in with suggestions or similar
experiences.  However, the official upstream source of support would
be nvidia themselves - you might consider asking on their forums/etc
to see if anybody using their linux drivers have had similar issues.

You could try using the nouveau drivers if switching consoles is more
important to you than 3D performance - I will say that it will almost
certainly have much worse performance.  I do run nvidia-drivers on my
ITX mythtv front-end for just that reason - I don't think VDPAU works
with nouveau on that hardware, and it is essential for 1080p
performance with the dinky atom processor.  On most of my desktops I
run Radeons and for linux I use the mainline drivers with KMS - it has
been rock solid.

But, by all means see if somebody chimes in, or try the forums or
pinging the maintainer of the drivers (currently jer).  To some extent
you're all at the mercy of Nvidia.

Oh, and one other thing to try is a different kernel version.  I don't
know the latest details, but as I recall Nvidia tends to only
officially support certain kernel series.  Their drivers might happen
to build for a different kernel series, but perhaps it gets less QA in
those situations.  You might find that switching to a different
longterm might help.  I'm running 3.18 on my only nvidia hardware.

-- 
Rich



Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Gregory Woodbury  [16-01-15 16:44]:
> I ran into this one (1) time just after switching to the 4.4.0 kernel.
> I have an Intel HD4400 Integrated graphics card on an Asus Z87 MBoard.
> (Intel i915 driver)
> 
> To escape, I used another device to log into the machine
> (ServerAuditor on my Android phone via wireless)
> and did a shutdown.
> 
> After rebooting, the problem has not re-appeared and I can do all the usual
> Alt-Ctl-Fn switches and the console responds as usual after a timeout and
> monitor shutdown (such as overnight or going out for a while)
> 
> -- 
> G.Wolfe Woodbury
> redwo...@gmail.com
> 

Hi Gregory,

that's interesting...I am also running Linux 4.4.0 and may be, that is
the change, which causes the effect. Long time it has worked before
even with nvidia-drivers and all kernel versions.

But I have not the luck, that rebooting solve all my problems... ;)

So, may be somthing additional needs to be configured, which is new
with 4.4.0?

Best regards,
Meino





Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Heiko Baums  [16-01-15 17:24]:
> Am 15.01.2016 um 13:27 schrieb meino.cra...@gmx.de:
> 
> > This has worked for years and didn't changed anything from
> > which I think it could be related.
> > 
> > How can I fix this?
> 
> https://bugs.gentoo.org/show_bug.cgi?id=564096
> 

Hi Heiko,

...seems to be the same problem.  

How much do I have to pay (performancewise) for the downgrade, since
my rendering graphics card (see previous mail for hardware setup) is a
GTX 960 with maxwell architecture (quite new I think)... ?
I use this card exclusively for Blender...


Best regards,
Meino





Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Gregory Woodbury
I did have to redo my kernel config almost completely with the 4.4.0 release.
I did:
   make mrproper  #cleans eveything up
   make defconfig  #basic x86_64 config
   make xconfig #custom configs (needs qt)

The new kernel (informed by the old 4.3.3 config) booted and ran the first time,
but I got a lockup after the first screen timeout (nothing would wake
up the video)
and I netted in and did a "shutdown -r now" followed by a rebuild of
all the kernel
dependent packages (there are about 24 in my mix).

Since that, I have not had a problem.  I suspect that perhaps there are enough
changes in the 4.4.0 kernel that glib and sone of the others need a rebuild.

I have a little script that scans the installed package db to find
everything that
references the kernel and linux-headers eclasses and rebuilds them.  There are
one or two packages in that list that don't strictly need a rebuild
(e.g. google-chrome-beta)
but with time to spare I just let emerge go-to-town with everything.
(I scan the INHERETED files for linux-info and linux-mod to make a
temp set for emerge.)

With new kernel versions being tracked ell the time, this little trick
has cured lots of ills since
I wrote it in 2013.  I've posted it once (I think) but I'll do so
again in a few minutes on a new thread.


-- 
G.Wolfe Woodbury
redwo...@gmail.com



[gentoo-user] A pair of bash scripts to rebuild pkgs after a kernel upgrade.

2016-01-15 Thread Gregory Woodbury
After upgrading the gentoo-sources kernel or linux-headers, there are
some packages that are dependent on the kernel config or on specific
kernel modules. The ebuild "inherit" for eclasses will have the classes
linux-info or linux-mod referenced for these packages.  These scripts do
the work of finding these references and rebuild/reinstall them after a
kernel or linux-headers upgrade.

I am attaching them to this email. They are fairly robust bash scripts
and they have comments and explanations in them.  They should be
used after "eselect kernel set N" so the rebuilds get the correct sources
and .configs to look at.  There are some status update displays since
they should be run from a text console or terminal window.

The "rebuild-kern-set" is the main script that checks the setup and
runs the emerge
The "make-kern-set" does the work of scanning the pkg db to make a set
based on the "inherit"s of the ebuilds.  It scans the db directly for speed and
efficiency rather than digging into the ebuilds with standard tools.

Comments welcome. Enjoy.



-- 
G.Wolfe Woodbury
redwo...@gmail.com


rebuild-kern-set
Description: Binary data


make-kern-set
Description: Binary data


Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Heiko Baums
Am 15.01.2016 um 13:27 schrieb meino.cra...@gmx.de:

> This has worked for years and didn't changed anything from
> which I think it could be related.
> 
> How can I fix this?

https://bugs.gentoo.org/show_bug.cgi?id=564096



Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Gregory Woodbury
I ran into this one (1) time just after switching to the 4.4.0 kernel.
I have an Intel HD4400 Integrated graphics card on an Asus Z87 MBoard.
(Intel i915 driver)

To escape, I used another device to log into the machine
(ServerAuditor on my Android phone via wireless)
and did a shutdown.

After rebooting, the problem has not re-appeared and I can do all the usual
Alt-Ctl-Fn switches and the console responds as usual after a timeout and
monitor shutdown (such as overnight or going out for a while)

-- 
G.Wolfe Woodbury
redwo...@gmail.com



Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread covici
meino.cra...@gmx.de wrote:

> Philip Webb  [16-01-15 15:16]:
> > 160115 meino.cra...@gmx.de wrote:
> > > I got a strange problem:
> > > From X11 I can switch to text console via CTRL-ALT-F(x).
> > > From the text console I can switch to other text console via ALT-F(x).
> > > But once touching the console, where X11 should still be running
> > > and which is now occupied by the deep dark unholy "nothing" ;)
> > > I got trapped -- no way out and a bindly keyed login
> > > followed by a reboot has nothing as result.
> > 
> > You don't mention it, so the first suggestion is to try Ctrl-Alt-F7 .
> > That's what worked for me just now, when I tested it.
> > 
> > -- 
> > ,,
> > SUPPORT ___//___,   Philip Webb
> > ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> > TRANSIT`-O--O---'   purslowatchassdotutorontodotca
> > 
> > 
> 
> Hi Philip,
> 
> sorry...yes...I tried that before...no chance...

I had a somewhat related problems and discovered a version of
nvidia-settings which seems to be obsolete.  Delete that and clean up
any preserved-rebuilds and try again.  Not sure, but its a guess on my
part.


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

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



[gentoo-user] Re: The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Nikos Chantziaras

On 15/01/16 18:56, meino.cra...@gmx.de wrote:

Heiko Baums  [16-01-15 17:24]:

Am 15.01.2016 um 13:27 schrieb meino.cra...@gmx.de:


This has worked for years and didn't changed anything from
which I think it could be related.

How can I fix this?


https://bugs.gentoo.org/show_bug.cgi?id=564096



Hi Heiko,

...seems to be the same problem.

How much do I have to pay (performancewise) for the downgrade, since
my rendering graphics card (see previous mail for hardware setup) is a
GTX 960 with maxwell architecture (quite new I think)... ?
I use this card exclusively for Blender...


Why can't you just use it for the desktop too? Is there an issue?





Re: [gentoo-user] Re: The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Nikos Chantziaras  [16-01-15 20:36]:
> On 15/01/16 18:56, meino.cra...@gmx.de wrote:
> >Heiko Baums  [16-01-15 17:24]:
> >>Am 15.01.2016 um 13:27 schrieb meino.cra...@gmx.de:
> >>
> >>>This has worked for years and didn't changed anything from
> >>>which I think it could be related.
> >>>
> >>>How can I fix this?
> >>
> >>https://bugs.gentoo.org/show_bug.cgi?id=564096
> >>
> >
> >Hi Heiko,
> >
> >...seems to be the same problem.
> >
> >How much do I have to pay (performancewise) for the downgrade, since
> >my rendering graphics card (see previous mail for hardware setup) is a
> >GTX 960 with maxwell architecture (quite new I think)... ?
> >I use this card exclusively for Blender...
> 
> Why can't you just use it for the desktop too? Is there an issue?
> 
> 
> 

Hi Nikos,

regardless how powerful a payable graphics card may be...
if one uses the same graphicsscards for rendering as for the desktop
the desktop starts heavily lagging/freezing just in the moment
blenders rendering engine Cycles start working.
At least, these are my experiences.
Thats why I use an old just-fast-enough graphics card for the desktop
and a second, more current one for rendering only.

Best regards,
Meino






[gentoo-user] Re: The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Nikos Chantziaras

On 15/01/16 21:50, meino.cra...@gmx.de wrote:

regardless how powerful a payable graphics card may be...
if one uses the same graphicsscards for rendering as for the desktop
the desktop starts heavily lagging/freezing just in the moment
blenders rendering engine Cycles start working.
At least, these are my experiences.
Thats why I use an old just-fast-enough graphics card for the desktop
and a second, more current one for rendering only.


Yeah, makes sense. Which drivers are you using? NVidia's changelogs 
almost always have a "fixed console switching issues" entry on every 
driver release. It seems they're still haven't figured this out 
completely, so the only suggestion I can give is to try more recent drivers.


Another thing is to test whether a text-only console vs a framebuffer 
one makes any difference. Officially, nvidia only supports text mode 
consoles. At least on my system, the nvidia driver prints this on dmesg 
with my framebuffer console setup:


NVRM: Your system is not currently configured to drive a VGA console
NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
NVRM: requires the use of a text-mode VGA console. Use of other  console
NVRM: drivers including, but not limited to, vesafb, may result in
NVRM: corruption and stability problems, and is not supported.

Although I have no choice in the matter really, since text mode is not 
supported on my system. Fortunately it's been working without issues for 
me. But text mode might solve your issue (if your system supports that.) 
Or it might not :-P





Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Dale  [16-01-16 03:36]:
> meino.cra...@gmx.de wrote:
> > Hi,
> >
> >
> > I got a strange problem:
> > >From X11 I can switch to text console via CTRL-ALT-F(x).
> > >From the text console I can switch to other text console
> > via ALT-F(x).
> >
> > But once touching the console, where X11 should still be
> > running and which is now occupied by the deep dark unholy
> > "nothing" ;) I got trapped -- no way out and a bindly
> > keyed login followed by a reboot has nothing as result.
> >
> > My /etc/inittab looks like:
> >
> >   # new-style single-user
> >   su0:S:wait:/sbin/rc single
> >   su1:S:wait:/sbin/sulogin
> >   
> >   # TERMINALS
> >   c1:12345:respawn:/sbin/agetty 38400 tty1 linux
> >   c2:2345:respawn:/sbin/agetty 38400 tty2 linux
> >   c3:2345:respawn:/sbin/agetty 38400 tty3 linux
> >   c4:2345:respawn:/sbin/agetty 38400 tty4 linux
> >   c5:2345:respawn:/sbin/agetty 38400 tty5 linux
> >   c6:2345:respawn:/sbin/agetty 38400 tty6 linux
> >   
> >   # SERIAL CONSOLES
> >   #s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
> >   #s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100
> >   
> >   # What to do at the "Three Finger Salute".
> >   ca:12345:ctrlaltdel:/sbin/shutdown -r now
> >   
> >   # Used by /etc/init.d/xdm to control DM startup.
> >   # Read the comments in /etc/init.d/xdm for more
> >   # info. Do NOT remove, as this will start nothing
> >   # extra at boot if /etc/init.d/xdm is not added
> >   # to the "default" runlevel.
> >   x:a:once:/etc/X11/startDM.sh
> >   
> >   
> >
> > >From searching the web I found questions, from people, which
> > cannot switch to anything from X11...but I can.
> > That is another problem.
> > And a lot question are regarding the correct key-combo.
> >
> > This has worked for years and didn't changed anything from
> > which I think it could be related.
> >
> > How can I fix this?
> >
> > Thank you very much in advance for any help!
> > Best regards,
> > mcc
> >
> >
> 
> I ran into something like this a while back.  I see other replies but
> didn't see where anyone posted what I figured out.  Usually, it's
> ctrl-alt-F7 to get back but for some odd reason, mine ended up on F8. 
> Later on, maybe after a reboot or something, it was back on F7 like it
> should be but for a while there, it was on F8. 
> 
> Based on other replies, you may have a different issue but thought it
> worth a mention.  Just in case it would help.  ;-) 
> 
> Dale
> 
> :-)  :-) 
> 

Hi Dale,

thanks for the info...
As I first get locked out I panically pressed all permutations
of ALT and CTRL and the F(x)-keys...
Yes I am sure...there is no way out with key pressing only ;)

Yesterday I did some experimenting:
I remotely logged into my Linux via my tablet and then my Gentoo
into the text console and then back to X11 -- which locked the
whole thing as exspected.
Then I used my tablet to kill slim and X11 and restarted it.
Nothing...the lock was perfect.

On the other side: The kernel itsself did not lock or only
hangs in a certain part (is that possible?), since everything
console based works fine even after the Gentoo box was locked.

Finally I had to reboot via my tablet and I got my userland
back...

Best regards,
Meino





[gentoo-user] {OT} Allow work from home?

2016-01-15 Thread Grant
I'm considering allowing some employees to work from home but I'm concerned
about the security implications.  Currently everybody shows up and logs
into their locked down Gentoo system and from there is able to access the
company webapps which are restricted to the office IP address.  I guess I
would have to allow webapp access from any IP for those users and trust
that their computer is secure?  Should that not be scary?

- Grant


[gentoo-user] Creating an firmware image from a too large microSDcard...?

2016-01-15 Thread Meino . Cramer
Hi,

to post a firmware image of my embedded linux computer
to a friend I want to size it down.

System wise I did that already (only the really necessary
stuff of Gentoo plus some configuration and addons related
to the embedded system)...the problem comes with the size of
the microSDcard I use: 32 GB

The microSDcard (source) has two partitions (boot + the rest).
The boot partition is the first partition and it is of a fixed
and tiny size. The second partition contains the "rest": Gentoo.
Currently the used space of this partition is also small.

The image needs to be of a format, which makes
it possble to 'dd' it onto a microSDcard (target) and afterwards use
g/parted to resize/expand the second partition to the end
of the microSDcard to get all storage space available.

If I dd the source into an image I get all those zeroes also and
the image only will fit onto a microSDcard (target) of at least
the same size.

If I dd each partition separately I get two files and the partition
table is not copied...may be technically possible but not user
friendly.

How can I manage to get an image from my microSDcard (source), which
only consists of the used space in a way that it can be put onto 
another microSDcard (target) in the waay described above?

How can I acchieve that magic ?  ;) :)

Thank you very much in advance for any help!
Best regards,
Meino





Re: [gentoo-user] Re: The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Meino . Cramer
Nikos Chantziaras  [16-01-16 03:36]:
> On 15/01/16 21:50, meino.cra...@gmx.de wrote:
> >regardless how powerful a payable graphics card may be...
> >if one uses the same graphicsscards for rendering as for the desktop
> >the desktop starts heavily lagging/freezing just in the moment
> >blenders rendering engine Cycles start working.
> >At least, these are my experiences.
> >Thats why I use an old just-fast-enough graphics card for the desktop
> >and a second, more current one for rendering only.
> 
> Yeah, makes sense. Which drivers are you using? NVidia's changelogs 
> almost always have a "fixed console switching issues" entry on every 
> driver release. It seems they're still haven't figured this out 
> completely, so the only suggestion I can give is to try more recent 
> drivers.
> 
> Another thing is to test whether a text-only console vs a framebuffer 
> one makes any difference. Officially, nvidia only supports text mode 
> consoles. At least on my system, the nvidia driver prints this on dmesg 
> with my framebuffer console setup:
> 
> NVRM: Your system is not currently configured to drive a VGA console
> NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
> NVRM: requires the use of a text-mode VGA console. Use of other  
> console
> NVRM: drivers including, but not limited to, vesafb, may result in
> NVRM: corruption and stability problems, and is not supported.
> 
> Although I have no choice in the matter really, since text mode is not 
> supported on my system. Fortunately it's been working without issues 
> for me. But text mode might solve your issue (if your system supports 
> that.) Or it might not :-P
> 
> 

Hi Nikos,

thanks for the informations! :)

the drivers I use are:

[I] x11-drivers/nvidia-drivers
 Available versions:  [M]96.43.23-r1(0/96)^msd [M]173.14.39-r1(0/173)^msd 
304.131(0/304)^msd 340.93-r1(0/340)^msd 340.96(0/340)^msd 346.96-r1(0/346)^msd 
352.63(0/352)^msd (~)352.68(0/352)^msd 355.11-r2(0/355)^msd 
(~)358.16-r1(0/358)^msd (~)361.16(0/361)^msd (~)361.18(0/361)^msd {+X acpi 
custom-cflags +driver gtk gtk2 gtk3 +kms multilib pax_kernel (+)tools uvm 
KERNEL="FreeBSD linux"}
 Installed versions:  361.18^msd(20:30:57 01/15/16)(X driver gtk3 kms 
multilib tools uvm -acpi -gtk2 -pax_kernel KERNEL="linux -FreeBSD")
 Homepage:http://www.nvidia.com/
 Description: NVIDIA Accelerated Graphics Driver


Yesterday I experimented a little bit and I am quite sure, that the
problem is created by X11/nvidia-drivers/kernel and the kind of the
console is not the problem (read: I am not sure, though).

The bugreport linked from another mail of this thread also reports,
that using an older version of the nvidia-drivers will fix the
problem.

Best regards,
Meino






Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Dale
meino.cra...@gmx.de wrote:
> Dale  [16-01-16 03:36]:
>>
>> I ran into something like this a while back.  I see other replies but
>> didn't see where anyone posted what I figured out.  Usually, it's
>> ctrl-alt-F7 to get back but for some odd reason, mine ended up on F8. 
>> Later on, maybe after a reboot or something, it was back on F7 like it
>> should be but for a while there, it was on F8. 
>>
>> Based on other replies, you may have a different issue but thought it
>> worth a mention.  Just in case it would help.  ;-) 
>>
>> Dale
>>
>> :-)  :-) 
>>
> Hi Dale,
>
> thanks for the info...
> As I first get locked out I panically pressed all permutations
> of ALT and CTRL and the F(x)-keys...
> Yes I am sure...there is no way out with key pressing only ;)
>
> Yesterday I did some experimenting:
> I remotely logged into my Linux via my tablet and then my Gentoo
> into the text console and then back to X11 -- which locked the
> whole thing as exspected.
> Then I used my tablet to kill slim and X11 and restarted it.
> Nothing...the lock was perfect.
>
> On the other side: The kernel itsself did not lock or only
> hangs in a certain part (is that possible?), since everything
> console based works fine even after the Gentoo box was locked.
>
> Finally I had to reboot via my tablet and I got my userland
> back...
>
> Best regards,
> Meino
>
>

I thought it worth a mention, just in case.  I didn't see it mentioned
and was hopeful that it may shed some light.  It appears to have
eliminated one solution, which also sometimes helps figure out the
problem.  Now you know it didn't just move over somehow but is really
locked. 

I'm going to try not to get mad when I mention this.  Some old timers
may recall my experience with hal.  It would lock my computer to the
point that even the reset button on the puter case wouldn't work.  I
literally had to unplug the puter to reset it.  Nothing keyboard wise
would work.  It is the only time I have ever ran into such a issue. 
Needless to say, I was not happy.  It was much worse than that but let's
leave it there.  ;-)   So, the kernel can lock up and do some weird
things.  Oh, the alt-sysreq keys wouldn't work either.  I saved that
reset button for what I thought would be a last resort. 

Well, check off one more solution, even tho it was grasping at straws. 
lol 

Dale

:-)  :-) 

P. S.  I mentioned hal and my blood pressure is OK.  Whew!!! 




Re: [gentoo-user] {OT} Allow work from home?

2016-01-15 Thread wabenbau
Grant  wrote:

> I'm considering allowing some employees to work from home but I'm
> concerned about the security implications.  Currently everybody shows
> up and logs into their locked down Gentoo system and from there is
> able to access the company webapps which are restricted to the office
> IP address.  I guess I would have to allow webapp access from any IP
> for those users and trust that their computer is secure?  Should that
> not be scary?
> 
> - Grant

I would use OpenVPN for that. If you don't trust their systems, you 
could provide a Live-System media for them if that is possible.

--
Regards
wabe




Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...

2016-01-15 Thread Dale
meino.cra...@gmx.de wrote:
> Hi,
>
>
> I got a strange problem:
> >From X11 I can switch to text console via CTRL-ALT-F(x).
> >From the text console I can switch to other text console
> via ALT-F(x).
>
> But once touching the console, where X11 should still be
> running and which is now occupied by the deep dark unholy
> "nothing" ;) I got trapped -- no way out and a bindly
> keyed login followed by a reboot has nothing as result.
>
> My /etc/inittab looks like:
>
>   # new-style single-user
>   su0:S:wait:/sbin/rc single
>   su1:S:wait:/sbin/sulogin
>   
>   # TERMINALS
>   c1:12345:respawn:/sbin/agetty 38400 tty1 linux
>   c2:2345:respawn:/sbin/agetty 38400 tty2 linux
>   c3:2345:respawn:/sbin/agetty 38400 tty3 linux
>   c4:2345:respawn:/sbin/agetty 38400 tty4 linux
>   c5:2345:respawn:/sbin/agetty 38400 tty5 linux
>   c6:2345:respawn:/sbin/agetty 38400 tty6 linux
>   
>   # SERIAL CONSOLES
>   #s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
>   #s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100
>   
>   # What to do at the "Three Finger Salute".
>   ca:12345:ctrlaltdel:/sbin/shutdown -r now
>   
>   # Used by /etc/init.d/xdm to control DM startup.
>   # Read the comments in /etc/init.d/xdm for more
>   # info. Do NOT remove, as this will start nothing
>   # extra at boot if /etc/init.d/xdm is not added
>   # to the "default" runlevel.
>   x:a:once:/etc/X11/startDM.sh
>   
>   
>
> >From searching the web I found questions, from people, which
> cannot switch to anything from X11...but I can.
> That is another problem.
> And a lot question are regarding the correct key-combo.
>
> This has worked for years and didn't changed anything from
> which I think it could be related.
>
> How can I fix this?
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
>
>

I ran into something like this a while back.  I see other replies but
didn't see where anyone posted what I figured out.  Usually, it's
ctrl-alt-F7 to get back but for some odd reason, mine ended up on F8. 
Later on, maybe after a reboot or something, it was back on F7 like it
should be but for a while there, it was on F8. 

Based on other replies, you may have a different issue but thought it
worth a mention.  Just in case it would help.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] Creating an firmware image from a too large microSDcard...?

2016-01-15 Thread J. Roeleveld
On 16 January 2016 04:50:49 CET, meino.cra...@gmx.de wrote:
>Hi,
>
>to post a firmware image of my embedded linux computer
>to a friend I want to size it down.
>
>System wise I did that already (only the really necessary
>stuff of Gentoo plus some configuration and addons related
>to the embedded system)...the problem comes with the size of
>the microSDcard I use: 32 GB
>
>The microSDcard (source) has two partitions (boot + the rest).
>The boot partition is the first partition and it is of a fixed
>and tiny size. The second partition contains the "rest": Gentoo.
>Currently the used space of this partition is also small.
>
>The image needs to be of a format, which makes
>it possble to 'dd' it onto a microSDcard (target) and afterwards use
>g/parted to resize/expand the second partition to the end
>of the microSDcard to get all storage space available.
>
>If I dd the source into an image I get all those zeroes also and
>the image only will fit onto a microSDcard (target) of at least
>the same size.
>
>If I dd each partition separately I get two files and the partition
>table is not copied...may be technically possible but not user
>friendly.
>
>How can I manage to get an image from my microSDcard (source), which
>only consists of the used space in a way that it can be put onto 
>another microSDcard (target) in the waay described above?
>
>How can I acchieve that magic ?  ;) :)
>
>Thank you very much in advance for any help!
>Best regards,
>Meino

I would create a script that partitions and formats the sdcard.
Then untar the contents of the partitions
Then set up the bootloader.

This should lead to a small size which is also user friendly.

--
Joost 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: Adobe flash warning and tree

2016-01-15 Thread Dale
Mick wrote:
> On Friday 15 Jan 2016 03:02:07 Dale wrote:
>> Nikos Chantziaras wrote:
>>> On 15/01/16 10:15, Peter Weilbacher wrote:
 On Thu, 14 Jan 2016, Nikos Chantziaras wrote:
> I thought these are only security fixes? Version 20 is actully
> feature-complete and in-par with the Windows version 20.
>
> v11.2.202.559 might be from December, but it's based on an ancient
> version
> from many years ago feature-wise.
 That may well be the case. But who cares about features in a tool that's
 basically dead and only installed on 99.9% of the machines because some
 stupid websites[1] need it?

 Peter.

 [1] That work with the feature set of v11.2 -- at least I haven't heard
 otherwise.
>>> You haven't visited enough porn sites then :-P
>> Well, so far that weather radar site is the only one that I have found
>> that needs flash.  If they would switch it to HTML5, flash could be
>> gone.  I wouldn't complain about that.
>>
>> Dale
>>
>> :-)  :-)
> In the UK websites like Channel 5 will not play on Linux any more:
>
> http://www.channel5.com/demand5
>
> They said that they will not support the platform (too small a percentage of 
> users) although I am not sure how android based smart TVs can stream this 
> channel.


I've seen that before.  I use that user agent plugin to switch to
something it likes.  Generally, it works.  Basically, you tell the
browser to lie and tell it is a windoze machine with IE and carry on. 
So far, that has always worked for me. 

By the way, my bank, credit card company and several other sites don't
support Linux.  They still work just fine.  It's just that some still
use flash and flash is sort of sick at the moment. 

Dale

:-)  :-) 



Re: [gentoo-user] {OT} Allow work from home?

2016-01-15 Thread Daniel Frey
On 01/15/2016 09:18 PM, waben...@gmail.com wrote:
> Grant  wrote:
> 
>> I'm considering allowing some employees to work from home but I'm
>> concerned about the security implications.  Currently everybody shows
>> up and logs into their locked down Gentoo system and from there is
>> able to access the company webapps which are restricted to the office
>> IP address.  I guess I would have to allow webapp access from any IP
>> for those users and trust that their computer is secure?  Should that
>> not be scary?
>>
>> - Grant
> 
> I would use OpenVPN for that. If you don't trust their systems, you 
> could provide a Live-System media for them if that is possible.
> 
> --
> Regards
> wabe
> 
> 

I would use VPN + an X server that can spawn sessions on demand. This
way it all stays internal on the work network.

I do something similar at work for our Windows clients, it was simple to
set up there.

I've set up my home server to act as a Windows-type terminal server
using X and tigervnc. It actually works well, but I never got into
multiuser and dealing with logon scripts and the like (you may or may
not need this to deal with user documents and the like.)

Dan



Re: [gentoo-user] Creating an firmware image from a too large microSDcard...?

2016-01-15 Thread Meino . Cramer
J. Roeleveld  [16-01-16 07:24]:
> On 16 January 2016 04:50:49 CET, meino.cra...@gmx.de wrote:
> >Hi,
> >
> >to post a firmware image of my embedded linux computer
> >to a friend I want to size it down.
> >
> >System wise I did that already (only the really necessary
> >stuff of Gentoo plus some configuration and addons related
> >to the embedded system)...the problem comes with the size of
> >the microSDcard I use: 32 GB
> >
> >The microSDcard (source) has two partitions (boot + the rest).
> >The boot partition is the first partition and it is of a fixed
> >and tiny size. The second partition contains the "rest": Gentoo.
> >Currently the used space of this partition is also small.
> >
> >The image needs to be of a format, which makes
> >it possble to 'dd' it onto a microSDcard (target) and afterwards use
> >g/parted to resize/expand the second partition to the end
> >of the microSDcard to get all storage space available.
> >
> >If I dd the source into an image I get all those zeroes also and
> >the image only will fit onto a microSDcard (target) of at least
> >the same size.
> >
> >If I dd each partition separately I get two files and the partition
> >table is not copied...may be technically possible but not user
> >friendly.
> >
> >How can I manage to get an image from my microSDcard (source), which
> >only consists of the used space in a way that it can be put onto 
> >another microSDcard (target) in the waay described above?
> >
> >How can I acchieve that magic ?  ;) :)
> >
> >Thank you very much in advance for any help!
> >Best regards,
> >Meino
> 
> I would create a script that partitions and formats the sdcard.
> Then untar the contents of the partitions
> Then set up the bootloader.
> 
> This should lead to a small size which is also user friendly.
> 
> --
> Joost 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> 

Hi Joost,

thanks for your help.

Due to technical circumstances I am urged to use the "dd-way" to 
create the contents.

How can I accomplish, what I have described?

Thank you very much in advance for any help ! :)

Best regards,
Meino





Re: [gentoo-user] {OT} Allow work from home?

2016-01-15 Thread Alan McKinnon
On 16/01/2016 06:17, Grant wrote:
> I'm considering allowing some employees to work from home but I'm
> concerned about the security implications.  Currently everybody shows up
> and logs into their locked down Gentoo system and from there is able to
> access the company webapps which are restricted to the office IP
> address.  I guess I would have to allow webapp access from any IP for
> those users and trust that their computer is secure?  Should that not be
> scary?
> 
> - Grant


I have experience in this area. I work at ISPs where working from home
is routine and required for overnight standby.

You need a VPN, I'd recommend OpenVPN. It's easy to set up and offers
the security levels you need. Use the Layer3 routing option that uses
tun drivers (not tap) and issue the certificates to the users yourself.
Then allow your servers to accept connections from the VPN range as well
as the internal office range

As for the security levels of their personal machines, tell them what
you require and from that point on you really have to trust your people
so be security aware and with the program.

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




[gentoo-user] Re: Adobe flash warning and tree

2016-01-15 Thread Nikos Chantziaras

On 15/01/16 10:15, Peter Weilbacher wrote:

On Thu, 14 Jan 2016, Nikos Chantziaras wrote:


I thought these are only security fixes? Version 20 is actully
feature-complete and in-par with the Windows version 20.

v11.2.202.559 might be from December, but it's based on an ancient version
from many years ago feature-wise.


That may well be the case. But who cares about features in a tool that's
basically dead and only installed on 99.9% of the machines because some
stupid websites[1] need it?
Peter.

[1] That work with the feature set of v11.2 -- at least I haven't heard
otherwise.


You haven't visited enough porn sites then :-P




Re: [gentoo-user] Re: Adobe flash warning and tree

2016-01-15 Thread Dale
Nikos Chantziaras wrote:
> On 15/01/16 10:15, Peter Weilbacher wrote:
>> On Thu, 14 Jan 2016, Nikos Chantziaras wrote:
>>
>>> I thought these are only security fixes? Version 20 is actully
>>> feature-complete and in-par with the Windows version 20.
>>>
>>> v11.2.202.559 might be from December, but it's based on an ancient
>>> version
>>> from many years ago feature-wise.
>>
>> That may well be the case. But who cares about features in a tool that's
>> basically dead and only installed on 99.9% of the machines because some
>> stupid websites[1] need it?
>> Peter.
>>
>> [1] That work with the feature set of v11.2 -- at least I haven't heard
>> otherwise.
>
> You haven't visited enough porn sites then :-P
>
>
>


Well, so far that weather radar site is the only one that I have found
that needs flash.  If they would switch it to HTML5, flash could be
gone.  I wouldn't complain about that. 

Dale

:-)  :-)