[gentoo-user] Re: [SOLVED] dependancy xorg-server

2015-02-07 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 02/07/2015 07:19 PM, Joseph wrote:
> On 02/07/15 21:38, Neil Bothwick wrote:
>> On Sat, 7 Feb 2015 14:06:30 -0700, Joseph wrote:
>> 
>>> I'll try it next time. When I upgrade and have to scroll via
>>> 200+ messages of emerge packages it is easy to not to notice
>>> about some critical information; in my case "grub" that was
>>> calling to run "grub-install" or the system will not boot. I
>>> wish the packages without any changes or warning wouldn't even
>>> show up after upgrade.
>> 
>> 1) Don't leave it so long between upgrades.
> 
> I usually try not to exceed 2-months between upgrades. I think this
> is a reasonable time.
> 
> I upgrade my backup machines first and if nothing happen (no
> surprises) I proceed with main server upgrade.  Wait for one week
> and if everything is working correctly I upgrade my boxes in a
> remote location over ssh. All boxes are rsync to single local box.
> Oh, and I check gentoo news group for discussion as well :-) prior
> to upgrades.
> 
>> 2) Read man make.conf and
>> /usr/share/portage/config/make.conf.example for details of the
>> ELOG_ settings to have warnings and info mailed to you.
> 
> In my make.conf I have: PORTAGE_ELOG_CLASSES="info warn error log"
> 
> Maybe I should skip: info and log; to have less trafic.

The default is "log warn error"; "info" is normally used to describe
what is going on in the middle of a build; the log/warn/error levels
may be used to inform the user of actions required after a build.

- -- 
Jonathan Callen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJU1sHSAAoJEEIQbvYRB3mg3FoQAOGp8FVzcVToVMyFvcnYV2h9
hROGkue39JfsjlGz2btmwnSGiXQysIUzjom+Ffb5oJX5u6VAcD5XXo+NLAi0XhOD
R/vd0vHdchxOIM8Nftz+8TO6FAwlEyRp1VU7CHyrV3iO9kNpaAR4e8FOrtakRZFk
b/GlWkD7eQO4cavvztnTmFNbf6RMnbO2qvRPeJuIjXqJfW5TWawxg6zWCJ01wxbJ
T4PZzY2KtxlGo6EpTFrGusXlUfF/VzXS6JORzXZDE3xKJr3si+HO1bw+431GPsUw
afRwPa8wQehZnaNngqf2LATEpjH8oeQH9/5Mj8RmQ+a/Jp5+me+Mdu8flwskp1MU
SClWDfC2w8mag0nIt0WDmAdgYkYFvH0Kbv58ytCQg0eoIDyAkXHdIl6rUpnxI0rM
7g9a40xEf5BY3Kp/fMb3n4FcDeDsr6YJQU9kjsz3RV3PxLWMQM9NdiaTuGzfpK3F
i8HbeJ7TrRZ+qdhL6hefyfD+wkahoETcY4q4d8ewoVK3+rYz8Nclp/XcJTHYkGC2
biAaD+RjZQh74fLgEkzZUPcCHEyrKMAQtuv7bySd8wDjaLk3uy3m3WmpuuVdtl5o
+/ZZ01A6pSsuJB5YtZ5FRqPSkY5q1dSpf+Lq85rkvbQrjjCBcVfjlOxzkcDM/CJD
cqJA2+RBZ5ZJ2J+KlDQ3
=+fsp
-END PGP SIGNATURE-



Re: [gentoo-user] Making a new frame-buffer console font

2015-02-07 Thread wabenbau
Am Sonntag, 08.02.2015 um 01:16
schrieb :

> Am Samstag, 07.02.2015 um 09:59
> schrieb Peter Humphrey :
> 
> > On Wednesday 04 February 2015 20:00:32 waben...@gmail.com wrote:
> > 
> > > I also use terminus-font as console font and even as X11 desktop
> > > font since many years. It's readability is very good.
> > 
> > I hadn't thought of it for Konsole, but now I have and I like it.
> > But something's odd here: I've chosen the 17pt size, and I wanted to
> > delete the oblique stroke from it, but as far as I can see there
> > isn't a 17pt font anywhere on the system! Unless it's hidden in a
> > file with no 17 in its name, or Konsole is scaling the font itself.
> > 
> > Any ideas, anyone?
> > 
> 
> Not all sizes are available, that's true. It is a little bit as a
> fixed font. :-)
> 
> I don't know what you mean with oblique stroke. Do you mean the
> slash through the letter zero? Anyway, I don't know how to remove it.

Sorry, I meant bitmap font and not fixed font. And I'm not sure, but I
think it is indeed a bitmap font.

Regards
wabe



Re: [gentoo-user][SOLVED] dependancy xorg-server

2015-02-07 Thread Joseph

On 02/07/15 21:38, Neil Bothwick wrote:

On Sat, 7 Feb 2015 14:06:30 -0700, Joseph wrote:


