[gentoo-user]

2015-03-05 Thread Ryan Tasson



===


Cut document turnaround time by 90% with CudaSign. Get unlimited eSignatures 
for just $1 per user/month. Get CudaSign now: https://www.cudasign.com

DISCLAIMER:
This e-mail and any attachments to it contain confidential and proprietary 
material of Barracuda, its affiliates or agents, and is solely for the use of 
the intended recipient. Any review, use, disclosure, distribution or copying of 
this transmittal is prohibited except by or on behalf of the intended 
recipient. If you have received this transmittal in error, please notify the 
sender and destroy this e-mail and any attachments and all copies, whether 
electronic or printed.




Re: [gentoo-user] Network perf tool

2012-10-25 Thread Ryan Decker
I second iperf for network performance testing I've used it
countless times, and does just what it claims to do.

Ryan


On Thu, Oct 25, 2012 at 4:37 AM, Robert David
robert.david.pub...@gmail.com wrote:
 Hi Patric,

 what about iperf?

 Robert.


 On Wednesday 24 of October 2012 20:36:54 Petric Frank wrote:
 Hello,

 this is not exactly an Gentoo question - but i don't now where to ask
 otherwise.

 Is there a tool for (Gentoo-)Linux to do network performance tests as
 defined in RFC 2544 ?
 This will run on an Gentoo host having at least 2 network interfaces to be
 connected to the device under test.

 regards
   Petric




Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-31 Thread Ryan Harris
I have an hp dv7-3085us. Everything on it worked fine with Linux out of the 
box. Webcam,bluetooth,wireless,audio, ect... Hibernation works great with tux 
on ice.








On Wed, Mar 30, 2011 at 11:31 AM, Robin Atwood robin.atw...@attglobal.net 
wrote:


I am in the market for a new laptop and would be interested if anyone else on 
the list had recently bought a laptop in which all the hardware worked out of 
the box with Linux. I am most concerned about WiFi/audio/webcam, the finer 
points of hibernation are of lesser concern. Currently I have a Linux 
Certified machine but I want to avoid shipping costs to the UK.




TIA
-Robin











[gentoo-user] Re: Fire the fox.

2010-09-21 Thread Lie Ryan
On 09/19/10 18:08, Alan McKinnon wrote:
 Firefox 4 indeed is smoother (probably due to the new animations,
 probably because none of the plugins I used are compatible yet, but
 maybe it is just faster); but it is definitely more memory hungrier than
 before. In Fx3, it usually took around ~20-25% of my 1GB RAM and that's
 with opening a bunch lot of pages; Fx4 generally takes around ~25-30%.

 While taking 30% of my RAM is fine when I'm not multitasking, the main
 problem is I am always multitasking. With Thunderbird taking another
 15-20%, emerge ranging from 5-30%, and X about 5-10%, my computer is
 becoming unbearably slow when memory starved.

 I've been thinking about adding -Os (optimize-size) to my CFLAGS, does
 anyone knows if doing that will possibly bring down memory usage and
 speed up the computer?
 
 No it will not.
 
 It's the size of the binary code image that is reduced, you may find that the 
 firefox *code* in memory is smaller too. But it will do nothing for the data 
 structures firefox creates to do it's job.

Makes sense, I just realized how stupid a thought it was...






[gentoo-user] Re: Fire the fox.

2010-09-21 Thread Lie Ryan
On 09/19/10 19:04, Dale wrote:
 Alan McKinnon wrote:
 Apparently, though unproven, at 07:45 on Sunday 19 September 2010, Lie
 Ryan
 did opine thusly:

   
 On 09/19/10 09:22, Hilco Wijbenga wrote:
 
 On 18 September 2010 15:14, Kevin O'Gormankogor...@gmail.com  wrote:
   
 Is it just me?  Or does Firefox get slower every release?  And less
 stable.
  
 Indeed. But FF4 is *much* faster. And much more stable. At least, that
 was my experience when I tried it out. I had to go back to 3.6 because
 some of the plugins that I need were not yet supported for FF4. At
 least the later 3.6 releases aren't as unstable as the previous ones.

 Firefox 4 indeed is smoother (probably due to the new animations,
 probably because none of the plugins I used are compatible yet, but
 maybe it is just faster); but it is definitely more memory hungrier than
 before. In Fx3, it usually took around ~20-25% of my 1GB RAM and that's
 with opening a bunch lot of pages; Fx4 generally takes around ~25-30%.

 While taking 30% of my RAM is fine when I'm not multitasking, the main
 problem is I am always multitasking. With Thunderbird taking another
 15-20%, emerge ranging from 5-30%, and X about 5-10%, my computer is
 becoming unbearably slow when memory starved.

 I've been thinking about adding -Os (optimize-size) to my CFLAGS, does
 anyone knows if doing that will possibly bring down memory usage and
 speed up the computer?
  
 No it will not.

 It's the size of the binary code image that is reduced, you may find
 that the
 firefox *code* in memory is smaller too. But it will do nothing for
 the data
 structures firefox creates to do it's job.

 Think of it this way:

 You have a MySQL instance taking up say 20MB in memory. You use it to
 access a
 500G database so it uses a whopping amount of memory for the indexes. You
 somehow optimize MySQL so that the code is now 19MB. What effect does
 that
 have on the 500G database? Answer: none whatsoever.

 And you conclusions about memory usage are wrong too. When free says
 you have
 1G or RAM (this is true) and top says Thunderbird uses 150M and
 Firefox 180M,
 together they do not use 330M. Much of that memory is shared.

 top tells you amount of memory that this process can access
 top does not tell you amount of memory that this process owns and that
 nothing else can access


 
 Yep.  I use Seamonkey which is browser and email all in one.  It doesn't
 use much when I first start it up.  The amount it accumulates as time
 goes on depends on the websites I go to.  If I go to sites that have a
 lot of flash, pictures and gifs, then it starts to using a lot more
 memory.  If I go to say the gentoo forums which is mostly text, it
 doesn't change much.

When I'm doing emerge or other things, I usually switches to Epiphany,
dillo, or links; depending on how unbearable things becomes.

 Just like the example Alan gave, it's not the program itself that is
 using the memory, it's what you are doing with it that uses memory.  I
 have found that the weather radar site and youtube are the biggest
 memory hogs.  

I'm opening mostly standard HTML pages (gmail, static pages, etc) and
the memory usage is still quite bad.

 This is my Seamonkey with email also open and I have only visited a
 couple forums sites:
 
  7493 dale  20   0  253m 133m  28m S  0.7  6.6   1:59.65 seamonkey-bin

Incidentally, I've found that browsing using Thunderbrowse extension in
Thunderbird is much more memory friendly than using Firefox itself
(Thunderbird still uses around 15-20% memory, compared to 20-30% that
Firefox uses). If only Thunderbrowse's interface is not so buggy...




[gentoo-user] Re: Fire the fox.

2010-09-18 Thread Lie Ryan
On 09/19/10 09:22, Hilco Wijbenga wrote:
 On 18 September 2010 15:14, Kevin O'Gorman kogor...@gmail.com wrote:
 Is it just me?  Or does Firefox get slower every release?  And less stable.
 
 Indeed. But FF4 is *much* faster. And much more stable. At least, that
 was my experience when I tried it out. I had to go back to 3.6 because
 some of the plugins that I need were not yet supported for FF4. At
 least the later 3.6 releases aren't as unstable as the previous ones.

Firefox 4 indeed is smoother (probably due to the new animations,
probably because none of the plugins I used are compatible yet, but
maybe it is just faster); but it is definitely more memory hungrier than
before. In Fx3, it usually took around ~20-25% of my 1GB RAM and that's
with opening a bunch lot of pages; Fx4 generally takes around ~25-30%.

While taking 30% of my RAM is fine when I'm not multitasking, the main
problem is I am always multitasking. With Thunderbird taking another
15-20%, emerge ranging from 5-30%, and X about 5-10%, my computer is
becoming unbearably slow when memory starved.

I've been thinking about adding -Os (optimize-size) to my CFLAGS, does
anyone knows if doing that will possibly bring down memory usage and
speed up the computer?




[gentoo-user] Re: How many ways are there for a user to increase their permissions?

2010-04-18 Thread Lie Ryan
On 04/18/10 11:02, Jonathan wrote:
 On Sun, 18 Apr 2010 08:29:37 +1000
 Lie Ryan lie.1...@gmail.com wrote:

 sudoedit is mainly just a shortcut for sudo $EDITOR (plus doing a
 few things).

 sudoedit is safer then sudo because sudoedit runs as root but nano
 (The editor) runs as your user.
 sudoedit uses a fixed path which is compiled into the program

Yes, that's the few things part, sudoedit does solves a couple of
security issues that you'd have if you start editor manually, probably
calling it just a shortcut is too much undermining.

 Everything above (su,sudo,policykit,polkit) are just sugar for
 permission bits (owner,group,others+SUID,GUID); attempting to give
 finer control over the permissions or provide convenience services.

 Mess up the configuration and you may as well hand out the root
 password.

They're much better than manual management though, which is unless
you're forty-two security wizard in one body you will get it wrong.

 Most security holes in Linux comes from a SUID program that lets
 untrusted programs into the trusted-space.

 53 SUID or GUID programs on my system!
 Why does cdrecord have SUID set?

No idea.

 I found sudo, although very handy for desktop, is a huge security
 hole. And is inadequate for any secure system. This is simply
 because if you run a program as sudo, then in the next five minute
 you start a malicious program *without* sudo; the malicious program
 can gain root access by stealing your previous sudo's timestamp
 (yes, it can steal the timestamp without being explicitly invoked
 with sudo[1]). Before running a potentially untrusted program, you
 must explicitly kill your sudo timestamp with `sudo -k` or set sudo
 to not use timestamp. Better yet, don't use sudo on secure systems.

 Wow... I never thought about that. I run sudo on my system 4 to 6
 times a day if not more. Can tell me the setting please.

Setting for the timeout? See `man sudoers` and look at
timestamp_timeout. Setting for allowing program to steal timestamp?
Don't worry, it's already default.

 I had a quick look at man pages and Gentoo docs but I did not see it.
 Gentoo sudo guide [1] could use a update about this. it was right
 under my nose but I missed it...

 If some leaves they PC for 5 mins you could run
 nano ~/.bashrc and add export PATH=/home/user/.bin:$PATH
 then make a file called sudo write something to nick the password
 and by it on to sudo and then clean up after it self.

I believe the developers of `sudo` considered security against malicious
people with physical access to the computer is out of their scope.
Problem is, that means malicious people only need to trick a sudoers
into running a piece of complex code and say you're not running my
script with sudo, so the script can't do no harm to system.

When I first used sudo, I thought by invoking sudo for trusted program
only and omitting sudo for everything else and thought the system would
be secure. That's a false sense of security. As long as you're a
root-sudoers, all program you run can gain root access any time they
need to. They just need to daemonize and poll every few minutes for an
updated timestamp.

 Just for fun I did that to one of my terminal tabs, with the script
 running echo HAHA!.

I once written a script that have this in the first line:

if [ $UID != 0 ]; then
   sudo $0
   quit
fi
# do business that requires root

the script runs without asking password if I still have active timestamp
from running another program. How convenient! (and makes me shivers)




[gentoo-user] Re: Installing Gentoo via Gentoo ?

2010-04-18 Thread Lie Ryan
On 04/18/10 22:21, meino.cra...@gmx.de wrote:
 
 Hi,
 
 currently I am reading the Gentoo-Handbokk about installing a 
 new Gentoo-System via boot-CD.
 
 If I have a running Gentoo-Sytem on my PC...would it be
 possible to install a new Gentoo-System on a fresh harddisk,
 which is currently unpartitioned and unformatted electrically
 wired with my PC (SATAII) ?

Yes, you should be able to, installing Gentoo is basically just copying
a bunch of files to a partition in a harddisk, nothing magical.

However, you will have to be able to compile a compatible kernel from
your PC. Compatible usually means either your PC have the same
architecture as your laptop (which means everything should be already
setup) or you have to cross-compile the kernel.

I've never done kernel cross-compiling, but it's definitely possible,
you just need to modify modify some of the Makefile manually (search on
google for a howto).

Also, I'm not sure whether a bootloader installation needs to mess with
the BIOS. I *think* it shouldn't, as the low-level booting process
between the box and the harddisk is controlled by BIOS from MBR and
grub/lilo is just installing onto the MBR.




[gentoo-user] Re: vixie-cron keeps stopping

2010-04-17 Thread Lie Ryan
On 04/17/10 18:47, Mick wrote:
 On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
 On Friday 16 April 2010 20:29:27 Dale wrote:
 
 Blimey!  That sounds like horribly_broken!
 
 Which cron do you recommend for a desktop?


One question, do you actually need cron for desktop? I installed vixie
because the installation manual says to, but never need to write any
cron rule for anything and I don't think there any program I uses
installs a cron rule. So why bother with cron?




[gentoo-user] Re: vixie-cron keeps stopping

2010-04-17 Thread Lie Ryan
On 04/17/10 23:08, Alan McKinnon wrote:
 On Saturday 17 April 2010 14:59:09 Lie Ryan wrote:
 On 04/17/10 18:47, Mick wrote:
 On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
 On Friday 16 April 2010 20:29:27 Dale wrote:
 Blimey!  That sounds like horribly_broken!

 Which cron do you recommend for a desktop?

 One question, do you actually need cron for desktop? I installed vixie
 because the installation manual says to, but never need to write any
 cron rule for anything and I don't think there any program I uses
 installs a cron rule. So why bother with cron?
 
 A default install will configure cron to run
 
 mkwhatis
 slocate
 logrotate
 updatepciids
 updateusbids

