Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-10 Thread Roy Wright

On Feb 10, 2010, at 8:34 AM, Volker Armin Hemmann wrote:

> On Mittwoch 10 Februar 2010, Christian Apeltauer wrote:
>> Hello list,
>> when I synced my portage tree today, I saw that kmail-4.4.0 needs
>> kdelibs compiled with USE="semantic-desktop" and cannot be told to not
>> use it. But I do not like the idea of semantic desktop and I will not
>> install it. 
> 
> you don't even now what that is. Right?
> 
> You just don't use 'it' and you are fine. Btw, I am sure you already have it 
> installed with soprano.
> 


My understanding is the semantic-desktop is just the latest incarnation of 
kde's clone of google desktop search which just wastes CPU, memory, and disk 
space.  Personally I don't see the need for this technology as I'm perfectly 
happy waiting a few seconds on "find" every few months.





Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-10 Thread Roy Wright

On Feb 10, 2010, at 5:04 PM, Volker Armin Hemmann wrote:

> On Mittwoch 10 Februar 2010, Roy Wright wrote:
>> On Feb 10, 2010, at 8:34 AM, Volker Armin Hemmann wrote:
>>> On Mittwoch 10 Februar 2010, Christian Apeltauer wrote:
>>>> Hello list,
>>>> when I synced my portage tree today, I saw that kmail-4.4.0 needs
>>>> kdelibs compiled with USE="semantic-desktop" and cannot be told to not
>>>> use it. But I do not like the idea of semantic desktop and I will not
>>>> install it.
>>> 
>>> you don't even now what that is. Right?
>>> 
>>> You just don't use 'it' and you are fine. Btw, I am sure you already have
>>> it installed with soprano.
>> 
>> My understanding is the semantic-desktop is just the latest incarnation of
>> kde's clone of google desktop search which just wastes CPU, memory, and
>> disk space.  Personally I don't see the need for this technology as I'm
>> perfectly happy waiting a few seconds on "find" every few months.
> 
> your understanding is wrong. Completely wrong. Seriously it hurts.
> 
> start here:
> 
> http://en.wikipedia.org/wiki/NEPOMUK_(framework)
> 
> and then proceed with the links.
> 
> google-desktop is something completley different (and something that can be 
> replaced with find, locate and grep). 
> 

OK, after reading several articles from the given starting point, I now 
understand why semantic-desktop wastes so much cpu, memory, and storage 
(really, if you organize your data properly who cares about a file's 
relationship to an email?).  Also didn't read anything even hinting at security 
awareness of the technology which is really scary (imagine an attack that get's 
access to the RDFs, it'd tell the attacker exactly which additional files to 
target).  And since I don't use/like dolphin, I'll stick with my original 
opinion that the semantic-desktop should be totally disabled/uninstalled.

IMO, mandatory semantic-desktop is a very good reason to find another desktop 
manager (even after being my primary desktop for 7 years).





Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-10 Thread Roy Wright

On Feb 10, 2010, at 6:31 PM, Volker Armin Hemmann wrote:

> On Donnerstag 11 Februar 2010, Roy Wright wrote:
>> 
>> OK, after reading several articles from the given starting point, I now
>> understand why semantic-desktop wastes so much cpu, memory, and storage
>> (really, if you organize your data properly who cares about a file's
>> relationship to an email?).  
> 
> because to 'organize it properly' you would need a huge directory tree plus 
> symlinks plus explaining notes to even simulate a small token of the stuff 
> 'semantic desktop' can do for you..

Haven't had a problem organizing my data in 25 years and currently run a 3 
system cluster with ~8TB of data.  The only "benefit" that the semantic desktop 
seems to deliver is to waste resources.

> 
>> Also didn't read anything even hinting at
>> security awareness of the technology which is really scary (imagine an
>> attack that get's access to the RDFs,
> 
> those RDFs are in your home directory. If someone can read your home you are 
> screwed anyway. 
> 
>> it'd tell the attacker exactly which
>> additional files to target). 
> 
> oh yes, reading stuff about emails tells him to read more emails. That is 
> scary.

But tagging files (say stock spreedsheets, bank records, financial bookmarks, 
tax records) with tags (say 'bank, money, finance') all in one place would 
simplify a targeted attack.

> 
>> And since I don't use/like dolphin, I'll
>> stick with my original opinion that the semantic-desktop should be totally
>> disabled/uninstalled.
> 
> and you can do that. Oh wow. That useflag only turns on soprano. Nothing 
> else. 
> Which means nothing. You are not forced to use that stuff.

So just another database server wasting resources.  Not too bad as long as 
nepomuk and strigi are disabled.  Now to find the network ports soprano uses to 
make sure they are blocked from leaving the machine...  Yes, I know, one of the 
really scary goals of the semantic-desktop is to share RDFs, definitely don't 
want that.

> 
>> 
>> IMO, mandatory semantic-desktop is a very good reason to find another
>> desktop manager (even after being my primary desktop for 7 years).
> 
> yeah good luck with that. Because gnome is moving in that direction too.
> 
> Seriously guys, you start sounding like luddites. Is new, must be bad.
> 


This technology does not have a good track record (invasive cpu, memory, disk 
usage) for very dubious benefits.  I have not found any cost vs. benefits vs. 
risks articles.  Just a bunch of "we think this will be great if you just use 
it" type articles that can't even explain how it would be great.





Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Roy Wright

On Feb 11, 2010, at 11:02 AM, Neil Bothwick wrote:

> On Thu, 11 Feb 2010 07:00:27 -0500, Walter Dnes wrote:
> 
>>  Yes, I can organize my files to the point where I rarely ever use
>> find.  Just because you can't, is not a reason to slow down everybody
>> else's desktop. 
> 
> Is this ignorance or FUD?
> 
> It must be FUD because it has already been stated countless times in this
> thread that this service can be switched off.

Just to come full circle, the thread started because the kmail is now requiring 
the semantic-desktop USE flag.  So the consensus seems to be that if you use 
kmail, then you have to compile the semantic desktop features, then go back and 
turn off using the semantic desktop.




Re: [gentoo-user] New Gentoo system has become unstable and unusable - help, please!

2010-02-12 Thread Roy Wright

On Feb 12, 2010, at 3:46 AM, Alan Mackenzie wrote:

> On Fri, Feb 12, 2010 at 10:50:46AM +0200, Alan McKinnon wrote:
> 
> I hope you're not right here.  ;-)  The hardware is spanking brand new;
> so new, in fact, that it's still gleaming.
> 
> Are there any handy utility programs around to test RAM exhaustively?
> 

I use a kubuntu live disk, one of the boot options is to run memtest.  I 
typically let it run a several hours on a new box.

The second issue might be heat (or cooling depending on your point of view).  A 
couple of things, easiest is to install the lm_sensors and your favorite 
capture utility.  I also will use an IR thermometer and DMM with temperature 
probe to verify cooling.

With lm_sensors running, I'll run several stress tests to find the hottest the 
system will run.  If the system gets too hot, I'll increase cooling 
(more/faster fans).

Another thing to check is that the memory is seated properly.  I'd remove the 
modules, inspect the connectors, then very carefully reinstall them.  While you 
are at it, make sure all connectors are seated correctly.


HTH,
Roy




Re: [gentoo-user] New Gentoo system has become unstable and unusable - help, please!

2010-02-12 Thread Roy Wright
Another thing to try, change compile flag to -J1 (MAKEOPTS="-J1" emerge ...)

Last time I built up a system there were a couple of packages that couldn't 
handle parallel compiles.

HTH,
Roy


Re: [gentoo-user] No more mythtv for Gentoo users?

2010-03-04 Thread Roy Wright

On Mar 4, 2010, at 1:35 AM, Alan McKinnon wrote:
> 
> This notebook is nazgul, not because I'm a LOTR fan (which I am) but because 
> it ties in nicely with the BOFH image I've been cultivating for years
> 

Thanks for bringing back old memories, it's been almost two decades since I 
read BOFH.  ;)




Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Roy Wright
Since you already merged it in:

# equery depends mysql

then unmerge or correct USE flags for dependent apps.

To have portage error out instead of merging mysql in the future:

# echo "dev-db/mysql" >/etc/portage/package.mask/I_said_no_mysql

HTH,
Roy



[gentoo-user] KDE4 printer config question

2010-03-08 Thread Roy Wright
Howdy,

OK, installed KDE 4.4.1 on an older box (BE-2400 4GB ~x86), seems to be working 
pretty good.  But am having trouble trying to figure out the kde way to 
configure a network (cups on a kubuntu system) printer.

From system_settings, Printer Configuration, the Server Settings are all 
disabled.  I think I need to set "Show printers shared by other systems".  So 
first tried running system_settings as root to see if it's an authentication 
issue, no luck, still disabled.  Next did some googling and thought maybe need 
to use kauth to allow it, again no luck.  Any good tutorials on how to use 
kauth?

So any ideas on what piece of the puzzle I'm missing?

On a side topic, I had cloned the System Settings menu item to set one version 
up to run as root.  The new menu item does not show up in the new menu manager, 
but does using old style menus.  Any pointers on how to add items to the new 
menu style?

TIA,
Roy




Re: [gentoo-user] KDE4 printer config question

2010-03-08 Thread Roy Wright

On Mar 8, 2010, at 10:54 PM, ubiquitous1980 wrote:

> Roy, without being presumptuous, I would say that using D.E. (Desktop
> Environment) tools for printing are not the best because of
> inconsistency in layout and authentication problems.  My suggestion is
> to open up your web browser and use localhost:631 in the address bar to
> access CUPS and do it this way.  My line of reasoning is that you want
> consistency, which is what you get with this method.  Printers
> configured in this way are available in your chosen D.E.  In my
> use-case, I have an HP usb printer which can connect via cat 6 cable and
> I also use KDE 4.3.  I have configured the printer with CUPS via a web
> browser and have few issues.
> 
> I trust that helps.
> 
> Damien
> 

I agree, but am wanting to give kde 4.4.1 a try at handling the printer just to 
see if it can do it.  Currently the answer is either no or I haven't found a 
required configuration change.

Thank you,
Roy




Re: [gentoo-user] KDE4 printer config question

2010-03-09 Thread Roy Wright

On Mar 9, 2010, at 5:21 AM, Peter Humphrey wrote:

> Sounds to me as though you haven't set CUPS up right on the machine 
> connected to the printer. You need it to allow other machines on your 
> network to print, and maybe to administer CUPS if you want to move 
> printer administration to another box.
> 

Just got CUPS working from gentoo to kubuntu.  The misunderstood part for me 
was the need to set up cupsd.conf for sharing even though I was only using a 
remote printer specified with ServerName in client.conf.

But now the KDE Printer Configuration dialog appears to be hitting 
https://bugs.kde.org/show_bug.cgi?id=204558

So I'm going to conclude that KDE 4.4.1 is not ready for printer configuration 
and just stick with CUPS.  Sad.

Thanks everyone!

Roy




Re: [gentoo-user] syslog-ng filtering

2010-03-16 Thread Roy Wright

On Mar 16, 2010, at 6:22 PM, Ralph Slooten wrote:

> Hi all,
> 
> Has anyone here worked out how to filter out syslog messages using syslog-ng 
> v3? The old syntax doesn't work (well complains bitterly about performance 
> and says to use regex), and no matter what I try I cannot get the new syntax 
> to work :-/ I have a syslog-ng server which logs to MySQL for multiple 
> clients in a network, however the database just keeps growing with irrelevant 
> data I'd prefer to just quietly ignore on the server side. 
> 

I just started with the example at:

http://en.gentoo-wiki.com/wiki/Syslog-ng

HTH,
Roy




Re: [gentoo-user] Boot speedup

2010-04-12 Thread Roy Wright


On Apr 12, 2010, at 7:01 AM, Mark Knecht  wrote:

On Mon, Apr 12, 2010 at 2:56 AM, Hinko Kocevar > wrote:

On 04/12/10 11:31, Ngoc Nguyen Bao wrote:
On Mon, Apr 12, 2010 at 4:02 PM, Hinko Kocevar > wrote:

Hi,

I've started to look around on how to speed up the Gentoo boot  
sequence.
Looking at the bootchart output I discovered that if using  
parallel boot
feature from the /etc/conf.d/rc (RC_PARALLEL_STARTUP="yes"),  
things get

done about 9 seconds faster that with RC_PARALLEL_STARTUP="no".

Boot time is still at 45 seconds.


Can boot be sped up even more?


Best regards,
Hinko
.




Change to testing branch with base layout 2. Your boot time'll  
decrease by half.




Thank you!