I'll try it next time. When I upgrade and have to scroll via 200+
messages of emerge packages it is easy to not to notice about some
critical information; in my case "grub" that was calling to run
"grub-install" or the system will not boot. I wish the packages without
any changes or warning wouldn't even show up after upgrade.


1) Don't leave it so long between upgrades.


I usually try not to exceed 2-months between upgrades.
I think this is a reasonable time.

I upgrade my backup machines first and if nothing happen (no surprises) I proceed with main server upgrade.  Wait for one week and if everything is working correctly 
I upgrade my boxes in a remote location over ssh. All boxes are rsync to single local box. Oh, and I check gentoo news group for discussion as well :-) prior to 
upgrades.



2) Read man make.conf and /usr/share/portage/config/make.conf.example for
  details of the ELOG_ settings to have warnings and info mailed to you.


In my make.conf I have:
PORTAGE_ELOG_CLASSES="info warn error log"

Maybe I should skip: info and log; to have less trafic. 


--
Joseph



Re: [gentoo-user] Making a new frame-buffer console font

2015-02-07 Thread wabenbau
Am Samstag, 07.02.2015 um 09:59
schrieb Peter Humphrey :

> On Wednesday 04 February 2015 20:00:32 waben...@gmail.com wrote:
> 
> > I also use terminus-font as console font and even as X11 desktop
> > font since many years. It's readability is very good.
> 
> I hadn't thought of it for Konsole, but now I have and I like it. But 
> something's odd here: I've chosen the 17pt size, and I wanted to
> delete the oblique stroke from it, but as far as I can see there
> isn't a 17pt font anywhere on the system! Unless it's hidden in a
> file with no 17 in its name, or Konsole is scaling the font itself.
> 
> Any ideas, anyone?
> 

Not all sizes are available, that's true. It is a little bit as a fixed
font. :-)

I don't know what you mean with oblique stroke. Do you mean the
slash through the letter zero? Anyway, I don't know how to remove it.

Regards
wabe



Re: [gentoo-user] Re: rdesktop problems 1.8.2 -> 1.8.3

2015-02-07 Thread Matthias Hanft
R0b0t1 wrote:
> Anyone using rdesktop may wish to consider FreeRDP. The only minor issue I've 
> had is not being able to get copy and paste working, but it should.

Works like a charm, thank you! (Just a quick test, didn't try copy&paste yet.)

-Matt




Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Dale
Neil Bothwick wrote:
> On Sat, 07 Feb 2015 15:35:41 -0600, Dale wrote:
>
>> DRACUT_MODULES="(-biosdevname%) (-bootchart%) (-btrfs%) (-caps%)
>> (-cifs%) (-crypt%) (-crypt-gpg%) (-crypt-loop%) (-dash%) (-dmraid%)
>> (-dmsquash-live%) (-gensplash%) (-iscsi%) (-livenet%) (-lvm%*)
>> (-mdraid%) (-multipath%) (-nbd%) (-nfs%) (-plymouth%) (-ssh-client%)
>> (-syslog%) (-systemd%)" 0 KiB
>>
>> Total: 1 package (1 upgrade), Size of downloads: 0 KiB
>> root@fireball / #
>>  
>>
>>
>> The old version seems fine with my config and enables lvm etc.  The new
>> version says no and disables everything.  I've read the wiki page and I
>> have no clue why it is doing that.
> From the Changelog:
>
>   At the request of QA team the use of DRACUT_MODULES use-expand has been
>   removed as well as run-time (pseudo-suggested) dependencies.  Instead,
>   the list of suggested dependencies is printed in postinst log message.
>   See bug #498832.
>
> So DRACUT_MODULES is no longer used.
>
>



Great.  I peeked in the ebuild but didn't check the changelog.  So, I'll
try removing the line and see what blows up.  Jeez, what a way to find
out.  lol

Thanks.

Dale

:-)  :-)




Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Neil Bothwick
On Sat, 07 Feb 2015 15:35:41 -0600, Dale wrote:

> DRACUT_MODULES="(-biosdevname%) (-bootchart%) (-btrfs%) (-caps%)
> (-cifs%) (-crypt%) (-crypt-gpg%) (-crypt-loop%) (-dash%) (-dmraid%)
> (-dmsquash-live%) (-gensplash%) (-iscsi%) (-livenet%) (-lvm%*)
> (-mdraid%) (-multipath%) (-nbd%) (-nfs%) (-plymouth%) (-ssh-client%)
> (-syslog%) (-systemd%)" 0 KiB
> 
> Total: 1 package (1 upgrade), Size of downloads: 0 KiB
> root@fireball / #
>  
> 
> 
> The old version seems fine with my config and enables lvm etc.  The new
> version says no and disables everything.  I've read the wiki page and I
> have no clue why it is doing that.

From the Changelog:

  At the request of QA team the use of DRACUT_MODULES use-expand has been
  removed as well as run-time (pseudo-suggested) dependencies.  Instead,
  the list of suggested dependencies is printed in postinst log message.
  See bug #498832.

So DRACUT_MODULES is no longer used.