I don't install `locate` as I don't have that many files to start with
and `find` is more than adequate for when I need to search (and I
typically only do searches on newly downloaded file or system files,
those that aren't indexed in locate's database in the first place). In a
typical desktop system you only rarely actually read logs (typically
only when debugging kernel, X, and failed emerge; you don't meet kernel
OOPS every day, don't you?), for the rest of the times I could probably
live without logging and I can turn it on when I need to examine some
logs. A typical desktop system do not update their hardware everyday and
running those updater programs manually isn't such a pain when you do
(on the other hand I run `emerge --sync` and `q -r` every week, but then
I still much prefer running emerges manually). And bash's tab completion
is much more efficient for searching commands than `whatis`.

So I don't think a typical desktop system gets crippled much without
cron (or even logging). Yes, you lose some features, and you will need
to manually update system's database and do certain things manually
which otherwise would have been handled for you; but if I have to choose
between wasting system resources running cron/logging or losing features
I use once in a month, I probably would not bother with cron.




[gentoo-user] Re: How many ways are there for a user to increase their permissions?

2010-04-17 Thread Lie Ryan
On 04/17/10 08:13, Jonathan wrote:
 I'm trying to work out how many ways there are to increase the permissions of 
  a user.
 
 1: su -: Needs root password and you need to be in the group wheel.
 2: sudo: You need to be in the group wheel or in the /etc/sudoers file, 
 using your own user password.
 I'm not counting gksu and gksudo they are just front ends.
 3: sudoedit: This is the best way to edit text files, it uses the same rules 
 as sudo.

sudoedit is mainly just a shortcut for sudo $EDITOR (plus doing a few
things).

 4: Linux Capabilities or caps: Which increases permissions on a
 per-file basis. e.g. removing SUID from ping and adding CAP_NET_RAW
 to ping.
 This is much safer than running the whole program as root.
 http://linux.die.net/man/7/capabilities
 5: Policykit: (Give this a read 
 http://hal.freedesktop.org/docs/PolicyKit/introduction.html )
 6: Polkit: Is the new name for Policykit, it's a higher version and they do 
 not talk to each other.
 If you run a mixed architecture there is a good chance you will have both.
 8: SUID and SGID: One of the fastest ways to open up a security hole in your 
 system.

Everything above (su,sudo,policykit,polkit) are just sugar for
permission bits (owner,group,others+SUID,GUID); attempting to give finer
control over the permissions or provide convenience services.

 9: Groups: Lots of groups, but not much information on what
  permissions you get. http://en.gentoo-wiki.com/wiki/List_of_Groups
 Udev and Fuse use group settings right?

The basis of all Linux security scheme is the file permission bits
(owner,group,other) and the SUID/GUID bit (ACL is a distinct security
scheme, so we're explicitly excluding it here). Everything else is just
sugar. If you want to lock everything, just remove the SUID/GUID-bit
from all executables in your system (except for a select few) and remove
all groups (make sure you know what you're doing though, lots of program
won't work if you really do that). Starting from step zero, you can have
very fine control over everything.

 7: Access Control Lists: (ACL) Very easy to setup and forget because
 Nautilus and others do not list the ACL settings.
 A remote windows user configuring a samba share could let more
 people read and write to it then Nautilus shows.

ACL is largely there for compatibility with Windows' permission scheme,
it's a distinct security scheme than Linux.

 Did I miss any way of increasing your rights? (not counting security holes)

Most security holes in Linux comes from a SUID program that lets
untrusted programs into the trusted-space.

 I see that the stable net-misc/iputils (ping) does not use capabilities.
 Is this included in the unstable version, or is it planned for the future?
 I wish there was a way to run gedit with sudoedit, is there?
 I think Polkit support for gedit is planned, does anyone know the bug number?
 
 Right now my system has all of the above but not Linux capabilities.
 I'm having very hard time working out:
 Which users can do what and how.
 Which groups can do what and how.
 Which files can do what and who can run them.
 How the user's status affects what the program can do.

All users can modify the permission bits for the files they owned,
everything else is governed by the permission bits.
Except for root, which has full access to everything.

If you want simplify your environment, you can clear all the `group` and
`other` permission bits from all files in your computer and everyone
(except root) will only have access to files they own. Then you can
start adding permissions on case-by-case basis. Too much hassle though,
I think.

 Is there an all-in-one program for keeping track of all this or do I have to 
 write one?
 
 It's very easy for users to set their home folder to other, read, write
 and execute. It's not just silly users doing that, but any program running
 with the users rights.
 There was a buggy program in Ubuntu which set your home folder to other
 rwx, I never worked out which one was doing that.

the only way the program can chmod a file in your home folder is because
the program have the permission to chmod a file in your home folder. The
only program that have permission to chmod a file in your home folder is
the one run with EUID-root or EUID-owner. The only way a program can be
run with EUID root is they are executed by root himself or a SUID-root
program. The only way a program can be run with EUID owner is SUID-owner
program or program executed by the owner himself.

However, I don't think buggy program is the case here. It is much more
likely that you accidentally runs chmod on your home folder when you
actually want to run it in another directory.

 A fast work around was to set the user's home folder to owner root and
 make sure that group was set to rwx. Is that safe?

You can use this to find all SUID program accesible by your user:
find / -perm -u+s -exec ls -l '{}' \; 2 /dev/null


I found sudo, although very handy for 

[gentoo-user] Re: Anyone ever emerged dev-libs/boost with FEATURES=test and finished?

2010-04-06 Thread Lie Ryan
On 04/06/10 17:23, Neil Bothwick wrote:
 On Tue, 06 Apr 2010 10:11:02 +1000, Lie Ryan wrote:
 
 Anyway, I've been thinking about this for some time that turning on
 FEATURES=test globally seems quite impractical for many users
 
 FEATURES=test is not meant to be used by users, it is a developer
 setting, and they would only enable it for packages they maintain and
 then only when they ant to run the tests.

But most developers do not have the resources to test on all
combinations of platforms. If the barrier for FEATURES=test can be
lowered, then everyone that wants to be a global tester can do it
without sacrificing too muchs (plus they can control how much time they
want to contribute) and this benefits all open-source software as a
whole. Lowering barrier for testing also encourages developers to write
unittest who would otherwise hand-waving it since they now know their
unittest will really be testing the program's true correctness instead
of an platform dependent correctness. Probably enabling test by
default is too much to ask though.

 Due to this problem, I think portage could have a test policy feature so
 people can have finer control to filter out test suites that they don't
 want to run. This way globally FEATURES=test can be more feasible for
 most users (and probably can sometime be turned on by default).
 
 You can set features on a per-package basis by putting FEATURES=blah
 into /etc/portage/env/category/package.





[gentoo-user] Re: Anyone ever emerged dev-libs/boost with FEATURES=test and finished?

2010-04-05 Thread Lie Ryan
On 04/06/10 02:43, Paul Hartman wrote:
 On Mon, Apr 5, 2010 at 10:53 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Mon, Apr 5, 2010 at 9:15 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Sun, Apr 4, 2010 at 5:00 PM, Lie Ryan lie.1...@gmail.com wrote:
 I'm running with full system FEATURES=test on, and I have a couple of
 programs that depended on dev-libs/boost. The boost testsuite always
 fails in my computer due to insufficient disk space, I usually simply
 skip the test for boost and just go on with the merge. But today, I
 decided to let the testsuite run to completion; so in preparation for
 that, I plugged in an external harddisk and made it so that
 /var/tmp/portage points to an empty disk image in the external harddrive.

 This setup works ok, and the testsuite is still running, however I saw
 now that the disk image's is now taking ~18 GB (and counting) while du
 -sh on /var/tmp/portage counted ~13GB.

 So, the question is, has anyone successfully compiled and run
 FEATURES=test on boost and knows how much space the tests eat up in
 the end?

 I am suspecting of the possibility that maybe a testsuite gets into an
 infinite loop while writing a file or something constantly eats up
 diskspace. Or is it just that boost has an outrageously too extensive
 testsuite and it will turn out ok if I just left it to run.

 I'm trying it now, I have 64gb free in /var/tmp so I hope that's enough... 
 :)


 After almost 1.5 hours it is at its 22000th target and using 14G of
 /var/tmp so far... I'll keep waiting.

 
 It finished, successfully. 1 hour 52 minutes (normal compile of boost
 without testing takes about 3 minutes). Peak disk usage was about 20G
 when i spot-checked...

Finished too (sorry didn't post the update earlier). And passed the test
too, great. Thank you for trying it as well!

Final count: the disk image's size is now ~22G but I don't know how
large the real disk usage in the end is since portage cleaned the
/var/tmp/portage. That's one hell of a test!

 The ebuild checks for 1024M free, maybe they need to change that to
 check for 20G if testing?

I think so too. Let's see if I can file a bug on that. Done:
http://bugs.gentoo.org/show_bug.cgi?id=313315

---

Anyway, I've been thinking about this for some time that turning on
FEATURES=test globally seems quite impractical for many users due to
some test suites that:

- takes a disproportionally huge amount of time to finish
- takes a huge amount of harddisk
- takes a huge amount of memory
- pulled out optional dependencies used only for testing
- ships with a test that unconditionally fails (e.g. unimplemented
feature) but not marking it expected failure
- other behavioral problems (using network, restarting, etc though I've
never seen these sort of crime yet as of now, probably they're already
filtered before it reaches me)

Due to this problem, I think portage could have a test policy feature so
people can have finer control to filter out test suites that they don't
want to run. This way globally FEATURES=test can be more feasible for
most users (and probably can sometime be turned on by default).

So is there anyone here that actually wanted to run FEATURES=test
globally, but are turned off when experiencing the problems it brings?

Do you think if we want to hack this policy feature into portage or
emerge, what's the best option? Using USE-flags won't require much
change to emerge and portage but is quite inflexible; or new variables
in ebuild file; or a separate (optional) test description file that
portage will read and compare with the system's policy. Have better
alternative?






[gentoo-user] Anyone ever emerged dev-libs/boost with FEATURES=test and finished?

2010-04-04 Thread Lie Ryan
I'm running with full system FEATURES=test on, and I have a couple of
programs that depended on dev-libs/boost. The boost testsuite always
fails in my computer due to insufficient disk space, I usually simply
skip the test for boost and just go on with the merge. But today, I
decided to let the testsuite run to completion; so in preparation for
that, I plugged in an external harddisk and made it so that
/var/tmp/portage points to an empty disk image in the external harddrive.

This setup works ok, and the testsuite is still running, however I saw
now that the disk image's is now taking ~18 GB (and counting) while du
-sh on /var/tmp/portage counted ~13GB.

So, the question is, has anyone successfully compiled and run
FEATURES=test on boost and knows how much space the tests eat up in
the end?

I am suspecting of the possibility that maybe a testsuite gets into an
infinite loop while writing a file or something constantly eats up
diskspace. Or is it just that boost has an outrageously too extensive
testsuite and it will turn out ok if I just left it to run.




[gentoo-user] Re: Official document for stabilization policy/guideline

2010-03-02 Thread Lie Ryan
On 03/03/2010 04:52 AM, Mark Loeser wrote:
 Lie Ryan lie.1...@gmail.com said:
 I've been running several ~arch-ed packages that appears to be compile
 and runs fine on my machine and would like to vote them for
 stabilization. Is it enough to just open a bug issue and pray that the
 arch manager would notice?
 
 The general policy is here:
 
 http://devmanual.gentoo.org/keywording/index.html#moving-from-~arch-to-arch
 
 Open a bug and let the package maintainer decide if that version should
 go stable yet, or not at all.  We don't mark every version of each
 package stable since that would waste a lot of cycles all around.
 

Thanks, these are exactly what I've not been able to look for for some time.




[gentoo-user] Official document for stabilization policy/guideline

2010-03-01 Thread Lie Ryan
I've found a few people referencing to a 30-day stabilization policy
which basically says a package must be at least 30-days-old to be
considered for stabilization, but is there any document that serves as
an official guideline/checklist on how to consider to stabilize a
package? Is the 30-day policy the only policy?

I've been running several ~arch-ed packages that appears to be compile
and runs fine on my machine and would like to vote them for
stabilization. Is it enough to just open a bug issue and pray that the
arch manager would notice?




[gentoo-user] Re: Gentoo down?

2010-03-01 Thread Lie Ryan
On 03/02/10 01:24, Mark Knecht wrote:
 I guess the web site is down this morning? (6:30AM PST) I cannot get
 through anyway.
 
 - Mark

Confirmed, though I can still ping it.




[gentoo-user] Re: Problem with gethostname() returning incorrect value

2009-10-14 Thread Lie Ryan
Lie Ryan wrote:
 [1] for some reason, after setting HOSTNAME to localhost I can't start
 new GUI program/create new window after NetworkManager/nm-applet is
 running. I suspect there is some NetworkManager settings lying around
 somewhere that resets the name to lieryan and the change confused X.

btw, in any case someone in the future is wondering; the
NetworkManager's hostname settings are stored in /etc/dhcp/dhclient.conf

on these line:
send host-name HOSTNAME;
supersede host-name HOSTNAME;

after changing both this and the one in /etc/conf.d/hostname the
computer's hostname is changed for good with none of the side effect.




[gentoo-user] Problem with gethostname() returning incorrect value

2009-10-12 Thread Lie Ryan
Hi,

First, sorry if this is not the correct list.

Second, the background story...

I was tracking a problem that I have always ignored when updating python
on my Gentoo laptop. The problem is that emerge-ing python always fail
when FEATURES=test is on. Usually, I would just turn FEATURES=test
off when updating python, but today I set up to search for the source of
the failure.

After downloading the latest svn version from python and a few hours of
debugging python's test suite; I isolated the problem to this:

lier...@lieryan ~/Desktop/pythontrunk/trunk $ ./python
Python 2.7a0 (trunk:75376M, Oct 12 2009, 22:17:57)
[GCC 4.3.2] on linux2
Type help, copyright, credits or license for more information.
 import socket
 socket.gethostname()
'lieryan'
 socket.gethostbyname(socket.gethostname())
Traceback (most recent call last):
  File stdin, line 1, in module
socket.gaierror: [Errno -2] Name or service not known
 socket.gethostbyname('localhost')
'127.0.0.1'

From that, I see that socket.gethostname() returned 'lieryan' which is
my user name; instead of 'localhost' which is the correct local
machine's name.

Tracking the interpreter's source code, it seems that
socket.gethostname() simply returns what the libc's gethostname()
returns; which man gethostname says The GNU C Library ... implements
gethostname() as a library function that calls uname(2)...

So running uname -a:
lier...@lieryan ~/Desktop/pythontrunk/trunk $ uname -a
Linux lieryan 2.6.28-gentoo-r5-LR-15 #14 SMP Tue Oct 6 18:12:23 EST 2009
x86_64 AMD Turion(tm) 64 X2 AuthenticAMD GNU/Linux

So clearly this is an environmental issue.

=


It appears that gethostname() returns 'lieryan'; which is my user name
instead of 'localhost' which, I believe, should be the correct hostname
for the machine I'm currently in.

Now I know where the source of the problem is; but I don't know how to
fix it.

Anyone got any idea what I should do to change the return value of
gethostname()?

Googling gethostname() only returned various versions of gethostname()
man page. The man pages also mentioned about another libc's function
sethostname() but this system call is not available in python and even
if I write a C script to call sethostname() with the correct value; I
doubt this will really fix the real root cause of the problem.

Anyone got any lead?


Extra information:

lier...@lieryan ~/Desktop/pythontrunk/trunk $ /lib/libc.so.6
GNU C Library stable release version 2.9, by Roland McGrath et al.
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.2.
Compiled on a Linux 2.6.28-gentoo-r5-LR-12 system on 2009-07-05.
Available extensions:
C stubs add-on version 2.1.2
crypt add-on version 2.1 by Michael Glad and others
Gentoo snapshot 20081201
Gentoo patchset 5
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html.




[gentoo-user] Re: Problem with gethostname() returning incorrect value

2009-10-12 Thread Lie Ryan
Xavier Parizet wrote:
 Lie Ryan a écrit :
 Hi,

 [SNIP]

 Extra information:

 lier...@lieryan ~/Desktop/pythontrunk/trunk $ /lib/libc.so.6
 
 Here the output is clear : lieryan is your machine hostname as well as your
 username... So check your /etc/hosts and either edit the line containing
 127.0.0.1 like this:
 127.0.0.1 lieryan.your dns domain name lieryan localhost
 or set HOSTNAME variable in /etc/conf.d/hostname to localhost, put the error
 returned by python seems to indicate that you forgot to edit /etc/hosts to put
 the definition of lieryan hostname ip address.
 

Thanks, redirecting 'lieryan' to 127.0.0.1 solves the problem.

Though I'd have preferred not to have my username redirects to the local
machine, changing HOSTNAME in /etc/conf.d/hostname seems to result in
some unwanted side effects[1] to X. I can live with the redirection
though, so problem solved for now.

[1] for some reason, after setting HOSTNAME to localhost I can't start
new GUI program/create new window after NetworkManager/nm-applet is
running. I suspect there is some NetworkManager settings lying around
somewhere that resets the name to lieryan and the change confused X.




[gentoo-user] www-apps/mediawiki-1.14.1 Circular Dependencies with Math Use Flag

2009-08-18 Thread Ryan Holt
Hello,

 

I'm getting dependencies issues with mediawiki when trying to install with
the math use flag:

 

oscar ~ # emerge -pv mediawiki

 

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

 

Calculating dependencies... done!

[ebuild  N] dev-lang/ocaml-3.10.2  USE=gdbm ncurses ocamlopt -X -emacs
-latex -tk -xemacs 2,232 kB

[ebuild  N] dev-libs/zziplib-0.13.49-r1  USE=-sdl -test 640 kB

[ebuild  N] media-libs/openjpeg-1.3-r2  USE=-tools 982 kB

[ebuild  N] app-text/poppler-data-0.2.1  3,973 kB

[ebuild  N] dev-lang/lua-5.1.4  USE=deprecated readline -static 212 kB

[ebuild  N] dev-libs/poppler-0.10.7  USE=abiword poppler-data 1,496 kB

[ebuild  N] virtual/poppler-0.10.7  0 kB

[ebuild  N] app-text/texlive-core-2008-r5  USE=-X -doc -source -tk
23,278 kB

[ebuild  N] virtual/tex-base-0  0 kB

[ebuild  N] dev-texlive/texlive-documentation-base-2008  USE=-source
745 kB

[ebuild  N] dev-texlive/texlive-basic-2008  USE=-doc -source 3,739 kB

[ebuild  N] dev-tex/mplib-1.110  USE=lua 1,522 kB

[ebuild  N] dev-tex/luatex-0.30.3  USE=-doc 6,724 kB

[ebuild  N] dev-texlive/texlive-latex-2008-r1  USE=-doc -source 952 kB

[ebuild  N] dev-texlive/texlive-genericrecommended-2008  USE=-doc
-source 202 kB

[ebuild  N] dev-texlive/texlive-texinfo-2008  USE=-doc -source 77 kB

[ebuild  N] dev-texlive/texlive-latexrecommended-2008-r2  USE=-doc
-source 971 kB

[ebuild  N] virtual/texi2dvi-0  0 kB

[ebuild  N] app-text/dvipng-1.12  USE=-test -truetype 165 kB

[ebuild  N] www-apps/mediawiki-1.14.1  USE=imagemagick math mysql
ocamlopt vhosts -postgres 10,117 kB

[blocks B ] dev-texlive/texlive-latexrecommended
(dev-texlive/texlive-latexrecommended is blocking
dev-tex/latex-unicode-20041017)

 

Total: 20 packages (20 new), Size of downloads: 58,018 kB

Conflict: 1 block (1 unsatisfied)

oscar ~ #

 

Any work around?

 

 



RE: [gentoo-user] www-apps/mediawiki-1.14.1 Circular Dependencies with Math Use Flag

2009-08-18 Thread Ryan Holt
Awesome. Thanks for the help... That did it.

-Original Message-
From: paul.hart...@gmail.com [mailto:paul.hart...@gmail.com] On Behalf Of
Paul Hartman
Sent: Tuesday, August 18, 2009 1:22 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] www-apps/mediawiki-1.14.1 Circular Dependencies
with Math Use Flag

On Tue, Aug 18, 2009 at 12:14 PM, Ryan Holtr...@ryanholt.net wrote:
 dev-tex/latex-unicode

Perhaps try to unmerge that and try again





[gentoo-user] bttv option in kernel?

2008-11-20 Thread RYAN vAN GINNEKEN
Hello all i am need some help getting a video capture card working it 
supposedly uses the bttv driver.  It shows itself in lspci like this only 4 
times cause it has for chips i think. 

03:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture 
(rev 11)
03:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 
11)

However i cannot find the bttv driver only the btcx_risc (successor) did some 
googling and found this post 
http://forums.gentoo.org/viewtopic-t-696747-highlight-bttv.html 

My problem is similar i think but cannot seem to get it sorted could someone 
please kindly give me a hand?  I have pasted a few bits of my .config file that 
i think might be relative.

# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2_COMMON=y
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
CONFIG_VIDEO_WM8775=m
CONFIG_VIDEO_CX2341X=m
# CONFIG_VIDEO_VIVI is not set
..snip..
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
CONFIG_VIDEO_CX88=m
CONFIG_VIDEO_CX88_BLACKBIRD=m

ps here is a uname -a for good luck hehe

Linux hellen 2.6.25-gentoo-r9CKV1 #5 SMP Thu Nov 20 16:25:22 MST 2008 i686 
Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

http://www.mail-archive.com/[EMAIL PROTECTED]/msg33709.html

Computer King  CaN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages



[gentoo-user] ssmtp logs?

2008-10-21 Thread RYAN vAN GINNEKEN
Hello all have been trying to figure out how to use ssmtp as i need to get 
email off my system 

Linux huang 2.6.25-gentoo-r8 #1 SMP Sun Oct 19 06:11:05 Local time zone must be 
set--see zic  i686 AMD Athlon(tm) processor AuthenticAMD GNU/Linux.

Seems there is no mail command must be a package i need to emerge or something. 
 I am running a program that needs to send email and it seems to be doing 
alright here is its output in /var/log/messages

10/21/08 18:53:37.211088 zmfilter[13976].INF [Creating notification email]
10/21/08 18:53:37.212328 zmfilter[13976].INF [Sending notification email 
'ZoneMinder: Alarm - New-184 (255 - 255 39)']
10/21/08 18:53:37.224119 zmfilter[13976].INF [Notification email sent]

However there is no mail log to be found on my system and nothing from ssmtp 
seems to be showing up in the messages log.

Thank you in advance

Computer King aN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages



Re: [gentoo-user] usb webcam

2008-10-18 Thread RYAN vAN GINNEKEN
Ok first let me apologize for my impatiens in bumping my thread in retrospect I 
guess it was pretty rude.  Also I would like to apologize for not following the 
intelligent way to ask a question essay.  However i have read it in the past 
just not recently, have to admit I got lazy and just fired this post up without 
much thought. Mostly frustrated as it seemed like a fairly simple issue 
something I assumed that most people with Gentoo experience would have a quick 
answer for.  Again my apologizes having goggled around all day or two, and 
finding that most of the helpful hints regarding my topic were dead ie wiki is 
down, plus working with google cache is troublesome.

Anyway on with the webcam problems i have emerged gspcav1 and loaded the module 

# lsmod
Module  Size  Used by
gspca 620752  0

but the cameras are still only detected as usb devices and no drivers are being 
loaded.

PLEASE can someone help me with this issue are there other kernel modules i can 
try? other packages to emerge? if so what are they? here is a lsusb of the 2 
devices

Bus 003 Device 006: ID 046d:08f5 Logitech, Inc.
Bus 003 Device 007: ID 04c1:009d U.S. Robotics (3Com) HomeConnect WebCam [vicam]

this is how they show up in /etc/messages

Oct 18 18:43:35 huang usb 3-2: new full speed USB device using uhci_hcd and 
address 7
Oct 18 18:43:35 huang usb 3-2: configuration #1 chosen from 1 choice
Oct 18 18:43:45 huang hub 1-0:1.0: unable to enumerate USB device on port 1
Oct 18 18:43:46 huang usb 2-1: new full speed USB device using ohci_hcd and 
address 2
Oct 18 18:43:46 huang usb 2-1: configuration #1 chosen from 1 choice

ps i have had these cameras work in ubuntu, mandrake, pclinux (none are as cool 
as Gentoo) so i am guessing that gentoo should work too!



Computer King  CaN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages

- Dirk Heinrichs [EMAIL PROTECTED] wrote:

 Am Freitag, 17. Oktober 2008 22:52:12 schrieb RYAN vAN GINNEKEN:
  bump
 
 ???
 
 Bye...
 
   Dirk



[gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN
Hello all i have a fairly fresh install of Gentoo 2008 and am trying to get my 
old usb webcam to work. Have tried to install spca5xx and gspca with emerge but 
always get the following errors for both. This is worry some as i would like 
the system to be as stable as possible but need my webcam to work.

Calculating dependencies /
!!! All ebuilds that could satisfy media-video/spca5xx have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/spca5xx-20060501-r2 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Mike Doty [EMAIL PROTECTED] (24 Mar 2007)
# Sorting out media-video/{spca5xx,gspca{,v1}} bug 159176

- media-video/spca5xx-20060501-r1 (masked by: package.mask)
- media-video/spca5xx-20060501 (masked by: package.mask)
- media-video/spca5xx-20060402 (masked by: package.mask)
- media-video/spca5xx-20060301 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

So i read the in handbook googled around a bit and added these to the 
/etc/portage/package.keywords however this did not work.

media-video/gspca
media-video/spca5xx

Also i added these to the /etc/portage/package.unmask

media-video/gspca
media-video/spca5xx

Still a no go what am i doing wrong or SHOULD I BE USING DIFFERENT DRIVERS FOR 
MY WEBCAM ALL TOGETHER it is a USB 3com home connect viacam

ps the gentoo wiki is broken as there seems to be some relevant information 
there about getting a webcam to work but i cannot access it.


Computer King  CaN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages



Re: [gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN
- KH [EMAIL PROTECTED] wrote:

 RYAN vAN GINNEKEN schrieb:
  Hello all i have a fairly fresh install of Gentoo 2008 and am trying
 to get my old usb webcam to work. Have tried to install spca5xx and
 gspca with emerge but always get the following errors for both. This
 is worry some as i would like the system to be as stable as possible
 but need my webcam to work.
 
  [snip]
 
  So i read the in handbook googled around a bit and added these to
 the /etc/portage/package.keywords however this did not work.
 
  media-video/gspca
  media-video/spca5xx
 
  [snip]
 For me the keywords always look like that:
 
 =www-client/mozilla-firefox-3.0.3 ~amd64
 =dev-libs/nss-3.12 ~amd64
 
h keywords are placed in the /etc/portage/package.keywords file right?

I have tried the additional combos below, but still cannot build the spca5xx 
port.  The first one gives me invalid atom error the rest just give the package 
mask error mentioned in my first email.

=media-video/spca5xx
=media-video/spca5xx-20060501-r1 ~x86
=media-video/spca5xx-20060501-r1 ~x86
=media-video/spca5xx-20060501-r1 ~x86

funny thing is i got the masked zoneminder port to build using these in 
/etc/portage/package.keywords

www-misc/zoneminder
dev-perl/PHP-Serialization


ps i am using ccache could that have an effect?



 
 
 You also can use  or = (I think) but you need a version number.
 Choose
 ~ for you system like ~x86 (You don't need to specify I think)
 
 kh



Re: [gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN

bump

- KH [EMAIL PROTECTED] wrote:

 RYAN vAN GINNEKEN schrieb:
  Hello all i have a fairly fresh install of Gentoo 2008 and am trying
 to get my old usb webcam to work. Have tried to install spca5xx and
 gspca with emerge but always get the following errors for both. This
 is worry some as i would like the system to be as stable as possible
 but need my webcam to work.
 
  [snip]
 
  So i read the in handbook googled around a bit and added these to
 the /etc/portage/package.keywords however this did not work.
 
  media-video/gspca
  media-video/spca5xx
 
  [snip]
 For me the keywords always look like that:
 
 =www-client/mozilla-firefox-3.0.3 ~amd64
 =dev-libs/nss-3.12 ~amd64
 
 
 
 You also can use  or = (I think) but you need a version number.
 Choose
 ~ for you system like ~x86 (You don't need to specify I think)
 
 kh



Re: [gentoo-user] Is gentoo-portage and gentoo-wiki offline?

2008-10-17 Thread RYAN vAN GINNEKEN
heehee have been wanting to get onboard with gentoo for a while now how ironic 
that the wiki site i was so looking forward to using is down the same day my 
gentoo box is up heehee.

ps the bsd like nature of gentoo did it for me or was it that super cool 
spaceship logo probably the more the logo.  I love spaceships


Computer King  CaN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages

- Alan McKinnon [EMAIL PROTECTED] wrote:

 On Friday 17 October 2008 21:45:05 Dale wrote:
  Norberto Bensa wrote:
   it will take a few
   weeks.
 
  Weeks?  That's funny as heck right there.  Git-r-done . . . .
 slowly.
 
  Reminds me of the joke, how do you eat a elephant?
 
 by starting at the trunk?
 
 
 -- 
 alan dot mckinnon at gmail dot com



Re: [gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN
=$(get-KERNEL_CC) LDFLAGS=$(get_abi_LDFLAGS) ${BUILD_FIXES} 
${BUILD_PARAMS} ${BUILD_TARGETS};
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc 
LDFLAGS=  KERNELDIR=/usr/src/linux default
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located at 
'/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/environment'.
 *

and this guess i will try v1 as suggested in the error message 

  = `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz'
Resolving gentoo.arcticnetwork.ca... 206.75.218.53
Connecting to gentoo.arcticnetwork.ca|206.75.218.53|:21... connected.
Logging in as anonymous ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done.  == CWD /pub/gentoo/distfiles ... done.
== PASV ... done.== RETR gspcav1-01.00.10.tar.gz ... done.
Length: 157,997 (154K) (unauthoritative)

100%[] 157,997  413.77K/s

17:40:05 (413.38 KB/s) - `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz' saved 
[157997]

 * checking ebuild checksums ;-) ...  [ ok ]
 * checking auxfile checksums ;-) ... [ ok ]
 * checking miscfile checksums ;-) ...[ ok ]
 * checking gspcav1-01.00.10.tar.gz ;-) ...   [ ok ]
 * The package maintainer made a mistake.  You should consider using 
media-video/gspcav1
 * instead.  This driver is still alpha.  --KingTaco
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found kernel object directory:
 * /lib/modules/2.6.25-gentoo-r8/build
 * Found sources for kernel version:
 * 2.6.25-gentoo-r8
 * Checking for suitable kernel configuration options...  [ ok ]
 Unpacking source...
 Unpacking gspcav1-01.00.10.tar.gz to 
 /var/tmp/portage/media-video/gspca-01.00.10/work
 *
 * ERROR: media-video/gspca-01.00.10 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_unpack
 * environment, line 3146:  Called convert_to_m 'src_unpack'
 * environment, line  754:  Called die
 * The specific snippet of code:
 *   [ ! -f ${1} ]  die convert_to_m() requires a filename as an 
argument;
 *  The die message:
 *   convert_to_m() requires a filename as an argument
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located at 
'/var/tmp/portage/media-video/gspca-01.00.10/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/media-video/gspca-01.00.10/temp/environment'.
 *

 * Messages for package media-video/gspca-01.00.10:

 * The package maintainer made a mistake.  You should consider using 
media-video/gspcav1
 * instead.  This driver is still alpha.  --KingTaco
 *
 * ERROR: media-video/gspca-01.00.10 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_unpack
 * environment, line 3146:  Called convert_to_m 'src_unpack'
 * environment, line  754:  Called die
 * The specific snippet of code:
 *   [ ! -f ${1} ]  die convert_to_m() requires a filename as an 
argument;
 *  The die message:
 *   convert_to_m() requires a filename as an argument
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located at 
'/var/tmp/portage/media-video/gspca-01.00.10/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/media-video/gspca-01.00.10/temp/environment'.




- Alan McKinnon [EMAIL PROTECTED] wrote:

 On Friday 17 October 2008 20:02:58 RYAN vAN GINNEKEN wrote:
  - KH [EMAIL PROTECTED] wrote:
 
  I have tried the additional combos below, but still cannot build
 the
  spca5xx port.  The first one gives me invalid atom error the rest
 just give
  the package mask error mentioned in my first email.
 
  =media-video/spca5xx
 
 This won't work. An atom with a version prefix must have a version
 number. 
 
  =media-video/spca5xx-20060501-r1 ~x86
  =media-video/spca5xx-20060501-r1 ~x86
 
  =media-video/spca5xx-20060501-r1 ~x86
 
  funny thing is i got the masked zoneminder port to build using these
 in
  /etc/portage/package.keywords
 
 You are looking in the wrong place. I would suggest that you first
 read all 
 the portage man pages:
 
 man emerge
 man 5 make.conf
 man 5 portage
 man 5 ebuild
 
 

Alread gone through the first couple but maybe i should take a look at the 
others.  

It's a lot of stuff but it's all necessary.
 
 Now look at your original error and see what is there instead of what
 you 
 think might be there. It clearly says that the package is hard masked,
 and 
 that it is package.mask that is doing it. If you look in that file

[gentoo-user] newbie broke something

2008-09-11 Thread RYAN vAN GINNEKEN
Hello all gentoo newbie here i did a raid lvm quick install from the 2008.r1 
livecd i must have missed something because i keep getting rc.conf file from 
the future errors and my /var directory was empty so i just uncompressed the 
stage 3 and recopied /var from stage three to my own /var.  Seemed a bit messy 
so i figured i would try to clean things up a bit with
emerge --sync 
emerge --update --deep --newuse world
but i think i broke something

now when i do an emerge --sync and it tells me to update portage, i tried to do 
so but am getting this looong error

Calculating dependencies... done!
[nomerge  ] sys-apps/debianutils-2.28.5  USE=-static
[nomerge  ]  sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]   sys-apps/acl-2.2.47  USE=nls (-nfs)
[nomerge  ]sys-devel/automake-1.10.1
[nomerge  ] dev-lang/perl-5.8.8-r5  USE=berkdb gdbm -build -debug -doc 
-ithreads -perlsuid
[nomerge  ]  sys-libs/gdbm-1.8.3-r3  USE=berkdb
[nomerge  ]   sys-libs/db-4.5.20_p2  USE=-bootstrap -doc -java -nocxx 
-tcl -test
[nomerge  ]sys-devel/binutils-2.18-r3  USE=nls -multislot 
-multitarget -test -vanilla
[nomerge  ] sys-devel/gettext-0.17  USE=acl nls openmp -doc -emacs 
-nocxx
[nomerge  ]  dev-libs/libxml2-2.6.32  USE=ipv6 python readline 
-bootstrap -build -debug -doc -examples -test
[nomerge  ]   dev-lang/python-2.5.2-r7  USE=berkdb gdbm ipv6 
ncurses readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 
-wininst
[nomerge  ]dev-libs/openssl-0.9.8g-r2  USE=zlib -bindist -gmp 
-kerberos -sse2 -test
[ebuild  N] app-misc/ca-certificates-20080514-r2
[ebuild  N]  dev-libs/openssl-0.9.8g-r2  USE=zlib -bindist 
-gmp -kerberos -sse2 -test
[ebuild  N]app-admin/python-updater-0.5
[ebuild  N]  dev-libs/libxml2-2.6.32  USE=ipv6 python readline 
-bootstrap -build -debug -doc -examples -test
[ebuild  N] sys-apps/portage-2.1.4.4  USE=-build -doc -epydoc (-selinux) 
LINGUAS=-pl
[ebuild  N]  dev-lang/python-2.5.2-r7  USE=berkdb gdbm ipv6 ncurses 
readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 
-wininst
[ebuild  N]  net-misc/rsync-3.0.3  USE=acl iconv ipv6 -static -xattr 
-xinetd
[ebuild  N]  sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[ebuild  N]   sys-apps/acl-2.2.47  USE=nls (-nfs)
[ebuild  N]sys-apps/attr-2.4.41  USE=nls
[nomerge  ] dev-libs/openssl-0.9.8g-r2  USE=zlib -bindist -gmp -kerberos 
-sse2 -test
[ebuild  N]  sys-apps/diffutils-2.8.7-r2  USE=nls -static
[ebuild  N]   sys-apps/man-pages-3.05  USE=nls LINGUAS=-cs -da -de -es 
-fr -it -ja -nl -pl -ro -ru -zh_CN
[ebuild  N]sys-apps/man-pages-posix-2003a
[nomerge  ] app-misc/ca-certificates-20080514-r2
[nomerge  ]  sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]   sys-devel/automake-1.10.1
[nomerge  ]sys-apps/help2man-1.36.4  USE=nls
[nomerge  ] dev-lang/perl-5.8.8-r5  USE=berkdb gdbm -build -debug -doc 
-ithreads -perlsuid
[ebuild  N]  app-admin/perl-cleaner-1.05
[nomerge  ] sys-apps/man-pages-posix-2003a
[ebuild  N]  sys-apps/man-1.6f-r1  USE=nls
[ebuild  N]   sys-apps/groff-1.19.2-r1  USE=-X -cjk
[nomerge  ] sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]  sys-libs/ncurses-5.6-r2  USE=gpm unicode -debug -doc -minimal 
-nocxx -profile -trace
[ebuild  N]   sys-libs/gpm-1.20.1-r6  USE=(-selinux)
[nomerge  ] dev-libs/libxml2-2.6.32  USE=ipv6 python readline -bootstrap 
-build -debug -doc -examples -test
[ebuild  N]  sys-libs/readline-5.2_p12-r1
[nomerge  ] net-misc/rsync-3.0.3  USE=acl iconv ipv6 -static -xattr 
-xinetd
[nomerge  ]  sys-apps/acl-2.2.47  USE=nls (-nfs)
[ebuild  N]   sys-devel/libtool-1.5.26  USE=-vanilla
[ebuild  N]sys-devel/automake-1.10.1
[ebuild  N] sys-apps/texinfo-4.11-r1  USE=nls -static
[nomerge  ] dev-lang/python-2.5.2-r7  USE=berkdb gdbm ipv6 ncurses 
readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 
-wininst
[nomerge  ]  sys-libs/readline-5.2_p12-r1
[ebuild  N]   app-shells/bash-3.2_p33  USE=nls -afs -bashlogger -plugins 
-vanilla
[ebuild  N]sys-libs/ncurses-5.6-r2  USE=gpm unicode -debug -doc 
-minimal -nocxx -profile -trace
[ebuild  N]  sys-devel/autoconf-2.61-r2  USE=-emacs
[nomerge  ] sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]  sys-devel/libtool-1.5.26  USE=-vanilla
[ebuild  N]   sys-apps/help2man-1.36.4  USE=nls
[ebuild  N]dev-perl/Locale-gettext-1.05
[nomerge  ] dev-perl/Locale-gettext-1.05
[nomerge  ]  dev-lang/perl-5.8.8-r5  USE=berkdb gdbm -build -debug -doc 
-ithreads -perlsuid
[ebuild  N]   perl-core/PodParser-1.35
[ebuild 

Re: [gentoo-user] Hacked by association?

2007-09-19 Thread Ryan Sims
On 9/19/07, Grant [EMAIL PROTECTED] wrote:
   Last night my host sent out a message that their database had been
   compromised.  I contacted them this morning and it turns out that all
   of their trouble tickets were exposed.  I checked my records and
   (stupidly) I had included my root password in an email to them about a
   year ago.  I (stupidly) hadn't changed the password since.  I've
   changed it now and rebooted the system, but what do you think?  Do I
   need to start this thing over?
  
   - Grant
 
  I think you should take a look at the programs that
  are running, and netstat -l, and see if anything is fishy.

 I recognize everything in 'ps -ef' I think, but I've never really used
 netstat before.  Under Active Internet connections I don't
 recognize:

 tcp localhost:10030
 tcp *:snpp

 I don't recognize most of the paths under UNIX domain sockets.
 Anything particular I should look for?

Try using the -p option to netstat to get the PID of those two
connections, see if its anything suspicious


-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Ryan Sims
On 9/17/07, Albert Hopkins [EMAIL PROTECTED] wrote:
 I've been having this problem on one of my machines for a while.  As a
 user or as root I cannot run chage:

 $ chage -l marduk
 chage: can't open password file

 I've looked at /etc/passwd*, /etc/shadow* /etc/group* and /etc/gshadow*
 and all the permissions look fine.  It works on other machines.  I even
 tried re-emerging the shadow package, but still get the same error.

 I tried running pwck thinking the password file was somehow currupt.
 pwck only complains about users with invalid home directories/shells.
 Oddly enough, 'pwck' runs w/o errors, but 'pwck -r' (read-only) gives.

 pwck: cannot open file /etc/passwd


 syslog shows:
 Sep 17 10:07:49 [chage] failed opening /etc/passwd

 I'm at a loss.  Rebooting makes no difference.  passwd seems to work
 fine. I can open /etc/passwd myself (as root and user) just fine. Anyone
 got any clues?

This is just triage, but what are the permissions on /etc/passwd?

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-31 Thread Ryan Sims
On 8/31/07, Arnau Bria [EMAIL PROTECTED] wrote:
 Really, I like to read people's opinion about genkernel, but no one has
 tried to answer my question yet.

In my first reply, I suggested looking at a diff between your config
and genkernel's config.  How did that turn out?


-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-31 Thread Ryan Sims
On 8/31/07, Steen Eugen Poulsen [EMAIL PROTECTED] wrote:
 Volker Armin Hemmann skrev:
  because I have seen more than one non-booting totally f* up kernel created 
  by
  genkernel. I won't touch it ever again. If something sucked in the past, the
  change is great that it sucks again in the future. Plus it doesn't really
  make things easier, does it?


 Enough of this religous FUD spreading about Genkernel.

 Your outright lying.

 If you don't have anything to say than lies and FUD, maybe it's time to
 stop saying anything.

Ok, let's all just take a deep breath, chill out and get back on-topic.

Clearly there are differing opinions/experiences about genkernel.  We
needn't get into a religious war on either side; I have a certain
way I apporach kernel building that makes me avoid genkernel, that's
my choice.  There are those who like what genkernel does, that's their
choice.

I've made the argument that a non-genkernel config is less complicated
than a genkernel config, and I think that's a supportable position.
I've also argued that the OP should think about hand-configuring from
scratch, as it reduces the number of variables to troubleshoot.

I think Volker's point about genkernel not making things easier is
just that it seems to be a source of confusion and complexity in this
particular case (Volker please correct me if I'm wrong), which is a
valid point.  And it isn't FUD or lies to warn about having bad
experiences with a tool in the past.  If there are issues with my
tone, or anyone else's tone, please say just that, rather than adding
fuel to the fire.

Ultimately, we're talking about whether or not to use a tool, and how
to use that tool.  No-one's going to live or die here: righteous anger
and name-calling isn't appropriate.  So again:  take a deep breath,
and let's try and help out a fellow gentoo-user instead of attacking
each other.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-31 Thread Ryan Sims
On 8/31/07, Arnau Bria [EMAIL PROTECTED] wrote:
 On Fri, 31 Aug 2007 09:41:19 -0400
 Ryan Sims wrote:

  On 8/31/07, Arnau Bria [EMAIL PROTECTED] wrote:
 Hi,
   Really, I like to read people's opinion about genkernel, but no one
   has tried to answer my question yet.
 
  In my first reply, I suggested looking at a diff between your config
  and genkernel's config.  How did that turn out?

 Mmm... I though I answered that.
 at conceptual level, I did a gunzip and moved original 2.6.12
 genkernel's /proc/config.gz to .config and then, make oldconfig in new
 2.6.21 sources dir (/usr/src/linux link dir).

 So, I should do a diff between my new .config after make oldc onfig,
 and currently config generated by genkernel... but has it sense? I
 mean, what differneces could be between them?

That's what we're trying to find out.  If the diff comes up empty,
we'll have to look elsewhere, but it's easy to check.

One thing...are you actually going from 2.6.12 to .21?  Or is that a typo?

While you're rebooting, see if you can get your new kernel to panic
again at boot, write down the error, and post it.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-31 Thread Ryan Sims
On 8/31/07, Steen Eugen Poulsen [EMAIL PROTECTED] wrote:
 an idiot using it wrong.
 so viciously done in this thread is nothing but FUD.
 change is great that it sucks again in the future. Plus it doesn't really 
 make things easier, does it?
 All the rest of his hate drivel ... made up FUD
 you see this hate FUD being spread all

Please stop using inflammatory language.  Everyone.  If you must have
an argument, start a new thread or take it off list.  It's perfectly
fine for someone to criticize genkernel, or portage, or a hammer, or a
car, or any other tool.  It's also fine if you disagree with their
criticisms, that's what's so great about a diverse community like
gentoo; so many viewpoints.   Daniels reply to your post is well said,
and a perfectly valid objection to Volker's crticism, words like
hate drivel FUD and such are *not*.

The authors deserve intelligent feedback on their creations, which can
be negative, but not inflammatory.  It *really* isn't worth calling
each other names, so PLEASE STOP.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-31 Thread Ryan Sims
On 8/31/07, Steen Eugen Poulsen [EMAIL PROTECTED] wrote:
 Ryan Sims skrev:
  Please stop using inflammatory language.  Everyone.  If you must have
  an argument, start a new thread or take it off list.  It's perfectly
  fine for someone to criticize genkernel, or portage, or a hammer, or a
  car, or any other tool.  It's also fine if you disagree with their
  criticisms, that's what's so great about a diverse community like
  gentoo; so many viewpoints.   Daniels reply to your post is well said,
  and a perfectly valid objection to Volker's crticism, words like
  hate drivel FUD and such are *not*.

 Show me  where Volker is actually giving critisim. All he does is make
 up stories that has nothing to do with what genkernel actually does.

My apologies, I didn't mean to be defending anyone.  I *would* like
*one of you* to admit to your invective, apologize and move one.  I
won't hold my breath, but it'd be nice.

[snip]

Ok, I've decided I'm doing more damage than good here.  Arnau, if you
want to take this off list away from the static (much of it generated
by me, apologies), please feel free to email me, I'll help as far as I
can.  Otherwise, I think it best that I shut the hell up.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xorg-x11: How To Calibrate Monitor Color?

2007-08-30 Thread Ryan Sims
On 8/30/07, fire-eyes [EMAIL PROTECTED] wrote:
 I'm using xorg 7.2.0 with open source drivers on an ati card. How would
 I calibrate my monitor? i.e. what a photographer or graphics person
 would want to to, do ensure I'm seeing accurate colors on my screen?

Well, it sort of depends on how you define accurate colors.  Are you
trying to match what things look like in daylight?  Or match your
printer colors?  The Pantone colors?  There are lots of different
things that come into play, such as what kind of light is over your
monitor (if it's fluorescent, forget it!), different programs may have
subtly different colors, do you have an LCD or a CRT, etc.  There's no
privileged RED(tm) or BLUE(tm) or PURPLE(tm) (unless you're looking
for Pantone accuracy, or talking about pure monochromatic light)

Remeber also that emitted light (slides, monitors) is very different
from reflected light (pictures, wallpaper, etc).

I can tell you that in design for the stage, for instance, we're
concerned mainly with how colors look when reflecting the light from
tungsten-filament lamps, so scenic paint shops will often be equipped
with lighting that matches the color temperature[1] and CRI[2] of
tungsten filaments.  But we don't usually spend much time calibrating
monitors to printers to lights, we just either hand-paint a rendering,
or do a trial-and-error printing cycle.

A quick google search will turn up a lot of calibration software and
tutorials.  There are also standards such as sRGB[3], they're known as
color spaces, and are designed to make colors the same from input
stage to output stage, regardless of what those stages are, or how
many there are.  The ICC[4] is another place you could look.

Some of it comes down to training and experience:  if you aren't a pro
[photo|video]grapher or graphic designer, you probably wont notice any
improvements in accuracy.  If you have a specific application that
you need color accuracy for (image creation to web, image creation to
print, photography to print, scanner to print), color spaces are
probably a good start.  But don't forget that it can all be torn down
in a second if your room lighting is inaccurate (i.e. most of us).

[1] http://en.wikipedia.org/wiki/Color_temperature
[2] http://en.wikipedia.org/wiki/Color_rendering_index
[3] http://www.w3.org/Graphics/Color/sRGB
[4] http://www.color.org/
-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-30 Thread Ryan Sims
On 8/30/07, Arnau Bria [EMAIL PROTECTED] wrote:
 Hi,

 I used genkernel for compiling kernel in my home server.
 Yesterday I wanted to compile a new kernel, but this time by hand, so I
 did:
 1.-) moved config.gz to .config in new /usr/src/linux link
 2.-) make oldconfig
 3.-) make all  make modules_install
 4.-) mkinitrd initrm.2.6.21 2.6.21-gentoo-r4
 5.-) Edited menu.lst (just copied genkernel entry and modified to my
 new bzimage and initram files)

 but my new kernel did not start, and gave me a kernel panic...

 So I wonder what differences could be between my compilation and
 genkernel one...

