Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5

2011-05-26 Thread Mick
On Thursday 26 May 2011 05:50:14 Walter Dnes wrote:
 On Wed, May 25, 2011 at 07:13:41PM +0200, Volker Armin Hemmann wrote
 
  On Wednesday 25 May 2011 08:46:48 Indi wrote:
  
  and have you ever heard of 'code reuse' or 'modularity'?
  
  It seems - no.
  
  Because KDE itself might be huge. But once loaded the apps are pretty
  small - because they reuse code. kmail does not have its own html
  engine. It does not matter where you type your text etc pp.
 
   Sorta like Internet Explorer in Windows.  It loads a lot faster and
 lighter than Firefox or Opera.  That's because ie.exe is merely a front
 end to a bunch of libraries that are loaded at boot time, which
 contributes to the boot process taking do long.  Starting ie.exe takes
 hardly any time, because 90% of the app is already loaded.
 
  Overall KDE uses LESS ram then most 'lightweight' solutions. Because
  xtermabiwordsome odd pagerthunderbird don't look so good anymore.
  
  This gem is a couple of years old, but still a worthy read:
  
  http://ktown.kde.org/~seli/memory/desktop_benchmark.html
  
  
  Read it. Seriously.
 
   I don't know how good exmap is, but my personal experience is quite
 different.  Between Fall 1999 and Summer 2007 I had a Dell Dimension
 with a 450 mhz PIII and 128 megs of *SYSTEM RAM* (no not the video card).
 It was actually quite usable to the very end, with Blackbox WM, and
 running a few apps.  Meanwhile, KDE (and GNOME for that matter) would
 take forever to load and make the system crawl after that, even with 1
 or 2 apps loaded.

I remember running Slackware on a Pentium 1 100MHz laptop with 128M RAM.  The 
speed was of course glacial unless I was running only a console with no X.  
KDE would load and run, as long as I didn't push it too much.  Fluxbox was 
more respectable.

In contrast, MSWindows NT4 would load and run better as it was a more light-
footed OS.  MSWindows 3.1 was blisteringly fast and MSDOS, well ...

However, life moves on and with the cost of hardware coming down software has 
moved towards larger, all bells and whistles, DEs.  The change in design 
philosophy from KDE3 to KDE4 made things worse for those of us who do not want 
everything and the kitchen sink thrown in, but still want to use some KDE 
apps.

Thankfully, the move to the KDE meta ebuilds has provided some compensation 
against a full blown monolithic KDE.

Personally, I'm grateful that Linux devs continue to develop exceptional 
software and so I don't have to use MSWindows.  On the other hand I have 
always preferred more lightweight WMs to the full enchilada of KDE and Gnome 
and wish that KDE devs retained the KDE3 design philosophy, or afforded us a 
light(er) option.

PS.  I'm not sure that Linus is using Gnome.  I recall him bitching that the 
Gnome design approach (which unfortunately KDE imitated) was not the right 
direction to evolve linux in.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5

2011-05-26 Thread Jesús J . Guerrero Botella
2011/5/26 Mick michaelkintz...@gmail.com:
 PS.  I'm not sure that Linus is using Gnome.  I recall him bitching that the
 Gnome design approach (which unfortunately KDE imitated) was not the right
 direction to evolve linux in.

Offtopic, but... He ditched gnome, then, a couple of years ago, he
ditched kde4. He will for sure ditch gnome3 in about a couple of
months.

http://www.networkworld.com/news/2009/012209-open-source-identity-linux-founder.html?page=1

He also said some time ago that, for years to come, there wouldn't be
a 2.8 or 3.x for the linux kernel, but yesterday he said the opposite.

That's not good or bad, it's just Linus speaking ;)
-- 
Jesús Guerrero Botella



[gentoo-user] FVWM Desktop scrolling not working with KDE open dialog box

2011-05-26 Thread Jake Moe
I'm having a weird issue I'm hoping someone here can help with. I've
asked on the FVWM mailing list, but they can't reproduce with my config,
so I'm hoping someone here with experience with the KDE/QT side of
things might be able to offer a suggestion.

I've configured FVWM with a single 3x3 desktop, and I've left off edge
resistance so I can flip between them easily.  This works fine most of
the time, but recently, I believe with updating KDE to 4.6.2, I've
noticed this problem.  When I have a KDE app (or possibly any QT app,
I'm not sure where exactly the distinction lies; it happens with
SMplayer as well, which I don't believe is strictly a KDE app, but a QT
app) open and try to open a file (or save a new file), when the dialog
box its up, the mouse (and focus) is on that dialog box, and I try to
move my mouse up to the upper page, it flicks to the new page for a
split second and then puts me back on the page with the KDE/QT app.  If,
while the dialog box is open, I let the mouse rest for a moment on the
application, the app gets focus for a split second, and then the dialog
seems to take it back.  Then when I move the mouse off the top of the
page, it works fine.

It seems to only be limited to QT/KDE, but I have no idea if it's a
bug in FVWM, or a feature in KDE that needs disabling.  Hope this
description makes sense.  Does anyone have any ideas?

FVWM version is fvwm 2.6.1 compiled on May 23 2011 at 18:40:17 with
support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, XRender, XCursor,
XFT, NLS, and my config is attached.

Any thoughts?

Jake Moe



fvwmconf.bz2
Description: BZip2 compressed data


Re: [gentoo-user] haldaemon group/user

2011-05-26 Thread Mick
On Thursday 26 May 2011 05:49:21 Valmor de Almeida wrote:
 On 05/25/2011 04:46 PM, Paul Hartman wrote:
  On Wed, May 25, 2011 at 3:37 PM, Valmor de Almeida val.gen...@gmail.com 
wrote:
  Should these have been eliminated or do I need to do it by hand or
  something else still needs it?
  
  I think you should do it by hand.
  
  In general, you can assume portage will never delete any config files
  or anything from /etc without your involvement (either manually or
  with etc-update or similar).
 
 Cleaned by hand. All working.

I just had a look and noticed that haldaemon is added as a user to a load of 
groups.  The group 'cdrw' only has haldaemon as a user.  What shall I do with 
it?

# less /etc/group | grep haldaemon
disk:x:6:root,adm,haldaemon
floppy:x:11:root,haldaemon
cdrom:x:19:haldaemon,michael
cdrw:x:80:haldaemon
haldaemon:x:1004:haldaemon
plugdev:x:1005:haldaemon,michael
-- 
Regards,
Mick


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


Re: [gentoo-user] haldaemon group/user

2011-05-26 Thread Alan McKinnon
Apparently, though unproven, at 11:50 on Thursday 26 May 2011, Mick did opine 
thusly:

 On Thursday 26 May 2011 05:49:21 Valmor de Almeida wrote:
  On 05/25/2011 04:46 PM, Paul Hartman wrote:
   On Wed, May 25, 2011 at 3:37 PM, Valmor de Almeida
   val.gen...@gmail.com
 
 wrote:
   Should these have been eliminated or do I need to do it by hand or
   something else still needs it?
   
   I think you should do it by hand.
   
   In general, you can assume portage will never delete any config files
   or anything from /etc without your involvement (either manually or
   with etc-update or similar).
  
  Cleaned by hand. All working.
 
 I just had a look and noticed that haldaemon is added as a user to a load
 of groups.  The group 'cdrw' only has haldaemon as a user.  What shall I
 do with it?
 
 # less /etc/group | grep haldaemon
 disk:x:6:root,adm,haldaemon
 floppy:x:11:root,haldaemon
 cdrom:x:19:haldaemon,michael
 cdrw:x:80:haldaemon
 haldaemon:x:1004:haldaemon
 plugdev:x:1005:haldaemon,michael

You should still delete it.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] haldaemon group/user

2011-05-26 Thread Mick
On Thursday 26 May 2011 11:30:12 Alan McKinnon wrote:
 Apparently, though unproven, at 11:50 on Thursday 26 May 2011, Mick did
 opine
 
 thusly:
  On Thursday 26 May 2011 05:49:21 Valmor de Almeida wrote:
   On 05/25/2011 04:46 PM, Paul Hartman wrote:
On Wed, May 25, 2011 at 3:37 PM, Valmor de Almeida
val.gen...@gmail.com
  
  wrote:
Should these have been eliminated or do I need to do it by hand or
something else still needs it?

I think you should do it by hand.

In general, you can assume portage will never delete any config files
or anything from /etc without your involvement (either manually or
with etc-update or similar).
   
   Cleaned by hand. All working.
  
  I just had a look and noticed that haldaemon is added as a user to a load
  of groups.  The group 'cdrw' only has haldaemon as a user.  What shall I
  do with it?
  
  # less /etc/group | grep haldaemon
  disk:x:6:root,adm,haldaemon
  floppy:x:11:root,haldaemon
  cdrom:x:19:haldaemon,michael
  cdrw:x:80:haldaemon
  haldaemon:x:1004:haldaemon
  plugdev:x:1005:haldaemon,michael
 
 You should still delete it.

I assume you mean just the haldaemon, not the group cdrw, right?

Then I leave the cdrw empty with no users, correct?
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5

