Re: [gentoo-user] Re: ext4 - grow_buffers: requested out-of-range block BLOCKID

2011-12-13 Thread James Broadhead
On Dec 13, 2011 12:25 a.m., Paul Hartman paul.hartman+gen...@gmail.com
wrote:

 On Mon, Dec 12, 2011 at 6:03 PM, James Broadhead
 jamesbroadh...@gmail.com wrote:
  Does it happen to be a 2TB USB drive? I remember reading about
  problems with some of those. It works in Windows with the factory
  partition/FAT tables because of tricks they do to the addressing that
  works in Windows, but once you reformat it you can't access the 2TB
  areas. Something like that... As far as I recall, you could
  repartition to create a 2TB or smaller partition and that would work,
  but then the rest of the drive was inaccessible.
 
  So on returning to this machine, I see that another USB disk that I
  have connected to it is also having those messages printed about it.
  This leads me to suspect that it's either an ext4 bug or the situation
  that you mentioned above.
 
  Both are Western Digital 2TB disks;
  1058:1130 Western Digital Technologies, Inc.
  1058:1021 Western Digital Technologies, Inc. Elements 2TB
 
  There are 42 messages in quick succession for each disk, appearing to
  cycle through the same list of blocks twice. I'll attach the messages.
 
  I'm inclined towards the bad-usb-firmware idea - do you have a link to
  where you read about the 2TB partition problem ?
 
  I don't have much time to deal with this at the moment, so I think
  that I'll just power them down and wait until I do.

 The problem I was referring to was for drives LARGER than 2TB (I think
 the real limit hits somewhere around 2.1 or 2.2TB).  So if your drives
 are 2TB then I don't think it's that problem.

 I use a 2TB external USB drive myself (LaCie brand, with a pair of
 spanned 1TB Samsung disks inside), formatted as ext4, and it works
 fine. However, that was not always the case. I had to replace the USB
 cable after I suffered a lot of corruption and random USB disconnects.
 Later on, the drive started going offline and making the click of
 death, and eventually failed to start up. It turned out to be a faulty
 power supply. They sent me a replacement free of charge, despite the
 drive being out of warranty, and it worked perfectly fine with the new
 power supply. And it has worked fine ever since.


Actually, a bit more triage shows that these errors are triggered on mount,
and only when using pmount. Mounting manually as root doesn't trigger them.

I'll have another look through my logs to see if they've happened at other
times, but for the moment I'll stop using pmount and see if it reoccurs.


Re: [gentoo-user] Re: ext4 - grow_buffers: requested out-of-range block BLOCKID

2011-12-13 Thread James Broadhead
On 2011-12-13, Walter Dnes waltd...@waltdnes.org wrote:
 On Tue, Dec 13, 2011 at 12:03:32AM +, James Broadhead wrote

 So on returning to this machine, I see that another USB disk that I
 have connected to it is also having those messages printed about it.
 This leads me to suspect that it's either an ext4 bug or the situation
 that you mentioned above.

 Both are Western Digital 2TB disks;
 1058:1130 Western Digital Technologies, Inc.
 1058:1021 Western Digital Technologies, Inc. Elements 2TB

   Could these disks be slightly larger than 2 TB?  If you you use
 make menuconfig, the setting is...

 -*- Enable the block layer  ---
 [*]   Support for large (2TB+) block devices and files

   If you edit .config manually, set...

 CONFIG_LBDAF=y

 --
 Walter Dnes waltd...@waltdnes.org



No! It's the usual SI measurement.
1.8TiB in powers-of-two.

I'll enable it anyway.



Re: [gentoo-user] ext4 inode limit reached

2011-12-13 Thread Daniel Troeder
On 13.12.2011 01:44, Frank Steinmetzger wrote:
 On my system, /usr/portage currently contains 127000 files. But for reason of
 increased performance I put it into a squashfs file.  (There was a nice howto
 on this ML some months ago).  You could try that, which will free those inodes
 up and ideally leaves you with one used inode for the squashfs image. Plus, if
 you have enough RAM, you could put /var/tmp/portage into tmpfs. I have 3GB,
 and this is fairly enough. For other hogs like firefox, LO and java, I use
 binary packages though.
 For comparision, I too have one (seldom two) kernel source trees and 
 everything
 else on / except /home. And while of the 17GB capacity barely 1GB is left 
 free,
 I still have 480k inodes free of the 1M in total. (I figured that I may have
 more space for content if I reserved less for inodes).