You could diff the .config with the config that genkernel came up
with.  I would suggest that it would behoove you to start from a
completely fresh kernel config, with the output of things like lspci
and lsmod as a guide.  I've never used genkernel, so I don't know if a
genkernel kernel can live next to a regular one.

I'd also venture the suggestion that you don't usually need an initrd
for a manual kernel (unless, of course, you do ;) ), genkernel uses
one to do some hardware detection and such (someone correct me if I'm
wrong here), so a manual kernel can just boot straight up.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-30 Thread Ryan Sims
On 8/30/07, Florian Philipp [EMAIL PROTECTED] wrote:
 Am Donnerstag 30 August 2007 20:16:02 schrieb Ryan Sims:
  On 8/30/07, Arnau Bria [EMAIL PROTECTED] wrote:
   Hi,
  
   I used genkernel for compiling kernel in my home server.
   Yesterday I wanted to compile a new kernel, but this time by hand, so I
   did:
   1.-) moved config.gz to .config in new /usr/src/linux link
   2.-) make oldconfig
   3.-) make all  make modules_install
   4.-) mkinitrd initrm.2.6.21 2.6.21-gentoo-r4
   5.-) Edited menu.lst (just copied genkernel entry and modified to my
   new bzimage and initram files)
  
   but my new kernel did not start, and gave me a kernel panic...
  
   So I wonder what differences could be between my compilation and
   genkernel one...
 
  You could diff the .config with the config that genkernel came up
  with.  I would suggest that it would behoove you to start from a
  completely fresh kernel config, with the output of things like lspci
  and lsmod as a guide.  I've never used genkernel, so I don't know if a
  genkernel kernel can live next to a regular one.
 
  I'd also venture the suggestion that you don't usually need an initrd
  for a manual kernel (unless, of course, you do ;) ), genkernel uses
  one to do some hardware detection and such (someone correct me if I'm
  wrong here), so a manual kernel can just boot straight up.
 
 Only if the OP made the necessary changes to the kernel config, e.g. compiling
 filesystems and hard disk controller driver into the kernel instead of using
 modules.