Hmm, I was looking at the
http://www.gentoo.org/doc/en/openrc-migration.xml. For OpenRC I added
sys-apps/openrc ~x86 to package.keywords, to get baselayout-2 ebuild
I've added ACCEPT_KEYWORDS="~x86" to /etc/make.conf.

Will it be enough to (re-)build the baselayout and openrc and its
closest dependencies (41 packages)? Or do I need to perform complete
system upgrade (~900 packages) now that ACCEPT_KEYWORDS is present?


Best regards,
Hinko





Be careful about going ~x86. I just went ~amd64. The OpenRC migration
is painless. The KDE, gnome, xfce4 part hasn't been for me. I'm likely
to remove all environments and apps, add the 41 apps to
package.keywords and be done with it, assuming that actually works and
doesn't uncover other problems.

Read more in a post I just sent before I saw your question.

- Mark



Concider / on SSD, /tmp in RAM, /var on spinning disk.

A free society is a single class society where everyone has the same  
rights.





Re: [gentoo-user] Re: libpng12 is missing

2010-05-15 Thread Roy Wright

Argh.  Just have to vent a little.

Bring up a new install on a system whose system disk died and was replaced with 
an SSD.  OS installed no problems.  Recovered my RAID5 and LVM JBOD volume (a 
GIANT THANK YOU to the mdadm and lvm2 folks!).  Then first "weekly" update hits 
the libpng12 issue.  No complaints, it's what I expect being at ~amd64 and the 
price I willing pay for the benefits of gentoo.  Another THANK YOU to the 
lafilefixer folks and system is up.

So on to my list a applications to be installed.  Firefox check, openoffice 
check, handbrake...crap.  Handbrake is one of the non-standard packages that 
includes their own version of support libraries.  You guessed it, libpng12 
dependent.  Argh!

Have fun,
Roy




Re: [gentoo-user] Re: libpng12 is missing [TEMP SOLN]

2010-05-16 Thread Roy Wright

On May 16, 2010, at 2:30 AM, Chris Walters wrote:

> On 5/15/2010 11:06 AM, Roy Wright wrote:
>> Argh.  Just have to vent a little.
>> 
>> So on to my list a applications to be installed.  Firefox check, openoffice 
>> check, handbrake...crap.  Handbrake is one of the non-standard packages that 
>> includes their own version of support libraries.  You guessed it, libpng12 
>> dependent.  Argh!
>> 
>> Have fun,
>> Roy
>> 
> 
> I had the same problem with a 'missing' libpng12.  There are 2 slots for
> libpng: slot 0 and slot 1.2.  You DON'T want anything in the 1.2 slot. 
> What you DO want is the lonely ebuild in the 0 slot.  Why?  It will
> create the libpng12.la file that is needed for packages to find the
> library.  So this is what I did:
> 
> 1.  Ran "emerge -C libpng" to remove ALL versions of libpng that were
> installed.
> 2.  Ran "emerge =libpng-1.2.43-r2".  I believe that is the version of
> the slot 0 libpng.
> 3.  Ran "lafilefixer --justfixit" -- just in case.
> 4.  Re-emerged cairo to make sure it was linked to my newly installed
> libpng12
> 5.  Belatedly realized that I should mask every version of libpng above
> the slot 0 one, and did so.
> 6.  Ran "equery d libpng" from the 'gentoolkit' package.
> 7.  Re-emerged everything on that list (even Open office - ugh).
> 
> In step 7, everything compiled and installed just fine - no errors. 
> From what I can see, this looks like an upstream bug, where their source
> is coded to look only for libpng12, and nothing else.  For me it would
> stop with an error during the linking phase, or right at the beginning
> (at least those packages had checks).
> 
> I hope this helps someone.
> 
> Chris
> 

Got handbrake installed.  When initially going thru the mess I ended up with
both slot 0 and slot 1.2 installed.  So unmerged slot 1.2, did a revdep-rebuild,
then handbrake built fine.

So system is (for now at least) pure 1.4.

Have fun,
Roy


Re: [gentoo-user] update-desktop-database gives ... lacks MimeType

2009-09-15 Thread Roy Wright


On Sep 15, 2009, at 2:13 PM, Allan Gottlieb wrote:

When I do I get dozens of lines of applications lacking a MimeType  
key.

Here are the first few.

allan gottlieb # update-desktop-database  --verbose
Search path is now: [/usr/local/share/applications, /usr/share/ 
applications]
Could not create cache file in directory '/usr/local/share/ 
applications':
	Error opening directory '/usr/local/share/applications': No such  
file or directory

File '/usr/share/applications/gksu.desktop' lacks MimeType key
File '/usr/share/applications/yelp.desktop' lacks MimeType key
File '/usr/share/applications/reclevel.desktop' lacks MimeType key
File '/usr/share/applications/meld.desktop' lacks MimeType key

I googled but only found msgs where things were failing.

Should I be concerned about the lack of MimeType keys and if so what
should I do about it.



For grins, I ran the command and received a lot of the same messages  
(probably all the kde4 apps and a few dozen non-kde4).  So I'll second  
the OP's RFI...


TIA,
Roy




Re: [gentoo-user] What do I put in the /etc/conf.d/net....

2009-09-26 Thread Roy Wright


On Sep 26, 2009, at 3:11 PM, David Juhl wrote:


What do I put in the /etc/conf.d/net to specify name servers?  I can't
seem to modify the /etc/resolv.conf and get it to sick at boot.



grep -i dns /usr/share/doc/openrc/net.example

The short answer is something like:

dns_servers_eth0="192.168.0.2 192.168.0.3"

HTH,
Roy



Re: [gentoo-user] KDE 4 bugs update

2009-09-29 Thread Roy Wright


On Sep 29, 2009, at 10:27 PM, Philip Webb wrote:


090929 Paul Hartman wrote:


What's missing from the 3.x series ?


A much longer list of schemas, start root console, search (see above),
set window geometry (inside Konsole or when starting it: see my bug  
list).


Starting a root (or any other) console is easy.  Use Manage Profiles  
to create the profile.  You can then open it via File menu or  
Settings, Change Profile menu.  To get the profile button in the  
bottom left corner, again use Manage Profiles, Tabs, and enable "Show  
'New Tab' and 'Close Tab' buttons in tab bar".


Note, when defining a root console, for the command, use either "/bin/ 
su" or "/bin/sudo -i" or whatever your system needs.


Next install the "Konsole Profiles" widget where ever it is convenient  
(desktop, panel).


Have fun,
Roy



Re: [gentoo-user] Different desktop wallpapers in KDE4?

2009-09-30 Thread Roy Wright


On Sep 30, 2009, at 7:46 AM, Frank Steinmetzger wrote:


Am Mittwoch, 30. September 2009 schrieb Peter Humphrey:

Hello list,

I think I saw a statement on this list that it's possible to set a
different wallpaper on each desktop in kde-4.3.1, but now I can't  
find it,

and I can't see how to do it either.

Is it really possible to do this?


You need to create an activity for each desktop and set the  
wallpaper within

the activities.


Here's what I did which seems to work nicely:

Created an auto hide panel centered on top edge.

Added the activity bar widget to this panel.