I had portage in a squashfs before too - that was nice :)
That's also the reason I had /usr/portage /var/cache/edb and /var/db/pkg
on one filesystem - all together in the squashfs :)
Because one day my / became full I moved /usr/src onto that partition
too (it was now on a reiser3fs). All fine, and other partitions less
fragmented... until I moved to ext4.

Now I have a SSD, and it's simpler than squashfs'ing and still fast.
distfiles is on a HDD (Thinkpad notebook with ultrabay - love it) and
compilation on tmpfs (8GB RAM, so no problems). I always have like 8
kernel trees lying around, so there are already like 400k files... For
various reasons I like to keep my stuff on separate partitions - my
system is distributed over 6 partitions and my personal data over 3
partitions :)

That inode-trouble was actually quiet interesting ;)

Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-13 Thread Frank Steinmetzger
On Tue, Dec 13, 2011 at 12:27:09PM +0700, Pandu Poluan wrote:

   I'm sure they are. In the interview [1], Lameter said that quote
   NASDAQ uses a modified version of the Gentoo Linux distribution.
   /quote
  
   modified version? That practically screams ricers! to me :-D
 
  I didn't know there was such a thing as unmodified Gentoo.
 
  I'm pretty sure each of my 4 installations is unique...
 
 
 Certainly you don't expect NASDAQ guys to openly admit they're ricers, do
 you? ;-)

Nor would they wanna say they were using some stock Linux. After all, the
financial market is the most important in the world and the best on the planet
is hardly good enough for their requirements.

Ah, and look at my very fitting random sig.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

The Computer is the logical advancement of humankind:
intelligence without morality.


pgpVHJlW0jlae.pgp
Description: PGP signature


Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-13 Thread LinuxIsOne
On Tue, Dec 13, 2011 at 7:22 AM, Frank Steinmetzger war...@gmx.de wrote:

 The Computer is the logical advancement of humankind:
 intelligence without morality.

+1



Re: [gentoo-user] What happened to OpenRC 0.9.6?

2011-12-13 Thread Florian Philipp
Am 13.12.2011 00:25, schrieb Alan McKinnon:
 On Mon, 12 Dec 2011 23:23:16 +0100
 Florian Philipp li...@binarywings.net wrote:
 
 Same here. All my server VMs work just fine with parallel enabled.
 There's nothing complex in them, they tend to be single-service
 machines.
   

 Don't tell me you reboot your servers so often that it is necessary to
 tune the boot process for every last second. And please tell me you
 make the time slots for scheduled reboots large enough for trouble
 shooting, thereby not requiring every last second, either.
 
 I think you misunderstand me. I basically said:
 
 Parallel init out the box? Works for me.
 
 I said nothing else. Especially not that I test it often, that I need
 it, that I know exactly what I'm going to do with the 3 seconds I save
 or anything else other than one single data point in the discussion
 about problematic parallel init - that it works for me with simple
 setups.
 
 

Yeah, and this was not meant as an attack specifically to you. Sorry if
it sounded somewhat harsh. The issue (as stated by James) is: Is it
worth putting in effort to keep this feature? My answer is: Probably
not, for the given reasons.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-13 Thread Dale

Frank Steinmetzger wrote:

Nor would they wanna say they were using some stock Linux. After all, the
financial market is the most important in the world and the best on the planet
is hardly good enough for their requirements.

Ah, and look at my very fitting random sig.
-- Gruß | Greetings | Qapla' I forbid any use of my email addresses 
with Facebook services. The Computer is the logical advancement of 
humankind: intelligence without morality.


I added you to my list of sigs I have to watch out for.  Neil is the 
other one.  It is funny how sometimes they fit the topic of the email.


Dale

:-)  :-)

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

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




[gentoo-user] Failed to install app-misc/ca-certificate - locale problem

2011-12-13 Thread Jarry

Hi,
I just tried to update my system but emerging app-misc/ca-certificate
failed with this error:
---
 File /usr/lib64/portage/pym/portage/__init__.py, line 178, in 
_unicode_encode

s = s.encode(encoding, errors)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in 
position 68: ordinal not in range(128)


 Failed to install app-misc/ca-certificates-20111025, Log file:

 * This package installs one or more file names containing characters that
 * do not match your current locale settings. The current setting for
 * filesystem encoding is 'ANSI_X3.4-1968'.

 * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
 * Localization Guide for instructions about how to configure your
 * locale for UTF-8 encoding:
 *
 *  http://www.gentoo.org/doc/en/guide-localization.xml
---

I did not have any /etc/env.d/02locale file, so I created
one with LANG=en_GB.UTF-8 in it, but I still get the same
error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
results. I really do not understand what ca-certificates
needs to get it installed...

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



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