2011-05-26 Thread Indi
On Thu, May 26, 2011 at 07:00:02AM +0200, Walter Dnes wrote:
 
   I don't know how good exmap is, but my personal experience is quite
 different.  Between Fall 1999 and Summer 2007 I had a Dell Dimension
 with a 450 mhz PIII and 128 megs of *SYSTEM RAM* (no not the video card).
 It was actually quite usable to the very end, with Blackbox WM, and
 running a few apps.  Meanwhile, KDE (and GNOME for that matter) would
 take forever to load and make the system crawl after that, even with 1
 or 2 apps loaded.
 

It's always like that with hardware though. My first computer 
was a 1987 Mac SE, eight (8) MHz CPU, maxed out to 4 MB RAM.
Two 800MB floppies plus an external 250MB HDD (huge for the time). 
Ran Mac System 6.0.8, I used it for multitrack audio recording and 
desktop publishing (sounds quaint now, huh?) into the '90s.
Of course, it had absolutely no security and only a poor illusion of 
multitasking... :)

For the time it was great, but what we have now is much more 
flexible, capable, and secure. The business of ever-increasng 
consumption of computing resources is probably unavoidable, barring 
some major advance in coding.  

-- 
caveat utilitor
♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤ 



Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5

2011-05-26 Thread Indi
On Thu, May 26, 2011 at 07:40:54AM -0400, Indi wrote:
 
 Two 800MB floppies 


800 KB, sorry. Can't even think that small anymore...
;)
-- 
caveat utilitor
♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤ 



[gentoo-user] file collisions

2011-05-26 Thread Allan Gottlieb
emerge complains that icu (details below) will overwrite files that MAY
belong to other packages.  But in fact none do.  The suggestion is to
ignore the collisions.  Does that mean I should simply rm the files
before retrying the emerge?

thanks,
allan

 * Messages for package dev-libs/icu-4.6.1:

 * Package:dev-libs/icu-4.6.1
 * Repository: gentoo
 * Maintainer: arfre...@gentoo.org
 * USE:amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Applying icu-4.6.1-parallel_installation.patch ...
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / filename` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * package dev-libs/icu-4.6.1 NOT merged
 * 
 * Detected file collision(s):
 * 
 *  /usr/lib64/libicutu.so.46.1
 *  /usr/lib64/libicuio.so.46.1
 *  /usr/lib64/libiculx.so.46.1
 *  /usr/lib64/libicutest.so.46.1
 *  /usr/lib64/libicudata.so.46.1
 *  /usr/lib64/libicui18n.so.46.1
 *  /usr/lib64/libicuuc.so.46.1
 *  /usr/lib64/libicule.so.46.1
 *  /usr/lib64/icu/4.6.1/Makefile.inc
 *  /usr/lib64/icu/4.6.1/pkgdata.inc
 *  /usr/share/doc/icu-4.6.1/unicode-license.txt.bz2
 *  /usr/share/doc/icu-4.6.1/html/readme.html
 *  /usr/share/icu/4.6.1/install-sh
 *  /usr/share/icu/4.6.1/license.html
 *  /usr/share/icu/4.6.1/mkinstalldirs
 *  /usr/share/icu/4.6.1/config/mh-linux
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'dev-libs/icu-4.6.1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
 * 



Re: [gentoo-user] file collisions

2011-05-26 Thread Alex Schuster
Allan Gottlieb writes:

 emerge complains that icu (details below) will overwrite files that MAY
 belong to other packages.  But in fact none do.  The suggestion is to
 ignore the collisions.  Does that mean I should simply rm the files
 before retrying the emerge?

Yes. If you think these files might be important, then you could back them 
up first. Apparently they belong to the icu stuff you are going to remerge 
anyway, so deleting should be safe I think. But it's strange that those 
files do not belong to any package.

Instead of removing them it would be easier to set FEATURES to -collision-
protect. And with FEATURES=keepwork you will not have to recompile icu. So, 
I would do this:

FEATURES=-collision-protect keepwork emerge -1a  dev-libs/icu

Remember that you have to delete stuff in /var/tmp/portage/dev-
libs/icu-4.6.1 manually afterwards.

Wonko



Re: [gentoo-user] Ctrl+C not working over ssh?

2011-05-26 Thread Todd Goodman
* Andy Wilkinson drukar...@gmail.com [110525 21:27]:
[...]
 Well, for no good reason, a reboot once I was back at the machine fixed
 the issue.  I'm not sure why; I didn't change anything.  I hate not
 knowing why reboots fix things. :(
 
 -Andy

Argh!!!  I did see in a google search that someone else had the problem
and a reboot fixed it too.

If it ever happens again I'd wonder if all new SSH sessions experience
the same problem and if so, if restarting the SSH daemon fixes it too.

Or if it's some weirdness with the psuedo-tty system.

Todd



Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5

2011-05-26 Thread Joost Roeleveld
On Thursday 26 May 2011 07:45:09 Indi wrote:
 On Thu, May 26, 2011 at 07:40:54AM -0400, Indi wrote:
  Two 800MB floppies
 
 800 KB, sorry. Can't even think that small anymore...
 ;)

Too bad, was just about to ask you where you found those back then :)

--
Joost



Re: [gentoo-user] Swap performance

2011-05-26 Thread Sebastian Beßler
Am 25.05.2011 22:07, schrieb Alan McKinnon:

 I'd be interested to hear any current use cases where swap delivers a 
 provable 
 benefit.

I need swap to build openoffice/libreoffice, my 8GB of RAM are not
sufficient all the time for the tmpfs of /var/tmp/portage when building
that.


But aside of that swap is useless and absolutly overrated. I have
swapness set to 5 and work with that without problems for nearly a year
now.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] FVWM Desktop scrolling not working with KDE open dialog box

2011-05-26 Thread Jesús J . Guerrero Botella
2011/5/26 Jake Moe jakesaddr...@gmail.com:
 I'm having a weird issue I'm hoping someone here can help with. I've
 asked on the FVWM mailing list, but they can't reproduce with my config,
 so I'm hoping someone here with experience with the KDE/QT side of
 things might be able to offer a suggestion.

I saw your question in the fvwm mailing list. If Thomas Adam couldn't
help there I don't think anyone here will be able to. But stay tuned,
just in case... I, like him, couldn't reproduce this. I've
occasionally used lots of kde applications with fvwm without this
problem.

 It seems to only be limited to QT/KDE, but I have no idea if it's a
 bug in FVWM, or a feature in KDE that needs disabling.  Hope this
 description makes sense.  Does anyone have any ideas?

Well, in my book, a kde app is an application that links against the
kde foundations (kdelibs), a qt-only app is an application that links
against any or many of the qt parts, but not against kdelibs. smplayer
seems to fall into the later category.

It could help if you were able to reproduce this with a minimal single
config file and try some more qt and kde programs.

-- 
Jesús Guerrero Botella



Re: [gentoo-user] [OT] network discovery tools

2011-05-26 Thread Florian Philipp
Am 25.05.2011 21:45, schrieb Harry Putnam:
 There must be a number of people who post here that have had to do
 this problem.
 
 Discover the addresses of computers on a home network that have
 connected by way of DHCP.  For example: Several wireless connections.
 
 I've used static IPS for around 10 yrs, always seemed handier for
 things like ssh between home lan computers. 
 
 But recently started using DHCP for wireless connections.  It must be
 such a popular method for some reason.
 
 But when you do it that way, and say want to VNC or ssh or the like to
 something connected by a dhcp serving WAP then how do you find the
 address?
 
 That is, besides something like accessing the WAP and checking the IPs
 connected to it.
 
 Is there some quick and sure way to discover any IPs on the home lan?
 
 Some kind of mapper tool?
 
 

While I personally prefer a combined DHCP+DNS server like dnsmasq, you
can also take a look at the whole Zeroconf/MDNS/Avahi/Bonjour stack.

I'm not really sure if you can configure common devices and Linux PCs to
use the DNS server for internet addresses and MDNS for local ones. In
theory, it should be possible since you can distinguish them (local
addresses should not be fully qualified _or_ have the domain .local).

net-misc/mDNSResponder, sys-auth/nss-mdns and net-dns/avahi are probably
good starting points.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] haldaemon group/user

2011-05-26 Thread Alan McKinnon
Apparently, though unproven, at 13:27 on Thursday 26 May 2011, Mick did opine 
thusly:


   I just had a look and noticed that haldaemon is added as a user to a
   load of groups.  The group 'cdrw' only has haldaemon as a user.  What
   shall I do with it?
   
   # less /etc/group | grep haldaemon
   disk:x:6:root,adm,haldaemon
   floppy:x:11:root,haldaemon
   cdrom:x:19:haldaemon,michael
   cdrw:x:80:haldaemon
   haldaemon:x:1004:haldaemon
   plugdev:x:1005:haldaemon,michael
  
  You should still delete it.
 
 I assume you mean just the haldaemon, not the group cdrw, right?
 
 Then I leave the cdrw empty with no users, correct?

Yes, just delete the user. It was created for hal to use and hal needed 
membership in various groups to work properly, noticeably for things like 
devices in /dev. 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Swap performance

2011-05-26 Thread Volker Armin Hemmann
On Thursday 26 May 2011 00:40:21 Alex Schuster wrote:
 Paul Hartman writes:
  On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org
  wrote:
  
  I can't remember the last time my swap was used at all. I have 12G of
  RAM, but in my prior system with 8G it was the same. Only in a rare
  case when some program had run-away memory usage/memory leak did I
  ever get to swap usage... I'm using vanilla kernel 2.6.39 with no
  patches, no BFS. And I use proprietary nvidia-drivers. I normally
  don't have so many programs running at once, but it happens sometimes.
 
 Maybe I should have bought 4G instead of 2G, so I'd have 10G, not 8G.
 I'm not sure if this is recommended these days, to have one memory bank
 with 4G and 3 others with 2G each.
 

It is very much not recommended nor wise.

Sometimes it works great, sometimes it just works, sometimes it burns down 
your village, rapes your cattle and steals your dad.

 
 It's growing: 1405m VIRT, 851m RES, 6m SHR. Strange, I did not actually
 use the desktop after I wrote the mail you replied to, currently I'm
 logged in from remote.

and you know that those numbers are pretty much meaningless?

about swap:

8gb ram, 24gb swap here. Swap so huge because of historical reasons (started 
with one disk with 8gb, now there are three...). But not so bad, considering 
all those tempfs mounts that can shoved in there.

Of course I am scared about the shitstorm if that ever happens.

I am using the standard scheduler, no fancy io-scheduling stuff, kernel 
2.6.36.6 and can't complain.

Even after a week of uptime I only get 500mb swap. Some cruft still in memory 
for some i-dont-know-reasons shoved in the hellhole swap so it won't get in 
the way of the more important stuff. Like gwenview. Or vlc. 



[gentoo-user] Re: thunderbird bug?

2011-05-26 Thread James
Adam Carter adamcarter3 at gmail.com writes:

 The same email address works, if
 I cut and past it into the To field of thunderbird.
 All other email address work just fine from thunderbird.

 Yes the auth message is bogus because you dont use different SMTP servers per 
 email message, and the auth message is only being triggered on a particular
 message. Other messages work fine (- did i get that right James?)

Well yes. ALL responses I try in Craigslist do this, as well as other sites
where you click and printed email address and the message pops us. Not just
a singular email address but every message of a particular type. Here is
another page with the same problem; but yet I can copy the email address
into the to field on a thunderbird message and it goes through just fine.

http://king.mysdhc.org/Admin2?plugin=RWDTemplates=RWDobject=/FACULTY CONTACT
LIST infobar=noConfPosition=2



 As a  troubleshooting step - have you tried a new profile? IIRC the 
 windows version has a profile manager, if the linux version doesnt 
 have the same then just move the .thunderbird directory so it 
 will re-create it with defaults when you launch it again. 


Well I'll copy the .thunderbird file to a new dir (so I can browse it later)
and see how this works.


James






Re: [gentoo-user] file collisions

2011-05-26 Thread Allan Gottlieb
On Thu, May 26 2011, Alex Schuster wrote:

 Allan Gottlieb writes:

 emerge complains that icu (details below) will overwrite files that MAY
 belong to other packages.  But in fact none do.  The suggestion is to
 ignore the collisions.  Does that mean I should simply rm the files
 before retrying the emerge?

 Yes. If you think these files might be important, then you could back them 
 up first. Apparently they belong to the icu stuff you are going to remerge 
 anyway, so deleting should be safe I think. But it's strange that those 
 files do not belong to any package.

 Instead of removing them it would be easier to set FEATURES to -collision-
 protect. And with FEATURES=keepwork you will not have to recompile icu. So, 
 I would do this:

 FEATURES=-collision-protect keepwork emerge -1a  dev-libs/icu

 Remember that you have to delete stuff in /var/tmp/portage/dev-
 libs/icu-4.6.1 manually afterwards.

thank you for the advice, which worked fine.

allan



[gentoo-user] gnome 3 ??

2011-05-26 Thread Allan Gottlieb
Since I don't teach again until sept, this seems like a good time to try
gnome 3.  Before I do, I wonder how others have fared.

This is gnome 3 vs gnome 2 (not kde).

thanks,
allan

PS my system is ~amd64.



Re: [gentoo-user] haldaemon group/user

2011-05-26 Thread Valmor de Almeida
On Thu, May 26, 2011 at 7:27 AM, Mick michaelkintz...@gmail.com wrote:
[snip]

 You should still delete it.

 I assume you mean just the haldaemon, not the group cdrw, right?

 Then I leave the cdrw empty with no users, correct?
 --
 Regards,
 Mick


This is what I did.

--
Valmor



Re: [gentoo-user] Swap performance

2011-05-26 Thread Alex Schuster
Volker Armin Hemmann writes:

 On Thursday 26 May 2011 00:40:21 Alex Schuster wrote:
  Paul Hartman writes:
   On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org
   wrote:

  Maybe I should have bought 4G instead of 2G, so I'd have 10G, not 8G.
  I'm not sure if this is recommended these days, to have one memory bank
  with 4G and 3 others with 2G each.
 
 It is very much not recommended nor wise.
 
 Sometimes it works great, sometimes it just works, sometimes it burns
 down your village, rapes your cattle and steals your dad.

Ookay.


  It's growing: 1405m VIRT, 851m RES, 6m SHR. Strange, I did not actually
  use the desktop after I wrote the mail you replied to, currently I'm
  logged in from remote.
 
 and you know that those numbers are pretty much meaningless?

Are they? Well, apparently _something_ in kwin was using hundreds of 
megabytes. When I was back at the PC, I had to wait three minutes until he 
password dialog appeared so I could unlock the session. iotop showed the 
kwin process swapping, and no other activity.
Now kwin is at 37M, which is much lower than I thought... whoops, I made a 
mistake in my previous posting, I got the virtual memory column instead by 
misusing awk. I also confused kwin with plasma-desktop, which had been 
really high in the past.

 about swap:
 
 8gb ram, 24gb swap here. Swap so huge because of historical reasons
 (started with one disk with 8gb, now there are three...). But not so
 bad, considering all those tempfs mounts that can shoved in there.

Yikes. I'd rather use the space for other stuff... no matter how large hard 
drives are, mine tend to fill up so I am glad for every extra gigabyte I can 
find.

 Of course I am scared about the shitstorm if that ever happens.
 
 I am using the standard scheduler, no fancy io-scheduling stuff, kernel
 2.6.36.6 and can't complain.

I do, a lot. But it seems that the system performs okay now.

 Even after a week of uptime I only get 500mb swap. Some cruft still in
 memory for some i-dont-know-reasons shoved in the hellhole swap so it
 won't get in the way of the more important stuff. Like gwenview. Or vlc.

Yeah, that's how it should be. A little swap is okay. But in my case it felt 
like important stuff was swapped out.

Wonko



[gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Mike Diehl
I'm trying to do an emerge -u world and I'm down to php and one other package 
that needs it.

I've done emerge --sync several times.
However, the php emerge fails:


Generating phar.php
/bin/sh: line 1: 11383 Segmentation fault  ` if test -x 
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php; then 
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n 
-- /var/tmp/portage/dev-
lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php -n; if test x != x; then 
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n 
--  -d 
extension_dir=/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/modules;
 for i 
