Re: [gentoo-user] Nginx with PHP-FPM

2012-04-02 Thread Michael Schreckenbauer
On Monday 02 April 2012 04:26:47 siefke_lis...@web.de wrote:
 Hello,
 
 I try my web hosting environment to mirror locally. On my Rootserver run
 Nginx with PHP-FPM under FreeBSD. So i has installed Nginx, PHP and Mysql
 here local on Gentoo. But something is not correct, it want not really run.
 I has search in web and use the config for Nginx on Gentoo (is other as on
 FreeBSD) but nothing happen. The website (info.php) is blank and in logs i
 find not the way which is my mistake.
 
 nginx.conf  http://nopaste.info/72a40e9c5e.html
 php-fpm.conf  http://nopaste.info/94a9de62d5.html
 emerge --info php nginx  http://nopaste.info/225b12e106.html

I'm not really an expert with ngingx and php-fpm, but afaict the error is in 
the location line in nginx.conf.
You have:
location ~ .php$ {
...
Afaik this only matches the exact file .php

Try changing it to
location ~ ^(.*)\.php$ {
...
This would match all files ending in .php

 Regards
 Silvio

Hth,
Michael




Re: [gentoo-user] Nginx with PHP-FPM

2012-04-02 Thread Michael Schreckenbauer
On Monday 02 April 2012 14:17:47 Silvio Siefke wrote:
 Hello,
 
 On Mon, 02 Apr 2012 11:01:46 +0200
 
 Michael Schreckenbauer grim...@gmx.de wrote:
  I'm not really an expert with ngingx and php-fpm, but afaict the error is
  in the location line in nginx.conf.
  You have:
  location ~ .php$ {
  ...
  Afaik this only matches the exact file .php
  
  Try changing it to
  location ~ ^(.*)\.php$ {
  ...
  This would match all files ending in .php
 
 thanks for advice. But nothing happen the result is same like before.
 Blank website, no phpinfo output.
 
 In logs stand only closed keepalive connection, can it be that something
 in php-fpm.conf not correct is set?

to get more info from nginx, try to increase the log level, eg
error_log /var/log/nginx/error_log debug;
php-fpm.conf looks correct to me.
You include fastcgi.conf. Could you post the contents?

 Regards
 Silvio

Best,
Michael




Re: [gentoo-user] Clicking on URLs in kmail-1.13.7 launches libreoffice

2012-01-26 Thread Michael Schreckenbauer
Am Donnerstag, 26. Januar 2012, 09:18:03 schrieb Mick:
 Over the last couple of weeks I noticed that when I click on a URL in an
 email I get libreoffice launching a few seconds after Konqueror has opened
 up the URL.
 
 I think this started happening after the recent update of KDE to 4.7.4 and
 after the initial what the ...  it is now becoming annoying.
 
 Have you noticed anything similar?
 
 Any ideas how I could fix this?

No idea, but this happens here also. Not annoying yet, but also not restricted 
to kmail afaict. I click somewhere and loffice starts.

Best,
Michael




Re: [gentoo-user] Clicking on URLs in kmail-1.13.7 launches libreoffice

2012-01-26 Thread Michael Schreckenbauer
Am Donnerstag, 26. Januar 2012, 14:51:45 schrieb Michael Mol:
 On Thu, Jan 26, 2012 at 2:22 PM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  Am Donnerstag, 26. Januar 2012, 09:18:03 schrieb Mick:
  Over the last couple of weeks I noticed that when I click on a URL in
  an
  email I get libreoffice launching a few seconds after Konqueror has
  opened up the URL.
  
  I think this started happening after the recent update of KDE to 4.7.4
  and after the initial what the ...  it is now becoming annoying.
  
  Have you noticed anything similar?
  
  Any ideas how I could fix this?
  
  No idea, but this happens here also. Not annoying yet, but also not
  restricted to kmail afaict. I click somewhere and loffice starts.
 
 I remember having this happen under StarOffice way back on Win95.
 Sounds like you've got to re-select your preferred application
 handlers. I don't know the process for this in KDE.

Already checked those. Nothing suspicious in there. Sometimes loffice even 
starts when I click on my (empty) desktop, in the url bar of firefox or in some 
empty area of an application, where no preferred application would be started. 
Happens about once a week and I click a lot, so I don't care too much :)

Best,
Michael




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

2011-12-15 Thread Michael Schreckenbauer
Am Donnerstag, 15. Dezember 2011, 18:29:14 schrieb Lavender:
 At 2011-12-15 03:24:20,Michael Schreckenbauer grim...@gmx.de wrote:
 Am Mittwoch, 14. Dezember 2011, 14:22:47 schrieb 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 ---
 
 this is DRM. This one manages allocation of memory for video devices.
 
*ATI Radeon
[*]  Enable modesetting on radeon by default
  
  Does this mean that DRI libraries are built into kernel?
 
 No.
 
  If not, who
  contains DRI? Also who affords GLX libraries? Mesa or Xorg?
 
 DRI is part of mesa. Mesa also provides the GLX libraries.
 
 Best,
 Michael
 
 Thanks and  I wish you could help answer this question.Now I know Mesa
 provides DRI and GLX, when I installed xorg-server,there're also libraries
 named like libdri.so and libglx.so in /etc/X11/(somewhere).

Yeah, I was wrong :) libglx and libdri are part of xorg-server.

Best,
Michael




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

2011-12-14 Thread Michael Schreckenbauer
Am Mittwoch, 14. Dezember 2011, 14:22:47 schrieb 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 ---

this is DRM. This one manages allocation of memory for video devices.

   *ATI Radeon
   [*]  Enable modesetting on radeon by default
 
 Does this mean that DRI libraries are built into kernel? 

No.

 If not, who
 contains DRI? Also who affords GLX libraries? Mesa or Xorg?

DRI is part of mesa. Mesa also provides the GLX libraries.

Best,
Michael




Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Michael Schreckenbauer
Am Montag, 12. Dezember 2011, 13:28:39 schrieb Joseph:
 On 12/12/11 20:32, Michael Hampicke wrote:
  Configuring source in
  /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ...
  x86_64-pc-linux-gnu-gcc is unable to create an executable file.
  If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the
  --enable-cross-compile option.
  Only do this if you know what cross compiling means.
  C compiler test failed.
 
 Do you have enabled the cpudetection and/or custom-cflags use flags?
 Or do you use some crazy CFLAGS?
 ffmpeg 0.7.8 compiles just fine on my amd64 box.
 
 No nothing crazy:
 CFLAGS=-Os -pipe -mtune=i686

i686? That's not amd64. You need something 64bit. Just use march=native 
instead of mtune=i686. 


 I'm not even sure if these flags are correct for my CPU:
 AMD FX(tm)-8150 Eight-Core Processor

:) They are not.

 The flags suggestion I found on gentoo wiki are crazy:
 http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD#AMD_FX-8xxx.2F6xxx.2F4xxx_.28
 Bulldozer.29
 
 CFLAGS=-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16
 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx
 Whoever suggested these flags must have been on some drugs :-/

Could well be, that this is what march=native gives for bdver1.

Best,
Michael




Re: [gentoo-user] Gnome 3: GL_MAX_TEXTURE_SIZE is too small.

2011-12-08 Thread Michael Schreckenbauer
Hi,

Am Donnerstag, 8. Dezember 2011, 10:30:14 schrieb Maximilian Bräutigam:
 Am 30.11.2011 13:24, schrieb Michael Schreckenbauer:
  glxinfo -l | grep MAX_TEXTURE_SIZE
 
 Hi Michael,
 
 GL_MAX_TEXTURE_SIZE = 1024
 
 is this enough?

don't think so. Afaik gnome-shell composes the desktop into a large texture. 
If your screen resolution exceeds 1024 in width or height (I assume it does), 
the screen does not fit into the maximum texture available on your hardware.

 Kind regards,
 der Max

Best,
Michael




Re: [gentoo-user] Gnome 3: GL_MAX_TEXTURE_SIZE is too small.

2011-11-30 Thread Michael Schreckenbauer
Hi,

Am Mittwoch, 30. November 2011, 10:11:04 schrieb Maximilian Bräutigam:
 My question is, whether it is possible to increase this
 GL_MAX_TEXTURE_SIZE or not and if so, how.

GL_MAX_TEXTURE_SIZE is limited by your video-card. Afaik, there's no way to 
increase it as it's given by the HW.
What does
glxinfo -l | grep MAX_TEXTURE_SIZE
give?

 Thank you very much in advance for your help.
 Kind regards,
 der Max

Best,
Michael




Re: [gentoo-user] [OT] max size of bash variable value

2011-11-30 Thread Michael Schreckenbauer
Am Mittwoch, 30. November 2011, 13:19:56 schrieb pat:
 Hi all,
 
 Sorry for this off topic post, but I've been asked how/where to find maximum
 size of bash variable value. I've search and found 4M, 1k, 4k ... . But
 didn't found how/where this limit is set. I know, that for C it's e.g.
 sizeof(int), but for bash?

afaik you can query that value with
getconf ARG_MAX
How to set it, I have no idea.

 Thanks for help
  Pat

Best,
Michael




Re: [gentoo-user] ImageMagick

2011-11-27 Thread Michael Schreckenbauer
Hi Colleen,

Am Sonntag, 27. November 2011, 16:08:41 schrieb Colleen Beamer:
 Hi all,
 
 I used to use ImageMagick to quickly resize images and convert from one
 format to another (jpg to png, for example).  ImageMagick is installed
 on my system (installed as requirement of something else), but I'm
 darned if I can find an executable to run the program.  There used to be
 one in /usr/bin on my old system.
 Does anyone have any experience with this?

yes :) It's /usr/bin/convert

 Regards,
 Colleen

Best,
Michael




Re: [gentoo-user] ImageMagick

2011-11-27 Thread Michael Schreckenbauer
Am Sonntag, 27. November 2011, 17:04:24 schrieb Colleen Beamer:
 On 11/27/11 15:18, Michael Schreckenbauer wrote:
  Hi Colleen,
  
  Am Sonntag, 27. November 2011, 16:08:41 schrieb Colleen Beamer:
  Hi all,
  
  I used to use ImageMagick to quickly resize images and convert from
  one
  format to another (jpg to png, for example). ImageMagick is installed
  on my system (installed as requirement of something else), but I'm
  darned if I can find an executable to run the program. There used to
  be
  one in /usr/bin on my old system.
  Does anyone have any experience with this?
  
  yes :) It's /usr/bin/convert
 
 This isn't quite what I wanted - you have to add options to the
 command.  I was hoping to get the graphical interface that I had
 before.  Please don't tell me they took a great little program and
 screwed it up!  :-)

ImageMagick has no gui-frontend and it never had. It's a library for image 
manipulation and a collection of CLI-programs for the same task.
I have no idea what you used before, but it wasn't part of ImageMagick.

 Colleen

Best,
Michael




Re: [gentoo-user] ImageMagick

2011-11-27 Thread Michael Schreckenbauer
Am Sonntag, 27. November 2011, 17:04:24 schrieb Colleen Beamer:
 On 11/27/11 15:18, Michael Schreckenbauer wrote:
  Hi Colleen,
  
  Am Sonntag, 27. November 2011, 16:08:41 schrieb Colleen Beamer:
  Hi all,
  
  I used to use ImageMagick to quickly resize images and convert from
  one
  format to another (jpg to png, for example). ImageMagick is installed
  on my system (installed as requirement of something else), but I'm
  darned if I can find an executable to run the program. There used to
  be
  one in /usr/bin on my old system.
  Does anyone have any experience with this?
  
  yes :) It's /usr/bin/convert
 
 This isn't quite what I wanted - you have to add options to the
 command.  I was hoping to get the graphical interface that I had
 before.  Please don't tell me they took a great little program and
 screwed it up!  :-)

is /usr/bin/display the program you were looking for?
It supports a subset of ImageMagick's functionality.

 Colleen

Best,
Michael





Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-12 Thread Michael Schreckenbauer
Am Samstag, 12. November 2011, 12:09:23 schrieb Mick:
 On Saturday 12 Nov 2011 02:37:53 Lavender wrote:
  The problem is that X is not installed. to install X, edit
  /etc/make.conf and add VIDEO_CARDS=your video card here and emerge
  xorg-server or emerge xorg-x11 to get X
 
 How can it not be installed?  Wouldn't KDE pull in Xorg packages as
 dependencies?

No, not the server. Mind, X is a client-server architecture. It's perfectly 
valid to run kde-clients on a machine, that has no xserver installed.

Best,
Michael




Re: [gentoo-user] Where is the souce code of software?

2011-11-10 Thread Michael Schreckenbauer
Hi,

Am Donnerstag, 10. November 2011, 20:46:28 schrieb Lavender:
 Could anyone tell me that where I can find the source
 code of software on my system? Such as ls, cd .etc.

first you have to find out to  which package the binary you are interested in 
belongs to, eg
~ $ equery b /bin/ls
 * Searching for /bin/ls ... 
sys-apps/coreutils-8.14 (/bin/ls)

(If you don't have equery, install gentoolkit)

Use the command
emerge -f =cat/package-version
to download the sources to your distfiles.
(if they are already there, the command above downloads nothing)

Unpack them to somewhere in your $HOME, done.

Best,
Michael




Re: [gentoo-user] [OT] Binary install distro

2011-11-10 Thread Michael Schreckenbauer
Am Donnerstag, 10. November 2011, 21:04:46 schrieb Lorenzo Bandieri:
  So, what is a easy to install distro that has
  KDE4, Seamonkey, gtkam, GIMP and such?  I want something easy
 
 Well, surely Kubuntu would be a nice choice, but can I suggest
 OpenSuse? I installed it something like two years ago (I was curious)
 and I liked it. It has a well-done KDE implementation.

+1
there were some kubuntu versions with a really bad kde integration. I don't 
remember the details and afaik that has changed, but I never had any problems 
with OpenSuse. My parents-in-law use it and they seem to be very happy with 
it.

 Lorenzo

Best,
Michael




Re: [gentoo-user] Missing /etc/init.d/net.eth0 symlink after install

2011-11-09 Thread Michael Schreckenbauer
Am Mittwoch, 9. November 2011, 16:57:40 schrieb Walter Dnes:
   I just did a 32-bit install on an older Dell with 3 gigs of ram.
 Almost everything went right, except that at the first boot boot-up,
 there was no eth0.  After some detective work, I found out there was
 no /etc/init.d/net.eth0 symlink to /etc/init.d/net.  I manually
 created the symlink, ran /etc/init.d/net restart, and eth0 came up
 fine.  I also added it to the default runlevel with rc-update.
 
   Has anyone else run into this on a recent install?

I'd say so. You are supposed to create this link yourself.
From the handbook:

Automatically Start Networking at Boot

To have your network interfaces activated at boot, you need to add them to the 
default runlevel.

Code Listing 2.8: Adding net.eth0 to the default runlevel

# cd /etc/init.d
# ln -s net.lo net.eth0
# rc-update add net.eth0 default

Best,
Michael




Re: [gentoo-user] [OT] Simh port to ARM platform

2011-11-08 Thread Michael Schreckenbauer
Am Dienstag, 8. November 2011, 20:00:36 schrieb meino.cra...@gmx.de:
 Érico Porto ericoporto2...@gmail.com [11-11-08 19:56]:
  your website do not load
  
  this is no gentoo I see..
  
  Érico V. Porto
  
  On Tue, Nov 8, 2011 at 3:59 PM, meino.cra...@gmx.de wrote:
   Hi,
   
   while googling for this I didn't find something applicable...
   
   For my embedded Linux system (www.centipad.org) based on a ATmel
   AT91SAM9260
   cpu I am looking for a port of SIMH to ARM.
   
   Does anyone know of something I can start with?
   
   Thank you very much in advance for any help!
   Best regards,
   mcc
 
  ?

www.centipad.org does not exist.
Correct URL is
www.centipad.com

Erico made a joke. Site does not load - does not run gentoo.
At least that's how I read it.

  mcc

Best,
Michael




Re: [gentoo-user] udev with separate /usr and no initramfs

2011-11-08 Thread Michael Schreckenbauer
Hi,

Am Dienstag, 8. November 2011, 19:24:11 schrieb Steven J Long:
 Hi,
 
  Following the debates over the summer, about plans to require an initramfs
 for udev, I put together a slightly different approach using the dependency
 tracking in openrc. It's outlined (in Unsupported Software) at:
 http://forums.gentoo.org/viewtopic-p-6866484.html
 and consists of a couple of simple patches to the initscripts for udev and
 udev-mount, supporting a new initramfs option (defaults to yes) in
 udev.conf. I've been using it on my desktop at home for a couple of months
 now and it works like a charm here. As ever, YMMV.

interesting approach.

 As I state in the post:
 This is only for people who know they have all the modules built-in the
 kernel to mount local filesystems, have a separate /usr and/or /var, and are
 happy with their current setups, apart from possible future issues with
 udev starting before localmount, and find the requirement for an initramfs
 sufficiently annoying to tweak their setups, *and* are willing to deal with
 keeping the lines in the initscripts during etc-updates.
 
 This is on stable udev (164-r2.) I'm not running unstable, so be careful if
 you are, and let us know if there are any changes needed. You can get in
 touch on IRC, or via the forum post.

I am running ~amd64 and I'll try this, when I have some spare time. I'll let 
you know, how it works for me. Thanks a lot for this.

 HTH,
 igli.

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Hi,

Am Montag, 7. November 2011, 12:13:58 schrieb Massimiliano Ziccardi:
 Hi All.
 
 This problem is not strictly related to gentoo, however I'm sure someone
 here will be able to help me in some way: sorry if I bother you!

have a look at:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-
static-routes.html

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Hi,

Am Montag, 7. November 2011, 13:15:53 schrieb Massimiliano Ziccardi:
 I thought it was a routing problem, but as you can see, the routes I sent
 seems to be ok.

you have those link-local entries in your routes (169.254.0.0/16), Try adding 
NOZEROCONF= yes to /etc/sysconfig/network

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 13:47:49 schrieb Massimiliano Ziccardi:
  you have those link-local entries in your routes (169.254.0.0/16), Try
  adding
  NOZEROCONF= yes to /etc/sysconfig/network
 
 Already tried, but no luck...

could you post  the output of
ip route
with zeroconf disabled?

 Thanks,
 Massimiliano

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 14:15:39 schrieb Massimiliano Ziccardi:
  could you post  the output of
  ip route
  with zeroconf disabled?
 
 Here it is!
 
 192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
 195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
 default via 195.75.145.1 dev eth0

seems to be a really tricky one...
What does
tracepath 195.75.145.33
give?

 Thanks,
 Massimiliano

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 14:35:46 schrieb Massimiliano Ziccardi:
  seems to be a really tricky one...
  What does
  tracepath 195.75.145.33
  give?
 
 Here is the output:
 
  1:  195.75.145.33 (195.75.145.33)  0.074ms pmtu
 16436
  1:  195.75.145.33 (195.75.145.33)  0.039ms reached
  1:  195.75.145.33 (195.75.145.33)  0.028ms reached
 
 I tried shutting down localhost with:
 
 ifconfig lo down.
 
 Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
 addresses).
 
 And now tracepath gives:
 
 1:  send failed
  Resume: pmtu 65535
 
 So, for some reason, seems it always uses the 'lo' device...
 
 Any idea?

I noticed lo:0 is on the same net and has the same netmask as eth0.
Where does lo:0 come from? Is it needed?
I have no idea, if this is the problem or even related, just wondering.

 Regards,
 Massimiliano

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 15:20:12 schrieb Massimiliano Ziccardi:
 Maybe I found where the problem is!
 Shutting down lo:0 everything seems to work properly!
 However I need to configure lo:0 for local triangulation (balancing through
 RADWARE): how should I configure it to not conflict with the other network
 cards?

try assigning a netmask of 255.255.255.255 to it.

 Thanks!
 Massimiliano Ziccardi

Best,
Michael




Re: [gentoo-user] Best Jabber Server

2011-11-04 Thread Michael Schreckenbauer
Hi,

Am Freitag, 4. November 2011, 10:22:07 schrieb 4k3nd0:
 Hi guys,
 
 need a Jabber Server for Work. What is the best Jabber Server to run?