2011-12-13 Thread Stefan G. Weichinger
Am 04.12.2011 14:06, schrieb Stefan G. Weichinger:
 
 
 ah, one more:
 
 Now would be the time to clean up gnome-related config-stuff. I see a
 rather long login-time (between entering the password and getting the
 started desktop). I also had that under gnome-2 and somehow hoped that
 this would magically disappear w/ gnome-3.
 
 What files may I safely remove without losing too much of my useful
 setting?
 
 .gconf(d)

moved ~/.gconfd/saved_state aside (when logged out, sure).

It was ~3.8 GB ... no wonder, my home-dir runs full of stuff ...
first login now was quick, I'll see if it stays that way.

S




Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem

2011-12-13 Thread Michael Mol
On Tue, Dec 13, 2011 at 10:40 AM, Jarry mr.ja...@gmail.com wrote:
 Hi,
 I just tried to update my system but emerging app-misc/ca-certificate
 failed with this error:
 ---
  File /usr/lib64/portage/pym/portage/__init__.py, line 178, in
 _unicode_encode
    s = s.encode(encoding, errors)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in
 position 68: ordinal not in range(128)

 Failed to install app-misc/ca-certificates-20111025, Log file:

  * This package installs one or more file names containing characters that
  * do not match your current locale settings. The current setting for
  * filesystem encoding is 'ANSI_X3.4-1968'.

  * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
  * Localization Guide for instructions about how to configure your
  * locale for UTF-8 encoding:
  *
  *      http://www.gentoo.org/doc/en/guide-localization.xml
 ---

 I did not have any /etc/env.d/02locale file, so I created
 one with LANG=en_GB.UTF-8 in it, but I still get the same
 error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
 results. I really do not understand what ca-certificates
 needs to get it installed...

 Jarry
 --
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.


Having set up three Gentoo installs in the last month, and I've seen
this each time.

It's blunt, but a mixture of emerge -e --keep-going @world,
shutdown -r now and emerge --resume --keep-going commands clears
it up.


-- 
:wq



Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem

2011-12-13 Thread Jarry

On 13-Dec-11 16:56, Michael Mol wrote:

I just tried to update my system but emerging app-misc/ca-certificate
failed with this error:
---
  File /usr/lib64/portage/pym/portage/__init__.py, line 178, in
_unicode_encode
s = s.encode(encoding, errors)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in
position 68: ordinal not in range(128)


Failed to install app-misc/ca-certificates-20111025, Log file:


  * This package installs one or more file names containing characters that
  * do not match your current locale settings. The current setting for
  * filesystem encoding is 'ANSI_X3.4-1968'.

  * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
  * Localization Guide for instructions about how to configure your
  * locale for UTF-8 encoding:
  *
  *  http://www.gentoo.org/doc/en/guide-localization.xml
---

I did not have any /etc/env.d/02locale file, so I created
one with LANG=en_GB.UTF-8 in it, but I still get the same
error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
results. I really do not understand what ca-certificates
needs to get it installed...


Having set up three Gentoo installs in the last month, and I've seen
this each time.

It's blunt, but a mixture of emerge -e --keep-going @world,
shutdown -r now and emerge --resume --keep-going commands clears
it up.