in bz2 zlib phar; do if test -f 
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/modules/$i.la; then 
. /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/modules/$i.la; 
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-
build/cli/build/shtool echo -n --  -d extension=$dlname; fi; done; fi; else 
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n 
-- /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php; 
fi;` -d 
'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 
-d 'safe_mode=0' 
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/phar/build_precommand.php
  ext/phar/phar.php
make: *** [ext/phar/phar.php] Error 139
emake failed
 * ERROR: dev-lang/php-5.3.6 failed:
 *   emake failed
 * 
 * Call stack:
 *  ebuild.sh, line   56:  Called src_compile
 *environment, line 4620:  Called eblit-run 'src_compile' 'v1'
 *environment, line 1797:  Called eblit-php-src_compile
 *   src_compile-v1.eblit, line   14:  Called php_sapi_build 'cli'
 *   src_compile-v1.eblit, line   23:  Called die
 * The specific snippet of code:
 *  emake || die emake failed


Here is the result of emerge --info =dev-lang/php-5.3.6


Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 
2.6.32-gentoo-r7 i686)
=
System Settings
=
System uname: 
Linux-2.6.32-gentoo-r7-i686-Intel-R-_Xeon-TM-_CPU_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 26 May 2011 04:30:01 +
app-shells/bash: 4.1_p9
dev-lang/python: 2.6.4-r1, 3.1.2-r3
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc: 0.8.2-r1
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:  2.10.1-r1
virtual/os-headers:  0
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=* -@EULA
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/lib/fax /var/spool/fax/etc
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d 
/etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests binpkg-logs distlocks fixlafiles fixpackages news 
parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn 
unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j5
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=acl apache2 berkdb bzip2 cgi cli cracklib crypt cups cxx dbi dri fam 
ffmpeg fortran gd gdbm gif gpm gsm iconv imap iodbc ipv6 jabber jpeg libwww mad 
maildir managesieve mbox modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl 
nptlonly odbc ogg openmp pam pcre perl png postgres pppd python readline 
session sieve snmp sox speex sqlite3 sse sse2 ssl sysfs syslog tcpd unicode x86 
xml xorg zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 
cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci 
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug 
rate route share shm softvol APACHE2_MODULES=actions alias auth_basic 
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default 
authz_groupfile 

Re: [gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Todd Goodman
* Mike Diehl mdi...@diehlnet.com [110526 13:15]:
 I'm trying to do an emerge -u world and I'm down to php and one other package 
 that needs it.
 
 I've done emerge --sync several times.
 However, the php emerge fails:
 
 
 Generating phar.php
 /bin/sh: line 1: 11383 Segmentation fault  ` if test -x 
 /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php; then 
 /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n 
 -- /var/tmp/portage/dev-
