Re: [gentoo-user] issues with apache config

2011-04-05 Thread Pandu Poluan
I knew I forgot to reply to someone...

On Tue, Apr 5, 2011 at 00:58, James  wrote:
> Hi Pandu,
>
> Thanks for the response. What kind of permissions / privileges issues
> would cause this sort of behavior.
>
> ~ % ps aux | grep -i apache
> root      2421  1.1  0.3 224928 12312 ?        Ss   09:53   0:00
> /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST
> -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf
> -k start
> apache    2423  0.0  0.1 209904  3884 ?        S    09:53   0:00
> /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST
> -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf
> -k start
> apache    2428  0.0  0.2 438024  8152 ?        Sl   09:53   0:00
> /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST
> -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf
> -k start
> apache    2429  0.0  0.2 438024  8148 ?        Sl   09:53   0:00
> /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST
> -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf
> -k start
>
> Looks like there's one process running as root, and the rest are
> running as Apache. /stuff/web/app is also apache:apache.
>

Hmmm... is root member of apache group?

> Cherokee has a bug that creeps up on you when you're using SSL. PHP
> pages will half-load, sometimes completely load. The developers have
> NO idea what causes the problem. They've got a bug open but apparently
> they can't find root cause. While I love Cherokee, until this is fixed
> simple things like a wiki page loading will present the issue when
> there are graphics involved.
>
> -james
>

Sounds sucky.

What do you think of Hiawatha?

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] xorg crashes

2011-04-05 Thread Yohan Pereira
On Wednesday 06 Apr 2011 01:45:10 AM Mike Bean wrote:
> When you say, "rebuild" are you referring to
> basically the same process as emerge?   

yes he is.

>but when I think of building something I always think of
> configure/make/make install,

portage does all that for you when you call emerge.


-- 

- Yohan Pereira

"A man can do as he will, but not will as he will" - Schopenhauer


Re: [gentoo-user] Re: RAID on new install

2011-04-05 Thread Joost Roeleveld
On Monday 04 April 2011 14:16:45 James wrote:
> Mark Shields  gmail.com> writes:
> > The last guide recommends using raid0 on some
> > partitions; everytime I use LVM2, I use nothing
> > but raid1 partitions.  I'd rather have the full
> > raid1 than partial raid 1 + speed of raid0.
> 
> Well Raid 1 only would be keen.
> Even swap as raid 1 ?
> 
> There are actually 2 docs that cross
> reference each other. See my post to
> Mark's input...
> 
> thx
> James

On my server, I use RAID-1 for swap as well. Why risk the system crashing 
because half the swap dissappears suddenly because of a drive failure?

There actually is only 1 system that I use regularly with a RAID-0 partition. 
And that machine is only used for virtual machines I use for testing. If that 
one dies, worst that happens is I need to recreate the images. Not a big loss 
for me.

--
Joost Roeleveld



Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5

2011-04-05 Thread Pandu Poluan
On Tue, Apr 5, 2011 at 21:42, Mike Edenfield  wrote:
> On 4/5/2011 3:03 AM, Pandu Poluan wrote:
>> On Mon, Apr 4, 2011 at 19:34, Mike Edenfield  wrote:
>>> On 4/4/2011 8:07 AM, Pandu Poluan wrote:
>>>
 MAKEOPTS="-j3"
>>>
 {standard input}: Assembler messages:
 {standard input}:146362: Error: open CFI at the end of file; missing
 .cfi_endproc directive
 xgcc: Internal error: Killed (program cc1)
>>>
>>> This kind of error is often caused by the parallel make not quite working.
>>> Try running the build like:
>>>
>>> MAKEOPTS="-j1" emerge =sys-devel/gcc-4.4.5
>>>
>>> In general, whenever you get strange build errors (i.e. that have no
>>> immediately obvious cause) you should try again with MAKEOPTS="-j1". Often
>>> it will fix the problem, but even when it doesn't you will usually get a
>>> much more useful error.
>>
>> Thanks for the tip. Now it's 'partially successful':
>>
>>  * QA Notice: Package has poor programming practices which may compile
>>  *            fine but exhibit random runtime failures.
>
> These aren't anything to worry about.
>

Thanks for the explanation :-)

> Installing (1 of 1) sys-devel/gcc-4.4.5
>>  * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.4' in
>> '/etc/env.d/gcc/' !
>>  * Running 'fix_libtool_files.sh 4.4.4'
>>  * Scanning libtool files for hardcoded gcc library paths...
>> cat: ld.so.conf.d/*.conf: No such file or directory
>> gcc-config: error: could not run/locate 'gcc'
>> :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
>>  * Switching native-compiler to x86_64-pc-linux-gnu-4.4.5 ...
>>
>>  * Your gcc has a bug with GCC_SPECS.
>>  * Please re-emerge gcc.
>>  * http://bugs.gentoo.org/68395
>
> All of this is caused by your previous gcc profile being invalid, that
> is, pointing to a non-existent gcc version (one that had already been
> uninstalled). You *don't* have to re-emerge gcc as it says -- the bug is
> not in your GCC_SPECS but in gcc-config.
>
> You should first run gcc-config again to make sure your newly installed
> compiler it set as the default, then run `fix_libtool_files.sh 4.4.4` as
> the ebuild was trying to do.
>

And you had to reply *after* gcc is re-emerged >.<

Oh well, good to know, anyways... prevent more griefs in the future :-)


Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] Gentoo + NetworkManager Applet + Modem ZTE MF180

2011-04-05 Thread Carlos Sura
On 18 December 2010 10:46, Gary Golden  wrote:

> I'm not sure about Fedora, but since /dev/ttyUSB* doesn't exist then
> option driver isn't loaded. I have a ZTE device and did make it work
> with this driver.
>
> Try lsmod | grep option to make sure.
>
> It's there:
>
> Device Drivers
>  -> USB support (USB_SUPPORT [=y])│
>-> USB Serial Converter support (USB_SERIAL [=m]
>
> --
>
> Gary Golden
>
> On 12/18/2010 08:10 PM, Carlos Sura wrote:
> >
> > On 17 December 2010 10:54, Gary Golden  > > wrote:
> >
> > Try option kernel driver.
> > Can you see it with lsusb?
> > Is there any /dev/ttyUSB* ?
> >
> > ---
> >
> > Gary Golden
> >
> > On 12/14/2010 11:03 PM, Carlos Sura wrote:
> > > Hello mates,
> > >
> > > I'm on a Gentoo Box (my laptop) and I have a usb modem (ZTE
> > MF180), but
> > > it just don't work with my Gentoo Box, I've been searching in
> > Google and
> > > I found this: http://christian.amsuess.com/tutorials/zte_mf180/
> > >
> > > I tried, but, I ejected my cdrom and even my usb modem (eject
> > /dev/sr1)
> > > and none of this worked for me.
> > >
> > > Does anyone have this Modem working on Gentoo Linux? if so, please
> let
> > > me know how!
> > >
> > > However, I tried this modem with a livecd (Fedora) and it worked
> with
> > > the networkmanager, easy as pie!!... Is there any way to get that
> > config
> > > (or drivers) to make it work in my gentoo box?
> > >
> > > Regards,
> > > Carlos Sura.
> > >
> > > --
> > > Carlos Sura.-
> > >
> >
> >
> > Hello Gary Golden,
> >
> > Thank you for answer me.
> >
> > Yes I can see it with: *lusb *and no there is nothing in*/dev/ttyUSB**
> > *
> > *
> > The link above explains how to make it works, but I've been following
> > those instructions and isn't working for me. Do I need to install
> > *usbswitchmode*? by the way: Is there anyway to know what drivers and
> > configuration is using Fedora 14, to make it easier and just take it
> > from Fedora 14 and use it in my Gentoo ?
> >
> > Regards,
> >
> > --
> > Carlos Sura.-
> >
>
>
Hi, I've already found a way to make it work.

Here:
We need to configure the kernel of our gentoo b0x, we give support to ip and
ppp

Networking --->
Networking options --->
<*> Unix domain sockets[*] TCP/IP networking
Device Drivers --->
Network device support --->[*] Network device support
<*> PPP (point-to-point protocol) support
<*> PPP support for async serial ports
<*> PPP support for sync tty ports
<*> PPP Deflate compression
<*> PPP BSD-Compress compression


then we make active:
Device Drivers --->
SCSI device support --->
<*> SCSI CDROM support
USB support --->
<*> Support for Host-side USB
<*> UHCI HCD (most Intel and VIA) support
<*> USB Mass Storage support
USB Serial Converter support --->
<*> USB Serial Converter support
<*> USB driver for GSM and CDMA modems

finally we compile our kernel and reboot the system, and then we add our
modem with our Network Manager (gnome) and it will work fine

By the way, after reboot, as root : eject /dev/sr0 (to make it work)

Regards

-- 
Carlos Sura.-


Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Bill Longman
Maybe switch it to just a shift key?

And I really *do* like the idea of language switch, Kfir!


Re: [gentoo-user] Re: RAID on new install

2011-04-05 Thread Mark Shields
On Mon, Apr 4, 2011 at 9:16 AM, James  wrote:

> Mark Shields  gmail.com> writes:
>
>
> > The last guide recommends using raid0 on some
> > partitions; everytime I use LVM2, I use nothing
> > but raid1 partitions.  I'd rather have the full
> > raid1 than partial raid 1 + speed of raid0.
>
>
> Well Raid 1 only would be keen.
> Even swap as raid 1 ?
>
> There are actually 2 docs that cross
> reference each other. See my post to
> Mark's input...
>
> thx
> James
>
>
>
>
>
>
Well, no.  I don't use raid 1 with swap; I just use a separate swap
partition on each drive.  But all the other partitions, I use raid 1.


Re: [gentoo-user] putting mysql databases from one system to another

2011-04-05 Thread Mark Shields
On Tue, Apr 5, 2011 at 2:37 PM,  wrote:

>
> Josh  wrote:
>
> > On Tue, Apr 5, 2011 at 11:59 AM,  wrote:
> >
> > > I am trying to copy my databases from one system to another and since
> > > one is 32-bit and the other is 64-bit, I was told that I could not copy
> > > the binary  databases   directly, but I had to  do mysqldump and then
> > > put that source file into the new system.  What I am getting is that
> the
> > > passwords seem not to have gotten through -- the user names seem to be
> > > there, but I cannot login with the passwords the user had in the old
> > > system.
> > >
> > > Can anyone tell me why this is so and what I can do to fix?
> > >
> > > Thanks in advance for any ideas.
> > >
> > > --
> > > Your life is like a penny.  You're going to lose it.  The question is:
> > > How do
> > > you spend it?
> > >
> > > John Covici
> > > cov...@ccs.covici.com
> > >
> > > Which two MySQL versions are in use here?
> >  Older versions of mysql used a different format for the passwords
> and
> > there is a flag you need to pass to mysqld to get it to use old passwords
> (I
> > believe)
> >
> > What is the connection string you are using? Specifically are you
> connecting
> > via the mysql socket, using a hostname etc?
> >  Say the old server was called "foo.stuff.net" and the connection
> was
> > made via the external interface e.g. "mysql -h foo.stuff.net", the user
> may
> > have been setup to allow connections from "foo.stuff.net" only, as where
> now
> > you may be connectin from "bar.stuff.net" or "localhost".
> >
> > SELECT user,host FROM mysql.user ORDER BY user;
> >
> > May shed some light on the situation for you.
> It should be localhost in all cases.  The mysql versions are  5.1.53 in
> both cases.  I am trying to login with the mysql client and I can do it
> on the old box, but not the new one --same host name, etc.
>
> Now I can login with the root password on the new box, maybe that is
> stored somewher else.
>
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
> John Covici
> cov...@ccs.covici.com
>
> I hate to ask the obvious, but are you passing "-u  and -p" to
mysqldump?  the "-p" by itself will prompt for a password, which you will
then enter. The format should be "mysqldump databasename -u username -p >
file", then enter the password at the "Password:" prompt.


Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Indi
On Wed, Apr 06, 2011 at 02:10:02AM +0200, Neil Bothwick wrote:
> On Tue, 5 Apr 2011 19:36:08 -0300, Gregory Fontenele wrote:
> 
> > want to leave this list but I can not
> 
> Here's how to unsubscribe:
> 
> First, ask your Internet Provider to mail you an Unsubscribing Kit.
> Then follow these directions.
> 
> The kit will most likely be the standard no-fault type. Depending on
> requirements, System A and/or System B can be used. When operating
> System A, depress lever and a plastic dalkron unsubscriber will be
> dispensed through the slot immediately underneath. When you have
> fastened the adhesive lip, attach connection marked by the large "X"
> outlet hose. Twist the silver-coloured ring one inch below the
> connection point until you feel it lock.
> 
> The kit is now ready for use. The Cin-Eliminator is activated by the
> small switch on the lip.  When securing, twist the ring back to its
> initial condition, so that the two orange lines meet.  Disconnect.
> Place the dalkron unsubscriber in the vacuum receptacle to the rear.
> Activate by pressing the blue button.
> 
> The controls for System B are located on the opposite side. The red
> release switch places the Cin-Eliminator into position; it can be
> adjusted manually up or down by pressing the blue manual release
> button. The opening is self-adjusting. To secure after use, press the
> green button, which simultaneously activates the evaporator and
> returns the Cin-Eliminator to its storage position.
> 
> You may log off if the green exit light is on over the evaporator.  If
> the red light is illuminated, one of the Cin-Eliminator requirements
> has not been properly implemented. Press the "List Guy" call button on
> the right of the evaporator. He will secure all facilities from his
> control panel.
> 
> To use the Auto-Unsub, first undress and place all your clothes in the
> clothes rack. Put on the velcro slippers located in the cabinet
> immediately below. Enter the shower, taking the entire kit with
> you. On the control panel to your upper right upon entering you will
> see a "Shower seal" button. Press to activate. A green light will then
> be illuminated immediately below. On the intensity knob, select the
> desired setting. Now depress the Auto-Unsub activation lever. Bathe
> normally.
> 
> The Auto-Unsub will automatically go off after three minutes unless
> you activate the "Manual off" override switch by flipping it up. When
> you are ready to leave, press the blue "Shower seal" release
> button. The door will open and you may leave. Please remove the velcro
> slippers and place them in their container.
> 
> If you prefer the ultrasonic log-off mode, press the indicated blue
> button. When the twin panels open, pull forward by rings A & B. The
> knob to the left, just below the blue light, has three settings, low,
> medium or high. For normal use, the medium setting is suggested.
> 
> After these settings have been made, you can activate the device by
> switching to the "ON" position the clearly marked red switch. If
> during the unsubscribing operation you wish to change the settings,
> place the "manual off" override switch in the "OFF" position. You may
> now make the change and repeat the cycle. When the green exit light
> goes on, you may log off and have lunch. Please close the door behind
> you.
> 


I laughed so hard...

-- 
 /\   /\
   <\   />
  ^  
'v-v' caveat utilitor 



Re: [gentoo-user] non-Twinview dual screen setup?

2011-04-05 Thread Indi
On Wed, Apr 06, 2011 at 01:40:02AM +0200, Jacob Todd wrote:
>I've uswd xinerama and dwm on my thinkpad w510 and 42" tv without
>problems. I have no idea if kde supports xinerama stilL

My thinkpad is often connected to an external monitor to create 
a single 2800x1050 space. Not using xinerama, just fluxbox and 
xrandr. "xrandr --output VGA-0 --left-of LVDS" seems to do it 
here.

-- 
 /\   /\
   <\   />
  ^  
'v-v' caveat utilitor 



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Dale

Neil Bothwick wrote:

On Tue, 05 Apr 2011 17:16:58 -0500, Dale wrote:

   

Even $PKGDIR? That's not a good idea unless you have identical
hardware and USE flags.
   
   

I didn't save those back then.  I very rarely use the -K option
anyway. I build them now but I only used it once in the past couple
years.  It's like having backups, you hope you never need them but
knowing you have it sure does make one feel better.  ;-)
 

Knowing I have them but they've been overwritten by packages for
different hardware wouldn't make me feel that much better :(

   


I'm not being clear enough again.  Back then, I didn't save the binaries 
so that wouldn't be a problem.  I'm not even sure portage kept them back 
then to be honest.  They may have but that was a looong time ago.  Now, 
I save them but I use rsync for the tree and http-rep* for the 
distfiles.  So, each rig has its own set of binaries and that solves 
that problem.


Make sense?  I hope my new meds get settled in soon.  lol

Dale

:-)  :-)



Re: [gentoo-user] non-Twinview dual screen setup?

2011-04-05 Thread Neil Bothwick
On Tue, 5 Apr 2011 15:25:16 -0700, Mark Knecht wrote:

>I hooked up second monitor to my Nvidia GTX465 card yesterday and
> wanted to get dual screen running. Unfortunately, except for using
> Twinview which works fine, I've been unable to do it without Twinview.
> Twinview itself isn't bad, but I don't like how ever KDE decision I
> have to take (logout, settings, etc.) always starts spanned across my
> two monitors. That doesn't happen on my dual screen Intel system.

You can change that in the Display & Monitors section of KDE's System
Settings.


-- 
Neil Bothwick

What Aussies lack in Humour they make up for in Beer!


signature.asc
Description: PGP signature


Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Neil Bothwick
On Tue, 5 Apr 2011 19:36:08 -0300, Gregory Fontenele wrote:

> want to leave this list but I can not

Here's how to unsubscribe:

First, ask your Internet Provider to mail you an Unsubscribing Kit.
Then follow these directions.

The kit will most likely be the standard no-fault type. Depending on
requirements, System A and/or System B can be used. When operating
System A, depress lever and a plastic dalkron unsubscriber will be
dispensed through the slot immediately underneath. When you have
fastened the adhesive lip, attach connection marked by the large "X"
outlet hose. Twist the silver-coloured ring one inch below the
connection point until you feel it lock.

The kit is now ready for use. The Cin-Eliminator is activated by the
small switch on the lip.  When securing, twist the ring back to its
initial condition, so that the two orange lines meet.  Disconnect.
Place the dalkron unsubscriber in the vacuum receptacle to the rear.
Activate by pressing the blue button.

The controls for System B are located on the opposite side. The red
release switch places the Cin-Eliminator into position; it can be
adjusted manually up or down by pressing the blue manual release
button. The opening is self-adjusting. To secure after use, press the
green button, which simultaneously activates the evaporator and
returns the Cin-Eliminator to its storage position.

You may log off if the green exit light is on over the evaporator.  If
the red light is illuminated, one of the Cin-Eliminator requirements
has not been properly implemented. Press the "List Guy" call button on
the right of the evaporator. He will secure all facilities from his
control panel.

To use the Auto-Unsub, first undress and place all your clothes in the
clothes rack. Put on the velcro slippers located in the cabinet
immediately below. Enter the shower, taking the entire kit with
you. On the control panel to your upper right upon entering you will
see a "Shower seal" button. Press to activate. A green light will then
be illuminated immediately below. On the intensity knob, select the
desired setting. Now depress the Auto-Unsub activation lever. Bathe
normally.

The Auto-Unsub will automatically go off after three minutes unless
you activate the "Manual off" override switch by flipping it up. When
you are ready to leave, press the blue "Shower seal" release
button. The door will open and you may leave. Please remove the velcro
slippers and place them in their container.

If you prefer the ultrasonic log-off mode, press the indicated blue
button. When the twin panels open, pull forward by rings A & B. The
knob to the left, just below the blue light, has three settings, low,
medium or high. For normal use, the medium setting is suggested.

After these settings have been made, you can activate the device by
switching to the "ON" position the clearly marked red switch. If
during the unsubscribing operation you wish to change the settings,
place the "manual off" override switch in the "OFF" position. You may
now make the change and repeat the cycle. When the green exit light
goes on, you may log off and have lunch. Please close the door behind
you.



signature.asc
Description: PGP signature


Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Neil Bothwick
On Tue, 05 Apr 2011 17:16:58 -0500, Dale wrote:

> > Even $PKGDIR? That's not a good idea unless you have identical
> > hardware and USE flags.

> I didn't save those back then.  I very rarely use the -K option
> anyway. I build them now but I only used it once in the past couple
> years.  It's like having backups, you hope you never need them but
> knowing you have it sure does make one feel better.  ;-)

Knowing I have them but they've been overwritten by packages for
different hardware wouldn't make me feel that much better :(


-- 
Neil Bothwick

Honk if you love peace and quiet.


signature.asc
Description: PGP signature


Re: [gentoo-user] non-Twinview dual screen setup?