-- 
Neil Bothwick

Do radioactive cats have 18 half-lives?


pgpuYiR3QbC_S.pgp
Description: OpenPGP digital signature


Re: [gentoo-user][SOLVED] dependancy xorg-server

2015-02-07 Thread Neil Bothwick
On Sat, 7 Feb 2015 14:06:30 -0700, Joseph wrote:

> I'll try it next time. When I upgrade and have to scroll via 200+
> messages of emerge packages it is easy to not to notice about some
> critical information; in my case "grub" that was calling to run
> "grub-install" or the system will not boot. I wish the packages without
> any changes or warning wouldn't even show up after upgrade.

1) Don't leave it so long between upgrades.

2) Read man make.conf and /usr/share/portage/config/make.conf.example for 
   details of the ELOG_ settings to have warnings and info mailed to you.


-- 
Neil Bothwick

Taglines are like cars - You get a good one, then someone nicks it.


pgpoR3tnlmPic.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Dale
Rich Freeman wrote:
> On Sat, Feb 7, 2015 at 3:57 PM, Dale  wrote:
>> DRACUT_MODULES="... (-lvm%) ..." 0 KiB
>>
> Just a guess, but that might be part of your problem.  :)
>


It is.  Thing is, it changes with the new package and I don't touch the
config files.  I ran this back to back without touching a config file or
even changing screens:



root@fireball / # emerge -vp =sys-kernel/dracut-034-r4

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] sys-kernel/dracut-034-r4  USE="device-mapper -debug
-net (-selinux)" DRACUT_MODULES="lvm -biosdevname -bootchart -btrfs
-caps -cifs -crypt -crypt-gpg -crypt-loop -dash -dmraid -dmsquash-live
-gensplash -iscsi -livenet -mdraid -multipath -nbd -nfs -plymouth
-ssh-client -syslog -systemd" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
root@fireball / # emerge -vp =sys-kernel/dracut-040-r3

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ~] sys-kernel/dracut-040-r3 [034-r4] USE="-debug
(-selinux) -systemd% (-device-mapper%*) (-net%)"
DRACUT_MODULES="(-biosdevname%) (-bootchart%) (-btrfs%) (-caps%)
(-cifs%) (-crypt%) (-crypt-gpg%) (-crypt-loop%) (-dash%) (-dmraid%)
(-dmsquash-live%) (-gensplash%) (-iscsi%) (-livenet%) (-lvm%*)
(-mdraid%) (-multipath%) (-nbd%) (-nfs%) (-plymouth%) (-ssh-client%)
(-syslog%) (-systemd%)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB
root@fireball / #
 


The old version seems fine with my config and enables lvm etc.  The new
version says no and disables everything.  I've read the wiki page and I
have no clue why it is doing that.  It's like everything is forced off
regardless of settings.  I even peeked in the ebuild and still no idea,
not that I thought the ebuild would help me anyway.   ;-) 

With the old dracut, I've got the thing built and grub sees it and
updates.  I'm not rebooting until I have a plan B tho.  I'm on grub2 by
the way.

Dale

:-)  :-) 




Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Rich Freeman
On Sat, Feb 7, 2015 at 3:57 PM, Dale  wrote:
> DRACUT_MODULES="... (-lvm%) ..." 0 KiB
>

Just a guess, but that might be part of your problem.  :)

-- 
Rich



Re: [gentoo-user][SOLVED] dependancy xorg-server

2015-02-07 Thread Joseph

On 02/07/15 19:53, Neil Bothwick wrote:

On Sat, 7 Feb 2015 09:10:46 -0700, Joseph wrote:


>Portage is excessively verbose in it's output. With -v it dumps all
>sorts of info to the console and it's incredibly hard to read.
>
>It especially likes to print the full reasoning why it doesn't upgrade
>some package to latest due to a dependency requirement, and it's this
>that usually hides actual real problems in amongst all the noise.
>
>The level of verbosity from portage over the past year really should
>only be shown with -vvv



Thank for the hint, never thought about it. I'll try next time "emerge
-uDNavvvq world


Alan was saying that portage is already very verbose, you are better off
running with no -v options. That way you only see true errors and serious
warnings and not all the irrelevant stuff that just gets in the way.


Yes, it was very hard to read and duped information
into the screen that wasn't relevant.


Exactly, cut down on the irrelevant information by not using -v.

--
Neil Bothwick

Sisko:"I won't be condescending to you this episode, Dr. Bashir."


Got it.
I'll try it next time. When I upgrade and have to scroll via 200+ messages of emerge packages it is easy to not to notice about some critical information; in my 
case "grub" that was calling to run "grub-install" or the system will not boot.

I wish the packages without any changes or warning wouldn't even show up after 
upgrade.