OMG, I have to recompile the whole world to fix it???
This is definitelly not small bug if it costs half day
of compilation time...:-(

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem

2011-12-13 Thread Michael Mol
On Tue, Dec 13, 2011 at 11:18 AM, Jarry mr.ja...@gmail.com wrote:
 On 13-Dec-11 16:56, Michael Mol wrote:

 I just tried to update my system but emerging app-misc/ca-certificate
 failed with this error:
 ---
  File /usr/lib64/portage/pym/portage/__init__.py, line 178, in
 _unicode_encode
    s = s.encode(encoding, errors)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in
 position 68: ordinal not in range(128)

 Failed to install app-misc/ca-certificates-20111025, Log file:


  * This package installs one or more file names containing characters
 that
  * do not match your current locale settings. The current setting for
  * filesystem encoding is 'ANSI_X3.4-1968'.

  * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
  * Localization Guide for instructions about how to configure your
  * locale for UTF-8 encoding:
  *
  *      http://www.gentoo.org/doc/en/guide-localization.xml
 ---

 I did not have any /etc/env.d/02locale file, so I created
 one with LANG=en_GB.UTF-8 in it, but I still get the same
 error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
 results. I really do not understand what ca-certificates
 needs to get it installed...


 Having set up three Gentoo installs in the last month, and I've seen
 this each time.

 It's blunt, but a mixture of emerge -e --keep-going @world,
 shutdown -r now and emerge --resume --keep-going commands clears
 it up.


 OMG, I have to recompile the whole world to fix it???
 This is definitelly not small bug if it costs half day
 of compilation time...    :-(

I've only *ever* seen it on fresh installs. An emerge -e @world to
propagate CFLAGS is usually an early step; I like to do it before I
install much more than 'screen' and 'vim'.

Chances are, it's some smaller thing, like getting locale settings in
place before emerging glibc or some fs tools, but I haven't tried
tracking it down more deeply.

-- 
:wq



Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem

2011-12-13 Thread Pandu Poluan
On Dec 13, 2011 10:46 PM, Jarry mr.ja...@gmail.com wrote:

 Hi,
 I just tried to update my system but emerging app-misc/ca-certificate
 failed with this error:
 ---
  File /usr/lib64/portage/pym/portage/__init__.py, line 178, in
_unicode_encode
s = s.encode(encoding, errors)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in
position 68: ordinal not in range(128)

  Failed to install app-misc/ca-certificates-20111025, Log file:

  * This package installs one or more file names containing characters that
  * do not match your current locale settings. The current setting for
  * filesystem encoding is 'ANSI_X3.4-1968'.

  * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
  * Localization Guide for instructions about how to configure your
  * locale for UTF-8 encoding:
  *
  *  http://www.gentoo.org/doc/en/guide-localization.xml
 ---

 I did not have any /etc/env.d/02locale file, so I created
 one with LANG=en_GB.UTF-8 in it, but I still get the same
 error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
 results. I really do not understand what ca-certificates
 needs to get it installed...


Have you tried locale-gen and env-update ?

Rgds,


Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem

2011-12-13 Thread Michael Mol
On Tue, Dec 13, 2011 at 12:09 PM, Pandu Poluan pa...@poluan.info wrote:

 On Dec 13, 2011 10:46 PM, Jarry mr.ja...@gmail.com wrote:

 Hi,
 I just tried to update my system but emerging app-misc/ca-certificate
 failed with this error:
 ---
  File /usr/lib64/portage/pym/portage/__init__.py, line 178, in
 _unicode_encode
    s = s.encode(encoding, errors)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in
 position 68: ordinal not in range(128)

  Failed to install app-misc/ca-certificates-20111025, Log file:

  * This package installs one or more file names containing characters that
  * do not match your current locale settings. The current setting for
  * filesystem encoding is 'ANSI_X3.4-1968'.

  * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
  * Localization Guide for instructions about how to configure your
  * locale for UTF-8 encoding:
  *
  *      http://www.gentoo.org/doc/en/guide-localization.xml
 ---

 I did not have any /etc/env.d/02locale file, so I created
 one with LANG=en_GB.UTF-8 in it, but I still get the same
 error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
 results. I really do not understand what ca-certificates
 needs to get it installed...


 Have you tried locale-gen and env-update ?

I did when I saw it, and it didn't clear the error.


-- 
:wq



[gentoo-user] Two issues with OpenRC/baselayout2 migration on a hosted VM

2011-12-13 Thread Tanstaafl

Hello,

This is my first time dealing with a VM, and this one is being hosted on 
Linode... I'm fairly sure they use XenServer, but I'm still waiting for 
confirmation...


2 issues I have after updating:

1. First question

Quoting from the Guide:

local.start and local.stop

With OpenRC, /etc/conf.d/local.start and local.stop are deprecated. 
During the migration to OpenRC, the files are moved to /etc/local.d and 
gain the suffix .start or .stop. OpenRC then executes those in 
alphabetic order.


Problem - on this VM, these files are named 'baselayout1.start' and 
'baselayout1.stop', NOT 'local.start' and 'local.stop'...


Should I change these? Does it matter?

2. Second question

Quoting from the Guide:

System sub-types: Virtualization special cases

In the early versions of OpenRC, we explictly detected multiple types of 
virtualization, and used that detection to note when certain init 
scripts should be skipped, using the keyword call in the depend functions.


However, as of the 0.7.0 release, you are required to explicitly 
configure the sub-type using the rc_sys variable in /etc/rc.conf. The 
sub-type should be set to match the virtualization environment that the 
given root is in. In general, the non-empty rc_sys value should be 
within the virtual containers; The host node will have rc_sys=.


Important: If you do not have any specific sub-type, please use the 
default of an empty string . If the variable is unset, you will be 
given a warning and we will attempt to use the old detection algorithm.


Note: If you do not know what value your system was using with the 
automatic detection, you should temporarily comment out the rc_sys 
variable and run the detection command, rc -S.


Currently this is set to , but according to the guide, since this is a 
VM, it needs to be explicitly set. rc -S simply reports:


li66-207 etc # rc -S
* WARNING: rc_sys not defined in rc.conf. Falling back to automatic 
detection


What should I set this to? Assuming that Linode is indeed using Xen, 
would it be:


rc_sys=xenU

?

Thanks,

Charles



Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem

2011-12-13 Thread Jarry

On 13-Dec-11 18:09, Pandu Poluan wrote:


I just tried to update my system but emerging app-misc/ca-certificate
failed with this error:
---
 File /usr/lib64/portage/pym/portage/__init__.py, line 178, in
_unicode_encode
   s = s.encode(encoding, errors)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in
position 68: ordinal not in range(128)

 Failed to install app-misc/ca-certificates-20111025, Log file:

 * This package installs one or more file names containing characters
that
 * do not match your current locale settings. The current setting for
 * filesystem encoding is 'ANSI_X3.4-1968'.

 * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
 * Localization Guide for instructions about how to configure your
 * locale for UTF-8 encoding:
 *
 * http://www.gentoo.org/doc/en/guide-localization.xml
---

I did not have any /etc/env.d/02locale file, so I created
one with LANG=en_GB.UTF-8 in it, but I still get the same
error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
results. I really do not understand what ca-certificates
needs to get it installed...


Have you tried locale-gen and env-update ?


Bingo, this solved my problem! I did locale-gen but I forgot
to run env-update  source /etc/profile. I always thought
log-off/log-in updates enviromnent too. It is actually true,
but for user, not system-wide...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Two issues with OpenRC/baselayout2 migration on a hosted VM

2011-12-13 Thread Pandu Poluan
On Dec 14, 2011 1:06 AM, Tanstaafl tansta...@libertytrek.org wrote:

 Hello,

 This is my first time dealing with a VM, and this one is being hosted on
Linode... I'm fairly sure they use XenServer, but I'm still waiting for
confirmation...

 2 issues I have after updating:

 1. First question

 Quoting from the Guide:

 local.start and local.stop

 With OpenRC, /etc/conf.d/local.start and local.stop are deprecated.
During the migration to OpenRC, the files are moved to /etc/local.d and
gain the suffix .start or .stop. OpenRC then executes those in alphabetic
order.

 Problem - on this VM, these files are named 'baselayout1.start' and
'baselayout1.stop', NOT 'local.start' and 'local.stop'...

 Should I change these? Does it matter?


The names doesn't matter. Only the extension matters. You can even rename
them to MickeyMouse.start and MinnieMouse.stop :-)

 2. Second question

 Quoting from the Guide:

 System sub-types: Virtualization special cases

 In the early versions of OpenRC, we explictly detected multiple types of
virtualization, and used that detection to note when certain init scripts
should be skipped, using the keyword call in the depend functions.

 However, as of the 0.7.0 release, you are required to explicitly
configure the sub-type using the rc_sys variable in /etc/rc.conf. The
sub-type should be set to match the virtualization environment that the
given root is in. In general, the non-empty rc_sys value should be within
the virtual containers; The host node will have rc_sys=.

 Important: If you do not have any specific sub-type, please use the
default of an empty string . If the variable is unset, you will be given
a warning and we will attempt to use the old detection algorithm.

 Note: If you do not know what value your system was using with the
automatic detection, you should temporarily comment out the rc_sys variable
and run the detection command, rc -S.

 Currently this is set to , but according to the guide, since this is a
VM, it needs to be explicitly set. rc -S simply reports:

 li66-207 etc # rc -S
 * WARNING: rc_sys not defined in rc.conf. Falling back to automatic
detection

 What should I set this to? Assuming that Linode is indeed using Xen,
would it be:

 rc_sys=xenU

 ?


AFAIK Linode uses Xen so xenU is correct.

What I really want to know is what happens if we specify a 'wrong' rc_sys
value...

(I also want to know why 'rc -S' is so unhelpful, but not as much as the
above.)

Rgds,


[gentoo-user] Re: Re: can one tell me: gentoo vs opensuse

2011-12-13 Thread Jack Byer
Dale wrote:
 I came to Gentoo from Linux From Scratch because I wanted something more
 user friendly when it came to keeping track of package dependencies and
 compilation procedures.



 
 That is how I describe Gentoo, Linux from Scratch with a package manager
 and other neat tools.  I think Gentoo is about as close to that as it
 gets.  We all know portage is getting really good and full of features
 over the past few years.  I may not agree with Zac on some recent
 default settings but he sure has pushed portage a long long ways
 forward.  If only Gentoo could wash dishes now.  File a feature request
 on b.g.o?  LOL

I just came across a perfect example of why I started using Gentoo rather 
than LFS in the src_prepare() function of the openssh ebuilds. Look at all 
that complexity that someone else dealt with for you so that emerge Just 
Works.




[gentoo-user] texlive 2011

2011-12-13 Thread Alan E. Davis
After realizing that most packages I was installing, I used
package.keywords and ~amd64, so I went ahead and jumped---I have started
using ACCEPT_KEYWORDS for ~amd64 in /etc/make.conf .   I think most of the
inconsistencies have been ironed out, but it has taken some days.  One
glaring problem involves ruby.   I need texlive, and I want to install
texlive 2011, and I had installed it; however, now ruby is standing in my
way.

On bugs.gentoo.org, I see some solutions, involving patches.  One is a
patch for ruby (dev-lang/ruby-1.8.7_p352 ).   The other is a patch for
glibc 2.14.1 .

I'm not sure how to handle this, but I'm pretty sure I don't want to mess
around with a personal overlay of glibc.

Now, unfortunately, after an emerge -avuD world, I have also run emerge
--depclean, which cleared out every package involved with texlive.  I think
texlive-pictures-2011 and texlive-science-2001, possible also others, are
depending on ruby.

I could also not find an accessible and up to date explanation of
installing texlive.

Can any one guide me towards understanding how to proceed?   I would rather
not spend the next week re-installing my system.   Perhaps I should back
out of ~amd64 to amd64?

Thanks,

Alan Davis


[gentoo-user] apache2 not running (no pid file)

2011-12-13 Thread Grant
Has anyone else noticed this sort of behavior from apache-2.2.21-r1:

# /etc/init.d/apache2 restart
 * Stopping apache2 ... [ ok ]
 * Starting apache2 ...
 * start-stop-daemon: /usr/sbin/apache2 is already running [ ok ]
# /etc/init.d/apache2 restart
 * apache2 not running (no pid file)
 * Starting apache2 ... [ ok ]

It probably happens about half the time I restart apache2.  Nothing in
/var/log/apache2/error_log besides:

[notice] caught SIGTERM, shutting down
[notice] Apache/2.2.21 (Unix) configured -- resuming normal operations

- Grant



Re: [gentoo-user] Two issues with OpenRC/baselayout2 migration on a hosted VM

2011-12-13 Thread Tanstaafl

On 2011-12-13 1:26 PM, Pandu Poluan pa...@poluan.info wrote:

Problem - on this VM, these files are named 'baselayout1.start' and
'baselayout1.stop', NOT 'local.start' and 'local.stop'...

Should I change these? Does it matter?



The names doesn't matter. Only the extension matters. You can even
rename them to MickeyMouse.start and MinnieMouse.stop :-)