Sorry, I wasn't clear.  That's precisely what I meant to recommend,
thanks for clarifying that.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] genkernel vs kernel manual compilation

2007-08-30 Thread Ryan Sims
On 8/30/07, Volker Armin Hemmann [EMAIL PROTECTED] wrote:
 On Freitag, 31. August 2007, Arnau Bria wrote:
  On Thu, 30 Aug 2007 23:51:44 +0200
 
  Volker Armin Hemmann wrote:
   On Donnerstag, 30. August 2007, Arnau Bria wrote:
 
  Hi,
 
2.-) make oldconfig
3.-) make all  make modules_install
  
   make all modules_install install
 
  from make help:
 
  [...]
  Other generic targets:
all - Build all targets marked with [*]
  * vmlinux - Build the bare kernel
  * modules - Build all modules
  [...]

 
  Execute make or make all to build all targets marked with [*]

 
  so make all  make modules install should be enough.

 read again. it is modules_install not modules. modules_install to install the
 modules, install to copy the kernel, System.map and config to /boot and
 create the symlinks.


 and you don't have to do 'make blabla make blub' you can do 'make blabla
 blub blib'.

 
4.-) mkinitrd initrm.2.6.21 2.6.21-gentoo-r4
  
   why not compile everything needed for boot into the kernel? you could
   skip this step?.
 
  Cause I tried so, but my kernels did not work... don't really know why,
  so I'm trying to look for the reason, so I wanted to start step by
  step, first compiling one using genkernel's ocnfig, and then, start
  removing options and including things to kernel.

 well, that obviously has not worked. Google for Greg Kroah Hartmann, go to his
 site, download his kernel guide. It is a book about building kernels - it
 should help you a lot.