[..]

What's your sh linked to?  (ls -l /bin/sh)

What's the version of the package that provides it?

Todd



Re: [gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Mike Diehl
On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote:
 * Mike Diehl mdi...@diehlnet.com [110526 13:15]:
  I'm trying to do an emerge -u world and I'm down to php and one other
  package that needs it.
  
  I've done emerge --sync several times.
  However, the php emerge fails:
  
  
  Generating phar.php
  /bin/sh: line 1: 11383 Segmentation fault  ` if test -x
  /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php;
  then
  /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool
  echo -n -- /var/tmp/portage/dev-
 
 [..]
 
 What's your sh linked to?  (ls -l /bin/sh)

lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh - bash

 What's the version of the package that provides it?

# emerge -s bash

*  app-shells/bash
  Latest version available: 4.1_p9
  Latest version installed: 4.1_p9
  Size of files: 6,457 kB
  Homepage:  http://tiswww.case.edu/php/chet/bash/bashtop.html
  Description:   The standard GNU Bourne again shell
  License:   GPL-3


 Todd

-- 

Take care and have fun,
Mike Diehl.



Re: [gentoo-user] Re: [OT] network discovery tools

2011-05-26 Thread Neil Bothwick
On Wed, 25 May 2011 15:28:04 -0500, Harry Putnam wrote:

 Just one simple command found all machines active on the home lan
 including those with DHCP served addresses:
 
 netdiscover -i eth0 ENTER

Thanks, I wasn't aware of netdiscover and it's a perfect fit for
something I needed this week.


-- 
Neil Bothwick

Set phasers to extreme itching!


signature.asc
Description: PGP signature


Re: [gentoo-user] haldaemon group/user

2011-05-26 Thread Mick
On Thursday 26 May 2011 17:29:34 Alan McKinnon wrote:
 Apparently, though unproven, at 13:27 on Thursday 26 May 2011, Mick did
 opine
 
 thusly:
I just had a look and noticed that haldaemon is added as a user to a
load of groups.  The group 'cdrw' only has haldaemon as a user.  What
shall I do with it?

# less /etc/group | grep haldaemon
disk:x:6:root,adm,haldaemon
floppy:x:11:root,haldaemon
cdrom:x:19:haldaemon,michael
cdrw:x:80:haldaemon
haldaemon:x:1004:haldaemon
plugdev:x:1005:haldaemon,michael
   
   You should still delete it.
  
  I assume you mean just the haldaemon, not the group cdrw, right?
  
  Then I leave the cdrw empty with no users, correct?
 
 Yes, just delete the user. It was created for hal to use and hal needed
 membership in various groups to work properly, noticeably for things like
 devices in /dev.

Thanks.  Just deleted haldaemon group and user throughout the file.
-- 
Regards,
Mick


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


Re: [gentoo-user] [OT] network discovery tools

2011-05-26 Thread Mick
On Thursday 26 May 2011 17:24:05 Florian Philipp wrote:
 Am 25.05.2011 21:45, schrieb Harry Putnam:
  There must be a number of people who post here that have had to do
  this problem.
  
  Discover the addresses of computers on a home network that have
  connected by way of DHCP.  For example: Several wireless connections.
  
  I've used static IPS for around 10 yrs, always seemed handier for
  things like ssh between home lan computers.
  
  But recently started using DHCP for wireless connections.  It must be
  such a popular method for some reason.
  
  But when you do it that way, and say want to VNC or ssh or the like to
  something connected by a dhcp serving WAP then how do you find the
  address?
  
  That is, besides something like accessing the WAP and checking the IPs
  connected to it.
  
  Is there some quick and sure way to discover any IPs on the home lan?
  
  Some kind of mapper tool?
 
 While I personally prefer a combined DHCP+DNS server like dnsmasq, you
 can also take a look at the whole Zeroconf/MDNS/Avahi/Bonjour stack.
 
 I'm not really sure if you can configure common devices and Linux PCs to
 use the DNS server for internet addresses and MDNS for local ones. In
 theory, it should be possible since you can distinguish them (local
 addresses should not be fully qualified _or_ have the domain .local).
 
 net-misc/mDNSResponder, sys-auth/nss-mdns and net-dns/avahi are probably
 good starting points.

netdiscover seems to do exactly what the OP asked for, although I have used 
arping and a couple of scripts I found on the net and modified them.

The first looks like this:
=
#!/usr/bin/env bash

quit_on_found=0
packet_count=2
subnet=
verbose=-q

usage()
{
cat  EOF
find_ip 1.0 Robin Wood (dni...@gmail.com) (www.digininja.org)

Find used and unused IPs on a network you don't haven an IP address on

usage: $0 options

OPTIONS:
-hShow this message
-c packet count The number of ping packets to send, default 2
-s subnet   First 3 parts of the subnet to test, default 
192.168.0
-qQuit when found first free address, default keep 
going
-vVerbose

EOF
}

have_arping=`which arping`

if [[ $have_arping ==  ]]
then
cat  EOF
usage: $0 options

You must have arping installed and in the current path for this scanner to 
work
EOF
exit 1
fi

while getopts  :hvs:qc: flag
do
case $flag in
h)
usage
exit 1
;;
c)
packet_count=$OPTARG
;;
q)
quit_on_found=1
;;
s)
subnet=$OPTARG
;;
v)
verbose=
;;
?)
usage
exit 1
;;
esac
done

if [[ $subnet ==  ]]
then
cat  EOF
usage: $0 options

You must provide a subnet
EOF
exit 1
fi

if [[ $verbose ==  ]]
then
if [[ $quit_on_found == 1 ]]
then
echo Quiting when found a free address
fi
echo Testing subnet $subnet.0/24
echo Sending $packet_count packets per IP
fi

for i in {1..254}
do
IP=$subnet.$i
arping $verbose -c $packet_count $IP
result=$?
if [[ $result == 0 ]]
then
echo $IP Used
else
echo $IP Free
if [[ $quit_on_found == 1 ]]
then
exit
fi
fi
done
=

Google for find_ip.sh

The other which I can't find at the moment prints out the MAC address of each 
IP address that is in use.  Alternatively, run the above script with the -v 
option and then scroll back to look at the MAC addresses.

Of course, I was using this before I knew that netdiscover existed - thanks 
for sharing!
-- 
Regards,
Mick


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


[gentoo-user] Need dovecot configuration help

2011-05-26 Thread Michael Sullivan
A couple of days ago I applied via etc-update a new init script and conf
file for dovecot.  Now I cannot get local LAN mail from it.  I was
previously able to.  My current dovecot version info is:

carter ~ # emerge -pv dovecot

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

Calculating dependencies... done!
[ebuild   R   ] net-mail/dovecot-2.0.11  USE=berkdb bzip2 doc ipv6 ldap
maildir mysql pam ssl zlib -caps -cydir -kerberos -managesieve -mbox
-mdbox -postgres -sdbox -sieve -sqlite -suid -vpopmail 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

The /etc/dovecot/dovecot.conf file is as such:

carter ~ # cat /etc/dovecot/dovecot.conf
## Dovecot configuration file

# If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration

# doveconf -n command gives a clean output of the changed settings. Use it
# instead of copypasting files when posting to the Dovecot mailing list.

# '#' character and everything after it is treated as comments. Extra spaces
# and tabs are ignored. If you want to use either of these explicitly,
put the
# value inside quotes, eg.: key = # char and trailing whitespace  

# Default values are shown for each setting, it's not required to uncomment
# those. These are exceptions to this though: No sections (e.g.
namespace {})
# or plugin settings are added by default, they're listed only as examples.
# Paths are also just examples with the real defaults being based on
configure
# options. The paths listed here are for configure --prefix=/usr
# --sysconfdir=/etc --localstatedir=/var

# Protocols we want to be serving.
protocols = imap pop3 lmtp

# A comma separated list of IPs or hosts where to listen in for
connections.
# * listens in all IPv4 interfaces, :: listens in all IPv6 interfaces.
# If you want to specify non-default ports or anything more complex,
# edit conf.d/master.conf.
#listen = *, ::

# Base directory where to store runtime data.
base_dir = /var/run/dovecot/

# Greeting message for clients.
login_greeting = Dovecot ready.

# Space separated list of trusted network ranges. Connections from these
# IPs are allowed to override their IP addresses and ports (for logging and
# for authentication checks). disable_plaintext_auth is also ignored for
# these networks. Typically you'd specify your IMAP proxy servers here.
login_trusted_networks = 192.168.2.2 192.168.2.3 192.168.2.4

# Sepace separated list of login access check sockets (e.g. tcpwrap)
#login_access_sockets =

# Show more verbose process titles (in ps). Currently shows user name and
# IP address. Useful for seeing who are actually using the IMAP processes
# (eg. shared mailboxes or if same uid is used for multiple accounts).
#verbose_proctitle = no

# Should all processes be killed when Dovecot master process shuts down.
# Setting this to no means that Dovecot can be upgraded without
# forcing existing client connections to close (although that could also be
# a problem if the upgrade is e.g. because of a security fix).
#shutdown_clients = yes

# If non-zero, run mail commands via this many connections to doveadm
server,
# instead of running them directly in the same process.
#doveadm_worker_count = 0
# UNIX socket or host:port used for connecting to doveadm server
#doveadm_socket_path = doveadm-server

# Space separated list of environment variables that are preserved on
Dovecot
# startup and passed down to all of its child processes. You can also give
# key=value pairs to always set specific settings.
#import_environment = TZ

##
## Dictionary server settings
##

# Dictionary can be used to store key=value lists. This is used by several
# plugins. The dictionary can be accessed either directly or though a
# dictionary server. The following dict block maps dictionary names to URIs
# when the server is used. These can then be referenced using URIs in format
# proxy::name.

dict {
  #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
}

# Most of the actual configuration gets included below. The filenames are
# first sorted by their ASCII value and parsed in that order. The
00-prefixes
# in filenames are intended to make it easier to understand the ordering.
!include conf.d/*.conf

# A config file can also tried to be included without giving an error if
# it's not found:
!include_try /etc/dovecot/local.conf

The dovecot server is on 192.168.2.2, and I am trying to connect from
192.168.2.3.  Please help!



Re: [gentoo-user] Need dovecot configuration help

2011-05-26 Thread Jarry

On 26. 5. 2011 21:04, Michael Sullivan wrote:

A couple of days ago I applied via etc-update a new init script and conf
file for dovecot.  Now I cannot get local LAN mail from it.  I was
previously able to.


I do not know which dovecot version you had before,
but 2.0.11 is the first 2.x in portage, so I suppose
it was 1.x

I remember updating from 1.x to 2.x was not so easy.
etc-update did not help me, configurtion changed a lot.
I had to edit a few new files in /etc/dovecot/conf.d,
some concerning authentication (10-auth.conf, auth-*)...

Jarry

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



Re: [gentoo-user] gnome 3 ??

2011-05-26 Thread Canek Peláez Valdés
On Thu, May 26, 2011 at 11:14 AM, Allan Gottlieb gottl...@nyu.edu wrote:
 Since I don't teach again until sept, this seems like a good time to try
 gnome 3.  Before I do, I wonder how others have fared.

 This is gnome 3 vs gnome 2 (not kde).

 thanks,
 allan

 PS my system is ~amd64.

I actually like it a lot. However, a lot of things are not
customizable, and several other things behave completely different
from GNOME 2. I've been using it since the last month or so, and I
think I'm already used to the new UI. I believe it's a little faster
than GNOME 2, and it definitely get less in the way to actually do
work.

Just my opinion. Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] openrc and /etc/modprobe.d/*

2011-05-26 Thread Mick
As I was booting an old laptop I noticed a message coming up telling me that 
the /etc/modprobe.d/irda file will be done away with in future versions.

Are these files now deprecated?  Are we meant to fit everything in 
/etc/conf.d/modules as per the OpenRC migration page?

http://www.gentoo.org/doc/en/openrc-migration.xml

Most of the /etc/modprobe.d/* files were created at the time I installed 
packages and include aliases for character device drivers and what not - of 
course I have a couple which I set up myself.  Not all of the info has been 
transferred over to /etc/conf.d/modules;  e.g.

alias char-major-161 ircomm-tty

Am I supposed to copy such stuff over to /etc/conf.d/modules myself, or am I 
going to mess up the new way of configuring modules?
-- 
Regards,
Mick


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


Re: [gentoo-user] Need dovecot configuration help

2011-05-26 Thread Michael Sullivan
On 05/26/11 14:26, Jarry wrote:
 On 26. 5. 2011 21:04, Michael Sullivan wrote:
 A couple of days ago I applied via etc-update a new init script and conf
 file for dovecot.  Now I cannot get local LAN mail from it.  I was
 previously able to.
 
 I do not know which dovecot version you had before,
 but 2.0.11 is the first 2.x in portage, so I suppose
 it was 1.x
 
 I remember updating from 1.x to 2.x was not so easy.
 etc-update did not help me, configurtion changed a lot.
 I had to edit a few new files in /etc/dovecot/conf.d,
 some concerning authentication (10-auth.conf, auth-*)...
 
 Jarry
 


I can't even figure out what port dovecot is running on.  I would assume
143 for IMAP, but telnetting to 192.168.2.2 dovecot does not greet me.
I can access the mail from the dovecot server from mutt in my terminal
window ssh'd over to that machine, but I need to be able to access it
from thunderbird, which can't even find the machine



[gentoo-user] Re: thunderbird bug?

2011-05-26 Thread walt
On 05/26/2011 09:58 AM, James wrote:
 Adam Carter adamcarter3 at gmail.com writes:

 As a  troubleshooting step - have you tried a new profile? IIRC the 
 windows version has a profile manager, if the linux version doesnt 
 have the same then just move the .thunderbird directory so it 
 will re-create it with defaults when you launch it again. 
 
 
 Well I'll copy the .thunderbird file to a new dir (so I can browse it later)
 and see how this works.

Both thunderbird and firefox can be started from a command prompt
with the -ProfileManager option.  Can be very useful for debugging
things like this.




Re: [gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Mick
On Thursday 26 May 2011 19:07:20 Mike Diehl wrote:
 On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote:
  * Mike Diehl mdi...@diehlnet.com [110526 13:15]:
   I'm trying to do an emerge -u world and I'm down to php and one other
   package that needs it.
   
   I've done emerge --sync several times.
   However, the php emerge fails:
   
   ===
   = Generating phar.php
   /bin/sh: line 1: 11383 Segmentation fault  ` if test -x
   /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php
   ; then
   /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool
   echo -n -- /var/tmp/portage/dev-
  
  [..]
  
  What's your sh linked to?  (ls -l /bin/sh)
 
 lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh - bash
 
  What's the version of the package that provides it?
 
 # emerge -s bash
 
 *  app-shells/bash
   Latest version available: 4.1_p9
   Latest version installed: 4.1_p9
   Size of files: 6,457 kB
   Homepage:  http://tiswww.case.edu/php/chet/bash/bashtop.html
   Description:   The standard GNU Bourne again shell
   License:   GPL-3

Not sure if this is your problem, but since my eye caught some .la files in 
your log I would first run:

  /usr/bin/lafilefixer --justfixit

and then:

  revdep-rebuild -v -- --ask

for good measure before trying again to emerge this package.
-- 
Regards,
Mick


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


Re: [gentoo-user] Need dovecot configuration help

2011-05-26 Thread Todd Goodman
* Michael Sullivan msulli1...@gmail.com [110526 14:40]:
 A couple of days ago I applied via etc-update a new init script and conf
 file for dovecot.  Now I cannot get local LAN mail from it.  I was
 previously able to.  My current dovecot version info is:
 
 carter ~ # emerge -pv dovecot
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R   ] net-mail/dovecot-2.0.11  USE=berkdb bzip2 doc ipv6 ldap
 maildir mysql pam ssl zlib -caps -cydir -kerberos -managesieve -mbox
 -mdbox -postgres -sdbox -sieve -sqlite -suid -vpopmail 0 kB
 
 Total: 1 package (1 reinstall), Size of downloads: 0 kB
 
  * IMPORTANT: 3 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 The /etc/dovecot/dovecot.conf file is as such:
[..]
 #listen = *, ::

What's the exact problem you're having?  No response?  Error response
from dovecot?

Do you see dovecot listening?

Do a 'netstat -a -t | egrep imap' and see if there's any output.

If it's not listening on *:imap (say on 127.0.0.1:imap for example)
then you probably want the 'listen = *' in your config file.

Is dovecot complaining in the logs?

When you emerge a new dovecot you need to restart it
(/etc/init.d/dovecot restart) or else you'll get errors with the
client/server communication as well.

Todd



Re: [gentoo-user] Need dovecot configuration help [SOLVED]

2011-05-26 Thread Michael Sullivan
On 05/26/11 14:26, Jarry wrote:
 On 26. 5. 2011 21:04, Michael Sullivan wrote:
 A couple of days ago I applied via etc-update a new init script and conf
 file for dovecot.  Now I cannot get local LAN mail from it.  I was
 previously able to.
 
 I do not know which dovecot version you had before,
 but 2.0.11 is the first 2.x in portage, so I suppose
 it was 1.x
 
 I remember updating from 1.x to 2.x was not so easy.
 etc-update did not help me, configurtion changed a lot.
 I had to edit a few new files in /etc/dovecot/conf.d,
 some concerning authentication (10-auth.conf, auth-*)...
 
 Jarry
 

I was able to reload an old dovecot.conf from backups and convert it to
the new dovecot format using the command I found at
http://wiki2.dovecot.org/Upgrading/2.0

It seems to be working now...



