[gentoo-user] Xorg confusion and no glxinfo

2009-07-06 Thread Mick
Hi All,

I cleared out some xorg related packages at some point because my machine will 
not shutdown without a kernel oops when it is trying to unload the radeon 
driver.  It now seems I can no longer find glxgears/info.  What have I 
removed that I shouldn't have?

I remember unmerging xorg-x11 (there was advice in this list that this is not 
needed when using Fluxbox or other lightweight window managers).

When I moved to x11-base/xorg-server-1.5.3-r* I also unmerged 
x11-drivers/xf86-video-ati.  I recall concluding at the time that the new 
xorg-server did not need such an external driver - is that right?

I have set radeon as the video card in my /etc/make.conf, but Xorg.0.log shows 
ati_drv.so - should it be so?

# less /var/log/Xorg.0.log | grep driver
X.Org XInput driver : 2.1
(==) Matched ati for the autoconfigured driver
New driver is ati
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) AIGLX: enabled GLX_texture_from_pixmap with driver support

# lsmod | grep radeon
radeon145696  2 
drm   141892  3 radeon

Your views?
-- 
Regards,
Mick


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


[gentoo-user] Re: Xorg confusion and no glxinfo

2009-07-06 Thread Mick
On Monday 06 July 2009, Mick wrote:
 Hi All,

 I cleared out some xorg related packages at some point because my machine
 will not shutdown without a kernel oops when it is trying to unload the
 radeon driver.  It now seems I can no longer find glxgears/info.  What have
 I removed that I shouldn't have?

 I remember unmerging xorg-x11 (there was advice in this list that this is
 not needed when using Fluxbox or other lightweight window managers).

 When I moved to x11-base/xorg-server-1.5.3-r* I also unmerged
 x11-drivers/xf86-video-ati.  I recall concluding at the time that the new
 xorg-server did not need such an external driver - is that right?

 I have set radeon as the video card in my /etc/make.conf, but Xorg.0.log
 shows ati_drv.so - should it be so?

 # less /var/log/Xorg.0.log | grep driver
 X.Org XInput driver : 2.1
 (==) Matched ati for the autoconfigured driver
 New driver is ati
 (II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
 (II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
 (II) AIGLX: enabled GLX_texture_from_pixmap with driver support

 # lsmod | grep radeon
 radeon145696  2
 drm   141892  3 radeon

 Your views?

I hope it's not bad form to reply to my own message ...

When I unmerged xorg-x11 I depclean removed a number of packages including 
x11-apps/mesa-progs - which contains glxinfo and glxgears.

So, this leaves the question - do I need x11-drivers/xf86-video-ati?
-- 
Regards,
Mick


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


[gentoo-user] Re: Xorg confusion and no glxinfo

2009-07-06 Thread walt

On 07/06/2009 03:29 AM, Mick wrote:

Hi All,

I cleared out some xorg related packages at some point because my machine will
not shutdown without a kernel oops when it is trying to unload the radeon
driver.


Hm. There is no reason to unload any driver or module just to shut down.  Are
you sure that's the reason for the oops?


It now seems I can no longer find glxgears/info.  What have I
removed that I shouldn't have?


glxgears is part of mesa-progs.


I remember unmerging xorg-x11 (there was advice in this list that this is not
needed when using Fluxbox or other lightweight window managers).


That's a meta-package, which just pulls in a bunch of other packages.  Meta-
packages are never needed, they're just for your convenience.


When I moved to x11-base/xorg-server-1.5.3-r* I also unmerged
x11-drivers/xf86-video-ati.  I recall concluding at the time that the new
xorg-server did not need such an external driver - is that right?


No, xorg-server will always need a specific driver for a specific video card,
it's just a matter of figuring out which one your card needs.  OTOH most cards
will work at a very basic level with just the vesa driver -- but that's most
likely not what you want.


I have set radeon as the video card in my /etc/make.conf, but Xorg.0.log shows
ati_drv.so - should it be so?



# less /var/log/Xorg.0.log | grep driver
 X.Org XInput driver : 2.1
(==) Matched ati for the autoconfigured driver
New driver is ati
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) AIGLX: enabled GLX_texture_from_pixmap with driver support

# lsmod | grep radeon
radeon145696  2
drm   141892  3 radeon


I don't know enough about ati products to answer.  The xorg-server is pretty
good at picking the right driver by itself.  If you type X -logverbose at
a command prompt and look at the X logfile you may see that the server has
loaded multiple drivers and then unloads the ones it doesn't need -- strange
behavior but that's the way it's designed, apparently.






Re: [gentoo-user] Re: Xorg confusion and no glxinfo

2009-07-06 Thread Mick
On Monday 06 July 2009, walt wrote:
 On 07/06/2009 03:29 AM, Mick wrote:

  I cleared out some xorg related packages at some point because my machine
  will not shutdown without a kernel oops when it is trying to unload the
  radeon driver.

 Hm. There is no reason to unload any driver or module just to shut down. 
 Are you sure that's the reason for the oops?

Well, no, but when I Ctrl+Alt+F1 to a console and shutdown from there there 
are no oops with the usual messages about vblank_disable_fn+0x79/0xd0 [drm] 
and EIP: [e0cc14fe] radeon_get_vblank_counter+0x7e/0xd0 [radeon].

  When I moved to x11-base/xorg-server-1.5.3-r* I also unmerged
  x11-drivers/xf86-video-ati.  I recall concluding at the time that the new
  xorg-server did not need such an external driver - is that right?

 No, xorg-server will always need a specific driver for a specific video
 card, it's just a matter of figuring out which one your card needs.  OTOH
 most cards will work at a very basic level with just the vesa driver -- but
 that's most likely not what you want.

I recall that when I unmerged xf86-video-ati, glxgears still performed as 
before and therefore I assumed that the new xorg-server had access to all it 
needed to run my video card.  Should I emerge it again?
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: new system, printing suddenly fails for all printers

2009-07-06 Thread Roland Puntaier
Return Receipt
   
   Your   Re: [gentoo-user] Re: new system, printing suddenly fails
   document:  for all printers 
   
   wasroland.punta...@br-automation.com
   received
   by: 
   
   at:06.07.2009 14:41:57  
   




Re: [gentoo-user] ext3 to ext4 safest and elaborate guide

2009-07-06 Thread Stroller


On 5 Jul 2009, at 16:50, Andrew Gaydenko wrote:

There are few ext3 to ext4 migration notes/guides. Can anybody  
advice the most

elaborate safe one?


The *safest* one is to backup your data  reformat the partition, then  
restore your data from the backup.


I wasn't under the impression that any degree of elaborateness was  
necessary, though.


Stroller.




Re: [gentoo-user] Monitoring data usage

2009-07-06 Thread Grant
  I'm using ifconfig to monitor how much data I'm using, but it seems
  pretty high.  Is there a simple way to see why I'm using so much data?

 $ eix ^ntop
 [I] net-analyzer/ntop
   Available versions:  3.3.9-r2 ~3.3.10-r1 {ipv6 ssl tcpd}
   Installed versions:  3.3.9-r2(14:11:46 06/25/09)(ssl tcpd -ipv6)
   Homepage:http://www.ntop.org/ntop.html
   Description: Network traffic analyzer with web interface

 $

 Also iftop and lsof with some clever regex-ing if you want to see what
 program
 drives the connection.

Thank you, iftop is great:

iftop -i ppp0 -P

- Grant



Re: [gentoo-user] Dial-up while travelling?

2009-07-06 Thread Grant
  I have good equipment and good methods for connecting to the internet
  via ethernet, wireless, or cell phone while travelling, and I'm also
  wondering about dial-up.  Does it work well on Gentoo?  Should a
  laptop's internal modem work, or would I be better off buying an
  external one?  Has anyone found dial-up to be a useful method of
  connection while travelling?
 
  - Grant
 
  This is going back a few years, I haven't had any experience recently.
  A lot of modems used to be referred to as Softmodems, those that
  depended hugely on the operating system (very often Windows). Those
  modems were a bitch to get working under linux. We used to have to
  make sure we were buying hardware modems. A lot of internal modems
  were Softmodems and were pretty useless for linux.
 
  As I say, this may be totally out of date now, but it's possible you
  won't get an internal modem working under linux. If this is the case,
  you will have to buy a proper hardware one.
 
  Hope this gives a little bit of info.
 
 
  ~Matt

 This is very true.  Buy a external serial modem, not a USB only one
 either.  External serial is the only ones I can find that are hardware
 based.  My modem has a USB port but I use the serial port.  If it is
 only USB, it could very well be a software modem.  Be cautious on that.

 Mine is a Actiontec brand.  I did have one to fail but it got hit by
 lightening big time.  It even blew up the telephone box outside.  It
 didn't let it get through to my computer tho. Otherwise, I have not had
 any problems.

 If you are unsure, send a link to what you find and maybe we can help
 make sure it will work.

 Many softmodems today have Linux drivers and work straight out of the box.
 My
 laptop has a lucent modem and I have had no problems at all with it.  Often
 use it when out and about, or when I want to run a test from a different IP
 address than my ADSL connection.  The only thing is I have to remember to
 re-emerge it when I compile a new kernel (module-rebuild).
 --
 Regards,
 Mick

You're using the ltmodem package?

You guys haven't heard of a standalone router/modem that will dial up
for the WAN and send out a wireless signal for the LAN have you?  I
have a tiny D-Link device like that which uses ethernet for the WAN.
Very handy for travel.

- Grant



[gentoo-user] Optimizations for low-bandwidth web browsing?

2009-07-06 Thread Grant
I need to optimize web browsing for a slow cell phone data connection.
 I'd like to browse faster and use less data ($).  I've installed
ImgLikeOpera for Firefox which is great at selectively blocking
images, and I'm wondering if there's anything else I can do?

- Grant



Re: [gentoo-user] Optimizations for low-bandwidth web browsing?

2009-07-06 Thread Paul Hartman
On Mon, Jul 6, 2009 at 9:12 AM, Grantemailgr...@gmail.com wrote:
 I need to optimize web browsing for a slow cell phone data connection.
  I'd like to browse faster and use less data ($).  I've installed
 ImgLikeOpera for Firefox which is great at selectively blocking
 images, and I'm wondering if there's anything else I can do?

NoScript and AdblockPlus, for sure... You'll also probably want to
disable all backroung update checks in Firefox so it doesn't secretly
check for and/or download new extensions and themes.

Your ISP (mobile phone carrier in this case) may have a web proxy that
compresses html and images to make them smaller.

Another trick is to use the Google xhtml search to get reformatted
mobile versions of web pages which will be very lightweight:
http://www.google.com/xhtml

Good luck!



Re: [gentoo-user]Optimizations for low-bandwidth web browsing?

2009-07-06 Thread Sebastian Beßler
Grant schrieb:
 I need to optimize web browsing for a slow cell phone data connection.
  I'd like to browse faster and use less data ($).  I've installed
 ImgLikeOpera for Firefox which is great at selectively blocking
 images, and I'm wondering if there's anything else I can do?
 
 - Grant
 
You could safe data with Adblock+ and Flashblock as extensions in
Firefox, as both of them block mostly unneeded stuff. If you need
selected flash-applets activating and loading it is only a mouseclick.

A big browsercache could help to both for faster browsing and less data.
But this only if you work much with the same sites.







signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user]Optimizations for low-bandwidth web browsing?