Ok, thanks, renamed to local.start/stop...


AFAIK Linode uses Xen so xenU is correct.


Cool, thanks... crossing fingers until the reboot...



Re: [gentoo-user] apache2 not running (no pid file)

2011-12-13 Thread Todd Goodman
* Grant emailgr...@gmail.com [111213 14:07]:
 Has anyone else noticed this sort of behavior from apache-2.2.21-r1:
 
 # /etc/init.d/apache2 restart
  * Stopping apache2 ... [ ok ]
  * Starting apache2 ...
  * start-stop-daemon: /usr/sbin/apache2 is already running [ ok ]
 # /etc/init.d/apache2 restart
  * apache2 not running (no pid file)
  * Starting apache2 ... [ ok ]
 
 It probably happens about half the time I restart apache2.  Nothing in
 /var/log/apache2/error_log besides:
 
 [notice] caught SIGTERM, shutting down
 [notice] Apache/2.2.21 (Unix) configured -- resuming normal operations
 
 - Grant

I've seen that for years.  I always assumed it was because the apache2
stop didn't complete before the apache2 start tried to start when I use
/etc/init.d/apache2 restart.

Instead I do an /etc/init.d/apache2 stop; ps aux | egrep apache until I
see all the threads are gone and then a /etc/init.d/apache2 start