--
Joseph



Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Dale
Rich Freeman wrote:
> On Sat, Feb 7, 2015 at 2:25 PM, Dale  wrote:
>> My partitions are something like this.  Normal partitions, /boot and
>> root itself.  /usr and /var on LVM.
> Gentoo dropped support for booting without mounting /usr early in boot
> a while back.  That isn't to say that it would have instantly stopped
> working, but there is no requirement for package maintainers to
> support this configuration, and many upstreams have been moving in
> directions that will tend to break this.
>
> There are many ways to get around this.  The most common is to mount
> /usr from your initramfs.  Another option is to run a script early
> during boot to mount /usr, ensuring that the necessary tools to do so
> are on your root partition.  Another option is to put /usr on your
> root partition. I'm sure there are other options as well, but in
> general you can't always rely on your root partition being able to
> mount /usr these days.
>
> --
> Rich
>
>

Yea, I went through this before.  Thing is tho, those init thingys have
a history of screwing up with me even before I started using Gentoo.  It
was one reason I switched distros.  I was using Mandrake before Gentoo. 
When I tried a while back, the init thingy failed and I couldn't boot
with it.  Once I got it working, I didn't even touch it again.  No clue
why it stopped working even tho it worked for a while.  At some point,
it'll fail and I can't boot either way, with or without a init thingy. 
At that point, it could be new distro time.  I like Gentoo but as I have
said before, when a OS stops suiting my needs, like booting up, then
I'll switch.  This computer is a doorstop when the OS doesn't boot. 

I've made some progress but the latest dracut won't include the stuff it
needs so I had to go back to a older version.  No clue why the old one
will work and the new one won't.  I've played with the config files but
the new one is persistent on not including what I need. 

[ebuild U ~] sys-kernel/dracut-040-r3 [034-r4] USE="-debug
(-selinux) -systemd% (-device-mapper%*) (-net%)"
DRACUT_MODULES="(-biosdevname%) (-bootchart%) (-btrfs%) (-caps%)
(-cifs%) (-crypt%) (-crypt-gpg%) (-crypt-loop%) (-dash%) (-dmraid%)
(-dmsquash-live%) (-gensplash%) (-iscsi%) (-livenet%) (-lvm%) (-mdraid%)
(-multipath%) (-nbd%) (-nfs%) (-plymouth%) (-ssh-client%) (-syslog%)
(-systemd%)" 0 KiB

[ebuild   R   ~] sys-kernel/dracut-034-r4  USE="device-mapper -debug
-net (-selinux)" DRACUT_MODULES="lvm* -biosdevname -bootchart -btrfs
-caps -cifs -crypt -crypt-gpg -crypt-loop -dash -dmraid -dmsquash-live
-gensplash -iscsi -livenet -mdraid -multipath -nbd -nfs -plymouth
-ssh-client -syslog -systemd" 0 KiB

Top one seems to leave out lvm no matter what and the bottom includes
them just fine.  Old one it is, which puts me behind from the get go. 
Before I reboot again, going to update some install DVDs.  ;-)

Dale

:-)  :-) 




Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Rich Freeman
On Sat, Feb 7, 2015 at 2:25 PM, Dale  wrote:
> My partitions are something like this.  Normal partitions, /boot and
> root itself.  /usr and /var on LVM.

Gentoo dropped support for booting without mounting /usr early in boot
a while back.  That isn't to say that it would have instantly stopped
working, but there is no requirement for package maintainers to
support this configuration, and many upstreams have been moving in
directions that will tend to break this.

There are many ways to get around this.  The most common is to mount
/usr from your initramfs.  Another option is to run a script early
during boot to mount /usr, ensuring that the necessary tools to do so
are on your root partition.  Another option is to put /usr on your
root partition. I'm sure there are other options as well, but in
general you can't always rely on your root partition being able to
mount /usr these days.

--
Rich



Re: [gentoo-user][SOLVED] dependancy xorg-server

2015-02-07 Thread Neil Bothwick
On Sat, 7 Feb 2015 09:10:46 -0700, Joseph wrote:

> >Portage is excessively verbose in it's output. With -v it dumps all
> >sorts of info to the console and it's incredibly hard to read.
> >
> >It especially likes to print the full reasoning why it doesn't upgrade
> >some package to latest due to a dependency requirement, and it's this
> >that usually hides actual real problems in amongst all the noise.
> >
> >The level of verbosity from portage over the past year really should
> >only be shown with -vvv

> Thank for the hint, never thought about it. I'll try next time "emerge
> -uDNavvvq world

Alan was saying that portage is already very verbose, you are better off
running with no -v options. That way you only see true errors and serious
warnings and not all the irrelevant stuff that just gets in the way.

> Yes, it was very hard to read and duped information
> into the screen that wasn't relevant.

Exactly, cut down on the irrelevant information by not using -v.


-- 
Neil Bothwick

Sisko:"I won't be condescending to you this episode, Dr. Bashir."