Re: [gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Alex Schuster
Mick writes:

 On Thursday 26 May 2011 19:07:20 Mike Diehl wrote:
 On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote:
 * Mike Diehl mdi...@diehlnet.com [110526 13:15]:

 = Generating phar.php
 /bin/sh: line 1: 11383 Segmentation fault  ` if test -x
 /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php
 ; then
 /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool
 echo -n -- /var/tmp/portage/dev-
[...]
 Not sure if this is your problem, but since my eye caught some .la files in 
 your log I would first run:
 
   /usr/bin/lafilefixer --justfixit
 
 and then:
 
   revdep-rebuild -v -- --ask
 
 for good measure before trying again to emerge this package.

Those .la files are inside the build directory, so this will not help.
The are sourced (. blabla.la), this defines some variables that are
being echoed later, and all that goes into the file ext/phar/phar.php.

I would change into the build directory and paste the whole 'if test -x
/var/tmp/portage/...' stuff to the shell. Does the same error happen?
If so, try to find the exact command that triggers it. Any errors when
sourcing the .la file?

Wonko



Re: [gentoo-user] file collisions

2011-05-26 Thread Mick
On Thursday 26 May 2011 17:06:14 Allan Gottlieb wrote:
 On Thu, May 26 2011, Alex Schuster wrote:
  Allan Gottlieb writes:
  emerge complains that icu (details below) will overwrite files that MAY
  belong to other packages.  But in fact none do.  The suggestion is to
  ignore the collisions.  Does that mean I should simply rm the files
  before retrying the emerge?
  
  Yes. If you think these files might be important, then you could back
  them up first. Apparently they belong to the icu stuff you are going to
  remerge anyway, so deleting should be safe I think. But it's strange
  that those files do not belong to any package.
  
  Instead of removing them it would be easier to set FEATURES to
  -collision- protect. And with FEATURES=keepwork you will not have to
  recompile icu. So, I would do this:
  
  FEATURES=-collision-protect keepwork emerge -1a  dev-libs/icu
  
  Remember that you have to delete stuff in /var/tmp/portage/dev-
  libs/icu-4.6.1 manually afterwards.
 
 thank you for the advice, which worked fine.

I could swear I saw the same/similar message about collisions, but in my case 
the package emerged and the files were overwritten.  Not sure if I have some 
FEATURES setting that took care of this.

-- 
Regards,
Mick


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


Re: [gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Todd Goodman
* Mike Diehl mdi...@diehlnet.com [110526 13:40]:
 On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote:
  * Mike Diehl mdi...@diehlnet.com [110526 13:15]:
   I'm trying to do an emerge -u world and I'm down to php and one other
   package that needs it.
   
   I've done emerge --sync several times.
   However, the php emerge fails:
   
   
   Generating phar.php
   /bin/sh: line 1: 11383 Segmentation fault  ` if test -x
   /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php;
   then
   /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool
   echo -n -- /var/tmp/portage/dev-
  
  [..]
  
  What's your sh linked to?  (ls -l /bin/sh)
 
 lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh - bash
 
  What's the version of the package that provides it?
 
 # emerge -s bash
 
 *  app-shells/bash
   Latest version available: 4.1_p9
   Latest version installed: 4.1_p9
   Size of files: 6,457 kB
   Homepage:  http://tiswww.case.edu/php/chet/bash/bashtop.html
   Description:   The standard GNU Bourne again shell
   License:   GPL-3
 
 
  Todd
 
 -- 
 
 Take care and have fun,
 Mike Diehl.

Wow, that is one seriously ugly line.

I'm able to build it OK (I'm running with php-5.3.6-r1 but built 5.3.6 with
ebuild /usr/portage/dev-lang/php/php-5.3.6.ebuild compile)

But I have bash-4.1_p10 and maybe our USE flags are different too.

Something is crashing while trying to do that mega-line run of shtool.

You could do the ebuild above so that you can then go into
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build and see
if you can run shtool with that huge line and see what crashes.

Sorry,

Todd



Re: [gentoo-user] file collisions

2011-05-26 Thread Alex Schuster
Mick writes:

 On Thursday 26 May 2011 17:06:14 Allan Gottlieb wrote:
 On Thu, May 26 2011, Alex Schuster wrote:

 FEATURES=-collision-protect keepwork emerge -1a  dev-libs/icu

 Remember that you have to delete stuff in /var/tmp/portage/dev-
 libs/icu-4.6.1 manually afterwards.

 thank you for the advice, which worked fine.
 
 I could swear I saw the same/similar message about collisions, but in my case 
 the package emerged and the files were overwritten.  Not sure if I have some 
 FEATURES setting that took care of this.

You probably do not have FEATURES=collision-protect in make.conf, it
is not activated by default.
The similar FEATURE protect-owned is set by default, but this only
refuses to overwrite files belonging to another package.

Wonko



Re: [gentoo-user] Swap performance

2011-05-26 Thread Mick
On Wednesday 25 May 2011 17:49:29 Alan McKinnon wrote:
 Apparently, though unproven, at 16:20 on Wednesday 25 May 2011, Alex
 Schuster
 
 did opine thusly:
  Oh, even weirder: The phone just rang, and five minutes later, swap has
  gone  to 860M. I was running rdiff-backup --list-increment-sizes, maybe
  this uses much memory, and caches the stuff. Now the command has
  finished, and paging has stopped. The rdiff-backup process itself does
  not use much memory.
  
  BTW, does anyone else's kwin use 750M? That's pretty high, I think it
  used to be more like 300M.
 
 I've been noticing this kind of thing too for a while now. In my case it's
 the nepomuk/akonadi/virtuoso stack doing it - it seems to trigger full
 scans at weird times and does other special things after a resume from
 suspend.
 
 Virtuoso can sometimes get as high as 800M RES memory in top. Which is all
 quite bizarre, I suspect a dodgy config on my part.
 
 As for kwin - what column are you reading the value from? Here kwin uses
 more like 60M

This is kwin usage from a 32bit Pentium 4 box with 3G of RAM:

VIRT  SHR  RES
143m  22m  29m

At this moment I am compiling chromium (which will take close to 2 hours) and 
it's eaten up 1560K swap.  Under normal usage the 3G or RAM is more than 
adequate.  Small amounts of swapping happen only when I emerge something large 
(e.g. OOo) or when I fire up VirtualBox and have umpteen apps open, browsers 
with dozens of tabs, etc.

PS.  I have switched off desktop search and although I can see akonadi/nepomuk 
there's no virtuoso, strigi or other such stuff showing up.
-- 
Regards,
Mick


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


Re: [gentoo-user] FVWM Desktop scrolling not working with KDE open dialog box

2011-05-26 Thread Jake Moe
On 05/27/11 00:22, Jesús J. Guerrero Botella wrote:
 2011/5/26 Jake Moe jakesaddr...@gmail.com:
 I'm having a weird issue I'm hoping someone here can help with. I've
 asked on the FVWM mailing list, but they can't reproduce with my config,
 so I'm hoping someone here with experience with the KDE/QT side of
 things might be able to offer a suggestion.
 I saw your question in the fvwm mailing list. If Thomas Adam couldn't
 help there I don't think anyone here will be able to. But stay tuned,
 just in case... I, like him, couldn't reproduce this. I've
 occasionally used lots of kde applications with fvwm without this
 problem.
 It seems to only be limited to QT/KDE, but I have no idea if it's a
 bug in FVWM, or a feature in KDE that needs disabling.  Hope this
 description makes sense.  Does anyone have any ideas?
 Well, in my book, a kde app is an application that links against the
 kde foundations (kdelibs), a qt-only app is an application that links
 against any or many of the qt parts, but not against kdelibs. smplayer
 seems to fall into the later category.

 It could help if you were able to reproduce this with a minimal single
 config file and try some more qt and kde programs.
I've tried it with SMplayer, Kdevelop,  Kate, KMyMoney, and KolourPaint
and they all exhibit the same behaviour.  Gnome and other X apps don't
exhibit the same behaviour, it seems limited to KDE apps.

I'll try to strip down a config and see if I can't find what option does
it.  I think I might also move my .kde4 folder temporarily and see if it
still happens.

Thanks for the reply.

Jake Moe



Re: [gentoo-user] gnome 3 ??

2011-05-26 Thread Allan Gottlieb
On Thu, May 26 2011, Canek Peláez Valdés wrote:

 On Thu, May 26, 2011 at 11:14 AM, Allan Gottlieb gottl...@nyu.edu wrote:
 Since I don't teach again until sept, this seems like a good time to try
 gnome 3.  Before I do, I wonder how others have fared.

 thanks,
 allan

 PS my system is ~amd64.

 I actually like it a lot. However, a lot of things are not
 customizable, and several other things behave completely different
 from GNOME 2. I've been using it since the last month or so, and I
 think I'm already used to the new UI. I believe it's a little faster
 than GNOME 2, and it definitely get less in the way to actually do
 work.

Thank you.  Some forum posts suggest that upgrading to gnome3 from
gnome2 is difficult.  Did you

1.  Upgrade from 2.32.1
2.  Unmerge 2.32.1 then merge 3
3.  Do a fresh install of gentoo w/o gnome and then install gnome3
4.  Do something else

thanks again,
allan



Re: [gentoo-user] FVWM Desktop scrolling not working with KDE open dialog box