Todd



Re: [gentoo-user] Two issues with OpenRC/baselayout2 migration on a hosted VM

2011-12-13 Thread Neil Bothwick
On Tue, 13 Dec 2011 14:50:06 -0500, Tanstaafl wrote:

  Problem - on this VM, these files are named 'baselayout1.start' and
  'baselayout1.stop', NOT 'local.start' and 'local.stop'...
 
  Should I change these? Does it matter?  
 
  The names doesn't matter. Only the extension matters. You can even
  rename them to MickeyMouse.start and MinnieMouse.stop :-)  
 
 Ok, thanks, renamed to local.start/stop...

The files were named local.{start,stop} but the message you quoted shows
that these are no longer the case. The files you have are your old
baselayout1 local.* files moved from conf.d to local.d and given a name
that shows where they came from. The local part of the filename is no
longer relevant as the directory name makes their purpose clear. Also, it
means you can have more than one file, instead of having to cram several
unrelated steps into one script.

Give them names that reflect their contents, it will make managing them
easier.


-- 
Neil Bothwick

Member, National Association For Tagline Assimilators (NAFTA)


signature.asc
Description: PGP signature


Re: [gentoo-user] Two issues with OpenRC/baselayout2 migration on a hosted VM

2011-12-13 Thread Tanstaafl