2009-07-06 Thread Brahim LARCHET
adblock plus element hiding helper could help too if you work much with
the same sites.
https://addons.mozilla.org/fr/firefox/addon/4364


2009/7/6 Sebastian Beßler webmas...@darkmetatron.de

 Grant schrieb:
  I need to optimize web browsing for a slow cell phone data connection.
   I'd like to browse faster and use less data ($).  I've installed
  ImgLikeOpera for Firefox which is great at selectively blocking
  images, and I'm wondering if there's anything else I can do?
 
  - Grant
 
 You could safe data with Adblock+ and Flashblock as extensions in
 Firefox, as both of them block mostly unneeded stuff. If you need
 selected flash-applets activating and loading it is only a mouseclick.

 A big browsercache could help to both for faster browsing and less data.
 But this only if you work much with the same sites.








Re: [gentoo-user]Optimizations for low-bandwidth web browsing?

2009-07-06 Thread Dale
Sebastian Beßler wrote:
 Grant schrieb:
   
 I need to optimize web browsing for a slow cell phone data connection.
  I'd like to browse faster and use less data ($).  I've installed
 ImgLikeOpera for Firefox which is great at selectively blocking
 images, and I'm wondering if there's anything else I can do?

 - Grant

 
 You could safe data with Adblock+ and Flashblock as extensions in
 Firefox, as both of them block mostly unneeded stuff. If you need
 selected flash-applets activating and loading it is only a mouseclick.

 A big browsercache could help to both for faster browsing and less data.
 But this only if you work much with the same sites.





   

I have noticed that Seamonkey, not sure about Firefox, clears cache each
time you restart the program.  I'm not sure when this started and I have
found no way to tell it not to either.

Adblock and friends do help a lot tho.  I do agree with that for sure.

Dale

:-)  :-)



Re: [gentoo-user] Optimizations for low-bandwidth web browsing?

2009-07-06 Thread Jens Herrmann
Grant schrieb:
 I need to optimize web browsing for a slow cell phone data connection.
  I'd like to browse faster and use less data ($).  I've installed
 ImgLikeOpera for Firefox which is great at selectively blocking
 images, and I'm wondering if there's anything else I can do?
If bandwidth is really an issue, this might be of interest for you:
http://operawatch.com/news/2009/02/opera-turbo-brings-bandwidth-compression-technology-to-desktop-browsing.html

Jens




Re: [gentoo-user] [OT] rrd to CSV

2009-07-06 Thread Willie Wong
On Sun, Jul 05, 2009 at 11:07:23PM +0100, Penguin Lover Mick squawked:
  from Cacti forums):
  | grep -v NaN | grep 'row' | tr e ' ' \
  | awk {'print Q$2qcq$3qcq$9Q'} \
  | tr Q '' | tr c ',' | tr q ''
 
  Haven't tested it, but looks like it should work.
 
 Hmm, I don't think it gets anywhere:
 ===
 cat test.xml | grep -v NaN | grep 'row' | tr e ' ' | awk 
 {'print Q$2qcq$3qcq$9Q'} | tr Q '' | tr c ',' | tr q ''  test.csv
 
 ===
 
 It just sits there at the  cursor.  I think it needs something more to it, 
 or 

Looks like a syntax error with improperly nested quotations marks. 

The last command in the sequence, which reads 

  tr q ''

try replacing that with 

  tr q ''

(remove the final double quote)

W
-- 
`Eddies,' said Ford, `in the space-time continuum.'
`Ah,' nodded Arthur, `is he? Is he?'

- Arthur failing in his first lesson of galactic physics 
in four years. 
Sortir en Pantoufles: up 941 days, 15:00



Re: [gentoo-user] Optimizations for low-bandwidth web browsing?

2009-07-06 Thread Tapio Raevaara
On Monday 06 July 2009, Grant wrote:
 I need to optimize web browsing for a slow cell phone data connection.
  I'd like to browse faster and use less data ($).  I've installed
 ImgLikeOpera for Firefox which is great at selectively blocking
 images, and I'm wondering if there's anything else I can do?


You should try Opera Turbo (Opera 10 beta). It uses server-side compression to 
do exactly what you're asking: browse faster and use less data ($).

http://labs.opera.com/news/2009/03/13/
http://www.opera.com/browser/next/




[gentoo-user] SSL giving corrupted MAC on input

2009-07-06 Thread Simon
Hi there!
  I'm getting this issue where even very small transfers through ssh
will cause this error message:  Corrupted MAC on input.  I've done my
homework and found out this is not necessarily related to the network
hardware as TCP would retransmit such corrupted packets, moreover the
error message is clearly related to ssh as googling proves this.

  A quick troubleshooting i've done was to setup apache and simply
wget a very large file over plain HTTP.  Transfer worked, i did it a
second time and diff'ed the two downloads, they were the same.  I then
did the same test over HTTPS and got an error
(SSL3_GET_RECORD:decryption failed or bad record mac). This clarified
the problem is much more related to SSL than anything else.

  A quick glance at `emerge -vp openssl` showed an issue:  it had been
compiled with sse2 support while this computer's cpu didnt support
that.  Changed use flags and recompiled, restarted ssh and apache.
They both continued giving the same error.  I finally rebooted the
machine, in case, but same issue still...  The only use flag for
openssl now is zlib.

  What is also pretty strange about the issue, is i haven't touched
the kernel in a long time and i usually do all my gentoo updates on
monday.  The problem must have happened since last monday's updates,
but i dont monitor those very much, all i care is everything went fine
and that revdep-rebuild says i'm good to go.  I've done many emerges
since then so i cant figure out a way to see what has been updated
recently.

  A bit of background:  That PC runs kernel 2.6.24, it's my slowest pc
(used for backups mostly) P3 @ 450Mhz, it's got 128MB of ram.  Some
programes have been unmasked, but none that have any relationship with
openssl are, everything dealing with that is stable.  Doing `find
/usr/portage/distfiles -ctime -10` (should give me the files
downloaded within last 10 days, right?) it shows a few files but glibc
is the only that i can see has relationship with issue...

  Anyone can help troubleshoot some more?



[gentoo-user] Re: SSL giving corrupted MAC on input

2009-07-06 Thread Simon
  A quick troubleshooting i've done was to setup apache and simply
 wget a very large file over plain HTTP.  Transfer worked, i did it a
 second time and diff'ed the two downloads, they were the same.  I then
 did the same test over HTTPS and got an error
 (SSL3_GET_RECORD:decryption failed or bad record mac). This clarified
 the problem is much more related to SSL than anything else.