pgp9vesflnv2Y.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Dale
cov...@ccs.covici.com wrote:
> Dale  wrote:
>
>> Howdy,
>>
>> I had a drive to fail and removed it.  When booting back up, I noticed
>> these errors flying by at close to warp speed.  I dug in the log to see
>> what they were about.  I hope this pastes in a readable way.
>>
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>>  * Starting lvmetad ...[ ok ]
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>>  * Setting up the Logical Volume Manager ...
>>   /run/lvm/lvmetad.socket: connect failed: No such file or directory
>>   WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
>>  [ ok ]
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>> /etc/init.d/device-mapper: line 64: awk: command not found
>> /etc/init.d/device-mapper: line 65: uniq: command not found
>> /etc/init.d/device-mapper: line 64: awk: command not found
>> /etc/init.d/device-mapper: line 65: uniq: command not found
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>>
>> << SNIP >>
>>
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>> /etc/init.d/chronyd: line 30: awk: command not found
>>  * Starting chronyd ...
>>  * start-stop-daemon: /usr/sbin/chronyd does not exist
>>  * Failed to start chronyd
>>  [ !! ]
>>  * ERROR: chronyd failed to start
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>>
>>
>> I had it set to run fsck on all file systems so I snipped that part
>> out.  It's just clutter for what I am needing to know.  Anyway, when I
>> got booted up, the chrony process did not start.  The LVM stuff did
>> retry later but who knows how long it will be before that changes.  LVM
>> and chrony seems to be having a issue with not having awk, uniq and
>> such.  The setlocale error has been around since like forever.   I don't
>> guess it matters to much.  :-D 
>>
>> Does it appear that LVM is going to require a init thingy to get a clean
>> boot or is it something else?  I sorta hope it is something else.  That
>> init thingy is not a path I want to go down again.  May switch away from
>> LVM and try something else. 
>>
>> Oh, I am using evdev. 
>>
>> Thoughts??
> Are you sure /usr was mounted?  If its on a separate lvm volume, I would
> definitely use an initrd, as various tools assume /usr is mounted these
> days -- the init thingy can do that for you.
>

My partitions are something like this.  Normal partitions, /boot and
root itself.  /usr and /var on LVM.  Those are on one drive.  I also
have /home on LVM on its own drive.  At that point, I'm pretty sure /usr
wasn't mounted.  I think / and /boot were only mounted ro too.  It was
somewhat early in the boot process.

I'm trying to build one following the wiki.  So far, nothing.  I got
some neato error messages tho.  So far, nothing in /boot that look
inity.  This is why I don't like these things.  I finally got one to
build a long time ago and it booted several times.  Then one day, the
init thingy failed.  I edited grub and booted without the init thingy
and it booted fine.  When I tried again, the init failed again just like
before so I booted without it and then deleted the thing since it didn't
work anyway.  That was the last time I had one on here. 

This could get fun.  I figure I will be very pissed before the day is
over.  This could be a hal type situation.  Old timers know what that
means. 

Dale

:-)  :-) 




Re: [gentoo-user] Boot up error messages. Init thingy needed now??

2015-02-07 Thread covici
Dale  wrote:

> Howdy,
> 
> I had a drive to fail and removed it.  When booting back up, I noticed
> these errors flying by at close to warp speed.  I dug in the log to see
> what they were about.  I hope this pastes in a readable way.
> 
> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>  * Starting lvmetad ...[ ok ]
> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>  * Setting up the Logical Volume Manager ...
>   /run/lvm/lvmetad.socket: connect failed: No such file or directory
>   WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
>  [ ok ]
> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
> /etc/init.d/device-mapper: line 64: awk: command not found
> /etc/init.d/device-mapper: line 65: uniq: command not found
> /etc/init.d/device-mapper: line 64: awk: command not found
> /etc/init.d/device-mapper: line 65: uniq: command not found
> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
> 
> << SNIP >>
> 
> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
> /etc/init.d/chronyd: line 30: awk: command not found
>  * Starting chronyd ...
>  * start-stop-daemon: /usr/sbin/chronyd does not exist
>  * Failed to start chronyd
>  [ !! ]
>  * ERROR: chronyd failed to start
> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
> 
> 
> I had it set to run fsck on all file systems so I snipped that part
> out.  It's just clutter for what I am needing to know.  Anyway, when I
> got booted up, the chrony process did not start.  The LVM stuff did
> retry later but who knows how long it will be before that changes.  LVM
> and chrony seems to be having a issue with not having awk, uniq and
> such.  The setlocale error has been around since like forever.   I don't
> guess it matters to much.  :-D 
> 
> Does it appear that LVM is going to require a init thingy to get a clean
> boot or is it something else?  I sorta hope it is something else.  That
> init thingy is not a path I want to go down again.  May switch away from
> LVM and try something else. 
> 
> Oh, I am using evdev. 
> 
> Thoughts??

Are you sure /usr was mounted?  If its on a separate lvm volume, I would
definitely use an initrd, as various tools assume /usr is mounted these
days -- the init thingy can do that for you.

-- 
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] Boot up error messages. Init thingy needed now??

2015-02-07 Thread Dale
Howdy,