Agreed.  Starting with a simpler (even non-working) configuration and
fixing the problems will be easier than starting with an (apparently
not working) extremely complicated configuration and trying to fix it.

Trust me, rolling your own is really not that hard, and you'll know a
lot more about what's lurking in the depths of your box when you're
done.

(I'll also admit to a little bit of prejudice against genkernel...I
have no experience with it, but the idea makes my hackles rise.
That's just my personal gut feeling, and shouldn't be taken as
anything even a little bit like a reasoned criticism)
-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Ryan Sims
On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
 ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
 ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
 FIS=004040a1:0002)
 ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb
 0x0 data 4096 out
  res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
 (HSM violation)
 ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb
 0x0 data 4096 out
  res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
 (HSM violation)
 ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb
 0x0 data 4096 out
  res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
 (HSM violation)
 ata1: soft resetting port
 ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
 ata1.00: configured for UDMA/133
 ata1: EH complete
 sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
 sd 0:0:0:0: [sda] Write Protect is off
 sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
 DPO or FUA

 it is repeated often.
 what that mean ?


Google turned up this thread on LKML:
http://lkml.org/lkml/2007/6/6/195

You might google around on your drive's model, see if it's NCQ blacklisted.


-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Ryan Sims
On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
 I think that my HD doe's not support ncq...

 What i have to do ?

Use google.

http://linux-ata.org/faq.html#ncq
http://linux-ata.org/driver-status.html

Also, please don't top-post.


-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Overheated, which part is damaged?

2007-08-08 Thread Ryan Sims
On 8/8/07, Mick [EMAIL PROTECTED] wrote:
 On Wednesday 08 August 2007 02:21, Grant wrote:
  My power supply's fan died and ended up really elevating the
  temperature in the case during a qt compile.  Now I'm seeing all kinds
  of strange and colorful artifacts on the screen, even after the system
  was powered off for several hours with an external fan blowing on it.
 
  Is that definitely the video card?

 Sounds like it.  Just in case it has not been totalled you may want to open
 the case, remove the video card and use a soft brush and vacuum cleaner to
 clean its cooling fan and heatsink.  This may be underneath the card and
 difficult to reach without taking it out.  While you're at it, repeat the
 exercise on the CPU.

I'd be very skeptical about using a vacuum cleaner; they generate
metric crap tons of static.  Canned air may be better.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How to disable stack randomization?

2007-08-03 Thread Ryan Sims
On 8/3/07, Shaochun Wang [EMAIL PROTECTED] wrote:
 Every time I execute the same program, its stack starts at a different
 address. After some studying, I know it is caused by stack randomization
 in kernel. Although stack randomization impedes stack buffer overflow,
 it introduces some nondeterminism.

 Does anyone know how to disable it?

I'm afraid I can't help, but I'm curious:  what are the behaviors that
the randomization is causing?  Not criticizing, just interested.

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] enable musicbrainz on amarok?

2007-07-19 Thread Ryan Sims

On 7/19/07, b.n. [EMAIL PROTECTED] wrote:

Hi,

I recently recompiled amarok with the musicbrainz USE flag enabled, to
allow tagging of mp3 files with musicbrainz.
However, when I try to Edit tag information... the Fill-in tags using
MusicBrainz button is always disabled. It tells me to install
Musicbrainz, but it's installed.

What should I do?

I am using amarok 1.4.5-r1 and musicbrainz 2.1.4 on an x86 stable system.


http://bugs.gentoo.org/show_bug.cgi?id=140184
libtunepimp (which is the library for musicbrainz tagging)  has some
security problems, so the flag is disabled

There's some discussion here:
http://forums.gentoo.org/viewtopic-t-498213-highlight-tunepimp.html

Doesn't seem like there's been much action lately on either of those
places, and my gentoo-fu isn't good enough to find where it's masked,
someone here probably knows more.

OT:  incidentally, while I can't speak for the gentoo community
regarding crossposting between forums and ml, it's something that you
might want to be careful about. /OT
--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Linux becomes expensive ;)

2007-07-18 Thread Ryan Sims

On 7/18/07, Hendrik Boom [EMAIL PROTECTED] wrote:

On Sun, 03 Jun 2007 12:49:21 -0500, Dan Farrell wrote:

 it takes just as much power to
 spin up the drive as to keep it spinning for a few extra minutes.

So ... spin it down after a few more minutes?

-- hendrik


No, only spin it down when the savings from the down cycle outweigh
the power cost of spinup+spindown (I don't know whether spindown uses
extra power, to brake the drive or anything).

Say you have a drive that uses 1W/m (huge, but I'm being merciful to
my math skills) while in usage, and requires 5W to spinup.  If you're
going to  shut it down for 1m, you're looking at saving 1W and using
5, net use of 4, when leaving it spinning would only use 1.  However,
if it's going to be inactive for 30 min, you're using 5 and saving 30,
net savings of 25.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why are some packages in portage's output bold?

2007-07-11 Thread Ryan Curtin
On Wed, Jul 11, 2007 at 07:43:38PM +0200, Bo rsted Andresen wrote:
 Packages in bold are in your world file.
 
 https://bugs.gentoo.org/show_bug.cgi?id=142473

I looked through bugs, but I guess I was doing it wrong since I didn't
come across that one.

Thanks for the help!

Ryan

-- 
www.igglybob.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Inotify and (f)crontabs

2007-07-01 Thread Ryan Reich
, wasteful polling is avoided, useless
syslogs are elided, and useful ones replace them.

I'm wondering now whether I should copy this letter to
[EMAIL PROTECTED] and ask them if they would like to include inotify
support in fcron itself, which would make configuration somewhat
easier and more flexible (also make incron unnecessary).  In any case,
I think the changes to Gentoo would be extremely easy to do and
improve life a little.

Thanks,
Ryan Reich
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gentoo-user+unsubscribe

2007-06-27 Thread Ryan Sims

On 6/27/07, Lenny Henderson [EMAIL PROTECTED] wrote:



--
[EMAIL PROTECTED] mailing list




So close...

Who's turn is it this time?

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Linux becomes expensive ;)

2007-06-03 Thread Ryan Sims

On 6/3/07, Florian Philipp [EMAIL PROTECTED] wrote:

Am Sonntag 03 Juni 2007 18:03 schrieb Dan Farrell:
 On Sun, 3 Jun 2007 13:16:33 +0200

 Florian Philipp [EMAIL PROTECTED] wrote:
  Am Samstag 02 Juni 2007 20:03 schrieb Jeff Horelick:
   Florian,
  
   That's not that big of a difference...Also, Gentoo/Linux does not
   have powersaving for every device like Windows XP...it's writing to
   the hard drive more often and it doesn't spin as much down when
   it's not in use to help performance. Also, if i was you, i'd be
   worried about your system using that LITTLE energy especially since
   you have a pretty hefty CPU, video card, motherboard, 2 hardrives
   and al the rest of your components.
  
   On 6/2/07, Florian Philipp [EMAIL PROTECTED] wrote:
Hi guys!
   
I've just tested the energy consumption of my PC. Aparently Gentoo
consumes a
quiet a bit more than Windows XP: 213 W compared to 188 W
   
PowerNow is activated and works on both cores (tested). The same
hardware is
plugged in and works. I'll attach the output of lspci, lsmod and
cpuinfo as
well as my world-file just in case it's related to some software.
   
Is there anything I've forgotten? Where does my energy go?
   
A short overview of my hardware:
   
AMD Athlon64 X2 4200+ EE
Asus M2N32-SLI Deluxe (WLAN should be deactivated)
2048 MB DDR2 Corsair
SoundBlaster Audigy 2 ZS
ATI Radeon 1950 Pro (fglrx)
2 SATA2 HDDs
1 SATA1 DVD-RAM
Floppy
USB mouse, keyboard and printer
TFT screen (connected via DVI)
 
  Well, I've forgotten to mention that I didn't substract all
  peripheral devices. My new calculations (idle, nothing but the big
  black box under my desk): Linux 137W, Win 114W (20% or 18EUR / 20$
  p.a.).
 
  It seems I can't disable my onboard WLAN completely and while Win
  deactivates it because I don't provide drivers, Linux gives it some
  power although no software is accessing it.
 
  By the way: Maximum output while testing with 3DMark 2006: 219W. I
  wonder why I had to buy a 400W power supply...

 Maybe you can power off the wlan with a wireless-utils program, or
 maybe by unloading the kernel module?

 Have you set up power management, powersave frequency governors?  Have
 you set up your disk(s) to idle quickly?

There is no kernel module. I'll play around with modules, configs and tools
later. It's not urgent, it was more like a mystery that I wanted to solve.