I can really recommend ejabberd. Fast, robust, easy to use. Install, 
configure, forget.

 Greeting's from Germany, Akendo

Best,
Michael



Re: [gentoo-user] Best Jabber Server

2011-11-04 Thread Michael Schreckenbauer
Hi,

Am Freitag, 4. November 2011, 14:27:44 schrieb Jens Reinemuth:
 On 04.11.2011 14:18, Michael Mol wrote:
  We use Openfire and Asterisk at work. I wasn't aware they could be
  integrated, though.
  
  Meanwhile, each independently is great.
 
 While i agree that asterisk is great i really think that openfire is a
 hell of a jabber server... While ejabberd runs as erlang script,
 openfire is written in java which makes it depend on a actual vm with
 all it's disadvantages (slow, memory overhead, ...). Even if the
 configuration via Webinterface is really easy and comfortable, you have
 at least 10-20 features you don't and even will never need...

erlang isn't a scripting language. It's a functional programming language 
compiled to bytecode running in a vm as does java. It has builtin distribution 
and it's quite easy to write servers that scale and provide many 9s of 
availability. The OTP framework (erlangs stdlib) provides support for hot code 
loading, so you can upgrade your application with no downtime.

 ejabberd is a jabber-server. not more not less and runs with way less
 memory and io...
 
 But i can't understand why there aren't any native (aka. compiled)
 jabber-servers, at least some that have actual releases...

erlang has hipe, which compiles erlang to native code. I don't know, if 
ejabberd works compiled with hipe.

Best,
Michael




Re: [gentoo-user] Best Jabber Server

2011-11-04 Thread Michael Schreckenbauer
Am Freitag, 4. November 2011, 14:22:38 schrieb Alexander Tanyukevich:
 2011/11/4 Jorge Martínez López jorg...@gmail.com:
  I played some years ago with Openfire:
  http://www.igniterealtime.org/projects/openfire/ I did not test the
  integration with Asterisk, but it sounds promising.
  
  Cheers,
  
  --
  Jorge Martínez López jorg...@gmail.com http://www.jorgeml.net
Google Talk / XMPP: jorg...@gmail.com
 
 I've asked that question on couple of forums and everytime got answer:
 ejabberd. But there was no arguments. And actually I've never used
 it because of erlang :)

ejabberd supports clustering. New servers can be added or removed from the 
cluster without stopping anything. This is also a plus for fault-tolerance. It 
scales to 1.000.000s of users without any problems. erlang is designed for 
problems like this and it's really good in this domain. ejabberd is quite easy 
to extend via hooks. Of course, you need to learn erlang to do this. In the 
simple case, you write some glue code in erlang (typically 20-30 LOC) and do 
the work in the language you are most familiar with. You can even add C- or 
Java-Nodes to your cluster, that can talk to the ejabberd's via erlangs native 
message-passing.
In the company I worked for, we have an ejabberd-cluster with millions of 
accounts (iirc something like 20 million customers at the time I left)
We evaluated ejabberd, OpenFire and jabberd, but only ejabberd was able to 
cope with our load.

Best,
Michael




Re: [gentoo-user] [OT] how to read movie clip duration in console?

2011-11-04 Thread Michael Schreckenbauer
Hi,

Am Freitag, 4. November 2011, 19:05:23 schrieb Francisco Ares:
 Hi, All
 
 Sorry for the OT, but Gentoo'ers are way above medium linux users.
 
 I have a bunch of movie clips and I wanted to build a table of contents
 including clip duration. Instead of opening one at a time, is there any
 application that I could user for a script?
 
 I though on mplayer, but I could not find a way for it to tell me the
 duration of a clip.

emerge exiftool

exiftool movie | grep ^Duration

 Thanks
 Francisco

Best,
Michael




Re: [gentoo-user] Unable to login to gentoo

2011-11-01 Thread Michael Schreckenbauer
Am Dienstag, 1. November 2011, 23:00:57 schrieb Alan McKinnon:
 On Tue, 01 Nov 2011 14:49:30 -0500
 
 Dale rdalek1...@gmail.com wrote:
  Vishnupradeep wrote:
   On Tue, Nov 1, 2011 at 2:48 PM, Mick michaelkintz...@gmail.com
   
   mailto:michaelkintz...@gmail.com wrote:
   emerge -1aDv app-portage/gentoolkit
   
   revdep-rebuild -v --ask
   
   i can't use emerge command as it is shown as command not found. can
   u tell the correct path of emerge.
  
  /usr/bin/emerge
  
  Little bit of learning here:
  
  root@smoker / # which emerge
  /usr/bin/emerge
  root@smoker / #
  
  Now you know where it is and how I found out where it is.  Trick is
  remembering a command you rarely use.
 
 That won't work. The $PATH is broken so the shell can't find ls and
 emerge.
 
 Well, it won't find which either :-)
 
 Solution: You run which which and tell the OP which directory contains
 which so he can run /path/towhich emerge to find out where emerge is.

Or just use type -a, because that's a builtin.
~ $ type -a emerge
emerge is /usr/bin/emerge

Best,
Michael





Re: [gentoo-user] Mythtv problems [SOLVED]

2011-10-27 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 20:13:10 schrieb Michael Sullivan:
 I was stupid and forgot to mark us-cable in the video sources section of
 mythtv-setup.  It's all working now.

Good to hear you got it working :)

Best,
Michael




Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
 Here's my output from a mythfrontend run at the terminal:
 
 michael@camille ~ $ mythfrontend
 2011-10-26 16:16:27.121 mythfrontend version:
 branches/release-0-23-fixes [27077] www.mythtv.org
 2011-10-26 16:16:27.121 Using runtime prefix = /usr
 2011-10-26 16:16:27.121 Using configuration directory =
 /home/michael/.mythtv
 2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
 2011-10-26 16:16:27.940 Empty LocalHostName.
 2011-10-26 16:16:27.940 Using localhost value of camille
 2011-10-26 16:16:28.039 New DB connection, total: 1
 2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
 2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support enabled
 2011-10-26 16:16:28.183 DPMS is disabled.
 2011-10-26 16:16:28.185 Primary screen: 0.
 2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
 2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
 2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
 2011-10-26 16:16:28.876 Primary screen: 0.
 2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
 2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
 '/var/run/lirc/lircd'
   eno: No such file or directory (2)
 2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
 Failed to read /home/michael/.mythtv/joystickmenurc
 2011-10-26 16:16:29.061 Using Frameless Window
 2011-10-26 16:16:29.061 Using Full Screen Window
 2011-10-26 16:16:29.892 Using the Qt painter
 2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/metallurgy/base.xml'
 2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default-wide/base.xml'
 2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default/base.xml'
 2011-10-26 16:16:30.807 New DB connection, total: 2
 2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 16:16:30.822 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:32.928 Registering Internal as a media playback plugin.
 2011-10-26 16:16:33.145 Current MythMusic Schema Version
 (MusicDBSchemaVer): 1017
 2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
 /dev/power,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
 /dev/power,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
 mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff
 ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us for module
 mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading window theme from
 /usr/share/mythtv/themes/metallurgy/menu-ui.xml
 mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
 2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
 2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
   /VIDEO_TS, /.TOC.plist, /vcd or /svcd
 2011-10-26 16:16:33.545 Searching CD statistically - file by file!
 2011-10-26 16:16:34.035 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
 2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
 2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:34.242 Using protocol version 23056
 2011-10-26 16:16:36.240 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//library.xml
 2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
 /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
 2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:47.998 Using protocol version 23056
 2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with a
 title unknown to us in m_recordingList
  Jessie:Zombie Tea Party 5
 2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:
 2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
   Could not connect to server :6543
 2011-10-26 16:16:58.654 MythSocket(8de8cf8:39): Unable to lookup:
 2011-10-26 16:16:58.654 RemoteFile::openSocket(file data socket), Error:
   Could not connect to server :6543
 2011-10-26 16:16:58.670 

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 16:51:15 schrieb Michael Sullivan:
 On 10/26/11 16:46, Michael Schreckenbauer wrote:
  Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
  Here's my output from a mythfrontend run at the terminal:
  
  michael@camille ~ $ mythfrontend
  2011-10-26 16:16:27.121 mythfrontend version:
  branches/release-0-23-fixes [27077] www.mythtv.org
  2011-10-26 16:16:27.121 Using runtime prefix = /usr
  2011-10-26 16:16:27.121 Using configuration directory =
  /home/michael/.mythtv
  2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
  2011-10-26 16:16:27.940 Empty LocalHostName.
  2011-10-26 16:16:27.940 Using localhost value of camille
  2011-10-26 16:16:28.039 New DB connection, total: 1
  2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
  localhost
  2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
  2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support
  enabled 2011-10-26 16:16:28.183 DPMS is disabled.
  2011-10-26 16:16:28.185 Primary screen: 0.
  2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
  localhost
  2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
  2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
  2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
  2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
  2011-10-26 16:16:28.876 Primary screen: 0.
  2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
  2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
  2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
  '/var/run/lirc/lircd'
  
 eno: No such file or directory (2)
  
  2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
  Failed to read /home/michael/.mythtv/joystickmenurc
  2011-10-26 16:16:29.061 Using Frameless Window
  2011-10-26 16:16:29.061 Using Full Screen Window
  2011-10-26 16:16:29.892 Using the Qt painter
  2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/metallurgy/base.xml'
  2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/default-wide/base.xml'
  2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/default/base.xml'
  2011-10-26 16:16:30.807 New DB connection, total: 2
  2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer):
  1254 2011-10-26 16:16:30.822 Connected to database 'mythconverg' at
  host: localhost
  2011-10-26 16:16:32.928 Registering Internal as a media playback
  plugin.
  2011-10-26 16:16:33.145 Current MythMusic Schema Version
  (MusicDBSchemaVer): 1017
  2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat
  /dev/bdi, 
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
  /dev/power,
  
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat
  /dev/bdi, 
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
  /dev/power,
  
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
  mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mk
  a,aiff ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us for
  module mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading window
  theme from /usr/share/mythtv/themes/metallurgy/menu-ui.xml
  mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
  2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
  2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
  
 /VIDEO_TS, /.TOC.plist, /vcd or /svcd
  
  2011-10-26 16:16:33.545 Searching CD statistically - file by file!
  2011-10-26 16:16:34.035 Loading menu theme from
  /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
  2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
  2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
  192.168.2.3:6543 (try 1 of 1)
  2011-10-26 16:16:34.242 Using protocol version 23056
  2011-10-26 16:16:36.240 Loading menu theme from
  /usr/share/mythtv/themes/defaultmenu//library.xml
  2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
  /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
  2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
  192.168.2.3:6543 (try 1 of 1)
  2011-10-26 16:16:47.998 Using protocol version 23056
  2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with a
  title unknown to us in m_recordingList
  
   Jessie:Zombie Tea Party 5
  
  2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:
  
  2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
 Could not connect to server :6543
  
  2011

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 16:51:15 schrieb Michael Sullivan:
 On 10/26/11 16:46, Michael Schreckenbauer wrote:
  Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
  Here's my output from a mythfrontend run at the terminal:
  
  michael@camille ~ $ mythfrontend
  2011-10-26 16:16:27.121 mythfrontend version:
  branches/release-0-23-fixes [27077] www.mythtv.org
  2011-10-26 16:16:27.121 Using runtime prefix = /usr
  2011-10-26 16:16:27.121 Using configuration directory =
  /home/michael/.mythtv
  2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
  2011-10-26 16:16:27.940 Empty LocalHostName.
  2011-10-26 16:16:27.940 Using localhost value of camille
  2011-10-26 16:16:28.039 New DB connection, total: 1
  2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
  localhost
  2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
  2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support
  enabled 2011-10-26 16:16:28.183 DPMS is disabled.
  2011-10-26 16:16:28.185 Primary screen: 0.
  2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
  localhost
  2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
  2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
  2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
  2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
  2011-10-26 16:16:28.876 Primary screen: 0.
  2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
  2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
  2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
  '/var/run/lirc/lircd'
  
 eno: No such file or directory (2)
  
  2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
  Failed to read /home/michael/.mythtv/joystickmenurc
  2011-10-26 16:16:29.061 Using Frameless Window
  2011-10-26 16:16:29.061 Using Full Screen Window
  2011-10-26 16:16:29.892 Using the Qt painter
  2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/metallurgy/base.xml'
  2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/default-wide/base.xml'
  2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/default/base.xml'
  2011-10-26 16:16:30.807 New DB connection, total: 2
  2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer):
  1254 2011-10-26 16:16:30.822 Connected to database 'mythconverg' at
  host: localhost
  2011-10-26 16:16:32.928 Registering Internal as a media playback
  plugin.
  2011-10-26 16:16:33.145 Current MythMusic Schema Version
  (MusicDBSchemaVer): 1017
  2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat
  /dev/bdi, 
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
  /dev/power,
  
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat
  /dev/bdi, 
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
  /dev/power,
  
 eno: No such file or directory (2)
  
  2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
  mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mk
  a,aiff ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us for
  module mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading window
  theme from /usr/share/mythtv/themes/metallurgy/menu-ui.xml
  mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
  2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
  2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
  
 /VIDEO_TS, /.TOC.plist, /vcd or /svcd
  
  2011-10-26 16:16:33.545 Searching CD statistically - file by file!
  2011-10-26 16:16:34.035 Loading menu theme from
  /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
  2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
  2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
  192.168.2.3:6543 (try 1 of 1)
  2011-10-26 16:16:34.242 Using protocol version 23056
  2011-10-26 16:16:36.240 Loading menu theme from
  /usr/share/mythtv/themes/defaultmenu//library.xml
  2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
  /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
  2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
  192.168.2.3:6543 (try 1 of 1)
  2011-10-26 16:16:47.998 Using protocol version 23056
  2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with a
  title unknown to us in m_recordingList
  
   Jessie:Zombie Tea Party 5
  
  2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:
  
  2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
 Could not connect to server :6543
  
  2011

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 17:14:08 schrieb Michael Sullivan:
  camille ~ # mysql -u root mysql -p
  Enter password:
  Reading table information for completion of table and column names
  You can turn off this feature to get a quicker startup with -A
  
  Welcome to the MySQL monitor.  Commands end with ; or \g.
  Your MySQL connection id is 3
  Server version: 5.1.56-log Gentoo Linux mysql-5.1.56
  
  Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights
  reserved. This software comes with ABSOLUTELY NO WARRANTY. This is
  free software, and you are welcome to modify and redistribute it
  under the GPL v2 license
  
  Type 'help;' or '\h' for help. Type '\c' to clear the current input
  statement.
  
  mysql UPDATE user SET Password=PASSWORD('mythtv') WHERE
  user='mythtv';
  Query OK, 0 rows affected (0.00 sec)
  Rows matched: 2  Changed: 0  Warnings: 0
  
  mysql FLUSH PRIVILEGES;
  ERROR 1146 (42S02): Table 'mysql.servers' doesn't exist
  mysql quit
  Bye
  
  Your mysql is broken somehow. Did you by any chance upgrade mysql? Try
  running mysql_upgrade.
  
  Best,
  Michael
 
 michael@camille ~ $ mythfrontend
 2011-10-26 16:16:27.121 mythfrontend version:
 branches/release-0-23-fixes [27077] www.mythtv.org
 2011-10-26 16:16:27.121 Using runtime prefix = /usr
 2011-10-26 16:16:27.121 Using configuration directory =
 /home/michael/.mythtv
 2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
 2011-10-26 16:16:27.940 Empty LocalHostName.
 2011-10-26 16:16:27.940 Using localhost value of camille
 2011-10-26 16:16:28.039 New DB connection, total: 1
 2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
 2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support enabled
 2011-10-26 16:16:28.183 DPMS is disabled.
 2011-10-26 16:16:28.185 Primary screen: 0.
 2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
 2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
 2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
 2011-10-26 16:16:28.876 Primary screen: 0.
 2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
 2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
 '/var/run/lirc/lircd'
   eno: No such file or directory (2)
 2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
 Failed to read /home/michael/.mythtv/joystickmenurc
 2011-10-26 16:16:29.061 Using Frameless Window
 2011-10-26 16:16:29.061 Using Full Screen Window
 2011-10-26 16:16:29.892 Using the Qt painter
 2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/metallurgy/base.xml'
 2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default-wide/base.xml'
 2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default/base.xml'
 2011-10-26 16:16:30.807 New DB connection, total: 2
 2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 16:16:30.822 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:32.928 Registering Internal as a media playback plugin.
 2011-10-26 16:16:33.145 Current MythMusic Schema Version
 (MusicDBSchemaVer): 1017
 2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
 /dev/power,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
 /dev/power,
   eno: No such file or directory (2)
 2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
 mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff
 ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us for module
 mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading window theme from
 /usr/share/mythtv/themes/metallurgy/menu-ui.xml
 mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
 2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
 2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
   /VIDEO_TS, /.TOC.plist, /vcd or /svcd
 2011-10-26 16:16:33.545 Searching CD statistically - file by file!
 2011-10-26 16:16:34.035 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
 2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
 2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 17:30:16 schrieb Michael Sullivan:
 On 10/26/11 17:09, Michael Schreckenbauer wrote:
  Am Mittwoch, 26. Oktober 2011, 16:51:15 schrieb Michael Sullivan:
  On 10/26/11 16:46, Michael Schreckenbauer wrote:
  Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
  Here's my output from a mythfrontend run at the terminal:
  
  michael@camille ~ $ mythfrontend
  2011-10-26 16:16:27.121 mythfrontend version:
  branches/release-0-23-fixes [27077] www.mythtv.org
  2011-10-26 16:16:27.121 Using runtime prefix = /usr
  2011-10-26 16:16:27.121 Using configuration directory =
  /home/michael/.mythtv
  2011-10-26 16:16:27.940 Unable to read configuration file
  mysql.txt
  2011-10-26 16:16:27.940 Empty LocalHostName.
  2011-10-26 16:16:27.940 Using localhost value of camille
  2011-10-26 16:16:28.039 New DB connection, total: 1
  2011-10-26 16:16:28.090 Connected to database 'mythconverg' at
  host:
  localhost
  2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
  2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver
  support
  enabled 2011-10-26 16:16:28.183 DPMS is disabled.
  2011-10-26 16:16:28.185 Primary screen: 0.
  2011-10-26 16:16:28.186 Connected to database 'mythconverg' at
  host:
  localhost
  2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
  2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
  2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520
  bytes
  2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
  2011-10-26 16:16:28.876 Primary screen: 0.
  2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
  2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
  2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix
  socket
  '/var/run/lirc/lircd'
  
   eno: No such file or directory (2)
  
  2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick
  disabled -
  Failed to read /home/michael/.mythtv/joystickmenurc
  2011-10-26 16:16:29.061 Using Frameless Window
  2011-10-26 16:16:29.061 Using Full Screen Window
  2011-10-26 16:16:29.892 Using the Qt painter
  2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/metallurgy/base.xml'
  2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/default-wide/base.xml'
  2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
  '/usr/share/mythtv/themes/default/base.xml'
  2011-10-26 16:16:30.807 New DB connection, total: 2
  2011-10-26 16:16:30.820 Current MythTV Schema Version
  (DBSchemaVer):
  1254 2011-10-26 16:16:30.822 Connected to database 'mythconverg'
  at
  host: localhost
  2011-10-26 16:16:32.928 Registering Internal as a media playback
  plugin.
  2011-10-26 16:16:33.145 Current MythMusic Schema Version
  (MusicDBSchemaVer): 1017
  2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat
  /dev/bdi,
  
   eno: No such file or directory (2)
  
  2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
  /dev/power,
  
   eno: No such file or directory (2)
  
  2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat
  /dev/bdi,
  
   eno: No such file or directory (2)
  
  2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
  /dev/power,
  
   eno: No such file or directory (2)
  
  2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
  mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tt
  a,mk
  a,aiff ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us
  for
  module mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading
  window
  theme from /usr/share/mythtv/themes/metallurgy/menu-ui.xml
  mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
  2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
  2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
  
   /VIDEO_TS, /.TOC.plist, /vcd or /svcd
  
  2011-10-26 16:16:33.545 Searching CD statistically - file by file!
  2011-10-26 16:16:34.035 Loading menu theme from
  /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
  2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
  2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
  192.168.2.3:6543 (try 1 of 1)
  2011-10-26 16:16:34.242 Using protocol version 23056
  2011-10-26 16:16:36.240 Loading menu theme from
  /usr/share/mythtv/themes/defaultmenu//library.xml
  2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
  /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
  2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
  192.168.2.3:6543 (try 1 of 1)
  2011-10-26 16:16:47.998 Using protocol version 23056
  2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with
  a
  title unknown to us in m_recordingList
  
   Jessie:Zombie Tea Party 5
  
  2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 17:42:14 schrieb Michael Sullivan:
 On 10/26/11 17:32, Michael Schreckenbauer wrote:
  So you did run mysql_upgrade and same as before? Some words about what
  you did and some relevant output of the command (if any) wouldn't hurt
  ;) Have you tried mysql_fix_privilege_tables? After that, you would
  need to run the steps mentioned in the wiki again (I think), giving the
  password you entered in myth-setup to the UPDATE command.
  
  Best,
  Michael
 
 camille ~ # mysql_upgrade -p
 Enter password:
 Looking for 'mysql' as: mysql
 Looking for 'mysqlcheck' as: mysqlcheck
 Running 'mysqlcheck' with connection arguments: '--port=3306'
 '--socket=/var/run/mysqld/mysqld.sock'
 Failed to ALTER DATABASE `#mysql50#mythconverg.bak` UPGRADE DATA
 DIRECTORY NAME
 Error: Incorrect database name '#mysql50#mythconverg.bak'
 Running 'mysqlcheck' with connection arguments: '--port=3306'
 '--socket=/var/run/mysqld/mysqld.sock'
 forum.phpbb_auth_access
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_auth_access` or dump/reload to fix it!
 forum.phpbb_banlist
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_banlist` or dump/reload to fix it!
 forum.phpbb_categories
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_categories` or dump/reload to fix it!
 forum.phpbb_config
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_config` or dump/reload to fix it!
 forum.phpbb_confirm
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_confirm` or dump/reload to fix it!
 forum.phpbb_disallow
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_disallow` or dump/reload to fix it!
 forum.phpbb_forum_prune
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_forum_prune` or dump/reload to fix it!
 forum.phpbb_forums
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_forums` or dump/reload to fix it!
 forum.phpbb_groups
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_groups` or dump/reload to fix it!
 forum.phpbb_posts
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_posts` or dump/reload to fix it!
 forum.phpbb_posts_text
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_posts_text` or dump/reload to fix it!
 forum.phpbb_privmsgs
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_privmsgs` or dump/reload to fix it!
 forum.phpbb_privmsgs_text
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_privmsgs_text` or dump/reload to fix it!
 forum.phpbb_ranks
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_ranks` or dump/reload to fix it!
 forum.phpbb_search_results
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_search_results` or dump/reload to fix it!
 forum.phpbb_search_wordlist
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_search_wordlist` or dump/reload to fix it!
 forum.phpbb_search_wordmatch
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_search_wordmatch` or dump/reload to fix it!
 forum.phpbb_sessions
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_sessions` or dump/reload to fix it!
 forum.phpbb_sessions_keys
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_sessions_keys` or dump/reload to fix it!
 forum.phpbb_smilies
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_smilies` or dump/reload to fix it!
 forum.phpbb_themes
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_themes` or dump/reload to fix it!
 forum.phpbb_themes_name
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_themes_name` or dump/reload to fix it!
 forum.phpbb_topics
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_topics` or dump/reload to fix it!
 forum.phpbb_topics_watch
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_topics_watch` or dump/reload to fix it!
 forum.phpbb_user_group
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_user_group` or dump/reload to fix it!
 forum.phpbb_users
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_users` or dump/reload to fix it!
 forum.phpbb_vote_desc
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_vote_desc` or dump/reload to fix it!
 forum.phpbb_vote_results
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_vote_results` or dump/reload to fix it!
 forum.phpbb_vote_voters
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_vote_voters` or dump/reload to fix it!
 forum.phpbb_words
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_words` or dump/reload to fix it!
 movies.also_available
 error: Table upgrade required. Please do REPAIR TABLE
 `also_available` or dump/reload to fix it!
 movies.do_not_watch
 error: Table upgrade required. Please do REPAIR TABLE
 `do_not_watch

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 17:33:04 schrieb Michael Sullivan:
 I ran mythfilldatabase and redirected it to a file.  I don't know if
 this list allows attachments or not, and it's probably too long to paste
 here.  At the end though I saw something strange:
 
 2011-10-26 17:26:04.731 Grab complete.  Actual data from Tue Nov 8
 05:00:00 2011 to Wed Nov 9 05:00:00 2011 (UTC)
 2011-10-26 17:26:04.734 Main temp tables populated.
 2011-10-26 17:26:04.849 Did not find any new program data.
 2011-10-26 17:26:04.850 Failed to fetch some program info
 2011-10-26 17:26:04.855 mythfilldatabase: Failed to fetch some program info
 2011-10-26 17:26:04.855 Adjusting program database end times.
 2011-10-26 17:26:04.856 0 replacements made
 2011-10-26 17:26:04.859 mythfilldatabase: Listings Download Finished
 2011-10-26 17:26:04.859 Marking generic episodes.
 2011-10-26 17:26:04.860 Found 0
 2011-10-26 17:26:04.860 Fudging non-unique programids with multiple parts.
 2011-10-26 17:26:04.861 Found 0
 2011-10-26 17:26:04.862 Marking repeats.
 2011-10-26 17:26:04.865 Found 0
 2011-10-26 17:26:04.865 Unmarking new episode rebroadcast repeats.
 2011-10-26 17:26:04.866 Found 0
 2011-10-26 17:26:04.866 Marking episode first showings.
 2011-10-26 17:26:04.868 Found 0
 2011-10-26 17:26:04.868 Marking episode last showings.
 2011-10-26 17:26:04.869 Found 0
 2011-10-26 17:26:04.874 Grabbing next suggested grabbing time
 2011-10-26 17:26:05.350 DataDirect: BlockedTime is: 2011-10-26T17:26:05
 2011-10-26 17:26:05.350 DataDirect: NextSuggestedTime is:
 2011-10-27T06:07:21
 2011-10-26 17:26:05.355
 ===
 
 | Attempting to contact the master backend for rescheduling.  |
 | If the master is not running, rescheduling will happen when |
 | the master backend is restarted.|
 
 ===
 2011-10-26 17:26:05.366 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 17:26:05.367 Using protocol version 23056
 2011-10-26 17:26:05.420 Received a remote 'Clear Cache' request
 2011-10-26 17:26:06.458 mythfilldatabase run complete.
 2011-10-26 17:26:06.459 DataDirect: Deleting temporary files
 
 It failed to fetch some program info and it did not find any episodes OF
 ANY KIND!  I have no program listings available at all in mythfrontend.
  How do I fix this?

Is xmltv installed? Or do you use some other way to get listings?

Best,
Michael




Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 17:59:50 schrieb Michael Sullivan:
  So your mythtv-tables are ok afaics. you need to repair your php-bb
  tables at some time, but that's a different topic.
  From your other post I conclude, that connecting to the backend now
  works, but you don't get a program listing. I'll answer there, to keep
  things related together.
  
  Best,
  Michael
 
 I spent some time repairing tables.  Does this look better?
 
 camille ~ # mysql_upgrade -p
 Enter password:
 Looking for 'mysql' as: mysql
 Looking for 'mysqlcheck' as: mysqlcheck
 Running 'mysqlcheck' with connection arguments: '--port=3306'
 '--socket=/var/run/mysqld/mysqld.sock'
 Failed to ALTER DATABASE `#mysql50#mythconverg.bak` UPGRADE DATA
 DIRECTORY NAME
 Error: Incorrect database name '#mysql50#mythconverg.bak'