I had a drive to fail and removed it.  When booting back up, I noticed
these errors flying by at close to warp speed.  I dug in the log to see
what they were about.  I hope this pastes in a readable way.

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
 * Starting lvmetad ...[ ok ]
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
 * Setting up the Logical Volume Manager ...
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
 [ ok ]
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
/etc/init.d/device-mapper: line 64: awk: command not found
/etc/init.d/device-mapper: line 65: uniq: command not found
/etc/init.d/device-mapper: line 64: awk: command not found
/etc/init.d/device-mapper: line 65: uniq: command not found
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)

<< SNIP >>

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
/etc/init.d/chronyd: line 30: awk: command not found
 * Starting chronyd ...
 * start-stop-daemon: /usr/sbin/chronyd does not exist
 * Failed to start chronyd
 [ !! ]
 * ERROR: chronyd failed to start
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)


I had it set to run fsck on all file systems so I snipped that part
out.  It's just clutter for what I am needing to know.  Anyway, when I
got booted up, the chrony process did not start.  The LVM stuff did
retry later but who knows how long it will be before that changes.  LVM
and chrony seems to be having a issue with not having awk, uniq and
such.  The setlocale error has been around since like forever.   I don't
guess it matters to much.  :-D 

Does it appear that LVM is going to require a init thingy to get a clean
boot or is it something else?  I sorta hope it is something else.  That
init thingy is not a path I want to go down again.  May switch away from
LVM and try something else. 

Oh, I am using evdev. 

Thoughts??

Dale

:-)  :-) 




Re: [gentoo-user] SMART drive test results, 2.0 for same drive as before.

2015-02-07 Thread Dale
J. Roeleveld wrote:
> On 7 February 2015 17:25:22 CET, Dale  wrote:
>> A little update on this drive for those interested. I get this now.
>> root@fireball / # smartctl --all /dev/sdd smartctl 6.3 2014-07-26
>> r3976 [x86_64-linux-3.16.3-gentoo] (local build) Copyright (C)
>> 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org ===
>> START OF INFORMATION SECTION === Vendor: /4:0:0:0 Product:
>> Compliance: SPC-5 User Capacity: 600,332,565,813,390,450 bytes [600
>> PB] Logical block size: 774843950 bytes scsiModePageOffset: response
>> length too short, resp_len=47 offset=50 bd_len=46 scsiModePageOffset:
>> response length too short, resp_len=47 offset=50 bd_len=46
 Terminate command early due to bad response to IEC mode page
>> A mandatory SMART command failed: exiting. To continue, add one or more
>> '-T permissive' options.
>> root@fireball / #
>>
>> If I use cgdisk, I get this first thing.
>>
>> Warning! Non-GPT or damaged disk detected! This program will attempt to
>> convert to GPT form or repair damage to GPT data structures, but may
>> not
>> succeed. Use gdisk or another disk repair tool if you have a damaged
>> GPT
>> disk. 
>>
>> And then it says the drive is this BIG: 
>>
>> 8.0 ZiB 
>>
>> What the heck is that?  Anyway, I guess after almost 4 months of
>> uptime,
>> time to shutdown and disconnect one pretty much dead drive.  It was fun
>> playing with tho.  Now it will be fun to use as target.  ;-)
>>
>> Dale
>>
>> :-)  :-) 
> 8ZiB = 8000 PiB = 800 GiB.
> Eg. That's one really big disk!
>
> Put it with just that on Ebay and see who falls for it?
>
> --
> Joost 

Well, I got it removed now.  It seems that I may have to build one of
those init thingys again tho.  I got a few errors while booting.  New
thread on that later.   :-@ 

I googled and yea, that is a large drive.  I wonder if one that size
really even exists tho?  It seems something is ready for a drive that
big since it thinks that one is.  I guess.

At least we know now, don't trust a drive when it starts spitting out
errors like that.  Now I can practice with my new pistol tho.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] SMART drive test results, 2.0 for same drive as before.

2015-02-07 Thread J. Roeleveld
On 7 February 2015 17:25:22 CET, Dale  wrote:
>Dale wrote:
>> Howdy,
>>
>> This is concerning a hard drive I had issues with a while back.  I
>been
>> using it to do backups with as a test if nothing else.  Anyway, it
>seems
>> to have issues once again. 
>>
>>
>
>A little update on this drive for those interested.  I get this now.
>
>root@fireball / # smartctl --all /dev/sdd
>smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.16.3-gentoo] (local
>build)
>Copyright (C) 2002-14, Bruce Allen, Christian Franke,
>www.smartmontools.org
>
>=== START OF INFORMATION SECTION ===
>Vendor:   /4:0:0:0
>Product: 
>Compliance:   SPC-5
>User Capacity:600,332,565,813,390,450 bytes [600 PB]
>Logical block size:   774843950 bytes
>scsiModePageOffset: response length too short, resp_len=47 offset=50
>bd_len=46
>scsiModePageOffset: response length too short, resp_len=47 offset=50
>bd_len=46
>>> Terminate command early due to bad response to IEC mode page
>A mandatory SMART command failed: exiting. To continue, add one or more
>'-T permissive' options.
>root@fireball / #
>
>If I use cgdisk, I get this first thing.
>
>Warning! Non-GPT or damaged disk detected! This program will attempt to
>convert to GPT form or repair damage to GPT data structures, but may
>not
>succeed. Use gdisk or another disk repair tool if you have a damaged
>GPT
>disk. 
>
>And then it says the drive is this BIG: 
>
>8.0 ZiB 
>
>What the heck is that?  Anyway, I guess after almost 4 months of
>uptime,
>time to shutdown and disconnect one pretty much dead drive.  It was fun
>playing with tho.  Now it will be fun to use as target.  ;-)
>
>Dale
>
>:-)  :-) 