Forgot to mention, i'm connecting to the machine via ssh and never get
disconnected, ssh terminal works perfectly fine, but anything going
through ssh for large transfers fails (ie rsync, unison, etc).



[gentoo-user] gcc update failed...

2009-07-06 Thread Jarry

Hi,
I just tried to update gcc (actually, it is just recompiling with
new nptl flag), but it failed with this messages:
__
 Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:

  '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

 * Messages for package sys-devel/gcc-4.3.2-r3:

 *
 * ERROR: sys-devel/gcc-4.3.2-r3 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 4870:  Called toolchain_src_compile
 * environment, line 5396:  Called gcc_src_compile
 * environment, line 3094:  Called gcc_do_make
 * environment, line 2884:  Called die
 * The specific snippet of code:
 *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS} 
LIBPATH=${ 
 LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} 
${GCC_MAKE_TARGET} || die emake failed with ${GCC_MAKE_TARGET};

 *  The die message:
 *   emake failed with bootstrap-lean
 *
 * If you need support, post the topmost build error, and the call 
stack if relevant.
 * A complete build log is located at 
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.

__

What does it mean, and how can I fix it???

Jarry

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



Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Volker Armin Hemmann
On Montag 06 Juli 2009, Jarry wrote:
 Hi,
 I just tried to update gcc (actually, it is just recompiling with
 new nptl flag), but it failed with this messages:
 __

   Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:
  
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

   * Messages for package sys-devel/gcc-4.3.2-r3:

   *
   * ERROR: sys-devel/gcc-4.3.2-r3 failed.
   * Call stack:
   *   ebuild.sh, line   49:  Called src_compile
   * environment, line 4870:  Called toolchain_src_compile
   * environment, line 5396:  Called gcc_src_compile
   * environment, line 3094:  Called gcc_do_make
   * environment, line 2884:  Called die
   * The specific snippet of code:
   *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
 LIBPATH=${
   LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS}
 ${GCC_MAKE_TARGET} || die emake failed with ${GCC_MAKE_TARGET};
   *  The die message:
   *   emake failed with bootstrap-lean
   *
   * If you need support, post the topmost build error, and the call
 stack if relevant.
   * A complete build log is located at
 '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
   * The ebuild environment file is located at
 '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 __

 What does it mean, and how can I fix it???

 Jarry

that means that you forgot to copy the important part. You just copied the 
pretty useless vanilla portage error. Not the real error some lines above that 
one.



Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Dale
Volker Armin Hemmann wrote:
 On Montag 06 Juli 2009, Jarry wrote:
   
 Hi,
 I just tried to update gcc (actually, it is just recompiling with
 new nptl flag), but it failed with this messages:
 __

   Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:
  
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

   * Messages for package sys-devel/gcc-4.3.2-r3:

   *
   * ERROR: sys-devel/gcc-4.3.2-r3 failed.
   * Call stack:
   *   ebuild.sh, line   49:  Called src_compile
   * environment, line 4870:  Called toolchain_src_compile
   * environment, line 5396:  Called gcc_src_compile
   * environment, line 3094:  Called gcc_do_make
   * environment, line 2884:  Called die
   * The specific snippet of code:
   *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
 LIBPATH=${
   LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS}
 ${GCC_MAKE_TARGET} || die emake failed with ${GCC_MAKE_TARGET};
   *  The die message:
   *   emake failed with bootstrap-lean
   *
   * If you need support, post the topmost build error, and the call
 stack if relevant.
   * A complete build log is located at
 '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
   * The ebuild environment file is located at
 '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 __

 What does it mean, and how can I fix it???

 Jarry
 

 that means that you forgot to copy the important part. You just copied the 
 pretty useless vanilla portage error. Not the real error some lines above 
 that 
 one.


   

And based on a little searching, you may want to post emerge --info as
well.  There appears to be a version of kernel that doesn't like this
gcc version.  Note the word appears. 

Dale

:-)  :-) 



Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Jarry

Volker Armin Hemmann wrote:

On Montag 06 Juli 2009, Jarry wrote:

I just tried to update gcc (actually, it is just recompiling with
new nptl flag), but it failed with this messages:
__

  Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:
 
   '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

  * Messages for package sys-devel/gcc-4.3.2-r3:
  *
  * ERROR: sys-devel/gcc-4.3.2-r3 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 4870:  Called toolchain_src_compile
  * environment, line 5396:  Called gcc_src_compile
  * environment, line 3094:  Called gcc_do_make
  * environment, line 2884:  Called die
  * The specific snippet of code:
  *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
LIBPATH=${
  LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS}
${GCC_MAKE_TARGET} || die emake failed with ${GCC_MAKE_TARGET};
  *  The die message:
  *   emake failed with bootstrap-lean
  *
  * If you need support, post the topmost build error, and the call
stack if relevant.
  * A complete build log is located at
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
  * The ebuild environment file is located at
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
__

What does it mean, and how can I fix it???

Jarry


that means that you forgot to copy the important part. You just copied the 
pretty useless vanilla portage error. Not the real error some lines above that 
one.




I do not know how much to include, but above this, everything seemed
to be ok to me:
_
-Wno-overlength-strings-DHAVE_CONFIG_H -I. -I. 
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc 
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/. 
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/ 

../include 
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcp 

p/include 
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libde 

cnumber 
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnu 


  mber/bid -I../libdecnumberinsn-recog.c -o insn-recog.o
{standard input}: Assembler messages:
{standard input}:36051: Warning: end of file not at end of a line; 
newline inserted

{standard input}:37071: Error: bad register name `%e'
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See http://bugs.gentoo.org/ for instructions.
make[3]: *** [insn-attrtab.o] Error 1
make[3]: *** Waiting for unfinished jobs
rm gcc.pod gfortran.pod
make[3]: Leaving directory 
`/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/gcc'

make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory 
`/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'

make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'

make: *** [bootstrap-lean] Error 2
...

emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.2, 
glibc-2.9_p20081201-r2, 2.6.22-vs2.2.0.7-gentoo x86_64)

=
System uname: 
Linux-2.6.22-vs2.2.0.7-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-glibc2.2.5

Timestamp of tree: Mon, 06 Jul 2009 17:00:01 +
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.4-r3
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r2
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=athlon64 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /var/bind
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf 
/etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo 
/etc/udev/rules.d

CXXFLAGS=-march=athlon64 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks fixpackages parallel-fetch preserve-libs 
protect-owned sandbox sfperms strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo;

LDFLAGS=-Wl,-O1
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
--compress --force --whole-file --delete --stats --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=3dnow acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran 
gdbm iconv idn ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl 
nptlonly openmp pam pcre perl pppd python readline reflection session 
spl sse sse2 ssl sysfs tcpd unicode urandom xorg zlib 
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 

Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Volker Armin Hemmann
On Montag 06 Juli 2009, Jarry wrote:
 Volker Armin Hemmann wrote:
  On Montag 06 Juli 2009, Jarry wrote:
  I just tried to update gcc (actually, it is just recompiling with
  new nptl flag), but it failed with this messages:
  __
 
Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:
   
 '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'
 
* Messages for package sys-devel/gcc-4.3.2-r3:
*
* ERROR: sys-devel/gcc-4.3.2-r3 failed.
* Call stack:
*   ebuild.sh, line   49:  Called src_compile
* environment, line 4870:  Called toolchain_src_compile
* environment, line 5396:  Called gcc_src_compile
* environment, line 3094:  Called gcc_do_make
* environment, line 2884:  Called die
* The specific snippet of code:
*   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
  LIBPATH=${
LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS}
  ${GCC_MAKE_TARGET} || die emake failed with ${GCC_MAKE_TARGET};
*  The die message:
*   emake failed with bootstrap-lean
*
* If you need support, post the topmost build error, and the call
  stack if relevant.
* A complete build log is located at
  '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
* The ebuild environment file is located at
  '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
  __
 
  What does it mean, and how can I fix it???
 
  Jarry
 
  that means that you forgot to copy the important part. You just copied
  the pretty useless vanilla portage error. Not the real error some lines
  above that one.

 I do not know how much to include, but above this, everything seemed
 to be ok to me:
 _
  -Wno-overlength-strings-DHAVE_CONFIG_H -I. -I.
 -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc
 -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/.
 -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/

 ../include
 -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcp

  p/include
 -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libde

  cnumber
 -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnu

mber/bid -I../libdecnumberinsn-recog.c -o insn-recog.o
 {standard input}: Assembler messages:
 {standard input}:36051: Warning: end of file not at end of a line;
 newline inserted
 {standard input}:37071: Error: bad register name `%e'
 xgcc: Internal error: Killed (program cc1)
 Please submit a full bug report.
 See http://bugs.gentoo.org/ for instructions.
 make[3]: *** [insn-attrtab.o] Error 1
 make[3]: *** Waiting for unfinished jobs
 rm gcc.pod gfortran.pod
 make[3]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/gcc'
 make[2]: *** [all-stage2-gcc] Error 2
 make[2]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
 make[1]: *** [stage2-bubble] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
 make: *** [bootstrap-lean] Error 2
 ...
 
 emerge --info
 Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.2,
 glibc-2.9_p20081201-r2, 2.6.22-vs2.2.0.7-gentoo x86_64)
 =
 System uname:
 Linux-2.6.22-vs2.2.0.7-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Process