this looks strange. I have no idea what to do about this currently.

 Running 'mysqlcheck' with connection arguments: '--port=3306'
 '--socket=/var/run/mysqld/mysqld.sock'
 myFantasy.actions  OK
 myFantasy.allyAbilitiesOK
 myFantasy.characters   OK
 myFantasy.classOK
 myFantasy.enemyOK
 myFantasy.enemyAbility OK
 myFantasy.magicOK
 myFantasy.partyOK
 mysql.columns_priv OK
 mysql.db   OK
 mysql.eventOK
 mysql.func OK
 mysql.general_log
 Error: You can't use locks with log tables.
 status   : OK
 mysql.help_categoryOK
 mysql.help_keyword OK
 mysql.help_relationOK
 mysql.help_topic   OK
 mysql.host OK
 mysql.ndb_binlog_index OK
 mysql.plugin   OK
 mysql.proc OK
 mysql.procs_priv   OK
 mysql.servers  OK
 mysql.slow_log
 Error: You can't use locks with log tables.
 status   : OK
 mysql.tables_priv  OK
 mysql.time_zoneOK
 mysql.time_zone_leap_secondOK
 mysql.time_zone_name   OK
 mysql.time_zone_transition OK
 mysql.time_zone_transition_typeOK
 mysql.user OK
 mysql_cpp_data.images  OK
 mysql_cpp_data.stock
 Error: Table 'mysql_cpp_data.stock' doesn't exist
 status   : Operation failed

Dito.
I miss your php-bb tables here. Deleted? ;)

 mythconverg.archiveitems   OK
 mythconverg.callsignnetworkmap OK
 mythconverg.capturecardOK
 mythconverg.cardinput  OK
 mythconverg.channelOK
 mythconverg.channelgroup   OK
 mythconverg.channelgroupnames  OK
 mythconverg.channelscanOK
 mythconverg.channelscan_channelOK
 mythconverg.channelscan_dtv_multiplex  OK
 mythconverg.codecparamsOK
 mythconverg.creditsOK
 mythconverg.customexample  OK
 mythconverg.diseqc_config  OK
 mythconverg.diseqc_treeOK
 mythconverg.displayprofilegroups   OK
 mythconverg.displayprofilesOK
 mythconverg.dtv_multiplex  OK
 mythconverg.dtv_privatetypes   OK
 mythconverg.dvdbookmarkOK
 mythconverg.dvdinput   OK
 mythconverg.dvdtranscode   OK
 mythconverg.eit_cache  OK
 mythconverg.filemarkup OK
 mythconverg.gamemetadata   OK
 mythconverg.gameplayersOK
 mythconverg.housekeeping   OK
 mythconverg.inputgroup OK
 mythconverg.inuseprograms  OK
 mythconverg.jobqueue   OK
 mythconverg.jumppoints OK
 mythconverg.keybindingsOK
 mythconverg.keywordOK
 mythconverg.music_albumart OK
 mythconverg.music_albums   OK
 mythconverg.music_artists  OK
 mythconverg.music_directories  OK
 

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Schreckenbauer
Am Mittwoch, 26. Oktober 2011, 18:10:08 schrieb Michael Sullivan:
 On 10/26/11 17:58, Michael Schreckenbauer wrote:
  Am Mittwoch, 26. Oktober 2011, 17:33:04 schrieb Michael Sullivan:
  I ran mythfilldatabase and redirected it to a file.  I don't know if
  this list allows attachments or not, and it's probably too long to
  paste
  here.  At the end though I saw something strange:
  
  2011-10-26 17:26:04.731 Grab complete.  Actual data from Tue Nov 8
  05:00:00 2011 to Wed Nov 9 05:00:00 2011 (UTC)
  2011-10-26 17:26:04.734 Main temp tables populated.
  2011-10-26 17:26:04.849 Did not find any new program data.
  2011-10-26 17:26:04.850 Failed to fetch some program info
  2011-10-26 17:26:04.855 mythfilldatabase: Failed to fetch some program
  info 2011-10-26 17:26:04.855 Adjusting program database end times.
  2011-10-26 17:26:04.856 0 replacements made
  2011-10-26 17:26:04.859 mythfilldatabase: Listings Download Finished
  2011-10-26 17:26:04.859 Marking generic episodes.
  2011-10-26 17:26:04.860 Found 0
  2011-10-26 17:26:04.860 Fudging non-unique programids with multiple
  parts. 2011-10-26 17:26:04.861 Found 0
  2011-10-26 17:26:04.862 Marking repeats.
  2011-10-26 17:26:04.865 Found 0
  2011-10-26 17:26:04.865 Unmarking new episode rebroadcast repeats.
  2011-10-26 17:26:04.866 Found 0
  2011-10-26 17:26:04.866 Marking episode first showings.
  2011-10-26 17:26:04.868 Found 0
  2011-10-26 17:26:04.868 Marking episode last showings.
  2011-10-26 17:26:04.869 Found 0
  2011-10-26 17:26:04.874 Grabbing next suggested grabbing time
  2011-10-26 17:26:05.350 DataDirect: BlockedTime is:
  2011-10-26T17:26:05
  2011-10-26 17:26:05.350 DataDirect: NextSuggestedTime is:
  2011-10-27T06:07:21
  2011-10-26 17:26:05.355
  ===
  
  | Attempting to contact the master backend for rescheduling.  |
  | If the master is not running, rescheduling will happen when |
  | the master backend is restarted.|
  
  ===
  2011-10-26 17:26:05.366 MythContext: Connecting to backend server:
  192.168.2.3:6543 (try 1 of 1)
  2011-10-26 17:26:05.367 Using protocol version 23056
  2011-10-26 17:26:05.420 Received a remote 'Clear Cache' request
  2011-10-26 17:26:06.458 mythfilldatabase run complete.
  2011-10-26 17:26:06.459 DataDirect: Deleting temporary files
  
  It failed to fetch some program info and it did not find any episodes
  OF
  ANY KIND!  I have no program listings available at all in
  mythfrontend.
  
   How do I fix this?
  
  Is xmltv installed? Or do you use some other way to get listings?
  
  Best,
  Michael
 
 It's been so long (as I said at the beginning of this thread, my setup
 has just worked since 2006.

sorry, too much information in this thread. Missed that.

 I guess I do.  My log files say it
 emerged this morning.  Is there any configuration I need to do on it?
 I
 didn't see any in the README file in /usr/share/doc/xmltv-0.5.50...

Not that I know of. Puh, currently I am out of ideas, sorry.

Best,
Michael




Re: [gentoo-user] Kernel Panic fglrx

2011-10-24 Thread Michael Schreckenbauer
Hi,

Am Montag, 24. Oktober 2011, 16:36:00 schrieb 4k3nd0:
 hi guys,
 
 somehow my fglrx is unstable. Got sometime a crashing fglrx that
 pulling down the hole system. Someone maybe a idea to fix this?
 
 http://pastebin.com/izFnWD7N

[fglrx] ASIC hang happened

is a message indicating a deadlock in a compute-kernel (shader, GPGPU), which 
in almost all cases is a userspace bug or the timeout in fglrx is too low for 
the kernel in question.
I'm no expert in tweaking fglrx, but afaict there's nothing you can do except 
wait for an update of the driver.
You could also try the opensource-drivers (I think r600 in your case), cause 
those do their own heuristics to determine hanging or deadlocked compute-
kernels.

Best,
Michael





Re: [gentoo-user] Kernel Panic fglrx

2011-10-24 Thread Michael Schreckenbauer
Am Montag, 24. Oktober 2011, 18:11:45 schrieb 4k3nd0:
 On 10/24/11 17:31, Michael Schreckenbauer wrote:
  Hi,
  
  Am Montag, 24. Oktober 2011, 16:36:00 schrieb 4k3nd0:
  hi guys,
  
  somehow my fglrx is unstable. Got sometime a crashing fglrx that
  pulling down the hole system. Someone maybe a idea to fix this?
  
  http://pastebin.com/izFnWD7N
  
  [fglrx] ASIC hang happened
  
  is a message indicating a deadlock in a compute-kernel (shader,
  GPGPU), which in almost all cases is a userspace bug or the timeout
  in fglrx is too low for the kernel in question. I'm no expert in
  tweaking fglrx, but afaict there's nothing you can do except wait
  for an update of the driver. You could also try the
  opensource-drivers (I think r600 in your case), cause those do
  their own heuristics to determine hanging or deadlocked compute-
  kernels.
  
  Best, Michael
 
 Thank you. Do you think using a newer version of xserver would help?

Always worth a try imo. But I wouldn't expect too much from doing this. The 
driver thinks, that a compute-kernel hangs or is deadlocked. If this 
assumption is correct, the userspace app needs a fix otherwise the driver is 
faulty.
Is this problem related to running a special app or DE? Or does it happen 
always?

Best,
Michael




Re: [gentoo-user] Kernel Panic fglrx

2011-10-24 Thread Michael Schreckenbauer
Am Montag, 24. Oktober 2011, 18:49:36 schrieb Volker Armin Hemmann:
 Am Montag 24 Oktober 2011, 16:36:00 schrieb 4k3nd0:
  hi guys,
  
  somehow my fglrx is unstable. Got sometime a crashing fglrx that
  pulling down the hole system. Someone maybe a idea to fix this?
  
  http://pastebin.com/izFnWD7N
  
  I'm using the 11.9 ati-drivers, i got a ATI Readon HD6990 M
  
  uname -a
  Linux Slaxy 3.0.7-gentoo #1 SMP Sat Oct 22 20:44:41 CEST 2011 x86_64
  Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz GenuineIntel GNU/Linux
  
  Using xorg-server 1.10.4-r1
  
  Greeting's from Germany
  4k3nd0
 
 well, the first thing is always: don't use patched kernels.
 
 gentoo kernels are patched.
 
 Use vanilla. See if the problems persist.

Good advice in general. But afaik the deadlock detection happens completely in 
the driver, so I am not convinced other parts of the kernel could cause this. 
I might be wrong about this though.

 fglrx has been solid for me for the last half of a year. With uptimes of two
 weeks and more, reboots always caused by kernel updates.

Best,
Michael




Re: [gentoo-user] Issue 3 - CD Playing

2011-10-21 Thread Michael Schreckenbauer
Am Freitag, 21. Oktober 2011, 20:35:07 schrieb Jonas de Buhr:
 Am Fri, 21 Oct 2011 12:43:09 -0400
 
 schrieb Colleen Beamer colleen.bea...@gmail.com:
  P.S.  kscd will display the track listings on the CD, but will not
  play.
 
 again, please check for the audio cable going from cd-rom to soundcard
 or have a look at the link i posted earlier.

FWIW, I don't have this cable and my kscd has no extras-settings  
behaviour, where I could switch use direct digital playback like mentioned 
in your link (has yours?), but it plays audio-cds just fine from my SATA-drive.

Best,
Michael




Re: [gentoo-user] Issue 3 - CD Playing

2011-10-21 Thread Michael Schreckenbauer
Am Freitag, 21. Oktober 2011, 22:01:06 schrieb Jonas de Buhr:
 Am Fri, 21 Oct 2011 21:24:52 +0200
 
 schrieb Michael Schreckenbauer grim...@gmx.de:
  Am Freitag, 21. Oktober 2011, 20:35:07 schrieb Jonas de Buhr:
   Am Fri, 21 Oct 2011 12:43:09 -0400
   
   schrieb Colleen Beamer colleen.bea...@gmail.com:
P.S.  kscd will display the track listings on the CD, but will
not
play.
   
   again, please check for the audio cable going from cd-rom to
   soundcard or have a look at the link i posted earlier.
  
  FWIW, I don't have this cable and my kscd has no extras-settings 
  behaviour, where I could switch use direct digital playback like
  mentioned in your link (has yours?)
 
 i just emerged it (i don't normally use CDs more than once for ripping,

I am old fashioned in this regard. I have ~500 LPs and some more CDs and 
listen to them on my ancient, but excellent, Onkyo-HiFi.
Of course my computer is connected to it, so I can listen to mp3s using this 
superb hardware too :)

 can't see why anyone would) and it indeed has not.
 maybe the option was moved to the backend?

Doesn't seem so. I looked really, really hard to find this setting anywhere, 
cause I remember there was one quite some time ago. Nothing, nowhere afaict.

 , but it plays audio-cds just fine
 
  from my SATA-drive.
 
 well... its not a big revelation that this is possible ;)
 as long as the functionality for direct playback (through the extra
 cable) wasn't completely removed from kscd (possible, anyone interested
 should read the changelogs) it's still a very reasonable explanation
 for this problem since it's working in caffeine but not in a simple
 application like kscd which is more likely to rely on builtin
 functionality.

