Re: [gentoo-user] A blog entry about gentoo

2009-03-31 Thread Joshua Schmidlkofer

On 3/25/09 4:43 AM, Alan McKinnon wrote:

On Wednesday 25 March 2009 12:38:53 David wrote:
   

I wrote an entry in my blog about gentoo, and created a little script to
make gentoo handling a bit easier, and whant to share it will all gentoo
users to see if it could help them to understand gentoo better (specially
for noob ones), and simplify its handling.

I think it is not spam, since it could help others (I hope so).

The link: http://stormbyte.blogspot.com/2009/03/gentoo-easy-handling.html

David.
 


It's far too simplistic. It doesn't take account of dependencies that must
also be masked/unmasked/whatever and will cause obscure error messages that
will confuse the user more than simply using portage.

   


HAHAHA!  Yeah, that's why I wrote the poorly received bastard

Good luck with it.  I think it kicks ass, and totally ignores 
everything.  I use this everywhere.


e.g.

 bastard =gnome-2.18*
 bastard =nginx-0.7*
 bastard =postgresql-server-8.3*

Unmasking-the-new-Gnome/KDE-ly Yours,
  Joshua
#!/bin/bash

echo Bastard.sh - mass unmasker.
echo Note to self: unmasking packages is fun and exciting, but may be 
dangerous.
echo Ensure you have a backup, or a box of tissues.  It's possible to cause 
system b0rkage.
echo For instance: Be very wary of unmasking portage releases.
echo Ctrl-C to abort
sleep 3

if [ ${1} ==  ]; then
echo usage: ${0} package spec
echo  e.g.  ${0} =gnome-base/gnome-2.14*
echo note: please use the version, otherwise it only examines the masked 
revisions
exit
fi

while [ 1 ]; do
FULL=`emerge -pv $*`
PM=`echo ${FULL} | grep '^-.*masked by.*package.mask'|cut -d ' ' -f 2`
PK=`echo ${FULL} | grep '^-.*masked by.*\~.*keyword'|cut -d ' ' -f 2`
RES=$?
if [ ${RES} == 0 ]  [ ${PM} ==  ]  [ ${PK} ==  ]; then
FILE=/tmp/$$.`basename ${0}`.log
echo Full: ${FULL}  ${FILE}
echo See ${FILE} for the final message, however this looks complete.
cat ${FILE} | grep '^\[block'  /dev/null  echo You have blocked 
packages, however once resolved you should be able to merge successfully.
break
fi
for x in ${PM}; do
echo Unmask: ${x}
echo =${x}*  /etc/portage/package.unmask
done
for x in ${PK}; do
echo Keywords: ${x}
echo =${x}* ~x86  /etc/portage/package.keywords
done
done



Re: [gentoo-user] netcard interface with alias

2009-03-09 Thread Joshua Schmidlkofer

On 3/2/09 4:10 AM, Zhu Sha Zang wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have 7 networks behind a machine with 5 network's device. Now, this
machine running debian, but i'll upgrade too gentoo. How i can create
a eth0:1, for example, using /etc/conf.d/net?

Thanks

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

iEYEARECAAYFAkmrzNAACgkQ35zeJy7JhCijFwCfaIgUYnNX3og3zQ/RMRyEb8vY
SmoAmgPshApqi3hLGxbuz/mXhOc6GVgK
=J1Fx
-END PGP SIGNATURE-



   
Is there are reason you haven't considered something like pfSense for 
this machine?


Sincerely,
  Joshua



Re: [gentoo-user] Automounting of USB drives

2008-12-08 Thread Joshua Schmidlkofer

On 12/1/08 4:15 PM, AJ Spagnoletti wrote:

I have finally reached the point where I use enough USB media
(external hard drives and flash drives) that I would like to set up a
system to automount the media devices for me. I have read in the past
about hal + ivman and a bit of googling has brought up AutoFS as well.
I was just wondering what the best system to automount USB media would
be. I am looking for something that is relatively easy to set up and
is also well maintained. Thanks in advance for any suggestions.

AJ


   
Anyone ever reply to this?  If you're using Gnome, then HAL + Gnome will 
take care of it.  I am using HAL + ivman in my servers.   It works well 
for fixing mount points.




Re: [gentoo-user] The future of Gentoo

2008-03-12 Thread Joshua Schmidlkofer

Alan McKinnon wrote:

On Wednesday 05 March 2008, Neil Bothwick wrote:
  

On Wed, 5 Mar 2008 21:08:02 +0200, Alan McKinnon wrote:


So please, think twice before hitting that reply button.
  

Whoops, too late :)



You have street cred. We'll forgive you. But only this time. 
Next time, we break your knees. Capiche?


:-)

  

Whose we, Gentoo is dying, right?


(Seriously, Just Kidding)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is Gentoo dying? was: packages.gentoo.org down?

2007-08-09 Thread Joshua Schmidlkofer
I have always used gentoo-portage.com


On 8/9/07, Daniel da Veiga [EMAIL PROTECTED] wrote:

 On 8/9/07, Joseph [EMAIL PROTECTED] wrote:
  On Tue, 2007-08-07 at 16:42 +0200, Christian Heim wrote:
   On Tuesday 07 August 2007 15:12:51 Alexander Skwar wrote:
Hi!
   
Is it just me, or is http://packages.gentoo.org/ not available?
   
Alexander Skwar
  
   It's being closed until further notice.
  
   Regards,
  
  Christian
 
  Is it another sing of Gentoo dying?
  First was weekly newsletter now official package database.
 
  Correct me anybody if I'm wrong but if it was just a temporary situation
  a simple explanation should be posted.
 
  The last time that web-page was updated was last Monday.
  Does emerge --sync pulls new/updated packages?
 

 First, let's not start this subject yet AGAIN.
 Gentoo is not dead, the Foundation is going trough some changes
 (that's all), the developers are active, the mirrors are being
 updated, and there's no reason whatsoever to think this distro is
 dead, nor inactive...

 Let's just find another way to draw attention to a post, OK.

 PS: Some people I know use gentoo and have no idea
 packages.gentoo.org even exist.

 --
 Daniel da Veiga
 Computer Operator - RS - Brazil
 -BEGIN GEEK CODE BLOCK-
 Version: 3.1
 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
 --END GEEK CODE BLOCK--
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] pants

2007-01-09 Thread Joshua Schmidlkofer

do other people use your server?  Is there any other clothing
references.  You can lookup Clothromancy in the Necronomicon.

On 1/9/07, Korthrun [EMAIL PROTECTED] wrote:

Does anyone have any clue what put:
PANTS=ON
into my environment?

google is failing me here =/

Thanks

--
()  The ASCII Ribbon Campaign - against HTML Email,
/\  vCards, and proprietary formats.
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Fix file system permissions

2007-01-04 Thread Joshua Schmidlkofer

Hey, a customer on a hosted server did this today:

sudo chown -R lighttpd /

--

You can imagine that things are a little borked.  How do you fix this
with Gentoo?


Sincerely,
 Joshua
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LDAP + Samba as PDC

2006-11-19 Thread Joshua Schmidlkofer

Sorry for taking this long, rough week. I didn't understand your
answer. The Linux box you're talking about is the Samba server?


Yes, the Samba server



What is Winbind? Or nss_ldap?



How did you setup a PDC without using either nss_ldap or winbind?

nss_ldap:
* requires modification to /etc/ldap.conf
* requires the nss_ldap package.
* requires modification of /etc/nsswitch.conf

winbind:
* requires the winbind flag for the samba ebuild
* requires modification of /etc/nsswitch.conf

getent passwd
* returns users
* returns workstations  servers also they will have a '$' at the end
of the username).

Normally this is completed via nss_ldap, but I have used winbind
before, for the sake of not depending on the bleeding sore that is
nss_ldap.  So, how is the local box finding the network users?   From
your config, it appears that you are using smb-ldap tools, but is that
the case?   If you cat /etc/passwd - do you see the users?

What does /etc/ldap.conf look like?

Sincerely,
 Joshua
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LDAP + Samba as PDC

2006-11-14 Thread Joshua Schmidlkofer

Hi Cameron,

thanks for the reply. Unfortunately, all the reg hacks I found
didn't work. If I find one that does, I'll post it here. :)

Regards,

Raphael