2011-05-26 Thread Jesús J . Guerrero Botella
2011/5/26 Jake Moe jakesaddr...@gmail.com:
 On 05/27/11 00:22, Jesús J. Guerrero Botella wrote:
 2011/5/26 Jake Moe jakesaddr...@gmail.com:
 I'm having a weird issue I'm hoping someone here can help with. I've
 asked on the FVWM mailing list, but they can't reproduce with my config,
 so I'm hoping someone here with experience with the KDE/QT side of
 things might be able to offer a suggestion.
 I saw your question in the fvwm mailing list. If Thomas Adam couldn't
 help there I don't think anyone here will be able to. But stay tuned,
 just in case... I, like him, couldn't reproduce this. I've
 occasionally used lots of kde applications with fvwm without this
 problem.
 It seems to only be limited to QT/KDE, but I have no idea if it's a
 bug in FVWM, or a feature in KDE that needs disabling.  Hope this
 description makes sense.  Does anyone have any ideas?
 Well, in my book, a kde app is an application that links against the
 kde foundations (kdelibs), a qt-only app is an application that links
 against any or many of the qt parts, but not against kdelibs. smplayer
 seems to fall into the later category.

 It could help if you were able to reproduce this with a minimal single
 config file and try some more qt and kde programs.
 I've tried it with SMplayer, Kdevelop,  Kate, KMyMoney, and KolourPaint
 and they all exhibit the same behaviour.  Gnome and other X apps don't
 exhibit the same behaviour, it seems limited to KDE apps.

 I'll try to strip down a config and see if I can't find what option does
 it.  I think I might also move my .kde4 folder temporarily and see if it
 still happens.

One quick thing you could try is to create a new user and try there,
if you don't want to mess up your kde config.

-- 
Jesús Guerrero Botella



[gentoo-user] Goodbye, Gentoo

2011-05-26 Thread Kevin O'Gorman
It looks like it's time to take Gentoo off of my main machine.  I feel a
little sad about it, or I'd just quietly go away.

A few months ago, an update made the machine headless -- well, it could no
longer bring up X but I could use the console-mode for admin, and log in via
SSH from my laptop and run GUI programs.  I was busy at the time, first
deciding and then implementing my retirement, so I let it go.

Now, a couple of months into my retirement, I'm trying to fix things up, and
the latest Gentoo live disk cannot talk to my monitor at all.  Whatever it's
trying is unacceptable to the HD monitor I've had on there for a year, and I
can't even run the consoles.  The video card is an ATI Rage XL on the
motherboard.  Like the rest of the machine, it's vintage 2000, so maybe
support got dropped.  But I'm not inclined to drop the machine -- it was the
ballyhooed thing in Linux Journal in 2002 when I finished my PHD, so I put
together these pieces:
* Two XEON chips.  I didn't know it right away but that means 4 cores.  They
are old Pentium IV-based 32-bit chips.  I got the slowest still being made,
so the clock speed is 1.6 GHz.  On 4 cores, it's not bad at all.
*  2GB of DDR ECC memory
* about a dozen hard drives (some old, but mostly 500GB - 2TB Sata drives),
I feel it's still worthy of respect.  Some of these are in EZ-Dock docking
stations and are used for rotating backups (including off-site).  The main
directories are on hardware RAID 1 so I have ongoing redundancy.
* a Smart UPS 1500 for everything except the laser printer.

So, since I am familiar with Ubuntu from work, and have it on a couple of
laptops, I'm installing from the Ubuntu 11.04 live disk (video is just
fine).

The real headache is all the stuff I'm going to have to port.

1) Apache and dynamic (Python CGI) web site.
2) Postfix
3) About a dozen accounts that just do wget(1) data gathering triggered by
the cron daemon.
4) DNS (I run my own domain on a commercial DSL account)
5) NTP client and server
6) Whatever else I forgot I set up over the years.

My original reason for using Gentoo is that this machine was pretty exotic
when I bought it, and I wanted to be able to tweak the compiler to get the
most out of it.  I can still do that for specific applications I'm working
on, but otherwise it's really a non-issue now.  I have gotten pretty tired
of updates that take over 48 hours to compile, and the occasional mess-up
that once or twice led me to rebuild with empty-tree and took a week or so.


So I guess I shouldn't complain (and I'm not).  I'm just not in the target
market for Gentoo any more.  It was fun, though.
-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] gnome 3 ??

2011-05-26 Thread Canek Peláez Valdés
On Thu, May 26, 2011 at 4:23 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 On Thu, May 26 2011, Canek Peláez Valdés wrote:

 On Thu, May 26, 2011 at 11:14 AM, Allan Gottlieb gottl...@nyu.edu wrote:
 Since I don't teach again until sept, this seems like a good time to try
 gnome 3.  Before I do, I wonder how others have fared.

 thanks,
 allan

 PS my system is ~amd64.

 I actually like it a lot. However, a lot of things are not
 customizable, and several other things behave completely different
 from GNOME 2. I've been using it since the last month or so, and I
 think I'm already used to the new UI. I believe it's a little faster
 than GNOME 2, and it definitely get less in the way to actually do
 work.

 Thank you.  Some forum posts suggest that upgrading to gnome3 from
 gnome2 is difficult.  Did you

 1.  Upgrade from 2.32.1
 2.  Unmerge 2.32.1 then merge 3
 3.  Do a fresh install of gentoo w/o gnome and then install gnome3
 4.  Do something else

All of the above? :D

I keyworded and unmasked the necessary packages to make
=gnome-base/gnome-3.0.0 emergable; then I upgraded like usual. There
were some problems, but usually solvable by emerge -C the offending
package (and older version, generally). I removed (after backup)
~/.gconf, ~/.gnome2* ~/.metacity ~/.nautilus and ~/.evolution (I
*think* this was not really necessary, by I wanted to see a pristine
GNOME 3). At the end, I emerge --depclean, and then after a couple of
emerge -uDNvp world everything went to normal. I haven't had  any
problem since then.

Oh, at some point I emerge @preserved-rebuild and then again emerge --depclean.

It took a couple of days of try/error, and be warned that you should
do this fom a VT, not from X (unless you do it under twm or something
like that).

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] gnome 3 ??

2011-05-26 Thread Bill Kenworthy
On Thu, 2011-05-26 at 12:14 -0400, Allan Gottlieb wrote:
 Since I don't teach again until sept, this seems like a good time to try
 gnome 3.  Before I do, I wonder how others have fared.
 
 This is gnome 3 vs gnome 2 (not kde).
 
 thanks,
 allan
 
 PS my system is ~amd64.
 

I am in the same situation - a month or so to sort out any problems so
its time to make the leap now.

I have used gnome for the last 10 years and its often t'd me off so much
I have almost, but not quite made the jump to KDE (I did install KDE on
all my desktops though :)

Some of my colleagues are using unity on ubuntu and that looks nice
and suits my workflow more than the current gnome, and far more than
gnome3.

Is it possible to install/use unity on gentoo?

BillK






Re: [gentoo-user] Goodbye, Gentoo

2011-05-26 Thread Mark Shields
On Thu, May 26, 2011 at 6:28 PM, Kevin O'Gorman kogor...@gmail.com wrote:

 It looks like it's time to take Gentoo off of my main machine.  I feel a
 little sad about it, or I'd just quietly go away.

 A few months ago, an update made the machine headless -- well, it could no
 longer bring up X but I could use the console-mode for admin, and log in via
 SSH from my laptop and run GUI programs.  I was busy at the time, first
 deciding and then implementing my retirement, so I let it go.

 Now, a couple of months into my retirement, I'm trying to fix things up,
 and the latest Gentoo live disk cannot talk to my monitor at all.  Whatever
 it's trying is unacceptable to the HD monitor I've had on there for a year,
 and I can't even run the consoles.  The video card is an ATI Rage XL on the
 motherboard.  Like the rest of the machine, it's vintage 2000, so maybe
 support got dropped.  But I'm not inclined to drop the machine -- it was the
 ballyhooed thing in Linux Journal in 2002 when I finished my PHD, so I put
 together these pieces:
 * Two XEON chips.  I didn't know it right away but that means 4 cores.
 They are old Pentium IV-based 32-bit chips.  I got the slowest still being
 made, so the clock speed is 1.6 GHz.  On 4 cores, it's not bad at all.
 *  2GB of DDR ECC memory
 * about a dozen hard drives (some old, but mostly 500GB - 2TB Sata drives),
 I feel it's still worthy of respect.  Some of these are in EZ-Dock docking
 stations and are used for rotating backups (including off-site).  The main
 directories are on hardware RAID 1 so I have ongoing redundancy.
 * a Smart UPS 1500 for everything except the laser printer.

 So, since I am familiar with Ubuntu from work, and have it on a couple of
 laptops, I'm installing from the Ubuntu 11.04 live disk (video is just
 fine).

 The real headache is all the stuff I'm going to have to port.

 1) Apache and dynamic (Python CGI) web site.
 2) Postfix
 3) About a dozen accounts that just do wget(1) data gathering triggered by
 the cron daemon.
 4) DNS (I run my own domain on a commercial DSL account)
 5) NTP client and server
 6) Whatever else I forgot I set up over the years.

 My original reason for using Gentoo is that this machine was pretty exotic
 when I bought it, and I wanted to be able to tweak the compiler to get the
 most out of it.  I can still do that for specific applications I'm working
 on, but otherwise it's really a non-issue now.  I have gotten pretty tired
 of updates that take over 48 hours to compile, and the occasional mess-up
 that once or twice led me to rebuild with empty-tree and took a week or so.


 So I guess I shouldn't complain (and I'm not).  I'm just not in the target
 market for Gentoo any more.  It was fun, though.
 --
 Kevin O'Gorman, PhD