I think, that this is gstreamer related. Colleen uses phonon-gstreamer, 
whereas I use phonon-xine, because I had only bad experiences with the 
gstreamer phonon-backend.

Best,
Michael




Re: [gentoo-user] Issue 3 - CD Playing

2011-10-19 Thread Michael Schreckenbauer
Hi Colleen,

On Tuesday, 18. October 2011 19:16:17 Colleen Beamer wrote:
 Hi everyone,
 
 I have googled this problem and tried everything and can't seem to
 resolve the issue.
 
 My CD drive will read data CD's, but will not play audio CD's.  I've
 tried with kscd and Kaffeine.  Haven't installed amarok yet.  I've
 checked and rechecked my settings in the kernel.  In /dev cdrom is a
 symlink to sr0.  Nothing I've read in anything that came up in my google
 search helped.
 
 Oops!  Forgot to add this to my original message:
 
 When I try to play an audio CD in kaffeine, I get an alert box that says:
 Cannot find input plgin for MRL cdda://
 
 cdda is one of my USE flags.  I have tried upgrading phonon-gstreamer
 'cause I read somewhere that the problem might be with phonon.

gstreamer never worked for me. I use phonon-xine and audio-cds play fine with 
kscd and kaffeine. I checked phonon-vlc also and it works too.

Best,
Michael




Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
Hi Canek,

On Saturday, 15. October 2011 00:50:22 Canek Peláez Valdés wrote:
 On Sat, Oct 15, 2011 at 12:34 AM, Canek Peláez Valdés can...@gmail.com 
wrote:
  On Fri, Oct 14, 2011 at 11:56 PM, Dale rdalek1...@gmail.com wrote:
  Pandu Poluan wrote:
  
  On Oct 15, 2011 5:49 AM, Dale rdalek1...@gmail.com wrote:
  Neil Bothwick wrote:
  On Fri, 14 Oct 2011 11:15:24 -0500, Dale wrote:
  A'right now.  I'm going to start on hal and /usr being on /
  again.  :-P 
  Jeez, 43 years on and you're still going on about it...
  
  Dang, I was only a year old when hal came out?  That just doubled my
  age. It's closer to what I feel like tho.
  
  I'm still not happy with /usr being required tho.  That is still
  standing on a bad nerve.  Don't worry tho, I got plenty of those
  bad nerves.  :-P 
  Do you know that there's a plan to move /var/run to / also? ;-)
  
  Rgds,
  
  
  Now someone on here swears up and down that /var isn't going to be
  required on /.
  
  /var != /var/run
  /var != /var/lock
  
  /var/run is going in /run, but /var/run (by definition) only contains
  things like PID files and runtime sockets. In the same vein, /var/lock
  also is going into /run/lock. I have acknowledged this from the very
  beginning, and I have been pointing out that implying that because
  those two (really small and bounded) directories of /var are going
  into /run and /run/lock, it doesn't mean that the whole /var will go
  into /. That is disinformation.
 
 I finally found the link (got confused by gmane interface):
 
 http://article.gmane.org/gmane.linux.gentoo.user/246892
 
 Quoting myself (from more than one month ago):
 
 Saying that proposing /run and /lock to be available at boot time
 means that in the future a separated /var partition could be not
 supported is, in my book, disinformation. /var/run and /var/lock (by
 definition) are almost empty (in space). /var/lib usually stores whole
 databases. The difference is important and relevant.

and you still did not look into /var/lib to see, what is actually in there?
My systems has directories alsa, bluetooth, hp and many more there that are 
not databases at all.
Stop spreading this misinformation, please.

 Regards.

Best,
Michael




Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
On Saturday, 15. October 2011 01:42:10 Canek Peláez Valdés wrote:
  /var/lib usually stores whole
  databases. The difference is important and relevant.

 My systems has directories alsa, bluetooth, hp and many more
 there that are not databases at all.
 
 So?
 Which one? That /var is not going into /?

No. That /var/lib contains databases. Is this so difficult to get?
On my system /var/lib/alsa contains data, that alsa uses to restore mixer-
levels. So *my* /var/lib is used during boot and *my* /var/lib has to be 
mounted by the initramfs. That's the situation on nearly every gentoo system 
using sound (systemd might handle this different, I have no idea)
Got it? Your system is not the center of the world.

 Regards.

Best,
Michael




Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
Hi Canek,

On Saturday, 15. October 2011 02:02:13 Canek Peláez Valdés wrote:
 On Sat, Oct 15, 2011 at 1:37 AM, Dale rdalek1...@gmail.com wrote:
  Canek Peláez Valdés wrote:
  On Fri, Oct 14, 2011 at 11:56 PM, Dalerdalek1...@gmail.com  wrote:
  Pandu Poluan wrote:
  
  On Oct 15, 2011 5:49 AM, Dalerdalek1...@gmail.com  wrote:
  Neil Bothwick wrote:
  On Fri, 14 Oct 2011 11:15:24 -0500, Dale wrote:
  A'right now.  I'm going to start on hal and /usr being on /
  again.
   :-P
  
  Jeez, 43 years on and you're still going on about it...
  
  Dang, I was only a year old when hal came out?  That just doubled
  my
  age.
   It's closer to what I feel like tho.
  
  I'm still not happy with /usr being required tho.  That is still
  standing
  on a bad nerve.  Don't worry tho, I got plenty of those bad
  nerves.  :-P 
  Do you know that there's a plan to move /var/run to / also? ;-)
  
  Rgds,
  
  
  Now someone on here swears up and down that /var isn't going to be
  required
  on /.
  
  /var != /var/run
  /var != /var/lock
  
  /var/run is going in /run, but /var/run (by definition) only contains
  things like PID files and runtime sockets. In the same vein, /var/lock
  also is going into /run/lock. I have acknowledged this from the very
  beginning, and I have been pointing out that implying that because
  those two (really small and bounded) directories of /var are going
  into /run and /run/lock, it doesn't mean that the whole /var will go
  into /. That is disinformation.
  
  Nobody has even proposed that /var should go into the same partition
  as /. *Nobody*, and the simplest proof of that is that nobody has
  produced a single proof to the contrary. Not a single email, blog
  post, or wiki entry from any system developer even mentions the
  possibility of requiring /var to be in the same partition as /.
  
  Whoever says that /var will be required to be on the same partition as
  / is either wildly speculating, or spreading FUD.
  
  So /var/run and /var/lock isn't on /var?  Even if they will be linking
  to
  another location, the link has to be there for whatever program to
  follow. If /var isn't mounted yet, there is nothing for the program to
  find.
 The link goes the other way around. /run and /lock are the real
 directories, /var/run is a link to /run, /var/lock is a link to
 /run/lock. When the initramfs (or the init system) mount /var, they
 make the link.
 
  When I saw the messages about LVM and /var, that caused LVM to fail to
  start.  I wouldn't put / on LVM and wouldn't expect it to work without a
  init thingy either.  Thing is, based on it failing, you can't have /var
  on a separate partition and expect LVM to start.  So, if you use LVM
  for /usr and/or /var, you have to have a init thingy even if / is on a
  regular file system.
 
 Yes, as I said in my last mail, if you need LVM, you need an
 initramfs. Remove the LVM, and you can have /var  (and /usr for that
 matter) withouth an initramfs. Where/when did I say something
 different?
 
  I'm telling ya'll, /home is coming.
  
  That is just ridiculous.
  
  I would have said the same thing about /usr a year ago.  I'm not saying
  it is coming next week but . . .
 
 You can speculate all you want. Fact is, nobody has proposed that, and
 there is not even a single email suggesting that it will be necessary.
 On the contrary, the requirement for an initramfs or a /usr inside the
 same partition as / has been being discussed years ago; if you had
 followed the developers lists, you wil had hear about it months before
 it happened.
 
 Nothing similar has happened with /var, least of it /home.
 
We are going to end up where we
  can only have one drive in our Linux boxes for the OS and its
  relatives. 
  And so is this: more FUD.
  
  That or we will ALL have to start using the pesky init* thingy.
  
  More FUD: the current proposal (from Zac, the principal coder of
  portage, and someone who actually wrotes code and know what he is
  talking about) is this:
  
  
  http://archives.gentoo.org/gentoo-dev/msg_20749880f5bc5feda14148849872
  9fe8.xml
  
  It basically removes the need for a pesky init* thingy, although for
  the life of me I cannot understand why someone will not see the
  technical advantages of actually using an initramfs.
  
  I'll have to read his link later.
 
 Please do.
 
  I got 7 acres of land here, complete with trees.  If someone can
  find the dev that started this mess, I can find some rope.  Just
  saying.  ;-)  Oh, I
  live half a mile from the river too.  Makes for a good dump site.
   lol
  
  I noticed the other day that when LVM tries to start, it fails.  I
  have
  /var
  on a separate partition here.  It was complaining about something on
  /var missing.  So, you may be late in reporting this.  I think it
  is already needed for LVM if /usr or /var is on a separate
  partition.
  
  Again, get the facts right. If you use LVM you will need to use an
  initramfs. If you only use a separated /usr you 

Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
On Saturday, 15. October 2011 02:11:43 Canek Peláez Valdés wrote:
 On Sat, Oct 15, 2011 at 1:53 AM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  On Saturday, 15. October 2011 01:42:10 Canek Peláez Valdés wrote:
   /var/lib usually stores whole
   databases. The difference is important and relevant.
  
  My systems has directories alsa, bluetooth, hp and many more
  there that are not databases at all.
  
  So?
  Which one? That /var is not going into /?
  
  No. That /var/lib contains databases. Is this so difficult to get?
 
 I get it; it's just not relevant.
 
  On my system /var/lib/alsa contains data, that alsa uses to restore
  mixer- levels.
 
 Yeah, it does.
 
  So *my* /var/lib is used during boot and *my* /var/lib has to be
  mounted by the initramfs.
 
 No, it doesn't. What are you talking about? Look at /etc/init.d/alsasound:
 
 depend() {
 need localmount
 after bootmisc modules isapnp coldplug hotplug
 }
 
 Look at the first need from alsasound depend: it says, that it goes
 after localmount. If you have /var in NFS (a very weird setup for a
 desktop machine) maybe it will cause problems: but then it would be
 fault of OpenRC (or the alsasound init script). If /var is on a
 different partition, localmount will mount it and *then* alsasound
 will execute.
 
 And it makes sense: the volume restoring doesn't matter until
 immediately before running gdm and going into the desktop; of course
 you can mount /var before that.
 
 That's the situation on nearly every gentoo system
 
  using sound
 
 Yeah, and as I explained, thanks to need localmount there is no problem.
 
 (systemd might handle this different, I have no idea)
 
 Yeah, it does more intelligently: as I said, the volume restoring is
 only needed just before starting X.
 
  Got it? Your system is not the center of the world.
 
 No, but I start to think you don't know *your* system. Check the
 alsasound init script.

*lol*
Now, this is getting ridiculous. I don't know my system? Have a look into
/lib/udev/rules.d/90-alsa-restore.rules
to realize, that this is a hack, that restores alsa-levels *twice* on systems 
that have /var/lib on /. The levels are supposed to be restored by *udev* not 
the script.

 The /var directory doesn't need to be on the same partition as /. Period.

 Regards
 .

Best,
Michael




Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
On Saturday, 15. October 2011 02:21:18 Canek Peláez Valdés wrote:
 On Sat, Oct 15, 2011 at 2:15 AM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  Hi Canek,
  
  On Saturday, 15. October 2011 02:02:13 Canek Peláez Valdés wrote:
  On Sat, Oct 15, 2011 at 1:37 AM, Dale rdalek1...@gmail.com wrote:
   Canek Peláez Valdés wrote:
   On Fri, Oct 14, 2011 at 11:56 PM, Dalerdalek1...@gmail.com  wrote:
   Pandu Poluan wrote:
   
   On Oct 15, 2011 5:49 AM, Dalerdalek1...@gmail.com  wrote:
   Neil Bothwick wrote:
   On Fri, 14 Oct 2011 11:15:24 -0500, Dale wrote:
   A'right now.  I'm going to start on hal and /usr being
   on /
   again.
:-P
   
   Jeez, 43 years on and you're still going on about it...
   
   Dang, I was only a year old when hal came out?  That just
   doubled
   my
   age.
It's closer to what I feel like tho.
   
   I'm still not happy with /usr being required tho.  That is
   still
   standing
   on a bad nerve.  Don't worry tho, I got plenty of those bad
   nerves.  :-P
   
   Do you know that there's a plan to move /var/run to / also?
   ;-)
   
   Rgds,
   
   
   Now someone on here swears up and down that /var isn't going
   to be
   required
   on /.
   
   /var != /var/run
   /var != /var/lock
   
   /var/run is going in /run, but /var/run (by definition) only
   contains
   things like PID files and runtime sockets. In the same vein,
   /var/lock also is going into /run/lock. I have acknowledged
   this from the very beginning, and I have been pointing out that
   implying that because those two (really small and bounded)
   directories of /var are going into /run and /run/lock, it
   doesn't mean that the whole /var will go into /. That is
   disinformation.
   
   Nobody has even proposed that /var should go into the same
   partition
   as /. *Nobody*, and the simplest proof of that is that nobody
   has
   produced a single proof to the contrary. Not a single email,
   blog
   post, or wiki entry from any system developer even mentions the
   possibility of requiring /var to be in the same partition as /.
   
   Whoever says that /var will be required to be on the same
   partition as / is either wildly speculating, or spreading FUD.
   
   So /var/run and /var/lock isn't on /var?  Even if they will be
   linking
   to
   another location, the link has to be there for whatever program to
   follow. If /var isn't mounted yet, there is nothing for the
   program to
   find.
  
  The link goes the other way around. /run and /lock are the real
  directories, /var/run is a link to /run, /var/lock is a link to
  /run/lock. When the initramfs (or the init system) mount /var, they
  make the link.
  
   When I saw the messages about LVM and /var, that caused LVM to
   fail to
   start.  I wouldn't put / on LVM and wouldn't expect it to work
   without a init thingy either.  Thing is, based on it failing, you
   can't have /var on a separate partition and expect LVM to start.
So, if you use LVM for /usr and/or /var, you have to have a init
   thingy even if / is on a regular file system.
  
  Yes, as I said in my last mail, if you need LVM, you need an
  initramfs. Remove the LVM, and you can have /var  (and /usr for that
  matter) withouth an initramfs. Where/when did I say something
  different?
  
   I'm telling ya'll, /home is coming.
   
   That is just ridiculous.
   
   I would have said the same thing about /usr a year ago.  I'm not
   saying it is coming next week but . . .
  
  You can speculate all you want. Fact is, nobody has proposed that, and
  there is not even a single email suggesting that it will be necessary.
  On the contrary, the requirement for an initramfs or a /usr inside the
  same partition as / has been being discussed years ago; if you had
  followed the developers lists, you wil had hear about it months before
  it happened.
  
  Nothing similar has happened with /var, least of it /home.
  
 We are going to end up where we
   can only have one drive in our Linux boxes for the OS and its
   relatives.
   
   And so is this: more FUD.
   
   That or we will ALL have to start using the pesky init*
   thingy.
   
   More FUD: the current proposal (from Zac, the principal coder of
   portage, and someone who actually wrotes code and know what he
   is
   talking about) is this:
   
   
   http://archives.gentoo.org/gentoo-dev/msg_20749880f5bc5feda14148
   849872 9fe8.xml
   
   It basically removes the need for a pesky init* thingy,
   although for the life of me I cannot understand why someone
   will not see the technical advantages of actually using an
   initramfs.
   
   I'll have to read his link later.
  
  Please do.
  
   I got 7 acres of land here, complete with trees.  If someone
   can
   find the dev that started this mess, I can find some rope.
Just
   saying.  ;-)  Oh, I
   live half a mile from the river too.  Makes for a good dump
   site.
lol
   
   I noticed the other day that when LVM tries to start, it
   fails.  I
   have

Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
On Saturday, 15. October 2011 02:47:26 Canek Peláez Valdés wrote:
 On Sat, Oct 15, 2011 at 2:31 AM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  On Saturday, 15. October 2011 02:11:43 Canek Peláez Valdés wrote:
  On Sat, Oct 15, 2011 at 1:53 AM, Michael Schreckenbauer
  grim...@gmx.de
  
  wrote:
   On Saturday, 15. October 2011 01:42:10 Canek Peláez Valdés wrote:
/var/lib usually stores whole
databases. The difference is important and relevant.
   
   My systems has directories alsa, bluetooth, hp and many more
   there that are not databases at all.
   
   So?
   Which one? That /var is not going into /?
   
   No. That /var/lib contains databases. Is this so difficult to get?
  
  I get it; it's just not relevant.
  
   On my system /var/lib/alsa contains data, that alsa uses to
   restore
   mixer- levels.
  
  Yeah, it does.
  
   So *my* /var/lib is used during boot and *my* /var/lib has to be
   mounted by the initramfs.
  
  No, it doesn't. What are you talking about? Look at
  /etc/init.d/alsasound:
  
  depend() {
  need localmount
  after bootmisc modules isapnp coldplug hotplug
  }
  
  Look at the first need from alsasound depend: it says, that it goes
  after localmount. If you have /var in NFS (a very weird setup for a
  desktop machine) maybe it will cause problems: but then it would be
  fault of OpenRC (or the alsasound init script). If /var is on a
  different partition, localmount will mount it and *then* alsasound
  will execute.
  
  And it makes sense: the volume restoring doesn't matter until
  immediately before running gdm and going into the desktop; of course
  you can mount /var before that.
  
  That's the situation on nearly every gentoo system
  
   using sound
  
  Yeah, and as I explained, thanks to need localmount there is no
  problem.
  
  (systemd might handle this different, I have no idea)
  
  Yeah, it does more intelligently: as I said, the volume restoring is
  only needed just before starting X.
  
   Got it? Your system is not the center of the world.
  
  No, but I start to think you don't know *your* system. Check the
  alsasound init script.
  
  *lol*
  Now, this is getting ridiculous.
 
 Indeed, it is getting ridiculous.
 
  I don't know my system?
 
 No, you don't.
 
  Have a look into
  /lib/udev/rules.d/90-alsa-restore.rules
  to realize, that this is a hack, that restores alsa-levels *twice* on
  systems that have /var/lib on /. The levels are supposed to be restored
  by *udev* not the script.
 
 Yeah, but it doesn't run when udev *starts*. It runs when a card is
 *added* to the system; that is the reason for the ACTION=add part.
 It's inteded to be used for USB cards (like external speakers with a
 little sound card incorporated), so its volume is restored *at insert
 time*.

Nonsense. Action add is used for every device in your system, built-in or 
plugged in later. So this rule is not only used for hotplug-USB-soundcards, 
but for every soundcard in your system.

See /etc/udev/rules.d/70-persistent-net.rules for example:
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==..., 
ATTR{type}==1, KERNEL==eth*, NAME=eth0

 Regards.

Best,
Michael




Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
On Saturday, 15. October 2011 03:34:27 Canek Peláez Valdés wrote:
 On Sat, Oct 15, 2011 at 3:05 AM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  On Saturday, 15. October 2011 02:47:26 Canek Peláez Valdés wrote:
  On Sat, Oct 15, 2011 at 2:31 AM, Michael Schreckenbauer
  grim...@gmx.de
  
  wrote:
   On Saturday, 15. October 2011 02:11:43 Canek Peláez Valdés wrote:
   On Sat, Oct 15, 2011 at 1:53 AM, Michael Schreckenbauer
   grim...@gmx.de
   
   wrote:
On Saturday, 15. October 2011 01:42:10 Canek Peláez Valdés wrote:
 /var/lib usually stores whole
 databases. The difference is important and relevant.

My systems has directories alsa, bluetooth, hp and many
more
there that are not databases at all.

So?
Which one? That /var is not going into /?

No. That /var/lib contains databases. Is this so difficult
to get?
   
   I get it; it's just not relevant.
   
On my system /var/lib/alsa contains data, that alsa uses to
restore
mixer- levels.
   
   Yeah, it does.
   