This sounds exactly like you do not have the nsswitch.conf environment
correct on your Linux box.   Are you using Winbind or nss_ldap?  Once
you verify that, does getent find the user/workstation?   Are you
using nscd?


Sincerely,
 Joshua
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-11-02 Thread Joshua Schmidlkofer

While this is true, it also may dramatically lower the mean time to
failure for your disk, due to increased ware and tear - consumer ATA
drives are designed to operate with the write cache on.

If you cannot afford to lose data due to poweroff corruption, then the
only viable solution is a RAID card that includes battery backup (e.g.
3Ware and Areca sell these).



Mark,

Thank you for clarifying.  My comments were obscure and poorly
worded.  You are correct.  If one requires supreme data-safety with an
ATA drive, one must do things that will ultimately be
counter-productive for the longevity of your disks.   Furthermore, (I
can fully attest) that they will be a significant hit on performance.

 If you need high safety, speed, and retention, then the 3ware +
Battery backup is a low-cast solution.  There are tons of higher cost
ones.   most of me servers run with battery-backed RAID cards.

 I also like to make scripts to remount the FSs with -o sync in the
case of power outage.  That way, just in case the UPS actually fails
early (which happens at times), I don't lose data.   I have had that
preference no matter what FS i use.

sincerely,
 Joshua
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-10-31 Thread Joshua Schmidlkofer

Daniels advice is actually the best that you can get.  It will give
you the smallest chance of corruption due out of order journal commits
that caching can cause.

js


On 10/31/06, Daniel Iliev [EMAIL PROTECTED] wrote:

Alan McKinnon wrote:
 On Tuesday 31 October 2006 11:04, Uwe Thiem wrote:

 On 31 October 2006 09:17, Alan McKinnon wrote:

 I find it useful to keep in mind that XFS is a file-system (i.e. a
 system for files), and not necessarily a severly disk-bound
 filesystem

 Would you mind to elaborate on this? I simply do not get your point.


 Historically SGI was very strong in graphics, and those applicatiosn
 tended to generate massive amounts of temporary files that had a short
 life and only the final version needs to be written to persistent
 storage, very well suited to aggressive caching and other similar
 speedups.

 SGI's engineers could get away with this because they could guarantee
 that power loss to the machine wouldn't happen, so the potential data
 loss on a power outage didn't happen either. This sounds a bit weird to
 those of us raised on Intel where we pay close attention to getting
 everything on disk ASAP with as little performance loss as possible,
 but it's a perfectly reasonable system for an engineer to implement on
 the kind of hardware SGI were building.

 That's why I say XFS is designed to not be tightly bound to the physical
 disk if the admin chooses to set it up that way, and the file system
 becomes more of a collection of directories and files that might never
 even be stored on a disk at all

 alan


..we pay close attention to getting everything on disk ASAP with as little 
performance loss as possible..

Then I would propose you to use hdparm -W0 /dev/(what-ever) to disable the 
write caching (no matter which FS you use). Nothing can give 100% guarantee against power 
failure.


--
Best regards,
Daniel


--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-10-30 Thread Joshua Schmidlkofer

On 10/30/06, Bryan Whitehead [EMAIL PROTECTED] wrote:

After sending this I realized that XFS doesn't support journal=data... I
thought journal=data was a general VFS part of the linux kernel... my
bad. :)

I guess you are just left with in kernel tuning (someone previously
posted a link to).



Well, even then you aren't guaranteeing no data loss.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-10-29 Thread Joshua Schmidlkofer

Dude - I use xfs w/o a UPS for desktops and laptops.  I use it on
servers with RAID and with UPS protection.  I also keep good backups
for the servers.   I have been using XFS since _just_ _after_ it came
to Linux.  I have used XFS on several hundred systems (which I have
been responsible for).   I have, to date, lost two filesystems.

a. 2000 - I lost a filesystem when I was running a CVS kernel.
*hhahaha* yeah, it was ugly, during the 2.4 kernel of pain days.

b. 2006 - hardware slowly corrupted an FS.  Some files wouldn't read,
and we had wierd problems, (but good backups).  After firmware updates
problems got stranger, and xfs_repair finished the job.   I blame the
hardware.

I have read the list, and seen the problems.  I don' t know what I do
that makes XFS succeed, but It really does work well.  The first
filesystem I ever tried with JFS failed.   I had weird errors, and
strange messages.   I tried the repair tools, but they crashed.  Then,
I posted to the LKML.  No one replied, or was interested.  I left JFS,
and returned to XFS.

I have run into a few strange bugs with XFS, but in every case I found
the mailing list and IRC very responsive and I was able to return the
servers to operation.   Twice those have been caused by either 2.4 or
XFS.   Once or twice it was several compound power outages.

What really kills XFS is _NOT_ power outages - it is out-of-order
commits.  When the drives re-order the commits, it really can f-up the
drive.  The data portion of the disk is updated and the journal isn't.
Then, if you have a crash, you are in some pretty sh*t. That's why
write barriers are so important.

Use what you want, but don't misunderstand XFS - as many people here
clearly do.  It's a good FS, but it is sensitive to hardware problems.
By problems I mean: dying disks (which will kill anyone), faulty
commit order for data vs. journal (which probably affects all of the
journaling FSs as well), silent corruption, faulty RAM, and last but
not least DMA problems.

If you have a drive that commits out of order, and you are prone to
power problems: USE EXT2 - it is , bar none, the SAFEST filesystem in
that case.   I do use it on a couple systems with those exact
problems. (And a couple of low-memory systems, journalling sucks up
resources).  I have not lost an ext2 fs yet in either of those cases.
Sure, the systems occasionally experience some meessed up files, but
never the whole FS, and replacing a library or binary is /not/ /that/
/tough/.

Good Luck,
 Joshua
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-10-29 Thread Joshua Schmidlkofer

On 10/29/06, Hemmann, Volker Armin [EMAIL PROTECTED] wrote:

On Sunday 29 October 2006 16:56, Joshua Schmidlkofer wrote:
 On 10/28/06, Mark Kirkwood [EMAIL PROTECTED] wrote:
  Hemmann, Volker Armin wrote:
   On Saturday 28 October 2006 13:31, Mark Kirkwood wrote:
   I'd recommend changing to ext3 or xfs, as I've found both to be solid
   (I prefer xfs but that just my personal opinion).
  
   if you use XFS don't use 2.6.17 kernels.
   ...

  2.6.17.8 and up work fine.

and up to 2.6.17.5 it eats your data...


That's not true.  Up to 2.6.17.5 it /may/ eat your data.  I ran
2.6.17, in the buggy state, for 2 weeks before I upgraded.  It did
_not_ eat my data.   Don't get me wrong - it was lucky, and yes - it's
a heinous bug.  If it just _ate_ your data, more people would have
lost data and or filesystems.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-10-29 Thread Joshua Schmidlkofer

Yeah, I will try JFS again some day.  Not today, but  someday.   XFS
slow deletion is my personal pet peeve.   I have been using XFS for so
long, so successfully, that I am hesitant to change.  Plus, I have a
large number of existing installs.

Last year, I setup a JFS system on a dual-opteron.  I have no idea
what went wrong, but binaries wouldn't load, shit would crash, sig 11,
etc, etc, etc.   Finally, with now clue what was up, I reinstalled
using XFS.   There are a number of significant differences.   I am not
/blaming/ JFS, all I can say, it yet another JFS attempt went bad for
me.

So, XFS works, and I keep using it.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cyrus-sasl error.

2006-10-25 Thread Joshua Schmidlkofer

Yeah, the updates work.  If you're really lazy, I have stuck this in
my overlay since I had to do it on multiple systems:

https://embassy.asylumware.com/projects/portage

sincerely,
 joshua



On 10/25/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:

Please, for those one that has this same problem go to:

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

Leandro.

2006/10/25, Jamie [EMAIL PROTECTED]:
 Best guess it that one of the files is currupted or has an update. Try and
 emerge --sync then try again.

  Hi,
 