Yes, powermanagement (aka PowerNow!) is activated. No, my disks do not spin
down and should not because of the attrition (I hope that's the right word)
that comes with spinning up.


[somewhat OT]:
Please read this: http://labs.google.com/papers/disk_failures.pdf
The damage done to hard drives in spinup/spindown is in the same
category of juju as ricer cflags and cloud seeding.  Drive activity
and such is *not* an indicator of failure, while there may be some
mechanical stress on the disk, but it's not going to cause your drive
to fail noticeably earlier.  Spin them down, save the power, and don't
listen to fearmongers.[/OT]

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Test!

2007-05-29 Thread Ryan Sims

On 5/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



 -Original Message-
 From: dark85x [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2007 2:06 AM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Re: Test!


 On Monday 28 May 2007 19:04:16 Tobias Heinlein wrote:
  Hi there!
 
  eMails rock!

 irc  email
 --
 [EMAIL PROTECTED] mailing list

Perhaps an IRC bot that would send and receive emails? :P


Especially if it would alternate between test and unsubscribe as
the message bodies.  That'd be great.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Ryan Sims

On 5/29/07, Denis [EMAIL PROTECTED] wrote:

How often do you sync with the current portage tree and compare it
your versions in world?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your day job?
--
[EMAIL PROTECTED] mailing list




I have 2 gentoo boxes in our apartment(one's quiet since we just moved
and I haven't gotten back to it yet), I sync around once a week, and
-uDavN world when I sync.  If there are packages that look important
(gcc, glibc, baselayout, etc) I do a bit more research. I watch
gentoo.org and this list.  The only time I put off an update is if I
see notes about it on gentoo.org or such; things like the xorg modular
ebuilds, the new java system, etc.  I have portage email me the elog.

It's just me and my wife using the boxes, so I'm not as careful as I
would be were it a production server, but I've never really been
bitten, either.  As for balance with what I'm actually paid to do, if
I'm taken up with work, I don't update until I get some free time.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Ryan Sims

On 5/29/07, Denis [EMAIL PROTECTED] wrote:

On 5/29/07, Tim Allinghan [EMAIL PROTECTED] wrote:

 Last thing before I hop off each night, emerge --sync followed by a -pv
 -uDN world, if I'm happy I fire it up and head to bed :)

I'm sure that makes for particularly sweet dreams ;-)

One thing I've wondered about...  When you update X or nvidia drivers,
do you need to kill X before running emerge?


I've never done it *before* the emerge, but I usually restart after
the merge, like any other service.  Only time I've ever had a problem
with a program running while emerging is with a glibc upgrade a while
back screwing with a running Firefox, restarting Firefox solved
things.


I usually dread kernel updates because then I have to go through
kernel menuconfig all over again, and for me, that takes some time.  I
guess one can reuse the old .config file, but I understand it's not
always a safe thing to do.  Is it reasonably ok to wait for every
major 2.6.x release to update, or is it necessary to update on every
minor 2.6.x.y release also?


I use 'gunzip -c /proc/config.gz  .config  make oldconfig'
consistently, never had a problem.  I always keep a working kernel in
grub.conf in case of screwups, and I read the options very carefully
before selecting.  One caveat:  going from 2.4 to 2.6 I reconfigured
by hand from scratch.  Whenever we get to 2.8 (or whatever the next
major release is), I'll do that again.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?

2007-05-24 Thread Ryan Sims

On 5/24/07, Denis [EMAIL PROTECTED] wrote:

Are these any options in the kernel and in the gcc to optimize for
Intel's Core 2 Duo chips?  When I set up my gentoo box for the Pentium
Processor Extreme Edition (dual core prescott), I just used
-march=prescott in make.conf

Which -march flag would be the most relevant gcc optimization for
Intel Core 2 Duo?

And is there explicit support in the latest gentoo kernel for Core 2
Duo, or does it go under Pentium 4 family?



Google is your friend:
http://www.google.com/search?q=core+2+duo+cflags
http://gentoo-wiki.com/Safe_Cflags#Intel_Core_2_Duo.2FQuad_.2F_Xeon_51xx.2F53xx



--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] remote ssh session does not reflect my keyboard inputs

2007-05-07 Thread Ryan Sims

On 5/7/07, Mick [EMAIL PROTECTED] wrote:

When I ssh into a Ubuntu server certain keyboard actions (like pressing the Up
or Left arrows) are not translated on the remote box, but give ASCII
responses; e.g. pressing Left Arrow, gives $ ^[[D which is annoying as I have
to delete part of the command I just typed to be able to correct it.

How can I set it up so that my Gentoo keyboard presses and behaviour is
reflected on the remote box?  Is it a matter of copying over the .bashrc file
from the Gentoo box?


I *think* this is a termcap/terminfo issue rather than a bash issue.
What does 'echo $TERM' say in your ssh session?

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] remote ssh session does not reflect my keyboard inputs

2007-05-07 Thread Ryan Sims

On 5/7/07, Mick [EMAIL PROTECTED] wrote:

On Monday 07 May 2007 16:55, Ryan Sims wrote:
 On 5/7/07, Mick [EMAIL PROTECTED] wrote:
  When I ssh into a Ubuntu server certain keyboard actions (like pressing
  the Up or Left arrows) are not translated on the remote box, but give
  ASCII responses; e.g. pressing Left Arrow, gives $ ^[[D which is annoying
  as I have to delete part of the command I just typed to be able to
  correct it.
 
  How can I set it up so that my Gentoo keyboard presses and behaviour is
  reflected on the remote box?  Is it a matter of copying over the .bashrc
  file from the Gentoo box?

 I *think* this is a termcap/terminfo issue rather than a bash issue.
 What does 'echo $TERM' say in your ssh session?

Thanks Ryan,
=
$ echo $TERM
rxvt

$ sudo echo $TERM
rxvt
=
which is the same like my Gentoo box.

--
Regards,
Mick


Ok, I may be a little out of my depth here, but we'll muddle through.
What does

bind -p | grep history

on each box tell you?  You could also try 'set -o history' on the box
that's giving you trouble. (I'm reneging on my idea re. termcap/info)


--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing CFLAGS

2007-05-03 Thread Ryan Sims

On 5/3/07, Csányi András [EMAIL PROTECTED] wrote:

Hemmann, Volker Armin írta:
 the howto is: remove the system and start from scratch.

uhhh...
3 days before changed I the cpu type in /etc/make.conf file and
recompile the system.
And it is work without problems...
I'm very lucky...



From what to what?  Were you using march or mcpu?


--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How can I know which package needs to upgrade without using emerge --sync?

2007-04-16 Thread Ryan Sims

On 4/16/07, Thomas Tuttle [EMAIL PROTECTED] wrote:

On April 16 at 06:46 EDT, Alan McKinnon hastily scribbled:
 On Friday 13 April 2007, Ryan Sims wrote:
  On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   hello,
 I heard of that using emerge --sync frequently may hert my
   hard-disk.

 Uninformed idiots who tell you total garbage like that ought to be shot.
 No, they ought to be hung, drawn, quartered and their corpses hung out
 on a stick to be picked clean by crows.

I apologize for butting in, but this is actually possible if you are
using a Flash memory medium, such as a CompactFlash card or a USB pen
drive, for the filesystem containing Portage.  It is true, as you said,
that syncing often will cause no harm to a normal hard disk.

 Seriously, I spend half my days on support debunking just this kind of
 twaddle.

...and scaring off users who passed it (probably just because they
misunderstood or misinterpreted something) by replying like this.

Please, be nice.

--Thomas Tuttle



While perhaps expressed in a harsh way, I think Alan's frustration is
understandable.  There is a lot of bad information out there, on
subjects from CFLAGS to hard drive failure to toolchain rebuilds,
based on hearsay and rumor rather than testing and understanding.
When there are people posting bad advice based on misunderstanding and
users accepting alarmist statements without checking facts or
questioning sources, we get a lot of static on b.g.o, this list and
the forums.

Perhaps a more polite (but less emotionally satisfying ;) ) response
is: don't just accept advice because its scary or kewl.  If someone's
promising performance gains or warning about damage risks, ask for
real numbers/research, not just hype or alarmism.

My 2cents worth.  Hopefully I didn't come across as insulting, but I
do think that a little more health skepticism in the gentoo user base
(and indeed the world at large) would be A Good Thing (tm).

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why is the latest release 2006.1?

2007-04-16 Thread Ryan Sims

On 4/16/07, Dan Farrell [EMAIL PROTECTED] wrote:

On Sun, 15 Apr 2007 02:14:07 -0300
Norberto Bensa [EMAIL PROTECTED] wrote:

 deface wrote:
  If you want a new release, just emerge --sync. :)

 Not true. 2006.1 doesn't boot on my hardware. I needed to bootstrap
 on an old box, then swap hard drives. Not very friendly.

 We (I) need 2007.0 ASAP.

 Regards,
 Norberto

As has been said, the installation CD does not need to be specifically
a Gentoo cd, although it seems worth repeating that it _does_ have to
support the same architecture.  This isn't usually a big deal unless a
chip supports multiple architectures, ie x86_64 can run x86 code.  But
it can't run both at once unless it has the right libs and - gasp -
livecd's don't.

Some people on the gentoo forums also updated a disk image a little
so that they could boot it on their nice new computers.  You should be
able to find it without too much difficulty on the forums.


http://www.kernel-of-truth.net/downloads_kOT.html

I used it to get things up and running amd64 with the new JMicron
drivers, worked like a charm (ot: in stark contrast to the windows
install, which eventually required a *floppy* to load
drivers...slackware flashbacks ;) ).

If you're worried about compatibility with a new rig, searching the
forums for hardware (Asus P5B in my case) often turns up the poor
souls who found bugs the hard way, allowing cowards like me to benefit
from their hard work.


--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How can I know which package needs to upgrade without using emerge --sync?

2007-04-13 Thread Ryan Sims

On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

hello,
  I heard of that using emerge --sync frequently may hert my hard-disk.


This sounds like juju.  Did your source provide numbers in support of
this conclusion, or is it just concern about hard drive thrashing?

If there is a documented causal relationship between too-often syncs
and hard drive failure, I (and probably lots of other people) would be
interested to see it.  Personally, I would be skeptical that even
daily syncs would do significant damage to a drive in good condition
(all other things being equal).

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe

2007-04-10 Thread Ryan Sims

On 4/10/07, Davi [EMAIL PROTECTED] wrote:

Em Terça 10 Abril 2007 17:15, Jesús Guerrero escreveu:
 El Tue, 10 Apr 2007 17:08:40 -0300

 Davi [EMAIL PROTECTED] escribió:
  Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu:
  ** Thinking: rebuild all = all packages = kde + Xorg + glibc + OOo
  + ... Humm... **
 
  Well... I'm _very_ fine with -O3 flag... u.u'
  I would like use the -O3 flag until format my HD instead recompile my
  entire system... =P

 Well, you don't need to do so. Just change the flag.

 Eventually, with the time, all the packages will be recompiled now or
 later... There is no problem with that.

Sure! But I don't want to wait 8~9 hours to compile OOo right _now_... =P



What Jesús means is that if you change the flag now, over the course
of usual updates eventually everything will be recompiled.  There
shouldn't be any harm in having some -03 and some -02 binaries on your
system, so change your make.conf and let it happen incrementally with
your normal updates.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Why are gentoo people so in love with colorized output?!?

2007-04-05 Thread Ryan Curtin
On Thu, Apr 05, 2007 at 02:45:15PM +, Grant Edwards wrote:
 My point was why default to something that isn't useful for the
 standard terminal emulators like xterm, aterm, rxvt, etc.  Are
 there common terminal emulators that default to a black
 background?

aterm on default settings has a black background for me, and I think
Konsole does also.

Ryan Curtin
[EMAIL PROTECTED]

-- 
www.igglybob.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Heliodor?

2007-04-04 Thread Ryan Sims

On 4/4/07, Neil Bothwick [EMAIL PROTECTED] wrote:

On Wed, 4 Apr 2007 18:57:01 +0200, Francesco Talamona wrote:

  echo 'x11-wm/heliodor'  /etc/portage/package.keywords
  emerge -av heliodor

 Do the following, instead :)
 echo 'x11-wm/heliodor ~amd64'  /etc/portage/package.keywords

Either will work. If no arch is given in package.keywords, it defaults to
~yourcurrentarch.



Perhaps I'm being pedantic, but I think it's worth making clear that
Alan's version will clobber /etc/portage/package.keywords, excepting
noclobber-type options.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] netfilter tarpit target

2007-04-02 Thread Ryan Curtin
On Sun, Apr 01, 2007 at 04:03:48PM +0300, Daniel Iliev wrote:
 Hi, guys
 
 Recently I was looking through my logs when I got  pissed off (again) by
 the big number of lines showing something like 'sshd: auth. error:
 unknown user XXX from some IP address'. I wrote a script which
 automatically sets all connections from those IP addresses to be
 dropped. Next I decided to change -j DROP with -j TARPIT and I
 realized that gentoo-sources doesn't provide the netfilter target TARPIT.

Instead of using iptables, you may want to try DenyHosts
(app-admin/denyhosts).  It's a simple Python script that parses through
/var/log/secure (or whatever your sshd logs to) and finds IPs who have
failed authentication a certain number of times, then adds those IPs to
/etc/hosts.deny.  Naturally, the threshold for blocking a host can be
configured, and many other options can too.  It's worked great for me,
and I've used it for about half a year now.

The website for the DenyHosts project is:
http://denyhosts.sourceforge.net/

I hope that I read your question right and that this will help.

Ryan Curtin
[EMAIL PROTECTED]

-- 
www.igglybob.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's the deal with no gnome 2.18 in portage?

2007-03-21 Thread Ryan Sims

On 3/21/07, purple [EMAIL PROTECTED] wrote:

well,if you want it do it for your self..


If who wants to do what for themselves?

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's the deal with no gnome 2.18 in portage?

2007-03-21 Thread Ryan Sims

On 3/21/07, purple [EMAIL PROTECTED] wrote:

i talk to guy started this list..


Sorry, that's what I get for getting too clever.

Please quote context when you reply.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Email clients - what can replace Evolution?

2007-02-28 Thread Ryan Sims

On 2/28/07, Mark Knecht [EMAIL PROTECTED] wrote:

On 2/28/07, Matthias Langer [EMAIL PROTECTED] wrote:
 On Tue, 2007-02-27 at 20:59 -0800, Mark Knecht wrote:
  Hi all,
 I've got a machine that will no longer run Evolution. For whatever
  reason all versions of Evolution in Portage crash. I cannot as of yet
  get a backtrace to determine why.

 I'm using evolution-2.8.2.1 and it works fine; can you post your emerge
 --info ?

If you're interested then sure. I'm running evolution-2.8.2.1 on a
couple of machines with no problems at all. It's only on his machine
and only since upgrading to Gnome 2.16.


[emerge --info snipped]


Here are the only errors in a terminal when it crashes. It crashes in
all accounts on the system so it's not something specific to my dad's
setup.

[EMAIL PROTECTED] ~ $ evolution

(evolution-2.8:16011): evolution-mail-WARNING **: cannot load
vfolders: Unable to load system rules
'/usr/share/evolution/2.8/vfoldertypes.xml': Success


(evolution-2.8:16011): Gtk-CRITICAL **: gtk_layout_set_hadjustment:
assertion `GTK_IS_LAYOUT (layout)' failed

(evolution-2.8:16011): Gtk-CRITICAL **: gtk_layout_set_vadjustment:
assertion `GTK_IS_LAYOUT (layout)' failed

** (bug-buddy:16026): WARNING **: Couldn't load icon for Bonobo
Component Browser

** (bug-buddy:16026): WARNING **: Couldn't load icon for Open Folder
Failed to read a valid object file image from memory.
[EMAIL PROTECTED] ~ $



Grasping at straws, but I found this:
http://lists.alioth.debian.org/pipermail/pkg-evolution-maintainers/2006-September/001441.html

Try running evolution with the --sm-disable option?  It's not a fix, I
know, but it might help.  An evolution --help might shed some light on
what --sm-disable does, if it works.  (I'd check myself, but I'm not
in front of a linux box right now.)


--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ALSA_CARDS Variable in-kernel drivers?

2007-02-27 Thread Ryan Sims

On 2/27/07, Dan Farrell [EMAIL PROTECTED] wrote:

On Tue, 27 Feb 2007 20:59:21 +0100
Jakob Buchgraber [EMAIL PROTECTED] wrote:

 b.n. wrote:
  Jakob Buchgraber ha scritto:
 
  Hi!
 
  I just read about the required ALSA_CARDS variable when using
  in-kernel drivers in the Gentoo Newsletter. Since I am using
  in-kernel ALSA drivers I would like to know what changed and why
  this is required? Is this explained somewhere? I am using
  vanilla-sources (not gentoo-sources). So do I need to set
  ALSA_CARDS when using vanilla-sources too?
 
 
  The GWN seems clear:
  for users using the in-kernel drivers, they
  should now properly set that variable
 
  I think that the other alsa packages must be aware of it. Anyway I
  think setting it shouldn't harm.


Context from the GWN in question:

In the past days there were a few changes to two ALSA packages,
media-sound/alsa-firmware-1.0.14_rc2-r1 and
media-sound/alsa-tools-1.0.14_rc1-r1. These two ebuilds now make use
of the ALSA_CARDS variable to decide which firmwares to install and
which tools to build.

So it looks to me like it has nothing to do with the kernel.  I can't
check the ebuilds right now, but my guess is that they would explain
what those two packages need the variable for, and what has changed.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Internet not working after instillition

2007-02-26 Thread Ryan Curtin
On Mon, Feb 26, 2007 at 05:00:21PM -0800, Harbir Singh Hundal wrote:
   Hi!
   
 I have build the system, with kernel-2.6, and during the instillation
 I have emerged dhcpcd, but my internet is not working.
 
 When I do # ifconfig I can see the assigned IP 192.168.0.2 for eth0,
 and I am using a router as a gateway with address 192.168.0.1
 
 I am able to ping 192.168.0.1, but when I try to ping www.google.com
 or any other site it gives the message unknown Host.
 
 I don?t know what to do now, any sort of help will be appreciated.

It would seem to me that your DHCP server is not set correctly.  Can you
post your /etc/resolv.conf?  That would help.  Also, try pinging
216.239.51.99.  This is the IP of www.google.com.

Ryan Curtin
[EMAIL PROTECTED]

-- 
www.igglybob.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Migrating gentoo to a new machine

2007-02-04 Thread Ryan Sims

On 2/3/07, Michal 'vorner' Vaner [EMAIL PROTECTED] wrote:

Hello,

On Sat, Feb 03, 2007 at 04:08:41PM +0800, Seo Boon, NG wrote:
 Throught the years I've build-up a good collection of gentoo packages that I'm
 currently running on my notebook. Now that I need to move to a new notebook, I
 build another gentoo system where everything were smooth and I did a emerge
 world/systems to get everything update. Now the question is - how do get 
gentoo
 to emerge the exact same number of package like my old notebook? I've 
attempted
 to move /var/lib/portage/world(which contain all the packages that I need) to
 the new notebook and start a emerge world. I got an error and ask me to 
emaint
 -c that I follow diligently which didn't quite help. I follow up with a 
emaint
 -f and somehow it just get rid of all the packages that I need :(

I would try (since the file looks quite friendly) emerge -va `cat
/var/lib/portage/world`


Perhaps emerge -va `cat /var/lib/portage/world | xargs`?
I have found that bash worries about newlines in the middle of arguments


--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Ryan Crisman

You can try the Linux version of Google Picasa
http://picasa.google.com/linux/  May not be as minimal as you would like but
it works.  And they are not listing an dependencies.

On 1/15/07, Vlad Dogaru [EMAIL PROTECTED] wrote:


Hello,

Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
depends on GNOME. I use Fluxbox because I have an older computer and would
like to keep dependencies at a minimum. Any suggestions? I only need a
viewer; organising my pictures is not a plus. No exotic formats, just jpeg,
gif and the usual.

Thanks in advance,
Vlad





--
Ryan Crisman


[gentoo-user] Portage Emerge Net Connect Error

2007-01-12 Thread Ryan Crisman

Everytime I attempt to install a new program using portage i get this error:

Resolving distfiles.gentoo.org... failed: Temporary failure in  name
resolution.

I do have internet access and I am writing this email from the same
machine.  It doesn't matter what package or when i get this error all the
time.  Even on the other mirrors for the package.

--
Ryan Crisman


Re: [gentoo-user] Portage Emerge Net Connect Error

2007-01-12 Thread Ryan Crisman

I do a ping distfiles.gentoo.org
ping: unknown host distfiles.gentoo.org

Than i try and ping its ip and i get
connect: network is unreachable

Pinging www.Google.com:
connect: network is unreachable

contents of resolv.conf
domain localdomain
nameserver 192.168.1.1
nameserver 192.168.1.1

But as i said before I am able to browser the web in Firefox.

On 1/12/07, PaulNM [EMAIL PROTECTED] wrote:


Ryan Crisman wrote:
 Everytime I attempt to install a new program using portage i get this
 error:

 Resolving distfiles.gentoo.org... failed: Temporary failure in  name
 resolution.

 I do have internet access and I am writing this email from the same
 machine.  It doesn't matter what package or when i get this error all
the
 time.  Even on the other mirrors for the package.

Well, for some reason dns lookup for those sites fail.  What happens
when you put distfiles.gentoo.org in a web browser?  You could also try
pinging the repositories first, and if they get though, try emerge
again.  If emerge still fails, I'd try adding them to the host file with
whatever ip you get from pinging as a workaround.

PaulNM

--
gentoo-user@gentoo.org mailing list





--
Ryan Crisman


Re: [gentoo-user] Portage Emerge Net Connect Error

2007-01-12 Thread Ryan Crisman

Okay i got it to work.  It turns out /etc/conf.d/net was not setup to see
the router.

I just looked it up on the Gentoo Linux Doc and routes_eth0 was not set up
so I added
routes_eth0=default gw 192.168.1.1
to the end of the file, restarted eth0 and everything works now.

Thanks for the help.

On 1/12/07, Ryan Crisman [EMAIL PROTECTED] wrote:


I do a ping distfiles.gentoo.org
ping: unknown host distfiles.gentoo.org

Than i try and ping its ip and i get
connect: network is unreachable

Pinging www.Google.com:
connect: network is unreachable

contents of resolv.conf
domain localdomain
nameserver 192.168.1.1
nameserver 192.168.1.1

But as i said before I am able to browser the web in Firefox.

On 1/12/07, PaulNM  [EMAIL PROTECTED] wrote:

 Ryan Crisman wrote:
  Everytime I attempt to install a new program using portage i get this
  error:
 
  Resolving distfiles.gentoo.org... failed: Temporary failure in  name
  resolution.
 
  I do have internet access and I am writing this email from the same
  machine.  It doesn't matter what package or when i get this error all
 the
  time.  Even on the other mirrors for the package.

 Well, for some reason dns lookup for those sites fail.  What happens
 when you put distfiles.gentoo.org in a web browser?  You could also try
 pinging the repositories first, and if they get though, try emerge
 again.  If emerge still fails, I'd try adding them to the host file with
 whatever ip you get from pinging as a workaround.

 PaulNM

 --
 gentoo-user@gentoo.org mailing list




--
Ryan Crisman





--
Ryan Crisman


Re: [gentoo-user] how do I keep package from being updated?

2007-01-11 Thread Ryan Sims

On 1/11/07, John covici [EMAIL PROTECTED] wrote:

If I have two versions on the systems, how would apache and the cli
pick what version they are going to use?


I think there was just a thread on top-posting, btw.

IIRC, you pass -DPHP5 or -DPHP4 to apache in /etc/conf.d/apache
(or possibly /etc/conf.d/apache2).  As for cli, I'm not sure, I
haven't used it much.


on Thursday 01/11/2007 Hans-Werner Hilse([EMAIL PROTECTED]) wrote
  Hi,
 
  On Thu, 11 Jan 2007 11:38:38 -0500
  John covici [EMAIL PROTECTED] wrote:
 
   OK, I did put my php version in the /etc/portage/package.mask, but it
   still wants to install a new major version -- curiously it says ebuild
   -ns rather than just -n or -u.  I put the following line in there
   =dev-lang/php-4.4.4-r8
 
  you don't want to mask the currently installed version (=), but rather the
  versions greater () than it.
 
   which is my current version of php and emerge said
   [ebuild  NS   ] dev-lang/php-5.1.6-r6  USE=berkdb cli crypt gdbm
   [...]
 
  interesting. Yes, that NS is for a New, Slotted version. I.e., PHP4
  will still be on your system, so you might already stop worrying at
  this point. In fact, I don't really know how to mask a version in a
  different slot. I would have even expected my suggestion to do that
  anyway. But this makes much more sense, because there should be a
  seperate masking for each of the slots -- and it resembles the
  behaviour from the profile's masks. So you might add another line to
  your package.mask, following Boyd Stephen's suggestion to mask with
  =:
 
  =dev-lang/php-5.0.0
 
 
 
  -hwh
  --
  gentoo-user@gentoo.org mailing list

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

 John Covici
 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list





--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mathematical Formulas

2007-01-10 Thread Ryan Sims

On 1/10/07, Vlad Dogaru [EMAIL PROTECTED] wrote:

Hello,

Gentoo fits like a glove,even to a newbie such as myself,  but I can't get
AbiWord to display mathematical formulas in my documents. Is there a package
I am missing (searches yielded nothing of interest thus far) or another
piece of software I can use?


I use wxmaxima, which can output latex, and openoffice-math has an ok
formula editor.  I think it also does latex.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Native 64-bit Intel Core Duo 2 system?

2007-01-08 Thread Ryan Sims

On 1/8/07, Thomas T. Veldhouse [EMAIL PROTECTED] wrote:

Is there any documentation on setting up a native system on my 64-bit
Intel Core Duo 2 system (E6600)?  I note there was mention of new
compiler options to build for core 2 duo, but I haven't seen anything
specific for a new install.


I used the amd64 install guide, worked perfectly.  I did have to use
kernelOfTruth's small gentoo liveCD because of the JMicron
compatibility issue, but that's a little OT

Re. CFLAGS: http://www.gentoo.org/news/en/gwn/20061211-newsletter.xml
essentially, it's -march=nocona, like David said.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Found eth0, what's depreciated

2007-01-05 Thread Ryan Sims

On 1/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Good call Karl; I had been thinking of an older system when I modprobed
what I thought was my card.  It still didn't work after a modprobing, but
I compiled it straight in, and it worked just fine.

Thank you, Karl.

Just out of curiosity (to the list in general), to undepreciate my eth0,
is that just making the net.eth0 file, or am I missing something?

-Eric


I don't mean to be pedantic, but you mean deprecate, I assume,
unless you're worried your network card isn't worth what it once was.

Could you post more info?  I.e. specific error messages, so on.  IIRC,
you need to link net.eth0 to net.lo, configure /etc/conf.d/net (as
explained in /etc/conf.d/net.example) and /etc/init.d/net.eth0 start.

If you get error messages, please post those, along with the relevant
part of /etc/conf.d/net

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Error when trying to emerge --update --deep --newuse world

2007-01-05 Thread Ryan Sims

On 1/5/07, Shawn Singh [EMAIL PROTECTED] wrote:
[snip]

[blocks B ] sys-apps/coldplug (is blocking sys-fs/udev-103)

I can't emerge: sys-fs/udev-103 or udev-103 b/c that's not a valid package
atom ...


The correct way to specify a particular version is =sys-fs/udev-103
(or = or = or ~, etc).  sys-fs/udev is also fine, but putting the
version in the command requires one of those operators.  That's what
portage means when it complains about an invalid atom.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Several arches installed, flag kernel automatically

2007-01-03 Thread Ryan Sims

On 1/3/07, Matthias Fechner [EMAIL PROTECTED] wrote:

Hi,

I have here two gentoo systems one 32-bit and one 64-bit.

To save space on my harddisk the mounts /home and /boot are used from
both systems.

Now I have the problem with the kernel version.
Both systems running kernel 2.6.18-gentoo-r6.

If I install now the kernel from the 64-bit system it overwrites the
kernel from the 32-bit system.


I assume you're using make install after building your kernel?  I
usually do a cp arch/[insert your arch here]/boot/bzImage
/boot/kernel-[version string] (and then one for the System.map)
Would that do what you want?

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mysql vs Mysql-community...

2007-01-02 Thread Ryan Crisman

MySQL - Paid (Enterprise Edition), Paid Support
MySQL Community - Free (Personal Edition), Community Support

On 1/2/07, kashani [EMAIL PROTECTED] wrote:


Jerry McBride wrote:
 Can someone tell me the major differences between mysql and
mysql-community?

 Thank you, in advance...

 P.S. before you beat me up too badly, I've googled this one to death and
not
 found anything that satisfies my curiousity.

The answer at the moment appears to be that there is no difference.

http://www.mysqlperformanceblog.com/2006/12/29/where-to-get-recent-mysql-version/

However it looks like in the future the code paths will start to diverge.

Here's a bit more about the upcoming split.
http://www.planetmysql.org/kaj/?p=64

Ramin

--
gentoo-user@gentoo.org mailing list





--
Ryan Crisman


Re: [gentoo-user] Mysql vs Mysql-community...

2007-01-02 Thread Ryan Crisman

I use MySQL alot at my Company and we use the Community version.  I have
found that its just as good as the Paid one which by the MySQL website says
the paid one is more stable but I have yet to see any problems.

On 1/2/07, kashani [EMAIL PROTECTED] wrote:


Ryan Crisman wrote:
 MySQL - Paid (Enterprise Edition), Paid Support
 MySQL Community - Free (Personal Edition), Community Support

While the above is true it fails to answer the question, As
DBA/sysadmin what is the actual difference between the two so I can pick
the right one for my workload. At least that's the question I
interpreted the first post as asking.

Right now the code bases are exactly the same. Going forward it's
not
clear whether I'll be able to compile Mysql Enterprise myself with
support for the Sphinx storage engine which is very fast for full text
searches and a feature I desperately need. Also unclear is if the high
concurrency Innodb thread fixes are going to be implemented in Community
or Enterprise first. Enterprise appears to be the stable branch and will
have changes back ported from Community, but the docs are less than
clear at this point. In any case the issues are a bit more complicated
than where your support comes from at least at the high end. For your
general web-app either would be fine.

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





--
Ryan Crisman


Re: [gentoo-user] Cannot mount volume on Gnome 2.16 when inserting CD?

2006-12-29 Thread Ryan Sims

On 10/2/06, Alexander Skwar [EMAIL PROTECTED] wrote:

[snip]


I've got a /media directory. When I try to manually mount the
CD using hal and gnome-mount, I get:

[EMAIL PROTECTED] ~ $ gnome-mount 
--hal-udi=/org/freedesktop/Hal/devices/volume_label_NEW --text --verbose
gnome-mount 0.4
** (gnome-mount:26113): DEBUG: Mounting 
/org/freedesktop/Hal/devices/volume_label_NEW
** (gnome-mount:26113): DEBUG: Mounting 
/org/freedesktop/Hal/devices/volume_label_NEW with mount_point='NEW', 
fstype='', num_options=1
** (gnome-mount:26113): DEBUG:   option='uid=1000'

** (gnome-mount:26113): WARNING **: Mount failed for 
/org/freedesktop/Hal/devices/volume_label_NEW
org.freedesktop.DBus.Error.AccessDenied : A security policy in place prevents this sender from sending this message to 
this recipient, see message bus configuration file (rejected message had interface 
org.freedesktop.Hal.Device.Volume member Mount error name (unset) destination 
org.freedesktop.Hal)

When I run the gnome-mount command as roót, the CD gets mounted just
fine.


Exact same problem here, also a new install, but it's amd64 and I
don't have much keyworded.  I checked to be sure, I'm in the plugdev
group.  I found a few posts around the web (not gentoo) by googling,
nothing helpful, and apparently nothing in the gentoo forums.

I see this is a couple months old, is there a solution out there?

--
Ryan W Sims

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: I want my xmms

2006-12-29 Thread Ryan Crisman

He may have meant lightweight as in easy to use.  And compared to mplayer it
is lightweight on the memory side.

On 12/29/06, Grant Edwards [EMAIL PROTECTED] wrote:


On 2006-12-29, Mark M [EMAIL PROTECTED] wrote:

 how about media-sound/audacious ?
 its a nice and lightweight player.

Lightweight??

It's the biggest virtual memory user on my system with a
virtial set size of 58M and resident set size of 14M.  The only
thing with a slightly larger resident size is the X server.

Audacious takes three times as much memory as Apache.

--
Grant Edwards   grante Yow!  Do you have
exactly
  at   what I want in a plaid
   visi.compoindexter bar bat??

--
gentoo-user@gentoo.org mailing list





--
Ryan Crisman


Re: [gentoo-user] Cannot mount volume on Gnome 2.16 when inserting CD? [SOLVED]

2006-12-29 Thread Ryan Sims

On 12/29/06, Ryan Sims [EMAIL PROTECTED] wrote:

On 10/2/06, Alexander Skwar [EMAIL PROTECTED] wrote:

[snip]

 I've got a /media directory. When I try to manually mount the
 CD using hal and gnome-mount, I get:

 [EMAIL PROTECTED] ~ $ gnome-mount 
--hal-udi=/org/freedesktop/Hal/devices/volume_label_NEW --text --verbose
 gnome-mount 0.4
 ** (gnome-mount:26113): DEBUG: Mounting 
/org/freedesktop/Hal/devices/volume_label_NEW
 ** (gnome-mount:26113): DEBUG: Mounting 
/org/freedesktop/Hal/devices/volume_label_NEW with mount_point='NEW', fstype='', 
num_options=1
 ** (gnome-mount:26113): DEBUG:   option='uid=1000'

 ** (gnome-mount:26113): WARNING **: Mount failed for 
/org/freedesktop/Hal/devices/volume_label_NEW
 org.freedesktop.DBus.Error.AccessDenied : A security policy in place prevents this sender from sending this message 
to this recipient, see message bus configuration file (rejected message had interface 
org.freedesktop.Hal.Device.Volume member Mount error name (unset) destination 
org.freedesktop.Hal)

 When I run the gnome-mount command as roót, the CD gets mounted just
 fine.

Exact same problem here, also a new install, but it's amd64 and I
don't have much keyworded.  I checked to be sure, I'm in the plugdev
group.  I found a few posts around the web (not gentoo) by googling,
nothing helpful, and apparently nothing in the gentoo forums.

I see this is a couple months old, is there a solution out there?


Hate to reply to myself, but here's the solution I found:

In /etc/dbus-1/system.d/hal.conf, I had this:

policy group=plugdev
   allow send_interface=org.freedesktop.Hal.Device.SystemPowerManagement/
   allow send_interface=org.freedesktop.Hal.Device.LaptopPanel/
   allow send_interface=org.freedesktop.Hal.Device.Volume/
   allow send_interface=org.freedesktop.Hal.Device.Volume.Crypto/
/policy

Seems fine.  Well, I tried changing plugdev to 1003 (the gid of
plugdev on my system), restarted hal, and now things are just ducky.
Is this a bug, or is there still some configuration weirdness going
on?

This is with hal-0.5.7-r3 dbus-0.62-r2 and gnome-volume-manager-2.15.0-r1

--
Ryan W Sims

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] should my computer really be able to speak russian?