You let a small problem like the latest live cd not booting your system
scare you away?

Have you tried using an older live cd?  If it's a video issue, maybe
detecting your monitor wrong, how about turning on the framebuffer (there's
an option for that)?

It's doable man, don't give up.


Re: [gentoo-user] gnome 3 ??

2011-05-26 Thread Allan Gottlieb
On Thu, May 26 2011, Canek Peláez Valdés wrote:

 On Thu, May 26, 2011 at 4:23 PM, Allan Gottlieb gottl...@nyu.edu wrote:

 Thank you.  Some forum posts suggest that upgrading to gnome3 from
 gnome2 is difficult.  Did you

 1.  Upgrade from 2.32.1
 2.  Unmerge 2.32.1 then merge 3
 3.  Do a fresh install of gentoo w/o gnome and then install gnome3
 4.  Do something else

 All of the above? :D

 I keyworded and unmasked the necessary packages to make
 =gnome-base/gnome-3.0.0 emergable; then I upgraded like usual. There
 were some problems, but usually solvable by emerge -C the offending
 package (and older version, generally). I removed (after backup)
 ~/.gconf, ~/.gnome2* ~/.metacity ~/.nautilus and ~/.evolution (I
 *think* this was not really necessary, by I wanted to see a pristine
 GNOME 3). At the end, I emerge --depclean, and then after a couple of
 emerge -uDNvp world everything went to normal. I haven't had  any
 problem since then.

 Oh, at some point I emerge @preserved-rebuild and then again emerge
 --depclean.

 It took a couple of days of try/error, and be warned that you should
 do this fom a VT, not from X (unless you do it under twm or something
 like that).

Sounds like I should do it on my spare laptop first.
thanks again.
allan



Re: [gentoo-user] Goodbye, Gentoo

2011-05-26 Thread Kevin O'Gorman
On Thu, May 26, 2011 at 6:57 PM, Mark Shields laebsh...@gmail.com wrote:

 On Thu, May 26, 2011 at 6:28 PM, Kevin O'Gorman kogor...@gmail.comwrote:

 It looks like it's time to take Gentoo off of my main machine.  I feel a
 little sad about it, or I'd just quietly go away.

 A few months ago, an update made the machine headless -- well, it could no
 longer bring up X but I could use the console-mode for admin, and log in via
 SSH from my laptop and run GUI programs.  I was busy at the time, first
 deciding and then implementing my retirement, so I let it go.

 Now, a couple of months into my retirement, I'm trying to fix things up,
 and the latest Gentoo live disk cannot talk to my monitor at all.  Whatever
 it's trying is unacceptable to the HD monitor I've had on there for a year,
 and I can't even run the consoles.  The video card is an ATI Rage XL on the
 motherboard.  Like the rest of the machine, it's vintage 2000, so maybe
 support got dropped.  But I'm not inclined to drop the machine -- it was the
 ballyhooed thing in Linux Journal in 2002 when I finished my PHD, so I put
 together these pieces:
 * Two XEON chips.  I didn't know it right away but that means 4 cores.
 They are old Pentium IV-based 32-bit chips.  I got the slowest still being
 made, so the clock speed is 1.6 GHz.  On 4 cores, it's not bad at all.
 *  2GB of DDR ECC memory
 * about a dozen hard drives (some old, but mostly 500GB - 2TB Sata
 drives), I feel it's still worthy of respect.  Some of these are in EZ-Dock
 docking stations and are used for rotating backups (including off-site).
 The main directories are on hardware RAID 1 so I have ongoing redundancy.
 * a Smart UPS 1500 for everything except the laser printer.

 So, since I am familiar with Ubuntu from work, and have it on a couple of
 laptops, I'm installing from the Ubuntu 11.04 live disk (video is just
 fine).

 The real headache is all the stuff I'm going to have to port.

 1) Apache and dynamic (Python CGI) web site.
 2) Postfix
 3) About a dozen accounts that just do wget(1) data gathering triggered by
 the cron daemon.
 4) DNS (I run my own domain on a commercial DSL account)
 5) NTP client and server
 6) Whatever else I forgot I set up over the years.

 My original reason for using Gentoo is that this machine was pretty exotic
 when I bought it, and I wanted to be able to tweak the compiler to get the
 most out of it.  I can still do that for specific applications I'm working
 on, but otherwise it's really a non-issue now.  I have gotten pretty tired
 of updates that take over 48 hours to compile, and the occasional mess-up
 that once or twice led me to rebuild with empty-tree and took a week or so.


 So I guess I shouldn't complain (and I'm not).  I'm just not in the target
 market for Gentoo any more.  It was fun, though.
 --
 Kevin O'Gorman, PhD



 You let a small problem like the latest live cd not booting your system
 scare you away?

 Have you tried using an older live cd?  If it's a video issue, maybe
 detecting your monitor wrong, how about turning on the framebuffer (there's
 an option for that)?

 It's doable man, don't give up.


Of course it's doable.  It's just the last straw.  This left my web site
down for a week; I obviously can't always keep up with Gentoo's
requirements, so I'm going to an easier distro that I'm equally familiar
with.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Goodbye, Gentoo

2011-05-26 Thread Dale

Kevin O'Gorman wrote:



On Thu, May 26, 2011 at 6:57 PM, Mark Shields laebsh...@gmail.com 
mailto:laebsh...@gmail.com wrote:




You let a small problem like the latest live cd not booting your
system scare you away?

Have you tried using an older live cd?  If it's a video issue,
maybe detecting your monitor wrong, how about turning on the
framebuffer (there's an option for that)?

It's doable man, don't give up.


Of course it's doable.  It's just the last straw.  This left my web 
site down for a week; I obviously can't always keep up with Gentoo's 
requirements, so I'm going to an easier distro that I'm equally 
familiar with.



--
Kevin O'Gorman, PhD



But you will be back.  ;-)

Dale

:-)  :-)


Re: [gentoo-user] Goodbye, Gentoo

2011-05-26 Thread Paul Hartman
On Thu, May 26, 2011 at 6:28 PM, Kevin O'Gorman kogor...@gmail.com wrote:
 It looks like it's time to take Gentoo off of my main machine.  I feel a
 little sad about it, or I'd just quietly go away.

 A few months ago, an update made the machine headless -- well, it could no
 longer bring up X but I could use the console-mode for admin, and log in via
 SSH from my laptop and run GUI programs.  I was busy at the time, first
 deciding and then implementing my retirement, so I let it go.

Sorry to see you go!

 The real headache is all the stuff I'm going to have to port.

 1) Apache and dynamic (Python CGI) web site.
 2) Postfix
 3) About a dozen accounts that just do wget(1) data gathering triggered by
 the cron daemon.
 4) DNS (I run my own domain on a commercial DSL account)
 5) NTP client and server
 6) Whatever else I forgot I set up over the years.

Maybe you can run them from your previous gentoo installation inside a
chroot until you can reproduce them in Ubuntu proper.

 My original reason for using Gentoo is that this machine was pretty exotic
 when I bought it, and I wanted to be able to tweak the compiler to get the
 most out of it.  I can still do that for specific applications I'm working
 on, but otherwise it's really a non-issue now.  I have gotten pretty tired
 of updates that take over 48 hours to compile, and the occasional mess-up
 that once or twice led me to rebuild with empty-tree and took a week or so.

I have a laptop from 2004 and am increasingly irritated by the slow
build times. Keeping Gentoo up-to-date with it takes a very long time,
especially since I use it so infrequently. Having several days worth
of compiling just to bring it up to date is tiring, when it causes the
fan to blow at full speed (and full decibels) and heat which
approaches that of the Sun. If I ever get around to it, I'm going to
give Sabayon a try. Hopefully then I'll have the familiar Gentoo setup
but without the building from source.

 So I guess I shouldn't complain (and I'm not).  I'm just not in the target
 market for Gentoo any more.  It was fun, though.

After using Gentoo for so many years, I find the maintenance in Ubuntu
to be rather anti-climactic. 256 packages to update? Oh no! Oh, look,
it's done already.  :)

Good luck and congratulations on your retirement.

Paul



[gentoo-user] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?

2011-05-26 Thread Paul Hartman
This is a new one to me. I've only been using kernel 2.6.39 (vanilla)
for a bit over a day. A few hours ago, this happened while I was away
from my computer:

[150561.346968] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?
[150562.060113] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?
[150562.776438] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?
[150563.491950] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?
[150564.205886] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?
[150564.922472] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?
[150565.635036] ip_rt_bug: 0.0.0.0 - 255.255.255.255, ?

(this message repeated at this rate for 35 seconds in total)

Weird... I don't know what it could be. Do you?