So *my* /var/lib is used during boot and *my* /var/lib has
to be
mounted by the initramfs.
   
   No, it doesn't. What are you talking about? Look at
   /etc/init.d/alsasound:
   
   depend() {
   need localmount
   after bootmisc modules isapnp coldplug hotplug
   }
   
   Look at the first need from alsasound depend: it says, that it
   goes
   after localmount. If you have /var in NFS (a very weird setup
   for a
   desktop machine) maybe it will cause problems: but then it would
   be
   fault of OpenRC (or the alsasound init script). If /var is on a
   different partition, localmount will mount it and *then*
   alsasound
   will execute.
   
   And it makes sense: the volume restoring doesn't matter until
   immediately before running gdm and going into the desktop; of
   course
   you can mount /var before that.
   
   That's the situation on nearly every gentoo system
   
using sound
   
   Yeah, and as I explained, thanks to need localmount there is no
   problem.
   
   (systemd might handle this different, I have no idea)
   
   Yeah, it does more intelligently: as I said, the volume
   restoring is
   only needed just before starting X.
   
Got it? Your system is not the center of the world.
   
   No, but I start to think you don't know *your* system. Check the
   alsasound init script.
   
   *lol*
   Now, this is getting ridiculous.
  
  Indeed, it is getting ridiculous.
  
   I don't know my system?
  
  No, you don't.
  
   Have a look into
   /lib/udev/rules.d/90-alsa-restore.rules
   to realize, that this is a hack, that restores alsa-levels *twice*
   on
   systems that have /var/lib on /. The levels are supposed to be
   restored by *udev* not the script.
  
  Yeah, but it doesn't run when udev *starts*. It runs when a card is
  *added* to the system; that is the reason for the ACTION=add part.
  It's inteded to be used for USB cards (like external speakers with a
  little sound card incorporated), so its volume is restored *at insert
  time*.
  
  Nonsense. Action add is used for every device in your system, built-in
  or plugged in later. So this rule is not only used for
  hotplug-USB-soundcards, but for every soundcard in your system.
 
 Yeah, you are right. Sorry. I forgot about the little numbers udev uses:
 
 10-dm.rules
 11-dm-lvm.rules
 13-dm-disk.rules
 60-persistent-storage.rules
 70-persistent-net.rules
 90-alsa-restore.rules
 
 So, the same way that in the alsasound init script need localmount
 guarantee that /var is mounted, the 60-persistent-storage.rules
 guarantees that /var is mounted before the 90-alsa-restore.rules
 restores ALSA's volume.

My 60-persisten-storage.rules creates device nodes. It does not mount 
anything. Is your's different?

 Again, there is no problem. Yeah, the rule is executed at udev
 execution time... but after the persisten-storage rule. So, you see,
 no problem. No need for /var in the same partition as /.

So my devices nodes for harddisks exist, when alsa restores it's levels. Does 
not solve anything.

 You guys keep speculating.

We are speculating?
*You* were wrong about the assumtion that /var/lib contains databases.
*You* were wrong about the assumtion how action add works.
And *you* are wrong about the assumption, what 60-persistent-storage.rules 
does.
Yet you claim, that *I* don't know my system.
I'd say, do your homework, then we can talk.

 Regards.

Best,
Michael




Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
Hi Claudio, hi Lavender,

On Saturday, 15. October 2011 13:46:31 Claudio Roberto França Pereira wrote:
 Wow. Just wow.

:)

 GREAT way to confuse and welcome the poor-English Chinese guy.
 Welcome Lavender. You are now officially recognized as a human being, not a
 bot.
 We'll be glad to help you with Gentoo.

you are right. We hijacked this thread for our own discussion. I apologize for 
this. I'll stop posting on this topic in this thread right now.

 Please ignore all the FUD and discussion about /var needing (or not) to be
 in the root partition, and the need for an initramfs. It's just bullshit for
 us end users currently.

Best,
Michael




Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Michael Schreckenbauer
Hi Canek,

On Saturday, 15. October 2011 04:04:05 Canek Peláez Valdés wrote:
 I got that points wrong, I admit. I repeat, 3am here ;) I apogolize
 for saying that to you Michael; I shouldn't have, even if I would have
 been right (and I wasn't). Again, no excuse, but it's (actually) 4am
 here now.

ok. For me it was lunch time, so I had an advantage here :)

 Regards.

Best,
Michael




Re: [gentoo-user] Dennis Ritchie

2011-10-15 Thread Michael Schreckenbauer
Hi Michael,

On Saturday, 15. October 2011 08:10:13 Michael Mol wrote:
 On Sat, Oct 15, 2011 at 7:33 AM, luis jure l...@internet.com.uy wrote:
  hello boys [1],
  
  i know i don't participate much on this list, but this does not mean
  that
  i don't try to follow most of the threads (not all of them, i admit).
  
  i realized just now that no one has commented on the news of the recent
  death of dennis ritchie. considering that his contributions to the
  development of computational technologies were not only paramount, but
  affect all of us in a very direct way, i think we could somehow
  compensate for the lack of echo of these news in the media, by
  dedicating some time to celebrate his memory and express our gratitude.
  
  [1] sorry if there are any girls out there, but i think i have never
  seen
  any female names on this list...
 
 Well, if it helps, the reason I have a huge beard and long hair is

welcome to the club, although my beard isn't huge most of the time :D My wife 
doesn't like it that much. I'm compensating this with the hair on my head 
(close to 1m now *g*)

 because I idolized Thompson and Ritchie as far back as my early teen
 years.
 My very conservative grandparents were less than amused that I was
 actively seeking a 60s Berkeley look.

Sounds familiar too.

Best,
Michael




Re: [gentoo-user] Gentoo Install Issue

2011-10-15 Thread Michael Schreckenbauer
On Saturday, 15. October 2011 16:07:42 CJoeB wrote:
 Hi guys,
 
 I'm still struggling with this.  Gave up last weekend and haven't had
 time until now.  Thought I had it going when I got a command prompt and
 then, networking wasn't working.  Anyway, more details .
 
 On 10/10/11 16:43, David Abbott wrote:
  On Mon, Oct 10, 2011 at 4:31 PM, CJoeB colleen.bea...@gmail.com wrote:
  On 10/10/11 16:17, Michael Mol wrote:
  On Mon, Oct 10, 2011 at 4:06 PM, CJoeB colleen.bea...@gmail.com wrote:
  Today, I went through the install process, had a couple of issues,
  but
  was able to figure them out and got to the point where I was
  supposed to boot into my new system.  I got the boot menu, the
  boot process seemed to be okay, but when I got to the point where
  I assumed I should get a command prompt to finish up, all I got
  was a weird screen that was half black and half fuzzy with a
  bunch of colours (sorry, I can describe this any better).  I
  tried recompiling the kernel thinking it was a problem that I had
  created during the initial compilation, but that ended with the
  same result.
  
  I would enable kms;
  http://en.gentoo-wiki.com/wiki/Radeon#Kernel_Modesetting_.28KMS.29
  http://forums-web2.gentoo.org/viewtopic-t-831521-start-0.html
 
 I booted to the Gentoo install CD, went through all the steps to make
 sure I hadn't missed anything.  I followed the directions on the above
 link for my Radeon card.  When I existed the 'chroot'd' environment and
 rebooted, the system seemed to hang - the last few lines that appear on
 the screen are:
 
 [drm] Loading CAICOS Microcode
 Refined TSC clocksource calibration:  3392.289 MHz
 Switching to clocksource tsc
 
 I took someone else's advice who responded to my original post and got
 the output from dmesg after the install CD booted.  Below is the entire
 listing related to the video section:
 
 vesafb: mode is 1024x768x16, linelength=2048, pages=9
 vesafb:scrolling:redraw
 vesafb:Truecolor:size=0;5:6:5, shift=0:11:5:0
 vesafb:framebuffer at 0xd000, mapped to 0xc9001010, using
 3072k, total 16384k
 console: switching to colour framebuffer device 128x48
 fb0: VESA VGA framebuffer device

you are using vesafb.

 I really understand very little of what this is telling me except for
 the screen resolution and I get that there are hex code references
 
 in my grub.conf file the video line is as follows:
 
 vga=-0X31B video=vesafb:mtrr,ywrap
 
 I read somewhere that for radeon card you use the above statement as
 opposed to:
 
 video=uvesafb:mtrr:ywrap,1920x1080@60
 
 Documentation for my monitor states that the max resolution is
 1920x1080@60 Hz

To get this resolution that early you need kms.

Check your kernel-config:

CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FB_RADEON is not set

Then you need
radeon.modeset=1
instead of the vga=... stuff in your grub.conf.

Also, see:
http://www.x.org/wiki/radeonBuildHowTo#Kernel-basedModeSetting

 Can anyone help me out here?
 
 Thanks in advance,
 Colleen

Hth,
Michael




Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-13 Thread Michael Schreckenbauer
Hi Alan,

On Wednesday, 12. October 2011 21:36:58 Allan Gottlieb wrote:
 On Wed, Oct 12 2011, Allan Gottlieb wrote:
  On Wed, Oct 12 2011, Canek Peláez Valdés wrote:
  If it is related to the video card/driver that you use, try reemerging
  cogl and clutter; it doesn't matter that a world upgrade don't want to
  reemerge it, sometimes the ebuilds change without changing versions.
  My versions and useflags of cogl and clutter are:
  
  # emerge -1pv clutter cogl
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild   R   ~] media-libs/cogl-1.8.0  USE=doc examples
  introspection pango -debug -test 0 kB [1]
  [ebuild   R   ~] media-libs/clutter-1.8.0  USE=doc introspection
  -debug 0 kB [1]
  
  I had remerged clutter earlier today and just did cogl.  Mu use flags
  are basically the same as yours
  
  Calculating dependencies... done!
  [ebuild   R] media-libs/clutter-1.8.0  USE=introspection -debug
  -doc 0 kB [1] [ebuild   R]  media-libs/cogl-1.8.0 
  USE=introspection pango -debug -doc -examples -test 0 kB [1]
  
  I am using the same driver as you but a different version (mine is one
  newer) and I don't have the sna use flag.  I might not have access to
  the machine an longer today, but will try.
  
  thanks,
  allan
 
 I forgot to say that with the remerged clutter and cogl, gdm still
 crashes.
 
 I just rebuilt the driver downgraded to 2.15.0-r1.  I specified sna in
 package.use but still it was merged without it.
 
 This configuration still has gdm crashing
 
 [U] x11-drivers/xf86-video-intel
  Available versions:  2.8.1 2.9.1 (~)2.10.0-r1 (~)2.11.0 2.13.0 2.14.0
 2.15.0-r1 (~)2.16.0 {debug dri sna} Installed versions:  2.15.0-r1(09:27:44
 PM 10/12/2011)(dri)
  Homepage:http://xorg.freedesktop.org/

to rule out the video-stack, I'd try gnome in fallback-mode. If it works, 
chances are your problem is video-related. If it still crashes, the problem is 
elsewhere.
Is there something in dmesg related to the gnome-shell segfaults?

 allan

Best,
Michael




Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-13 Thread Michael Schreckenbauer
On Thursday, 13. October 2011 09:47:03 Allan Gottlieb wrote:
 On Thu, Oct 13 2011, Michael Mol wrote:
  I've skipped most of the thread, so forgive me if this was already
  done...try rebuilding libmozjs? Bumping its version up or down?
 
 oldlap ~ # equery b /usr/lib/libmozjs185.so
  * Searching for /usr/lib/libmozjs185.so ...
 dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so - libmozjs185.so.1.0)
 dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so.1.0.0)
 
 [I] dev-lang/spidermonkey
  Available versions:  1.7.0 (~)1.7.0-r1 (~)1.7.0-r2 1.8.2.15 {M}(~)1.8.5
 {static-libs test threadsafe unicode} Installed versions:  1.8.5(02:22:11
 PM 10/12/2011)(-static-libs -test)
 
 So the installed version is the only one from gnome3.  I tried
 
 Calculating dependencies... done!
 [ebuild UD ] dev-lang/spidermonkey-1.8.2.15 [1.8.5] USE=-threadsafe%
 (-static-libs%) (-test%) 50,345 kB
 
 and received a slot conflict with dev-libs/gjs.
 
 I worry trying to downgrade may lead to a string of dependencies.  I can
 try it tonight if desired.

hmm, for sure your problem is not video-related then.
gjs is the javascript-bindings for gnome...
You could try keeping spidermonkey at 1.8.5 and (re-)build the latest version 
of gjs.
google-ing your problem clearly shows: you are not alone. Sadly I was not able 
to find a solution for your problem yet as most others use ancient versions and 
updates solved it for them.

 thanks,
 allan

Best,
Michael




Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-12 Thread Michael Schreckenbauer
On Wednesday, 12. October 2011 16:58:37 Allan Gottlieb wrote:
 On Wed, Oct 12 2011, Canek Peláez Valdés wrote:
  When you do layman --sync-all, sometimes the ebuilds are updated, but
  with the same version. Try to recompile every ebuild in the overlay
  that you have installed in your system. At least, try to recompile
  gdm, gnome-shell, and all of its direct dependencies, the packages in
  COMMON_DEPEND, RDEPEND and DEPEND) in the gnome-shell-3.2.0-r1 ebuild.
  Minus the use enabled where you don't set the use flag, of course.
 
 Recompiles done.  No change
1.  If gdm maintains its gnome-shell use flag, it crashes
2.  If gdm has -gnome-shell in package.use, it runs
but gnome-shell (or something else invoked on login with
an empty user) crashes
 
  Also: modify /etc/gdm/custom.conf and in the [debug] key set
  Enable=true. And modify /usr/share/xsessions/gnome.desktop and
  replace Exec=gnome-session with Exec=gnome-session --debug. Then a lot
  more info will be available in ~/.xsession-errors, and we will know
  more.
 
 Done.  Output below (naturally this is with the gnome-shell use flag
 disabled.

gnome-shell segfaults.
I remember some problems with gnome-shell and GL from the dri-devel-ML.
What video-card are you using? Drivers/version?
Is there any other WM you can start, execute
gnome-shell --replace
in a console and dump the output here?
Could you try running gnome in fallback-mode?
Afaik you can enable this with
gsettings set org.gnome.desktop.session session-name gnome-fallback

 thanks again,
 allan

Best,
Michael




Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-12 Thread Michael Schreckenbauer
On Wednesday, 12. October 2011 18:02:16 Allan Gottlieb wrote:
 On Wed, Oct 12 2011, Michael Schreckenbauer wrote:
  gnome-shell segfaults.
  I remember some problems with gnome-shell and GL from the dri-devel-ML.
  What video-card are you using? Drivers/version?
  Is there any other WM you can start, execute
  gnome-shell --replace
  in a console and dump the output here?
  Could you try running gnome in fallback-mode?
  Afaik you can enable this with
  gsettings set org.gnome.desktop.session session-name gnome-fallback
 
 Actually the gnome-shell segfault is the 2nd problem.  gdm crashes with
 Oh no, a problem has occurred unless its gnome-shell use flag is
 disabled, which could possibly be the cause of gnome-shell failing.

Couldn't it be the other way round?
gdm crashes with gnome-shell use-flag set, because gnome-shell segfaults?
It runs without the flag, because in this case there's no dep to the shell.

 Canek has suggested we attack the gdm problem (see other msgs in this
 thread) and that is the current plan.  Unfortunately we are still not
 there.

Imo both problems are related (see above).

 In bug 385525, those who needed -gnome-shell for gdm could then not get
 gnome-shell to run (i.e., just like me).
 
 It does seem that many are successfully running gdm so I must have
 something wrong in my setup.  What use flags did you build gdm with.
 Here is mine
  Installed versions:  3.2.0-r1[1](05:47:00 PM 10/12/2011)(accessibility
 consolekit elibc_glibc gnome-shell introspection ipv6 tcpd xklavier -debug
 -fprint -gnome-keyring -selinux -smartcard -test -xinerama)

Well, I do not use gnome :) But I am quite good in reading logs, coredumps and 
things like that :)

 thanks for the help,
 allan

Best,
Michael




Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-12 Thread Michael Schreckenbauer
On Wednesday, 12. October 2011 15:08:18 Canek Peláez Valdés wrote:
 Anyhow, the logs from gdm failing should tell us something. I don't
 think is the video, like Michael suggested; supposedly gnome-shell
 would detect that.

Well Canek, you are wrong about that.

http://forums.gentoo.org/viewtopic-p-6833430.html
Boot with fallback works for him, also using nouveau instead nvidia-blobs.

 Regards.

Best,
Michael




Re: [gentoo-user] Anyone else using vimpager?

2011-10-08 Thread Michael Schreckenbauer
On Sunday, 9. October 2011 05:01:25 Pandu Poluan wrote:
 On Oct 9, 2011 5:05 AM, Stroller strol...@stellar.eclipse.co.uk wrote:
  On 8 October 2011, at 10:19, Pandu Poluan wrote:
   I'm just wondering if there's anyone else -- beside me -- that uses
 
 vimpager
 
   for PAGER?
  
  Tried it, couldn't get along with it at all. I can't now recall why.
  
  Why do you ask?
 
 Well, there's no ebuild for vimpager in portage, and if there are other
 users, I might be interested in writing one.

vim has a use flag vim-pager that installs vimpager. At least that's what euse 
-i tells me :)

 Rgds,

Best
Michael




Re: [gentoo-user] Re: portage wants to remove less and nano

2011-10-06 Thread Michael Schreckenbauer
On Friday, 7. October 2011 00:15:23 Nikos Chantziaras wrote:
 On 10/07/2011 12:02 AM, Alex Schuster wrote:
  Niccolò Belli writes:
  Here is after an emerge -av --depclean:
  
  !!! 'app-editors/nano' (virtual/editor) is part of your system
  profile.
  
  
  !!! Unmerging it may be damaging to your system.
  
  This is somewhat surprising, but intended and correct, it has been
  discussed here some months ago. Just add those to your world file (using
  emerge -n).
 
 Weird.  dispatch-conf certainly needs 'less'.

No. It needs a pager.

 Why isn't it a dep?

Because dispatch-conf can use any pager.

Best,
Michael







Re: [gentoo-user] Re: Is grub2 stable and who uses it?

2011-10-04 Thread Michael Schreckenbauer
On Tuesday, 4. October 2011 14:14:24 Canek Peláez Valdés wrote:
 On Tue, Oct 4, 2011 at 2:02 PM, Grant Edwards grant.b.edwa...@gmail.com 
wrote:
  On 2011-10-04, Canek Pel??ez Vald??s can...@gmail.com wrote:
  On Tue, Oct 4, 2011 at 1:50 PM, Grant Edwards grant.b.edwa...@gmail.com 
wrote:
  On 2011-10-04, Canek Pel??ez Vald??s can...@gmail.com wrote:
  That it's not true. It connects to whatever init system do you
  have
  (OpenRC, SysV, systemd, Upstart),
  
  I'm curious: what if you don't have one? ??I use grub-legacy to
  boot
  stuff other than Unix.
  
  When I said it connects, I mean calls. The same way it calls
  whatever thingy Window uses.
  
  Right. ??And what about non-windows, non-Unix systems that don't
  have
  any thingy to call?
  
  Then you don't have an operating system.
  
  Yes, I do.
 
 Then any boot loader will need to call something to start it.
 Understand this: any Linux/Unix init system (systemd, SysV, Upstart,
 OpenRC) is simply a program... that the Linux kernel itself executes.
 That's the init= command line in the kernel.

Correct, the *kernel* executes it.

Quoted from an earlier mail in this thread:

That it's not true. It connects to whatever init system do you have
(OpenRC, SysV, systemd, Upstart)

The kernel executes the initsystem, the initsystem takes care of the rest. 
Care to explain, why grub2 needs to connect to (or call) the initsystem?

 Regards.

Best,
Michael




Re: [gentoo-user] Re: Is grub2 stable and who uses it?