On 2011-12-13 3:21 PM, Neil Bothwick n...@digimed.co.uk wrote:

On Tue, 13 Dec 2011 14:50:06 -0500, Tanstaafl wrote:


Problem - on this VM, these files are named 'baselayout1.start' and
'baselayout1.stop', NOT 'local.start' and 'local.stop'...

Should I change these? Does it matter?



The names doesn't matter. Only the extension matters. You can even
rename them to MickeyMouse.start and MinnieMouse.stop :-)


Ok, thanks, renamed to local.start/stop...


The files were named local.{start,stop} but the message you quoted shows
that these are no longer the case. The files you have are your old
baselayout1 local.* files moved from conf.d to local.d and given a name
that shows where they came from. The local part of the filename is no
longer relevant as the directory name makes their purpose clear. Also, it
means you can have more than one file, instead of having to cram several
unrelated steps into one script.

Give them names that reflect their contents, it will make managing them
easier.


Yes, but - I'm no longer on baselayout1, so that name is no longer 
accurate...




Re: [gentoo-user] Two issues with OpenRC/baselayout2 migration on a hosted VM

2011-12-13 Thread Neil Bothwick
On Tue, 13 Dec 2011 15:42:01 -0500, Tanstaafl wrote:

  The files were named local.{start,stop} but the message you quoted
  shows that these are no longer the case. The files you have are your
  old baselayout1 local.* files moved from conf.d to local.d and given
  a name that shows where they came from. The local part of the
  filename is no longer relevant as the directory name makes their
  purpose clear. Also, it means you can have more than one file,
  instead of having to cram several unrelated steps into one script.
 
  Give them names that reflect their contents, it will make managing
  them easier.  
 
 Yes, but - I'm no longer on baselayout1, so that name is no longer 
 accurate...

The name is accurate because it is telling you the file came from
baselayout1. The local.{start,stop} names are the deprecated names used
by BL1. Until you give them more meaningful names (which local.* are not)
baselayout1.* are the best names portage can give them for you.


-- 
Neil Bothwick

All right, set phasers to deep fat fry!


signature.asc
Description: PGP signature


[gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-13 Thread Tanstaafl

Hi all,

Ok, this is also on this new hosted VM...

I need help getting portage to email me emerge logs using SASL auth on a 
remote host using ssmtp...


I found this thread that has me almost there (I think):

http://www.gossamer-threads.com/lists/gentoo/user/217567?do=post_view_threaded#217567

But it doesn't seem to be using SASL auth, because the attempt is being 
blocked by my server client_access rule (which comes *after* 
permit_sasl_authenticated)...


Here's what I have in make.conf (after reading the above thread):

PORTAGE_ELOG_MAILURI=root@user:password mail.myserver.com:100587

and in ssmtpd.conf:

root=postmaster
mailhub=mail.myserver.com:587
AuthUser=username
AuthPass=password
UseSTARTTLS=YES

And here is the error I'm currently getting:

!!! An error occurred while trying to send logmail:
{'root@username:password': (554, '5.7.1 
li66-207.members.linode.com[74.207.224.207]: Client host rejected: 
Access denied')}


Anyone have any ideas?

Thanks,

Charles



Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-13 Thread Leho Kraav
i would first of all suggest dropping ssmtp and going with nullmailer. if ssmtp 
fails for any reason it will lose your emails. nullmailer has queue capability.



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-13 Thread Frank Steinmetzger
On Tue, Dec 13, 2011 at 08:34:22AM -0600, Dale wrote:
 Frank Steinmetzger wrote:
  Nor would they wanna say they were using some stock Linux. After all, the
  financial market is the most important in the world and the best on the 
  planet
  is hardly good enough for their requirements.
 
  Ah, and look at my very fitting random sig.
  -- Gruß | Greetings | Qapla' I forbid any use of my email addresses 
  with Facebook services. The Computer is the logical advancement of 
  humankind: intelligence without morality.
 
 I added you to my list of sigs I have to watch out for.  Neil is the 
 other one.  It is funny how sometimes they fit the topic of the email.
 
 Dale

I may already have nicked one or the other of his sigs. :o)

OT about that: Recently I had to switch my “storage backend” of mail sigs. Like
most others, I used fortune. But it just became impossible to keep track of all
phrases in one text file. So I recently wrote a python program with which I now
manage all my sigs in an sqlite database. Now I can filter for language, for
author (of a quote), for source (website/blog), for tags (films, science etc).

Being such a highly flexible system, Linux made this very easy. Though I barely
use custom scripts for daily tasks (yet) like many more advanced Linux users
do, it was still very easy to set up.

Imagine you wanted to do that in Windows (and then integrate your new sig in M$
Lookout). ^^
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Trees have one advantagees over people: they are also nice in big numbers.


pgp86DPBsFQQ4.pgp
Description: PGP signature


[gentoo-user] Card is Radeon R200, but Mesa builds Gallium R300; HELP!

2011-12-13 Thread Walter Dnes
  Now what?  Ignore what you see on
http://www.gentoo.org/doc/en/xorg-config.xml and
http://www.gentoo.org/doc/en/ati-faq.xml about an
ATI Technologies Inc RV280 [Radeon 9200 PRO] not needing a binary blob.
It does require the R200 blob from radeon-ucode.  If the blob isn't
there, the bootup will delay for a minute, time out, and then continue.
If the R200 blob is in /lib/firmware/radeon, it'll load, regardles of
what i put in the kernel setup; e.g.


[d530][root][~] dmesg | grep R200
[0.277947] [drm] Loading R200 Microcode

notwitstanding that the kernel is set up like so...
[d530][root][~] zcat /proc/config.gz | grep -i r300
CONFIG_EXTRA_FIRMWARE=radeon/R300_cp.bin

  The question is... how do I force Mesa

(EE) AIGLX error: dlopen of /usr/lib/dri/r200_dri.so failed 
(/usr/lib/dri/r200_dri.so: cannot open shared object file: No such file or 
directory)
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so


[   682.172] (EE) AIGLX error: Calling driver entry point failed
[   682.172] (EE) AIGLX: reverting to software rendering

waltdnes@d531 ~ $ diff d530.txt d531.txt 
5,8c5,8
 model name  : Genuine Intel(R) CPU2140  @ 1.60GHz
 stepping: 2
 cpu MHz : 1596.157
 cache size  : 1024 KB
---
 model name  : Intel(R) Core(TM)2 Duo CPU E4600  @ 2.40GHz
 stepping: 13
 cpu MHz : 2400.000
 cache size  : 2048 KB
27c27
 bogomips: 3191.35
---
 bogomips: 4788.02
31a32

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-13 Thread Lavender
Now I'm totally confused, I can't find helpful information from Internet.
I know mesa is a open source implementation of OpenGL, obviously
mesa will afford OpenGL API. DRI is short for Direct Rendering Infrastructure,
I have chosen options like:
Device Drivers ---
  Graphics support ---
  *  Direct Rendering Manager ---
  *ATI Radeon
  [*]  Enable modesetting on radeon by default

Does this mean that DRI libraries are built into kernel? If not, who contains 
DRI?
Also who affords GLX libraries? Mesa or Xorg?



[gentoo-user] Please ignore above email; I hit send by mistake

2011-12-13 Thread Walter Dnes
On Wed, Dec 14, 2011 at 01:12:10AM -0500, Walter Dnes wrote

  Please ignore the above email.  I hit send by mistake.  Long story
short... the R200 is not supported under Mesa Gallium.  So a glxgears
rating of 262 fps with the ATI Radeon R200 card gives stuttering useless
streaming video while the onboard Intel GPU is OK, even though it gives
60 fps under glxgears.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-13 Thread LinuxIsOne
On Tue, Dec 13, 2011 at 9:13 PM, Frank Steinmetzger war...@gmx.de wrote:

 Being such a highly flexible system, Linux made this very easy. Though I 
 barely
 use custom scripts for daily tasks (yet) like many more advanced Linux users
 do, it was still very easy to set up.

Yes Linux is better.

 Imagine you wanted to do that in Windows (and then integrate your new sig in 
 M$
 Lookout). ^^

Simply impossible! But the only thing I praise M$ is that it supports
majority of the mobile phones (for data exchange) but at times it
needs troubleshooting (at least a little) if we talk of it in Linux.
Am I right?

 Trees have one advantagees over people: they are also nice in big numbers.

And trees cannot cheat also!