2011-04-05 Thread Jacob Todd
I've uswd xinerama and dwm on my thinkpad w510 and 42" tv without problems.
I have no idea if kde supports xinerama still.


Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread meino . cramer
Grant Edwards  [11-04-06 01:02]:
> On 2011-04-05, meino.cra...@gmx.de  wrote:
> 
> > I am using a recent gentoo (updated on a nearly daily basis).
> > For me the CAPSLOCK-function is totally useless and I want
> > to deactivate it as soon as possible to ACCIDENTLY SWITCH
> > ANYthing uppeRCASE. ;)
> 
> Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
> key:
> 
> Section "InputClass"
> Identifier "keyboard-all"
> Driver "evdev"
> Option "XkbOptions"  
> "ctrl:nocaps,compose:ralt,terminate:ctrl_alt_bksp"
> MatchIsKeyboard "on"
> EndSection
> 
> It also turns the right-hand ALT key into a compose key and enables
> ctrl-alt-backspace as the termination sequence for the X server.
> 
> -- 
> Grant Edwards   grant.b.edwardsYow! WHOA!!  Ken and Barbie
>   at   are having TOO MUCH FUN!!
>   gmail.comIt must be the NEGATIVE
>IONS!!
> 
> 

Thank you for all the nice ideas  --  for some reason I like the
xorg.conf method best :)

Is it possible to map the CAPSLOCK to simply nothing?

Best regards
mcc





Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread KH
Am 06.04.2011 01:09, schrieb Dale:
> Gregory Fontenele wrote:
>> how it came out of that list?
>>
>>
>> -- 
>> Atenciosamente,
>> Gregory Fontenele
> 
> Are you on a loop or something?  Same post to several threads now. 
> What's up?
> 
> Dale
> 
> :-)  :-)

well, it is differnt this time. I allready missed the emails with only
"unsubscribe" in it ;-)

-- 
 _
ASCII ribbon campaign   ( )
against HTML e-mail  X
/ \

ascii ribbon campaign - stop html mail - www.asciiribbon.org



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Dale

Gregory Fontenele wrote:

how it came out of that list?


--
Atenciosamente,
Gregory Fontenele


Are you on a loop or something?  Same post to several threads now.  
What's up?


Dale

:-)  :-)


Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Paul Hartman
On Tue, Apr 5, 2011 at 5:36 PM, Gregory Fontenele
 wrote:
> want to leave this list but I can not, can someone erase me from this list?

http://www.gentoo.org/main/en/lists.xml

Send email to gentoo-user+unsubscr...@lists.gentoo.org from the
address which you subscribed. (I'm assuming you are subscribed through
gentoo.org and not an alternative service). This process is explained
in the sign-up message you got, and listed in the headers of every
e-mail.



Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup

2011-04-05 Thread Albert Hopkins
On Tue, 2011-04-05 at 18:06 +0300, Kfir Lavi wrote:
> Hi,
> After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running
> qemu.
> You can spot the loop with strace.
> This problem shows on Redhat
> https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5
> and they say that it is related to the seabios.
> 
> Does anyone have this problem too?
> I'm compiling qemu-kvm with hardend flag.

I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March.  I
have not had that problem, but I do not use the hardened flag.




Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Gregory Fontenele
want to leave this list but I can not, can someone erase me from this list?

On Tue, Apr 5, 2011 at 19:15, Stefan G. Weichinger  wrote:

> Am 05.04.2011 23:41, schrieb Gregory Fontenele:
> > how it came out of that list?
>
> I don't understand ...
>
> ?
>
>


-- 
Atenciosamente,
Gregory Fontenele


Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Gregory Fontenele
how it came out of that list?

On Tue, Apr 5, 2011 at 19:16, Dale  wrote:

> Neil Bothwick wrote:
>
>> On Tue, 05 Apr 2011 13:26:22 -0500, Dale wrote:
>>
>>
>>
>>> You may do if you put $PORTDIR on NFS, but I am only sharing $DISTDIR.


>>>
>>
>>> I cheated and just shared /usrportage, distfiles and all.  I wasn't to
>>> clear on what I was doing in my reply up there.
>>>
>>>
>> Even $PKGDIR? That's not a good idea unless you have identical hardware
>> and USE flags.
>>
>>
>>
>
> I didn't save those back then.  I very rarely use the -K option anyway.  I
> build them now but I only used it once in the past couple years.  It's like
> having backups, you hope you never need them but knowing you have it sure
> does make one feel better.  ;-)
>
> Dale
>
> :-)  :-)
>
>


-- 
Atenciosamente,
Gregory Fontenele


Re: [gentoo-user] xorg crashes

2011-04-05 Thread Gregory Fontenele
how it came out of that list?

On Tue, Apr 5, 2011 at 18:41, Gregory Fontenele
wrote:

> how it came out of that list?




-- 
Atenciosamente,
Gregory Fontenele


Re: [gentoo-user] xorg crashes

2011-04-05 Thread Jeremy McSpadden
INPUT_DEVICES="keyboard mouse evdev"


On Apr 5, 2011, at 4:36 PM, Mike Bean wrote:

> Well, re-running emerge on the driver set had at least two effects. 1) The 
> segfault address moved, and 2) the backtrace moved, 3) the error changed.
> 
> My xlog: http://pastebin.com/zs5zvEBE
> 
> My usefile: http://pastebin.com/vtvZsumP
> 
> My xorg.conf: http://pastebin.com/qwyE5nsX
> 
> Kinda wish I could stay and comb it, but if I don't get into traffic before 
> rush hour, it'll tack a good 30-45 min onto my commute length.  Will have to 
> go through it when I get home!
> 
> On Tue, Apr 5, 2011 at 2:19 PM, Jeremy McSpadden  
> wrote:
> Can you paste our make.conf file ? and the output of " eselect profile list " 
> ?
> 
> On Apr 5, 2011, at 3:15 PM, Mike Bean wrote:
> 
>> That, is an interesting question, because I HAVE been changing USE flags. 
>> When the kernel was built it had a distinctly different use flag set.   Now 
>> it's USE="mmx sse sse2 ssh X -gnome -kde -qt4 dbus jpeg lock session 
>> startup-notification thunar udev -cdr -dvd alsa gtk"
>> 
>> I might be giving myself away as a gentoo noob here, but I haven't 
>> technically built anything.When you say, "rebuild" are you referring to 
>> basically the same process as emerge?   That's how I got my drivers and 
>> xorg, but when I think of building something I always think of 
>> configure/make/make install, and I want to be sure I'm not doing the wrong 
>> thing because of a misunderstanding
>> 
>> On Tue, Apr 5, 2011 at 1:20 PM, Volker Armin Hemmann 
>>  wrote:
>> On Tuesday 05 April 2011 09:58:39 Mike Bean wrote:
>> > Not sure what's going on, hopefully it's a configuration mistake of some
>> > kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is at
>> > http://pastebin.com/9jsJE8mw
>> > Not really sure how to debug it, all advice is appreciated
>> 
>> well, it is not a driver issue. Your server segfaults. Have you set strange
>> flags? have you rebuild xorg-server and all the stuff it depends on with sane
>> flags?
>> 
>> 
> 
> 





[gentoo-user] non-Twinview dual screen setup?

2011-04-05 Thread Mark Knecht
Hi,
   I hooked up second monitor to my Nvidia GTX465 card yesterday and
wanted to get dual screen running. Unfortunately, except for using
Twinview which works fine, I've been unable to do it without Twinview.
Twinview itself isn't bad, but I don't like how ever KDE decision I
have to take (logout, settings, etc.) always starts spanned across my
two monitors. That doesn't happen on my dual screen Intel system.

   Anyway, I'm attaching both the Twinview and non-Twinview xorg.conf
files. Maybe someone can see possible changes to make the non-Twinview
actually work? Currently it produces video on only the first monitor
to the left. The monitor on the right stays dark. Again, both monitors
work fine when using Twinview with a 3840x1080 desktop.

Thanks,
Mark


Non-Twinview config which only works on one monitor.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 270.18
(buildmeis...@swio-display-x86-rhel47-08.nvidia.com)  Tue Jan 18
22:06:15 PST 2011

Section "ServerLayout"
Identifier "Layout0"
Screen  0  "Screen0" 0 0
Screen  1  "Screen1" 1920 0
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid#
nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 270.18
(buildmeis...@swio-display-x86-rhel47-08.nvidia.com)  Tue Jan 18
22:06:15 PST 2011


Identifier "Monitor1"
VendorName "Unknown"
ModelName  "Samsung SyncMaster"
HorizSync   30.0 - 75.0
VertRefresh 56.0 - 61.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Samsung SyncMaster"
HorizSync   30.0 - 75.0
VertRefresh 56.0 - 61.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "GeForce GTX 465"
BusID  "PCI:2:0:0"
Screen  1
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "GeForce GTX 465"
BusID  "PCI:2:0:0"
Screen  0
EndSection


Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor"Monitor1"
DefaultDepth24
Option "TwinView" "0"
Option "metamodes" "DFP-2: 1920x1080 +0+0"
SubSection "Display"
Depth   24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor"Monitor0"
DefaultDepth24
Option "TwinView" "0"
Option "metamodes" "DFP-0: 1920x1080 +0+0"
SubSection "Display"
Depth   24
EndSubSection
EndSection




Working Twinview setup:


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 270.18
(buildmeis...@swio-display-x86-rhel47-08.nvidia.com)  Tue Jan 18
22:06:28 PST 2011

Section "ServerLayout"
Identifier "Layout0"
Screen  0  "Screen0"
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Unknown"
HorizSync   28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "TwinView"
Option "MetaModes"  "1920x1080,1920x1080; 1920x1080"
Option "TwinViewOrientation""RightOf"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor"Monitor0"
DefaultDepth24
SubSection "Display"
Depth   24
EndSubSection
EndS

Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Dale

Neil Bothwick wrote:

On Tue, 05 Apr 2011 13:26:22 -0500, Dale wrote:

   

You may do if you put $PORTDIR on NFS, but I am only sharing $DISTDIR.
   
   

I cheated and just shared /usrportage, distfiles and all.  I wasn't to
clear on what I was doing in my reply up there.
 

Even $PKGDIR? That's not a good idea unless you have identical hardware
and USE flags.

   


I didn't save those back then.  I very rarely use the -K option anyway.  
I build them now but I only used it once in the past couple years.  It's 
like having backups, you hope you never need them but knowing you have 
it sure does make one feel better.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Stefan G. Weichinger
Am 05.04.2011 23:41, schrieb Gregory Fontenele:
> how it came out of that list?

I don't understand ...

?



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Gregory Fontenele
how it came out of that list?

On Tue, Apr 5, 2011 at 18:38, Neil Bothwick  wrote:

> On Tue, 05 Apr 2011 13:26:22 -0500, Dale wrote:
>
> > > You may do if you put $PORTDIR on NFS, but I am only sharing $DISTDIR.
>
> > I cheated and just shared /usrportage, distfiles and all.  I wasn't to
> > clear on what I was doing in my reply up there.
>
> Even $PKGDIR? That's not a good idea unless you have identical hardware
> and USE flags.
>
>
> --
> Neil Bothwick
>
> When told the reason for Daylight Saving time the old Indian said...
> "Only a white man would believe that you could cut a foot off the top of a
> blanket And sew it to the bottom of a blanket and have a longer blanket."
>



-- 
Atenciosamente,
Gregory Fontenele


Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Gregory Fontenele
how it came out of that list?

On Tue, Apr 5, 2011 at 18:37, Stefan G. Weichinger  wrote:

> Am 05.04.2011 23:05, schrieb Jeremy McSpadden:
> > Check to see if you have CONFIG_SYSFS_DEPRECATED_V2 enabled in kernel.
> > zgrep CONFIG_SYSFS_DEPRECATED_V2 /proc/config.gz
>
> Yep, did that today when I was there.
> Thanks, Stefan
>
>


-- 
Atenciosamente,
Gregory Fontenele


Re: [gentoo-user] xorg crashes

2011-04-05 Thread Gregory Fontenele
how it came out of that list?

On Tue, Apr 5, 2011 at 18:36, Mike Bean  wrote:

> Well, re-running emerge on the driver set had at least two effects. 1) The
> segfault address moved, and 2) the backtrace moved, 3) the error changed.
>
> My xlog: http://pastebin.com/zs5zvEBE
>
> My usefile: http://pastebin.com/vtvZsumP
>
> My xorg.conf: http://pastebin.com/qwyE5nsX
>
> Kinda wish I could stay and comb it, but if I don't get into traffic before
> rush hour, it'll tack a good 30-45 min onto my commute length.  Will have to
> go through it when I get home!
> 
> On Tue, Apr 5, 2011 at 2:19 PM, Jeremy McSpadden 
> wrote:
>
>> Can you paste our make.conf file ? and the output of " eselect profile
>> list " ?
>>
>> On Apr 5, 2011, at 3:15 PM, Mike Bean wrote:
>>
>> That, is an interesting question, because I HAVE been changing USE flags.
>> When the kernel was built it had a distinctly different use flag set.   Now
>> it's USE="mmx sse sse2 ssh X -gnome -kde -qt4 dbus jpeg lock session
>> startup-notification thunar udev -cdr -dvd alsa gtk"
>>
>> I might be giving myself away as a gentoo noob here, but I haven't
>> technically built anything.When you say, "rebuild" are you referring to
>> basically the same process as emerge?   That's how I got my drivers and
>> xorg, but when I think of building something I always think of
>> configure/make/make install, and I want to be sure I'm not doing the wrong
>> thing because of a misunderstanding
>>
>> On Tue, Apr 5, 2011 at 1:20 PM, Volker Armin Hemmann <
>> volkerar...@googlemail.com> wrote:
>>
>>> On Tuesday 05 April 2011 09:58:39 Mike Bean wrote:
>>> > Not sure what's going on, hopefully it's a configuration mistake of
>>> some
>>> > kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is
>>> at
>>> > http://pastebin.com/9jsJE8mw
>>> > Not really sure how to debug it, all advice is appreciated
>>>
>>> well, it is not a driver issue. Your server segfaults. Have you set
>>> strange
>>> flags? have you rebuild xorg-server and all the stuff it depends on with
>>> sane
>>> flags?
>>>
>>>
>>
>>
>


-- 
Atenciosamente,
Gregory Fontenele


Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Neil Bothwick
On Tue, 05 Apr 2011 13:26:22 -0500, Dale wrote:

> > You may do if you put $PORTDIR on NFS, but I am only sharing $DISTDIR.

> I cheated and just shared /usrportage, distfiles and all.  I wasn't to 
> clear on what I was doing in my reply up there.

Even $PKGDIR? That's not a good idea unless you have identical hardware
and USE flags.


-- 
Neil Bothwick

When told the reason for Daylight Saving time the old Indian said...
"Only a white man would believe that you could cut a foot off the top of a
blanket And sew it to the bottom of a blanket and have a longer blanket."


signature.asc
Description: PGP signature


Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Stefan G. Weichinger
Am 05.04.2011 23:05, schrieb Jeremy McSpadden:
> Check to see if you have CONFIG_SYSFS_DEPRECATED_V2 enabled in kernel.
> zgrep CONFIG_SYSFS_DEPRECATED_V2 /proc/config.gz

Yep, did that today when I was there.
Thanks, Stefan



Re: [gentoo-user] xorg crashes

2011-04-05 Thread Mike Bean
Well, re-running emerge on the driver set had at least two effects. 1) The
segfault address moved, and 2) the backtrace moved, 3) the error changed.

My xlog: http://pastebin.com/zs5zvEBE

My usefile: http://pastebin.com/vtvZsumP

My xorg.conf: http://pastebin.com/qwyE5nsX

Kinda wish I could stay and comb it, but if I don't get into traffic before
rush hour, it'll tack a good 30-45 min onto my commute length.  Will have to
go through it when I get home!

On Tue, Apr 5, 2011 at 2:19 PM, Jeremy McSpadden wrote:

> Can you paste our make.conf file ? and the output of " eselect profile list
> " ?
>
> On Apr 5, 2011, at 3:15 PM, Mike Bean wrote:
>
> That, is an interesting question, because I HAVE been changing USE flags.
> When the kernel was built it had a distinctly different use flag set.   Now
> it's USE="mmx sse sse2 ssh X -gnome -kde -qt4 dbus jpeg lock session
> startup-notification thunar udev -cdr -dvd alsa gtk"
>
> I might be giving myself away as a gentoo noob here, but I haven't
> technically built anything.When you say, "rebuild" are you referring to
> basically the same process as emerge?   That's how I got my drivers and
> xorg, but when I think of building something I always think of
> configure/make/make install, and I want to be sure I'm not doing the wrong
> thing because of a misunderstanding
>
> On Tue, Apr 5, 2011 at 1:20 PM, Volker Armin Hemmann <
> volkerar...@googlemail.com> wrote:
>
>> On Tuesday 05 April 2011 09:58:39 Mike Bean wrote:
>> > Not sure what's going on, hopefully it's a configuration mistake of some
>> > kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is
>> at
>> > http://pastebin.com/9jsJE8mw
>> > Not really sure how to debug it, all advice is appreciated
>>
>> well, it is not a driver issue. Your server segfaults. Have you set
>> strange
>> flags? have you rebuild xorg-server and all the stuff it depends on with
>> sane
>> flags?
>>
>>
>
>


Re: [gentoo-user] Problem on the bash: no word jumping

2011-04-05 Thread 4k3nd0
On 04/05/2011 10:56 PM, Paul Hartman wrote:
> On Tue, Apr 5, 2011 at 3:42 PM, 4k3nd0 <4k3...@googlemail.com> wrote:
>> Hi guys,
>>
>> got problem on my bash. I can't jump anymore between a word with
>> strg-Left or strg-right. Don't have any idea what i could be.
>>
>> Using Bash 4.2.8, try new and a old one.
>>
>> Maybe some here got any idea?
> 
> Check your /etc/inputrc and ~/.inputrc to be sure they are not
> corrupted or anything. Be sure readline is not broken.
> 
Thanks, i now work again. There was some missspelling in.

Greeting 4k3nd0



Re: [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Kfir Lavi
On Tue, Apr 5, 2011 at 9:46 PM,  wrote:

>
> Hi,
>
> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)
>
> Is there any way to acchieve this -- it would greatly improve
> my typing...
>
> Thank you very much for any help in advance!
> Best regards
> mcc
>
>
> I'm using CAPS to switch from English to Hebrew. I don't use xorg.conf to
do it.
I use  this commands in the startup script of fluxbox:
setxkbmap -option &
setxkbmap -option grp:switch,grp:caps_toggle,grp_led:scroll us,il &

So you can use setxkbmap to check configuration and then apply it to
xorg.conf.

Regards,
Kfir


Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Bill Longman
On 04/05/2011 01:27 PM, Paul Hartman wrote:
> I bought a $5 keyboard that was not bad, but the layout had "sleep",
> "wake", "power" keys between the Del/End/PgDn row and the arrow keys.
> In Linux, of course, the keys didn't actually do anything, but
> physically they still annoyed me because there should not be keys
> there! So I remove them with a screwdriver. :)
> 
> I can't imagine using it if those keys actually shutdown the machine.
> Such a horrible placement.

I have this brain-dead HP keyboard that has this:

++  +-+
|Ins |  |Pause|
++  +-+

++  +-+
|Home|  | End |
++  +-+
++  +-+
||  |PgUp |
||  +-+
|Del |  +-+
||  |PgDn |
++  +-+

above the direction keys. It's such a PITA...keep away.



Re: [gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Jeremy McSpadden
Check to see if you have CONFIG_SYSFS_DEPRECATED_V2 enabled in kernel.
zgrep CONFIG_SYSFS_DEPRECATED_V2 /proc/config.gz


On Apr 5, 2011, at 3:52 PM, Stefan G. Weichinger wrote:

> 
> edit: didn't get through at first try?
> 
> -
> 
> *WARNING*   old stuff mentioned, pls don't say "get up to date"
> 
> ;-)
> 
> >
> 
> greets,
> 
> another special question today:
> 
> I had an issue w/ a customer server yesterday.
> 
> It still runs kernel 2.6.27-gentoo-r8 due to the fact that they still
> run vmware-server-1.0.8.126538 and the related modules.
> 
> Back then I figured out that newer vmware-modules wouldn't compile w/
> newer kernels ... and so on.
> 
> In fact they don't want to spend money on upgrading (vmware-server etc)
> because there will be a new and shiny server later this year.
> 
> -
> 
> But the guy asked me if we could swap harddrives to add space, and
> increase the LVM volume group etc.
> 
> I said yes .. and upgraded stuff like udev and lvm2 a few weeks ago,
> just in case and to have the latest releases. It hit us yesterday when
> he swapped a fan and at reboot udev didn't create proper sdX and mdX
> devices anymore ...
> 
> So I had to downgrade udev and lvm2 again to fit that ancient kernel. I
> used genlop to check which versions were installed at the time the last
> successful boot had happened.
> 
> Right now I have:
> 
> sys-fs/udev-124-r2
> 
> sys-fs/lvm2-2.02-56-r2
> 
> yep, old.
> 
> The question: how to find out (without much trial and error) which
> releases of udev and lvm2 are the best/newest to use with that kernel?
> 
> I don't want too much old bugs in the box on one hand while on the other
> hand I have to mask pkgs to keep it running.
> 
> Maybe one of you has a hint for me.
> 
> Thanks in advance, best regards, Stefan
> 
> 
> 