2011-10-04 Thread Michael Schreckenbauer
On Tuesday, 4. October 2011 14:46:07 Canek Peláez Valdés wrote:
 On Tue, Oct 4, 2011 at 2:33 PM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  On Tuesday, 4. October 2011 14:14:24 Canek Peláez Valdés wrote:
  On Tue, Oct 4, 2011 at 2:02 PM, Grant Edwards
  grant.b.edwa...@gmail.com 
  wrote:
   On 2011-10-04, Canek Pel??ez Vald??s can...@gmail.com wrote:
   On Tue, Oct 4, 2011 at 1:50 PM, Grant Edwards
   grant.b.edwa...@gmail.com 
  wrote:
   On 2011-10-04, Canek Pel??ez Vald??s can...@gmail.com wrote:
   That it's not true. It connects to whatever init system
   do you
   have
   (OpenRC, SysV, systemd, Upstart),
   
   I'm curious: what if you don't have one? ??I use
   grub-legacy to
   boot
   stuff other than Unix.
   
   When I said it connects, I mean calls. The same way it
   calls
   whatever thingy Window uses.
   
   Right. ??And what about non-windows, non-Unix systems that
   don't
   have
   any thingy to call?
   
   Then you don't have an operating system.
   
   Yes, I do.
  
  Then any boot loader will need to call something to start it.
  Understand this: any Linux/Unix init system (systemd, SysV, Upstart,
  OpenRC) is simply a program... that the Linux kernel itself executes.
  That's the init= command line in the kernel.
  
  Correct, the *kernel* executes it.
  
  Quoted from an earlier mail in this thread:
  
  That it's not true. It connects to whatever init system do you have
  (OpenRC, SysV, systemd, Upstart)
  
  The kernel executes the initsystem, the initsystem takes care of the
  rest. Care to explain, why grub2 needs to connect to (or call) the
  initsystem?
 It connects via the kernel via init=, as always. Maybe not the best
 choice of words, but the important thing is that the statement about
 GRUB2 having its own init system and it's own set of init scripts is
 false. I noted the connection between the bootloader and the init
 system (via the init= command line) to emphasize that GRUB2 has not
 its own init system. Nor init scripts.

Ah, so no connection or call at all :) Thanks for clarifying

 Regards.

Best,
Michael




Re: [gentoo-user] Re: Updating libpng: another libtool cockup?

2011-09-19 Thread Michael Schreckenbauer
On Monday, 19. September 2011 10:20:25 Allan Gottlieb wrote:
 On Mon, Sep 19 2011, Alan McKinnon wrote:
   revdep-rebuild checks everything, revdep-rebuild --library
   checks just some things.
   
   ebuilds sometimes issue messages to check just the libraries known
   to have been updated, but a full revdep-rebuild after an update
   will catch those anyway.
  
  Until recently I skipped the --library step exactly because I knew
  revdep-rebuild will find and fix the broken packages after I delete
  the old library.  So, why bother with the --library step, right?
  
  However.  A few weeks ago I got caught when I deleted one of those
  obsolete libraries and only then did I find out that gcc is one of
  the packages that depend on it :(
  
  I don't skip the --library step any more.
  
  That's odd behaviour, I wonder what caused the difference.
  
  Surely revdep-rebuild itself can't do this different just because you
  specified a library to compare? I wonder if that lib was maybe in the
  revdep-rebuild exclude list.
  
  I'd be interested to track it down for reference, do you remember the
  library involved?
 
 It occurs exactly in the case we are discussing libpng
 
 ajglap gottlieb # revdep-rebuild; revdep-rebuild --library
 '/usr/lib64/libpng14.so.14' * Configuring search environment for
 revdep-rebuild
 
  * Checking reverse dependencies
  * Packages containing binaries and libraries broken by a package update
  * will be emerged.
 ...
  * Checking reverse dependencies
  * Packages containing binaries and libraries using
 /usr/lib64/libpng14.so.14 * will be emerged.

First one emerges *broken* packages.
Second one emerge packages *using* png14 (not necessarily broken)

Best,
Michael




Re: [gentoo-user] Re: udev + /usr

2011-09-19 Thread Michael Schreckenbauer
On Monday, 19. September 2011 16:22:31 Alan McKinnon wrote:
 On Mon, 19 Sep 2011 10:30:41 +0200
 
 Nicolas Sebrecht nsebre...@piing.fr wrote:
  The 17/09/11, pk wrote:
   dbus is installed in my system, but only because I run Xfce4 (I am
   thinking of installing something else due to it's becoming bloated
   just like gnome). And I have -dbus in my global make.conf.
   
   PS. I am quite astonished at the fact that I have a computer that is
   _way_ faster than the first machine I installed GNU/Linux (an Amiga
   4000 with a 68040 cpu at 40Mhz) on but the experience is still
   the same; it takes about the same time to boot, the same time (or
   even slower) to load a program. It seems the faster the computer
   the more I have to wait for it to finish some task. Contradictory,
   no? Wonder why that is... (bloat?).
  
  Believe it or not but I bet you're not doing the same tasks with your
  modern machine and could just not run the user-end software you use
  today on a Amiga 4000 with a 68040 cpu at 40Mhz because they learn new
  feature since then.
 :
 :-)  Example:
 Try run a browser on that Amiga. I doubt it would even manage to
 display the Gentoo logo at http://www.gentoo.org.

http://en.wikipedia.org/wiki/Origyn_Web_Browser

 And forget all about playing music.

Best,
Michael




Re: [gentoo-user] Re: Updating libpng: another lib tool cockup?

2011-09-19 Thread Michael Schreckenbauer
On Monday, 19. September 2011 10:58:52 Allan Gottlieb wrote:
 On Mon, Sep 19 2011, Michael Schreckenbauer wrote:
  On Monday, 19. September 2011 10:20:25 Allan Gottlieb wrote:
  On Mon, Sep 19 2011, Alan McKinnon wrote:
revdep-rebuild checks everything, revdep-rebuild --library
checks just some things.

ebuilds sometimes issue messages to check just the libraries
known
to have been updated, but a full revdep-rebuild after an
update
will catch those anyway.
   
   Until recently I skipped the --library step exactly because I
   knew
   revdep-rebuild will find and fix the broken packages after I
   delete
   the old library.  So, why bother with the --library step, right?
   
   However.  A few weeks ago I got caught when I deleted one of
   those
   obsolete libraries and only then did I find out that gcc is one
   of
   the packages that depend on it :(
   
   I don't skip the --library step any more.
   
   That's odd behaviour, I wonder what caused the difference.
   
   Surely revdep-rebuild itself can't do this different just because
   you
   specified a library to compare? I wonder if that lib was maybe in
   the
   revdep-rebuild exclude list.
   
   I'd be interested to track it down for reference, do you remember
   the
   library involved?
  
  It occurs exactly in the case we are discussing libpng
  
  ajglap gottlieb # revdep-rebuild; revdep-rebuild --library
  '/usr/lib64/libpng14.so.14' * Configuring search environment for
  revdep-rebuild
  
   * Checking reverse dependencies
   * Packages containing binaries and libraries broken by a package
   update
   * will be emerged.
  
  ...
  
   * Checking reverse dependencies
   * Packages containing binaries and libraries using
  
  /usr/lib64/libpng14.so.14 * will be emerged.
  
  First one emerges *broken* packages.
  Second one emerge packages *using* png14 (not necessarily broken)
 
 OK.  But the claim was that: if
revdep-rebuild
 with no argument found nothing to build, then
revdep-rebuild --library some-library
 will find nothing.

This is not true.
revdep-rebuild without --library argument checks for packages with *broken* 
linking, eg a library changed it's name and the original one was removed by an 
update.
revdep-rebuild --library checks for packages using that library.

If the first one returns nothing, that means, your linking is all ok.
If the second one returns nothing, it tells you, that nothing is using that 
library at all.

 This guarantee is apparently no long true as my example in another msg
 illustrated.

I doubt it was true in the past.

Best,
Michael




Re: [gentoo-user] Re: Updating libpng: another lib tool cockup?

2011-09-19 Thread Michael Schreckenbauer
On Monday, 19. September 2011 17:28:26 Alan McKinnon wrote:
 On Mon, 19 Sep 2011 10:58:52 -0400
 
 Allan Gottlieb gottl...@nyu.edu wrote:
   First one emerges *broken* packages.
   Second one emerge packages *using* png14 (not necessarily broken)
  
  OK.  But the claim was that: if
  
 revdep-rebuild
  
  with no argument found nothing to build, then
  
 revdep-rebuild --library some-library
  
  will find nothing.
  
  This guarantee is apparently no long true as my example in another msg
  illustrated.
 
 Michael is indeed correct.
 
 A careful reading of the man page reveals the usage of the words
 broken and using exactly like he said. So I stand humbly corrected.
 
 I find revdep-rebuild's behavior in this respect confusing. Even though
 it is clearly documented it is unexpected. It would never have occurred
 to me to draw that distinction.

I think, it is very useful.

An example:
$ ldd /bin/bash 
   
linux-vdso.so.1 =  (0x7fffbafff000)

  
libncurses.so.5 = /lib64/libncurses.so.5 (0x7f0a4c278000)  

  
libdl.so.2 = /lib64/libdl.so.2 (0x7f0a4c074000)

  
libc.so.6 = /lib64/libc.so.6 (0x7f0a4bce4000)  

  
/lib64/ld-linux-x86-64.so.2 (0x7f0a4c4ce000)

Assume ncurses get's an update (new version is libncurses.so.6)
Now if portage decided to *remove* libncurses.so.5 during that update, my bash 
would be broken. Very bad, so the ebuild-writer decides to leave 
libncurses.so.5 on my system.
Because linking of bash is consistent (it still links to .so.5) a run of 
revdep-rebuild without args would return without result.
With revdep-rebuild --library libncurses.so.5 I am now able to find and rebuild 
all packages, that use the ancient version of ncurses and after that, I can 
*safely* remove it.

Best,
Michael




Re: [gentoo-user] Re: udev + /usr

2011-09-19 Thread Michael Schreckenbauer
On Monday, 19. September 2011 18:36:18 Volker Armin Hemmann wrote:
 Am Montag 19 September 2011, 16:41:08 schrieb Michael Schreckenbauer:
  On Monday, 19. September 2011 16:22:31 Alan McKinnon wrote:
   On Mon, 19 Sep 2011 10:30:41 +0200
   
   Nicolas Sebrecht nsebre...@piing.fr wrote:
The 17/09/11, pk wrote:
 dbus is installed in my system, but only because I run Xfce4
 (I
 am
 thinking of installing something else due to it's becoming
 bloated
 just like gnome). And I have -dbus in my global make.conf.
 
 PS. I am quite astonished at the fact that I have a computer
 that is
 _way_ faster than the first machine I installed GNU/Linux
 (an
 Amiga
 4000 with a 68040 cpu at 40Mhz) on but the experience is
 still
 the same; it takes about the same time to boot, the same
 time
 (or
 even slower) to load a program. It seems the faster the
 computer
 the more I have to wait for it to finish some task.
 Contradictory,
 no? Wonder why that is... (bloat?).

Believe it or not but I bet you're not doing the same tasks with
your
modern machine and could just not run the user-end software you
use
today on a Amiga 4000 with a 68040 cpu at 40Mhz because they
learn
new
feature since then.
   :
   :-)  Example:
   Try run a browser on that Amiga. I doubt it would even manage to
   display the Gentoo logo at http://www.gentoo.org.
  
  http://en.wikipedia.org/wiki/Origyn_Web_Browser
 
 and I am sure that it will display pngs and jpegs with full colours just
 fine. I am sure displaying 2 or 4 MP pictures will be working great. Just
 like the mpeg4 you are trying to watch. Or the ogv.

I don't think so :)
But it is a web-browser, that runs on classic amiga os and I really think, 
that it can display http://www.gentoo.org just fine.

Best,
Michael





Re: [gentoo-user] Re: udev + /usr

2011-09-19 Thread Michael Schreckenbauer
On Monday, 19. September 2011 19:43:50 Volker Armin Hemmann wrote:
 Am Montag 19 September 2011, 19:25:28 schrieb Michael Schreckenbauer:
  On Monday, 19. September 2011 18:36:18 Volker Armin Hemmann wrote:
   Am Montag 19 September 2011, 16:41:08 schrieb Michael Schreckenbauer:
On Monday, 19. September 2011 16:22:31 Alan McKinnon wrote:
 On Mon, 19 Sep 2011 10:30:41 +0200
 
 Nicolas Sebrecht nsebre...@piing.fr wrote:
  The 17/09/11, pk wrote:
   dbus is installed in my system, but only because I
   run
   Xfce4
   (I
   am
   thinking of installing something else due to it's
   becoming
   bloated
   just like gnome). And I have -dbus in my global
   make.conf.
   
   PS. I am quite astonished at the fact that I have a
   computer
   that is
   _way_ faster than the first machine I installed
   GNU/Linux
   (an
   Amiga
   4000 with a 68040 cpu at 40Mhz) on but the
   experience
   is
   still
   the same; it takes about the same time to boot, the
   same
   time
   (or
   even slower) to load a program. It seems the faster
   the
   computer
   the more I have to wait for it to finish some task.
   Contradictory,
   no? Wonder why that is... (bloat?).
  
  Believe it or not but I bet you're not doing the same
  tasks
  with
  your
  modern machine and could just not run the user-end
  software
  you
  use
  today on a Amiga 4000 with a 68040 cpu at 40Mhz because
  they
  learn
  new
  feature since then.
 :
 :-)  Example:
 Try run a browser on that Amiga. I doubt it would even
 manage to
 display the Gentoo logo at http://www.gentoo.org.

http://en.wikipedia.org/wiki/Origyn_Web_Browser
   
   and I am sure that it will display pngs and jpegs with full colours
   just fine. I am sure displaying 2 or 4 MP pictures will be working
   great. Just
   like the mpeg4 you are trying to watch. Or the ogv.
  
  I don't think so :)
  But it is a web-browser, that runs on classic amiga os and I really
  think, that it can display http://www.gentoo.org just fine.
 
 so can lynx. Does it make it usefull with todays internet? There are more
 pages than just gentoo.org - The Sun for example or CNN or other high
 quality sites.

Yes, I agree. You seem to miss the point of my post completely.

Best,
Michael




Re: [gentoo-user] Re: Updating libpng: another libtool cockup?

2011-09-19 Thread Michael Schreckenbauer
On Monday, 19. September 2011 13:52:26 Mark Knecht wrote:
 On Mon, Sep 19, 2011 at 1:41 PM, Michael Mol mike...@gmail.com wrote:
  On Mon, Sep 19, 2011 at 4:33 PM, Mark Knecht markkne...@gmail.com wrote:
  On Mon, Sep 19, 2011 at 7:36 AM, Michael Mol mike...@gmail.com wrote:
  On Mon, Sep 19, 2011 at 10:20 AM, Allan Gottlieb gottl...@nyu.edu 
wrote:
  SNIP
  
  ajglap gottlieb # revdep-rebuild; revdep-rebuild --library
  '/usr/lib64/libpng14.so.14' 
  SNIP
  
  Is there no automated way to catch these? --library expects an
  argument; how do I know which libraries to feed it?
  
  My question exactly. It's not likeyou can look at just names of
  libraries as I think to do this right you've got to look at every
  revision of every library on the system, don't you?
  
  It's possible that this problem could exist for a long while if a
  program doesn't get used much...
  
  Based on subsequent discussion since I wrote that question, I think
  the answer is, currently, no. Ebuillds would need more metadata, and
  portage would need to be more aware of deep dependencies.
  
  I'm not sure of revdep-rebuild's angle, or how it might be able to be
  improved to detect errors that don't come from broken linkage.
  --
  
  :wq
 
 OK, I saw that comment but didn't grasp that it's the answer. Could be.
 
 Alternatively, in Michael's example earlier, I don't think the ldd
 results for bash are changed (are they?) when ncurses is updated:
 
 [QUOTE]
 $ ldd /bin/bash
linux-vdso.so.1 =  (0x7fffbafff000)
libncurses.so.5 = /lib64/libncurses.so.5 (0x7f0a4c278000)
libdl.so.2 = /lib64/libdl.so.2 (0x7f0a4c074000)
libc.so.6 = /lib64/libc.so.6 (0x7f0a4bce4000)
/lib64/ld-linux-x86-64.so.2 (0x7f0a4c4ce000)
 [/QUOTE]

They would change to

$ ldd /bin/bash
linux-vdso.so.1 =  (0x7fffbafff000)
libncurses.so.5 = not found
libdl.so.2 = /lib64/libdl.so.2 (0x7f0a4c074000)
libc.so.6 = /lib64/libc.so.6 (0x7f0a4bce4000)
/lib64/ld-linux-x86-64.so.2 (0x7f0a4c4ce000)

if the ebuild maintainer forgets to keep the *.so.5 version on the system in 
the *.so.6 update. That results in a broken bash.

 It seems to me this is tending toward something similar to slots,
 isn't it? If one package (bash) needs a specific version then can't we
 find it using ldd (on every package on the system unfortunately) and
 ensure that the needed .so files aren't removed?

That's what ebuild maintainers do, afaik.

~ $ equery b /usr/lib64/libpng14.so.14
 * Searching for /usr/lib64/libpng14.so.14 ... 
media-libs/libpng-1.5.4 (/usr/lib64/libpng14.so.14)

See? libpng14 is part of png-1.5.x package, so libpng14 is not removed, when 
you install the 1.5.x version. That keeps programs going.

 /lib64/libncurses.so.5  /lib64/libncurses.so.6 could both exist on
 the system even if both version of the ncurses package don't.

That's right. But keep in mind, that the old lib is outdated. Bugs remain 
bugs, nothing is fixed. Getting fixes, is why we update after all, isn't it?

 I suspect this is mostly what revdep-rebuild is already doing, and I
 also suspect my view of the problem is far too remedial...
 
 Thanks,
 Mark

Best,
Michael




Re: IDE for C/C++ (Was: Really OT now (Re: [gentoo-user] udev + /usr)

2011-09-16 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 20:22:17 Michael Mol wrote:
 On Thu, Sep 15, 2011 at 3:59 PM, Chris Brennan xa...@xaerolimit.net wrote:
  On Thu, Sep 15, 2011 at 3:47 PM, Leonardo Guilherme
  
  leonardo.guilhe...@gmail.com wrote:
  I do not know the state of Geanny since I last checked (couple of
  years
  ago), but the highlight capabilites of KDevelop got my eye. It
  highlights local variables in different colors in the same context,
  so something like int foo(float bar, float baz) {
  }
  will have bar and baz in different colors. Also, support for CMake in
  KDevelop got really great and useful. Plus, it supports debugging
  inside the editor. Its awesome.
  
  If you want something in a gui, what about Code::Blocks? It's also
  multi-platform
 
 dev-util/codeblocks is masked. How well (or poorly) does it work on
 Gentoo AMD64?
 
 I did an emerge -p kdevelop...that'd pull back in the large bulk of
 KDE. I'm going to have to pass for now.

I' using kdevelop a lot. It's a nice IDE. At least, if you already use KDE as 
I am :)

 qt-creator has some use flag
 changes, but only requires bits of KDE I already have, so I'll be
 trying it.
 
 I don't show an ebuild for eclipse (I see dev-java/ant-eclipse-ecj,
 dev-java/eclipse-ecj and dev-util/eclipse-sdk). Last time I poked
 eclipse, it was a royal pain using any *DT unless one downloaded it as
 a packaged deal.

Same as my experience. But it's nice, if you do java.

 Version dependencies were a pain. (That said, I
 settled into it fairly quickly. But that was a long time ago)


 I don't see an ebuild for Emacs CC-Mode.

app-xemacs/cc-mode

Regards,
Michael




Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-15 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 00:27:43 Trifu Catalin Florin wrote:
 On 2011-09-14 22:23, Michael Mol wrote:
  like get hidden by '-Show quoted text-'. Hit reply, hit ctrl-End to
  get to the bottom, reply...and not realize that you jumped past five
  kilobytes' worth of stale, quoted conversation.
  
  Ouch! That (almost) physically hurt! ;-)
  
  Best regards
  
  Peter K, longing for Pine (but too busy  lazy to configure fetchmail
  right now)
 
 It seams that the discussion degenerated on how to send emails... Can anyone
 please help regarding my problem? It seems that indeed I have an old kernel
 version, but how is that possible taking into consideration that I have
 used genkernel? How can I upgrade it?

You did not reboot. genkernel maybe built a new kernel and installed it into 
/boot, but to make use of the newly built kernel, you have to reboot.
If you think, that rebooting is not suitable right now, I offered two 
alternative (possible) solutions to your compile problems.