2006-12-17 Thread Ryan Sims

#en_US ISO-8859-1
en_US.UTF-8 UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ja_JP EUC-JP
#en_HK ISO-8859-1
#en_PH ISO-8859-1
#de_DE ISO-8859-1
[EMAIL PROTECTED] ISO-8859-15
#es_MX ISO-8859-1
#fa_IR UTF-8
#fr_FR ISO-8859-1
[EMAIL PROTECTED] ISO-8859-15
#it_IT ISO-8859-1


The file says this, tho:
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you.  After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.

which leads me to believe that it only applies to glibc.

I've remerged everything with -nls, and things are well.  uim failed
with an error about mygettext not declared in this scope, so I set
it to +nls in package.use, and it's happy again.


On 12/16/06, Walter Dnes [EMAIL PROTECTED] wrote:

On Thu, Dec 14, 2006 at 09:57:51AM -0500, Ryan Sims wrote

 Thanks.  I do have my LINGUAS variable set to en, but as I understand
 it[1], the LINGUAS variable is expanded to use flags, so ebuilds that don't
 use those flags wont respect LINGUAS, is that correct?

 [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html

  What do your /etc/locale.gen and /etc/locales.build files look like?
I've commented out a whole slew of languages in them.

--
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
--
gentoo-user@gentoo.org mailing list





--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] should my computer really be able to speak russian?

2006-12-17 Thread Ryan Sims

On 12/17/06, Dale [EMAIL PROTECTED] wrote:

Ryan Sims wrote:
 #en_US ISO-8859-1
 en_US.UTF-8 UTF-8
 #ja_JP.EUC-JP EUC-JP
 #ja_JP.UTF-8 UTF-8
 #ja_JP EUC-JP
 #en_HK ISO-8859-1
 #en_PH ISO-8859-1
 #de_DE ISO-8859-1
 [EMAIL PROTECTED] ISO-8859-15
 #es_MX ISO-8859-1
 #fa_IR UTF-8
 #fr_FR ISO-8859-1
 [EMAIL PROTECTED] ISO-8859-15
 #it_IT ISO-8859-1


 The file says this, tho:
 # Whenever glibc is emerged, the locales listed here will be
 automatically
 # rebuilt for you.  After updating this file, you can simply run
 `locale-gen`
 # yourself instead of re-emerging glibc.

 which leads me to believe that it only applies to glibc.

 I've remerged everything with -nls, and things are well.  uim failed
 with an error about mygettext not declared in this scope, so I set
 it to +nls in package.use, and it's happy again.


 On 12/16/06, Walter Dnes [EMAIL PROTECTED] wrote:
 On Thu, Dec 14, 2006 at 09:57:51AM -0500, Ryan Sims wrote

  Thanks.  I do have my LINGUAS variable set to en, but as I
 understand
  it[1], the LINGUAS variable is expanded to use flags, so ebuilds
 that don't
  use those flags wont respect LINGUAS, is that correct?
 
  [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html

   What do your /etc/locale.gen and /etc/locales.build files look like?
 I've commented out a whole slew of languages in them.

 --
 Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
 My musings on technology and security at http://techsec.blog.ca
 --
 gentoo-user@gentoo.org mailing list





I don't have uim installed so I didn't have that problem.  So it seems
to be working OK for you then?

Dale


Yep, everything's fine, thanks.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



[gentoo-user] rhythmbox plays music too fast (oss problem?)

2006-12-17 Thread Ryan Sims

I recently emerged Rhythmbox to give it a shot, and I've found that it
plays all my music noticably fast, so that the pitch is altered
noticably.  Audacious did this for a while, and I fixed it by changing
its output plugin from oss to alsa; my guess is that's the problem
with rhythmbox, but I can't seem to change that setting.

Here's what I've done:

gnome System Menu - Preferences - Multimedia Systems selector,
changed everything to Alsa from Autodetect

gconf-editor:
/system/gstreamer/[0.10|0.8]/default/(keys that reference OSS changed
to alsa equivalents)

Added -oss to use flags, ran emerge -uDavN world, which did pick up
several gstreamer packages.  However, gst-plugins-oss remains, and
gst-plugins-base still wants the oss plugin.

Any thoughts?  None of the other media players I have do this (i.e.
mplayer, Totem, Audacious) except for what I mentioned above re.
Audacious.  So it's hardly a major problem, but I just can't leave
something un-fixed :)

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] No update-eix-remote

2006-12-14 Thread Ryan Tandy

Douglas Linford wrote:

1. iDeq ~# echo app-portage/eix  /etc/portage/package.keywords


I think you're missing an atom in there.  The correct command, unless 
I've mistaken your intent, is:


# echo 'app-portage/eix ~x86'  /etc/portage/package.keywords

(that is, assuming your arch is x86; sub your own arch as necessary). 
I'm surprised Portage didn't complain about the incomplete line when you 
tried to emerge it.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] should my computer really be able to speak russian?

2006-12-14 Thread Ryan Sims

On 12/13/06, Dale [EMAIL PROTECTED] wrote:


 Ryan Sims wrote:

I noticed while updating to Gnome 2.16 today that gnome2-user-docs
took a long time (38 min +), and most of that time was spend on
versions of the documents in languages I don't speak.  After trying a
few things, I found that disabling the nls use flag in scrollkeeper
reduced the gnome2-user-docs compile down to under a minute.

It got me thinking...I speak only English, my fiancee speaks English
(well, and some French, but she doesn't need our computer to), so I
thought, hm, is nls support needed *anywhere?*
So I disabled the use flag globally to test, and discovered probably
30 packages that want to be rebuilt, from glibc to vim to coreutils to
audacious.

If I only need a monoglot computer, would I break anything by
disabling nls support?

 http://www.gentoo.org/doc/en/guide-localization.xml

This is the part that matters:

 There is also additional localisation variable called LINGUAS, which
affects to localisation files that get installed in gettext-based programs,
and decides used localisation for some specific software packages, such as
kde-base/kde-i18n and app-office/openoffice. The variable takes in 
space-separated
list of language codes, and suggested place to set it is /etc/make.conf:

Code Listing 3.5: Setting LINGUAS in make.conf

# nano -w /etc/make.conf(Add in the LINGUAS variable. For instance,
for German, Finnish and English:)
LINGUAS=de fi en



I think that will help you.  I have -nls in mine too.  So both should not
hurt anything.

Hope that helps.



Thanks.  I do have my LINGUAS variable set to en, but as I understand
it[1], the LINGUAS variable is expanded to use flags, so ebuilds that don't
use those flags wont respect LINGUAS, is that correct?

[1]http://devmanual.gentoo.org/general-concepts/linguas/index.html

--
Ryan W Sims


Re: [gentoo-user] No update-eix-remote

2006-12-14 Thread Ryan Tandy

Neil Bothwick wrote:

It's in man portage

Format:
- comments begin with #
- one DEPEND atom per line followed by additional KEYWORDS
- lines without any KEYWORDS imply unstable host arch


Thanks for the clarification.

*fires up sed*
--
gentoo-user@gentoo.org mailing list



[gentoo-user] should my computer really be able to speak russian?

2006-12-13 Thread Ryan Sims

I noticed while updating to Gnome 2.16 today that gnome2-user-docs
took a long time (38 min +), and most of that time was spend on
versions of the documents in languages I don't speak.  After trying a
few things, I found that disabling the nls use flag in scrollkeeper
reduced the gnome2-user-docs compile down to under a minute.

It got me thinking...I speak only English, my fiancee speaks English
(well, and some French, but she doesn't need our computer to), so I
thought, hm, is nls support needed *anywhere?*
So I disabled the use flag globally to test, and discovered probably
30 packages that want to be rebuilt, from glibc to vim to coreutils to
audacious.

If I only need a monoglot computer, would I break anything by
disabling nls support?

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] almost completely OT: mouses

2006-12-12 Thread Ryan Sims

On 12/12/06, Uwe Thiem [EMAIL PROTECTED] wrote:

On 12 December 2006 18:24, Neil Bothwick wrote:

  I have never seen anyone (except non-native speakers by mistake) use
  mouses as the plural for a computer mouse. Are the people of the Oxford
  dictionary nuts, or is this really correct and mice wrong in this case?

 1) You have waaay too much time on your hands :)

Well, I had to look up the other thing. ;-)


 2) My OED (2002 edition) says of the computer device (pl also mouses)
so they consider both mice and mouses to be correct.



Might this also be related to the use of mouse as a verb?  I.e.
mouse over the image to see it change,

I mouse
You mouse
He mouses?
We all.mice?


--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Traffic Visualizer

2006-12-12 Thread Ryan Sims

On 12/12/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:

Several years ago I saw a (unfortunatly windows) program that when
pluggined into a network, would allow the user to visualize traffic
across the network.  In that particular program, the network (or
segment) was represented as a circle with hosts around the perimeter and
lines representing traffic, the thicker the line, the more traffic.

Im not hooked on that particular layout, but im looking for something
similar that will allow me to get a grasp of which hosts are generating
traffic and how much (we are seeing some slowdown problems that I need
to try to locate)

Programs in portage are preferable, but if it will run on gentoo without
too much gymnastics, im interested.

Thanks

TIM


I've seen references to Etherape, which does pretty much what you
describe.  I can't speak for its usefulness in a production
environment, being the merest dilletante ;)
--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] almost completely OT: mouses

2006-12-12 Thread Ryan Sims

On 12/12/06, Neil Bothwick [EMAIL PROTECTED] wrote:

On Tue, 12 Dec 2006 15:20:43 -0300, Arturo 'Buanzo' Busleiman wrote:

 In Argentina we do not say raton (spanish translation for mouse)

As a cordless mouse has no tail, should we call it a hamster? ;-)



I like it.  What about trackballs?

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eix double naming with colon?

2006-12-08 Thread Ryan Sims

On 12/8/06, Mark Knecht [EMAIL PROTECTED] wrote:

Hi,
   I've been meaning to ask - what's with the new double name thing in eix?

   Why is a package now shown as

~2.6.19-r1:2.6.19-r1

instead of just

~2.6.19-r1

How does this help me, or what isit trying to accomplish? As a user
type it sure seems less readable now.


I'm pretty sure that's showing you slots, but I speak under
correction.  Looks to me like each kernel version has it's own slot,
so they wont unmerge older kernels.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eix double naming with colon?

2006-12-08 Thread Ryan Sims

On 12/8/06, Alan McKinnon [EMAIL PROTECTED] wrote:

On Friday 08 December 2006 17:21, Mark Knecht wrote:
 Hi,
 I've been meaning to ask - what's with the new double name thing
 in eix?

 Why is a package now shown as

 ~2.6.19-r1:2.6.19-r1

 instead of just

 ~2.6.19-r1

The second one is the SLOT for that package. Run eix on an unslotted
package and you don't get it, such as:

[I] dev-libs/eet
 Available versions:  (~)0.9.10.030 !0.9.10.030[1] (*) ![1]
 Installed versions:  (15:14:01 12/08/06)(doc -nls)
 Homepage:http://www.enlightenment.org/pages/eet.html
 Description: E file chunk reading/writing library

With a SLOTted package, it's useful to know which SLOT the package is
in, I also see that your's shows them after a colon, but mine is within
parenthesis:

[EMAIL PROTECTED] ~ $ eix gentoo-sources
[I] sys-kernel/gentoo-sources
 Available versions:
(2.4.32-r7) 2.4.32-r7
(2.6.15-r1) 2.6.15-r1

[snip]

That's interesting.  Are you running a ~ version of eix, or is that a
format you set up?  My systems uses the colon as well.

--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Best method for automounting...

2006-12-01 Thread Ryan Sims

On 12/1/06, Neil Bothwick [EMAIL PROTECTED] wrote:

On Fri, 01 Dec 2006 16:19:44 +0100, Alexander Skwar wrote:

  That's probably because you're running two automounters, which are
  conflicting. You don't need autofs, and probably should not run it,
  when using KDE's system.

 Why should autofs not be running when KDE is used?

Because you'll get exactly the problem the OP mentioned, with two systems
trying to control the same device.

  The KDE system is also more flexible

 How do you make use of media:/ files with normal (ie. non-KDE)
 applications?

They're mounted under /media.



If I'm thread hijacking, let me know, but it seems related to me: what
is it that mounts things under /media?  I seem to have a couple things
fighting for devices, none of which obey my udev or fstab rules,
seemingly.  I *think* the contenders are udev (which doesn't mount
anything, but it's not creating the symlinks I want),
gnome-volume-manager, hal and pmount (not sure about that last, I'm
not at my system now.)


--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list



  1   2   3   4   5   >