I'm trying to update openldap and one of package dependency is
  cyrus-sasl,
  but when emerge compile cyrus-sasl package, it shows the following
  message:
 
  # emerge cyrus-sasl
  Calculating dependencies... done!
 
  Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.22 to /
   * cyrus-sasl-2.1.22.tar.gz MD5 ;-)
  ...
  ...
  ...
  ...
  x86_64-pc-linux-gnu-gcc -shared  .libs/sasldb.o .libs/sasldb_init.o
  .libs/plugin_common.o -Wl,--whole-archive ../sasldb/.libs/libsasldb.a
  -Wl,--no-whole-archive  /usr/lib64/libdb-4.2.so -lresolv  -march=athlon64
  -Wl,-soname -Wl,libsasldb.so.2 -o .libs/libsasldb.so.2.0.22
  
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
  ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S against
  `a
  local symbol' can not be used when making a shared object; recompile with
  -fPIC
  ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
  collect2: ld returned 1 exit status
  make[2]: *** [libsasldb.la] Error 1
  make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-
  sasl-2.1.22/plugins'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-
  sasl-2.1.22'
  make: *** [all] Error 2
 
  !!! ERROR: dev-libs/cyrus-sasl-2.1.22 failed.
  Call stack:
ebuild.sh, line 1546:   Called dyn_compile
ebuild.sh, line 937:   Called src_compile
cyrus-sasl-2.1.22.ebuild, line 166:   Called die
 
 
  Any clue/suggestion will be greatfully accepted. Thank you.
 
  Leandro
 


 --
 gentoo-user@gentoo.org mailing list

--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMTP Authentication

2006-10-18 Thread Joshua Schmidlkofer

What does SMTP auth have to do with dovecot or courier imap?  What
authentication packages are you using?

I see one qmail - why qmail?   I have tremendous success with postfix,
and it's a little more modern, with less patches.

I don't know much about dovecot, but Courier is a kmore familiar
matter to me.  I used it until I figured out how to use Cyrus.  Cyrus
is a vast improvement over Courier, IMNSHO.  My buddy says that
dovecot is superior to both.  Whatever.

So, what is the underlying authentication datastore?

On 10/18/06, Me Myself [EMAIL PROTECTED] wrote:

On Tue, October 17, 2006 09:42, Tito Valentin wrote:
Hello list:

I have been trying to get SMTP authentication on Gentoo to work with no
success.  I am running qmail (netqmail package) with dovecot and saslauth.
  I am able to connect and read my mail through IMAP fine.  The problem is
that I cannot send email using my own SMTP server due to an authentication
issue.  Every time we try to send email out we get an error saying that it
cannot establish a connection because I am not part of the allowed rcphost
list.  I tried adding the remote host in the rcpthosts database but the
problem persists.  The only error I see in the log files for dovecot is
Disconnected

Can anyone point me in the right direction as to why I can't be
authenticated when sending email out?  Another thing is, it keeps
prompting me for my passwd.

GV

--
gentoo-user@gentoo.org mailing list


List:

Ha, I am having the same problem as Tito Valentin.  Is anyone out there
able to shed some light on this problem?  I opted for the use of
SquirrelMail in the mean time but it would be nice to be able to use
Thunderbird or Outlook.

Thanks,

/
Ronald Vincent Vazquez


now, this seems very different.  Above is SMTP auth - yours seems to
be IMAP or POP auth problems. Which is it?  Is it just that you cannot
send mail?  or you can't get it either?



Hello everyone:

Please add me to the list of folks who are unable to authenticate smtp.  I
am also having this smtp authentication problem though I am using Courier
(IMAP) and not dovecot.  It is driving me crazy.  What I have done in order
to be able to send mail is to use my ISP's smtp server but I see how some
folks wouldn't want their ISP's servers to be present in their email
headers.



Are you using qmail as well?  If so, why qmail?  SASL is a bitch at
first, it always is.  It usually pays to return to the configuration
with a fine tooth comb, a fresh mind and lots of patience.  I ahve
configured many SASL based services, and I usually use Kerberos
(GSSAPI) as well, so it's non-trivial.

Please post a little more info about each of your specific
configurations, because there isn't enough info here to shake a stick
at.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java Config Problems.

2006-10-10 Thread Joshua Schmidlkofer


 It seems to be installing everything under /var/tmp/
[SNIP]

Wow! Fortunately your bug report [1] contains more info:

 !!! SELinux module not found. Please verify that it was installed.

I don't really know anything about SELinux but I did find [2]... If you haven't
read the SELinux handbook maybe you should.

[1] http://bugs.gentoo.org/show_bug.cgi?id=150690
[2] 
http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?part=3chap=3#doc_chap4

--
Bo Andresen


Bo,

I will take care of that, that is actually happening because I am
booted with the selinux disabled flag set to 1.  That message occurs
when the selinux stuff is not present in the running kernel.   AFAIK
it is cosmetic.  However, since I am not going to implement SELinux on
that box, I am removing that stuff.

 The only other thing that could be happening is some sort of problem
with setuptools.  Not certain what though.   Thanks for taking the
time to respond.


Sincerely,
 Joshua
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Java Config Problems.

2006-10-09 Thread Joshua Schmidlkofer

Java Config is screwing up.  (The gentoo java changes have been a long
haul of sucky experiance.)  I have severeal systems that now work, and
one that doesn't which i will speak of.   I have others, but likely
they all have the same problems:

java-config-2 doesn't exist.
java-config-1 reports:
hosting java_config # java-config-1
Traceback (most recent call last):
 File /usr/bin/java-config-1, line 14, in ?
   from java_config import jc_options
ImportError: No module named java_config

oops. =)  Can someone help me?

I have un/re merged everything that I can think of.  Help?

It seems to be installing everything under /var/tmp/


 /var/db/pkg/dev-java/java-config-1.3.7/CONTENTS ===
hosting java_config # cat /var/db/pkg/dev-java/java-config-1.3.7/CONTENTS
dir /usr
dir /usr/lib
dir /usr/lib/python2.4
dir /usr/lib/python2.4/site-packages
[snip]
dir 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/__init__.py
d6a785e6cb18346d9990dc6162484aee 1160436992
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/cfg_parse.py
e1f662293df29a718fcfaaa8595059f2 1160436992
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/jc_envgen.py
8763d26e9416840e597189065a019090 1160436992
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/jc_exceptions.py
8208380b077dbf4c230890f94ff81643 1160436992
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/jc_iface.py
1903388af549ecccb2eac4014acec4a6 1160436992
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/jc_options.py
649b5d15f3d805b008f0a461e08b08c2 1160436992
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/jc_output.py
32e4e06e4f504baa0741052afa29d4c6 1160436992
obj 
/var/tmp/portage/java-config-1.3.7/homedir/lib/python2.4/site-packages/java_config/jc_util.py
2cb56c8b4ab53c0e395d6c0b4051d3ef 1160436992

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



Re: [gentoo-user] XFS FileSystem - Slow Writes - GNOME/nautilus Issue?

2006-08-30 Thread Joshua Schmidlkofer

On 8/29/06, Ow Mun Heng [EMAIL PROTECTED] wrote:

On Tue, 2006-08-29 at 18:35 -0700, Richard Fish wrote:
 On 8/29/06, Ow Mun Heng [EMAIL PROTECTED] wrote:
  $ mount  | grep xfs
  /dev/hda6 on /home type xfs (rw)

 Hmm, I missed this before.  nobarrier should be showing up here.  Try:

 mount /home -o remount,nobarrier


I did mention that I tried that as well. (but I just re-tried it anyway)
and it didn't have any changes.


I don't think it's a good idea.  Do you know what the write barriers
provide?   They give you a much higher chance of no damage if you are
able ot run with barriers.  The only real danger to an XFS partition
is out-of-order commits (and of course massive hardware failure).
Write barriers prevent out-of-order journal vs. FS commits, and that
is a Good Thing(tm).


They are only in as of 2.6.17 for XFS.



Out of curiousity, I just tried to copy a file using an xterm (instead
of using nautilus) from DIsk 2 to disk1

disk2/partition2 - VFAT
disk1/partition6 - XFS partition (/home)


$ ls -lah WinXP-01-cl1-01-cl1-01-s002.vmdk
-rwxrwxrwx  1 root root 620M Aug 29 19:10
WinXP-01-cl1-01-cl1-01-s002.vmdk

$ time cp WinXP-01-cl1-01-cl1-01-s001.vmdk ~/Desktop/
real0m37.353s
user0m0.157s
sys 0m5.445s


Transfer rate ~16.8MB/s


I read an article recently (2 years ago , heh)  about how Nautilus,
mc, Cp and other OSS copy utilities suffer from a lack of real
intuitive optimization work.  They highlighted the GNU cp command.
Overall copying with Linux tends to be lack luster.  It's services we
do well.  i.e. Http, SQL, etc.  So, that begs the question: Are there
any good, well optimized file copy utilities for Linux?



Using Nautilus (I don't know of a good way to measure throughput using
this, so it's basically what I see in the progress bar
~5min
gkrellm2 notes transfer rate ~2.0MB/s


However, doing the same thing to my /tmp directory (ext3 partition) the
same file copies in ~30secs and w/ ~17MB/s transfer rate.

What gives??


BTW, what's the difference between mc and mc-mp??

*  app-misc/mc
  Latest version available: 4.6.1
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 11,606 kB
  Homepage:http://www.ibiblio.org/mc/
  Description: GNU Midnight Commander cli-based file manager
  License: GPL-2

*  app-misc/mc-mp [ Masked ]
  Latest version available: 4.1.40_pre9
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 2,904 kB
  Homepage:http://mc.linuxinside.com/cgi-bin/dir.cgi
  Description: GNU Midnight Commander cli-based file manager. 4.1.x
branch
  License: GPL-2



From the URL:

The goal of this project is creating a stable, well-working, usefull
console-only version of well-known Midnight Commander, without bugs
and garbage, like tk, xv and gnome. I'm bored waiting for bugfixes,
and A'rpi's ESP team stops their work in this direction too, so I did
it. I'm fixing all (found) bugs, reported by my friends, and made some
really pleasent new features, like real-time clock, or filegroups
colorizing.

Basically, this guy is sane, (thank God), and doing what MC really
needs: SIMPLICITY.  I have never bitched at the mc guys, but when I
get to my desk, I am converting to mc-mp.  Cause MC sucks recently.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ethernet link speed

2006-06-06 Thread Joshua Schmidlkofer

Ghaith,

 I think that you shouldn't do this this way, but so be it.  It's
generally spekaing to 'force' a specific setting.  In most cards and
switches this disables all negotiation, and can lead to all sorts of
strange problems.  Especially regard duplex issues.


put this in /etc/conf.d/net

pre(){
   if [ ${IFACE} == eth0 ]; then
  mii-tool -F 10baseT-FD eth0
   fi
   sleep .3
}

That ought to work.  If that doesn't work, then emerge sync and update
baselayout.


thanks,
 Joshua



On 6/5/06, Ghaith Hachem [EMAIL PROTECTED] wrote:

well actually it can function on 100 mbps but it would be extremly slow for
some reason (really long cable) so the isp just told me to keep the link at
10 mbps.


On 6/6/06, Joshua Schmidlkofer [EMAIL PROTECTED] wrote:
 Why isn't it auto-detecting the link speed?





--

Ghaith Hachem
TristMoon Staff
TristMoon.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ethernet link speed

2006-06-06 Thread Joshua Schmidlkofer

On 6/6/06, Joshua Schmidlkofer [EMAIL PROTECTED] wrote:

Ghaith,

  I think that you shouldn't do this this way, but so be it.  It's
generally spekaing to 'force' a specific setting.  In most cards and
switches this disables all negotiation, and can lead to all sorts of
strange problems.  Especially regard duplex issues.


Wow, a little latency when typing goes a long way.  Please let me clarify that.

Generally speaking it's a bad thing to force a specific setting on
hubs, switches, and NICs.  In most cases this can lead to all sorts of
strange problems.  Especially regard duplex issues.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cleaning up portage

2006-04-12 Thread Joshua Schmidlkofer
emerge sync cleans up after itself.  Rather, rsync takes care of that,
so do not expect to gain too much.

Cleanup of kernels is good, if they are portage managed than you can
do something akin to this:

emerge -c =gentoo-sources-version-revision

e.g.

To remove all of these kernels

 linux-2.6.14-r1
 linux-2.6.14-r2
 linux-2.6.14-r4
 linux-2.6.14-r7
 linux-2.6.12-r1
 linux-2.6.13-r1

emerge -c ~sys-kernel/gentoo-sources-2.6.14 \sys-kernel/gentoo-sources-2.6.14


Exciting.

thanks,
  joshua

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: reiserfs-ext3

2006-04-12 Thread Joshua Schmidlkofer
I do something like this:

for x in /*; do
   if [ ${x} != /usr ]; then
tar zcf ${x}.tar ${x}
   fi
   done

for x in /usr/*; do
   tar zcf /usr_`basename ${x}`.tar ${x}
done

Then you save those files to another medium [i.e. cd, or another host
or hard drive or something]

format your root fs with the new fs, and copy those files back and untar.

Livecd:
mkfs.ext3 /dev/node
mount /dev/node /mnt/gentoo
cd /mnt/gentoo
[copy files here...]
for x in *.tar.gz; do
tar zxf ${x}
done

That's pretty much it.
On 4/12/06, Hemmann, Volker Armin [EMAIL PROTECTED] wrote:
 On Wednesday 12 April 2006 05:12, Sven Köhler wrote:
   Do you know tools, that can convert reiserfs to ext3 or the other way
   round? I have forgotten the name of the tool that i once read about :-(
  
   http://tzukanov.narod.ru/convertfs/
   And i'm running it right now ... oh oh ...
 
  Yes! my Gentoo had just gone to hell!
  Don't use convertfs ;-)

 # Tom Payne [EMAIL PROTECTED] (15 Jan 2006)
 # sys-fs/convertfs is broken. Masked pending likely removal. Bug # 107635.
 sys-fs/convertfs

 one look into package.mask could have told you that.

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tunning use flag

2006-04-12 Thread Joshua Schmidlkofer
gtk != gnome.  Gnome uses GTK, but so does XFCE, Gimp, Ethereal, etc. 
So, you may not want -gtk and -gtk+ in your main packages.  That said
Gogiel is absolutley correct.

js


On 4/12/06, Gogiel [EMAIL PROTECTED] wrote:
 Pawel K wrote:
  Hello
 
  I'm not sure whether I understand the USE flag
  properly.
 
  I'm using fluxbox as X window manager. I'm not using
  kde and gnome and I'm not interested in those
  packages.
 
  Can I remove support for them in my /etc/make.conf by
  specifying:
  USE=-kde -gnome -qt -gtk -gtk+
 
  Will ethereal work after that changes. It listens to
  gtk flag. Will it be compiled with gtk support ins
  spite of my -gtk specification.
 
  Thank You for help
 
 After that you will be able to use only tethereal.
 If you want to use gtk ethereal
 # echo net-analyzer/ethereal gtk  /etc/portage/package.use

 --
 Jabber: [EMAIL PROTECTED]
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mirror email servers

2006-04-12 Thread Joshua Schmidlkofer
 That's close to what I use. However, MX entries alone aren't the
 solution. You also have to configure the mail servers to forward the
 mail on to the final destination once it comes back online. I'm not sure
 how to do that myself, and don't really have to time to put much effort
 into it since my mail server is only for small scale personal use. I
 just use dyndns.org's Backup MX service:
 http://www.dyndns.com/services/mailhop/backupmx.html. Even if that isn't
 a solution for you, it's at least a place to start looking.


Patrick is correct here, if you can, use a third-party service.  They
will always (sometimes?) have higher maintenance standards than stuff
that you do.

However, this is _very_ simple with postfix.

MX for mydomain.com
mydomain.com mail is handled by 10 server1.mydomain.com.
mydomain.com mail is handled by 20 server2.mydomain.com.


mail server 1:
  Accepts mail for mydomain.com

mail server 2:
  Postfix, with
relay_domains = mydomain.com
mydestination  = server2.mydomain.com
maximal_queue_lifetime = 30d
bounce_queue_lifetime= 1d

 - Maximal queue lifetime affects how long it reties delivery.
  - Bounce queue lifetime will help alleviate problems with spammers
overflowing the bounce queue.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bastard.sh - mass unmasker/keywords utility

2006-03-22 Thread Joshua Schmidlkofer
On 3/22/06, Bo Andresen [EMAIL PROTECTED] wrote:
 On Tuesday 21 March 2006 17:20, Joshua Schmidlkofer wrote:
  Yeah, so? *crickets*  Thanks, the d.g.o. was pretty clear, but I can
  imagine that confusing people, the referenced document was next to
  useless, did you read it?

 Well, I did have a look at it and obviously it is intended for developers
 only. What I wanted people to read before installing Gnome 2.14* is this:

 On Tuesday 21 March 2006 15:39, Bo Andresen wrote:
   # emerge -vp =gnome-2.14*
 [...]
  #Don't unmask these and don't file bugs for them
 [...]

 But maybe that's just me... ;)


heh, you specifically referenced the website, so I assumed the message
on it said something to you that I missed.   Be that as it may, I
still say, Yeah, so?

I also remain unclear as to what your concern is.  The purpose of this
is to allow you to mass-unmask files.  The purpose.  If you are
worried about it, then you may want to read each one, etc.  That said,
I don't know of another utility to do anything similar.

However, I have amended my web todo list with your concerns.

Thanks,
 Joshua

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] bastard.sh - mass unmasker/keywords utility

2006-03-21 Thread Joshua Schmidlkofer
Dear Fellow Users,

I don't know if someones already done this, however, I really, really,
painfully want Gnome 2.14, and I hate the unmasking crap.  So I hacked
up this script, and I thought of all the other ricers out there who
desperately want it.

So, WFM [works for me], hope it's useful to others.


Sincerely,
  Joshua


bastard.sh
Description: Bourne shell script


[gentoo-user] bastard.sh - mass unmasker/keywords utility

2006-03-21 Thread Joshua Schmidlkofer
Dear Fellow Users,

I don't know if someones already done this, however, I really, really,
painfully want Gnome 2.14, and I hate the unmasking crap.  So I hacked
up this script, and I thought of all the other ricers out there who
desperately want it.

So, WFM [works for me], hope it's useful to others.

In any case, this is a resend of the script, since I got some
ambiguous 'blocked message' errors, I put it up on my website, and
left it for all:

Secure: https://embassy.asylumware.com/projects/asylumware/wiki/bastard
Plain: http://embassy.asylumware.com/projects/asylumware/wiki/bastard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bastard.sh - mass unmasker/keywords utility

2006-03-21 Thread Joshua Schmidlkofer
  # emerge -vp =gnome-2.14*

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

 Calculating dependencies
 !!! All ebuilds that could satisfy =gnome-2.14* have been masked.
 !!! One of the following masked packages is required to complete your request:
 - gnome-base/gnome-2.14.0 (masked by: package.mask, ~x86 keyword)
 # John N. Laliberte [EMAIL PROTECTED] (12 Mar 2006)
 # GNOME 2.14 mask. You must follow instructions here:
 # http://d.g.o/~allanonjl/gnome/2.13/adding.from.overlay.txt
 # for adding files from our overlay.
 #Most of these packages will break/not compile because of eclass
 #changes that won't be made until every package is in the tree.
 #Don't unmask these and don't file bugs for them
 # Start GNOME 2.14 mask

 Did you the read comments here (d.g.o refers to dev.gentoo.org in case anyone
 is wondering)? I most certainly wouldn't go ahead and unmask any package with
 that kind of explanation why it was masked in the first place. What bothers
 me about this, however, is not the fact that you did unmask it but rather the
 fact the you leave a script here which is supposed to be able to unmask and
 unkeyword any package without giving any kind of warnings about this.

Yeah, so? *crickets*  Thanks, the d.g.o. was pretty clear, but I can
imagine that confusing people, the referenced document was next to
useless, did you read it?

 IMHO any script that is made public and which does what your script is doing
 should print out the reason why each package it unmasks was originally masked
 and perhaps even ask for confirmation.

I'm not a baby sitter, and we are using Linux.  However, due to your
concerns I will put in a warning, and add that as a TODO on my page. 
Furthermore, I have no idea what concerns you really have here. 
Nothing will format thier FS, it may Break Their Gentoo(tm).  I can
imagine all sort of evil here.  However, since I am only marginally
assist them, if they do something stupid, it's their own fault.

 Also I think it is a bit amusing that running your script without any
 arguments tells me that I should include the versioned name of any package
 that I want unmasked/unkeyworded. And then giving any kind of argument(s)
 makes it unmask/unkeyword gnome-2.14*. Without checking the argument(s) that
 I gave. I know.. it's just a minor bug. I also think (without knowing it)
 that it will in fact work for most packages when that minor bug is
 corrected. ;)

heh, thanks, It was very late last night, and I uploaded the wrong
version of the script, however, apart from the bugfix I added a
warning to keep people happy.

 It does, however, work for gnome-2.14.0 and it does add a LOT of lines to
 package.keyword and package.mask. E.g. media-libs/gst-plugins-base adds five
 lines to package.keyword i.e. version 0.10.0 to 0.10.4 on a line each. I
 don't think the results will ever differ on the first two version numbers so
 I think the optimal solution for this would be to just add version 0.10*. I'm
 not sure that it will never differ though.

Actually, that was one of my TODO items.  I think that there should be
two options, -L for latest and the default behaviour of more
conservative to pick the earliest package and install that.  Can you
submit a patch?

 Just for the record I am not trying to offend you here. This is supposed to be
 constructive critisism. ;)

Oh, I am not to worried about what other people think, and I never
pictured a warning being needed.  SO, hey, it was probably good for
someone.


Sorry for typos - babies are screaming =).

Sincerley,
   Joshua

-- 
gentoo-user@gentoo.org mailing list



Re: Completely and totally OT - Re: [gentoo-user] Have you seen my flamesuit? (Was: How many people use KDE?)

2006-01-27 Thread Joshua Schmidlkofer
For now that will not affect any user, only the manufacturer.  And
yes, they could put ext2 on a digital camera.  Maybe this patent will
prompt them to do just that.

sincerely,
  Joshua

On 1/26/06, b.n. [EMAIL PROTECTED] wrote:
 Joshua Schmidlkofer wrote:
  Yeah, use ext2 for all of that:
 
  http://ext2fsd.sourceforge.net/projects/projects.htm
  http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
  http://www.fs-driver.org/
 
  All of those are supposed to worik, and I am trying them out now.

 Ok, but what do we do with digital cameras? Do you know how to put an
 ext2 driver on a digital camera? :(

 m.

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: Completely and totally OT - Re: [gentoo-user] Have you seen my flamesuit? (Was: How many people use KDE?)

2006-01-26 Thread Joshua Schmidlkofer
Yeah, use ext2 for all of that:

http://ext2fsd.sourceforge.net/projects/projects.htm
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
http://www.fs-driver.org/

All of those are supposed to worik, and I am trying them out now.

good luck,
  joshua


On 1/23/06, Antoine [EMAIL PROTECTED] wrote:

  Personally I use ext3 for everything except windows partitions. I have 3
  NTFS-partitions, and one FAT32 partition. The freeware read/write
  ext2-driver for Windows doesn't work with Windows 2003, so I have to use
  FAT32. Especially because captive-ntfs aren't working for me.

 Seeing as we are all talking nonsense anyway - does anyone have an
 opinion on the fact that m$ just got a fat patent validated by a US court?
 Chrs
 A
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] doom3

2006-01-23 Thread Joshua Schmidlkofer
I only ever got the invalid key when I was using a key from the internet which I had acquired. Down-grade to the previous doom release - it works without the key.jsOn 1/23/06, 
Heinz Sporn [EMAIL PROTECTED] wrote:
Am Montag, den 23.01.2006, 11:14 -0200 schrieb Cláudio Henrique: hi, there, yersterday I installed doom3 on my gentoo. the installation was ok. however, when I enter the CD key it tells me it is invalid. how come?
 have anyone been throught it?I played the entire game under Gentoo. No problem whatsoever. []'s claudio.--gentoo-user@gentoo.org
 mailing list


Re: Completely and totally OT - Re: [gentoo-user] Have you seen my flamesuit? (Was: How many people use KDE?)

2006-01-21 Thread Joshua Schmidlkofer
On 1/21/06, b.n. [EMAIL PROTECTED] wrote:
Michael Sullivan wrote: I still use ext3 for / and ext2 for /boot.I get confused about all the others.I have ext2 for /boot and reiserfs for everything else. But reiserfsfragmentation is going to make me pretty angry...
m.XFS is the best. It is supported, it is reasonably fast, it has a
defragmenter, it has repair tools that are not only supported, but
known to work It has ways to optimize for extremely large
filesystems, and, though it won't win speed records in some areas, it
holds it's own. 

I have been using it since 2000. I even use it for boot, but there is no reason for that. This year I began running most of my fs's in sync mode, except for highly active data shares. This has actually had very little impact at all. When I run upgrades, I remount async, but I have found that sync mode does not cause horrible slowness, and frankly kicks ass. I even run my desktops in sync mode. 
I have used ext2 tons, ext3 enough to dislike it, reiserfs and jfs. I have tested most all of them on production servers. Last year we re building a new database server with JFS. It is a dual opteron, and at length we ran into a few problems where we got no real errors, but JFS would spit out something random and remount the fs readonly. Memtest, this that the other - none of it worked. We ended up using XFS.
So, since we are on the topic of flame wars... and there is this random FS post, theres my two cents.Thanks, Joshua


Re: [gentoo-user] A New Linux Way

2006-01-16 Thread Joshua Schmidlkofer
On 1/11/06, Eric Bliss [EMAIL PROTECTED] wrote:
On Wednesday 11 January 2006 03:06 pm, Iain Buchanan wrote:   I think once we've got to the stage of UK (and AU) vs US spelling, I can   invoke Godwin's Law[1] hereby ending the discussion completely and
   immediately ;) [1] http://en.wikipedia.org/wiki/Godwin's_law  I took the spelling of words as being a good enough reason to invoke
 Godwin's Law, and hence posted it after the comparison occurred.I did not, in fact, raise the comparison of iou to ou just to raise Godwin's Law, and therefore my invocation should not be unsuccessful.
Except Godwin's Law needs references to either Hitler or the Nazis in generalto be invoked, and neither of those topics have been covered yet in thisthread, you jack-booted, goose-stepping SS thug!!!:-)
There.NOW you can invoke Godwin's Law.Although, to actually give this postSOME relevance to the original thread, will using Saviour Linux on yourcomputer assure it of going to Electronic Heaven when it finally dies???
0:-)--Eric Blisssystems design and integration,CreativeCow.Net--gentoo-user@gentoo.org mailing list*sigh* We clearly need to fix Wikipedia - you cannot 'invoke' Godwins law. It's more of an observation. Godwins law is like a 'law' of physics. When two planets crash into each other no one 'invokes' the law. It's two natural forces, beyond the control of any one person interacting. He was merely noting the nature of the universe, not creating a new piece of Intar-web legislation.
So, apart from me pretending to be bent out of shape, that is all true. Thus, ´invoking' Godwins law is like saying, 'Ahh, the water is 100C, I invoke boiling!'. Saying something had no perceivable effect on the situation.
=)heh, Joshua


Re: [gentoo-user] How to do account management across multiple Unix boxes?

2006-01-11 Thread Joshua Schmidlkofer
IMNSHO NIS is a big fat waste. I would strongly recommend against. it. =) It does simplify a number of things, and I honestly have never actually tried to make the LDAP integration work on BSD.Kerberos is not an account management tool - it is authentication management, I use it all the time, and even in small networks I prefer it to the 'straight' alternatives. OpenLDAP + Kerberos is pretty hot. I use this for my work network especially, and on my home network I use local accounts + kerberos. 
Gentoo has an LDAP howto here: http://www.gentoo.org/doc/en/ldap-howto.xmlI have a really horrible kerberos howto, but it may become less horrible in time: 
http://lateralis.imr-net.com/wiki/jms/KerberosFinally, most of where I started with all of this is here:
http://www.ofb.net/~jheiss/krbldap/


Re: [gentoo-user] ext3: 10% non-contiguous

2005-10-31 Thread Joshua Schmidlkofer
On 10/31/05, Dale [EMAIL PROTECTED] wrote:
Rafael Fernández López wrote:Hi,Well, I'd like to recover those holes (that 10% of the disk) and how todo it, because I've tried with e2fsck with different options and readman e2fsck with no possitive results.
Thanks,Rafael Fernández López.There was a guru on the forums that explained to me that it does notmean the files are fragmented or lost.If you want, I'll try to find
the thread and post a link.It made a lot of sense after I read it.Basically, you haven't lost anything so there is nothing to gain.I can't remember for sure but I think it was on the LQ forums.I think
I can find it but it may take a bit of looking.It was a while ago.

For a more sustainable situation, switch to XFS [It involved a
backup/format/restore by whatever means you want] In any case,
xfs has a tool called 'xfs_fsr' Which means 'file system
reorganizer'. It does defragmentation, and balances some other
stuff too. I run it weekly on my production servers, and
nightly on mostof my workstations.

js




Re: [gentoo-user] Weird pauses making me nuts

2005-10-31 Thread Joshua Schmidlkofer
I have not read every single post in it's entierty. I have seen
this lots with Firefox - especiall with flash. It tends to
actually be that the system is swapping out. 

What filesyetem are you using?

js

On 10/31/05, Iain Buchanan [EMAIL PROTECTED] wrote:
Hi, sorry about the late reply, but I didn't see the OPHolly Bostick wrote: Sorry that this will not be an extremely clear question, but I really have no idea where to start, or what the problem is.
that will just bring you in line with some of my questions :) Basically, my system is running fine (no overt problems), but about every 30 seconds or so, it 'pauses' to do something, and I have to wait
 for 5-10 seconds while it does it before I can go further. Or the display pauses, and I have to wait for the redraw , I can't tell which.A friend had a problem similar to this, it turned out to be acpi (or
apm?) and his gnome battery applet.Every time the battery appletpolled for battery level, the system froze for 1-2 seconds.So, you could try running a fail safe X session (no extras) and see ifit still happens.If so, try something from the command line (no X) and
see if it still happens...HTH,--Iain Buchanan [EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: iptables on gentoo

2005-10-31 Thread Joshua Schmidlkofer
James, 

 Why are you using IPtables directly? It's good for
an exercise, but roll-your-own firewall is not really as cool as it
seems. Have you looked at Shorewall [net-firewall/shorewall].

http://www.shorewall.net

thanks,
 joshua
On 10/28/05, James [EMAIL PROTECTED] wrote:
A. Khattri ajai at bway.net writes:  /etc/init.d/firewallis the default file where where you put your rules you  have written or grabbed elsewhere and modified to meet your specific needs.
 Not sure where this script came from - it doesn't come with iptables.You are right, as it seems a very common name used for the rules scripts.Maybe it's a ipchain vestige. I'll just ignore this...
 Not much to it. Make your rules and use /etc/init.d/iptables save to save 'em. When you restart iptables it will automatically load them from /var/lib/iptables/rules-save if it finds that file.
OK If you need any help, post on this list.OK thanks for the clarifications...James--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-31 Thread Joshua Schmidlkofer
BTW: 99% of the time, this has nothing to do with devfs, udev, or the
kernel. When it says 'module failed to load' it's because the x
is missing the driver file.

i.e.

/usr/lib/modules/drivers/nvidia_drv.so
/usr/lib/modules/drivers/nvidia_drv.o
On 10/30/05, renna bud [EMAIL PROTECTED] wrote:
On Thursday 27 October 2005 22:12, Qian Qiao wrote: On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:  -Original Message-  From: Qian Qiao [mailto:
[EMAIL PROTECTED]]  Sent: Thursday, October 27, 2005 2:20 PM  To: gentoo-user@lists.gentoo.org  Subject: Re: [gentoo-user] failed to load nvidia kernel module
I doubt it's kernel related, I'm on a amd64 with 2.6.13-r3 here. And  nvidia-kernel 6626-r4 runs fine.Seems it is: 
  Thread from another user who experienced the problem:   http://www.usenetlinux.com/archive/topic.php/t-495527.html
   The bug on it posted in Gentoo bugzilla:   http://bugs.gentoo.org/show_bug.cgi?id=104369   Regards,
  Bob Young Indeed, the comments in the bug report from b.g.o could've explained it. I had RC_DEVICE_TARBALL=yes. And from the comments, a few ways to possibly fix the problem:
 a) set RC_DEVICE_TARBALL=yes, then run /sbin/NVmakedevices.sh once. or b) add code if [ ! -e /dev/nvidia0 ]; then /sbin/NVmakedevices.sh fi /code
 to your /etc/conf.d/local.start -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. Money can't buy everything.
 Sometimes money can't even buy a gun...yes this was the very problem with me too. trying other versions of the driverdidn't work, but running /sbin/NVmakedevices.sh solved the problem, andhaving added
 if [ ! -e /dev/nvidia0 ]; then/sbin/NVmakedevices.shfito my local.start now all is working fine.--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mii-tool on Dell 2850 with 10/100/1000 ports

2005-10-26 Thread Joshua Schmidlkofer
Frank,

 You are not supposed to statically configure hubs and switches.
I don't know what the problem is - however, please be sure that the
hub/switch is set to auto-sense. If you cannot get a connection
established that way, please try the cable etc. I would
also recommend following the other suggestion of emerging the later
tools.

thanks,
 joshua

p.s. A fellow at Cisco last year wrote an article about NIC
negotiation. Apparently the only setting that consistently works
is auto.

On 10/25/05, kashani [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote: I'm trying to use "mii-tool" to configure the NIC speed and duplex on a Dell 2850 server (currently auto negotiates and has negotiated
 100/half). The switch port is configured for 100/full. The Dell 2850 server uses the Broadcom chipset for the NIC and is a 10/100/1000 port. Every time I try to force the port using mii-tool, the server port stops
 responding and I have to reboot the box. Someone mentioned that mii-tool may not be the correct tool and to try ethtool. My question is will mii-tool work with a 10/100/1000 port? Should I be using ethtool under
 Gentoo and if so where do I get it/install it?I've found that ethtool support more cards than mii-tool. In order toinstall it I'd do the followingecho sys-apps/ethtool ~x86  /etc/portage/package.keywords
emerge ethtoolUsing the unstable version will install ethtool3 rather than 2. 3 is ayear or two newer than 2.kashani--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CPU upgrade - make.conf

2005-10-19 Thread Joshua Schmidlkofer
Well, tempting as it seems, I am not in the mood for adentures. :)
I have that setup, you have to use gcc 3.4 or higher, I used the jackass stuff as a base. I have that + NVidia binary drivers on a desktop - it's all very HOT! So, it does work, however, you ahve to pretty much do a clean install
thanks, joshua


Re: [gentoo-user] firefox is very memory hungry

2005-10-19 Thread Joshua Schmidlkofer
you're looking at threads. they aren't really taking up 16m x 4 of memory...
try enabling nptl, and re-emerging glibcIf your going that route (which i highly recommend) rebuild w/ nptl and nptlonly.thanks, joshua


Re: [gentoo-user] SMP/HT top

2005-10-19 Thread Joshua Schmidlkofer
On 10/17/05, A. Khattri [EMAIL PROTECTED] wrote:
On Sun, 16 Oct 2005, Mark Knecht wrote:Was I mistaken in thinking that a true SMP system and also a hyper threading system would show two processors in top? I am trying out a new HT kernel built this morning. I've enabled both SMP support and
 hyper threading support but top shows only a single processor.What kind of CPU is it? And what kind of FSB? Not all P4's havehyperthreading (as I discovered recently).If you have Dual Procs + Hyperthreading you ought to have a total of 4 processors post the contents of /proc/cpuinfo



Re: [gentoo-user] power loss when emerging

2005-10-19 Thread Joshua Schmidlkofer
On 10/19/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
Hi all, I had a doubt, I got a power loss when emerging gccit was almost at final, when I do a emerge --resume, it beguns allover again so my doubt is if there a way to continue compilationfrom where it stops.
I do not beleive so, unless you use ebuild directly on the affected package.js


Re: [gentoo-user] CPU upgrade - make.conf

2005-10-19 Thread Joshua Schmidlkofer
I went back to -march=athlon-xp. I don´t know how much k8 optimizations does
performance-wise, but I guess it ain´t woth a reinstall.Best regards,Andreas KarlssonSwedenI think you will only see an improvment if you need 64bit userspace. I.e
. right now you are effectivley running in a 32bit userspace, and nothing is wrong with that. If you need 64bit addressing, then you will have to change your environment [i.e. reinstall]


Re: [gentoo-user] ifconfig vs iproute2

2005-10-15 Thread Joshua Schmidlkofer
iproute2 is newer and while it takes over all of the abilities of
ifconfig, it is modularized and designed for controlling advanced
router features as well as basic interface related stuff.

The capabilities of it are vastly superior to ifconfig, and sometimes the notation is simpler.

Setup eth0, and activate it:

ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add -net 0/0 gw 192.168.1.254

ip addr add 192.168.1.1/24 brd 192.168.1.255
ip link set eth0 up
ip route add default via 192.168.1.254



There is a type of NAT [aka FastNAT] that you can use with iproute2 -
involving no iptables/netfilter support. You can setup multiple
defoult routes, rudimentary load balancing, and other stuff. 


For a better concept of the abilities of iproute2 - please see http://lartc.org
The Linux Advanced Routing and Traffic Control site.

thanks,
 joshua

On 10/12/05, Martins Steinbergs [EMAIL PROTECTED] wrote:
hiwhat is the difference in general between these - ifconfig and iproute2?i used old style /etc/conf.d/net and it worked well until system last update irun - net was gone. made new style /etc/conf.d/net but ifconfig version
refused to work, lucky i got windoze on other drive to get iproute2 sourcefrom mirror. ok, now net is working but im still confused about ifconfig notworking, got these setings for single box connected to i-net, is there
somethin' wrong?hotplug_eth0=yesmodules=( iproute2 )here i tried both modulesconfig_eth0=( some_IP netmask some_IP broadcast some_IP )routes_eth0=(
default via some_IP::/0)martins--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Need help with eth0 on new computer

2005-10-15 Thread Joshua Schmidlkofer
you can add e100 to /etc/modules.autoload.d/kernel-2.6

or

install/activate coldplug on default or bootOn 10/15/05, Michael Sullivan [EMAIL PROTECTED] wrote:
On Thu, 2005-10-13 at 18:07 +0300, Martins Steinbergs wrote: i would say there no support for ya net cart built into kernel/module
 On Thursday 13 October 2005 17:51, Michael Sullivan wrote:  I got a new computer yesterday.As I was installing Gentoo on it, I ran  into a problem.I've got the basic install set up, but my eth0 won't
  start.It would with the liveCD.When I boot up with the live CD and  run:   dmesg | grep 'eth0 it gives me this output:e100: eth0: e100_probe: addr 0xff91, irq 20, MAC addr 00:13:20:2B:98:18
  e100: eth0: e100_watchdog: link up, 100 Mbps, full-duplex  eth0: no IPv6 routers presentHowever, when I reboot into my installed environment and run the same
  command, there's no mention of 'eth0'.I tried emerging net-misc/e100 (I  thought it might help), but the build failed.Something about too many  parameters being passed to a method.Is there anything I can do to
  resolve this other than filing a bug report?I found it.Had to modprobe e100 and restart /etc/init.d/net.eth0.--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] IndexError: list index out of range

2005-10-15 Thread Joshua Schmidlkofer
I have seen this a number of times, but I have always gotten around it by emerging portage, then doing and 'emerge metadata'

js
On 10/15/05, Thomas T. Veldhouse [EMAIL PROTECTED] wrote:
I have been away from Gentoo for awhile and I am going about building a2005.1 system.I just finished a emerge --sync and have received thefollowing:xfce-extra/xfwm4-themes/xfwm4-themes-4.2.2-r1.ebuild
 413 100%0.00kB/s0:00:00xfce-extra/xfwm4-themes/xfwm4-themes-4.2.2.ebuild 386 100%0.00kB/s0:00:00 127700 files...Number of files: 127717Number of files transferred: 106537
Total file size: 101573026 bytesTotal transferred file size: 101573026 bytesLiteral data: 101573026 bytesMatched data: 0 bytesFile list size: 2929830Total bytes written: 2130921Total bytes read: 109297663
wrote 2130921 bytesread 109297663 bytes152746.52 bytes/sectotal size is 101573026speedup is 0.91  Updating Portage cache:Traceback (most recent call last):File /usr/bin/emerge, line 2705, in ?
oldcat = portage.catsplit(cp_list[0])[0]IndexError: list index out of rangeSo, is this a known issue?Tom Veldhouse--gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] Need help with eth0 on new computer

2005-10-15 Thread Joshua Schmidlkofer


It looks from the ebuild that net-misc/e100 was intended for 2.4.x
series kernels (*.o as opposed to *.ko).I would suggest running 'makemenuconfig' or similar and enabling e100 as a module from within thekernel tree.

I don't think that he built net-misc/e100... I think his module just didn't autoload. Did I miss something? 



Re: [gentoo-user] Need help with eth0 on new computer

2005-10-15 Thread Joshua Schmidlkofer
On 10/15/05, Joshua Schmidlkofer [EMAIL PROTECTED] wrote:
you can add e100 to /etc/modules.autoload.d/kernel-2.6

or

install/activate coldplug on default or bootOn 10/15/05, Michael Sullivan 
[EMAIL PROTECTED] wrote:
On Thu, 2005-10-13 at 18:07 +0300, Martins Steinbergs wrote: i would say there no support for ya net cart built into kernel/module
 On Thursday 13 October 2005 17:51, Michael Sullivan wrote:  I got a new computer yesterday.As I was installing Gentoo on it, I ran  into a problem.I've got the basic install set up, but my eth0 won't
  start.It would with the liveCD.When I boot up with the live CD and  run:   dmesg | grep 'eth0 it gives me this output:e100: eth0: e100_probe: addr 0xff91, irq 20, MAC addr 00:13:20:2B:98:18
  e100: eth0: e100_watchdog: link up, 100 Mbps, full-duplex  eth0: no IPv6 routers presentHowever, when I reboot into my installed environment and run the same
  command, there's no mention of 'eth0'.I tried emerging net-misc/e100 (I  thought it might help), but the build failed.Something about too many  parameters being passed to a method.Is there anything I can do to
  resolve this other than filing a bug report?I found it.Had to modprobe e100 and restart /etc/init.d/net.eth0.--
gentoo-user@gentoo.org mailing list





Re: [gentoo-user] cdrw advice?

2005-10-14 Thread Joshua Schmidlkofer
on other OS's you have to 'format' the RWs before you can mount them in packet mode. Is the same true for Linux?

On 10/14/05, michael higgins [EMAIL PROTECTED] wrote:
On Fri, 14 Oct 2005 16:35:02 -0700michael higgins [EMAIL PROTECTED] wrote:[snip]I continued hacking away at it and I seem to have it working - for root. How do I get my regular user to have access?
For
the record, I'm not sure how I got it to work. I added hdc=ide-cdrom as
a boot parameter and noticed that I had a device like this
/dev/pktcdvd/pktcdvd0 I could use:/dev/pktcdvd/pktcdvd0 /mnt/cdrw udf noauto,noatime,rw,users 0 0... which I don't recall creating. How does this get made?Anyway, I can copy files to it like a drive now, but not as a user. Any clues?
--|\/||
|~ ~| \/ ||---|`|` ?||ichael| |iggins\^ /michael_higgins[at]iinet[dot]com--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how create perment mknod

2005-10-13 Thread Joshua Schmidlkofer
On 10/13/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Thu, 13 Oct 2005 22:53:18 +0600, Gentoo Shadow wrote: mknod /dev/ttyUSB0 c 188 0 [create tempory nod, how to create perment nod?]Put the command in /etc/conf.d/local.start.
Or, for the very perverse - change /etc/conf.d/rc to tar up the devices folder at shutdown. 


Re: [gentoo-user] Setting up ALSA on a new computer

2005-10-13 Thread Joshua Schmidlkofer
Your using the wrongr driver. There is a kernel 'High def' driver in 2.6.13On 10/13/05, Michael Sullivan 
[EMAIL PROTECTED] wrote:On Thu, 2005-10-13 at 16:25 -0700, gentuxx wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Sullivan wrote: I'm trying to set up ALSA on my new computer. I ran lspci to find out what sound card I had:
  camille ~ # lspci -v | grep -i 'audio' :00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) 
 Then I cross-referenced it in the ALSA Matrix. I found (I think) that I should be using the intel8x0 driver. The Matrix page said that I should modprobe snd-card-intel8x0, but when I do that it comes up missing:
  camille ~ # modprobe snd-card-intel8x0 FATAL: Module snd_card_intel8x0 not found.  I'm pretty sure I have support for the module compiled into the kernel. What should I do?
  Double check the kernel config.Also, when you check the kernel config, make sure that you have it as a module, instead of being built into the kernel itself.This card has done some funky stuff for me.
 It works, but not the way I would expect it to.The standard test: cat /dev/urandom  /dev/dsp works fine as the normal user, but I don't get any of the blips and whirrs in my normal user account,
 that I do with root.Hopefully, YMWV.;-)I think I also had to emerge alsa-utils.You may want to check that out. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'
 gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC409795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDTu0CLYGSSmmWCZMRAgwVAJ9Ruqa43s1kLWVtgsxU5TGvVN2O/gCeJkNQ
 xmDE56rTf3bUGrmORjnhStQ= =o+r0 -END PGP SIGNATURE-Can anyone tell me what my card would be listed as in the kernel configfile?I could grep for that...--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Setting up ALSA on a new computer

2005-10-13 Thread Joshua Schmidlkofer
more specifically is now an Intel HD Audio at the very bottom of the alsa PCI devices list

thanks,
joshuaOn 10/13/05, Joshua Schmidlkofer [EMAIL PROTECTED] wrote:
Your using the wrongr driver. There is a kernel 'High def' driver in 2.6.13On 10/13/05, Michael Sullivan
 
[EMAIL PROTECTED] wrote:On Thu, 2005-10-13 at 16:25 -0700, gentuxx wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Sullivan wrote: I'm trying to set up ALSA on my new computer. I ran lspci to find out what sound card I had:
  camille ~ # lspci -v | grep -i 'audio' :00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) 
 Then I cross-referenced it in the ALSA Matrix. I found (I think) that I should be using the intel8x0 driver. The Matrix page said that I should modprobe snd-card-intel8x0, but when I do that it comes up missing:
  camille ~ # modprobe snd-card-intel8x0 FATAL: Module snd_card_intel8x0 not found.  I'm pretty sure I have support for the module compiled into the kernel.
 What should I do?
  Double check the kernel config.Also, when you check the kernel config, make sure that you have it as a module, instead of being built into the kernel itself.This card has done some funky stuff for me.
 It works, but not the way I would expect it to.The standard test: cat /dev/urandom  /dev/dsp works fine as the normal user, but I don't get any of the blips and whirrs in my normal user account,
 that I do with root.Hopefully, YMWV.;-)I think I also had to emerge alsa-utils.You may want to check that out. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'
 gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC409795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDTu0CLYGSSmmWCZMRAgwVAJ9Ruqa43s1kLWVtgsxU5TGvVN2O/gCeJkNQ
 xmDE56rTf3bUGrmORjnhStQ= =o+r0 -END PGP SIGNATURE-Can anyone tell me what my card would be listed as in the kernel configfile?I could grep for that...--

gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Setting up ALSA on a new computer

2005-10-13 Thread Joshua Schmidlkofer

From the kernel menuconfig help for Intel HD Audio:

so it's called 'snd-hda-intel' --- Have you been editting the /etc/modules.d/alsa? Then run modules-update?

js


Intel HD Audio ─┐
│
CONFIG_SND_HDA_INTEL:
│
│
│
│ Say Y here to include support for Intel High
Definition
│ Audio (Azalia) motherboard
devices.
│
│
│
│ To compile this driver as a module, choose M here: the
module
│
│ will be called
snd-hda-intel.
│
│
│
│ Symbol: SND_HDA_INTEL
[=n]
│
│ Prompt: Intel HD
Audio
│
│ Defined at
sound/pci/Kconfig:530
│
│ Depends on: !M68K  SOUND!=n  PCI

SND
│
│
Location:
│
│ - Device
Drivers
│
│ -
Sound
│
│ - Advanced Linux
Sound
Architecture
│
│ -
Advanced Linux Sound Architecture (SND
[=m])
│
│
- PCI
devices
│
│ Selects:
SND_PCM
│
│
│


On 10/13/05, Michael Sullivan [EMAIL PROTECTED] wrote:
On Thu, 2005-10-13 at 18:05 -0700, Joshua Schmidlkofer wrote: more specifically is now an Intel HD Audio at the very bottom of the alsa PCI devices listI just checked my kernel configuration and I had that marked to be
compiled as a module before I rebuilt my kernel last time.Now how do Iuse it?--gentoo-user@gentoo.org mailing list