Re: [gentoo-user] Problem on the bash: no word jumping

2011-04-05 Thread Paul Hartman
On Tue, Apr 5, 2011 at 3:42 PM, 4k3nd0 <4k3...@googlemail.com> wrote:
> Hi guys,
>
> got problem on my bash. I can't jump anymore between a word with
> strg-Left or strg-right. Don't have any idea what i could be.
>
> Using Bash 4.2.8, try new and a old one.
>
> Maybe some here got any idea?

Check your /etc/inputrc and ~/.inputrc to be sure they are not
corrupted or anything. Be sure readline is not broken.



[gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Stefan G. Weichinger

edit: didn't get through at first try?

-

*WARNING*   old stuff mentioned, pls don't say "get up to date"

;-)

>

greets,

another special question today:

I had an issue w/ a customer server yesterday.

It still runs kernel 2.6.27-gentoo-r8 due to the fact that they still
run vmware-server-1.0.8.126538 and the related modules.

Back then I figured out that newer vmware-modules wouldn't compile w/
newer kernels ... and so on.

In fact they don't want to spend money on upgrading (vmware-server etc)
because there will be a new and shiny server later this year.

-

But the guy asked me if we could swap harddrives to add space, and
increase the LVM volume group etc.

I said yes .. and upgraded stuff like udev and lvm2 a few weeks ago,
just in case and to have the latest releases. It hit us yesterday when
he swapped a fan and at reboot udev didn't create proper sdX and mdX
devices anymore ...

So I had to downgrade udev and lvm2 again to fit that ancient kernel. I
used genlop to check which versions were installed at the time the last
successful boot had happened.

Right now I have:

sys-fs/udev-124-r2

sys-fs/lvm2-2.02-56-r2

yep, old.

The question: how to find out (without much trial and error) which
releases of udev and lvm2 are the best/newest to use with that kernel?

I don't want too much old bugs in the box on one hand while on the other
hand I have to mask pkgs to keep it running.

Maybe one of you has a hint for me.

Thanks in advance, best regards, Stefan



[gentoo-user] Problem on the bash: no word jumping

2011-04-05 Thread 4k3nd0
Hi guys,

got problem on my bash. I can't jump anymore between a word with
strg-Left or strg-right. Don't have any idea what i could be.

Using Bash 4.2.8, try new and a old one.

Maybe some here got any idea?

Greeting 4k3nd0



Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Paul Hartman
On Tue, Apr 5, 2011 at 3:08 PM, Bill Longman  wrote:
> On 04/05/2011 12:55 PM, Grant Edwards wrote:
>> On 2011-04-05, meino.cra...@gmx.de  wrote:
>> Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
>> key:
>
> Here's what I use:
>
> screwdriver

I bought a $5 keyboard that was not bad, but the layout had "sleep",
"wake", "power" keys between the Del/End/PgDn row and the arrow keys.
In Linux, of course, the keys didn't actually do anything, but
physically they still annoyed me because there should not be keys
there! So I remove them with a screwdriver. :)

I can't imagine using it if those keys actually shutdown the machine.
Such a horrible placement.



[gentoo-user] Re: ttf corefonts in Worker file manager

2011-04-05 Thread Alexey Mishustin
6 апреля 2011 г., 0:21:07, Alexey Mishustin пишет:

> Hi list,

> Could someone please tell me, is it possible to set ttf corefonts in Worker
> file manager? When I enter, e.g., *-verdana-* on its font configuration
> page, it complains that can't locate font.

> My fc-list shows all ttf corefonts, xlsfonts doesn't show any. Is there a
> way to get rid of this (by configuring Xresources may be)?

Sorry, the problem was in paths in my xorg.conf. I thought this section isn't 
being used by modern Xorg anymore. It works perfect now, with 
/usr/share/fonts/corefonts...

--
Alex





[gentoo-user] ttf corefonts in Worker file manager

2011-04-05 Thread Alexey Mishustin
Hi list,

Could someone please tell me, is it possible to set ttf corefonts in Worker 
file manager? When I enter, e.g., *-verdana-* on its font configuration page, 
it complains that can't locate font.

My fc-list shows all ttf corefonts, xlsfonts doesn't show any. Is there a way 
to get rid of this (by configuring Xresources may be)?

--
Regards,
Alex




Re: [gentoo-user] xorg crashes

2011-04-05 Thread Jeremy McSpadden
Can you paste our make.conf file ? and the output of " eselect profile list " ?

On Apr 5, 2011, at 3:15 PM, Mike Bean wrote:

> That, is an interesting question, because I HAVE been changing USE flags. 
> When the kernel was built it had a distinctly different use flag set.   Now 
> it's USE="mmx sse sse2 ssh X -gnome -kde -qt4 dbus jpeg lock session 
> startup-notification thunar udev -cdr -dvd alsa gtk"
> 
> I might be giving myself away as a gentoo noob here, but I haven't 
> technically built anything.When you say, "rebuild" are you referring to 
> basically the same process as emerge?   That's how I got my drivers and xorg, 
> but when I think of building something I always think of configure/make/make 
> install, and I want to be sure I'm not doing the wrong thing because of a 
> misunderstanding
> 
> On Tue, Apr 5, 2011 at 1:20 PM, Volker Armin Hemmann 
>  wrote:
> On Tuesday 05 April 2011 09:58:39 Mike Bean wrote:
> > Not sure what's going on, hopefully it's a configuration mistake of some
> > kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is at
> > http://pastebin.com/9jsJE8mw
> > Not really sure how to debug it, all advice is appreciated
> 
> well, it is not a driver issue. Your server segfaults. Have you set strange
> flags? have you rebuild xorg-server and all the stuff it depends on with sane
> flags?
> 
> 





Re: [gentoo-user] xorg crashes

2011-04-05 Thread Mike Bean
That, is an interesting question, because I HAVE been changing USE flags.
When the kernel was built it had a distinctly different use flag set.   Now
it's USE="mmx sse sse2 ssh X -gnome -kde -qt4 dbus jpeg lock session
startup-notification thunar udev -cdr -dvd alsa gtk"

I might be giving myself away as a gentoo noob here, but I haven't
technically built anything.When you say, "rebuild" are you referring to
basically the same process as emerge?   That's how I got my drivers and
xorg, but when I think of building something I always think of
configure/make/make install, and I want to be sure I'm not doing the wrong
thing because of a misunderstanding

On Tue, Apr 5, 2011 at 1:20 PM, Volker Armin Hemmann <
volkerar...@googlemail.com> wrote:

> On Tuesday 05 April 2011 09:58:39 Mike Bean wrote:
> > Not sure what's going on, hopefully it's a configuration mistake of some
> > kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is at
> > http://pastebin.com/9jsJE8mw
> > Not really sure how to debug it, all advice is appreciated
>
> well, it is not a driver issue. Your server segfaults. Have you set strange
> flags? have you rebuild xorg-server and all the stuff it depends on with
> sane
> flags?
>
>


Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Bill Longman
On 04/05/2011 12:55 PM, Grant Edwards wrote:
> On 2011-04-05, meino.cra...@gmx.de  wrote:
> Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
> key:

Here's what I use:

screwdriver

:-/




[gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Grant Edwards
On 2011-04-05, meino.cra...@gmx.de  wrote:

> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)

Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
key:

Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
Option "XkbOptions"  "ctrl:nocaps,compose:ralt,terminate:ctrl_alt_bksp"
MatchIsKeyboard "on"
EndSection

It also turns the right-hand ALT key into a compose key and enables
ctrl-alt-backspace as the termination sequence for the X server.

-- 
Grant Edwards   grant.b.edwardsYow! WHOA!!  Ken and Barbie
  at   are having TOO MUCH FUN!!
  gmail.comIt must be the NEGATIVE
   IONS!!




Re: [gentoo-user] putting mysql databases from one system to another

2011-04-05 Thread covici

Josh  wrote:

> On Tue, Apr 5, 2011 at 11:59 AM,  wrote:
> 
> > I am trying to copy my databases from one system to another and since
> > one is 32-bit and the other is 64-bit, I was told that I could not copy
> > the binary  databases   directly, but I had to  do mysqldump and then
> > put that source file into the new system.  What I am getting is that the
> > passwords seem not to have gotten through -- the user names seem to be
> > there, but I cannot login with the passwords the user had in the old
> > system.
> >
> > Can anyone tell me why this is so and what I can do to fix?
> >
> > Thanks in advance for any ideas.
> >
> > --
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> >
> > John Covici
> > cov...@ccs.covici.com
> >
> > Which two MySQL versions are in use here?
>  Older versions of mysql used a different format for the passwords and
> there is a flag you need to pass to mysqld to get it to use old passwords (I
> believe)
> 
> What is the connection string you are using? Specifically are you connecting
> via the mysql socket, using a hostname etc?
>  Say the old server was called "foo.stuff.net" and the connection was
> made via the external interface e.g. "mysql -h foo.stuff.net", the user may
> have been setup to allow connections from "foo.stuff.net" only, as where now
> you may be connectin from "bar.stuff.net" or "localhost".
> 
> SELECT user,host FROM mysql.user ORDER BY user;
> 
> May shed some light on the situation for you.
It should be localhost in all cases.  The mysql versions are  5.1.53 in
both cases.  I am trying to login with the mysql client and I can do it
on the old box, but not the new one --same host name, etc.

Now I can login with the root password on the new box, maybe that is
stored somewher else.


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

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



Re: [gentoo-user] xorg crashes

2011-04-05 Thread Volker Armin Hemmann
On Tuesday 05 April 2011 09:58:39 Mike Bean wrote:
> Not sure what's going on, hopefully it's a configuration mistake of some
> kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is at
> http://pastebin.com/9jsJE8mw
> Not really sure how to debug it, all advice is appreciated

well, it is not a driver issue. Your server segfaults. Have you set strange 
flags? have you rebuild xorg-server and all the stuff it depends on with sane 
flags?



Re: [gentoo-user] putting mysql databases from one system to another

2011-04-05 Thread Josh
On Tue, Apr 5, 2011 at 11:59 AM,  wrote:

> I am trying to copy my databases from one system to another and since
> one is 32-bit and the other is 64-bit, I was told that I could not copy
> the binary  databases   directly, but I had to  do mysqldump and then
> put that source file into the new system.  What I am getting is that the
> passwords seem not to have gotten through -- the user names seem to be
> there, but I cannot login with the passwords the user had in the old
> system.
>
> Can anyone tell me why this is so and what I can do to fix?
>
> Thanks in advance for any ideas.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
> John Covici
> cov...@ccs.covici.com
>
> Which two MySQL versions are in use here?
 Older versions of mysql used a different format for the passwords and
there is a flag you need to pass to mysqld to get it to use old passwords (I
believe)

What is the connection string you are using? Specifically are you connecting
via the mysql socket, using a hostname etc?
 Say the old server was called "foo.stuff.net" and the connection was
made via the external interface e.g. "mysql -h foo.stuff.net", the user may
have been setup to allow connections from "foo.stuff.net" only, as where now
you may be connectin from "bar.stuff.net" or "localhost".

SELECT user,host FROM mysql.user ORDER BY user;

May shed some light on the situation for you.


-- 
()  The ASCII Ribbon Campaign - against HTML Email,
/\  vCards, and proprietary formats.


[gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Hartmut Figge
meino.cra...@gmx.de:

> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)

For some time i a had replaced Caps_Lock with the compose key until i
missed it in Gothic 2. ;)

Section "InputDevice"
[...]
# Option"XkbOptions"  "compose:caps"
EndSection

> Is there any way to acchieve this -- it would greatly improve
> my typing...

Should be possible after some investigation. Perhaps somebody knows
already. :)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread Volker Armin Hemmann
On Tuesday 05 April 2011 20:46:40 meino.cra...@gmx.de wrote:
> Hi,
> 
> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)
> 
> Is there any way to acchieve this -- it would greatly improve
> my typing...
> 
> Thank you very much for any help in advance!
> Best regards
> mcc

you can euther edit the keyboard description you are using or you can use 
xmodmap and map whatever you want unto caps lock-.



[gentoo-user] putting mysql databases from one system to another

2011-04-05 Thread covici
I am trying to copy my databases from one system to another and since
one is 32-bit and the other is 64-bit, I was told that I could not copy
the binary  databases   directly, but I had to  do mysqldump and then
put that source file into the new system.  What I am getting is that the
passwords seem not to have gotten through -- the user names seem to be
there, but I cannot login with the passwords the user had in the old
system.

Can anyone tell me why this is so and what I can do to fix?

Thanks in advance for any ideas.

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

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



Re: [gentoo-user] xorg crashes

2011-04-05 Thread Mike Bean
I thought it might be a driver issue - not sure what's going on.   Trying to
find a known good virtualbox .conf file so I can compare.

Section "InputDevice"
Indentifier "Mouse0"
Driver "evdev"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"

Mike Bean

On Tue, Apr 5, 2011 at 12:28 PM, Mick  wrote:

> On Tuesday 05 April 2011 16:58:39 Mike Bean wrote:
> > Not sure what's going on, hopefully it's a configuration mistake of some
> > kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is at
> > http://pastebin.com/9jsJE8mw
> > Not really sure how to debug it, all advice is appreciated
>
> With the 2.6.36-gentoo-r8 kernel I would suggest that you configure KMS as
> explained here:
>
> http://www.gentoo.org/doc/en/xorg-config.xml
>
> it is likely that you would not need x11-drivers/xf86-input-keyboard or
> mouse
> drivers and that evdev will serve both devices.  In that case the crash
> that
> seems to happen after the mouse is being set up may go away.
> --
> Regards,
> Mick
>


[gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X?

2011-04-05 Thread meino . cramer

Hi,

I am using a recent gentoo (updated on a nearly daily basis).
For me the CAPSLOCK-function is totally useless and I want
to deactivate it as soon as possible to ACCIDENTLY SWITCH
ANYthing uppeRCASE. ;)

Is there any way to acchieve this -- it would greatly improve
my typing...

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




Re: [gentoo-user] Re: Another chkrootkit false positive?

2011-04-05 Thread Joost Roeleveld
On Tuesday 05 April 2011 15:59:18 James wrote:
> Mick  gmail.com> writes:
> > The warnings were generated last time the cron job run chkrootkit.  I
> > think that the box was rather busy in the middle of emerging stuff at
> > the time, so I wonder if that had something to do with it.
> 
> If your hypothesis is correct, it presents an interesting opportunity.
> How to dynamically priortize (renice) processes that sporadically
> run at the same time.
> 
> :-(
> 
> A while back, (few months?) there was a discussion about how to
> limit processor by settings in make.conf to restrict the load.
> There were several approaches listed in the thread.
> Maybe there's a scriptable (cron-able) solution on limiting
> the load on the machine? I think you even contributed to
> the thread?

I think you are referring to the following:
MAKEOPTS="-j --load-average=5"  

 
EMERGE_DEFAULT_OPTS="-va -j --load-average=5"   

  

These limit the load-average to 5. As long as the load is below this number, 
additional make/compile/emerge processes can be spawned.

--
Joost



Re: [gentoo-user] Re: x11-terms/enterminus-9999 won't compile

2011-04-05 Thread Mick
On Tuesday 05 April 2011 15:30:12 walt wrote:
> On 04/03/2011 03:04 PM, Mick wrote:
> > On Sunday 03 April 2011 19:21:05 walt wrote:
> >> Anyway, looks like you're compiling with -j>  1, so I'd suggest trying
> >> again with -j1 just for fun.
> > 
> > Thanks Walt, just tried it, but it fails in the same way.  All I now see
> > is this:
> > 
> > term.c:144: error: conflicting types for ‘term_tcanvas_data’
> > term.h:156: note: previous declaration of ‘term_tcanvas_data’ was here
> 
> Ah, that's the real error message.  The obvious thought is that the
> compiler is picking up the wrong term.h from somewhere.
> 
> I have term.h from the ncurses package, but it doesn't define
> term_canvas_data so it can't be the file that's causing your problem.
> 
> If term.h is actually part of the enterminus sources, then the code is
> broken and needs to be fixed.  If the - package downloads the sources
> from a repository, it may already be fixed and you could just try updating
> it again.

Thanks Walt, will wait for a while and then rinse and repeat.
-- 
Regards,
Mick


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


Re: [gentoo-user] xorg crashes

2011-04-05 Thread Mick
On Tuesday 05 April 2011 16:58:39 Mike Bean wrote:
> Not sure what's going on, hopefully it's a configuration mistake of some
> kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is at
> http://pastebin.com/9jsJE8mw
> Not really sure how to debug it, all advice is appreciated

With the 2.6.36-gentoo-r8 kernel I would suggest that you configure KMS as 
explained here:

http://www.gentoo.org/doc/en/xorg-config.xml

it is likely that you would not need x11-drivers/xf86-input-keyboard or mouse 
drivers and that evdev will serve both devices.  In that case the crash that 
seems to happen after the mouse is being set up may go away.
-- 
Regards,
Mick


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


Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Dale

Neil Bothwick wrote:

On Tue, 05 Apr 2011 09:48:50 -0500, Dale wrote:

   

Alternatively, use an NFS mount as $DISTDIR and you don't end up with
copies of the tarballs on every machine on the network.
   
   

I did that once and I don't recall having any problems.  I had 4 rigs
plus a really slow dial-up connection.  When I found out about
http-replicator and rsync, I started using it.  I couldn't tell any
difference tho.

If you do use NFS, I think you have to run emerge --metadata on the
secondary machines.  That may have changed since it has been a while.
 

You may do if you put $PORTDIR on NFS, but I am only sharing $DISTDIR.


   



I cheated and just shared /usrportage, distfiles and all.  I wasn't to 
clear on what I was doing in my reply up there.


Dale

:-)  :-)



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Neil Bothwick
On Tue, 05 Apr 2011 09:48:50 -0500, Dale wrote:

> > Alternatively, use an NFS mount as $DISTDIR and you don't end up with
> > copies of the tarballs on every machine on the network.

> I did that once and I don't recall having any problems.  I had 4 rigs 
> plus a really slow dial-up connection.  When I found out about 
> http-replicator and rsync, I started using it.  I couldn't tell any 
> difference tho.
> 
> If you do use NFS, I think you have to run emerge --metadata on the 
> secondary machines.  That may have changed since it has been a while.

You may do if you put $PORTDIR on NFS, but I am only sharing $DISTDIR.


-- 
Neil Bothwick

Dream as if you'll live forever. Live as if you'll die today.


signature.asc
Description: PGP signature


[gentoo-user] Re: revdep-rebuild Not Fixing Broken Links

2011-04-05 Thread James
  optonline.net> writes:

> 
> On my amd64 laptop I have broken links that never clear up.  

I have never tried this tool, but it may help you
find you with diagnosing your broken links:

app-misc/symlinks


hth,
James





Re: [gentoo-user] revdep-rebuild Not Fixing Broken Links

2011-04-05 Thread Paul Hartman
On Tue, Apr 5, 2011 at 9:23 AM,   wrote:
> On my amd64 laptop I have broken links that never clear up.

The emul-linux-x86-gtklibs is a binary package (32bit compatibility),
so re-emerging it won't make any difference. The package maintainer
will need to build a new version which links to the newer versions of
libraries. Until then I think you should just ignore it.

If you want to mask it entirely edit
/etc/revdep-rebuild/99revdep-rebuild and add its path to the search
dirs mask and it should stop bothering to check it.



[gentoo-user] how to match kernel and udev/lvm2 ?

2011-04-05 Thread Stefan G. Weichinger

*WARNING*   old stuff mentioned, pls don't say "get up to date"

;-)

>

greets,

another special question today:

I had an issue w/ a customer server yesterday.

It still runs kernel 2.6.27-gentoo-r8 due to the fact that they still
run vmware-server-1.0.8.126538 and the related modules.

Back then I figured out that newer vmware-modules wouldn't compile w/
newer kernels ... and so on.

In fact they don't want to spend money on upgrading (vmware-server etc)
because there will be a new and shiny server later this year.

-

But the guy asked me if we could swap harddrives to add space, and
increase the LVM volume group etc.

I said yes .. and upgraded stuff like udev and lvm2 a few weeks ago,
just in case and to have the latest releases. It hit us yesterday when
he swapped a fan and at reboot udev didn't create proper sdX and mdX
devices anymore ...

So I had to downgrade udev and lvm2 again to fit that ancient kernel. I
used genlop to check which versions were installed at the time the last
successful boot had happened.

Right now I have:

sys-fs/udev-124-r2

sys-fs/lvm2-2.02-56-r2

yep, old.

The question: how to find out (without much trial and error) which
releases of udev and lvm2 are the best/newest to use with that kernel?

I don't want too much old bugs in the box on one hand while on the other
hand I have to mask pkgs to keep it running.

Maybe one of you has a hint for me.

Thanks in advance, best regards, Stefan



[gentoo-user] Re: Another chkrootkit false positive?

2011-04-05 Thread James
Mick  gmail.com> writes:


> The warnings were generated last time the cron job run chkrootkit.  I
> think that the box was rather busy in the middle of emerging stuff at
> the time, so I wonder if that had something to do with it.

If your hypothesis is correct, it presents an interesting opportunity.
How to dynamically priortize (renice) processes that sporadically
run at the same time. 

:-(

A while back, (few months?) there was a discussion about how to
limit processor by settings in make.conf to restrict the load.
There were several approaches listed in the thread.
Maybe there's a scriptable (cron-able) solution on limiting
the load on the machine? I think you even contributed to
the thread?


Just a thought but I am most curious as to your solution,
should you 'embrace' the challenge

;-)

hth,
James





[gentoo-user] xorg crashes

2011-04-05 Thread Mike Bean
Not sure what's going on, hopefully it's a configuration mistake of some
kind.   Sometimes it crashes, sometimes it's intermittent.  My xlog is at
http://pastebin.com/9jsJE8mw
Not really sure how to debug it, all advice is appreciated


[gentoo-user] Re: revdep-rebuild Not Fixing Broken Links

2011-04-05 Thread James
  optonline.net> writes:

> 
> On my amd64 laptop I have broken links that never clear up.  


eix -Iu --only-names  

[gentoo-user] qemu-kvm black screen and infinite loop on startup

2011-04-05 Thread Kfir Lavi
Hi,
After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running
qemu.
You can spot the loop with strace.
This problem shows on Redhat
https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5
and they say that it is related to the seabios.

Does anyone have this problem too?
I'm compiling qemu-kvm with hardend flag.

Regards,
Kfir


Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Dale

Neil Bothwick wrote:

On Tue, 05 Apr 2011 21:38:06 +1000, Jake Moe wrote:

   

for the distfiles http-replicator is great. Example:
Box one has the tarball. Box 2, 3 and 4 can download it as well. Box
one does not have the tarball. Box 2 may search for it, box one will
download it and give it to box 2. Then box 3 and 4 can download it
from box one as well.
   
   

Well, I suppose I'll have to look into that then, won't I?  Thanks for
the info.
 

Alternatively, use an NFS mount as $DISTDIR and you don't end up with
copies of the tarballs on every machine on the network.

   


I did that once and I don't recall having any problems.  I had 4 rigs 
plus a really slow dial-up connection.  When I found out about 
http-replicator and rsync, I started using it.  I couldn't tell any 
difference tho.


If you do use NFS, I think you have to run emerge --metadata on the 
secondary machines.  That may have changed since it has been a while.


Dale

:-)  :-)



Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5

2011-04-05 Thread Mike Edenfield
On 4/5/2011 3:03 AM, Pandu Poluan wrote:
> On Mon, Apr 4, 2011 at 19:34, Mike Edenfield  wrote:
>> On 4/4/2011 8:07 AM, Pandu Poluan wrote:
>>
>>> MAKEOPTS="-j3"
>>
>>> {standard input}: Assembler messages:
>>> {standard input}:146362: Error: open CFI at the end of file; missing
>>> .cfi_endproc directive
>>> xgcc: Internal error: Killed (program cc1)
>>
>> This kind of error is often caused by the parallel make not quite working.
>> Try running the build like:
>>
>> MAKEOPTS="-j1" emerge =sys-devel/gcc-4.4.5
>>
>> In general, whenever you get strange build errors (i.e. that have no
>> immediately obvious cause) you should try again with MAKEOPTS="-j1". Often
>> it will fix the problem, but even when it doesn't you will usually get a
>> much more useful error.
> 
> Thanks for the tip. Now it's 'partially successful':
> 
>  * QA Notice: Package has poor programming practices which may compile
>  *fine but exhibit random runtime failures.

These aren't anything to worry about.

 Installing (1 of 1) sys-devel/gcc-4.4.5