Create Activity (cashew, Zoom Out, alt-D alt-A, then select setup  
(wrench icon) (you may have to grab and scroll the desktop to see the  
commands) and name the activity.  You can also set the background here.


Use the Activity Bar to select another activity.  Note, the first time  
after adding an activity, the activity bar has a bug where it will  
show the names for all of the activities, but will draw n-1 buttons.   
Just click on one button then the activity bar will be correct.


Now on any activity, you can right click the desktop and choose  
Desktop Settings, then change the background.


HTH,
Roy




Re: [gentoo-user] about layman and eix search

2009-10-03 Thread Roy Wright


On Oct 3, 2009, at 10:07 AM, hp_sebastian wrote:


On Sat, 03 Oct 2009 09:42:42 -0500 Harry Putnam 
wrote:

How to make eix search an overlay too.

The manpage for layman says:

  You can search through the ebuilds available in the overlays on
  http://overlays.gentoo.org by using "eix". Emerge the package and
  run update-eix-remote update.

But I find no such option in eix or eix --help|grep update
or 'man eix' although I do find eix-remote and eix-layman.


eix-update adds overlays to the eix-database. If you use eix-sync
instead of emerge --sync, you don't have to run eix-update afterwards.


[...]




update-eix-remote is an executable, not an option to the eix  
executable.  After running update-eix-remote your normal eix queries  
will include overlays.


HTH,
Roy



Re: [gentoo-user] Re: about layman and eix search

2009-10-03 Thread Roy Wright


On Oct 3, 2009, at 1:34 PM, Alan McKinnon wrote:


On Saturday 03 October 2009 20:20:47 Harry Putnam wrote:

Roy Wright  writes:

update-eix-remote is an executable, not an option to the eix
executable.  After running update-eix-remote your normal eix queries
will include overlays.


Ha.. no wonder I didn't find it.

However its not a part of the eix package nor is it visible on
portage.  At least

equery files eix|grep remote fails to show it and

`eix eix-remote' fails as well.



Those files changed names in recent versions of eix. There is no  
more update-

eix-remote. It's all in the ChangeLog.



The old update-eix-remote would index all available overlays which  
made it real handy for finding which overlay you needed.  The new eix- 
remote seems to only index the overlays you have installed.  Am I  
missing something?


Also I keep getting this error message, even after explicitly running  
eix-update:


# eix-remote update
* Fetching eix-caches.tbz2
--2009-10-03 14:13:07--  
http://dev.gentooexperimental.org/eix_cache/eix-caches.tbz2
Resolving dev.gentooexperimental.org... 81.93.240.53
Connecting to dev.gentooexperimental.org|81.93.240.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46 [application/octet-stream]
Saving to: `eix-caches.tbz2'

100% 
[= 
= 
= 
>]  
46  --.-K/s   in 0s


2009-10-03 14:13:07 (10.7 MB/s) - `eix-caches.tbz2' saved [46/46]

* Unpacking data
Can't open the database file /tmp/eix-remote.5zs73hch/1/* for reading  
(mode = 'rb')

Did you forget to create it with 'eix-update'?
* is broken
* Calling eix-update
...


TIA,
Roy




Re: [gentoo-user] help with tinydns setup

2009-11-07 Thread Roy Wright


On Nov 7, 2009, at 3:49 PM, James wrote:


All,

I'm trying to set up a DNS server here for a lab environment.

Thoughts? Ideas?



I use dnsmasq as my home dns/dhcp server.  It was super easy to  
configure.  You might want to give it a look.


HTH,
Roy




[gentoo-user] xorg-server upgrading problem

2009-11-08 Thread Roy Wright

Howdy,

I have a home server/htpc (~x86) that I'm finally updating after a few  
months and I hit an issue with xorg-server.  Here's the background:


Was at xorg-server-1.6.3 and current sync tried to upgrade to 1.7.1,  
which failed to compile.  In researching on b.g.o., discovered that  
nvidia has not released a driver yet that will work with 1.7.1, so  
followed the bug report directions and masked out several packages to  
prevent 1.7.1 upgrading.


So next attempt at upgrading was to 1.6.5.  That failed too, so back  
to b.g.o. where the first directions were to install nvidia- 
drivers-190.42.  But nvidia-drivers has a dependency to xorg- 
server-1.6.5, so had to mask >1.6.3 to get nvidia to emerge.  Then hit  
the bug with nvidia-settings with the work around of symbolically  
linking /usr/include/X11/extensions/xf86vmproto.h to /usr/include/X11/ 
extensions/xf86vmode.h.  Finally removed the >xorg-server-1.6.3 mask  
and successfully emerged.


So now it looks like I have xorg-server-1.6.5 and nvidia- 
drivers-190.42 installed.


But when starting the xorg server, it is unable to load glx, dri, and  
dri2 modules:


xbmc log # grep EE Xorg.0.log
Current Operating System: Linux xbmc 2.6.29-gentoo-r2 #7 SMP PREEMPT  
Sun Jun 21 10:15:29 CDT 2009 i686

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load module "glx" (module does not exist, 0)
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(EE) Nov 08 13:48:35 NVIDIA(0): Failed to initialize the GLX module;  
please check in your X
(EE) Nov 08 13:48:35 NVIDIA(0): log file that the GLX module has  
been loaded in your X
(EE) Nov 08 13:48:35 NVIDIA(0): server, and that the module is the  
NVIDIA GLX module.  If
(EE) Nov 08 13:48:35 NVIDIA(0): you continue to encounter  
problems, Please try

(EE) Nov 08 13:48:35 NVIDIA(0): reinstalling the NVIDIA driver.
(EE) Microsoft Natural Keyboard Pro: failed to initialize for relative  
axes.
(EE) Gyration Gyration RF Technology Receiver: failed to initialize  
for relative axes.


I've even rebooted and still see the same problem.

I'm not having any luck finding a hint on b.g.o. or with searching (I  
use startpage instead of google).


Here's my xorg.conf which works with xorg-server-1.6.3 (it's a little  
explicit because it is connected (DVI) to an A/V receiver (Yamaha RX- 
V861) which doesn't pass thru EDID):


Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
EndSection

Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath "built-ins"
EndSection

Section "Module"
Load  "glx"
Load  "dbe"
Load  "extmod"
EndSection

Section "Monitor"
   # Block type: 2:0 3:fc
   Identifier "FPD TV"
   VendorName "HTC"
   ModelName "FPD TV"
   # Block type: 2:0 3:fc
   # Block type: 2:0 3:fd
   HorizSync 15-70
   VertRefresh 59-61
   # Max dot clock (video bandwidth) 150 MHz
   # DPMS capabilities: Active off:no  Suspend:no  Standby:no

   Mode"1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz
DotClock148.50
HTimings1920 2008 2052 2200
VTimings1080 1084 1089 1125
Flags   "+HSync" "+VSync"
   EndMode
   Mode"1920x540"  # vfreq 60.053Hz, hfreq 33.750kHz
DotClock74.25
HTimings1920 2008 2052 2200
VTimings540 542 547 562
Flags   "Interlace" "+HSync" "+VSync"
   EndMode
EndSection

Section "Device"
Identifier  "Card0"
Driver  "nvidia"
VendorName  "nVidia Corporation"
Option  "RenderAccel" "true"
   Option "ModeValidation" "NoDFPNativeResolutionCheck,  
NoMaxSizeCheck"

   Option "NoLogo" "true"
   Option "ConnectedMonitor" "DFP"
   Option  "TVStandard""HD1080p"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"FPD TV"

# depth of 16 breaks xbmc
   DefaultDepth24

   Option "renderAccel" "true"
   Option "ExactModeTimingsDVI" "true"
   Option "NoLogo" "true"
   Option "DynamicTwinView" "false"
   Option "UseEvents" "true"
   Option "AllowGLXWithComposite" "true"
   Option "AddARGBGLXVisuals" "true"
   Option "FlatPanelProperties" "Scaling = Native"

SubSection "Display"
   Depth24
   Modes "1920x1080" "1080p" "1080i" "720p" "720i" "480p"  
"480i" "1024x768" "800x600" "640x480"

Virtual 1920 1080
EndSubSection
EndSection


Any ideas?

TIA,
Roy




Re: [gentoo-user] xorg-server upgrading problem

2009-11-09 Thread Roy Wright


On Nov 9, 2009, at 1:04 AM, Johannes Kimmel wrote:
Try to resync and emerge the new eselect-opengl and run "eselect  
opengl set nvidia" again. This could fix it, as I had a similar  
problem. The old eselect did something wrong, but I can't remember  
exactly because it went somehow long yesterday :)


Good catch, but unfortunately it didn't help.  I've downgraded the  
nvidia drivers to 185.18.36-r1 which then loaded glx, but still not  
dri or dri2.


Maybe I need to upgrade the kernel from 2.6.29...

BTW, xorg-server-1.6.5 does work with nv drivers, but I need opengl.

I'm currently trying to downgrade server to 1.6.3, but that's not  
compiling.  Let's say I'm not very impressed with the xorg ebuild  
technique of specifying dependencies using >=.  xorg ebuilds should be  
holistic based on the xorg-server version.  Instead I have to figure  
out the version masks for each of the dependencies.  PITA!


Thank you,
Roy




Re: [gentoo-user] Re: xorg-server upgrading problem

2009-11-09 Thread Roy Wright


On Nov 9, 2009, at 3:36 PM, Nikos Chantziaras wrote:


On 11/09/2009 11:18 PM, Roy Wright wrote:


On Nov 9, 2009, at 1:04 AM, Johannes Kimmel wrote:

Try to resync and emerge the new eselect-opengl and run "eselect
opengl set nvidia" again. This could fix it, as I had a similar
problem. The old eselect did something wrong, but I can't remember
exactly because it went somehow long yesterday :)


Good catch, but unfortunately it didn't help. I've downgraded the  
nvidia
drivers to 185.18.36-r1 which then loaded glx, but still not dri or  
dri2.


Maybe I need to upgrade the kernel from 2.6.29...

BTW, xorg-server-1.6.5 does work with nv drivers, but I need opengl.

I'm currently trying to downgrade server to 1.6.3, but that's not
compiling. Let's say I'm not very impressed with the xorg ebuild
technique of specifying dependencies using >=. xorg ebuilds should be
holistic based on the xorg-server version. Instead I have to figure  
out

the version masks for each of the dependencies. PITA!


I already posted how do downgrade to 1.6.5 correctly :P




Sorry, forgot to mention that I did try those instructions.  Didn't  
help.


I'm currently punting, removing all of X from my system, then will  
start over...


Thank you,
Roy




Re: [gentoo-user] [solved] Re: xorg-server upgrading problem

2009-11-10 Thread Roy Wright
Unmerged all of x11, then installed xorg-server-1.6.5 and it is  
working now.


One of the issues I hit is that python-3.1.1-r1 can not be installed  
with the tk use flag due to cyclic dependencies when installing xorg  
(portage insists on installing python before libX11 so python[tk]  
fails as it is missing Xlib.h).


Thanks everyone!

Roy



Re: [gentoo-user] [solved] Re: xorg-server upgrading problem

2009-11-10 Thread Roy Wright


On Nov 10, 2009, at 4:21 AM, Alan McKinnon wrote:


On Tuesday 10 November 2009 11:46:50 Roy Wright wrote:

One of the issues I hit is that python-3.1.1-r1 can not be installed
with the tk use flag due to cyclic dependencies when installing xorg
(portage insists on installing python before libX11 so python[tk]
fails as it is missing Xlib.h).


Would this work?

emerge python with USE=-tk
install libX11
install python with USE=tk



What I did was set python -tk in package.use then finished installing  
xorg-server, then removed the python -tk from package.use and emerge  
updated.  That worked fine so your example should also work fine.


Thank you,
Roy



Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1

2009-11-10 Thread Roy Wright


On Nov 10, 2009, at 5:31 PM, Iain Buchanan wrote:


On Tue, 2009-11-10 at 18:19 -0500, Philip Webb wrote:

09 Iain Buchanan wrote:

On Tue, 2009-11-10 at 16:31 -0500, Philip Webb wrote:
Since upgrading to Xorg-x11-7.4-r1 , Xterm & Xpdf are very slow  
to open:

Xterm takes  c 6 sec  to start & Xpdf also has a noticeable delay.

routes ?


Could you expand a little ... (smile) ?



It really sounds like a network timeout issue (I've had response  
issues like that with KDE when my ISP is having troubles).


WAGs:

Verify your dns addresses.  Maybe reverse their order or even try  
opendns.


Verify your network is working normally: Visit a few sites.  Ping you  
ISP and other sites.  Run a network speed test.


"tail -f /var/log/messages" in one window while opening another.

If you have a firewall, check it's log.

Verify that you are using nvidia drivers instead of nv.

Exam Xorg.log for any hints of problems.

HTH,
Roy




Re: [gentoo-user] Going ~x86?

2009-11-11 Thread Roy Wright


On Nov 11, 2009, at 10:36 AM, Albert Hopkins wrote:

So my advice is: pick and branch and stick with your own kind. It's  
far
fewer headaches in the long run.  And "unstable" isn't really  
unstable,

it's "untested".  There's a difference.



Also keep in mind that it's the ebuild that is "untested".  The  
package is usually what upstream has released as stable.


My advice is if you are willing to upgrade at least weekly then go  
"untested", if you are willing to upgrade at least monthly, then go  
"stable", else really be willing to work thru some hard upgrade  
scenarios.


HTH,
Roy

Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 8:33 AM, Alan McKinnon wrote:


On Thursday 12 November 2009 16:23:11 Marcus Wanner wrote:

Hi,

As you have all noticed by now, I am currently upgrading my system to
~x86. About 220 of the 238 packages were built correctly, but when it
got to xorg-server-1.6.5, it crashed complaining about
"../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No
such file or directory". I'm guessing this means that there was a
problem with a dependency being upgraded/installed/omitted. How do  
I fix

this?


That file comes from libXinerama:

$ equery belongs /usr/include/X11/extensions/panoramiXext.h
* Searching for /usr/include/X11/extensions/panoramiXext.h ...
x11-libs/libXinerama-1.1 (/usr/include/X11/extensions/panoramiXext.h)

I recall similar issues with the upgrade to xorg-server-1.7*

Solution then was to emerge *all* required libs and -proto packages,  
then

build xorg-server. I think it was due to stuff not being in DEPEND


Disable (either temporary or permanent) the "xinerama" USE flag.






Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:


On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the "xinerama" USE flag.


Me or Alan?




OP

As a suggestion for a work around for the compile issue.  If you  
temporarily disable xinerama, then the build should proceed.  Then if  
you need xinerama, enable the USE flag and build again.






Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 4:10 PM, Marcus Wanner wrote:


On 11/12/2009 4:46 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote:

Now I can't get ANY version of xorg-server to compile, now  
emergeing any of them starts with:


Error: Unrecognized option: --impl-headers
exiting

and
ends with:

 CCsingle2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first  
use in this function)
rensize.c:222: error: (Each undeclared identifier is reported only  
once

rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared  
(first use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared  
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared  
(first use in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared  
(first use in this function)

make[1]: *** [rensize.lo] Error 1

I have tried both versions of libXinerama (latest x86 and latest  
~x86) and neither of the work with the latest stable version of  
xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1.


This is getting really frustrating...any suggestions would be  
welcome.





http://bugs.gentoo.org/show_bug.cgi?id=292765

HTH




Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 5:39 PM, Marcus Wanner wrote:


Spoke too soon...now I'm getting this:

../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../ 
include-DHAVE_ssing-declarations -Wnested-externs -fno-strict- 
aliasing -DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 -I/usr/ 
include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbuxt -I../xfixes - 
I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render (1)  
* 1000) + ((6) * 10) + ((5) * 1000) + 0)" -march=pentium4 - 
O2 -pipe ch.lo dispatch.c

In file included from ../Xext/panoramiX.h:44,
   from dispatch.c:134:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ')'  
before '*' to
/usr/include/X11/extensions/panoramiXext.h:54: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:64: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:70: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:76: error: expected '=',  
',', ';', 'a

dispatch.c: In function 'ProcCloseFont':
dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated  
(declared at ..

make[2]: *** [dispatch.lo] Error 1


http://bugs.gentoo.org/show_bug.cgi?id=291312

Basically you will need to mask all the dependencies for xorg- 
server-1.7 to be able to compile 1.6.5.  I hit this a few days ago.   
>= dependencies in ebuilds cause PITA for users...


HTH,
Roy




Re: [gentoo-user] NFS poor performance, high system load

2009-11-24 Thread Roy Wright


On Nov 23, 2009, at 8:11 PM, Hal Martin wrote:


Hello all,

Sorry if it seems like this is a repeat question, but I've gone  
through
my Gentoo list for the past 2 years and none of the answers provided  
for

previous threads on this seem to work for me. Here's the situation:


/etc/exports:
/mnt/daigo  192.168.0.31(rw,insecure)



A couple of years ago, I experienced the same type of issue where nfs  
performance was a lot lower than smb.  It turned out a switch I was  
using was bad.  I suggest first minimizing your testing network, and  
then swapping components such as switches.  Others on the LinuxMCE  
list had issues with specific network drivers.


I current use nfs between kubuntu, gentoo, and macbook (10.5.8 2GHz  
Core 2 Duo) systems.  I have media volumes on the kubuntu, and both  
gentoo systems.  I use autofs on each system for mounting the nfs  
volumes.  Here's an example of the settings:


/etc/exports:
/var/media  
192.168.80.0/24(async,no_subtree_check,rw,no_root_squash,insecure)


/etc/auto.media:
royw-gentoo			-rsize=8192,wsize=8192,soft,timeo=30,rw		royw-gentoo:/ 
var/media
dad-kubuntu			-rsize=8192,wsize=8192,soft,timeo=30,rw		dad-kubuntu:/ 
var/media


My macbook "Connect to Server":
nfs://royw-gentoo/var/media/public/data
nfs://dad-kubuntu/var/media/public/data

The no_subtree_check and the no_root_squash parameters are left over  
from when I used LinuxMCE.


The insecure parameter is required to allow the macbook to connect.

The rsize and wsize seem to work fine for streaming dvd iso images to  
my gentoo XBMC system over gigabit ethernet.  I've also streamed a few  
movies to my macbook and did not notice any performance issues.


My media drives are WDC WD10EACS (1TB).

How are you testing performance?  With test procedure I can try to  
duplicate.


HTH,
Roy





Re: [gentoo-user] root block device unspecified error on boot

2005-06-03 Thread Roy Wright
in /boot/grub/grub.conf, did you change your kernel root?

kernel (hd0,0)/boot/vmlinuz root=/dev/hda1
 
HTH,
Roy

Gentoo Linux Mailing List Client wrote:

>yeah I did that as well.
>grub is not the problem as far as I can tell.  
>I get the boot menu just fine.
>my system stops when it tries to (re)mount the root partition.
>It seems to think I didn't specify it.
>I thought that's what fstab was for ???
>
>any other suggestions?  
>
>TIA,
>Tomoki
>
>
>On 6/2/05, Myk Taylor <[EMAIL PROTECTED]> wrote:
>  
>
>>-BEGIN PGP SIGNED MESSAGE-
>>Hash: SHA1
>>
>>Have you directed the first-stage bootloader to find root on hda1?
>>
>>from
>>http://www.gentoo.org/doc/en/handbook/2005.0/handbook-x86.xml?part=1&chap=10#doc_chap2
>>
>>try 'grub-install /dev/hda'
>>or 'grub' and
>>grub> root (hd0,0)  (Specify where your /boot partition resides)
>>grub> setup (hd0)   (Install GRUB in the MBR)
>>grub> quit  (Exit the GRUB shell)
>>
>>- --myk
>>
>>Gentoo Linux Mailing List Client wrote:
>>
>>
>>>I had to move my linux partition from /dev/hda3 to /dev/hda1
>>>I have altered /etc/fstab to reflect the move, along with /boot/grub/menu.lst
>>>yet everytime I boot I still get the following error.
>>>
>>>   The root block device is unspecified or not detected.
>>>   Please specify a device or "shell" for a shell.
>>>   BOOT () ::
>>>
>>>at this point if I enter "/dev/hda1" the system continues to boot fine.
>>>what am I forgetting to fix?
>>>
>>>TIA,
>>>Tomoki Taniguchi
>>>  
>>>
>>-BEGIN PGP SIGNATURE-
>>Version: GnuPG v1.4.1 (GNU/Linux)
>>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>>iD8DBQFCnsxnBOPsJyAQkeARAvGqAKDAFeCbyTVjPqezDwaGr3lITAiE4ACfTxku
>>RwFWxRzeKggA0rutmGBTBaQ=
>>=3UIJ
>>-END PGP SIGNATURE-
>>--
>>gentoo-user@gentoo.org mailing list
>>
>>
>>
>>
>
>  
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kde 3.4.1?

2005-06-03 Thread Roy Wright
Howdy,

I'm seeing an interesting change in behaviour between 3.4.0 and 3.4.1.
When told to turn off or reboot the computer, KDM now exits to a console
login prompt instead of shutting down.  Any ideas?

Overall 3.4.1 is feeling more stable.  The only seg faults have been on
shutdown.  Konqueror would seg fault occasionally in 3.4.0.  This is on
a 3GHz P4 system.

The more I use KDE, the more I'm liking it.  Blows M$ away for usability.

TIA,
Roy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kde 3.4.1?

2005-06-04 Thread Roy Wright
The shutdown problem is because /sbin/halt is missing.  Emerging baselayout
restored /sbin/halt.

Have fun,
Roy

Michael W. Holdeman wrote:

>On Saturday 04 June 2005 12:49 am, Roy Wright wrote:
>  
>
>>Howdy,
>>
>>I'm seeing an interesting change in behaviour between 3.4.0 and 3.4.1.
>>When told to turn off or reboot the computer, KDM now exits to a console
>>login prompt instead of shutting down.  Any ideas?
>>
>>Overall 3.4.1 is feeling more stable.  The only seg faults have been on
>>shutdown.  Konqueror would seg fault occasionally in 3.4.0.  This is on
>>a 3GHz P4 system.
>>
>>
>Shutdown works fine here, but I still get the occasional konqueror 
>segfaults...
>
>Mike
>  
>
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Where to find ebuild info?

2005-06-04 Thread Roy Wright
Howdy,

Over the past few months since my first gentoo install, I have
yet to discover how do I find out the current state of masked
ebuilds.  I.e., I'm looking for 1) why are they masked, and 2) any
known issues with the build.

I can look up the package on packages.gentoo.org, but can't
find this info easily.  Yes I can go thru the change log and
the bugs, but these are for all versions.  Takes time to sort
out.

Most of the time, I'd like to know if this masked for testing
ebuild already has some known issues (particually critical
ones) and is awaiting the next version or is it really just
waiting for enough people to bang on it?

TIA,
Roy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] konqueror / devices

2005-06-08 Thread Roy Wright
OK, I give.  How do you configure media?
I tried:
* Add New | Web SideBar Module
** Name = Media
** URL = media:/
But this gives a "An error occurred while loading media:/; Malformed URL
media:/."
when clicked.

TIA,
Roy

Neil Bothwick wrote:

>On Wed, 8 Jun 2005 09:36:23 +0100, Uwe Thiem wrote:
>
>  
>
>>Hmm... That leads to a gross inconsistency because the sidebar offers 
>>"devices" resulting in that error message that konqueror doesn't
>>support the protocol "devices".
>>
>>
>
>You're right. I suspect that this is left over from a previous
>installation of KDE <3.4. It is easy enough to change it to media.
>
>  
>
>>Plus, media:/ doesn't seem to notice
>>hot pluggable devices.
>>
>>
>
>Because you merged without the hal USE flag, or you are not running hald.
>
>
>  
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] konqueror / devices

2005-06-09 Thread Roy Wright
media:/ in the location bar works.  Pluging in usb devices automatically
appear.
The also show up on my desktop.

My problem was that I removed the old Device button when trying to add a new
media button.  The solution was to edit the 
 .kde3.4/share/apps/konqsidebartng/virtual_folders/services/devices.desktop
properties and changed:

  name: media.desktop
  URL: media:/
  icon: kcmdevices

then copy

  .kde3.4/share/apps/konqsidebartng/virtual_folders/services/devices.desktop

to

  .kde3.4/share/apps/konqsidebartng/entries

Finally right click on the sidebar and Add New | Roll back to system
default.

Thank you,
Roy

Neil Bothwick wrote:

>On Wed, 08 Jun 2005 11:31:52 -0500, Roy Wright wrote:
>
>  
>
>>OK, I give.  How do you configure media?
>>I tried:
>>* Add New | Web SideBar Module
>>** Name = Media
>>** URL = media:/
>>But this gives a "An error occurred while loading media:/; Malformed URL
>>media:/."
>>when clicked.
>>
>>
>
>I just right-clicked the devices item, selected Properties and changed
>the URL to media:/
>
>Does media:/ work if you type it in the location bar?
>
>
>  
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Roy Wright
I left the default java as blackdown-jdk-1.4.2.01 so emerging doesn't
break, then set my Eclipse up to run using sun-jdk-1.5.0.03
(/usr/bin/eclipse-3 -vm /opt/sun-jdk-1.5.0.03/bin/java).  I usually launch
my programs via a script and for now just specify the jre in the script.

BTW, 1.5 offers a real nice new feature.  Drum roll please...
XDnD support. 

Then of course, the real enums look sweet...  I'm itching to find an
excuse to play with them.  Not so sure about the annotations... my
first impression is there be dragons.

I'll admit that I'm currently waiting for Eclipse 3.1 to be not
hard-masked.  When I last looked, the 3.1 ebuilds were requiring gcc 4
which I haven't been brave enough to try...

Have fun,
Roy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installing KDE 3.4.1

2005-06-15 Thread Roy Wright
First unmask the top level package, example:

  echo "kde-base/kdebase-meta ~x86" >> /etc/portage/package.keywords

Then just run this script, example:

  unmask.pl kdebase-meta

You might want to save a copy of package.keywords then compare the
two for sanity before emerging.

Have fun,
Roy

Janne Vänttinen wrote:

> Is there any easier way to make Portage to install KDE 3.4.1 to a
> stable system than to add every single installed package to
> /etc/portage/package.keywords? I wouldn't mind to have the entire
> kde-base -category use test packages but I would like to keep the rest
> of the system on stable ground. So PACKAGE_KEYWORDS is not a good
> solution.
>
> I tried to define packages with wildcards (like kde-base/* ~x86), with
> no luck. Is this possible?
>
> Thanks beforehand,
>



unmask.pl
Description: Perl program


Re: [gentoo-user] Installing KDE 3.4.1

2005-06-16 Thread Roy Wright
This adds all the dependent packages that are blocking the specified
package to the package.keywords.  It will not work for hard masked
packages.

To answer you question, as long as you leave these entries in your
package.keywords file, emerge -uD will keep the files at the latest
masked (testing) version.  To downgrade, remove the entries from
the package.keywords file.

HTH,
Roy

Fernando Meira wrote:

> Will this way prevent an emerge -uD world to downgrade the KDE version?
>
> Thanks,
> Fernando
>
> On 6/15/05, *Roy Wright* <[EMAIL PROTECTED] > wrote:
>
> First unmask the top level package, example:
>
>   echo "kde-base/kdebase-meta ~x86" >> /etc/portage/package.keywords
>
> Then just run this script, example:
>
>   unmask.pl kdebase-meta
>
> You might want to save a copy of package.keywords then compare the
> two for sanity before emerging.
>
> Have fun,
> Roy
>
> Janne Vänttinen wrote:
>
> > Is there any easier way to make Portage to install KDE 3.4.1 to a
> > stable system than to add every single installed package to
> > /etc/portage/package.keywords? I wouldn't mind to have the entire
> > kde-base -category use test packages but I would like to keep
> the rest
> > of the system on stable ground. So PACKAGE_KEYWORDS is not a good
> > solution.
> >
> > I tried to define packages with wildcards (like kde-base/*
> ~x86), with
> > no luck. Is this possible?
> >
> > Thanks beforehand,
> >
>
>
>
>
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge weirdy

2005-06-25 Thread Roy Wright
Howdy,

Just had a weirdy.  I was emerging unison on my home server.  I was lazy
and instead of walking the 6 feet to do it from the console, I just opened
a konsole from my workstation.  Got the following error:

386-pc-linux-gnu-gcc -o .libs/gdk-pixbuf-scan gdk-pixbuf-scan.o -rdynamic
../gdk-pixbuf/.libs/libgdk_pixbuf.so -L/usr/lib -ldl -ldl -ldl -ldl -ldl -ldl
-lm ../gdk-pixbuf/.libs/libgnomecanvaspixbuf.so -ldl -lm
/usr/lib/libgnomeui.so -lm -ldl /usr/lib/libart_lgpl.so -lm
/usr/lib/libgdk_imlib.so -ldl -lSM -lICE /usr/lib/libgtk.so -ldl -lm
/usr/lib/libgdk.so -ldl -lm /usr/lib/libgmodule.so -ldl -ldl -lXi -lXext -lX11
/usr/lib/libgnome.so -lm /usr/lib/libgnomesupport.so -lz -lm
/usr/lib/libesd.so -lm -ldl /usr/lib/libasound.so -lm -ldl -lpthread
/usr/lib/libaudiofile.so -lm -lm -ldb1 /usr/lib/libglib.so -lm
creating gdk-pixbuf-scan
Gdk-ERROR **: BadAccess (attempt to access private resource denied)
  serial 30 error_code 10 request_code 102 minor_code 0
  Scan failed
  make[2]: *** [scan-build.stamp] Error 1
  make[2]: Leaving directory
  `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0/doc'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory
  `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0'
  make: *** [all-recursive-am] Error 2

Googling was pointing this error to Xorg type stuff.  I said huh?  I'm
just compiling.  Well, ok, I can eliminate that by just sshing to the 
box and try it again.  That worked!  Go figure.

Have fun,
Roy 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Grub issue finally resolved. Thank you

2005-06-26 Thread Roy Wright
Howdy,

I've been lurking on the grub threads here while trying to get grub
working for the past couple of months. 

Let's skip my trials with w2k on s/w raid (that os is now archived ;),
lilo on a USB memory stick, 30+ hours of research, trials, errors, and
reboots.

The directions for creating a grub boot floppy were great.  I used
the boot floppy method for over a month.  But I finally got the system
into the state where off of the hard drive boot, I'd get the "Grub
Hard Disk Error".  Googling turned up a suggestion I hadn't tried
before.  First, dusted off a Win95 boot disk, then ran FDISK /MBR.
Decided to just try a boot to verify that the MBR was gone, but to
my surprise Grub started just fine.  Thinking about it, my recent
attempts were to setup (hd0,0) which is for a partition boot, so
this made sense.

So I'm now booting grub from the hd, building new kernels, and
trying to figure out how to get udev working...

Thanks to all the grub gurus here!  Y'all are wonderful!

Have fun,
Roy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] framebuffer questions

2005-06-30 Thread Roy Wright
Another option is to just compile the framebuffer into the kernel.
That's what I did.

Graphics support:
   [*] Support for frame buffer devices
<*>   VESA VGA graphics support
VESA driver type (vesafb-tng)  --->
([EMAIL PROTECTED]) VESA default mode

Then my grub is simply:

  timeout 30
  default 0

  title  Gentoo Latest
  root (hd0,0)
  kernel (hd0,0)/boot/vmlinuz root=/dev/sda3

HTH,
Roy

Iain Buchanan wrote:

>On Thu, 2005-06-30 at 11:09 -0500, LostSon wrote:
>  
>
>>Hello 
>> I am trying to set my framebuffer so at boot time i get 1024x768 i am
>>not using a splash screen just want the terminal at 1024x768, i have
>>read the tutorial and compiled in all the components i need but jsut
>>cant get it to work my grub.conf looks like this 
>>
>>title=Gentoo-2.6.11-r11-boot-1024
>>root (hd0,0)
>>kernel (hd0,0)/boot/bzImage.new3 root=/dev/hda3
>>video=vesafb:[EMAIL PROTECTED]
>>
>>
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Thunderbird Drag and Drop

2005-07-01 Thread Roy Wright
Howdy,

I've tried every search permutation I can think of without luck so am
hoping someone here might have a good reference.

I'm working on a java app where I'd like to be able to accept Thunderbird
attachments as XDnD drops.  Thunderbird attachments are dropped as x-moz-url
mime types that are encoded in UTF-16LE.  This gives a mailbox URL like:

  "mailbox:home/royw/.thunderbird/i3kr.default/Mail/Local%20Folders/?" +
  "number=11205121&part=1.3&type=application/x-zip-compressed" +
  "&filename=foo.zip\r\nfoo.zip"

This is where I'm stuck.  My first thought was, this is mail, use JavaMail.
OK, but I can't find a "mailbox://" provider.  Second thought, does the
system
natively support the protocol?  Konquerer - no.  Firefox - no.  Third
thought,
can I just drop to KDE desktop?  Yes.  So it is doable.

Any ideas?  Pointers to code, specs, anything?

BTW, java 5 added XDnD support.

TIA,
Roy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage Distfile Cache

2005-07-04 Thread Roy Wright
I followed these directions.  Works nicely.

  http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror

Have fun,
Roy

Kurt Guenther wrote:

>I have serveral machines that all update from a mirror.  Is there a
>portage cache that would allow a single machine to fetch updated
>packages and let itself and others use them?
>
>My connection is fast enough that it's not really an issue on my end. 
>I'm just thinking that I'm being harder on the mirror then I need to be.
>
>--Kurt
>
>  
>
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Internal dynamic IPs

2005-07-05 Thread Roy Wright
Howdy,

I have two machines that are regularly moved between two sub-nets. 
One a gentoo desktop, the other (boo hiss) that sorry excuse for an
operating system laptop.  Now the two subnets are my hardware VPN
at home, and the office.  Both machines need DHCP.  I also have a third
box (gentoo) at home on a static ip.  Now I mostly access the laptop via
VNC over ssh and via scp, rsync, and unison for file transfers.  We do
not have dynamic DNS available internally.  What I currently do is just
use nmblookup on the WINS name for each box and update the /etc/hosts
file (actually I use a down and dirty perl script to do the update).  This
works as long as I remember to do it prior to trying to ssh to the laptop.
If I forget, then sometimes the gentoo systems seems to get the old IP
stuck in cache somewhere where I haven't figured out how to clear it,
except by (gag) rebooting.  I know, my ignorance.

So I'm wondering if there is a better solution and also how to clear
the name server cache.

Thank you,
Roy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Heads-Up sys-lib/com_err breaks Apps

2005-07-08 Thread Roy Wright
Here's a perl script to display the einfo lines of packages to
be merged.  Just run it with the same options you will use for
emerge.  Example:

  einfo -uDN world >einfo.txt
  emerge -uDN world
  less einfo.txt

You will probably want to save the output to refer to after
emerging.

Enjoy,
Roy

#!/usr/bin/perl

# this script will run emerge with the given command line options plus
# "--pretend".  It will then grep all of the packages to be merged looking
# for einfo lines to display.

$portage = '/usr/portage';
$emerge = "emerge @ARGV --pretend";

open(EMERGE, "$emerge|") || die "unable to open $emerge\n";
while() {
if(/\[[^\]]+\]\s+(\S+)\/(\S+)\-(\d\S*)\s/) {
findInfo($1,$2,$3);
}
}
close(EMERGE);

exit 0;

sub findInfo
{
local ($package,$name,$ver) = @_;
local $pkgDir = "$portage/$package/$name";
local $ebuild = "$pkgDir/$name-$ver.ebuild";
print "$ebuild\n";
if(-T $ebuild) {
open(EBUILD, "<$ebuild") || warn "unable to read $ebuild\n";
while() {
if(/(einfo.*)$/) {
print "  $1\n";
}
}
close(EBUILD);
}
print "\n";
}


Ow Mun Heng wrote:

>Perhaps a good thing would be when the emerge -uDpv world output can be
>formatted to include einfo messages, or rather include "ecriticalinfo"
>outputs. (Just like IIRC updating portage will make that happen.)
>
>Now, that would be a feature worth having.
>  
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alsa issues

2005-07-09 Thread Roy Wright
You are probably building it into the kernel and trying to load it
as an alsa module.  Do one or the other.

I.e., if you want it built into the kernel, then remove it from
/etc/modules.d/alsa
#options snd-intel8x0 index=0

If you want it as a module, then set CONFIG=SND_INTEL8X0=M in
/usr/src/linux/.config (Device Drivers, Sound, Advanced Linux Sound
Architecture, PCI devices,  Intel/SiS/nVidia/AMD/ALi AC97
Controller)

HTH,
Roy

[EMAIL PROTECTED] wrote:

>trouble loading snd-intel8x0 for soundcard
>
>modprobe snd-intel8x0 results in ...
>
>FATAL: Module snd_intel8x0 not found
>
>yet it exists as...
>
>/lib/modules/2.6.12-gentoo-r4/kernel/sound/pci/snd-intel8x0.ko
>
>Could this be a bad alias in modprobe.conf?  If so how do I fix it?
>
>Creighton
>
>  
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Heads-Up sys-lib/com_err breaks Apps

2005-07-09 Thread Roy Wright
Thanks for the extension (checking for ewarn & eerror).  I'm
still getting a handle on gentoo ;-)

I borrowed a portage.cron script from off of this list and run
it under cron.daily.  One of my changes to the script is to run
einfo (I also pull down the files so they are ready for compile
after I receive the cron email and review).

Have fun,
Roy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's new with all those new packages?

2005-07-11 Thread Roy Wright
emerge --pretend --changelog

will display the change log(s).  I usually do
emerge -uDNv world -pl
then if I like it, just delete the -pl to do the merge.

Have fun,
Roy


Myk Taylor wrote:

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>I think if you're using Gentoo, there is an assumption that "if it's new
>(and acceptably stable), I want it".  I agree that a comprehensive list
>of fixed bugs and new features would be nice for each updated package,
>but I imagine that it would be unwelcome extra work for the port
>maintainers.
>
>Especially handy would be if I were updating from version x to version y
>of a particular package and emerge would tell me the functional delta
>between those two versions.
>
>If there's a package I'm particularly interested in (or dubious about),
> I'll venture over to its homepage to check out the changelist when it
>gets updated, but I usually defer to the wisdom of the portage and
>package maintainers.
>
>- --myk
>
>[EMAIL PROTECTED] wrote:
>  
>
>>portage reminds me of updating packages frequently,
>>i have to decide what to update, and if it's worth downloading?
>>
>>is there a easy way to see "what's new" of those packages to be
>>updated? the ChangeLog within /usr/portage/xxx-xxx/ make no sense to me.
>>
>>thanks.
>>
>>regards 
>>daniel..
>>
>>
>-BEGIN PGP SIGNATURE-
>Version: GnuPG v1.4.1 (GNU/Linux)
>
>iD8DBQFC0pxMBOPsJyAQkeARAsvEAJ9RWQ9LBWOdXJpBsesgfJP2wOBtBgCbBU0m
>7LtGA+VdldKj/sxxrjlMtzg=
>=NhMW
>-END PGP SIGNATURE-
>  
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-11 Thread Roy Wright
Howdy,

emerge sys-libs/lrmi

then from a console run:  vbetest

this will display the video modes your graphics card supports.
Note I had differing results running from an xterm, so I suggest
running from a console with X stopped.

You might want to look at using uvesa:

  http://dev.gentoo.org/~spock/projects/uvesafb/


I'm in the middle of getting the new fbsplash stuff installed (didn't
work first try :-) but the higher res console works fine with uvesa
(which is what I really wanted in the first place).


HTH,
Roy


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-19 Thread Roy Wright
Marko Kocić wrote:
> I noticed that in most cases after I boot to windows, when I reboot
> back to linux I can't connect.
> When I reboot back to windows, net is up.
>
> When it fails I noticed that it send DHCP requests, but doesn't get a 
> response.
>
> I tried dhclient, dhcpd and pump, and the results are allways the
> same. It happens in the evenings, when internet traffic is high.
>   
Try "ipconnect /release" before rebooting to linux.

Also I had a similar problem when I accidentally had two dhcp servers
running in my home lan.  A hair pulling two days.  :-)

I'd also suggest picking up a cheap non-wireless router (ex: linksys
BEFSR41). 
This will help isolate your box from being dependent on your ISP's dhcp
server.


HTH,
Roy


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-24 Thread Roy Wright

Alan McKinnon wrote:

On Monday 24 March 2008, Enrico Weigelt wrote:
  

One very interesting point (IMHO) is the storage abstraction.
[snip]
I'm currently planning to implement an similar approach for Linux
(at least virtual block devices).



You might want to check out Plan 9 from Bell Labs:

 http://plan9.bell-labs.com/plan9/

Have fun,
Roy


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: 2008.0 install media

2008-04-16 Thread Roy Wright
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I just built a new box (previous one's motherboard fried) and decided to
 just start from scratch with gentoo ~x86.  Tried the 2008.0 beta 1
liveCD but it didn't like my gpu (nvidia 8600GTS) so just did a stage3
install via ssh from another box using the system rescue cd and the most
excellent gentoo documentation.  :-)

The only hassle was after the second emerge --sync, the
/usr/portage/profiles/releases directory disappeared, preventing emerge
from working.  It took two additional tries at emerge --sync to get the
directory back.

Have fun,
Roy
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgFprsACgkQnhUNhXxSuy+75ACgwzEi1BWpU11nMpWih44QnHfs
PpgAn3lwlpGiCOlCeC+66qeUJfbrp/12
=5asb
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] {OT} Overclocked CPU killed motherboard and CD?

2008-04-16 Thread Roy Wright
Grant wrote:
>>  An oc'ed cpu needs a lot more power&generates a lot more heat. Both can 
>> damage
>>  the CPU AND the mobo (too much power might fry a regulator, or cook a cap).
>>  Or it might overload the PSU - and then everything is possible. A damaged
>>  mobo or psu can take a lot of stuff with it to hell.
>>
>>  I hope you learnt your lesson: Overclocking is evil
> 
> I'll never overclock again.  I'm realizing how much more important
> reliability is compared to performance and low cost.
> 
> - Grant

That's been my thoughts until recently.  I just built a system using a
Q9300 (45nm quad core) and decided to give OC a try.  Bumped the clock
from 333MHz to 400MHz causing the CPU freq to increase from 2.5MHz to
3.0MHz.  DDR2-800 memory not OC'ed.  Core temps under 4 core 100% load
using burnP5 only increased from 71C to 73C.  This was with stock Intel
heat sink/fan/thermal paste (just the way Intel wants it).  I just
ordered a XIGMATEK HDT-S1283 to lower these.

IMO, it looks like the Intel 45nm processors have some easy OC headroom.

YMMV.

Have fun,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Circular dependencies when USE=gnome and emerging world

2008-04-16 Thread Roy Wright
Justin Findlay wrote:
> On AD 2008 April 16 Wednesday 09:28:48 PM +0200, Michael Schmarck wrote:
>> When I do "emerge -DuvatN world", I get an error to the effect,
>> that there are circular dependencies. Please see below. 
>>
>> I'd like to know, if anyone else ran into this problem and how it
>> got solved. At the end of the message, you'll also find emerge --info.
>>
> I'd try the merge world without setting USE="gnome" first, and then
> later enable it by putting gnome in your /etc/make.conf USE setting.  If
> you want to be more clever about it/save some time, you can try to
> figure out the problematic packages and just temporarily disable gnome
> on them via /etc/portage/package.mask/, but that may not be much more
> efficient than the first option.

Also try globally disabling the doc use flag in your make.conf,
USE=-doc.  I hit this problem the other day and googled this solution.

HTH,
Roy

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] baselayout-2.0.0 surprises

2008-04-18 Thread Roy Wright
Alan McKinnon wrote:
> On Thursday 17 April 2008, Volker Armin Hemmann wrote:
>>> Because you didn't read the elog messages.
>> it is still not ok to remove /etc/conf.d/net. That is extremly
>> stupid.
> 
> This one caught me too, and I DID read the elog message plus the upgrade 
> guide. /etc/conf.d/net is not mentioned anywhere. And there was nothing 
> in conf-update either. I most certainly would have spotted it if there 
> were.
> 
> I can recreate the settings easily enough, except for the wireless keys 
> that used to be in the old file.

If you use dispatch-conf, check /etc/config-archive for your previous
version.  You might get lucky...

HTH,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Need simple smtp sendmail

2008-04-18 Thread Roy Wright
Howdy,

It's been three years since I last set up mail on my workstation which
I'm replacing after a motherboard failure.  One of the pieces I'm
missing is what do I need to allow processes like portage and mdadm send
notification messages to my email account.  IIRC, I had something that
just forwarded smtp mail to my public account.

I would prefer something really simple (i.e., not postfix).

Any pointers to threads or howto articles most welcome.

TIA,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Need simple smtp sendmail

2008-04-19 Thread Roy Wright
Grant Edwards wrote:
> On 2008-04-18, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> 
>> mail-mta/ssmtp, which is generally installed by default.
> 
> Or, if you need to support multiple e-mail accounts: mail-mta/msmtp.

Thank you!

The key was knowing it was ssmtp that I needed to configure. I then
found: http://forums.gentoo.org/viewtopic-t-420358.html which added the
AuthUser and AuthPass config options I was missing.

Have fun,
Roy

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Raid5 not assembled after boot

2008-04-19 Thread Roy Wright
Howdy,

This is the first time I've played with a software raid and it looks
like I'm missing a part.

The raid5 consists of three AHCI 1TB drives (sdb1,sdc1,sdd1) assembled
as /dev/md1 and formatted ext3.  The raid is just a data drive mounted
on /var/media.

Here's the array line from /etc/mdadm.conf:

ARRAY /dev/md1 level=raid5 num-devices=3
UUID=32d159bf:9c7d988b:1caf26c5:a35f83fb

After boot, /dev/md1 does not exist.

I can run:

 mdadm --assemble /dev/md1 /dev/sdb1 /dev/sdc1 /dev/sdd1

which starts /dev/md1 then I can mount the raid fine.

I've tried adding:

  DEVICE /dev/sd[bcd]1

to /etc/mdadm.conf, no observable effect.

/etc/init.d/mdadm is in the boot rc level and is running after boot (I
was expecting this to start the array).

Looking thru dmesg and /var/log/messages, it looks like there are no
attempts to start the array until I manually try.

Any hints on what I'm missing?

TIA,
Roy


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Raid5 not assembled after boot

2008-04-19 Thread Roy Wright
Francesco Talamona wrote:
> On Saturday 19 April 2008, Roy Wright wrote:
>> Looking thru dmesg and /var/log/messages, it looks like there are no
>> attempts to start the array until I manually try.
>>
>> Any hints on what I'm missing?
> 
> Personal experience:
> 
> 1) don't mix raidtools stuff with mdadm, use only the latter (I'm not 
> saying you used raidtools, but I found a lot of misleading 
> documentation lying around)
> 
> 2) check carefully the UUID of *all* the partitions, I had exactly the 
> same issue, that I discovered to be caused by a leftover partition that 
> was part of a different raid set (spurious UUID). At some point in the 
> bootup the correct set were disassembled.
> 
> 3) evms can badly intefere with mdadm (or it was LVM?): try to modify a 
> partition/raid setup and it always appears busy, preventing any 
> editing.
> 

Thank you.

I only used mdadm following the gentoo.org docs and gentoo-wiki howtos.

Just confirmed all three drives and the mdadm.conf UUID's are the same.

evms not installed.
lvm2 not installed.  yet.

I think I found the answer in the man page:

  --auto-detect
  Request that the kernel starts any auto-detected arrays.
  This can only work if md is compiled  into  the  kernel
  -- not if it is a module.  Arrays can be auto-detected
  by the kernel if all the components are in primary MS-DOS
  partitions with partition type FD.   In-kernel  autodetect
  is not recommended for new installations.  Using mdadm to
  detect and assemble arrays -- possibly in an initrd -- is
  substantially more flexible and should be preferred.

Basically it seems that I need to add a "mdadm --assemble --scan" to a
startup file.

Thanks again!

Have fun,
Roy



-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: OT: Question re: UUID

2008-04-21 Thread Roy Wright
Michael Schmarck wrote:
> Correct. UUIDs are universally unique (as the name already "suggests" *g*)
> and thus, there cannot be a clash.

Not quite true, drives in a RAID have the same UUID.
Here's my raid5 for an xxample:

# blkid | grep mdraid
/dev/sdb1: UUID="bf59d132-8b98-7d9c-c526-af1cfb835fa3" TYPE="mdraid"
/dev/sdc1: UUID="bf59d132-8b98-7d9c-c526-af1cfb835fa3" TYPE="mdraid"
/dev/sdd1: UUID="bf59d132-8b98-7d9c-c526-af1cfb835fa3" TYPE="mdraid"

So you would need to reset the UUID before reusing a drive from an array.

Have fun,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Help with mounting an ISO file as non-root

2008-04-23 Thread Roy Wright
Take a look at:

http://gentoo-wiki.com/TIP_Mounting_Iso_Files

HTH,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] No mail from list

2008-04-26 Thread Roy Wright
Anthony E. Caudel wrote:
> I haven't received any mail from the gentoo-user mailing list for 4 days
> now.  Anyone else having problems with the list?
> 

If you are using Thunderbird, check your junk folder.  This happened to
me.  I added the mail lists to my address book and everything is working
again.  It could have been because I cleaned up my address book about
then.  Or it could have been a side-effect of compiling
mozilla-thunderbird-2.0.0.12 on 04/21/2008.  I didn't investigate as it
is working now.

HTH,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] No mail from list

2008-04-27 Thread Roy Wright
Neil Bothwick wrote:
> On Sun, 27 Apr 2008 01:56:43 -0500, Roy Wright wrote:
> 
>>> I haven't received any mail from the gentoo-user mailing list for 4
>>> days now.  Anyone else having problems with the list?
> 
>> If you are using Thunderbird, check your junk folder.
> 
> I hope you CCed this to the OP, otherwise he probably won't see it ;-(
> 
> 
Sure did. :-)  Actually BCCed it.

Have fun,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] OT: Looking for SATA controller recommendation

2008-05-06 Thread Roy Wright
Howdy,

I'm looking to add three more drives to my system for a software RAID5
media volume.  I've used all my motherboard SATA ports so need a SATA
controller.  I don't want a hardware RAID controller (been there, burned
when controller died).  4 SATA2 ports is the minimum required.  I have
both PCIe and PCI slots available.  I do not need high performance as
the RAID will just contain media files for access in my home.  I would
prefer a controller supported by normal kernel drivers.  My preference
is to keep costs down (3 x 1 TB drives are costly enough :).

Any recommendations?

FYI, system is gentoo ~x86, Intel Q9300, Gigabyte GA-X48-DQ6.

TIA,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OT: Looking for SATA controller recommendation

2008-05-08 Thread Roy Wright
Albert Hopkins wrote:
> I think as long as you stay away from RAID, in particular "fake" HW
> RAID, then it would be difficult to find a SATA controller that wasn't
> supported by the kernel.

Thank you.  The hardware search is being a little more difficult than I
had hoped.  I'm finding:

* Internal SATA 1 (PCI)
* Internal SATA 2 (PCI-X)
* eSATA (PCI, PCIe)
* hardware RAID (PCI, PCIe, PCI-X) using proprietary binary drivers

Looks like I need to rethink my storage upgrade.

Thank you,
Roy

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] UPS recommendation

2008-05-11 Thread Roy Wright
I have several Belkin UPSs which over the years have only let me down
once (we had a power substation fire which did some really funky things
to the AC for a couple of minutes, afterward my motherboard on one
computer "protected" by a Belkin UPS was dead).  My main complaint with
the Belkins is there insistence to loudly beep every 30s when on
battery.  Acceptable for 1 UPS, really annoying for 5...  :-)

Also I tried an off-brand small UPS on my wireless broadband router in
the attic, it only lasted about a year before dying.

When shopping, check replacement battery cost and availability.

When sizing, you may want to include your infrastructure (routers,
switches) and displays.


Have fun,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] VLC use flags request

2009-04-10 Thread Roy Wright
Paul Hartman wrote:
> On Thu, Apr 9, 2009 at 2:52 PM, Roy Wright  wrote:
>> Howdy,
>>
>> I've been having trouble with VLC (saving from disc, h264+a52) and think
>> it's related to the set of use flags so was hoping some kind soul with a
>> functional VLC wouldn't mind posting their USE flags.
> 
> I don't know if mine will do what you're trying to do, but it seems to
> work for what I've tried to do. Here are my USE flags:
> 

A quick thank you.  I have vlc almost working now but got distracted
when I found the new ebuild for handbrake over on b.g.o.  FYI handbrake
rocks and is 3x faster on my gentoo desktop than my macbook. ;)

Thank you,
Roy




Re: [gentoo-user] KDE 4.2.1 : beta is as beta does

2009-04-13 Thread Roy Wright
Alan McKinnon wrote:
> On Tuesday 14 April 2009 02:19:47 Paul Hartman wrote:
>> On Mon, Apr 13, 2009 at 11:28 AM, Paul Hartman
>>
>>  wrote:
>>> The only app I am really disappointed with is Amarok 2. 

Glad I'm not the only one who doesn't get Amarok 2...

Personally the change over to dolphin is disappointing.  So far I've
been able to mostly ignore it and use konqueror with one major
exception, fish and sftp no longer work in konqueror.  Only sftp works
in dolphin.  In the past (3.x), I always found fish to be bulletproof
while sftp occasionally would flake.

A minor gripe with Konsole is it not remembering the "Show in Menu"
setting for profiles.  Makes working with several custom profiles a pain.

On using the plasmoids on the desktop, dock the "Show Plasmoids Desktop"
plasmoid.  Basically one click and you have access to all your
plasmoids.  Almost as good as the mac...

One trick that I do with the plasmoids is place the CPU monitor on the
right edge of my screen, then when I place windows I leave about a half
inch uncovered on the right so I can see the most recent processor load.

Overall I'm liking KDE4.  Just need to get k3b ported over then I can
finally ditch kdelibs-3.5...

Have fun,
Roy



[gentoo-user] kdm 4.2.2 not configurable?

2009-04-22 Thread Roy Wright
Howdy,

Well I just went back to using two monitors in twinview mode after a few
months of single monitor suffering.  But now when KDM start I get half a
screen of garbage on the left half of the left monitor and on the right
half of the right monitor.  OK, should just need to set the background
image.  So head over to Computer, System Settings, Advanced, Login
Manager but got a problem, everything there is disabled.  Docs imply
there should be an Admin button but it's not there (Have: Help,
Defaults, Reset(disabled), & Apply(disabled)).

Thinking, oh well, off to /usr/kde/4.2/share/config/kdm, edit kdmrc and
set GreeterScreen to -1 (the only multi display setting I saw) to see
what happens.  Ran genkdmconf.  Restarted xdm.  No change.

Any ideas?

TIA,
Roy




Re: [gentoo-user] kdm 4.2.2 not configurable?

2009-04-23 Thread Roy Wright
Paul Hartman wrote:
> On Wed, Apr 22, 2009 at 6:22 AM, Roy Wright  wrote:
 But now when KDM start I get half a
>> screen of garbage on the left half of the left monitor and on the right
>> half of the right monitor.
> 
> KDM does the same for me on a wide-screen monitor. In fact it could be
> a security risk because after logging out of KDE, random pieces of
> screen from the last session sometimes show up on the garbage parts on
> the sides, including potentially sensitive information. It does not
> appear to support any kind of screen size detection. What you need to
> do is find (or make) a theme that is the same size/aspect ratio as
> your display setup and then it'll be okay. It's trying to use a 4:3
> theme on a 8:3 or 16:9 or whatever and apparently the KDM people
> haven't gotten around to dealing with that yet.

For now, I simply edited kdmrc and set UseTheme to false.

Still haven't figured out how to use System Settings, Advanced, Login
Manager.  Can't get anything to be enabled for editing.  I've tried:

* chmod -R 755 the config directories (/usr/share/config &
/usr/kde/4.2/share/config)

* reset the config files with: genkdmconf --no-old

The ownership of the conf files is root:root, so am thinking the
permissions should be 775, but I've found multiple sources that state
the perms should be 755, which would make since if I had an Admin button
like they refer to.  Maybe a sudo setup or something...

Thank you,
Roy



Re: [gentoo-user] kdm 4.2.2 not configurable?

2009-04-23 Thread Roy Wright
Paul Hartman wrote:
> 
> For now you can open a "run" dialog and type "kdesu systemsettings" to
> have the admin options enabled for editing.

That works great!

Thank you,
Roy




Re: [gentoo-user] USB barcode scanner

2009-05-03 Thread Roy Wright
dhk wrote:
> I have a 2-dimensional usb bar code scanner that I'm trying to get
> working ( This is the exact one if interested:
> http://www.barcodesinc.com/metrologic/ms1690.htm ).  It scans, but
> nothing gets displayed.  How can I get the focused window/terminal to
> understand that the device should be treated as stdin?  The output from
> lsusb and lsusb -D is below.  Thanks,
> 

It doesn't look like you have the HID keyboard version.  I have an ID
Tech IDT4439U which when plugged in behaves like a keyboard.  In the
following lsusb output, notice the iConfiguration and bInterfaceClass
parameters.  My wild guess is you will need a driver.  Also you may want
to verify you have CONFIG_HID* enabled in your kernel config.

HTH,
Roy

Bus 006 Device 003: ID 04b4:0101 Cypress Semiconductor Corp. Keyboard/Hub
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor   0x04b4 Cypress Semiconductor Corp.
  idProduct  0x0101 Keyboard/Hub
  bcdDevice0.01
  iManufacturer   1 Marson
  iProduct2 Marson Barcode/USB Link KDBv1.21
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   34
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  4 HID Keyboard / Mouse
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  5 EP1 Interrupt
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.00
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  63
 Report Descriptors:
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10
Device Status: 0x0002
  (Bus Powered)
  Remote Wakeup Enabled

# grep HID /usr/src/linux/.config
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
CONFIG_HIDRAW=y
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
CONFIG_USB_HIDDEV=y
# Special HID drivers
CONFIG_HID_COMPAT=y
CONFIG_HID_A4TECH=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_BRIGHT=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DELL=y
CONFIG_HID_EZKEY=y
CONFIG_HID_GYRATION=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_PANTHERLORD=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
CONFIG_HID_SUNPLUS=y
# CONFIG_USB_PHIDGET is not set




Re: [gentoo-user] kde:3.5 how to phase out

2009-05-13 Thread Roy Wright
Dirk Heinrichs wrote:
> Am Dienstag, 12. Mai 2009 11:25:07 schrieb Helmut Jarausch:
> 
>> Furthermore, how to unmerge all of KDE:3.5, e.g.
>> emerge --unmerge kde-base/kde-meta:3.5
>> does not work.
> 
> paludis --uninstall --with-dependencies =kdelibs-3.5.9
> 

If you have openoffice installed, it will need to be compiled without
the kde use flag.  Also to compile it make sure you have a default boost
selected by using eselect boost.

Afterwards you may want to package.mask =kde-base/kdelibs-3.5*

A revdep-rebuild is probably in order too.

HTH,
Roy



Re: [gentoo-user] One of my cores sometimes sleeps

2009-05-14 Thread Roy Wright
Alex Schuster wrote:
> Hi there!
> Most KDE4 itself is always 
> responsive, but not the panel. Konqueror, Kontact and such sometimes freeze 
> when I open a new page/mail. In race cases konqueror also freezes while 
> displaying a page, after parts were already rendered.

I replaced my media lan's router the other day with a
gentoo+dnsmasq+shorewall homebrew and hit this behavior.  My observation
is that they freeze when you loose internet connection.  Two quick
tests:  1) pull you internet cable and see if that duplicates the
behavior you are experiencing; 2) try to ping an internet system while
you are experiencing the problem.

HTH,
Roy



Re: [gentoo-user] Whats better for crossplatform applications?

2009-05-31 Thread Roy Wright


On May 31, 2009, at 2:04 AM, Volker Armin Hemmann wrote:


On Sonntag 31 Mai 2009, Alexander Pilipovsky wrote:
May be, it's not a "only Gentoo" question, but I want to write and  
start
applications under Gentoo and Windows. I saw Tcl/Tk library in work  
(as
example OOMMF: http://math.nist.gov/oommf/, but it, sometimes,  
unstable
under Windows XP). And it did not like me to look of buttons, lists  
etc.

Other way I saw in using wxPython (http://www.wxpython.org/) or
wxWidgets (http://www.wxwidgets.org/). I want to have as little as
possible differences in GUI of my program when it starts under GNOME,
KDE or Windows. May be some other libraries for crossplatform
development are exists.

What library better for unification of application look and  
developing?


P. S. Excuse my English, please :)


qt



There's a few to choose from.  Here's some:

java - portability was one of the original design goals
javafx - looks real interesting for 2D graphics
gtk - lots of language wrappers available
qt4 - some kde apps are starting to be portable
shoes - really simple UI, designed for learning
gosu - 2D cross platform library

I'm sure there are more...

Have fun,
Roy




Re: [gentoo-user] dispatch-conf merge

2009-06-02 Thread Roy Wright


On Jun 3, 2009, at 12:21 AM, Graham Murray wrote:


Is there any way to improve the granularity in the merge function of
dispatch-conf, or make it more intelligent?

The particular situation where it gives me problems is in  
configuration

files where the value of an option has been manually changed following
initial installation, then on an upgrade a new option is added close  
to

the one previously changed. In this situation, dispatch-conf almost
invariably wants to reset the changed option line back to its default.
When selecting 'm' to merge changes it will present a left hand side
with the already existing value (often plus other lines) with the  
right

hand side with the default lines for both the existing line(s) and the
new ones.



My habit when manually tweaking a config file is to copy the line then  
comment

out the original, like:

original:

foo=some default

changed to:

#foo=some default
foo=bar

this seems to help dispatch-conf some.

For really ugly merges, I just skip in dispatch-conf, then merge using  
kdiff3.


HTH,
Roy




Re: [gentoo-user] Serious stability problems, including freezes

2009-06-03 Thread Roy Wright


On Jun 3, 2009, at 1:17 AM, Florian Philipp wrote:


Alexander Puchmayr schrieb:

Hi there!

My freshly setup homeserver has serious stability problem, which  
make the

the machine absolutely unuseable as home server.


[...]


The problem is, when I copy large amount of data via nfs to the  
server, then

the logs get filled with entries like this:

The second problem is that the network controler (rtl8169) seems to  
timeout
on TX, which is very bad if it happens during renewing your dhcp- 
lease :-(

the message looks like

The worst thing however is an occasional freeze of the whole  
system, which

happens very likely when there is high network load over nfs. If that
happens, I have a blank console, no network, no keyboard, nothing.  
Not even
sysrq seems to work, which makes it pretty hard to tell what has  
happened.
After resetting the machine, there is nothing suspicious in the  
logs (it

just ends).

Does anyone have suggestions?



Do you have a spare network adapter, maybe an older 100MBit PCI card?
Maybe we should rule out a hardware fault on your ethernet chipset  
first.




I had a similar issue over a year ago.  My problem turned out to be  
the switch I
was connecting to was bad.  I didn't discover this until I physically  
ran a 50ft
cable between the two computers just to rule out my infrastructure.   
Surprise. :)


Just for grins, here's my nfs mount options:

-rsize=8192,wsize=8192,soft,timeo=30,rw

My main gentoo box is down at the moment (power supply being RMA'd), but
I recall I had to set the unsecure option so my macbook could connect.

HTH,
Roy




Re: [gentoo-user] Fresh install on reboot endless scrolling text

2009-06-09 Thread Roy Wright


On Jun 9, 2009, at 7:50 PM, Harry Putnam wrote:


I've just completed first part of a fresh install.
[snip]
What I see on reboot:

Normal booting appears to be going along then moments after dev is
mounted followed by filesystems... a massive screen full of text
begins scrolling by and never stops.

Impossible to read any of the text and neither pause/break or
scroll/lock keys have any effect.

Appears to be a continuous wrapping line repeated.

But it completely kills the boot process, and no further progress is
possible.

I really have no idea what to change when I boot off the install  
media.


So you have grub installed, the grub menu appears, you select a boot
option, boot starts, the usual kernel messages flash by, you get to the
second part of the boot where the lines look like:

 blah...   [OK]

Then something goes crazy.

Assuming that's the scenario, boot with your install media, enter the
chroot, then take a peek at the logs in /var/log.  Hopefully you can  
find

a hint.

HTH,
Roy



Re: [gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread Roy Wright


On Jun 10, 2009, at 2:20 AM, James Homuth wrote:


On 06/10/2009 09:50 AM, James Homuth wrote:


Hello all,
First off I'll admit to not knowing as much as I should about my
system, and am hoping to correct that as I go (that's part of the
reason I'm actually doing it this way). I'm trying to set up X on my
system, and am not entirely sure which video card I have.


You open the case of the PC, remove the graphics card and take a  
good look

at it :P


And if you can't see the card, nevermind well enough to open the  
case? :P


I can testify that this method does not always work.  I had bought a  
name brand
video card, but it turned out to be a generic card that did not have a  
manufacturers

name, logo or even model number on it, not even a sticker.

lshw usually works.  If needed, emerge lshw






Re: [gentoo-user] [OT] Use of sed

2009-06-23 Thread Roy Wright


On Jun 23, 2009, at 6:48 PM, Peter Humphrey wrote:


Hello list,

I'm reduced to asking a newcomer's question: how can I make sed  
recurse down
a directory tree? And while I'm at it, how do I change the field  
separator

from / to enable me to search on that character?


maybe something like:

find . -name '*' -exec sed {options} '{}' \;

HTH




[gentoo-user] finding qt plugins?

2009-06-28 Thread Roy Wright

Howdy,

On ~x86 did the upgrade to qt 4.5.2 and get the following message:

"After a rebuild or upgrade of Qt, it can happen that Qt plugins (such  
as Qt
and KDE styles and widgets) can no longer be loaded. In this situation  
you

should recompile the packages providing these plugins...

"Packages that typically need to be recompiled are kdelibs from KDE4,  
any

additional KDE4/Qt4 styles, qscintilla and PyQt4..."

Then followed the link on the plugins which stated:

"The Qt library and all plugins are built using a build key. The build  
key in the Qt library is examined against the build key in the plugin,  
and if they match, the plugin is loaded. If the build keys do not  
match, then the Qt library refuses to load the plugin."


So how do I find all the installed qt plugins on my system and check  
their build keys?


TIA,
Roy



Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jun 29, 2009, at 3:56 AM, Dale wrote:


Nikos Chantziaras wrote:


revdep-rebuild only resolves link-time errors, not runtime errors.
You need to observe yourself if something is broken and then rebuild
it manually; revdep-rebuild ain't gonna help in this case.





Sounds like Gentoo needs a new tool.  Calling all geeks and nerds !!

Dale


Drum roll please...

http://github.com/royw/qt-rebuild

A couple of notes:
* if you run qt-rebuild --pretend, you should have only one build key.
   if you have more than one, you really need to rebuild them.
* the build key does not contain the qt version.  Instead it describes
  the build environment.

So currently I don't see how to verify that all the plugins are built  
to the

same qt API.

Here's the readme:

= qt-rebuild

This is a utility for gentoo (http://gentoo.org) linux.

When QT is upgraded, you may have to rebuild any QT plugins.  This  
utility

attempts to find and rebuild packages with QT plugins.

Here's the discussion thread:
http://archives.gentoo.org/gentoo-user/msg_d9357c6f26dec67492b794f8f66db29d.xml

== Installation

  $ emerge ruby rubygems
  $ sudo gem install royw-qt-rebuild --source http://gems.github.com

== Usage

  $ qt-rebuild -h
  OPTIONS

--version,-v
This version of qt-rebuild

--help,-h
Print usage.

--quiet,-q
Display error messages only.

--debug,-d
Display debug messages.

--set,-s
Output in portage's set format.

--nocolor,-C
Turn off colored output. (This option is also passed to
portage.)

--pretend,-p
Do a dry-run.

It is recommended to do a dry run first:

  $ qt-rebuild -p

To create a set file:

  $ qt-rebuild -s -p > /etc/portage/sets/qt-rebuild


== Copyright

Copyright (c) 2009 Roy Wright. See LICENSE for details.

---





Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jun 30, 2009, at 3:16 PM, Paul Hartman wrote:


On Tue, Jun 30, 2009 at 2:54 PM, Roy Wright wrote:

== Installation

$ emerge ruby rubygems
$ sudo gem install royw-qt-rebuild --source http://gems.github.com


Hi,

$ sudo gem install royw-qt-rebuild --source http://gems.github.com
ERROR:  could not find gem royw-qt-rebuild locally or in a repository

I know nothing about ruby or gems. Any idea what I'm missing?

Thanks.



I was a little premature in posting the announcement, github takes a  
while
to actually publish the gem.  But there is another problem so please  
wait

for my next message before trying again.

Thank you,
Roy



Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jun 30, 2009, at 4:41 PM, Roy Wright wrote:



On Jun 30, 2009, at 3:16 PM, Paul Hartman wrote:


On Tue, Jun 30, 2009 at 2:54 PM, Roy Wright wrote:

== Installation

$ emerge ruby rubygems
$ sudo gem install royw-qt-rebuild --source http://gems.github.com


Hi,

$ sudo gem install royw-qt-rebuild --source http://gems.github.com
ERROR:  could not find gem royw-qt-rebuild locally or in a repository

I know nothing about ruby or gems. Any idea what I'm missing?

Thanks.



I was a little premature in posting the announcement, github takes a  
while
to actually publish the gem.  But there is another problem so please  
wait

for my next message before trying again.

Thank you,
Roy



OK, it's verified and ready now.  Please try again.

Thank you,
Roy




Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jul 1, 2009, at 12:29 AM, Graham Murray wrote:


Roy Wright  writes:

OK, it's verified and ready now.  Please try again.


Will not install for me. It gives the following error
ERROR:  Error installing royw-qt-rebuild:
   royw-qt-rebuild requires commandline (>= 0.7.10, runtime)



Paul and I worked this out offline.  Here's the corrected install  
instructions:


sudo gem install royw-qt-rebuild --source http://gems.rubyforge.org -- 
source http://gems.github.com


I'll update the readme in a few minutes...

Thank you,
Roy



Re: [gentoo-user] NFS issues.

2009-07-01 Thread Roy Wright


On Jul 1, 2009, at 9:53 AM, Andrew MacKenzie wrote:


Two questions:
How do I fix the shutdown sequence to unmount NFS drives before the  
network

is shutdown?

How do I tell NFS to simply give-up after X attempts (for other  
times when

the NFS server simply may not be there anymore and I *just want the
friggin' computer to shudown*)?



verify that both your nfs and net service are at the same run level:

royw-gentoo etc # rc-update show | grep nfs
  nfs | default
royw-gentoo etc # rc-update show | grep net
 net.eth2 | default
 netmount | default
local |  nonetwork  default
   net.lo |boot

Also you might consider using autofs.  I have two gentoo and one kubuntu
systems all cross sharing nfs mounts using nfs without any issues.

HTH,
Roy




Re: [gentoo-user] KDE 4, dev-python/sip and dependency graph

2009-07-05 Thread Roy Wright


On Jul 5, 2009, at 2:32 AM, Dale wrote:


Hi all,

I'm wanting to give KDE 4 another shot.  I used autounmask to add all
the lines to package.unmask and package.keyword.  It was quite a lot I
might add.  Anyway, I'm getting this now.

Total: 238 packages (2 upgrades, 2 downgrades, 117 new, 117 in new
slots), Size of downloads: 390,805 kB

!!! Multiple package instances within a single package slot have  
been pulled

!!! into the dependency graph, resulting in a slot conflict:

dev-python/sip:0

 ('ebuild', '/', 'dev-python/sip-4.8.1', 'merge') pulled in by

=dev-python/sip-4.8.1 required by ('ebuild', '/',

'dev-python/PyQt4-4.5.1', 'merge')
   (and 2 more)

 ('installed', '/', 'dev-python/sip-4.7.9', 'nomerge') pulled in by
   ~dev-python/sip-4.7.9 required by ('installed', '/',
'dev-python/PyQt-3.17.6', 'nomerge')
   (and 2 more)


I found the same message on the forums but found no fix for this.  It
seems sip is not slotted and one qt package needs the old version and
another qt package needs the new version and both sip packages can't  
be

there at the same time.

Ideas on how to get around this?



Try -python in your make.conf USE setting.  That should disable the  
python
bindings.  If you run across a package that really needs the python  
bindings,

enable just it in your /etc/portage/package.use

For details, search for the "PyQt4-4.5 and pykde4-4.2.4 blockers"  
thread.


HTH,
Roy




Re: [gentoo-user] Re: X broken; keyboard for sure, maybe dri

2009-07-05 Thread Roy Wright


On Jul 5, 2009, at 12:13 PM, walt wrote:



I have no libdri.so anywhere on my system.  Eselect shows nvidia and
xorg-x11; I tried both, it did change some symlinks, but never  
created

one for libdri.so...


I'd be more worried about this than the keysym errors. I have xorg- 
server-1.6.1.902

which installs these two (and of course much more):
/usr/lib64/opengl/xorg-x11/extensions/libdri.so
/usr/lib64/opengl/xorg-x11/extensions/libdri2.so

When I use eselect to set the opengl version to xorg-x11, it sets a  
symlink:
/usr/lib/xorg/modules/extensions/libdri.so -> /usr/lib64/opengl/xorg- 
x11/extensions/libdri.so*


If you don't have these libs and links then I'd say as your first  
chore you should

figure out why they're missing.




http://www.gentoo.org/doc/en/dri-howto.xml

DRI is a kernel option.

HTH,
Roy



Re: [gentoo-user] random reboots

2009-07-10 Thread Roy Wright


On Jul 10, 2009, at 2:07 PM, Volker Armin Hemmann wrote:


On Freitag 10 Juli 2009, Alan E. Davis wrote:


My system reboots at seemingly random times.  Usually, this happens
during keyboard or mouse input.  I have been using kernel 2.6.30-r2.
Often this happens when using firefox, but not exclusively.


sounds like
a) heat
or
b) psu problems
or
c) triple faults.


c) is a lot of time caused by memory problems. One thing causing  
memory

problems is a bad psu.

so - in your case - just try a different psu. Ask a friend for one  
for a

couple of days. If your problem stays, you have to look elsewhere.



I had to RMA my power supply a few weeks ago, it had the same symptoms.
Let's just say I'm very satisfied with Thermaltake's RMA policy.

Here's a simple test.  Boot into BIOS and leave it there.  If the  
power supply
cycles, you'll find the machine booted into your OS.  This eliminates  
the OS

as a source of the problem.

HTH,
Roy

Re: [gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-18 Thread Roy Wright


On Jul 18, 2009, at 7:48 PM, James wrote:



I have:


rw-r--r-- 1 root root0 Jul  7 22:50 .keep_x11-libs_qt-3
-rw--- 1 root root0 Dec 30  2008 .qt_plugins_3.3rc.lock
-rw--- 1 root root 3.8K Jul 17 08:13 qt_plugins_3.3rc


so now I have

-rw-r--r-- 1 root root0 Jul  7 22:50 .keep_x11-libs_qt-3
-rw-r--r-- 1 root root0 Dec 30  2008 .qt_plugins_3.3rc.lock
-rw-r--r-- 1 root root 3.8K Jul 17 08:13 qt_plugins_3.3rc


when I run 'ooffice  RFP-2-973-561-K.doc'

I get:
terminate called after throwing an instance of
'com::sun::star::uno::RuntimeException'



Just some data points for comparison:

# ls -l /usr/qt/3/etc/settings/
total 12
-rw-r--r-- 1 root root 4749 Jun 15 03:40 qt_plugins_3.3rc
-rw-r--r-- 1 root root   27 Apr 16  2008 qtrc
# equery belongs /usr/qt/3/etc/settings/qt_plugins_3.3rc
 * Searching for /usr/qt/3/etc/settings/qt_plugins_3.3rc ...
# equery belongs /usr/qt/3/etc/settings
 * Searching for /usr/qt/3/etc/settings ...
x11-libs/qt-3.3.8b-r2 (/usr/qt/3/etc/settings)

I'm wondering about the lock (notice the old date).  Maybe move it to  
somewhere safe and try OO again.


Also are you building OO from source or running the binary version?

HTH,
Roy



Re: [gentoo-user] [OT] File merge tool

2009-07-23 Thread Roy Wright
kdiff3 is my favorite graphical merge tool (hey, even have it running  
on my macbook).


On Jul 22, 2009, at 2:49 PM, Harry Putnam wrote:


Summary:
Any suggestions for a file merge tool?

Details:

I'd like to try just actually manually merging bookmarks.html files
from different computers.  Diff and Patch seem kind of hard or maybe
impossible to use for this.

If you have identical parts in different places they will just keep
adding up... no way to weed out duplication.

If there anything that can do that or at least help me do it.

I'm not talking about bookmark merge/storage things like Xmarks or
foxmarks.   My files are not so large that I couldn't do it by hand
but would need some smart helper tool.








[gentoo-user] /usr/lib/pkgconfig collisions

2009-08-02 Thread Roy Wright

Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I  
copied the 0.19.0 ebuilds to my local overlay then renamed them to the  
new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,  
placed it in /usr/portage/distfiles, then used "ebuild ruby-...  
digest" for each of the packages to create the Manifest file.


When I attempt to emerge the updated packages, the first package, ruby- 
glib2-0.19.1, errors with a detected file collision on /usr/lib/ 
pkgconfig.  This is a directory and thus emerge finds every package  
that has installed a file in it.


Now my guess is that some code that attempts to check for conflicts  
within the /usr/lib/pkgconfig directory is being given an blank  
package name, thus is checking the directory.  My problem is I don't  
see where the conflict code is even called.  Anyone have any hints or  
know where the documentation is?


TIA,
Roy




Re: [gentoo-user] Re: /usr/lib/pkgconfig collisions

2009-08-02 Thread Roy Wright


On Aug 2, 2009, at 5:49 AM, ABCD wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roy Wright wrote:


Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I
copied the 0.19.0 ebuilds to my local overlay then renamed them to  
the

new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,
placed it in /usr/portage/distfiles, then used "ebuild ruby-...
digest" for each of the packages to create the Manifest file.

When I attempt to emerge the updated packages, the first package,  
ruby-

glib2-0.19.1, errors with a detected file collision on /usr/lib/
pkgconfig.  This is a directory and thus emerge finds every package
that has installed a file in it.

Now my guess is that some code that attempts to check for conflicts
within the /usr/lib/pkgconfig directory is being given an blank
package name, thus is checking the directory.  My problem is I don't
see where the conflict code is even called.  Anyone have any hints or
know where the documentation is?

TIA,
Roy


My first guess is that, for some reason, the package is trying to  
install a
*file* named /usr/lib/pkgconfig: if this is the case, you can find  
out by

checking in /var/tmp/portage/${CATEGORY}/${PF}/image/ (herein called
"${D}"), which contains the full tree that the package is trying to  
install.
If usr/lib/pkgconfig under that directory is a file, then it would  
collide

with every package that installs a directory named /usr/lib/pkgconfig.

- --
ABCD



On the money:

 # cat /var/tmp/portage/dev-ruby/ruby-glib2-0.19.1/image/usr/lib/ 
pkgconfig

Name: GLib
Description: C Utility Library
Version: 0.19.1

Now to find why...

Thank you,
Roy






[gentoo-user] /usr/lib/pkgconfig collisions

2009-08-03 Thread Roy Wright

Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I  
copied the 0.19.0 ebuilds to my local overlay then renamed them to the  
new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,  
placed it in /usr/portage/distfiles, then used "ebuild ruby-...  
digest" for each of the packages to create the Manifest file.


When I attempt to emerge the updated packages, the first package, ruby- 
glib2-0.19.1, errors with a detected file collision on /usr/lib/ 
pkgconfig.  This is a directory and thus emerge finds every package  
that has installed a file in it.


Now my guess is that some code that attempts to check for conflicts  
within the /usr/lib/pkgconfig directory is being given an blank  
package name, thus is checking the directory.  My problem is I don't  
see where the conflict code is even called.  Anyone have any hints or  
know where the documentation is?


TIA,
Roy




Re: [gentoo-user] /usr/lib/pkgconfig collisions

2009-08-03 Thread Roy Wright

Oops, sorry for the duplicate post.

On Aug 3, 2009, at 2:20 AM, Roy Wright wrote:


Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1),  
I copied the 0.19.0 ebuilds to my local overlay





  1   2   3   >