1) disable sandbox temporarily
2) use busybox's touch instead

googling now... a here's a reference:
http://foxpa.ws/2011/04/12/portage-errors-touch-no-such-file-or-directory/
I was wrong. You don't need a kernel  2.6.22, you need a kernel = 2.6.22 :)

Best,
Michael




Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-15 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 01:16:12 Trifu Catalin Florin wrote:
 First, make sure you have emerged the kernel's sources.
 Second, check that the newer sources have been selected: 'eselect kernel
 list' followed by 'eselect kernel set'. Build the kernel, either using
 genkernel or make triumvirate (make menuconfig  make  make
 modules_install) Install the new kernel in /boot.
 Reboot.
 Warning: packages that build their own kernel modules, e.g., xtables-addons,
 must be re-emerged prior to rebooting. Rgds,
 
 ---
 
 :(((
 :(((
 
 Is it possible to compile the kernel without emerging kernel's sources?

No.

 I have made an installation one week ago on a virtual machine and it worked
 fine. The kernel on that virtual machine is 2.6.39-gentoo-r3. How is it
 possible to use the same manual, same mirrors, same steps and still to have
 a different kernel version? How is it possible not to work?

You did not reboot.

 If I use genkernel is because I DON'T KNOW how to compile the kernel
 manually. This being said, sentences like:
 
 Warning: packages that build their own kernel modules, e.g.,
 xtables-addons, must be re-emerged prior to rebooting.
 
 are the Gordian knot for me.

No problem. Just use genkernel, if you like. It works for many of us without 
problems. But you have to reboot. No matter how you build your kernel.

 I'm very frustrated because on gentoo's forum no one didn't answer for three
 days now, and on this mailing list we have changed 4-5 emails regarding how
 an email should be written.

If you want help, you need to know, how to ask questions in a correct way - 
if your mails are unreadable, nobody will read them and you will get no 
answers.

 Meanwhile, my server is still offline.

Why don't you follow my advices? Have you tried only one of the options I 
offered? You know, I am an experienced user, I don't tell you shit.

 Now, in another order of ideas:
 - I have searched the internet for 2-3 days before sending an email here

Here's a tip. If you see an error, you cannot decipher, put it into google 
with quotes and gentoo, in your case:

touch: setting times of gentoo

The second hit, I get here, describes your problem.

 - I didn't read the standard of how to send an email and I'm sorry for that
 but I didn't had time - I wrote the emails using the format that seemed
 more natural for me, the newest on top having the track of emails bellow,
 so that anyone who sees the email can understand what's this all about,
 including myself; I had to search for a half an our in my emails to find
 the first email on another topic... - I do not now how you format your
 emails to look the way they look, having that sentence on top with x wrote
 on... and  before each line of the text you keep for reply; this is why
 I have used standard reply from yahoo, because I didn't wanted to reinvent
 the wheel

I hit reply in my mail-client (kmail). That's all I have to do. Is yahoo's 
reply really so broken? Hmmm.

 - I HAVE A LOT OF RESPECT FOR EACH USER ON THIS EMAIL LIST BUT I NEED URGENT
 HELP ON THE TOPIC: I CANNOT INSTALL GENTOOO - I AM NOT AN EXPERIENCED
 USER WHO CAN CREATE HIS OWN KERNEL, RE-WRITE DRIVERS AND SO ON; PLEASE TAKE
 THIS INTO CONSIDERATION AND IF YOU ANSWER HAVE PATIENCE

Shouting at people, that try to help, is a bad idea in my book.

 Thank you in advance!

Best,
Michael




Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-15 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 01:58:59 Trifu Catalin Florin wrote:
 On Thursday, 15. September 2011 01:16:12 Trifu Catalin Florin wrote:
  First, make sure you have emerged the kernel's sources.
  Second, check that the newer sources have been selected: 'eselect kernel
  list' followed by 'eselect kernel set'. Build the kernel, either using
  genkernel or make triumvirate (make menuconfig  make  make
  modules_install) Install the new kernel in /boot.
  Reboot.
  Warning: packages that build their own kernel modules, e.g.,
  xtables-addons, must be re-emerged prior to rebooting. Rgds,
  
  ---
  
  :(((
  :(((
  
  Is it possible to compile the kernel without emerging kernel's sources?
 
 No.
 
  I have made an installation one week ago on a virtual machine and it
  worked fine. The kernel on that virtual machine is 2.6.39-gentoo-r3.
  How is it possible to use the same manual, same mirrors, same steps and
  still to have a different kernel version? How is it possible not to
  work?
 
 You did not reboot.
 
  If I use genkernel is because I DON'T KNOW how to compile the kernel
  manually. This being said, sentences like:
  
  Warning: packages that build their own kernel modules, e.g.,
  xtables-addons, must be re-emerged prior to rebooting.
  
  are the Gordian knot for me.
 
 No problem. Just use genkernel, if you like. It works for many of us without
 problems. But you have to reboot. No matter how you build your kernel.
  I'm very frustrated because on gentoo's forum no one didn't answer for
  three days now, and on this mailing list we have changed 4-5 emails
  regarding how an email should be written.
 
 If you want help, you need to know, how to ask questions in a correct way
 - if your mails are unreadable, nobody will read them and you will get no
 answers.
 
  Meanwhile, my server is still offline.
 
 Why don't you follow my advices? Have you tried only one of the options I
 offered? You know, I am an experienced user, I don't tell you shit.
 
  Now, in another order of ideas:
  - I have searched the internet for 2-3 days before sending an email here
 
 Here's a tip. If you see an error, you cannot decipher, put it into google
 with quotes and gentoo, in your case:
 
 touch: setting times of gentoo
 
 The second hit, I get here, describes your problem.
 
  - I didn't read the standard of how to send an email and I'm sorry for
  that but I didn't had time - I wrote the emails using the format that
  seemed more natural for me, the newest on top having the track of
  emails bellow, so that anyone who sees the email can understand what's
  this all about, including myself; I had to search for a half an our in
  my emails to find the first email on another topic... - I do not now
  how you format your emails to look the way they look, having that
  sentence on top with x wrote on... and  before each line of the
  text you keep for reply; this is why I have used standard reply from
  yahoo, because I didn't wanted to reinvent the wheel
 
 I hit reply in my mail-client (kmail). That's all I have to do. Is yahoo's
 reply really so broken? Hmmm.
 
  - I HAVE A LOT OF RESPECT FOR EACH USER ON THIS EMAIL LIST BUT I NEED
  URGENT HELP ON THE TOPIC: I CANNOT INSTALL GENTOOO - I AM NOT AN
  EXPERIENCED USER WHO CAN CREATE HIS OWN KERNEL, RE-WRITE DRIVERS AND SO
  ON; PLEASE TAKE THIS INTO CONSIDERATION AND IF YOU ANSWER HAVE PATIENCE
 
 Shouting at people, that try to help, is a bad idea in my book.
 
  Thank you in advance!
 
 Best,
 Michael
 
 
 Dear Michael
 
 Thank you for your help!
 I didn't reboot my machine as the installation is not complete yet. How can
 I reboot when the installation isn't finish, if things that should work
 don't work in the first place?

I can well understand, that you don't like to reboot your server right now.

 I didn't try your advices as I don't now how to try them. How do I
 deactivate sandbox?

In /etc/make.conf
1) it already has a line starting with FEATURES=
a) that line already has an entry sandbox
solution: add a - before it, so it reads -sandbox
b) the line does not contain sandbox
solution: add -sandbox at the end
2) there's no line starting with FEATURES=
solution: add line FEATURES=-sandbox to /etc/make.conf

 I tried to search for
 touch: setting times of gentoo
 but I don't understand how this is related to my problem.

That's (part of) the error-message you got, when you tried to compile syslog-
ng (in fact, it was part of the error, when emerge tried to compile autoconf, 
which is needed by syslog-ng)

 Yahoo reply broken? I don't know what to say about that... gmail works in
 the same way, outlook in the same way, thunderbird in the same way.

No, they don't. A lot of people here on the list use thunderbird and gmail, 
most replies are wellformed. Don't know, what outlook does. There's no linux- 
or BSD-version, so I don't care.

 Now I'm at work, but when I will get home I will try your advices. I don't
 

Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-15 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 11:25:56 Joost Roeleveld wrote:
 On Thursday, September 15, 2011 01:58:59 AM Trifu Catalin Florin wrote:
  On Thursday, 15. September 2011 01:16:12 Trifu Catalin Florin wrote:
 snipped undecypherable part
 
  
  Dear Michael
  
  Thank you for your help!
  
  I didn't reboot my machine as the installation is not complete yet. How
  can I reboot when the installation isn't finish, if things that should
  work don't work in the first place?
 
 I could not find the currently running kernel you are using in this thread.

It's 2.6.19-something.
He hit's a problem with new coreutils running on kernels older than 2.6.22
Something related to futimesat, that was introduced with this kernel.

 Possibly, you are hitting an issue caused by a feature lacking in that
 kernel. What did you boot your machine with prior to starting the
 installation? Please also include the version and URL where you downloaded
 this from.
  I didn't try your advices as I don't now how to try them. How do I
  deactivate sandbox?
 
 Michael grimlog Schreckenbauer actually already told you how to do this:
 **
 If you cannot upgrade your kernel right now, you can disable the sandbox
 FEATURES=-sandbox in /etc/make.conf
 (I do not recommend this)
 **
 
 The sandbox is a security feature. If you disable it to get the install
 working and a newer kernel-version. Please undo this change after the first
 boot into the new kernel.

Ack.

   I tried to search for
  
  touch: setting times of gentoo
  but I don't understand how this is related to my problem.
  
  Yahoo reply broken? I don't know what to say about that... gmail works
  in
  the same way, outlook in the same way, thunderbird in the same way.
 
 In other words, they're all broken.
 A good Email client will allow you to send non-HTML email. Puts quote
 marks in front of the lines and add a bladibla wrote this or similar
 line. It should also allow you to easily put your reply at the bottom of
 the email.
 
 GMail has been mentioned a few times as doing things wrongly. I won't even
 mention the many ways in which MS Outlook does things badly and Thunderbird
 wants to be a copy of MS Outlook.

Afaict, there are quite a few people here using thunderbird. Most replies are 
wellformed. Outlook, well... it's not a mail-client after all.

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-15 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 16:48:45 Joost Roeleveld wrote:
 I agree he is wrong about the solution as well.
 
 I have actually just posted my idea to the gentoo-dev list to see how the
 developers actually feel about possible splitting udev into 2 parts.

I've read it there. Thanks for doing this.

 I'm not a good enough programmer to do this myself. But if anyone who can
 code and who also agrees with me that my idea for a solution is actually a
 good idea, please let me know and lets see how far we can get with
 implementing this solution.

I'm definitely interested in this. I don't know, how many or little I can 
contribute. Working as a freelancer, I have some time now, but this could 
change quite fast. I have developed quite a few daemons at the company I 
worked for the past ~10 years. So I can say, I have some experience in doing 
things your proposal needs.
Feel free to send me PM, if you have questions about me, my knowledge or 
simply to exchange ideas.

 --
 Joost

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-15 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 11:03:09 Michael Mol wrote:
  Yes, except that udev ONLY handles kernel-events and doesn't process any
  actions itself.
  These are placed on a seperate queue for a seperate process.
 
 The problem with this is that you now need to manage synchronization
 between the kernel event processor and the action processor, which is
 actually more complicated than keeping them together in a
 single-threaded, single-process scenario.

Yes, it's more complicated to do. But not impossible.
IPC, shared memory and what not, exists for a reason

Best,
Michael




Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-14 Thread Michael Schreckenbauer
Hi,

On Wednesday, 14. September 2011 08:01:56 Trifu Catalin Florin wrote:
 Hi everyone!
 
 I have a big problem trying to install Gentoo. I have completed all the
 steps from the manual, as I have did it so many times, and I'm stuck trying
 to install syslog-ng. The machine is very old, it has an Athlon processor
 and 256MB of RAM, but it worked fine with gentoo. The error can be seen
 bellow:
 snip
 The same error I get for vixie-cron.

this is sys-devel/autoconf failing, building some emacs related things.
Try
USE=-emacs emerge -av1 sys-devel/autoconf

If that works, add
sys-devel/autoconf -emacs
to /etc/portage/package.use

 Some other things worth mentioning:
 - portage didn't request for an update

What version is installed?

 - mirrorselect -i -o faild with error: cannot download a list of mirrors or
 something similar.

No idea.

 I will really appreciate your help as my server is down for two days now.
 Thank you!
 Best regards!

Regards,
Michael




Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-14 Thread Michael Schreckenbauer
On Wednesday, 14. September 2011 09:00:02 Trifu Catalin Florin wrote:
 Hi
 
 the version of portage:
 
 Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.4.5,

2.1.10.11 is the latest. So no error here

 glibc-2.12.2-r0, 2.6.19-gentoo-r5 i686)
 
 USE=-emacs emerge -av1 sys-devel/autoconf - ir doesn't work; same error

Is there space left on the device?
If so, does something like
touch /var/tmp/portage/foo.stamp
(as root) work?

 Nilesh, can you please be more explicite?
 
 Thank you!

Best,
Michael

BTW: please don't top-post if possible.

 
 From: Michael Schreckenbauer grim...@gmx.de
 To: gentoo-user@lists.gentoo.org
 Sent: Wednesday, September 14, 2011 6:27 PM
 Subject: Re: [gentoo-user] New gentoo installation fails when trying to
 install syslog-ng
 
 Hi,
 
 On Wednesday, 14. September 2011 08:01:56 Trifu Catalin Florin wrote:
  Hi everyone!
  
  I have a big problem trying to install Gentoo. I have completed all the
  steps from the manual, as I have did it so many times, and I'm stuck
  trying to install syslog-ng. The machine is very old, it has an Athlon
  processor and 256MB of RAM, but it worked fine with gentoo. The error
  can be seen bellow:
  snip
  The same error I get for vixie-cron.
 
 this is sys-devel/autoconf failing, building some emacs related things.
 Try
 USE=-emacs emerge -av1 sys-devel/autoconf
 
 If that works, add
 sys-devel/autoconf -emacs
 to /etc/portage/package.use
 
  Some other things worth mentioning:
  - portage didn't request for an update
 
 What version is installed?
 
  - mirrorselect -i -o faild with error: cannot download a list of mirrors
  or something similar.
 
 No idea.
 
  I will really appreciate your help as my server is down for two days
  now. Thank you!
  Best regards!
 
 Regards,
 Michael



Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-14 Thread Michael Schreckenbauer
On Wednesday, 14. September 2011 09:48:33 Trifu Catalin Florin wrote:
 Hi Michael
 
 I have 1.9GB left and it works to create a new file.

Ah, got it.
Your kernel is too old. You need a kernel  2.6.22 to make this work.

If you cannot upgrade your kernel right now, you can disable the sandbox
FEATURES=-sandbox in /etc/make.conf
(I do not recommend this)

Or you can replace touch with busybox's implementation (if bb is installed)

mv /bin/touch /root (to save it for later restauration)
ln -s /bin/bb /bin/touch

 BTW: What means don't top-post if possible?

- http://idallen.com/topposting.html

Best,
Michael


 
 From: Michael Schreckenbauer grim...@gmx.de
 To: gentoo-user@lists.gentoo.org
 Sent: Wednesday, September 14, 2011 7:12 PM
 Subject: Re: [gentoo-user] New gentoo installation fails when trying to
 install syslog-ng
 On Wednesday, 14. September 2011 09:00:02 Trifu Catalin Florin wrote:
  Hi
  
  the version of portage:
  
  Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.4.5,
 
 2.1.10.11 is the latest. So no error here
 
  glibc-2.12.2-r0, 2.6.19-gentoo-r5 i686)
  
  USE=-emacs emerge -av1 sys-devel/autoconf - ir doesn't work; same
  error
 
 Is there space left on the device?
 If so, does something like
 touch /var/tmp/portage/foo.stamp
 (as root) work?
 
  Nilesh, can you please be more explicite?
  
  Thank you!
 
 Best,
 Michael
 
 BTW: please don't top-post if possible.
 
  
  From: Michael Schreckenbauer grim...@gmx.de
  To: gentoo-user@lists.gentoo.org
  Sent: Wednesday, September 14, 2011 6:27 PM
  Subject: Re: [gentoo-user] New gentoo installation fails when trying to
  install syslog-ng
  
  Hi,
  
  On Wednesday, 14. September 2011 08:01:56 Trifu Catalin Florin wrote:
   Hi everyone!
   
   I have a big problem trying to install Gentoo. I have completed all
   the
   steps from the manual, as I have did it so many times, and I'm stuck
   trying to install syslog-ng. The machine is very old, it has an
   Athlon
   processor and 256MB of RAM, but it worked fine with gentoo. The
   error
   can be seen bellow:
   snip
   The same error I get for vixie-cron.
  
  this is sys-devel/autoconf failing, building some emacs related things.
  Try
  USE=-emacs emerge -av1 sys-devel/autoconf
  
  If that works, add
  sys-devel/autoconf -emacs
  to /etc/portage/package.use
  
   Some other things worth mentioning:
   - portage didn't request for an update
  
  What version is installed?
  
   - mirrorselect -i -o faild with error: cannot download a list of
   mirrors or something similar.
  
  No idea.
  
   I will really appreciate your help as my server is down for two
   days
   now. Thank you!
   Best regards!
  
  Regards,
  Michael



Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-14 Thread Michael Schreckenbauer
On Wednesday, 14. September 2011 12:16:19 Trifu Catalin Florin wrote:
  Me wrote:

  Ah, got it.
  Your kernel is too old. You need a kernel  2.6.22 to make this work.

  If you cannot upgrade your kernel right now, you can disable the sandbox
  FEATURES=-sandbox in /etc/make.conf
  (I do not recommend this)

  Or you can replace touch with busybox's implementation (if bb is 
installed)

  mv /bin/touch /root (to save it for later restauration)
  ln -s /bin/bb /bin/touch

 This can't be true. My kernel version is 2.6.39-gentoo-r3.

Are you sure? To quote you from an earlier mail:

Hi

the version of portage:

Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 
2.6.19-gentoo-r5 i686)


See? 2.6.19... Did you reboot with the new kernel?

Best,
Michael




Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-14 Thread Michael Schreckenbauer
On Wednesday, 14. September 2011 12:36:40 Trifu Catalin Florin wrote:
.

Hi,

may I ask, how you actually reply to this list?
I see you now learned about top-posting :)
But your replies still are very hard to read.
First of all, you really should delete unrelated parts of the mail.
See? I don't refer to the content of your mail, so I simply deleted it.
Second, but less important, no html, please - your mails are so called 
multipart, that's better than plain html. but plain text is preferred here on 
the list.
And last and imo most important: the way you reply, damages the quoting of the 
content. It's hard to see, who wrote what in what context. Do you hit forward 
mail or reply mail?

Best,
Michael




Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-14 Thread Michael Schreckenbauer
On Wednesday, 14. September 2011 13:25:41 Trifu Catalin Florin wrote:
 As you can probably see I'm using yahoo mail, so obviously I use yahoo's
 reply. This mail will be sent as plain text. I'm sorry for the inconvenient
 of having you read emails that do not respect the standard, I didn't even
 knew there is one.

No problem, really.

 Michael, I didn't reboot the computer. How could I when I'm reinstalling
 gentoo? Anyway, can someone please tell me how can I see the kernel
 version?

uname -r
does this

Best,
Michael




Really OT now (Re: [gentoo-user] udev + /usr)

2011-09-14 Thread Michael Schreckenbauer
Hi Alan,

On Wednesday, 14. September 2011 21:34:01 Alan Mackenzie wrote:
 I've been contributing to Emacs in general and CC Mode in particular for
 10 years.  I've been the sole maintainer of CC Mode (the mode used for
 coding in C, C++, Objective C, Java, Awk, and a couple of others, and an
 unknown number of derived modes) for around 5 years.  Over that time I've
 spent thousands of hours on the project.  My latest release was on
 Monday, and you can find it at
 http://cc-mode.sourceforge.net/release.php.  If you use {,X}Emacs to
 hack in any these languages, I recommend you to download and install it.

although I'm a vim-using guy, and that only if no kate is available, I have 
emacs and cc-mode installed on every machine I use for coding. At times I even 
use it :) 
Really cool stuff you do there and thanks for the work.

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-13 Thread Michael Schreckenbauer
On Monday, 12. September 2011 19:31:54 Canek Peláez Valdés wrote:
 On Mon, Sep 12, 2011 at 6:00 PM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  On Monday, 12. September 2011 22:57:40 Alan McKinnon wrote:
  On Mon, 12 Sep 2011 16:07:46 -0400
  
  Michael Mol mike...@gmail.com wrote:
   No, it states that it's not solveable for the broadest set of
   cases (I
   hesitate to say 'universally') unless you can run arbitrary
   scripts
   which may be in /usr.
   
   Consider it possible that nfsd is needed to mount /usr. The
   credentials needed for NFS to connect to the server are on an
   encrypted partition. The key for decrypting that partition is
   stored
   on a USB flash drive. The USB flash drive is formatted using a
   very
   recent version of NTFS. FUSE is necessary to read that flash
   drive's
   filesystem.
  
  You do realize what you just did, right?
  
  You ruined a wonderfully heated argument by inserting perfectly
  valid facts.
  
  I'd love to see the working initramfs for that scenario...
  and then the version dracut made :)
 
 Not my use case, so maybe wrong, but:
 
 USE=crypt crypt-gpg nfs emerge -v sys-kernel/dracut
 dracut -H -m crypt crypt-gpg nfs --filesystems fuse