>  * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.4' in
> '/etc/env.d/gcc/' !
>  * Running 'fix_libtool_files.sh 4.4.4'
>  * Scanning libtool files for hardcoded gcc library paths...
> cat: ld.so.conf.d/*.conf: No such file or directory
> gcc-config: error: could not run/locate 'gcc'
> :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
>  * Switching native-compiler to x86_64-pc-linux-gnu-4.4.5 ...
> 
>  * Your gcc has a bug with GCC_SPECS.
>  * Please re-emerge gcc.
>  * http://bugs.gentoo.org/68395

All of this is caused by your previous gcc profile being invalid, that
is, pointing to a non-existent gcc version (one that had already been
uninstalled). You *don't* have to re-emerge gcc as it says -- the bug is
not in your GCC_SPECS but in gcc-config.

You should first run gcc-config again to make sure your newly installed
compiler it set as the default, then run `fix_libtool_files.sh 4.4.4` as
the ebuild was trying to do.

--Mike



[gentoo-user] Re: x11-terms/enterminus-9999 won't compile

2011-04-05 Thread walt

On 04/03/2011 03:04 PM, Mick wrote:

On Sunday 03 April 2011 19:21:05 walt wrote:



Anyway, looks like you're compiling with -j>  1, so I'd suggest trying
again with -j1 just for fun.


Thanks Walt, just tried it, but it fails in the same way.  All I now see is
this:



term.c:144: error: conflicting types for ‘term_tcanvas_data’
term.h:156: note: previous declaration of ‘term_tcanvas_data’ was here


Ah, that's the real error message.  The obvious thought is that the compiler
is picking up the wrong term.h from somewhere.

I have term.h from the ncurses package, but it doesn't define term_canvas_data
so it can't be the file that's causing your problem.

If term.h is actually part of the enterminus sources, then the code is broken
and needs to be fixed.  If the - package downloads the sources from a
repository, it may already be fixed and you could just try updating it again.




[gentoo-user] revdep-rebuild Not Fixing Broken Links

2011-04-05 Thread dhkuhl
On my amd64 laptop I have broken links that never clear up.  The laptop is new 
and the install is only about two months old.  Everything works all right, but 
revdep-rebuild lists the following broken links, and after a few weeks of 
sync'ing they haven't gone away.  If I remember correctly, the problem began 
after the removal of a package that was causing blocking after an update.  I 
think the package was polkit/policykit but not sure.  Even after an emerge with 
the -E option the problem persists.The output of revdep-rebuild is below.  
Thanks.dhcp04-vlan2 ~ # revdep-rebuild --ignore * Configuring search 
environment for revdep-rebuild * Checking reverse dependencies * Packages 
containing binaries and libraries broken by a package update * will be 
emerged. * Collecting system binaries and libraries * Generated new 
1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * 
Checking dynamic linking consistency[ 39% ]  *   broken 
/usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so (requires 
libEGL.so.1libGL.so.1) *   broken /usr/lib32/gtk-2.0/2.10.0/engines/libxfce.so 
(requires libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so (requires 
libEGL.so.1libGL.so.1)[ 40% ]  *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so (requires 
libEGL.so.1libGL.so.1) *   broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so 
(requires libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so (requires 
libEGL.so.1libGL.so.1) *   broken /usr/lib32/gtk-2.0/modules/libferret.so 
(requires libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/gtk-2.0/modules/libgail.so (requires libEGL.so.1libGL.so.1)[ 43% ]  
*   broken /usr/lib32/libcairo-gobject.so.2.11000.2 (requires 
libEGL.so.1libGL.so.1) *   broken 
/usr/lib32/libcairo-script-interpreter.so.2.11000.2 (requires 
libEGL.so.1libGL.so.1) *   broken /usr/lib32/libcairo.so.2.11000.2 (requires 
libEGL.so.1libGL.so.1) *   broken /usr/lib32/libgailutil.so.18.0.1 (requires 
libEGL.so.1libGL.so.1) *   broken /usr/lib32/libgdk-x11-2.0.so.0.2200.1 
(requires libEGL.so.1libGL.so.1)[ 45% ]  *   broken 
/usr/lib32/libgtk-x11-2.0.so.0.2200.1 (requires libEGL.so.1libGL.so.1)[ 46% ]  
*   broken /usr/lib32/libnotify.so.1.1.3 (requires libEGL.so.1libGL.so.1) *   
broken /usr/lib32/libpangocairo-1.0.so.0.2800.3 (requires 
libEGL.so.1libGL.so.1)[ 100% ]  * Generated new 3_broken.rr * 
Assigning files to packages *   /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so 
-> app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/engines/libxfce.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so -> 
app-emulation/emul-linux-x86-gtklibs *   
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so -> 

Re: [gentoo-user] Another chkrootkit false positive?

2011-04-05 Thread Paul Hartman
On Tue, Apr 5, 2011 at 5:38 AM, Mick  wrote:
> The warnings were generated last time the cron job run chkrootkit.  I
> think that the box was rather busy in the middle of emerging stuff at
> the time, so I wonder if that had something to do with it.

I was actually thinking about exactly that situation. I use emerge -j
and make -j9 and can have dozens (hundreds?) or processes starting and
stopping all the time. If there's even a slight delay between when ps
runs and when chkproc checks /proc for itself I can see how there
might be a couple discrepancies. The fact that they don't show later I
think is a good sign that there's nothing permanently hidden by a
modified ps binary.



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Neil Bothwick
On Tue, 05 Apr 2011 21:38:06 +1000, Jake Moe wrote:

> > for the distfiles http-replicator is great. Example:
> > Box one has the tarball. Box 2, 3 and 4 can download it as well. Box
> > one does not have the tarball. Box 2 may search for it, box one will
> > download it and give it to box 2. Then box 3 and 4 can download it
> > from box one as well.

> Well, I suppose I'll have to look into that then, won't I?  Thanks for
> the info.

Alternatively, use an NFS mount as $DISTDIR and you don't end up with
copies of the tarballs on every machine on the network.


-- 
Neil Bothwick

Life is pleasant. Death is peaceful. Its the transition thats
troublesome. - Isaac Asimov


signature.asc
Description: PGP signature


[SOLVED] Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5

2011-04-05 Thread Pandu Poluan
On Tue, Apr 5, 2011 at 14:03, Pandu Poluan  wrote:
> On Mon, Apr 4, 2011 at 19:34, Mike Edenfield  wrote:
>> On 4/4/2011 8:07 AM, Pandu Poluan wrote:
>>
>>> MAKEOPTS="-j3"
>>
>>> {standard input}: Assembler messages:
>>> {standard input}:146362: Error: open CFI at the end of file; missing
>>> .cfi_endproc directive
>>> xgcc: Internal error: Killed (program cc1)
>>
>> This kind of error is often caused by the parallel make not quite working.
>> Try running the build like:
>>
>> MAKEOPTS="-j1" emerge =sys-devel/gcc-4.4.5
>>
>> In general, whenever you get strange build errors (i.e. that have no
>> immediately obvious cause) you should try again with MAKEOPTS="-j1". Often
>> it will fix the problem, but even when it doesn't you will usually get a
>> much more useful error.
>
> Thanks for the tip. Now it's 'partially successful':
>

[-- snip --]

>
>  * Your gcc has a bug with GCC_SPECS.
>  * Please re-emerge gcc.
>  * http://bugs.gentoo.org/68395
>

[-- snip --]

>
> As instructed, I'll now re-emerge gcc.
>
> Rgds,
> --
> Pandu E Poluan
> ~ IT Optimizer ~
> Visit my Blog: http://pepoluan.posterous.com
>

Re-emerge finished, and now no more errors, only some warnings:
+ The same "unwind-dw2-fde.c" warning as before
+ If I have issues with 'libstdc++.la', I should run
'fix_libtool_files.sh' on the old gcc versions

I'm crossing my fingers... let's hope the system is not hosed :-)

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Jake Moe
On 04/05/11 19:53, KH wrote:
> Am 05.04.2011 11:46, schrieb Jake Moe:
>> On 04/05/11 18:14, KH wrote:
>>> Am 04.04.2011 21:30, schrieb Peter Humphrey:
 On Monday 04 April 2011 19:12:03 William Kenworthy wrote:

> I dont think http-replicator can manage a directory structure - are you
> trying to do something fancier than just serving out tarballs?
 Yes; I want it to mirror my portage tree and serve it to other boxes on 
 the LAN. 
 It used to do this well enough; I just want to get the permissions right.
>>> Hi,
>>>
>>> why not using the handbook-way?
>>> http://www.gentoo.org/doc/en/rsync.xml#doc_chap2
>>> I am doing it that way.
>>>
>>> Regards KH
>> +1
>>
>> I've got four boxes in my home network, and I have one pull down the
>> updates, the other three sync with that one.
>>
>> I've also set up proftpd to allow anonymous read-only access to my
>> /usr/portage/distfiles folder, so the other three can try to pull their
>> packages from locally first as well, and if that box hasn't downloaded
>> it yet, only then will they try to retrieve it from the Internet.  See
>> http://www.gentoo-wiki.info/HOWTO_Setup_local_Portage_and_Package_Mirror
>> for info.
>>
>> Jake Moe
> Hi Jake Moe,
>
> for the distfiles http-replicator is great. Example:
> Box one has the tarball. Box 2, 3 and 4 can download it as well. Box one
> does not have the tarball. Box 2 may search for it, box one will
> download it and give it to box 2. Then box 3 and 4 can download it from
> box one as well.
>
> Regards KH
Well, I suppose I'll have to look into that then, won't I?  Thanks for
the info.

Jake Moe



Re: [gentoo-user] Another chkrootkit false positive?

2011-04-05 Thread Mick
On 4 April 2011 22:59, Paul Hartman  wrote:

> If you're suspicious of your "ps" binary I would do "which ps" to be
> sure ps is the one you really expect. Maybe re-emerge procps to
> replace it, too.
>
>>  The tty of the following user process(es) were not found
>>  in /var/run/utmp !
>> ! RUID          PID TTY    CMD
>
> I do get this message (with my X process listed below it)
>
>> however, rkhunter shows:
>>
>> Heroin LKM                                          [ Not found ]
>>
>> Is this different to LKM Trojan mentioned above?
>
> I think LKM is just shorthand for "Loadable Kernel Module", not the
> name of any particular trojan.

Thanks Paul, I ran chkrootkit again manually this morning and none of
the previous warnings showed up.

The warnings were generated last time the cron job run chkrootkit.  I
think that the box was rather busy in the middle of emerging stuff at
the time, so I wonder if that had something to do with it.

I remerged procps just as a precaution.
-- 
Regards,
Mick



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread KH
Am 05.04.2011 11:46, schrieb Jake Moe:
> On 04/05/11 18:14, KH wrote:
>> Am 04.04.2011 21:30, schrieb Peter Humphrey:
>>> On Monday 04 April 2011 19:12:03 William Kenworthy wrote:
>>>
 I dont think http-replicator can manage a directory structure - are you
 trying to do something fancier than just serving out tarballs?
>>> Yes; I want it to mirror my portage tree and serve it to other boxes on the 
>>> LAN. 
>>> It used to do this well enough; I just want to get the permissions right.
>> Hi,
>>
>> why not using the handbook-way?
>> http://www.gentoo.org/doc/en/rsync.xml#doc_chap2
>> I am doing it that way.
>>
>> Regards KH
> +1
> 
> I've got four boxes in my home network, and I have one pull down the
> updates, the other three sync with that one.
> 
> I've also set up proftpd to allow anonymous read-only access to my
> /usr/portage/distfiles folder, so the other three can try to pull their
> packages from locally first as well, and if that box hasn't downloaded
> it yet, only then will they try to retrieve it from the Internet.  See
> http://www.gentoo-wiki.info/HOWTO_Setup_local_Portage_and_Package_Mirror
> for info.
> 
> Jake Moe

Hi Jake Moe,

for the distfiles http-replicator is great. Example:
Box one has the tarball. Box 2, 3 and 4 can download it as well. Box one
does not have the tarball. Box 2 may search for it, box one will
download it and give it to box 2. Then box 3 and 4 can download it from
box one as well.

Regards KH
-- 
 _
ASCII ribbon campaign   ( )
against HTML e-mail  X
/ \

ascii ribbon campaign - stop html mail - www.asciiribbon.org



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Jake Moe
On 04/05/11 18:14, KH wrote:
> Am 04.04.2011 21:30, schrieb Peter Humphrey:
>> On Monday 04 April 2011 19:12:03 William Kenworthy wrote:
>>
>>> I dont think http-replicator can manage a directory structure - are you
>>> trying to do something fancier than just serving out tarballs?
>> Yes; I want it to mirror my portage tree and serve it to other boxes on the 
>> LAN. 
>> It used to do this well enough; I just want to get the permissions right.
> Hi,
>
> why not using the handbook-way?
> http://www.gentoo.org/doc/en/rsync.xml#doc_chap2
> I am doing it that way.
>
> Regards KH
+1

I've got four boxes in my home network, and I have one pull down the
updates, the other three sync with that one.

I've also set up proftpd to allow anonymous read-only access to my
/usr/portage/distfiles folder, so the other three can try to pull their
packages from locally first as well, and if that box hasn't downloaded
it yet, only then will they try to retrieve it from the Internet.  See
http://www.gentoo-wiki.info/HOWTO_Setup_local_Portage_and_Package_Mirror
for info.

Jake Moe



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread KH
Am 04.04.2011 21:30, schrieb Peter Humphrey:
> On Monday 04 April 2011 19:12:03 William Kenworthy wrote:
> 
>> I dont think http-replicator can manage a directory structure - are you
>> trying to do something fancier than just serving out tarballs?
> 
> Yes; I want it to mirror my portage tree and serve it to other boxes on the 
> LAN. 
> It used to do this well enough; I just want to get the permissions right.

Hi,

why not using the handbook-way?
http://www.gentoo.org/doc/en/rsync.xml#doc_chap2
I am doing it that way.

Regards KH
-- 
 _
ASCII ribbon campaign   ( )
against HTML e-mail  X
/ \

ascii ribbon campaign - stop html mail - www.asciiribbon.org



Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5

2011-04-05 Thread Pandu Poluan
On Mon, Apr 4, 2011 at 19:34, Mike Edenfield  wrote:
> On 4/4/2011 8:07 AM, Pandu Poluan wrote:
>
>> MAKEOPTS="-j3"
>
>> {standard input}: Assembler messages:
>> {standard input}:146362: Error: open CFI at the end of file; missing
>> .cfi_endproc directive
>> xgcc: Internal error: Killed (program cc1)
>
> This kind of error is often caused by the parallel make not quite working.
> Try running the build like:
>
> MAKEOPTS="-j1" emerge =sys-devel/gcc-4.4.5
>
> In general, whenever you get strange build errors (i.e. that have no
> immediately obvious cause) you should try again with MAKEOPTS="-j1". Often
> it will fix the problem, but even when it doesn't you will usually get a
> much more useful error.

Thanks for the tip. Now it's 'partially successful':

 * QA Notice: Package has poor programming practices which may compile
 *fine but exhibit random runtime failures.
 * 
/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321:
warning: dereferencing type-punned pointer will break strict-aliasing
rules

[-- snipped: a whole lotta warning for unwind-dw2-fde.c --]

 * 
/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843:
warning: dereferencing type-punned pointer will break strict-aliasing
rules

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://gcc.gnu.org/

>>> Installing (1 of 1) sys-devel/gcc-4.4.5
 * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.4' in
'/etc/env.d/gcc/' !
 * Running 'fix_libtool_files.sh 4.4.4'
 * Scanning libtool files for hardcoded gcc library paths...
cat: ld.so.conf.d/*.conf: No such file or directory
gcc-config: error: could not run/locate 'gcc'
:0: assertion failed: (gcc -dumpversion) | getline NEWVER)
 * Switching native-compiler to x86_64-pc-linux-gnu-4.4.5 ...

 * Your gcc has a bug with GCC_SPECS.
 * Please re-emerge gcc.
 * http://bugs.gentoo.org/68395

>>> Regenerating /etc/ld.so.cache...
>>>[ ok 
>>> ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile


 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

 * You might want to review the GCC upgrade guide when moving between
 * major versions (like 4.2 to 4.3):
 * http://www.gentoo.org/doc/en/gcc-upgrading.xml


 * Messages for package sys-devel/gcc-4.4.5:

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.
 * You might want to review the GCC upgrade guide when moving between
 * major versions (like 4.2 to 4.3):
 * http://www.gentoo.org/doc/en/gcc-upgrading.xml
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.

As instructed, I'll now re-emerge gcc.

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com