8ZiB = 8000 PiB = 800 GiB.
Eg. That's one really big disk!

Put it with just that on Ebay and see who falls for it?

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



[gentoo-user] Re: Nvidia and Radeon video cards in the same box.

2015-02-07 Thread James
Linux  204EastSouth.com> writes:


> One card died and I replaced it with a Radeon video card.  Can I still 
> span X across the two monitors?  Does the make/model of the cards matter 
> at all?

OK, from what I've read this does work, but requires specific configuration
in the kernel, in the xorg.conf and the target  (DE) desktop environment to
work. Also there are several ways to achieve this multi-head system and the
final outcome is sometimes constrained by a variety of factors. No
doubt this will be a "project" for you.

> More information will be provided once I know this is possible.

Exact specification of the video cards, your DE, and which method you
choose will be needed to google for specific examples and receive help
from others.

> If the answer is yes, then my next step is figuring out why I can get 
> either monitor to work alone, but can't get both of them to work together.

Yes, let's start with gentoo's page on this: [1]

Here are some additional links that, once you read them, you'll have
a basis and resources to cut snippets into a highly customized xorg.conf
file. [2]

Also, do you want one big virtual screen across the (2) monitors,
or do you want them to display form different applications? Also
do you want a second keyboard and mouse so it can also be used
like a second workstation at times? I saw a few sites that talk
about how to switch between modes. So define exactly what you want
to do and verbosely list your hardware. Then google for specific
code snippets  and cobble together your xorg.conf. Then we can
hack away at that, based on any additional features that your
chosend (DE) provides (features or management of hardware).

Last, folks are raving about multihead monitor support with LXQT
which used QT5, but that all seems to be very news.

Once you figure this out, give some feedback to the gentoo docs
team to enhance [1]. BGO would be keen for new information
on multi headed options.

hth,
James


[1] http://wiki.gentoo.org/wiki/Xorg/Multihead

[2] http://www.yolinux.com/TUTORIALS/LinuxAndDualMonitors.html

[2] http://wiki.linuxquestions.org/wiki/Multiple_Monitors_with_Nvidia

[3] https://wiki.archlinux.org/index.php/multihead

[4] http://wiki.gentoo.org/wiki/Radeon

[5] http://awesome.naquadah.org/wiki/Using_Multiple_Screens

[6] https://help.ubuntu.com/community/XineramaHowTo

[7] https://wiki.ubuntu.com/X/Config/Multihead







Re: [gentoo-user] SMART drive test results, 2.0 for same drive as before.

2015-02-07 Thread Dale
Dale wrote:
> Howdy,
>
> This is concerning a hard drive I had issues with a while back.  I been
> using it to do backups with as a test if nothing else.  Anyway, it seems
> to have issues once again. 
>
>

A little update on this drive for those interested.  I get this now.

root@fireball / # smartctl --all /dev/sdd
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.16.3-gentoo] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:   /4:0:0:0
Product: 
Compliance:   SPC-5
User Capacity:600,332,565,813,390,450 bytes [600 PB]
Logical block size:   774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50
bd_len=46
scsiModePageOffset: response length too short, resp_len=47 offset=50
bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
root@fireball / #

If I use cgdisk, I get this first thing.

Warning! Non-GPT or damaged disk detected! This program will attempt to
convert to GPT form or repair damage to GPT data structures, but may not
succeed. Use gdisk or another disk repair tool if you have a damaged GPT
disk. 

And then it says the drive is this BIG: 

8.0 ZiB 

What the heck is that?  Anyway, I guess after almost 4 months of uptime,
time to shutdown and disconnect one pretty much dead drive.  It was fun
playing with tho.  Now it will be fun to use as target.  ;-)

Dale

:-)  :-) 




Re: [gentoo-user][SOLVED] dependancy xorg-server

2015-02-07 Thread Joseph

On 02/07/15 11:45, Alan McKinnon wrote:

On 07/02/2015 08:46, Joseph wrote:

On 02/07/15 07:01, Alan McKinnon wrote:

On 06/02/2015 23:52, Joseph wrote:

I'm getting an error:

 (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for
merge) pulled in by
   (no parents that aren't satisfied by other packages in this slot)

 (x11-base/xorg-server-1.15.0:0/1.15.0::gentoo, installed) pulled in by
   x11-base/xorg-server:0/1.15.0= required by
(x11-drivers/xf86-video-intel-2.21.15:0/0::gentoo, installed)

^^
   (and 2 more with the same problem)

Why is it complaining about "x11-drivers/xf86-video-intel"; it is a
valid package.



Please post the full output from emerge


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


SOLVED,

I got that blocker after upgrade and when I tray to run: emerge -uDNavq
world
the problem was that the package dev-db/mariadb needed flag: "extraengine"
so adding to package.use
dev-db/mariadb extraengine

solved the problem.



Portage is excessively verbose in it's output. With -v it dumps all
sorts of info to the console and it's incredibly hard to read.

It especially likes to print the full reasoning why it doesn't upgrade
some package to latest due to a dependency requirement, and it's this
that usually hides actual real problems in amongst all the noise.

The level of verbosity from portage over the past year really should
only be shown with -vvv



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


Thank for the hint, never thought about it. I'll try next time "emerge 
-uDNavvvq world
Yes, it was very hard to read and duped information into the screen that wasn't 
relevant.
The package dev-db/mariadb was asking for flag: extraengine
But xorg-server showed up in front of it and I couldn't understand why.

--
Joseph



Re: [gentoo-user] Re: rdesktop problems 1.8.2 -> 1.8.3

2015-02-07 Thread R0b0t1
Anyone using rdesktop may wish to consider FreeRDP. The only minor issue I've 
had is not being able to get copy and paste working, but it should.

Re: [gentoo-user] USE-flags description?

2015-02-07 Thread Frank Steinmetzger
On Sun, Feb 01, 2015 at 06:36:29PM +0100, Jarry wrote:
> Hi Gentoo-users,
> 
> where can I find description of *all* USE flags? I checked
> /usr/portage/profiles/use.desc and use.local.desc but still
> I can not find some...
> […]
> But I'd like to know what they means, but I could not find
> any description for "aes" and "popcnt"...

A bit late, but still valid: I use ufed (use flag editor) for anything that
useflaggy that requires more than a simple lookup.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

The number you have dialled is imaginary.
Please rotate your phone by 90 degrees and try again.


signature.asc
Description: Digital signature


Re: [gentoo-user][SOLVED] Computer does not boot

2015-02-07 Thread Neil Bothwick
On Fri, 6 Feb 2015 16:44:09 -0700, Joseph wrote:

> Is there a way to view emerge notes without emerging package?
> I think in my case grub-0.97-r14 might have caused the problem.

Read the ebuild, such messages are in einfo, ewarn or elog calls.


-- 
Neil Bothwick

A clean desk is a sign of a cluttered desk drawer.


pgpDmQUSyoC4T.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Making a new frame-buffer console font

2015-02-07 Thread Peter Humphrey
On Wednesday 04 February 2015 20:00:32 waben...@gmail.com wrote:

> I also use terminus-font as console font and even as X11 desktop font
> since many years. It's readability is very good.

I hadn't thought of it for Konsole, but now I have and I like it. But 
something's odd here: I've chosen the 17pt size, and I wanted to delete 
the oblique stroke from it, but as far as I can see there isn't a 17pt 
font anywhere on the system! Unless it's hidden in a file with no 17 in 
its name, or Konsole is scaling the font itself.

Any ideas, anyone?

-- 
Rgds
Peter.




Re: [gentoo-user][SOLVED] dependancy xorg-server

2015-02-07 Thread Alan McKinnon
On 07/02/2015 08:46, Joseph wrote:
> On 02/07/15 07:01, Alan McKinnon wrote:
>> On 06/02/2015 23:52, Joseph wrote:
>>> I'm getting an error:
>>>
>>>  (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for
>>> merge) pulled in by
>>>(no parents that aren't satisfied by other packages in this slot)
>>>
>>>  (x11-base/xorg-server-1.15.0:0/1.15.0::gentoo, installed) pulled in by
>>>x11-base/xorg-server:0/1.15.0= required by
>>> (x11-drivers/xf86-video-intel-2.21.15:0/0::gentoo, installed)
>>>
>>> ^^
>>>(and 2 more with the same problem)
>>>
>>> Why is it complaining about "x11-drivers/xf86-video-intel"; it is a
>>> valid package.
>>>
>>
>> Please post the full output from emerge
>>
>>
>> -- 
>> Alan McKinnon
>> alan.mckin...@gmail.com
> 
> SOLVED,
> 
> I got that blocker after upgrade and when I tray to run: emerge -uDNavq
> world
> the problem was that the package dev-db/mariadb needed flag: "extraengine"
> so adding to package.use
> dev-db/mariadb extraengine
> 
> solved the problem.
> 

Portage is excessively verbose in it's output. With -v it dumps all
sorts of info to the console and it's incredibly hard to read.

It especially likes to print the full reasoning why it doesn't upgrade
some package to latest due to a dependency requirement, and it's this
that usually hides actual real problems in amongst all the noise.

The level of verbosity from portage over the past year really should
only be shown with -vvv



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