or_4800+-with-glibc2.2.5 Timestamp of tree: Mon, 06 Jul 2009 17:00:01 +
 app-shells/bash: 3.2_p39
 dev-lang/python: 2.5.4-r3
 sys-apps/baselayout: 2.0.0
 sys-apps/openrc: 0.4.3-r2
 sys-apps/sandbox:1.6-r2
 sys-devel/autoconf:  2.63
 sys-devel/automake:  1.10.2
 sys-devel/binutils:  2.18-r3
 sys-devel/gcc-config: 1.4.1
 sys-devel/libtool:   1.5.26
 virtual/os-headers:  2.6.27-r2
 ACCEPT_KEYWORDS=amd64
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=athlon64 -O2 -pipe
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc /var/bind
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf
 /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
 /etc/udev/rules.d
 CXXFLAGS=-march=athlon64 -O2 -pipe
 DISTDIR=/usr/portage/distfiles
 FEATURES=distlocks fixpackages parallel-fetch preserve-libs
 protect-owned sandbox sfperms strict unmerge-orphans userfetch
 GENTOO_MIRRORS=http://distfiles.gentoo.org
 http://distro.ibiblio.org/pub/linux/distributions/gentoo;
 LDFLAGS=-Wl,-O1
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --stats --timeout=180
 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 SYNC=rsync://rsync.gentoo.org/gentoo-portage
 USE=3dnow acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran
 gdbm iconv idn ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl
 nptlonly openmp pam pcre perl 

Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Jarry

Volker Armin Hemmann wrote:

On Montag 06 Juli 2009, Jarry wrote:

Volker Armin Hemmann wrote:

On Montag 06 Juli 2009, Jarry wrote:

I just tried to update gcc (actually, it is just recompiling with
new nptl flag), but it failed with this messages:
__

  Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:
 
   '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

  * Messages for package sys-devel/gcc-4.3.2-r3:
  *
  * ERROR: sys-devel/gcc-4.3.2-r3 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 4870:  Called toolchain_src_compile
  * environment, line 5396:  Called gcc_src_compile
  * environment, line 3094:  Called gcc_do_make
  * environment, line 2884:  Called die
  * The specific snippet of code:
  *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
LIBPATH=${
  LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS}
${GCC_MAKE_TARGET} || die emake failed with ${GCC_MAKE_TARGET};
  *  The die message:
  *   emake failed with bootstrap-lean
  *
  * If you need support, post the topmost build error, and the call
stack if relevant.
  * A complete build log is located at
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
  * The ebuild environment file is located at
'/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
__

What does it mean, and how can I fix it???

Jarry

that means that you forgot to copy the important part. You just copied
the pretty useless vanilla portage error. Not the real error some lines
above that one.

I do not know how much to include, but above this, everything seemed
to be ok to me:
_
 -Wno-overlength-strings-DHAVE_CONFIG_H -I. -I.
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/.
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/

../include
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcp

 p/include
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libde

 cnumber
-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnu

   mber/bid -I../libdecnumberinsn-recog.c -o insn-recog.o
{standard input}: Assembler messages:
{standard input}:36051: Warning: end of file not at end of a line;
newline inserted
{standard input}:37071: Error: bad register name `%e'
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See http://bugs.gentoo.org/ for instructions.
make[3]: *** [insn-attrtab.o] Error 1
make[3]: *** Waiting for unfinished jobs
rm gcc.pod gfortran.pod
make[3]: Leaving directory
`/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory
`/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
make: *** [bootstrap-lean] Error 2
...

emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.2,
glibc-2.9_p20081201-r2, 2.6.22-vs2.2.0.7-gentoo x86_64)
=
System uname:
Linux-2.6.22-vs2.2.0.7-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Process
or_4800+-with-glibc2.2.5 Timestamp of tree: Mon, 06 Jul 2009 17:00:01 +
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.4-r3
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r2
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=athlon64 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /var/bind
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
/etc/udev/rules.d
CXXFLAGS=-march=athlon64 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks fixpackages parallel-fetch preserve-libs
protect-owned sandbox sfperms strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo;
LDFLAGS=-Wl,-O1
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=3dnow acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran
gdbm iconv idn ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl
nptlonly openmp pam pcre perl pppd python readline reflection session
spl sse sse2 ssl sysfs tcpd unicode urandom xorg zlib
ALSA_CARDS=ali5451 als4000 

Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Mike Edenfield

On 7/6/2009 2:23 PM, Jarry wrote:


-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnu
mber/bid -I../libdecnumber insn-recog.c -o insn-recog.o
{standard input}: Assembler messages:
{standard input}:36051: Warning: end of file not at end of a line;
newline inserted
{standard input}:37071: Error: bad register name `%e'
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See http://bugs.gentoo.org/ for instructions.
make[3]: *** [insn-attrtab.o] Error 1



MAKEOPTS=-j2


Can you try this again without -j2 in the make opts?  The gcc build 
process is enough of a pain to debug when you can see output 
sequentially, running parallel makes makes it worse.


In your case, it failed trying to assemble insn-attrtab.o but the last 
output on screen was from insn-recog.c on a different make branch.  It 
appears that the build process generated an incomplete insn-attrtab.c 
file which cut off in the middle of an opcode, most likely in the middle 
of a register name like %eax.  Its possible that there was another error 
buried up further in the output that got lost in the parallelizing.


--Mike





[gentoo-user] How to stop X

2009-07-06 Thread Kevin O'Gorman
I'm having trouble configuring X, and to save time I'd like to be able
to shut it down, edit some stuff, and start it up again.

What is the gentoo way to do that?

++ kevin

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] How to stop X

2009-07-06 Thread Dirk Heinrichs
Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:

 I'm having trouble configuring X, and to save time I'd like to be able
 to shut it down, edit some stuff, and start it up again.

 What is the gentoo way to do that?

Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your X 
session, change to a virtual console and restart the display manager 
(/etc/init.d/xdm restart), which also restarts X as a side effect.

HTH...

Dirk


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


Re: [gentoo-user] Monitoring data usage

2009-07-06 Thread Dan Cowsill
On Mon, Jul 6, 2009 at 9:45 AM, Grantemailgr...@gmail.com wrote:
  I'm using ifconfig to monitor how much data I'm using, but it seems
  pretty high.  Is there a simple way to see why I'm using so much data?

 $ eix ^ntop
 [I] net-analyzer/ntop
       Available versions:  3.3.9-r2 ~3.3.10-r1 {ipv6 ssl tcpd}
       Installed versions:  3.3.9-r2(14:11:46 06/25/09)(ssl tcpd -ipv6)
       Homepage:            http://www.ntop.org/ntop.html
       Description:         Network traffic analyzer with web interface

 $

 Also iftop and lsof with some clever regex-ing if you want to see what
 program
 drives the connection.

 Thank you, iftop is great:

 iftop -i ppp0 -P

 - Grant



I use vnstat.  You can get PHP frontends for vnstat that make it nice
and groovy as well.



[gentoo-user] ncurses is gone

2009-07-06 Thread Alan E. Davis
Ncurses has disappeared, and the system is dead.  I think it is
unrecoverable.  I had hoped to use a binary package, but for now,
since I shut the machine down, it will not boot.

Is this hopeless?  It happened during an emerge -uDvNa world

Alan



Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Jarry

Mike Edenfield wrote:

On 7/6/2009 2:23 PM, Jarry wrote:


-I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnu
mber/bid -I../libdecnumber insn-recog.c -o insn-recog.o
{standard input}: Assembler messages:
{standard input}:36051: Warning: end of file not at end of a line;
newline inserted
{standard input}:37071: Error: bad register name `%e'
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See http://bugs.gentoo.org/ for instructions.
make[3]: *** [insn-attrtab.o] Error 1



MAKEOPTS=-j2


Can you try this again without -j2 in the make opts?  The gcc build 
process is enough of a pain to debug when you can see output 
sequentially, running parallel makes makes it worse.


In your case, it failed trying to assemble insn-attrtab.o but the last 
output on screen was from insn-recog.c on a different make branch.  It 
appears that the build process generated an incomplete insn-attrtab.c 
file which cut off in the middle of an opcode, most likely in the middle 
of a register name like %eax.  Its possible that there was another error 
buried up further in the output that got lost in the parallelizing.


Now this is strange: I commented out that MAKEOPTS=-j2 in make.conf
and gcc compilled without any complaint. I did not change anything
else! Can't believe this. I will check it tomorrow again, with -j2
and without...

Jarry

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



Re: [gentoo-user] ncurses is gone

2009-07-06 Thread Alan McKinnon
On Monday 06 July 2009 22:21:39 Alan E. Davis wrote:
 Ncurses has disappeared, and the system is dead.  I think it is
 unrecoverable.  I had hoped to use a binary package, but for now,
 since I shut the machine down, it will not boot.

 Is this hopeless?  It happened during an emerge -uDvNa world

What are the errors or other relevant output to the console?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How to stop X

2009-07-06 Thread Alexander
On Monday 06 July 2009, Dirk Heinrichs wrote:
 Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:
 
  I'm having trouble configuring X, and to save time I'd like to be able
  to shut it down, edit some stuff, and start it up again.
 
  What is the gentoo way to do that?
 
 Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your X 
 session, change to a virtual console and restart the display manager 
 (/etc/init.d/xdm restart), which also restarts X as a side effect.
 
 HTH...
 
   Dirk
 

It is simpler to use ALT+CTL+BKSPACE to restart the display manager



[gentoo-user] Need advice in selecting a mail server

2009-07-06 Thread Michael Sullivan
I have three boxes (baby, camille, and catherine) in my LAN, and for
some reason (this was years ago) I set up an exim server on each of
them.  camille and catherine were supposed to forward their mail to
baby, which has a working dovecot server.  Now, nothing from catherine
is going through, and only mail sent from cron on camille is going
through, and everything on baby is being delivered.  Some time a couple
of years ago my daily logwatch reports stopped coming (all of them) and
earlier this year my portage elogs stopped getting mailed to me.  I
would like to replace all of them with something simple (like ssmtp),
but I'm not sure what the setup on baby needs to be so that I can still
access my hundreds of saved emails on the dovecot server.  Every time
emerge on camille or catherine tries to send an elog I get the 451
error.  I can't seem to find the attempts in the log files.  Anyway, can
I use ssmtp on baby to receive/store network mail, or do I need
something extra like exim/sendmail?  




Re: [gentoo-user] How to stop X

2009-07-06 Thread Alan McKinnon
On Monday 06 July 2009 22:49:38 Alexander wrote:
 On Monday 06 July 2009, Dirk Heinrichs wrote:
  Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:
   I'm having trouble configuring X, and to save time I'd like to be able
   to shut it down, edit some stuff, and start it up again.
  
   What is the gentoo way to do that?
 
  Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your
  X session, change to a virtual console and restart the display manager
  (/etc/init.d/xdm restart), which also restarts X as a side effect.
 
  HTH...
 
  Dirk

 It is simpler to use ALT+CTL+BKSPACE to restart the display manager

There's this thing that RedHat gave us called DontZap that gets in the way of 
that

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Monitoring data usage

2009-07-06 Thread Paul Hartman
On Sun, Jul 5, 2009 at 5:18 PM, Mickmichaelkintz...@gmail.com wrote:
 On Sunday 05 July 2009, Stroller wrote:
 On 5 Jul 2009, at 11:33, Grant wrote:
  I'm using ifconfig to monitor how much data I'm using, but it seems
  pretty high.  Is there a simple way to see why I'm using so much data?

 $ eix ^ntop
 [I] net-analyzer/ntop
   Available versions:  3.3.9-r2 ~3.3.10-r1 {ipv6 ssl tcpd}
   Installed versions:  3.3.9-r2(14:11:46 06/25/09)(ssl tcpd -ipv6)
   Homepage:http://www.ntop.org/ntop.html
   Description: Network traffic analyzer with web interface

 $

 Also iftop and lsof with some clever regex-ing if you want to see what program
 drives the connection.

nethogs will show active network activity



Re: [gentoo-user] Monitoring data usage

2009-07-06 Thread Paul Hartman
On Mon, Jul 6, 2009 at 4:10 PM, Paul
Hartmanpaul.hartman+gen...@gmail.com wrote:
 On Sun, Jul 5, 2009 at 5:18 PM, Mickmichaelkintz...@gmail.com wrote:
 On Sunday 05 July 2009, Stroller wrote:
 On 5 Jul 2009, at 11:33, Grant wrote:
  I'm using ifconfig to monitor how much data I'm using, but it seems
  pretty high.  Is there a simple way to see why I'm using so much data?

 $ eix ^ntop
 [I] net-analyzer/ntop
   Available versions:  3.3.9-r2 ~3.3.10-r1 {ipv6 ssl tcpd}
   Installed versions:  3.3.9-r2(14:11:46 06/25/09)(ssl tcpd -ipv6)
   Homepage:http://www.ntop.org/ntop.html
   Description: Network traffic analyzer with web interface

 $

 Also iftop and lsof with some clever regex-ing if you want to see what 
 program
 drives the connection.

 nethogs will show active network activity

Oops, I somehow sent that while composing. I was saying, nethogs will
show active network activity by program, so you can see who is using
network data at that moment, in a top-like fashion. Not a how much
has it used total, but a how much is it using right now. Here's an
example:

NetHogs version 0.7.0

  PID USER PROGRAM  DEVSENT  RECEIVED
29641 root git  wlan0  0.929   0.649 KB/sec
29620 root /usr/bin/svn wlan0  0.187   0.269 KB/sec
29509 paul sshd: p...@pts/1 wlan0  0.883   0.136 KB/sec
29612 root git  wlan0  0.119   0.131 KB/sec
29591 root /usr/bin/python  wlan0  0.000   0.000 KB/sec
0 root unknown TCP 0.000   0.000 KB/sec

  TOTAL2.118   1.185 KB/sec



Re: [gentoo-user] How to stop X

2009-07-06 Thread Paul Hartman
On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gormankogor...@gmail.com wrote:
 I'm having trouble configuring X, and to save time I'd like to be able
 to shut it down, edit some stuff, and start it up again.

 What is the gentoo way to do that?

It depends on how you started X in the first place. If you did a
startx (or similar), logging out should be all you need to do to get
out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
/etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
rmmod your video drivers or do whatever changes you want to do. sudo
/etc/init.d/xdm start to bring it back up.



Re: [gentoo-user] gcc update failed...

2009-07-06 Thread Mike Edenfield

On 7/6/2009 4:23 PM, Jarry wrote:

Mike Edenfield wrote:

On 7/6/2009 2:23 PM, Jarry wrote:



MAKEOPTS=-j2



Can you try this again without -j2 in the make opts? The gcc build
process is enough of a pain to debug when you can see output
sequentially, running parallel makes makes it worse.



Now this is strange: I commented out that MAKEOPTS=-j2 in make.conf
and gcc compilled without any complaint. I did not change anything
else! Can't believe this. I will check it tomorrow again, with -j2
and without...


I can't explain why this happens but I do know that I've seen a number 
of complex builds (especially gcc/glibc) that just randomly fail when 
using a parallel make.  I see this effect on FreeBSD moreso than Gentoo, 
but I suspect that's only a question of scale.


--Mike



[gentoo-user] Re: Xorg confusion and no glxinfo

2009-07-06 Thread walt

On 07/06/2009 04:39 AM, Mick wrote:

On Monday 06 July 2009, walt wrote:

On 07/06/2009 03:29 AM, Mick wrote:



I cleared out some xorg related packages at some point because my machine
will not shutdown without a kernel oops when it is trying to unload the
radeon driver.


Hm. There is no reason to unload any driver or module just to shut down.
Are you sure that's the reason for the oops?


Well, no, but when I Ctrl+Alt+F1 to a console and shutdown from there there
are no oops with the usual messages about vblank_disable_fn+0x79/0xd0 [drm]
and EIP: [e0cc14fe] radeon_get_vblank_counter+0x7e/0xd0 [radeon].


Wait, when exactly do you see the 'usual' oops messages?


I recall that when I unmerged xf86-video-ati, glxgears still performed as
before and therefore I assumed that the new xorg-server had access to all it
needed to run my video card.  Should I emerge it again?


It's a reasonable question but I don't know the answer. Your original post said:

(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so

The server apparently loaded both drivers without errors but it may have 
unloaded
the ati driver later on.  You won't know unless you do the 'X -logverbose' test 
I
suggested and look through the X log file.

I would re-emerge the ati driver, do the verbose logging test and see for 
yourself
if the X server unloads the ati driver after loading it.  If so, then you don't
need the ati driver.  (I suspect you don't, but I'm just guessing.)




Re: [gentoo-user] How to stop X

2009-07-06 Thread Kevin O'Gorman
On Mon, Jul 6, 2009 at 2:17 PM, Paul
Hartmanpaul.hartman+gen...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gormankogor...@gmail.com wrote:
 I'm having trouble configuring X, and to save time I'd like to be able
 to shut it down, edit some stuff, and start it up again.

 What is the gentoo way to do that?

 It depends on how you started X in the first place. If you did a
 startx (or similar), logging out should be all you need to do to get
 out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
 itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
 /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
 rmmod your video drivers or do whatever changes you want to do. sudo
 /etc/init.d/xdm start to bring it back up.



Several of you suggested /etc/init.d/xdm start or so to get it
(re)started.  It doesn't work.  Instead the start-stop daemon
complains of not being able to stat /usr/bin/xdm which doesn't
exist.  And no I didn't mispell it.  I've never seen this before an
I'm baffled.

++ kevin

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] How to stop X

2009-07-06 Thread Paul Hartman
On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gormankogor...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 2:17 PM, Paul
 Hartmanpaul.hartman+gen...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gormankogor...@gmail.com wrote:
 I'm having trouble configuring X, and to save time I'd like to be able
 to shut it down, edit some stuff, and start it up again.

 What is the gentoo way to do that?

 It depends on how you started X in the first place. If you did a
 startx (or similar), logging out should be all you need to do to get
 out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
 itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
 /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
 rmmod your video drivers or do whatever changes you want to do. sudo
 /etc/init.d/xdm start to bring it back up.



 Several of you suggested /etc/init.d/xdm start or so to get it
 (re)started.  It doesn't work.  Instead the start-stop daemon
 complains of not being able to stat /usr/bin/xdm which doesn't
 exist.  And no I didn't mispell it.  I've never seen this before an
 I'm baffled.

Hi,

You haven't told us how you start X, which I think would make it
easier to determine how to stop it. Maybe you don't use XDM at all, in
which case the above suggestion wouldn't have any relevance to your
situation.



Re: [gentoo-user] How to stop X

2009-07-06 Thread Kevin O'Gorman
On Mon, Jul 6, 2009 at 3:31 PM, Paul
Hartmanpaul.hartman+gen...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gormankogor...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 2:17 PM, Paul
 Hartmanpaul.hartman+gen...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gormankogor...@gmail.com wrote:
 I'm having trouble configuring X, and to save time I'd like to be able
 to shut it down, edit some stuff, and start it up again.

 What is the gentoo way to do that?

 It depends on how you started X in the first place. If you did a
 startx (or similar), logging out should be all you need to do to get
 out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
 itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
 /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
 rmmod your video drivers or do whatever changes you want to do. sudo
 /etc/init.d/xdm start to bring it back up.



 Several of you suggested /etc/init.d/xdm start or so to get it
 (re)started.  It doesn't work.  Instead the start-stop daemon
 complains of not being able to stat /usr/bin/xdm which doesn't
 exist.  And no I didn't mispell it.  I've never seen this before an
 I'm baffled.

 Hi,

 You haven't told us how you start X, which I think would make it
 easier to determine how to stop it. Maybe you don't use XDM at all, in
 which case the above suggestion wouldn't have any relevance to your
 situation.



I haven't told you because I don't know.  I do know that I was using
KDE when I still had X.  But I set that up over 5 years ago and I've
forgotten all the details.  But there's no sign of *dm in /etc/init.d,
other than xdm, which acts pretty normal outside of the fact that it
fails.  It goes through motions, says some things work by putting [OK]
in the right margin, and all that.

If you tell me how to find out, I'll answer any questions.

++ kevin

-- 
Kevin O'Gorman, PhD



[gentoo-user] Re: ncurses is gone

2009-07-06 Thread walt

On 07/06/2009 01:21 PM, Alan E. Davis wrote:

Ncurses has disappeared, and the system is dead.  I think it is
unrecoverable.  I had hoped to use a binary package, but for now,
since I shut the machine down, it will not boot.

Is this hopeless?  It happened during an emerge -uDvNa world


It's never hopeless unless the hard disk is damaged, e.g. from a
head crash or similar catastrophe.  The important thing is to avoid
trying random things without knowing what you're doing. You can
turn a simple recovery into a hopeless mess that way.

I find that I can usually get myself out of a 'hopeless' mess just
by downloading a live gentoo boot CD and using that to install a
recent gentoo snapshot.  You need a second (working) computer to
do that, of course.  (Everyone should have as many computers as
possible for exactly that reason :o)

Meanwhile, more info would help, as the others have already said.




Re: [gentoo-user] How to stop X

2009-07-06 Thread Jacob Todd
On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote:
 On Monday 06 July 2009 22:49:38 Alexander wrote:
  On Monday 06 July 2009, Dirk Heinrichs wrote:
   Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:
I'm having trouble configuring X, and to save time I'd like to be able
to shut it down, edit some stuff, and start it up again.
   
What is the gentoo way to do that?
  
   Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your
   X session, change to a virtual console and restart the display manager
   (/etc/init.d/xdm restart), which also restarts X as a side effect.
  
   HTH...
  
 Dirk
 
  It is simpler to use ALT+CTL+BKSPACE to restart the display manager
 
 There's this thing that RedHat gave us called DontZap that gets in the way of 
 that
 
 -- 
 alan dot mckinnon at gmail dot com
 

This isn't RedHat.

-- 
Jake Todd
// If it isn't broke, tweak it!


pgpaJXpm7R3kN.pgp
Description: PGP signature


Re: [gentoo-user] How to stop X

2009-07-06 Thread Kevin O'Gorman
On Mon, Jul 6, 2009 at 1:49 PM, Alexanderb3n...@yandex.ru wrote:
 On Monday 06 July 2009, Dirk Heinrichs wrote:
 Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:

  I'm having trouble configuring X, and to save time I'd like to be able
  to shut it down, edit some stuff, and start it up again.
 
  What is the gentoo way to do that?

 Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your X
 session, change to a virtual console and restart the display manager
 (/etc/init.d/xdm restart), which also restarts X as a side effect.

 HTH...

       Dirk


 It is simpler to use ALT+CTL+BKSPACE to restart the display manager


Except that it doesn't work at all when your X is as hosed as mine.



-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] How to stop X

2009-07-06 Thread Dale
Jacob Todd wrote:
 On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote:
   
 On Monday 06 July 2009 22:49:38 Alexander wrote:
 
 On Monday 06 July 2009, Dirk Heinrichs wrote:
   
 Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:
 
 I'm having trouble configuring X, and to save time I'd like to be able
 to shut it down, edit some stuff, and start it up again.

 What is the gentoo way to do that?
   
 Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your
 X session, change to a virtual console and restart the display manager
 (/etc/init.d/xdm restart), which also restarts X as a side effect.

 HTH...

Dirk
 
 It is simpler to use ALT+CTL+BKSPACE to restart the display manager
   
 There's this thing that RedHat gave us called DontZap that gets in the way 
 of 
 that

 -- 
 alan dot mckinnon at gmail dot com

 

 This isn't RedHat.

   

But it applies to Gentoo as well.  From my xorg.conf.example on Gentoo.

# Uncomment this to disable the CrtlAltBS server abort sequence
# This allows clients to receive this key event.

#OptionDontZap

It's a valid option on every Linux I have ever played with.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Xorg confusion and no glxinfo

2009-07-06 Thread Mick
On Monday 06 July 2009, walt wrote:
 On 07/06/2009 04:39 AM, Mick wrote:
  On Monday 06 July 2009, walt wrote:
  On 07/06/2009 03:29 AM, Mick wrote:
  I cleared out some xorg related packages at some point because my
  machine will not shutdown without a kernel oops when it is trying to
  unload the radeon driver.
 
  Hm. There is no reason to unload any driver or module just to shut down.
  Are you sure that's the reason for the oops?
 
  Well, no, but when I Ctrl+Alt+F1 to a console and shutdown from there
  there are no oops with the usual messages about
  vblank_disable_fn+0x79/0xd0 [drm] and EIP: [e0cc14fe]
  radeon_get_vblank_counter+0x7e/0xd0 [radeon].

 Wait, when exactly do you see the 'usual' oops messages?

When I try to shutdown the machine they come up on the console - currently 
running 2.6.29-gentoo-r5.  Typically, the oops occurs after the wireless 
driver and alsasound modules are unloaded and occasionally after syslog-ng is 
stopped.  No oops take place if I exit X and then issue a shutdown command 
from the console.  I am waiting for a newer kernel to see if this problem has 
been fixed.
-- 
Regards,
Mick


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


Re: [gentoo-user] How to stop X

2009-07-06 Thread Mick
On Monday 06 July 2009, Kevin O'Gorman wrote:
 On Mon, Jul 6, 2009 at 3:31 PM, Paul

 Hartmanpaul.hartman+gen...@gmail.com wrote:
  On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gormankogor...@gmail.com wrote:
  On Mon, Jul 6, 2009 at 2:17 PM, Paul
 
  Hartmanpaul.hartman+gen...@gmail.com wrote:
  On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gormankogor...@gmail.com 
wrote:
  I'm having trouble configuring X, and to save time I'd like to be able
  to shut it down, edit some stuff, and start it up again.
 
  What is the gentoo way to do that?
 
  It depends on how you started X in the first place. If you did a
  startx (or similar), logging out should be all you need to do to get
  out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
  itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
  /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
  rmmod your video drivers or do whatever changes you want to do. sudo
  /etc/init.d/xdm start to bring it back up.
 
  Several of you suggested /etc/init.d/xdm start or so to get it
  (re)started.  It doesn't work.  Instead the start-stop daemon
  complains of not being able to stat /usr/bin/xdm which doesn't
  exist.  And no I didn't mispell it.  I've never seen this before an
  I'm baffled.
 
  Hi,
 
  You haven't told us how you start X, which I think would make it
  easier to determine how to stop it. Maybe you don't use XDM at all, in
  which case the above suggestion wouldn't have any relevance to your
  situation.

 I haven't told you because I don't know.  I do know that I was using
 KDE when I still had X.  But I set that up over 5 years ago and I've
 forgotten all the details.  But there's no sign of *dm in /etc/init.d,
 other than xdm, which acts pretty normal outside of the fact that it
 fails.  It goes through motions, says some things work by putting [OK]
 in the right margin, and all that.

 If you tell me how to find out, I'll answer any questions.

 ++ kevin

Look at your ps axf.  If it is running via xdm you will see something like:

6403 ?Ss 0:00 /usr/bin/xdm 
6417 tty7 Ss+   28:54  \_ /usr/bin/X :0 -nolisten tcp -br 
vt7 -auth /etc/X11/xdm/authdir/authfiles/A:0-bvk4xxF


-- 
Regards,
Mick


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


Re: [gentoo-user] Monitoring data usage

2009-07-06 Thread Stroller


On 6 Jul 2009, at 22:10, Paul Hartman wrote:

...
nethogs will show active network activity


That is REALLY cool. I can't believe I never knew about this before.

Stroller




Re: [gentoo-user] How to stop X

2009-07-06 Thread Jacob Todd
On Mon, Jul 06, 2009 at 06:23:23PM -0500, Dale wrote:
 Jacob Todd wrote:
 
  This isn't RedHat.
 

 
 But it applies to Gentoo as well.  From my xorg.conf.example on Gentoo.
 
 # Uncomment this to disable the CrtlAltBS server abort sequence
 # This allows clients to receive this key event.
 
 #OptionDontZap
 
 It's a valid option on every Linux I have ever played with.
 
 Dale
 
 :-)  :-) 
 

Never noticed that. Thanks for the info, Dale.

-- 
Jake Todd
// If it isn't broke, tweak it!


pgpN8hckhs7aG.pgp
Description: PGP signature


[gentoo-user] Re: How to stop X

2009-07-06 Thread walt

On 07/06/2009 03:41 PM, Kevin O'Gorman wrote:

On Mon, Jul 6, 2009 at 3:31 PM, Paul
Hartmanpaul.hartman+gen...@gmail.com  wrote:

On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gormankogor...@gmail.com  wrote:

On Mon, Jul 6, 2009 at 2:17 PM, Paul
Hartmanpaul.hartman+gen...@gmail.com  wrote:

On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gormankogor...@gmail.com  wrote:

I'm having trouble configuring X, and to save time I'd like to be able
to shut it down, edit some stuff, and start it up again.

What is the gentoo way to do that?


It depends on how you started X in the first place. If you did a
startx (or similar), logging out should be all you need to do to get
out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
/etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
rmmod your video drivers or do whatever changes you want to do. sudo
/etc/init.d/xdm start to bring it back up.




Several of you suggested /etc/init.d/xdm start or so to get it
(re)started.  It doesn't work.  Instead the start-stop daemon
complains of not being able to stat /usr/bin/xdm which doesn't
exist.  And no I didn't mispell it.  I've never seen this before an
I'm baffled.


Hi,

You haven't told us how you start X, which I think would make it
easier to determine how to stop it. Maybe you don't use XDM at all, in
which case the above suggestion wouldn't have any relevance to your
situation.




I haven't told you because I don't know.  I do know that I was using
KDE when I still had X.  But I set that up over 5 years ago and I've
forgotten all the details.  But there's no sign of *dm in /etc/init.d,
other than xdm,..


There are the 'big three' display managers, xdm, gdm(gnome), and kdm(kde)
which all do the same job, i.e. asking for your user name and password.

All three of them are X applications and therefore they start the X
server before they can appear on your screen.

Before your troubles started, what did you see when your machine boots
up.  Does it ask your username on an ordinary black-and-white console,
like a teletype, or on a fancy graphics screen with sexy eye-candy so
as to seduce unsuspecting MacBook users?





Re: [gentoo-user] How to stop X

2009-07-06 Thread Stroller


On 6 Jul 2009, at 23:41, Kevin O'Gorman wrote:

...
You haven't told us how you start X, which I think would make it
easier to determine how to stop it


I haven't told you because I don't know.  I do know that I was using
KDE when I still had X.  But I set that up over 5 years ago and I've
forgotten all the details.  But there's no sign of *dm in /etc/init.d,
other than xdm, which acts pretty normal outside of the fact that it
fails. ...


Suggest you review your current configuration against this document:

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

Stroller.




Re: [gentoo-user] How to stop X

2009-07-06 Thread Mick
On Tuesday 07 July 2009, Dale wrote:
 Jacob Todd wrote:
  On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote:
  On Monday 06 July 2009 22:49:38 Alexander wrote:
  On Monday 06 July 2009, Dirk Heinrichs wrote:
  Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:
  I'm having trouble configuring X, and to save time I'd like to be
  able to shut it down, edit some stuff, and start it up again.
 
  What is the gentoo way to do that?
 
  Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from
  your X session, change to a virtual console and restart the display
  manager (/etc/init.d/xdm restart), which also restarts X as a side
  effect.
 
  HTH...
 
   Dirk
 
  It is simpler to use ALT+CTL+BKSPACE to restart the display manager
 
  There's this thing that RedHat gave us called DontZap that gets in the
  way of that
 
  --
  alan dot mckinnon at gmail dot com
 
  This isn't RedHat.

 But it applies to Gentoo as well.  From my xorg.conf.example on Gentoo.

Right, but the latest flavor of xorg works without the requirement for a 
xorg.conf and therefore there's nowhere to define CrtlAltBS in the .fdi 
files from what I recall.  Retaining a xorg.conf would be the alternative - 
thus keeping the old Gentoo (and every other Linux) way.
-- 
Regards,
Mick


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


Re: [gentoo-user] How to stop X

2009-07-06 Thread Dale
Mick wrote:
 On Tuesday 07 July 2009, Dale wrote:
   
 Jacob Todd wrote:
 
 On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote:
   
 On Monday 06 July 2009 22:49:38 Alexander wrote:
 
 On Monday 06 July 2009, Dirk Heinrichs wrote:
   
 Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman:
 
 I'm having trouble configuring X, and to save time I'd like to be
 able to shut it down, edit some stuff, and start it up again.

 What is the gentoo way to do that?
   
 Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from
 your X session, change to a virtual console and restart the display
 manager (/etc/init.d/xdm restart), which also restarts X as a side
 effect.

 HTH...

  Dirk
 
 It is simpler to use ALT+CTL+BKSPACE to restart the display manager
   
 There's this thing that RedHat gave us called DontZap that gets in the
 way of that

 --
 alan dot mckinnon at gmail dot com
 
 This isn't RedHat.
   
 But it applies to Gentoo as well.  From my xorg.conf.example on Gentoo.
 

 Right, but the latest flavor of xorg works without the requirement for a 
 xorg.conf and therefore there's nowhere to define CrtlAltBS in the .fdi 
 files from what I recall.  Retaining a xorg.conf would be the alternative - 
 thus keeping the old Gentoo (and every other Linux) way.
   

True, but how many people have actually did the upgrade?  I haven't yet. 

Also, you can have a xorg.conf still to specify the option.  That may be
the only thing in the file but it would still work.

Dale

:-)  :-) 



Re: [gentoo-user] How to stop X

2009-07-06 Thread David Relson
On Mon, 6 Jul 2009 15:21:43 -0700
Kevin O'Gorman wrote:

 On Mon, Jul 6, 2009 at 2:17 PM, Paul
 Hartmanpaul.hartman+gen...@gmail.com wrote:
  On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gormankogor...@gmail.com
  wrote:
  I'm having trouble configuring X, and to save time I'd like to be
  able to shut it down, edit some stuff, and start it up again.
 
  What is the gentoo way to do that?
 
  It depends on how you started X in the first place. If you did a
  startx (or similar), logging out should be all you need to do to
  get out of X. If you use a login manager, XDM/GDM/KDM then it'll
  restart itself so you'll need to switch to a VT (ctrl-alt-F1) and
  then sudo /etc/init.d/xdm stop to shut down XDM (and therefore X).
  You can then rmmod your video drivers or do whatever changes you
  want to do. sudo /etc/init.d/xdm start to bring it back up.
 
 
 
 Several of you suggested /etc/init.d/xdm start or so to get it
 (re)started.  It doesn't work.  Instead the start-stop daemon
 complains of not being able to stat /usr/bin/xdm which doesn't
 exist.  And no I didn't mispell it.  I've never seen this before an
 I'm baffled.
 
 ++ kevin

Hi Kevin,

This weekend I needed to stop and start X a lot because I was
experimenting with running dosemu from a tty command line and the
DOS application I'm running under dosemu hangs the command line.

Using an ssh session (from another machine) I found that
/etc/init.d/xdm stop works to stop X. However,
restarting is a bit tricky since /etc/init.d/xdm start fails because
of files in /var/lib/init.d/*/xdm.  If one runs rm -rf /var/lib/init.d/*/xdm
then runs /etc/init.d/xdm start one is good to go.

HTH,

David



[gentoo-user] Re: Xorg confusion and no glxinfo

2009-07-06 Thread walt

On 07/06/2009 04:23 PM, Mick wrote:

On Monday 06 July 2009, walt wrote:

On 07/06/2009 04:39 AM, Mick wrote:

On Monday 06 July 2009, walt wrote:

On 07/06/2009 03:29 AM, Mick wrote:

I cleared out some xorg related packages at some point because my
machine will not shutdown without a kernel oops when it is trying to
unload the radeon driver.


Hm. There is no reason to unload any driver or module just to shut down.
Are you sure that's the reason for the oops?


Well, no, but when I Ctrl+Alt+F1 to a console and shutdown from there
there are no oops with the usual messages about
vblank_disable_fn+0x79/0xd0 [drm] and EIP: [e0cc14fe]
radeon_get_vblank_counter+0x7e/0xd0 [radeon].


Wait, when exactly do you see the 'usual' oops messages?


When I try to shutdown the machine they come up on the console - currently
running 2.6.29-gentoo-r5.  Typically, the oops occurs after the wireless
driver and alsasound modules are unloaded and occasionally after syslog-ng is
stopped...


Okay, I know about the alsa modules stuff, but not the wireless.  The alsa
modules should *not* be unloaded on shutdown because there is no reason to
do it and it causes problems if you try. (And I'm guessing that wireless is
the same.)

Look at /etc/conf.d/alsasound.  You should have two lines there as follows:

# Deprecated options:
# Upstream feels, and we wholehartedly agree, that this was a silly idea
UNLOAD_ON_STOP=no
KILLPROC_ON_STOP=no

When I'm more awake I'll take a look at wireless.




Re: [gentoo-user] SSL giving corrupted MAC on input

2009-07-06 Thread Paul Colquhoun
On Tue, 7 Jul 2009 02:31:38 Simon wrote:
 Hi there!
   I'm getting this issue where even very small transfers through ssh
 will cause this error message:  Corrupted MAC on input.  I've done my
 homework and found out this is not necessarily related to the network
 hardware as TCP would retransmit such corrupted packets, moreover the
 error message is clearly related to ssh as googling proves this.

   A quick troubleshooting i've done was to setup apache and simply
 wget a very large file over plain HTTP.  Transfer worked, i did it a
 second time and diff'ed the two downloads, they were the same.  I then
 did the same test over HTTPS and got an error
 (SSL3_GET_RECORD:decryption failed or bad record mac). This clarified
 the problem is much more related to SSL than anything else.

   A quick glance at `emerge -vp openssl` showed an issue:  it had been
 compiled with sse2 support while this computer's cpu didnt support
 that.  Changed use flags and recompiled, restarted ssh and apache.
 They both continued giving the same error.  I finally rebooted the
 machine, in case, but same issue still...  The only use flag for
 openssl now is zlib.


What did you recompile?  There may still be a library using the sse2 flag.

Have you tried using the --newuse or --reinstall changed-use emerge flags?


-- 
Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol
 Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.




Re: [gentoo-user] gcc update failed...

2009-07-06 Thread W.Kenworthy
On Mon, 2009-07-06 at 17:53 -0400, Mike Edenfield wrote:
 On 7/6/2009 4:23 PM, Jarry wrote:
  Mike Edenfield wrote:
  On 7/6/2009 2:23 PM, Jarry wrote:
 
  MAKEOPTS=-j2
 
  Can you try this again without -j2 in the make opts? The gcc build
  process is enough of a pain to debug when you can see output
  sequentially, running parallel makes makes it worse.
 
  Now this is strange: I commented out that MAKEOPTS=-j2 in make.conf
  and gcc compilled without any complaint. I did not change anything
  else! Can't believe this. I will check it tomorrow again, with -j2
  and without...
 
 I can't explain why this happens but I do know that I've seen a number 
 of complex builds (especially gcc/glibc) that just randomly fail when 
 using a parallel make.  I see this effect on FreeBSD moreso than Gentoo, 
 but I suspect that's only a question of scale.
 
 --Mike
 

Try MAKEOPTS=-j1 - the default is still j2 if you just delete the
variable.

Ive also seen this a lot recently.  Serialising the make process into
one thread helps.

BillK






[gentoo-user] Re: qt blocks, poppler, etc.

2009-07-06 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan McKinnon wrote:
 First, unmask portage. The maintainer masked the 2.2_rc versions so that
 2.1.6* could get more testing. portage-2.2 can automatically resolve those
 blockers so you don't have to.

Actually, the latest 2.1.6.* versions contain the same auto-resolution for 
blockers that 2.2_rc* does, as the only difference between 2.1.6.* and 
2.2_rc* is that 2.2_rc* has support for sets and preserved-libs: everything 
else has been backported (actually, the 2.1.6 codebase was forked off of 
2.2, then the support for those two features was removed).

- -- 
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (GNU/Linux)

iEYEARECAAYFAkpSu/cACgkQOypDUo0oQOqANQCfc5ePxReiIU79FXXUuOCLcvuK
DmoAoMA7/fba56fTha1bM9z0US4sRe6I
=2bTT
-END PGP SIGNATURE-





Re: [gentoo-user] How to stop X

2009-07-06 Thread Kevin O'Gorman
Synopsis:
This host is running kdm.


On Mon, Jul 6, 2009 at 4:30 PM, Mickmichaelkintz...@gmail.com wrote:
 On Monday 06 July 2009, Kevin O'Gorman wrote:
 On Mon, Jul 6, 2009 at 3:31 PM, Paul

 Hartmanpaul.hartman+gen...@gmail.com wrote:

[ snip snip ]

  Hi,
 
  You haven't told us how you start X, which I think would make it
  easier to determine how to stop it. Maybe you don't use XDM at all, in
  which case the above suggestion wouldn't have any relevance to your
  situation.

 I haven't told you because I don't know.  I do know that I was using
 KDE when I still had X.  But I set that up over 5 years ago and I've
 forgotten all the details.  But there's no sign of *dm in /etc/init.d,
 other than xdm, which acts pretty normal outside of the fact that it
 fails.  It goes through motions, says some things work by putting [OK]
 in the right margin, and all that.

 If you tell me how to find out, I'll answer any questions.

 ++ kevin

 Look at your ps axf.  If it is running via xdm you will see something like:

 6403 ?        Ss     0:00 /usr/bin/xdm
 6417 tty7     Ss+   28:54  \_ /usr/bin/X :0 -nolisten tcp -br
 vt7 -auth /etc/X11/xdm/authdir/authfiles/A:0-bvk4xxF



What I get is not much, but it appears I'm still running kdm and it's
a child of init.

ke...@treat ~ $ ps axf | grep dm
  725 pts/6S+ 0:00  \_ grep --colour=auto dm
15372 ?Ss 0:00 kdm
ke...@treat ~ $


-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] Re: ncurses is gone

2009-07-06 Thread Alan E. Davis
thank you.  And your comment was duly noted about trying random things.

When I boot the system, the following message follows (after one other
line) after INIT: version 2.86 booting

/sbin/rc: error while loading shared libraries: libncurses.so.5:
cannot open shared object file: No such file or directory.

Alan

 ...can the human soul be glimpsed through a microscope? Maybe, but
you'd definitely need one of those very good ones with two eyepieces.

-- Woody Allen, quoted by B. A. Palevitz



On Tue, Jul 7, 2009 at 8:43 AM, waltw41...@gmail.com wrote:
 On 07/06/2009 01:21 PM, Alan E. Davis wrote:

 Ncurses has disappeared, and the system is dead.  I think it is
 unrecoverable.  I had hoped to use a binary package, but for now,
 since I shut the machine down, it will not boot.

 Is this hopeless?  It happened during an emerge -uDvNa world

 It's never hopeless unless the hard disk is damaged, e.g. from a
 head crash or similar catastrophe.  The important thing is to avoid
 trying random things without knowing what you're doing. You can
 turn a simple recovery into a hopeless mess that way.

 I find that I can usually get myself out of a 'hopeless' mess just
 by downloading a live gentoo boot CD and using that to install a
 recent gentoo snapshot.  You need a second (working) computer to
 do that, of course.  (Everyone should have as many computers as
 possible for exactly that reason :o)

 Meanwhile, more info would help, as the others have already said.