USE does not work. Has to be DRACUT_MODULES :)

 ...and maybe some -i flags to include the ntfs-3g binaries.

Maybe... what if I miss some modules, so that my initramfs is not able to 
mount /usr? I assume dracut is installed in /usr/*? How would one get a 
working system again?

 Regards.

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-13 Thread Michael Schreckenbauer
Hi Alan,

On Tuesday, 13. September 2011 14:40:36 Alan Mackenzie wrote:
 On Mon, Sep 12, 2011 at 07:50:13PM +0200, Michael Schreckenbauer wrote:
  Hi Alan,
  
  On Monday, 12. September 2011 17:17:37 Alan Mackenzie wrote:
   Hi, Michael.
   
   On Mon, Sep 12, 2011 at 05:33:34PM +0200, Michael Schreckenbauer wrote:
Hi Alan,
   
   Well, I'm a hacker.  udev is free source, therefore fair game.  I
   don't
   intend to put up with this nonsense without a fight.  As far as I
   can
   make out, this is just one guy, Kay Sievers, who's on a power trip. 
   Are there any indications at all that he actually talked to anybody
   in the wide world before making such a far reaching decision?
   On my current system, udev (164-r2) works without an earlily loaded
   /usr. Seemingly, later versions don't.  That was why I was asking
   for somebody to identify one of these later versions for me.
  
  it works for you, because your udev-rules need nothing from /usr/*
  It's *not* udev requiring /usr, it's the scripts triggered by the rules.
 
 Ah.  OK.  Maybe I've misunderstood the whole thing.  Could it be that
 there's no explicit requirement for early mounting of /usr, providing one
 has the discipline to keep everything needed for booting in the /
 partition?

I think so. But you will run an unsupported config afaict. Another point is, 
that baselayout might change, iff gentoo follows fedora. Afaik fedora wants 
/bin, /sbin and /lib to be symlinks to /usr/*  and keep them only for legacy 
reasons.

Fixing udev to continue working with separate /usr is far from
trivial imo. Changing some paths is not the way to go for sure.
   
   Maybe, maybe not.
  
  No, I wrote for sure, because I *know* this.
 
 Sorry about that.

No problem. Sorry for the tone, too. Sounded ruder than it was meant.

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-13 Thread Michael Schreckenbauer
On Tuesday, 13. September 2011 11:21:22 Walter Dnes wrote:
   This thread reminds me of the old joke that an elephant is actually a
 mouse designed by a committee.  Trying to cover every possible edge case
 with a one-size-fits-all solution doesn't work without bloating
 everybody's system.  If someone wants an arbitrary binary really early
 in bootup, link it statically and save to /etc/udev/bin or where ever,

+1

 and leave the other 99% of us to ignore initramfs.  Is this from the
 same Redhat that brought us BlueCurve and made Pulseadio the default on
 their OS?

No, this is some other guy.
Kay Sievers hacks on udev, systemd and related stuff. He's the one responsible 
for this initramfs is needed for separate /usr-crap afaict.
The one doing pulseaudio is Lennart BSD isn't relevant anymore Poettering. 

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-13 Thread Michael Schreckenbauer
On Tuesday, 13. September 2011 17:10:40 Canek Peláez Valdés wrote:
 On Tue, Sep 13, 2011 at 4:57 PM, Michael Mol mike...@gmail.com wrote:
  On Tue, Sep 13, 2011 at 4:52 PM, Canek Peláez Valdés can...@gmail.com 
wrote:
  Want to change the direction of the distro? You know what needs to be
  done. 
  Be more specific. It sounds like there are a lot of people in here who
  want to change the direction of the distro.
 
 Sorry: I said it a lot of times before in the other thread, so I
 thought it was clear.
 
  Is it simply subscribing to -dev and voicing the conversation there?
 
 Of course not. But please, do that if you think it will help to steer
 Gentoo to whatever direction do you think is the correct one.
 Personaly I don't think the devs (who, AFAIK, do not receive a single
 dime for working on Gentoo) will appreciate anybody telling them how
 they should do their jobs, the one they do for free. But that's just
 me.

As you well know, not all of our devs are in favour of this idea.
To quote one of them (vapier)

brain dead behavior in other packages has no bearing on openrc.  openrc will 
never require crap like initramfs simply to boot.
-mike

And in a later mail:

...if there is something in openrc that doesnt 
work with a split /usr or /var, then file a bug because it is a bug...

 No, by you know what needs to be done I mean: code. Contribute.
 Become a developer. Make shit happens the way you think it should
 happen.
 Shut up and code. Google it, I didn't come with the phrase.

There are already devs on our side. Fortunatly one of them maintains openrc 
:)

 Regards.

Regards,
Michael




Re: [gentoo-user] udev + /usr

2011-09-13 Thread Michael Schreckenbauer
On Tuesday, 13. September 2011 17:53:04 Canek Peláez Valdés wrote:
 On Tue, Sep 13, 2011 at 5:30 PM, Michael Schreckenbauer grim...@gmx.de 
wrote:
  There are already devs on our side. Fortunatly one of them maintains
  openrc 
  :)
 
 I really don't see them as sides. We are not at war.

:)

 And if
 OpenRC is capable of booting without needing an initramfs, I really,
 truly believe that is *GREAT*. But
 
 a) It doesn't stop OpenRC to actually use an initramfs
 b) Doesn't mean every other part of the stack will keep working
 without an initramfs *AND* with a separated /usr.
 c) Doesn't mean there are enough developers to keep supporting the
 things upstream stop supporting.
 
 Again, it all comes down to whoever writes the code. If Vapier wants
 to support OpenRC for systems without initramfs and a separated /usr,
 that's amazing and we should all said thanks to him and the other devs
 for the extra effort. But it *WILL* be extra effort for him the moment
 more upstreams choose to assume that either /usr is in /, or that the
 system boots with an initramfs.
 
 We can thank Vapier, but we cannot *demand* of him to support whatever
 we want. Nor to any other dev.

I do not demand anything from any developer (unless I pay him).
 
 So,if you *TRULY* believe that Gentoo should forever and ever support
 any setup it has supported up until now, better start coding. Because
 otherwise you can never be sure somebody else will do it for you.

Not that it has some value for this discussion, but I *do* code. It's just not 
udev, openrc or as a gentoo-dev.
If gentoo follows fedora on this mandatory initramfs trail, I'll switch to 
FreeBSD completely. My software works on way more systems than just Linux.

 And maybe I shouldn't even mention it, but I don't use OpenRC. I use
 systemd. And it works great on Gentoo.

Well. Linux only. If I wanted a monoculture, I would use MS-Windows or OSX.

 Regards.

Regards,
Michael




Re: [gentoo-user] Re: /dev/sda* missing at boot

2011-09-12 Thread Michael Schreckenbauer
Hi,

On Monday, 12. September 2011 10:40:02 Nicolas Sebrecht wrote:
 The 09/09/11, Michael Schreckenbauer wrote:
  The question arose, when Canek mentioned bluetoothd, that udev seems to
  need in some cases.
 
 This is wrong.
 udev on its own does not require extra tools from /usr.
 Though, the rules used by udev do use software in /usr. It's NOT a udev
 fault _at all_.

Well, this is details. Where's the diffference from user-point-of-view, whether 
it's udev itself or some scripts executed by udev?
And I tend to disagree, with the not udev's fault part.
udev treats all exit-codes from scripts as if the device were not present.
This includes errors of all kinds. How is this supposed to work at all?

 So, what's the good way to fix all that mess? Certainly not moving most
 of software to /. Fortunately, we can expect /usr to be mounted before
 udev starts via the initramfs.

That's *your* opinion. Most people on this list disagree.

 It does NOT mean everybody will require a initramfs. It means people
 WANTING a seperate /usr will need a initramfs.
 The good thing is that a lot of tools now in / will be granted back to
 /usr. Let's clean up /. Also, it's a _good_ news for admins expecting to
 maintain systems with a shared /usr (e.g. over the network).

Since when is a mandatory initramfs a good thing for admins?
Care to explain?

Regards,
Michael




Re: [gentoo-user] two question about Xfce

2011-09-12 Thread Michael Schreckenbauer
Hi,

On Monday, 12. September 2011 15:01:34 András Csányi wrote:
 Dear All,
 
 I have two question about Xfce:
 
 Is used
 kwin under xfce somehow? If a KDE application is used kwin always gets
 in the picture?

No, unless you tell it to (kwin --replace iirc) and no. How to fix your 
problem, I have no idea.

 - How can I set up the position of the newly started application in
 Xfce? For example, if I start a new application (Openoffice, Chromium,
 Kile, etc.) it's fitted to the center of the screen. In this case it's
 very uncomfortable for me because my screen is 2880x900 px (because of
 the two monitors) and the center is 1440x0 which is under the panel.

That seems to be smart placement, which is based on the windows size. You can 
adjust that in Settings-Window Manager Tweaks-Placement.
If that doesn't suffice, you could experiment with x11-misc/wmctrl
 
 Thanks for any help in advance!
 
 András

Hth,
Michael




Re: [gentoo-user] udev + /usr

2011-09-12 Thread Michael Schreckenbauer
Hi Alan,

On Monday, 12. September 2011 15:02:48 Alan Mackenzie wrote:
 Hi, everybody.
 
 Hope nobody minds me starting a new thread with an accurate name.
 
 Which version of udev is it that has this nauseating feature of needing
 /usr loaded to boot?

 Somewhere in that version's source will be several (or lots of) /usr.
 Just how difficult is it going to be to replace /usr/bin with /bin
 throughout the source?

you misunderstood something. udev is able to run arbitrary scripts. Some of 
those scripts are located in /usr/* or need something there. I doubt you will 
find references to /usr in the udev-sources.

 udev is part of the kernel.

No. udev is usperspace.

 How come the kernel hackers aren't up in
 arms about this as much as we are?  Or are they, maybe?  In which case,
 maybe the kernel people would welcome an option to disrequire the early
 mounting of /usr as much as we would.
 
 Anyhow, I'd like to take a peek at the source code which does this evil
 thing.  Would somebody please tell me which version of udev is involved.

Every udev version works this way.
Fixing udev to continue working with separate /usr is far from trivial imo. 
Changing some paths is not the way to go for sure.
First of all, udev has to distinguish between device not present and script 
error of some kind. Failing scripts have to be queued somehow for later 
execution. If a script keeps failing, it has to be removed from that queue, 
with a message to syslog or something like that. If udev needs a script in 
/usr/* to mount /usr then there's a chicken-egg-problem, which could be hard 
to solve (if possible at all without moving things from /usr/ to /).
Note, that I am wild guessing here, I did not study the udev sources or any 
related script/rule :)

 Thanks.

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-12 Thread Michael Schreckenbauer
Hi Canek,

On Monday, 12. September 2011 11:35:13 Canek Peláez Valdés wrote:
 (This would be my only post in this new thread: I think I have made my
 point of view clear in the other thread).
 
 I have seen a lot of disinformation going on in the other threads
 (like some people suggesting that /var would not be able to be on its
 own partition at some point in the future). Just before everyone start
 to wildy conjecture, please take a look at this:
 
 http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken

well, the culprit here is:
The binaries called from these rules are sometimes located on /usr/bin, or 
link against libraries in /usr/lib, or use data files from /usr/share. If these 
rules fail udev will proceed with the next one, however later on applications 
will then not properly detect these udev devices or features of these 
devices.

Why doesn't udev queue failing scripts for later execution? It just assumes 
everything is in place in the moment it needs it. This is bad design for a 
tool, coming in so early in the boot process.

 Also, a look at this thread is maybe justified:
 http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/1728/

Same thing here. This all basically reads We did some really bad design 
choices, now let's fix the surroundings.
The following sentence really made me laugh:

 If so, what does LSB say to this new directory?

Nothing really, they just document current common practice. We might
request an update to LSB after it is used for a while and has shown
that it is what we want.

He does not know, if the thing he designed is the thing he wants.
That's ridiculous!

 Change happens.

We already know this.

 Regards everyone.

Best,
Michael




Re: [gentoo-user] package.provided messes up emerging of package slots?

2011-09-12 Thread Michael Schreckenbauer
On Monday, 12. September 2011 18:41:37 Nikos Chantziaras wrote:
 In my /etc/portage/profile/package.provided, I have this:
 
media-libs/freetype-1.4_pre20080316-r2
 
 When I try to emerge freetype however, instead of emerging the newer
 version, I get:
 
$ emerge freetype
 
WARNING: A requested package will not be merged because it is listed
in package.provided:
 
  freetype pulled in by 'args'
 
Nothing to merge; would you like to auto-clean packages? [Yes/No]
 
 Trying emerge freetype:2 also won't work.  The only only to emerge it
 seems is by using the whole version (emerge =freetype-2.4.6).  Is this
 a bug?

At least it's inconsistent. I would expect that the emerge with complete 
version also fails.

Regards,
Michael




Re: [gentoo-user] udev + /usr

2011-09-12 Thread Michael Schreckenbauer
On Monday, 12. September 2011 12:42:00 Canek Peláez Valdés wrote:
 On Mon, Sep 12, 2011 at 12:21 PM, Dale rdalek1...@gmail.com wrote:
  You say it was disinformation about /var.  Care to explain why me and
  one
  other person read the same thing?  It was mentioned on -dev.  I was
  pretty sure it was and then another person posted they read the same.
   So, I'm almost certain it was said at this point.  Surely we can't
  both be wrong.
 Where did you guys read it? Who said /var could not be in its own
 partition anymore? What piece of code stops working if /var it's in
 its own partition? Who is proposing that a separated /var will not be
 supported in the future?

Just have a look in /var/lib/* for example.
You guarantee, that nothing of this stuff is or will be needed by udev?

 The thread I post talks about /var/run and /var/lock needing to be
 symbolic links to /run and /lock, but AFAIK (and I tend to follow this
 sort of things) /var not only can be in its own partition, it is the
 recommended setup.

Yes. Until this dev has his next brilliant idea.

 Saying that proposing /run and /lock to be available at boot time
 Damn, this list is like crack.

For sure :)

 Regards everyone.

Best,
Michael




Re: [gentoo-user] Re: package.provided messes up emerging of package slots?

2011-09-12 Thread Michael Schreckenbauer
On Monday, 12. September 2011 20:04:47 Nikos Chantziaras wrote:
 On 09/12/2011 07:42 PM, Michael Schreckenbauer wrote:
  On Monday, 12. September 2011 18:41:37 Nikos Chantziaras wrote:
  In my /etc/portage/profile/package.provided, I have this:
  media-libs/freetype-1.4_pre20080316-r2
  
  When I try to emerge freetype however, instead of emerging the newer
  
  version, I get:
  $ emerge freetype
  
  WARNING: A requested package will not be merged because it is
  listed
  
  in package.provided:
freetype pulled in by 'args'
  
  Nothing to merge; would you like to auto-clean packages?
  [Yes/No]
  
  Trying emerge freetype:2 also won't work.  The only only to emerge
  it
  seems is by using the whole version (emerge =freetype-2.4.6).  Is
  this
  a bug?
  
  At least it's inconsistent. I would expect that the emerge with complete
  version also fails.
 
 It's slotted, so it shouldn't fail.  Freetype 1 and 2 can be installed
 at the same time.

Yes, that's true for the packages provided by portage. portage does not know 
anything about the freetype you provide, so it shouldn't install any freetype 
from any slot by any command.

Best,
Michael




Re: [gentoo-user] udev + /usr

2011-09-12 Thread Michael Schreckenbauer
Hi Alan,

On Monday, 12. September 2011 17:17:37 Alan Mackenzie wrote:
 Hi, Michael.
 
 On Mon, Sep 12, 2011 at 05:33:34PM +0200, Michael Schreckenbauer wrote:
  Hi Alan,
  
  On Monday, 12. September 2011 15:02:48 Alan Mackenzie wrote:
   Hope nobody minds me starting a new thread with an accurate name.
   
   Which version of udev is it that has this nauseating feature of
   needing
   /usr loaded to boot?
   
   Somewhere in that version's source will be several (or lots of)
   /usr.
   Just how difficult is it going to be to replace /usr/bin with
   /bin
   throughout the source?
  
  you misunderstood something. udev is able to run arbitrary scripts. Some
  of those scripts are located in /usr/* or need something there. I doubt
  you will find references to /usr in the udev-sources.
 
 Well, I'm a hacker.  udev is free source, therefore fair game.  I don't
 intend to put up with this nonsense without a fight.  As far as I can
 make out, this is just one guy, Kay Sievers, who's on a power trip.  Are
 there any indications at all that he actually talked to anybody in the
 wide world before making such a far reaching decision?
 On my current system, udev (164-r2) works without an earlily loaded /usr.
 Seemingly, later versions don't.  That was why I was asking for somebody
 to identify one of these later versions for me.

it works for you, because your udev-rules need nothing from /usr/*
It's *not* udev requiring /usr, it's the scripts triggered by the rules.

   udev is part of the kernel.
  
  No. udev is usperspace.
 
 OK, udev is in userspace, _very_ _close_ to the kernel.  ;-)
 
   How come the kernel hackers aren't up in arms about this as much as
   we are?  Or are they, maybe?  In which case, maybe the kernel people
   would welcome an option to disrequire the early mounting of /usr as
   much as we would.
   
   Anyhow, I'd like to take a peek at the source code which does this
   evil
   thing.  Would somebody please tell me which version of udev is
   involved. 
  Every udev version works this way.
 
 My udev (164-r2) is just fine at the moment.  I'm not sure what you mean
 by that statement.

It works for you.
Every udev-version I know of, is able to run any script you like it to.

  Fixing udev to continue working with separate /usr is far from trivial
  imo. Changing some paths is not the way to go for sure.
 
 Maybe, maybe not.

No, I wrote for sure, because I *know* this.

 But it seems a changing of paths (/ - /usr) is
 precisely what is breaking newer udevs.

No, it is *not*

 It might be possible to change
 them back.  This could involve moving a fair amount of stuff from /usr to
 /, but not half as much as moving the entire /usr partition.

Again, udev can run arbitrary scripts.

  First of all, udev has to distinguish between device not present and
  script error of some kind. Failing scripts have to be queued somehow
  for later execution. If a script keeps failing, it has to be removed
  from that queue, with a message to syslog or something like that. If
  udev needs a script in /usr/* to mount /usr then there's a
  chicken-egg-problem, which could be hard to solve (if possible at all
  without moving things from /usr/ to /). Note, that I am wild guessing
  here, I did not study the udev sources or any related script/rule :)
 
 This sounds like a separate (if related) problem.

No, this *is* the problem.Canek has posted some links in the other thread, 
some other guy, I have forgotten who it was, posted others. If interested read 
them. I really don't want to offend you, but unless you understand, how things 
work and what the problem is, don't waste your time looking at udev's sources.

Best,
Michael




  1   2   3   >