RE: [gentoo-ppc-user] ATI configuration?

2006-05-04 Thread Mark M. Hart
I'm new at this, and I don't know about ebuild yet.  Can you give me a hint
about what I should do to get the Xorgautoconfig built?

Thanks!
 
Mark M. Hart
[EMAIL PROTECTED]
 
-Original Message-
From: David Gurvich [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 4:59 AM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] ATI configuration?

There is an ebuild Xorgautoconfig specifically for this purpose.  The 
generated xorg.conf needs some slight adjustments but seems to give good 
results.
On Thursday 04 May 2006 7:34 am, Mark M. Hart wrote:
 I have a beige G3 desktop 233mhz with 512M ram that has an ATI chipset on
 the motherboard and an ATI chipset in a PCI VGA card (which the monitor is
 attached to).  When I use xorgconfig I have to use fbdev as the ati choice
 will not work on testing.  This gives me a 1280x1024 screen which works
 well on a 17” monitor, but the colors are all wrong.



 When I use Xorg –configure I get a working configuration with the ati
 driver, but the screen is (maybe) 640x480 and that’s it.  I’ve tried
 merging the two files in every combination I can think of, and am not
 getting anywhere.



 Thanks in advance for your help!



 Mark M. Hart

-- 
Kmail on Gentoo/PPC

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
 


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



Re: [gentoo-ppc-user] ATI configuration?

2006-05-04 Thread David Gurvich
I believe that either you are missing a driver in your kernel, or haven't 
loaded it if set as a module.
On Thursday 04 May 2006 9:41 am, Mark M. Hart wrote:
 I just did an emerge on Xorgautoconfig and ran the command, but the
 xorg.conf file it makes doesn't work - it tells me that ATI(0) Adapter has
 not been initialized, and Screen(s) found, but none have a usable
 configuration.

 It sets Mode 1024x768 at several depths, which I can live with, and default
 mode of 16, which I can also live with.  Now if I could just get it to work
 ...

 Thanks!

 Mark M. Hart

 -Original Message-
 From: David Gurvich [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 04, 2006 4:59 AM
 To: gentoo-ppc-user@lists.gentoo.org
 Subject: Re: [gentoo-ppc-user] ATI configuration?

 There is an ebuild Xorgautoconfig specifically for this purpose.  The
 generated xorg.conf needs some slight adjustments but seems to give good
 results.

 On Thursday 04 May 2006 7:34 am, Mark M. Hart wrote:
  I have a beige G3 desktop 233mhz with 512M ram that has an ATI chipset on
  the motherboard and an ATI chipset in a PCI VGA card (which the monitor
  is attached to).  When I use xorgconfig I have to use fbdev as the ati
  choice will not work on testing.  This gives me a 1280x1024 screen which
  works well on a 17” monitor, but the colors are all wrong.
 
 
 
  When I use Xorg –configure I get a working configuration with the ati
  driver, but the screen is (maybe) 640x480 and that’s it.  I’ve tried
  merging the two files in every combination I can think of, and am not
  getting anywhere.
 
 
 
  Thanks in advance for your help!
 
 
 
  Mark M. Hart

 --
 Kmail on Gentoo/PPC

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

 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006

-- 
Kmail on Gentoo/PPC

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



Re: [gentoo-ppc-user] ATI configuration?

2006-05-04 Thread Joseph Jezak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark M. Hart wrote:
 I'm new at this, and I don't know about ebuild yet.  Can you give me a hint
 about what I should do to get the Xorgautoconfig built?
 
 Thanks!
  
 Mark M. Hart
 [EMAIL PROTECTED]

You should probably take a look at the PPC FAQ[1].  I'm not exactly sure
which chipset your Mac has, but if you provide the output of
Xorgautoconfig --dump, I'll take a look at it.

- -Joe

[1] http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEWhPiwGq7BLLARfoRAnaAAKCmmTQlLpok11q5DjZR36qYsqaIhgCg1sko
c9IpB/9r6c7YFsSHEDNSDhI=
=ply5
-END PGP SIGNATURE-
-- 
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-ppc-user] ATI configuration?

2006-05-04 Thread Joseph Jezak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark M. Hart wrote:
 I got the fbdev version of the config file working by setting the default
 depth to 16 instead of 24.  This is an old 233 mhz box, and slow video isn't
 going to make that much difference, I think.  I would like to know at some
 point how to get ATI video going with real drivers for my faster machine
 when I move it from OS X to gentoo - maybe I have to compile it into the
 kernel when I do my genkernel -menuconfig all command?
 
 Thanks!
  
 Mark M. Hart
 [EMAIL PROTECTED]

It's probably a Mach64, but I can't say without the output from
Xorgautoconfig --dump and lspci -v.

Sorry,
- -Joe
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEWiLKwGq7BLLARfoRAtJRAKDRGdooh5oR05l0GcRlKB36FPTVPQCeJ50G
lsZW5RvbuWJhnZsZOUTtS1k=
=S/Qg
-END PGP SIGNATURE-
-- 
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-ppc-user] ATI configuration?

2006-05-04 Thread Mark Hart

Here goes:

Xorgautoconfig --dump yields:

Dumping Debugging Information:
Machine ID: Power Macintosh

EDID Tag:   DPC7037
H-Min: 30 H-Max: 70 V-Min: 50 V-Max: 60
Card Dump:
Framebuffer Id: ATY Mach64
Framebuffer Type:   10
Framebuffer Depth:  16

lspci -v yields:

00:00.0 Host bridge: Motorola MPC106 [Grackle] (rev 40)
Flags: bus master, fast devsel, latency 0

00:0d.0 SCSI storage controller: Artop Electronic Corp ATP860 (rev 01)
Subsystem: Artop Electronic Corp ATP860
Flags: bus master, medium devsel, latency 128, IRQ 23
I/O ports at fe001040 [size=8]
I/O ports at fe001030 [size=4]
I/O ports at fe001020 [size=8]
I/O ports at fe001010 [size=4]
I/O ports at fe001000 [size=16]
Expansion ROM at 8191 [disabled by cmd] [size=64K]
Capabilities: [58] Power Management version 1

00:0e.0 PCI bridge: Actiontec Electronics Inc Mini-PCI bridge (rev 11)
(prog-if 00 [Normal decode])
Flags: bus master, medium devsel, latency 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 8180-818f
Capabilities: [80] Power Management version 2
Capabilities: [90] #06 []

00:0f.0 Display controller: ATI Technologies Inc 3D Rage LT Pro (rev dc)
Subsystem: ATI Technologies Inc Rage LT Pro
Flags: bus master, stepping, medium devsel, latency 32, IRQ 25
Memory at 8300 (32-bit, non-prefetchable) [size=16M]
I/O ports at fe001400 [size=256]
Memory at 8000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 8192 [disabled] [size=128K]
Capabilities: [5c] Power Management version 1

00:10.0 Class ff00: Apple Computer Inc. Heathrow Mac I/O (rev 01)
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at f300 (32-bit, non-prefetchable) [size=512K]

00:12.0 VGA compatible controller: ATI Technologies Inc 3D Rage I/II
215GT [Mach64 GT] (rev 9a) (prog-if 00 [VGA])
Flags: bus master, stepping, medium devsel, latency 32, IRQ 22
Memory at 8200 (32-bit, non-prefetchable) [size=16M]
I/O ports at fe001800 [size=256]
Memory at 80001000 (32-bit, non-prefetchable) [size=4K]

01:00.0 USB Controller: Agere Systems USS-312 USB Controller (rev 10)
(prog-if 10 [OHCI])
Subsystem: Agere Systems USS-312 USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 24
Memory at 81801000 (32-bit, non-prefetchable) [size=4K]

01:01.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 04) (prog-if 10 [OHCI])
Subsystem: Sonnet Technologies, Inc. Unknown device 0001
Flags: bus master, medium devsel, latency 32, IRQ 24
Memory at 8180 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

Hope this helps!

Mark

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



[gentoo-user] gentoo at linuxworld in san francisco this summer?

2006-05-04 Thread michael

Will Gentoo have a presence at LinuxWorld in San Francisco, in August? I
think last year they had a booth in the .org pavillion.

As a San Fransiscan Gentoo user, I'd like to be involved. To whom do I
speak?

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



Re: [gentoo-user] Non Standard X Resolution

2006-05-04 Thread Jure Varlec
On Thursday 04 May 2006 05:46, Jamie wrote:
 In the next few days I will be getting my brand new Dell 2007WFP LCD
 delivered and obviously I want to use it on my Gentoo box.
 This screen uses a non-standard resolution of [EMAIL PROTECTED] and I have no
 idea how to get this setting in my XOrg setup. Can anyone point me in the
 right direction?

 Thanks

 Jamie

It's a valid resolution, simply put it under Modes, Subsection Display, 
Section Screen.
The only problem you should have are invalid VideoBIOS entries if your card is 
an i915.


pgpPbDtraRIyL.pgp
Description: PGP signature


Re: [gentoo-user] why firefox is so slow?

2006-05-04 Thread Boyd Stephen Smith Jr.
On Wednesday 03 May 2006 23:02, [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] why firefox is so slow?':
 I've asked on multiple occassions for a comparison to a Debian paradigm.
  My first distro was Debian.  So a comparison to Debian would do me a
 world of good.

ARCH ~= STABLE

but more volatile -- there's no real release version, packages are 
maintained separately unless they are packaged together upstream or depend 
on one another so you'll still get regular updates, but the packages have 
been though some amount of testing by the devs and those running:

~ARCH ~= TESTING

though there's less testing, packages don't have to survive being masked 
for any period of time so you will occasionally get an package that would 
only be suited for Sid.  It's still exceedingly rare for these packages 
to screw your system, but it is possible especially if you don't read the 
e(info|notice|warn)s that are output during the install or become lax in 
your config file updating.  Anything truly experimental will be masked 
while the devs (and brave users) test internally.

If you do run ~arch and can spend some time reporting you successes and 
failures, consider becoming an arch tester, assuming your arch needs more.

package.mask'd, profile masked, or missing keyword ~= SID (or worse)

These packages are either experimental with changes that are likely to 
break the system, or have been known to break someones system, possibly 
including data loss.  Some development teams *cough*KDE*cough* are quite 
flexible with the experimental label -- I had kde 3.5 installed with few 
to no problems for (what seemed like) months before they were unmasked.

Of course, ebuilds in the forums and bugzilla (and anywhere else other than 
the standard portage tree) are like foreign repositories.  Gentoo devs 
(and most of the people on the mailing lists) can't and won't provide 
support for those packages or problems that may/might be caused by them.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpGaOsoBa4wr.pgp
Description: PGP signature


Re: [gentoo-user] [OT] kill a child and suicide

2006-05-04 Thread Jorge Almeida

On Wed, 3 May 2006, Zac Slade wrote:


On Wednesday 03 May 2006 16:04, Jorge Almeida wrote:

But I won't be able to use svc to interact with the child. That's why I
feel I must reformulate the whole setup.

If you need deeper interaction with a child process then you might need to
look outside the realm of shell.  I'd suggest looking at perl.  Not that you
can't accomplish what you are looking for with bash scripting, but you may be
better served by using a more full featured programming language than shell
offers.


Perhaps. I know more of Perl than of Bash, but a shell script is the
usual way to run a process supervised by daemontools. The problem with
backgrounding the child is that it may die for some reason and supervise
won't be able to ressurrect it.
I'll take a look at CPAN...
Thanks.

--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia-kernel vs. gentoo-sources

2006-05-04 Thread S. Schwartz
Glenn Enright wrote:
 Nvidia dont release the source for this driver, which makes it difficult for 
 others to patch it, even if they new how the card internals worked ;).
As far as I understand, the binary driver itself is not patched. The
patching concerns the way it is integrated into your system (e.g.
symbols and certain function calls, of course kernel related stuff) --
and there are source files for that. That's what is being compiled by
emerge. The problem with the function/symbol pci_find_class has occured
before with an older version of nvidia-kernel and was patched
successfully. So, I guess it's just a matter of time and patching
experience.

But because of the reasons Richard wrote/summarized, it's not looking
very good :-/

 Does the xorg nv driver do what you need?
Fortunately yes. I can start X an do all 2D-things. For the time being
I'll have to live with that.

So, I guess my search for some help has come to a dead end. Thank you
for all your suggestions and information. Let's hope for better Nvidia
support in the future.

Sigi

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Waaaaaay [OT] Windoze back-up. Sorry to ask. :-(

2006-05-04 Thread Mick

As far as I know you can only overwite a file on NTFS if you leave the
size *exactly* the same. Let's hope it will soon be possible to use
NTFS natively.

On 5/3/06, Teresa and Dale [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Set up a Samba server...  hmm... KDE Control Centre has a excellent
interface
for that.  Very easy.

In a related story...

The first time I used Samba to do some network transfers I spent ten
minutes
checking file intergrity.  It went so darn fast... I was sure something was
wrong.  No, it's just that windoze networking is so darn slow!  It's now a
pain to do anything windoze-to-windoze!  Linux and Samba is so much faster!



I tried the KDE setup but still no go.  I think I need to change
something in the Linksys router, I'm not sure what though.  I think it
is working on the Linux end.  I can ping the windoze box from my Linux
box but I don't know how to do anything on the windoze side.  Pointers??

Clueless.

Dale
:-)
--
gentoo-user@gentoo.org mailing list





--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Dave Jones
Bo Andresen wrote on 05/04/06 00:48:

 It turns out I was wrong about this. If I type

 # LC_ALL=POSIX oowriter2

 they don't work for me either. Same goes for LC_ALL=C. All other locales on 
 your list from locale -a they do work with. (Except en_GB.utf8 which results 
 in a lot of errors on my system. That's why I use en_US.utf8. If you do wish 
 to use UTF-8 you should follow the guide provided by Gentoo). So try changing 
 your locale to something other than POSIX or C i.e. export LC_ALL=whatever. 
 And start OOo from the prompt.

 To change your locale permanently you should change /etc/env.d/02locale and 
 run env-update. You only need to set LC_ALL it will all other LC_ variables.

Bo, thank you *very* much, starting oowriter2 as you suggested using
LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it
should.

I have no /etc/env.d/02locale file; did you create that file yourself?

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Bo Andresen
On Thursday 04 May 2006 11:17, Dave Jones wrote:
 Bo, thank you *very* much, starting oowriter2 as you suggested using
 LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it
 should.

Glad to hear that. :)

 I have no /etc/env.d/02locale file; did you create that file yourself?

Yes, just create a file with the contents:

LC_ALL=whatever

Look at [1] and [2] for more information on locales on Gentoo.

[1] http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3
[2] http://www.gentoo.org/doc/en/utf-8.xml

-- 
Bo Andresen


pgphsoHobO0Et.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Dave Jones
Bo Andresen wrote on 04/05/06 11:32:
 On Thursday 04 May 2006 11:17, Dave Jones wrote:

Bo, thank you *very* much, starting oowriter2 as you suggested using
LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it
should.

 Glad to hear that. :)

What's more, it seems to work fine with LC_ALL=en_GB.utf8 too.

As a matter of curiosity, what errors did you get when you tried
en_GB.utf8 on your system?

I have no /etc/env.d/02locale file; did you create that file yourself?

 Yes, just create a file with the contents:

 LC_ALL=whatever

OK, done that, it's working perfectly now.

 Look at [1] and [2] for more information on locales on Gentoo.

 [1] http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3
 [2] http://www.gentoo.org/doc/en/utf-8.xml

Will do, to check out any extra information available there.

Again, thank you both very much.  Your and Jerônimo's help and advice
solved an obscure problem which has annoyed me for months.

The Gentoo user community has yet again proven to be a great place to
finding helpful and knowledgeable people, adding to the many strengths
of the distro.

Glad to be part of it!

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Best File System For Linux

2006-05-04 Thread Farhan Ahmed
Hi,
I want to know which is the best file system for a high
performance Linux? I'm presently a encrypted ext3 file system for my
Gentoo Desktop machine.. I've heard that ReiserFS provides the best
performance.. Is it true? What about XFS? My file system is created 
using the following command :

sbin/mkfs.ext3 -j -m 1 -O dir_index,filetype,sparse_super /dev/***

I want to know what all options I can use for ReiserFS, ext3 and XFS to
get the maximum performance.. Also I have this in my '/etc/fstab':

/dev/ROOT  /   ext3  noatime,data=journal
/dev/SWAP none swap  sw
/dev/XXX  /doc ext3  noatime,nodev,nosuid,noexec,data=journal
/dev/USR  /usr ext3  noatime,nodev,data=journal

What should I modify top get the best performance in all (ReiserFS, ext3
and XFS) file systems?

Thanks In Advance,
Farhan Ahmed

-- 
Place   :  Bangalore, Karnataka, India
GPG Key :  8BE90E98
WengoPhone ID   :  farhanahmed
IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)


pgpvJ1ceDT7pU.pgp
Description: PGP signature


Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Teresa and Dale
Farhan Ahmed wrote:

Hi,
   I want to know which is the best file system for a high
performance Linux? I'm presently a encrypted ext3 file system for my
Gentoo Desktop machine.. I've heard that ReiserFS provides the best
performance.. Is it true? What about XFS? My file system is created 
using the following command :

   sbin/mkfs.ext3 -j -m 1 -O dir_index,filetype,sparse_super /dev/***

I want to know what all options I can use for ReiserFS, ext3 and XFS to
get the maximum performance.. Also I have this in my '/etc/fstab':

   /dev/ROOT  /   ext3  noatime,data=journal
   /dev/SWAP none swap  sw
   /dev/XXX  /doc ext3  noatime,nodev,nosuid,noexec,data=journal
   /dev/USR  /usr ext3  noatime,nodev,data=journal

What should I modify top get the best performance in all (ReiserFS, ext3
and XFS) file systems?

Thanks In Advance,
Farhan Ahmed

  



Well, it depends on a lot of things.  From what I have read, one of the
biggest things it depends on is the size and number of files you have. 
The speed of your CPU will affect this too because journaling has some
overhead.  I use reiserfs and have had no problems with it but depending
on what you are doing you may need something else.  Here are some links
for you to read.  This may help.

http://linuxgazette.net/102/piszcz.html

http://linuxreviews.org/sysadmin/filesystems/

Happy reading.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Bo Andresen
On Thursday 04 May 2006 12:08, Dave Jones wrote:
 As a matter of curiosity, what errors did you get when you tried
 en_GB.utf8 on your system?

$ LC_ALL=en_GB.utf8 oowriter2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = en_GB.utf8,
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
I18N: Operating system doesn't support locale 

IIRC back when I followed the UTF-8 guide localedef complained that some data 
for creating the en_GB.UTF-8 locale was missing. It seems that the issue has 
been resolved since then. The following command fixed the problem so 
en_GB.utf8 is working for me too now:

# localedef -i en_GB -f UTF-8 en_GB.UTF-8

-- 
Bo Andresen


pgp3bNdR1D0qE.pgp
Description: PGP signature


Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Jeff
New for 2006!

http://linuxgazette.net/122/TWDT.html#piszcz

:-)

Teresa and Dale wrote:
 Farhan Ahmed wrote:
 
 
Hi,
  I want to know which is the best file system for a high
performance Linux? I'm presently a encrypted ext3 file system for my
Gentoo Desktop machine.. I've heard that ReiserFS provides the best
performance.. Is it true? What about XFS? My file system is created 
using the following command :

  sbin/mkfs.ext3 -j -m 1 -O dir_index,filetype,sparse_super /dev/***

I want to know what all options I can use for ReiserFS, ext3 and XFS to
get the maximum performance.. Also I have this in my '/etc/fstab':

  /dev/ROOT  /   ext3  noatime,data=journal
  /dev/SWAP none swap  sw
  /dev/XXX  /doc ext3  noatime,nodev,nosuid,noexec,data=journal
  /dev/USR  /usr ext3  noatime,nodev,data=journal

What should I modify top get the best performance in all (ReiserFS, ext3
and XFS) file systems?

Thanks In Advance,
Farhan Ahmed

 

 
 
 
 Well, it depends on a lot of things.  From what I have read, one of the
 biggest things it depends on is the size and number of files you have. 
 The speed of your CPU will affect this too because journaling has some
 overhead.  I use reiserfs and have had no problems with it but depending
 on what you are doing you may need something else.  Here are some links
 for you to read.  This may help.
 
 http://linuxgazette.net/102/piszcz.html
 
 http://linuxreviews.org/sysadmin/filesystems/
 
 Happy reading.
 
 Dale
 :-)

-- 
Darth Vader:
Luke, help me take this mask off.
Luke Skywalker:
But you'll die.
Darth Vader:
Nothing can stop that now. Just for once, let me
look upon you with my own eyes.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] cpufreq and 2006.0

2006-05-04 Thread William Kenworthy
I am using the 2006.0 livecd on a sony vaio to copy across an existing
install.

It appears that the standard setting for 2006.0 on this machine has set
the 1.2Ghz processor to less than 600Mhz. cpufreq appears to be on the
livecd but refuses to change the speed.

Any hints on how to turn up the wick on this?

BillK

-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] why firefox is so slow?

2006-05-04 Thread Hemmann, Volker Armin
On Thursday 04 May 2006 05:57, [EMAIL PROTECTED] wrote:
 On Monday 01 May 2006 11:51 pm, Hemmann, Volker Armin wrote:
  On Tuesday 02 May 2006 08:18, Farhan Ahmed wrote:
 CXXFLAGS=${CFLAGS} -fvisibility-inlines-hidden
 
  no, just no. This breaks enough stuff. Do not tell others to use it. If
  you want to use it. Fine. But do not tell anybody else to do it.

 Why I asked before doing.  What is it?


it hiddes some symbols in libs. It can make startup a lot faster, but it can 
also break a lot of things. 
prelink is much saver ...

MAKEOPTS=
  
 MAKEOPTS=-j2
 
  -j1 is a good one for singlecore/single cpu computer, where the compiling
  is running in the background.

 Okay.  That sounds non-violate.

USE= X a52 aac alsa apache2 acpi arts audiofile avi berkdb
bitmap-fonts bzip2 cdr cli crypt ctype cups dba eds directfb doc dri
dvd dvdread elibc_glibc emboss encode esd ethereal exif expat fam
fastbuild foomaticdb
force-cgi-redirect fortran ftp gd gcj gdbm gif glut gmp gnome gpm
gstreamer gtk gtk2 gtkhtml guile hal hardened idn imlib ipv6 jpeg
java javascript kde kdexdeltas kernel_linux lcms libg++ libwww mad
memlimit mikmod mhash mng motif mozilla mime mmx mp3 mpeg ncurses nls
nptl ogg opengl oss pam pcre pdflib perl png posix python qt
quicktime readline samba sdl session simplexml slang soap sockets
spell spl ssl sse sse2 svg tcltk tcpd tiff tokenizer truetype
truetype-fonts type1-fonts usb udev userland_GNU vorbis x86 xml xml2
xmms xsl xv zlib
  
   Do you really need all these USE flags and features? I think not.. Add
   USE flags that really are useful not add them just because they might
   become useful sometime.. The more features you have in your packages,
   the slower and more memory hungry they are.. Take a look at my USE
   flags..
 
  you think - but you don't know what he wants and needs.

 I didn't change many from the defaults because I didn't know what most of
 them were.  If it ain't broke don't fix it.

  btw, I would emerge ufed and work down the list

 I'll emerge it now, and ask you what on earth it is now as well.

ufed

use flag editor

When you start it, you see all useflags listed, if it is active (X before its 
name),  where it is set (the space in the brackets behind the name) and the 
description of the flag. man ufed has the details ;)

Just read the descriptions and decide.. easy.
If you are not sure about disabling something, leave it in the default state.

make an emerge --newuse --ask world after you have finished.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpufreq and 2006.0

2006-05-04 Thread Norman Rieß
 I am using the 2006.0 livecd on a sony vaio to copy across an existing
 install.

 It appears that the standard setting for 2006.0 on this machine has set
 the 1.2Ghz processor to less than 600Mhz. cpufreq appears to be on the
 livecd but refuses to change the speed.

 Any hints on how to turn up the wick on this?

 BillK

 --
 William Kenworthy [EMAIL PROTECTED]
 Home!
 --
 gentoo-user@gentoo.org mailing list



Hi

what does cpufreq-info say?

Have you tried cpufreq-set -g ondemand or cpufreq-set -g performance?

Norman

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Hemmann, Volker Armin
Hi,

there is no 'best' fs.

Except for boot. Boot should always be ext2. Everything else is just overkill.

ext3 is nice for backward compatibility.

reiserfs is nice, if you have lots and lots of small files (like me), because 
it saves a lot of space.

xfs is nice, if you deal with big files regularly, but it does not like sudden 
poweroffs, and had the habit of overwriting damaged files witzh zeros - 
a 'security' feature. So /etv/passwd or similar sensitive files do not show 
up somewhere, where they don't belong. I don't know, if it still does this, 
but some people lost precious data that way.

jfs... well, there is nothing special about jfs. I just don't know anybody who 
uses it.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpufreq and 2006.0

2006-05-04 Thread William Kenworthy
command not found.

There is a 'cpufreq-selector', but it returns no cpufreq support - are
there modules that should be loaded?

BillK


On Thu, 2006-05-04 at 13:46 +0200, Norman Rieß wrote:
  I am using the 2006.0 livecd on a sony vaio to copy across an existing
  install.
 
  It appears that the standard setting for 2006.0 on this machine has set
  the 1.2Ghz processor to less than 600Mhz. cpufreq appears to be on the
  livecd but refuses to change the speed.
 
  Any hints on how to turn up the wick on this?
 
  BillK
 
  --
  William Kenworthy [EMAIL PROTECTED]
  Home!
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 Hi
 
 what does cpufreq-info say?
 
 Have you tried cpufreq-set -g ondemand or cpufreq-set -g performance?
 
 Norman
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] blocking xft on fresh install

2006-05-04 Thread Allan Spagnol Comar

Hi, I am having a strange behavior on a gentoo x86 fresh install. Iam
trying to emerge gnome and I have the following message at top of
emerge -pv gnome
[blocks B ] virtual/xft (is blocking x11-base/xorg-x11-6.8.2-r7)

Don´t have a clue of what is happening and could not found nothing at
gentoo foruns 

Anyone know what I have done wrong ?

my use flags are:
USE=X gtk gnome -kde -qt logrotate sse sse2 mmx 3dnow 3dnowext alsa
cdb cdparanoia cdr dvd dvdr gpm lm_sensors mp3 mpeg ncurses nfs ogg
openal opengl usb xml2 win32codecs apache2 vim

any clue ?
--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpufreq and 2006.0

2006-05-04 Thread Norman Rieß
 command not found.

 There is a 'cpufreq-selector', but it returns no cpufreq support - are
 there modules that should be loaded?

 BillK

Not really.
In this HowTo (Point 3)
http://www.gentoo.org/doc/en/power-management-guide.xml
this stuff is compiled in the kernel.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia-kernel vs. gentoo-sources

2006-05-04 Thread Hemmann, Volker Armin
On Thursday 04 May 2006 09:59, S. Schwartz wrote:
 Glenn Enright wrote:
  Nvidia dont release the source for this driver, which makes it difficult
  for others to patch it, even if they new how the card internals worked
  ;).

 As far as I understand, the binary driver itself is not patched. The
 patching concerns the way it is integrated into your system (e.g.
 symbols and certain function calls, of course kernel related stuff) --
 and there are source files for that. That's what is being compiled by
 emerge. The problem with the function/symbol pci_find_class has occured
 before with an older version of nvidia-kernel and was patched
 successfully. So, I guess it's just a matter of time and patching
 experience.

 But because of the reasons Richard wrote/summarized, it's not looking
 very good :-/

  Does the xorg nv driver do what you need?

 Fortunately yes. I can start X an do all 2D-things. For the time being
 I'll have to live with that.

 So, I guess my search for some help has come to a dead end. Thank you
 for all your suggestions and information. Let's hope for better Nvidia
 support in the future.


Do you have read this thread?
http://www.nvnews.net/vbulletin/showthread.php?t=67068
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpufreq and 2006.0

2006-05-04 Thread William Kenworthy
From what I can see of the livecd kernel, its there (and at least
partially modular), but is not recognising the sonys speedstep.  I am
not having much luck with google.  The cpufreq tools dont appear to be
present which may be a problem.  I am groping a bit in the dark here!

I looked at the doc below some time back and decided that cpufreq was a
joke and went with speedfreq - unfortunatly a bad choice as gentoo
doesnt support it any more :(



On Thu, 2006-05-04 at 14:28 +0200, Norman Rieß wrote:
  command not found.
 
  There is a 'cpufreq-selector', but it returns no cpufreq support - are
  there modules that should be loaded?
 
  BillK
 
 Not really.
 In this HowTo (Point 3)
 http://www.gentoo.org/doc/en/power-management-guide.xml
 this stuff is compiled in the kernel.
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Dave Jones
Bo Andresen wrote on 04/05/06 12:44:
 On Thursday 04 May 2006 12:08, Dave Jones wrote:

As a matter of curiosity, what errors did you get when you tried
en_GB.utf8 on your system?

 $ LC_ALL=en_GB.utf8 oowriter2
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = en_GB.utf8,
 LANG = (unset)
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 I18N: Operating system doesn't support locale 

 IIRC back when I followed the UTF-8 guide localedef complained that some data 
 for creating the en_GB.UTF-8 locale was missing. It seems that the issue has 
 been resolved since then. The following command fixed the problem so 
 en_GB.utf8 is working for me too now:

 # localedef -i en_GB -f UTF-8 en_GB.UTF-8

I didn't get these errors when I ran the oowriter2 command above, so I
guess my localdef for the en_GB.utf8 must have been OK.

Case closed, an irritating problem fixed.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] blocking xft on fresh install

2006-05-04 Thread Christopher E

Hello All,

I also got the same issue when trying to install gnome, hal, dbus. 
The following error happens for someone that is helping me when he did

a search for this thing:

virtual/xft
 Latest version available: 6.8
 Latest version installed: 6.8.2-r6
 Size of downloaded files:  [no/bad digest]
 Homepage:http://www.gentoo.org/proj/en/desktop/x/x11/
 Description: Virtual for the Xft font library
 License: GPL-2

He also gets this when doing a emerge:
emerge -pv xft

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] virtual/xft-6.8  0 kB

Total size of downloads: 0 kB

I also have tryed doing a unmerge like this:
emerge -av --unmerge virtual/xft and also tryed emerge -av
--unmerge virtual/xft I get that is not found in other words

Any ideas on this would be great.

Sincerely,
Christopher




On 5/4/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote:

Hi, I am having a strange behavior on a gentoo x86 fresh install. Iam
trying to emerge gnome and I have the following message at top of
emerge -pv gnome
[blocks B ] virtual/xft (is blocking x11-base/xorg-x11-6.8.2-r7)

Don´t have a clue of what is happening and could not found nothing at
gentoo foruns 

Anyone know what I have done wrong ?

my use flags are:
USE=X gtk gnome -kde -qt logrotate sse sse2 mmx 3dnow 3dnowext alsa
cdb cdparanoia cdr dvd dvdr gpm lm_sensors mp3 mpeg ncurses nfs ogg
openal opengl usb xml2 win32codecs apache2 vim

any clue ?
--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread A. R.

Hi,

I am having a problem with CUPS. (I think)
I have Gentoo on my laptop and I was able to print just fine to any of
the network printers here at work, but all of a sudden this is not
working anymore.
When I try to print, it looks like the job is being sent to the
printer, but nothing comes out of it.
Now, I am the type that updates Gentoo pretty much every other day,
so I am sure I must have broken something in one of the last
updates...

Here is what I found in the /var/logs/cups/error_log file:

log snip

Adding start banner page none to job 336.
I [03/May/2006:16:49:23 -0400] Adding end banner page none to job 336.
I [03/May/2006:16:49:23 -0400] Job 336 queued on 'Happy' by 'ar'.
I [03/May/2006:16:49:23 -0400] Started filter
/usr/lib/cups/filter/pstops (PID 12592) for job 336.
I [03/May/2006:16:49:23 -0400] Started filter
/usr/lib/cups/filter/foomatic-rip (PID 12593) for job 336.
I [03/May/2006:16:49:23 -0400] Started backend
/usr/lib/cups/backend/socket (PID 12594) for job 336.
E [03/May/2006:16:49:23 -0400] PID 12593 stopped with status 22!


log snip ends


I have been using Gentoo for the past 2 years and I never had a
problem like this before...

I have searched in Google with no luck.
Could somebody please help?

Thank you,

- AR

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Dave Jones
A. R. wrote on 04/05/06 16:18:

 I am having a problem with CUPS. (I think)
 I have Gentoo on my laptop and I was able to print just fine to any of
 the network printers here at work, but all of a sudden this is not
 working anymore.

 When I try to print, it looks like the job is being sent to the
 printer, but nothing comes out of it.

 Now, I am the type that updates Gentoo pretty much every other day,
 so I am sure I must have broken something in one of the last
 updates...

 Here is what I found in the /var/logs/cups/error_log file:

 log snip

 Adding start banner page none to job 336.
 I [03/May/2006:16:49:23 -0400] Adding end banner page none to job 336.
 I [03/May/2006:16:49:23 -0400] Job 336 queued on 'Happy' by 'ar'.
 I [03/May/2006:16:49:23 -0400] Started filter
 /usr/lib/cups/filter/pstops (PID 12592) for job 336.
 I [03/May/2006:16:49:23 -0400] Started filter
 /usr/lib/cups/filter/foomatic-rip (PID 12593) for job 336.
 I [03/May/2006:16:49:23 -0400] Started backend
 /usr/lib/cups/backend/socket (PID 12594) for job 336.
 E [03/May/2006:16:49:23 -0400] PID 12593 stopped with status 22!

 log snip ends

 I have been using Gentoo for the past 2 years and I never had a
 problem like this before...

Are your using HP printers, and if so, have you recently switched from
using hpoj+hpijs to using the newer hplip package which is supposed to
replace the old combination?

If this is the case, we're having the same problem, which seems to be
with hplip-0.9.7-r3.  I haven't found a solution to the problem yet.

According to the doc, you *must* have ppds in your USE flags for hplip
to allow it to generate the .ppd files.

FWIW, here are my USE flags for cups and hplip:

net-print/cups-1.1.23-r7  -gnutls +nls +pam +samba +slp +ssl

net-print/hplip-0.9.7-r3  +X +cups +foomaticdb +ppds +qt +scanner +snmp +usb

hpijs blocks hplip, and I believe that (unfortunately) hpoj is now
hard-masked, so it will be difficult to fall back to using the old
(working) hpoj ptal interface.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Petr Kocmid
Sometimes, due poor maintnance of low level foomatic driver in portage an 
updated foomatic driver dies silently and cups daemon thinks everything is 
finished printed fine, or if one is lucky as you, ends with dead process 
logged. You should enable full debug level for cupsd log to identify the 
exact cause of problem, find the error then I could give you an advice how to 
correct. LogLevel debug or debug2 in /etc/cups/cupsd.conf

Last time it happened to me, the reason was a missing link to a binary which 
is called by foomatic and was moved somewhere else. I don't remember exact 
details. Previous foomatic failures had different cause but identical 
behavior (no symptomes at all), so I suggest to have at least debug level on 
all the time.

After you get a working setup, consider locking current versions of foomatic 
and cups via masking any future version, on laptop you will have no security 
problem if some vulnerbilty will be discovered in them so you have no real 
need to update.

--

Petr

On Thursday 04 May 2006 16:18, A. R. wrote:
 Hi,

 I am having a problem with CUPS. (I think)
 I have Gentoo on my laptop and I was able to print just fine to any of
 the network printers here at work, but all of a sudden this is not
 working anymore.
 When I try to print, it looks like the job is being sent to the
 printer, but nothing comes out of it.
 Now, I am the type that updates Gentoo pretty much every other day,
 so I am sure I must have broken something in one of the last
 updates...

 Here is what I found in the /var/logs/cups/error_log file:

 log snip

 Adding start banner page none to job 336.
 I [03/May/2006:16:49:23 -0400] Adding end banner page none to job 336.
 I [03/May/2006:16:49:23 -0400] Job 336 queued on 'Happy' by 'ar'.
 I [03/May/2006:16:49:23 -0400] Started filter
 /usr/lib/cups/filter/pstops (PID 12592) for job 336.
 I [03/May/2006:16:49:23 -0400] Started filter
 /usr/lib/cups/filter/foomatic-rip (PID 12593) for job 336.
 I [03/May/2006:16:49:23 -0400] Started backend
 /usr/lib/cups/backend/socket (PID 12594) for job 336.
 E [03/May/2006:16:49:23 -0400] PID 12593 stopped with status 22!


 log snip ends


 I have been using Gentoo for the past 2 years and I never had a
 problem like this before...

 I have searched in Google with no luck.
 Could somebody please help?

 Thank you,

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



[gentoo-user] Re: [OT] kill a child and suicide

2006-05-04 Thread Moshe Kaminsky
* Jorge Almeida [EMAIL PROTECTED] [03/05/06 23:30]:
 On Wed, 3 May 2006, Moshe Kaminsky wrote:
 
 * Jorge Almeida [EMAIL PROTECTED] [03/05/06 19:30]:
 On Wed, 3 May 2006, Moshe Kaminsky wrote:
 
 You can use 'kill 0' to send a signal to your own process group.
 Something like this:
 
 #!/bin/sh
 trap 'kill 0;exit' TERM
 echo before
 ( sleep 30; echo inside )
 echo after
 
 No use. trap will wait till the running child is completed, which is not 
 what
 I want (as reply of Hans-Werner).
 
 Well, I just tried it, and it worked.
 
 You mean the parent received the TERM signal while sleep'ing 30 and the
 child terminated before the 30 seconds were through?
 I intend to use the script with a long rsync, which must terminate when
 receiving the signal.
 I tested your script with 3000 instead of 30, and the script outputs
 after and terminates when I send it a TERM; however, a process sleep
 3000 still comes out in the output of ps auxf (as an orphan), I had to
 kill it explicitly.

Funny, I just tried the same, and it worked. It also didn't print any 
after (appropriately, since the sig handler includes 'exit'), and I 
didn't find any sleep process. Maybe it was from some different 
experiment?

Moshe

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

-- 
I love deadlines. I like the whooshing sound they make as they fly by. 
-- Douglas Adams

Moshe Kaminsky [EMAIL PROTECTED]
Home: 08-9456841



pgpUNCcJZXf0C.pgp
Description: PGP signature


Re: [gentoo-user] Apache + Per User Directory configuration

2006-05-04 Thread Matthias Bethke
Hi Ognjen,
on Monday, 2006-05-01 at 11:22:23, you wrote:
 I have spent most of the day getting per user web serving to work
 (/home/$user/public_html = http://server/~$user) but was constantly
 getting 401 Forbidden errors with apache2.
 
 After lots of hunting I found that you have to set the permissions for
 the user directories to 755 (a+rx). So now it works, but all the users
 can see each others home directories, which is unacceptable for this
 server.
 
 So I am here to ask if anyone cen recommend a more secure way of doing
 this. I 

My web server is still running an old SuSE system, but this should be
basically the same. There are two ways to solve this. If you use the
public_html subdirectory approach, $HOME only has to be o+x, so others
can *enter* a user's directory but not *view* its contents. That should
be acceptable if people use a safe umask. 
The reason we changed it a while ago was that we wanted to allow CGIs,
at least for certain users some of which didn't know that much about
input sanitizing 'n stuff, so a hacker could try to read other people's
files by guessing their names---the web server would need access to the
whole NFS-mounted parent of everybody's home. So now $HOME/public_html
is just a link to /www/home/$USER which lives on the web server and is
exported from there. That way a rogue CGI script could read other
people's web pages which is far less critical. Of course you still have
to check once in a while so you don't expose your passwd file or
something.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpALPfUNyEug.pgp
Description: PGP signature


Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Frédéric Grosshans
Le jeudi 04 mai 2006 à 13:49 +0200, Hemmann, Volker Armin a écrit :

 reiserfs is nice, if you have lots and lots of small files (like me), because 
 it saves a lot of space.

However, reiserfs suffers from fragmentation in the long term. A laptop
(slow disk) with a single reiserfs partition and a daily updates gentoo
becomes slow after  two twelve months.

  At least it's what happened to mine...

Fred

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I can't get my wengophone account

2006-05-04 Thread Matthias Bethke
Hi Ptitjack,
on Tuesday, 2006-05-02 at 12:24:01, you wrote:
 I just emerged Wengophone.
 When I run Wengophone as user, I have to get my first Wengo account.
 A new window is opening with : You don't have a Wengo account ? Click here.
 Problem, the link does not work ! When I click on it, nothing happens !
 What can I do ??

I seem to remember I had the same problem. IIRC, what I did was to dig
in the sources until I found the link that's tied to this button
(simple: find /your/src/dir -name *.c|xargs grep button text) and
entered it into a browser by hand. I don't really have a clue about QT
programming so I didn't try to fix it.

HTH
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpf93jtjZCTR.pgp
Description: PGP signature


Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Frédéric Grosshans
Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :
 Sometimes, due poor maintnance of low level foomatic driver in portage an 
 updated foomatic driver dies silently and cups daemon thinks everything is 
 finished printed fine, or if one is lucky as you, ends with dead process 
 logged. 
...
Thanks. I had the same problem, which has been solved by :
# echo =net-print/foomatic-db-20050910  /etc/portage/package.mask
# emerge -vau foomatic-db
# /etc/init.d/cupsd restart

I wouldn't have tried without your expalnation .

  Fred


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Jure Varlec
On Thursday 04 May 2006 18:26, Michael Sullivan wrote:
 Is there a way to defragment a rieserfs file system?

From Wikipedia:
 There is no known way to defragment a ReiserFS filesystem, aside from a full 
dump and restore. However ReiserFS v4 has a repacker that takes care of file 
fragmentation.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Frédéric Grosshans
Le jeudi 04 mai 2006 à 18:32 +0200, Frédéric Grosshans a écrit :
 Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :
  Sometimes, due poor maintnance of low level foomatic driver in portage an 
  updated foomatic driver dies silently and cups daemon thinks everything is 
  finished printed fine, or if one is lucky as you, ends with dead process 
  logged. 
 ...
 Thanks. I had the same problem, which has been solved by :
 hacky solution 

In fact, we've been hit by bug 131533 :
http://bugs.gentoo.org/show_bug.cgi?id=131533

the correct solution is to re emerge foomatic-filters .

This solved the problem for me (hp 1300)

Hope this helps,

Fred

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Frédéric Grosshans
Le jeudi 04 mai 2006 à 11:26 -0500, Michael Sullivan a écrit :

 Is there a way to defragment a rieserfs file system?

http://en.wikipedia.org/wiki/ReiserFS#Disadvantages says no, unless full
dump and restore i.e. tar everything, clean your disk, and untar it ...

   Fred

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eth0 not up when init script returns?

2006-05-04 Thread Hani Duwaik
On 5/4/06, Matthias Bethke [EMAIL PROTECTED] wrote:
I just noticed a strange problem on our server that's just been switchedto Gentoo:It's running dhcpd, which init starts right after bringing up thenetwork interface. But dhcpd quits, complaining it couldn't listen on
eth0 because it had address 0.0.0.0. So it seems the interface isn'tfully up yet when the init script returns---probably because theBroadcom Tigon driver seems to be on the slow side when changing
parameters, while the CPU is plenty fast. I've now tried to fix it witha postup() function that simply does a sleep 3, but that's prettyhacky IMHO. Isn't thatere a way to do it properly? I think the script
should ensure its jobs are finished before it returns in any case.Have you looked through the '/etc/conf.d/net.example' file? I'm not too familiar with DHCP, but the net.example file has this entry:


	
	
	
	
	
	

# For passing custom options to dhcpcd
use something like the following.  This
# example reduces the timeout for
retrieving an address from 60 seconds (the
# default) to 10 seconds.
#dhcpcd_eth0=-t 10
=Not sure if it will help, but maybe increasing the wait time might work.-Hani-- If, of the many truths, you select only one and follow it blindly, it will become a falsehood, and you a fanatic.


[gentoo-user] glibc 2.4 - emere -e world necessary?

2006-05-04 Thread Alexander Skwar

Hello!

I'd now like to upgrade to glibc 2.4 as well. After having installed glibc 2.4,
is it required to have a full emerge -e world run; ie. rebuild the entire
system?

Thanks,

Alexander Skwar
--
NATHAN ... your PARENTS were in a CARCRASH!!  They're VOIDED -- They
COLLAPSED They had no CHAINSAWS ... They had no MONEY MACHINES ... They
did PILLS in SKIMPY GRASS SKIRTS ... Nathan, I EMULATED them ... but
they were OFF-KEY ...
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] blocking xft on fresh install

2006-05-04 Thread Christopher E

Just so you know, there is a bug at bugzilla now and here it is just
incase you don't know

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

Sincerely,
Christopher

On 5/4/06, Christopher E [EMAIL PROTECTED] wrote:

Hello All,

I also got the same issue when trying to install gnome, hal, dbus.
The following error happens for someone that is helping me when he did
a search for this thing:

virtual/xft
  Latest version available: 6.8
  Latest version installed: 6.8.2-r6
  Size of downloaded files:  [no/bad digest]
  Homepage:http://www.gentoo.org/proj/en/desktop/x/x11/
  Description: Virtual for the Xft font library
  License: GPL-2

He also gets this when doing a emerge:
emerge -pv xft

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] virtual/xft-6.8  0 kB

Total size of downloads: 0 kB

I also have tryed doing a unmerge like this:
emerge -av --unmerge virtual/xft and also tryed emerge -av
--unmerge virtual/xft I get that is not found in other words

Any ideas on this would be great.

Sincerely,
Christopher




On 5/4/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
 Hi, I am having a strange behavior on a gentoo x86 fresh install. Iam
 trying to emerge gnome and I have the following message at top of
 emerge -pv gnome
 [blocks B ] virtual/xft (is blocking x11-base/xorg-x11-6.8.2-r7)

 Don´t have a clue of what is happening and could not found nothing at
 gentoo foruns 

 Anyone know what I have done wrong ?

 my use flags are:
 USE=X gtk gnome -kde -qt logrotate sse sse2 mmx 3dnow 3dnowext alsa
 cdb cdparanoia cdr dvd dvdr gpm lm_sensors mp3 mpeg ncurses nfs ogg
 openal opengl usb xml2 win32codecs apache2 vim

 any clue ?
 --
 An application asked:
 Requeires Windows 9x, NT4 or better,
 so I´ve installed Linux

 --
 gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread A. R.

  Sometimes, due poor maintnance of low level foomatic driver in portage an
  updated foomatic driver dies silently and cups daemon thinks everything is
  finished printed fine, or if one is lucky as you, ends with dead process
  logged.
 ...
 Thanks. I had the same problem, which has been solved by :
 hacky solution 

In fact, we've been hit by bug 131533 :
http://bugs.gentoo.org/show_bug.cgi?id=131533

the correct solution is to re emerge foomatic-filters .

This solved the problem for me (hp 1300)

Hope this helps,

Fred



Yes it did help!
Now I am printing again :-)

Thank you all, for both the explanation and the solution...


Best regards,

- AR

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] kill a child and suicide

2006-05-04 Thread Hans-Werner Hilse
Hi,

On Thu, 4 May 2006 18:55:28 +0300
Moshe Kaminsky [EMAIL PROTECTED] wrote:

 Funny, I just tried the same, and it worked. It also didn't print any 
 after (appropriately, since the sig handler includes 'exit'), and I 
 didn't find any sleep process. Maybe it was from some different 
 experiment?

I don't think so. You probably sent the signal to the child process
(CTRL-C, perhaps?) and the script at once, not to the parent only.

proper way would be to try it like this:

./test.sh 
# wait some short time
kill -TERM $!

After that I see that the child process is still running.

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



Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Richard Fish

On 5/4/06, Jure Varlec [EMAIL PROTECTED] wrote:

On Thursday 04 May 2006 18:26, Michael Sullivan wrote:
 Is there a way to defragment a rieserfs file system?

From Wikipedia:
 There is no known way to defragment a ReiserFS filesystem, aside from a full
dump and restore. However ReiserFS v4 has a repacker that takes care of file
fragmentation.



From /usr/share/doc/reiserfs4progs-1.0.5/TODO.gz:


* online/offline resizer/repacker, manual page resizefs.

So looks like even reiser4 cannot be defragemented without a dump/restore cycle.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Alexander Skwar

Frédéric Grosshans wrote:

Le jeudi 04 mai 2006 à 13:49 +0200, Hemmann, Volker Armin a écrit :

reiserfs is nice, if you have lots and lots of small files (like me), because 
it saves a lot of space.


However, reiserfs suffers from fragmentation in the long term. A laptop
(slow disk) with a single reiserfs partition and a daily updates gentoo
becomes slow after  two twelve months.


Well, for reasons like this, you should not use just one huge
filesystem, but split them in useful parts.

Alexander Skwar
--
Fain would I climb, yet fear I to fall.
-- Sir Walter Raleigh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Teresa and Dale
Frédéric Grosshans wrote:

Le jeudi 04 mai 2006 à 11:26 -0500, Michael Sullivan a écrit :

  

Is there a way to defragment a rieserfs file system?



http://en.wikipedia.org/wiki/ReiserFS#Disadvantages says no, unless full
dump and restore i.e. tar everything, clean your disk, and untar it ...

   Fred

  


How does one see if it is fragmented or not?  I'm sure there is a
command somewhere.  Would this command be on the Gentoo install CD, the
2005 version?

Thanks

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] blocking xft on fresh install

2006-05-04 Thread Allan Spagnol Comar

Thanks Christopher, i will try the bug solution later.

On 5/4/06, Christopher E [EMAIL PROTECTED] wrote:

Just so you know, there is a bug at bugzilla now and here it is just
incase you don't know

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

Sincerely,
Christopher

On 5/4/06, Christopher E [EMAIL PROTECTED] wrote:
 Hello All,

 I also got the same issue when trying to install gnome, hal, dbus.
 The following error happens for someone that is helping me when he did
 a search for this thing:

 virtual/xft
   Latest version available: 6.8
   Latest version installed: 6.8.2-r6
   Size of downloaded files:  [no/bad digest]
   Homepage:http://www.gentoo.org/proj/en/desktop/x/x11/
   Description: Virtual for the Xft font library
   License: GPL-2

 He also gets this when doing a emerge:
 emerge -pv xft

 These are the packages that I would merge, in order:

 Calculating dependencies ...done!
 [ebuild  N] virtual/xft-6.8  0 kB

 Total size of downloads: 0 kB

 I also have tryed doing a unmerge like this:
 emerge -av --unmerge virtual/xft and also tryed emerge -av
 --unmerge virtual/xft I get that is not found in other words

 Any ideas on this would be great.

 Sincerely,
 Christopher




 On 5/4/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
  Hi, I am having a strange behavior on a gentoo x86 fresh install. Iam
  trying to emerge gnome and I have the following message at top of
  emerge -pv gnome
  [blocks B ] virtual/xft (is blocking x11-base/xorg-x11-6.8.2-r7)
 
  Don´t have a clue of what is happening and could not found nothing at
  gentoo foruns 
 
  Anyone know what I have done wrong ?
 
  my use flags are:
  USE=X gtk gnome -kde -qt logrotate sse sse2 mmx 3dnow 3dnowext alsa
  cdb cdparanoia cdr dvd dvdr gpm lm_sensors mp3 mpeg ncurses nfs ogg
  openal opengl usb xml2 win32codecs apache2 vim
 
  any clue ?
  --
  An application asked:
  Requeires Windows 9x, NT4 or better,
  so I´ve installed Linux
 
  --
  gentoo-user@gentoo.org mailing list
 
 


--
gentoo-user@gentoo.org mailing list





--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Dave Jones
Frédéric Grosshans wrote on 04/05/06 18:32:
 Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :

Sometimes, due poor maintnance of low level foomatic driver in portage an 
updated foomatic driver dies silently and cups daemon thinks everything is 
finished printed fine, or if one is lucky as you, ends with dead process 
logged. 

 Thanks. I had the same problem, which has been solved by :
 # echo =net-print/foomatic-db-20050910  /etc/portage/package.mask
 # emerge -vau foomatic-db
 # /etc/init.d/cupsd restart

The downgrade to the lower level of foomatic-db gives problems with the
/etc/make.conf FEATURE=sandbox.

However, this problem can be circumvented by (temporarily) replacing
FEATURE=sandbox, with FEATURE=-sandbox -usersandbox in
/etc/make.conf.   Do this at your own risk!

However, the real solution to the problem is to re-emerge
foomatic-filters, as suggested by Frédéric in a later post.

The cause of the problem is (as he said) documented in bug 131533:

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

Either solution, downgrading foomatic-db or re-emerging foomatic-filters
works fine.

Thanks to all for their help.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] kill a child and suicide

2006-05-04 Thread Willie Wong
On Thu, May 04, 2006 at 06:55:28PM +0300, Penguin Lover Moshe Kaminsky squawked:
 Funny, I just tried the same, and it worked. It also didn't print any 
 after (appropriately, since the sig handler includes 'exit'), and I 
 didn't find any sleep process. Maybe it was from some different 
 experiment?
 

How did you try actually? I got curious so I took a look myself. 

Here's what I did:

I ran
  [01:25 PM]wwong ~ $ bash -c trap 'kill 0;exit' TERM; echo before; ( sleep 
45; echo inside ) ; echo after
in a bash session. Associated with it, of course, are two bash processes (the 
one 
that executes the entire statement and the one that runs the bits inside the 
parenthesis (a subshell)) and a sleep process

(trimmed output from 'ps auxf')
21226 ?  /usr/bin/rxvt -rv
26580 pts/1   \_ bash
24292 pts/1   \_ bash -c trap 'kill 0;exit' TERM; echo before; ( sleep 45; 
echo inside ) ;
22743 pts/1   \_ bash -c trap 'kill 0;exit' TERM; echo before; ( sleep 
45; echo inside
13126 pts/1   \_ sleep 45

Now, I send SIGTERM to the various processes:

if I send 'kill -15 13126', as expected, the sleep process would exit, bash 
would
complain that the process terminated, it would display 
  before
  [bash complaint]
  inside
  after
if I send 'kill -15 22743', the bash process that does the sleeping part would 
terminate, leaving an orphaned 'sleep' process. The output on the initial 
terminal would be
  before
  after
if I send 'kill -15 24292', the process doesn't react at first. It would exit 
after
the 22743 process completed. So it would display 'before', wait 45 seconds, and 
then display 'inside' and then stops. 

W
-- 
I cannot go to school today  
Said little Peggy Ann McKay.
I have the measles and the mumps,   
A gash, a rash and purple bumps.
My mouth is wet, my throat is dry.
I'm going blind in my right eye.  
My tonsils are as big as rocks,
I've counted sixteen chicken pox
And there's one more-that's seventeen,
And don't you think my face looks green?
My leg is cut, my eyes are blue 
It might be instamatic flu.
I cough and sneeze and gasp and choke,
I'm sure that my left leg is broke
My hip hurts when I move my chin,
My belly button's caving in,
My back is wrenched, my ankle's sprained,
My 'pendix pains each time it rains.
My toes is cold, my toes are numb,
I have a sliver in my thumb.
My neck is stiff, my voice is weak,
I hardly whisper when I speak.
My tongue is filling up my mouth,
I think my hair is falling out.  
My elbow's bent, my spine ain't straight,
My temperature is one-o-eight.
My brain is shrunk, I cannot hear,
There's a hole inside my ear.  
I have a hangnail, and my heart is - What?
What's that? What's that you say?
You say today is ...Saturday?
Goodbye, I'm going out to play!
Sortir en Pantoufles: up 173 days,  9:53
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How do I mount a compact flash?

2006-05-04 Thread K. Mike Bradley








How do I mount a compact flash?








Re: [gentoo-user] eth0 not up when init script returns?

2006-05-04 Thread Vladimir G. Ivanovic
I have a similar problem to Matthias. /etc/init.d/net.eth0 no longer
returns, so spamd, sendmail, saslauthd, etc. never start up. It used to
work...  In my case, the interface is up, but `/etc/init.d/net.eth0
status' says starting. If I try to start, say, sendmail, it says

WARNING:  sendmail is scheduled to start when net.eth0 has started.

and it never starts. Something has changed in the last couple of weeks,
and I don't know what it is. I'm using hotplug.

Thanks for any help.

--- Vladimir

Gentoo 2.6.16-r6, fully updated.

On Thu, 2006-05-04 at 11:19 -0600, Hani Duwaik wrote:
 
 
 On 5/4/06, Matthias Bethke [EMAIL PROTECTED] wrote:
 I just noticed a strange problem on our server that's just
 been switched
 to Gentoo:
 It's running dhcpd, which init starts right after bringing up
 the
 network interface. But dhcpd quits, complaining it couldn't
 listen on 
 eth0 because it had address 0.0.0.0. So it seems the interface
 isn't
 fully up yet when the init script returns---probably because
 the
 Broadcom Tigon driver seems to be on the slow side when
 changing 
 parameters, while the CPU is plenty fast. I've now tried to
 fix it with
 a postup() function that simply does a sleep 3, but that's
 pretty
 hacky IMHO. Isn't thatere a way to do it properly? I think the
 script 
 should ensure its jobs are finished before it returns in any
 case.
 
 Have you looked through the '/etc/conf.d/net.example' file?  I'm not
 too familiar with DHCP, but the net.example file has this entry: 
 
  
 
 # For passing custom options to dhcpcd use something like the
 following. This
 
 # example reduces the timeout for retrieving an address from 60
 seconds (the
 
 # default) to 10 seconds.
 
 #dhcpcd_eth0=-t 10
 
 =
 
 Not sure if it will help, but maybe increasing the wait time might
 work.
 
 -Hani
 -- 
 If, of the many truths, you select only one and follow it blindly, it
 will become a falsehood, and you a fanatic.

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Michael W. Holdeman
On Thursday 04 May 2006 12:44, Frédéric Grosshans wrote:
 Le jeudi 04 mai 2006 à 18:32 +0200, Frédéric Grosshans a écrit :
  Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :
   Sometimes, due poor maintnance of low level foomatic driver in portage
   an updated foomatic driver dies silently and cups daemon thinks
   everything is finished printed fine, or if one is lucky as you, ends
   with dead process logged.
 
  ...
  Thanks. I had the same problem, which has been solved by :

  hacky solution 

 In fact, we've been hit by bug 131533 :
 http://bugs.gentoo.org/show_bug.cgi?id=131533

 the correct solution is to re emerge foomatic-filters .

 This solved the problem for me (hp 1300)

That did not solve the problem for me, my print server just won't print 
anymore, nothing in teh error logs, and I have debug level set. kprinter just 
shows processing forever.

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.15-ck2   |
VMWare Workstation 5.5.1 vmware.com |
Win4LinPro 6.1.1-03 win4lin.com |
|

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Fernando Ferrari








mkdir /mnt/flash

mount /dev/sda1 /mnt/flash



remplace
sda1 for the correct





Saludos

Fernando Ferrari

Desarrollador Linux

http://fernandorferrari.blogspot.com













De: K. Mike Bradley
[mailto:[EMAIL PROTECTED] 
Enviado el: Jueves, 04 de Mayo de
2006 02:59 p.m.
Para: gentoo-user@gentoo.org
Asunto: [gentoo-user] How do I
mount a compact flash?





How do I mount a compact
flash?








RE: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread K. Mike Bradley










It gives me an error saying the file
system type must be specified.



I did:



Mount t vfat /dev/sdb /mnt/flash



And it says bad block



Could the file system on this CF device be
proprietary?



Its from a camera.














RE: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic




 $ dir /dev/sd*
ls: /dev/sd*: No such file or directory

--- Vladimir

On Thu, 2006-05-04 at 15:24 -0300, Fernando Ferrari wrote:

mkdir /mnt/flash

mount /dev/sda1 /mnt/flash



remplace sda1 for the correct





Saludos

Fernando Ferrari

Desarrollador Linux

http://fernandorferrari.blogspot.com











De: K. Mike Bradley [mailto:[EMAIL PROTECTED] 
Enviado el: Jueves, 04 de Mayo de 2006 02:59 p.m.
Para: gentoo-user@gentoo.org
Asunto: [gentoo-user] How do I mount a compact flash?






How do I mount a compact flash?







Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014







[gentoo-user] Re: [OT] kill a child and suicide

2006-05-04 Thread Moshe Kaminsky
* Hans-Werner Hilse [EMAIL PROTECTED] [04/05/06 21:00]:
 Hi,
 
 On Thu, 4 May 2006 18:55:28 +0300
 Moshe Kaminsky [EMAIL PROTECTED] wrote:
 
  Funny, I just tried the same, and it worked. It also didn't print any 
  after (appropriately, since the sig handler includes 'exit'), and I 
  didn't find any sleep process. Maybe it was from some different 
  experiment?
 
 I don't think so. You probably sent the signal to the child process
 (CTRL-C, perhaps?) and the script at once, not to the parent only.
 
 proper way would be to try it like this:
 
 ./test.sh 
 # wait some short time
 kill -TERM $!
 
 After that I see that the child process is still running.

You are right. I was using 'kill -TERM %1', which sends the signal to 
the whole group, I guess. Anyway, I just tried the analogous thing with 
perl, and it does work. I wonder what is the reasoning in the bash case.

Moshe



pgp51eZp2xREW.pgp
Description: PGP signature


[gentoo-user] [OT] ksnapshot delay disabled

2006-05-04 Thread Andrew Gaydenko
For KDE-users:

I'm at ~x86. After some of KDE upgrade (don't remember exactly to wich
version) I have noticed ksnapshot delay-related field (numeric field 
for seconds) is disabled at Region mode. How to restore this feature?


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



[gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread Kevin O'Gorman
In the last few days, connection takes a minute or so to my gentoo box.
It used to be no longer than a namespace lookup. It's not TCP, I think,
because connecting to apache is fast and my web pages bet served
as usual.

What happened to sshd???-- Kevin O'Gorman, PhD


Re: [gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread John Jolet

On Thursday 04 May 2006 13:57, Kevin O'Gorman wrote:
 In the last few days, connection takes a minute or so to my gentoo box.
 It used to be no longer than a namespace lookup.  It's not TCP, I think,
 because connecting to apache is fast and my web pages bet served
 as usual.

 What happened to sshd???

 --
 Kevin O'Gorman, PhD
is UseDNS set to yes?  maybe that value changed, or for whatever reason your 
looksup are no longer working.  sounds like a dns timeout.
-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I can't get my wengophone account

2006-05-04 Thread Ptitjack
Matthias Bethke a gentiment tapote:
 Hi Ptitjack,
 on Tuesday, 2006-05-02 at 12:24:01, you wrote:
   
 I just emerged Wengophone.
 When I run Wengophone as user, I have to get my first Wengo account.
 A new window is opening with : You don't have a Wengo account ? Click here.
 Problem, the link does not work ! When I click on it, nothing happens !
 What can I do ??
 

 I seem to remember I had the same problem. IIRC, what I did was to dig
 in the sources until I found the link that's tied to this button
 (simple: find /your/src/dir -name *.c|xargs grep button text) and
 entered it into a browser by hand. I don't really have a clue about QT
 programming so I didn't try to fix it.

 HTH
   Matthias
   
Hi Matthias,

Well, I found a web link where I could get my wengo account.
Now I think that Wengophone links can just launch  konqueror  but no
other webrowser (ie Firefox).
So my problem is now solved.
Thanks a lot for having answered me.

Best regards,

 --- Ptitjack--


  ^
  ^^^
  ^
(  0   0  )
 \/
  ----
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] trouble running X clients as root

2006-05-04 Thread Tamas Sarga

Robert Persson wrote:
I am trying to run gdmsetup and getting can't find display type errors. 


Here is what happened when I try to run it from an xterm:

[EMAIL PROTECTED] ~ $ sux
Password:
zebedee robert # gdmsetup

(gdmsetup:6618): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols 
specified are supported and host-based authentication failed.

Could not access GDM configuration file.
zebedee robert # exit
exit
[EMAIL PROTECTED] ~ $ sudo gdmsetup
Password:

(gdmsetup:6828): Gtk-WARNING **: cannot open display:


I then tried, as a test, to open a root xterm using sux and I got the 
following error:


sux
Password:
zebedee robert # xterm
Warning: Tried to connect to session manager, Authentication Rejected, 
reason : None of the authentication protocols specified are supported and 
host-based authentication failed



However the root xterm opened up anyway. It failed when I tried to sudo an 
xterm:


sudo xterm
Warning: This program is an suid-root program or is being run by the root 
user.

The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
xterm:  DISPLAY is not set


However DISPLAY +is+ set. When I echo $DISPLAY, sudo echo $DISPLAY or sux 
and then echo $DISPLAY I get the same answer--  :0.0


This has got me quite confused. I used not to get these messages when I ran X 
clients as root. Anyone know what is going on here?


Thanks in advance
Robert


Hi,

I tried to reproduce it, but can't. But I dicovered, that `sux` and `sux 
-` is not the same. The help doesn't say anything about - parameter, but 
if I give `env` after `sux` and `sux -` then I found some differences. 
Maybe `sux -` worth a try for you. BTW I can start xterm without any 
error or warning with or without -.
In /etc/X11 I don't find any approrpiate setting. Maybe you could try it 
under TWM.


TIA.
Cheers,
Tamas Sarga
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Daniel da Veiga

On 5/4/06, K. Mike Bradley [EMAIL PROTECTED] wrote:




How do I mount a compact flash?


You get the device that is created by looking at the dmesg output
after you plugin the flash. I'm assuming you have all options set in
your kernel the right way.

After that, you mount it normally. Mine can only be mounted using the
first (and only) partition, so if, for example, /dev/sda doesn't work,
try /dev/sda1.

Good luck,

--
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--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: PLEASE HELP!!! Emerge Isssue Now!

2006-05-04 Thread Mick

On 04/05/06, Michael Sullivan [EMAIL PROTECTED] wrote:


I had to deal with something similar when I was using CableOne.  I
registered my router once and never had problems with it again
afterward, aside from the fact that they charged me $99USD a month for a
static IP.


OUCH!
--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] kill a child and suicide

2006-05-04 Thread Jorge Almeida

On Thu, 4 May 2006, Moshe Kaminsky wrote:


#!/bin/sh
trap 'kill 0;exit' TERM
echo before
( sleep 30; echo inside )
echo after


No use. trap will wait till the running child is completed, which is not
what
I want (as reply of Hans-Werner).




Funny, I just tried the same, and it worked. It also didn't print any
after (appropriately, since the sig handler includes 'exit'), and I
didn't find any sleep process. Maybe it was from some different
experiment?


Just tried again, with /bin/bash and with /bin/sh (and sleep 3000).
It outputs before and hangs while sleeping. Sending TERM to the parent
has no _visible_ immediate effect. After sending TERM to the sleep
3000 process, the output is
./t.sh: line 5:  2572 Terminated  sleep 3000
inside
and the processes exit, which means (I think) that the trap only gets
executed after the child exits (in this case, due to the TERM received
by the sleep... process).
I tried with a sleep interval of 20 seconds and send TERM as before to
the parent, but not to the child. It exits _after_ 20 seconds, with output
before
inside
This seems to agree with the comment of Hans-Werner about the man page.
Can't imagine why it's different to you. Is /bin/sh a symlink to
/bin/bash, or are you using another shell?


--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie partiton type question

2006-05-04 Thread Mick

On 04/05/06, Farhan Ahmed [EMAIL PROTECTED] wrote:



Try changing the permissions of /dev/sda*.. I suggest you do a

chmod 0666 /dev/sda*

[snip . . . ]

Before trying this it may be worth adding auto to your fstab:

/dev/sda/mnt/usbauto,vfat   
noauto,user,noatime 0 0


Since you can mount it r/w as root I readily assume that you have
compiled VFAT in your kernel . . .

Otherwise I can't think of anything else.

HTH.
--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list



[gentoo-user] gcc upgrade, portage niceness and distcc

2006-05-04 Thread Daniel da Veiga

Hello List,

I've been trying to upgrade an really old machine to the new gcc, and
so, following the guide, I'm at the emerge --oneshot
sys-libs/libstdc++-v3 step. This old hardware suits my needs for a
web server and MySQL mirror, but that's about the charge it can
handle, so, I've set PORTAGE_NICENESS to 15, I don't mind if it take a
whole month to compile, but it must be responsive to other processes
all the time.

What I've noticed is that the process is using nice 0 (that pretty
much makes the machine unusable), and distcc is not working, if it
was, I'm pretty sure the time would reduce greatly because other
emerge operations that use it are getting super fast responses thanks
to the distcc and ccache wonders (my host is already upgraded).

Is there a way to compile this or migrate GCC with binary packages or
something like it? I have compatible CHOSTs flags on both machines and
the other one is a fast server.

Any advice would be great.

--
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--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
May  4 11:20:27 scarlatti usb 3-4: new high speed USB device
using ehci_hcd and address 4
May  4 11:20:27 scarlatti usb 3-4: configuration #1 chosen from
1 choice
May  4 11:20:27 scarlatti scsi0 : SCSI emulation for USB Mass
Storage devices
May  4 11:20:27 scarlatti usb-storage: device found at 4
May  4 11:20:27 scarlatti usb-storage: waiting for device to
settle before scanning
May  4 11:20:32 scarlatti Vendor: GS-Magic  Model: stor 1040A
Rev: 0811
May  4 11:20:32 scarlatti Type:   Direct-Access
ANSI SCSI revision: 00
May  4 11:20:32 scarlatti scsi.agent[27629]: disk
at 
/devices/pci:00/:00:03.3/usb3/3-4/3-4:1.0/host0/target0:0:0/0:0:0:0

I had seen this output, but ignored it because there is no indication of
a normal disk device.

--- Vladimir

On Thu, 2006-05-04 at 16:14 -0300, Daniel da Veiga wrote:
 On 5/4/06, K. Mike Bradley [EMAIL PROTECTED] wrote:
 
 
 
  How do I mount a compact flash?
 
 You get the device that is created by looking at the dmesg output
 after you plugin the flash. I'm assuming you have all options set in
 your kernel the right way.
 
 After that, you mount it normally. Mine can only be mounted using the
 first (and only) partition, so if, for example, /dev/sda doesn't work,
 try /dev/sda1.
 
 Good luck,
 
 --
 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--
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't delete CUPS print queue

2006-05-04 Thread Vladimir G. Ivanovic
I can't delete a networked queue because its host no longer exists.

   * foomatic-configure -s cups -R -n [EMAIL PROTECTED]

works, but the queue comes back after ~15 seconds.

Grepping for [EMAIL PROTECTED] in my /etc directory (Gentoo 2.6.x)
doesn't yield any hits. Where is the queue name kept across boots? It's
not in /etc/cups/printers.conf, and it still shows up if I remove it
from /etc/printcap and restart cupsd.

I've tried deleting the queue with Webmin, but that doesn't work either.
If the queue delete command works, the queue comes back. Sometimes it
doesn't work and gives me a can't find host error message.

How do I delete this inordinately persistent queue?

Thanks.

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie partiton type question

2006-05-04 Thread Martin S
Now it seems to be working - thanks.Martin S2006/5/4, Mick [EMAIL PROTECTED]:
On 04/05/06, Farhan Ahmed [EMAIL PROTECTED] wrote: Try changing the permissions of /dev/sda*.. I suggest you do a chmod 0666 /dev/sda*
[snip . . . ]Before trying this it may be worth adding auto to your fstab:/dev/sda/mnt/usbauto,vfatnoauto,user,noatime 0 0Since you can mount it r/w as root I readily assume that you have
compiled VFAT in your kernel . . .Otherwise I can't think of anything else.HTH.--Regards,Mick--gentoo-user@gentoo.org mailing list
-- Regards,Martin S


Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Mick

On 04/05/06, Daniel da Veiga [EMAIL PROTECTED] wrote:

On 5/4/06, K. Mike Bradley [EMAIL PROTECTED] wrote:



 How do I mount a compact flash?

You get the device that is created by looking at the dmesg output
after you plugin the flash. I'm assuming you have all options set in
your kernel the right way.

After that, you mount it normally. Mine can only be mounted using the
first (and only) partition, so if, for example, /dev/sda doesn't work,
try /dev/sda1.


Don't forget to enter in your /etc/fstab:
===
/dev/sda/mnt/flashauto,vfat,msdos
noauto,user,noatime 0 0
===
or replace /dev/sda with /dev/sda1, if your CF has been partitioned
(some manufacturers format their CFs as a large MSDOS floppy).
--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Ognjen Bezanov
On Thursday 04 May 2006 18:59, K. Mike Bradley wrote:
 How do I mount a compact flash?
depends on the interface

is it a USB/PCMCIA/builtin CF reader?

because they all have different ways of accessing. The most popular is the usb 
device, so you will need the usb-storage module and associated libraries

The device should come up as /dev/sd[a,b,c...] (depending on how many usb 
storage devices you have installed.
-- 
http://ziva-vatra.dnsalias.com/~ognen



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache + Per User Directory configuration

2006-05-04 Thread Ognjen Bezanov
Hi,

I have spent most of the day getting per user web serving to work 
(/home/$user/public_html = http://server/~$user) but was constantly getting 
401 Forbidden errors with apache2.

After lots of hunting I found that you have to set the permissions for the 
user directories to 755 (a+rx). So now it works, but all the users can see 
each others home directories, which is unacceptable (security wise) for this 
server.

So I am here to ask if anyone cen recommend a more secure way of doing this. I 
want each users home directory readable only by that user (no other users) but 
that apache can still serve without a Forbidden error.

Any tips appreciated, thanks!
-- 
http://ziva-vatra.dnsalias.com/~ognen



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DRI, GLX, Savage and Xorg7 [Fixed]

2006-05-04 Thread Ognjen Bezanov
On Friday 28 April 2006 11:53, Ognjen Bezanov wrote:

Never mind, the latest updates to xorg7 seemed to have fixed the problem, 
which is good =)

My PC is now full of eye candy :P 

Thanks for trying anyway :)

 On Thursday 27 April 2006 10:53, [EMAIL PROTECTED] wrote:
   Well, I upgraded to Xorg 7 using the modular Xorg howto on the
   gentoo-wiki [...]
   So its looking good (definatly better then before). DRI is enabled, but
   I am getting a hard PC lockup (for about a second, with glxinfo saying
   wait event returned -16).
  
   Also happens when trying to run glxgears. I get a lockup for a few
   seconds, followed by the same error wait event returned -16
 
  Could you give us some output of strace glxinfo? It would be quite good
  to know what wait event it is.

 ok, here are the last few lines of glxinfo from strace:


 write(1, OpenGL extensions:\n, 19OpenGL extensions:
 )= 19
 write(1, GL_ARB_imaging, GL_ARB_multi..., 62GL_ARB_imaging,
 GL_ARB_multisample, GL_ARB_multitexture,
 ) = 62
 write(1, GL_ARB_texture_compression, ..., 57
 GL_ARB_texture_compression, GL_ARB_texture_env_add,
 ) = 57
 write(1, GL_ARB_texture_mirrored_repe..., 62
 GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
 ) = 62
 write(1, GL_ARB_window_pos, GL_EXT_ab..., 70GL_ARB_window_pos,
 GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
 ) = 70
 write(1, GL_EXT_blend_minmax, GL_EXT_..., 74GL_EXT_blend_minmax,
 GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
 ) = 74
 write(1, GL_EXT_compiled_vertex_array..., 76
 GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
 ) = 76
 write(1, GL_EXT_draw_range_elements, ..., 73
 GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels,
 ) = 73
 write(1, GL_EXT_polygon_offset, GL_EX..., 75   
 GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
 ) = 75
 write(1, GL_EXT_separate_specular_col..., 77
 GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
 ) = 77
 write(1, GL_EXT_texture, GL_EXT_textu..., 66GL_EXT_texture,
 GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
 ) = 66
 write(1, GL_EXT_texture_env_add, GL_E..., 77   
 GL_EXT_texture_env_add, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
 ) = 77
 write(1, GL_EXT_vertex_array, GL_APPL..., 73GL_EXT_vertex_array,
 GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
 ) = 73
 write(1, GL_IBM_texture_mirrored_repe..., 57
 GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos,
 ) = 57
 write(1, GL_NV_light_max_exponent, GL..., 76
 GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format,
 ) = 76
 write(1, GL_SGI_color_matrix, GL_SGI_..., 74GL_SGI_color_matrix,
 GL_SGI_color_table, GL_SGIS_texture_edge_clamp,
 ) = 74
 write(1, GL_SGIS_texture_lod\n, 24GL_SGIS_texture_lod
 ) = 24
 write(1, glu version: 1.3\n, 17glu version: 1.3
 )  = 17
 write(1, glu extensions:\n, 16glu extensions:
 )   = 16
 write(1, GLU_EXT_nurbs_tessellator, G..., 57
 GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
 ) = 57
 ioctl(4, 0x4008642a, 0xbfbbc070)= 0
 ioctl(4, 0xc0086442 unfinished ...
 +++ killed by SIGSEGV +++
 Process 6832 detached


 Hope its of use =)

-- 
http://ziva-vatra.dnsalias.com/~ognen



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
On Thu, 2006-05-04 at 20:04 +, Mick wrote:
 On 04/05/06, Daniel da Veiga [EMAIL PROTECTED] wrote:
  On 5/4/06, K. Mike Bradley [EMAIL PROTECTED] wrote:
  
  
  
   How do I mount a compact flash?
 
  You get the device that is created by looking at the dmesg output
  after you plugin the flash. I'm assuming you have all options set in
  your kernel the right way.
 
  After that, you mount it normally. Mine can only be mounted using the
  first (and only) partition, so if, for example, /dev/sda doesn't work,
  try /dev/sda1.
 
 Don't forget to enter in your /etc/fstab:
 ===
 /dev/sda/mnt/flashauto,vfat,msdos
 noauto,user,noatime 0 0
 ===
 or replace /dev/sda with /dev/sda1, if your CF has been partitioned
 (some manufacturers format their CFs as a large MSDOS floppy).

Neither /dev/sda nor /dev/sda1 are defined on my system? What package is
responsible for defining them.

--- Vladimir


Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Jeremy Olexa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Teresa and Dale wrote:
 How does one see if it is fragmented or not?  I'm sure there is a
 command somewhere.  Would this command be on the Gentoo install CD, the
 2005 version?
 
 Thanks
 
 Dale
 :-)

You will probably like this forum thread.
http://forums.gentoo.org/viewtopic-p-3081971.html

- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

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

iD8DBQFEWmWzFN7pD9kMi/URAnepAJ4mtIo28r/vm/c+jeaK4zU3Q4j/fgCfb/U0
+8avi7ZF7tRy7J3xiqig7HQ=
=J4xa
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Statux

 Neither /dev/sda nor /dev/sda1 are defined on my system? What package is
 responsible for defining them.
 
 --- Vladimir

Perhaps you don't have SCSI support built into your kernel. You need the
USB mass storage (if it's via USB) and SCSI emulation support options.
Also, make sure you select the option pertaining to probing multiple
LUNs which will look at some devices like multi-card readers and
recognize that they have more than one device in them like my Lexar
reader does.

I didn't catch a post or two for this thread but I hope this helps :)

-Statux



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


Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
On Thu, 2006-05-04 at 21:14 +0100, Ognjen Bezanov wrote:
 On Thursday 04 May 2006 18:59, K. Mike Bradley wrote:
  How do I mount a compact flash?
 depends on the interface
 
 is it a USB/PCMCIA/builtin CF reader?
 
 because they all have different ways of accessing. The most popular is the 
 usb 
 device, so you will need the usb-storage module and associated libraries

I have the modules usb-storage loaded, but I still don't get any devices
like /dev/sda or /dev/sda1.

# lsmod | fgrep usb
usb_storage71872  0
scsi_mod  109352  1 usb_storage
usbhid 41888  0

--- Vladimir
 
 The device should come up as /dev/sd[a,b,c...] (depending on how many usb 
 storage devices you have installed.
 -- 
 http://ziva-vatra.dnsalias.com/~ognen
 
 
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache + Per User Directory configuration

2006-05-04 Thread Mike Williams
On Thursday 04 May 2006 21:17, Ognjen Bezanov wrote:
 Any tips appreciated, thanks!

Yeah, read your email.
You got 2 replies to this, one on Monday, one today.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] ksnapshot delay disabled

2006-05-04 Thread Uwe Thiem
On 04 May 2006 19:50, Andrew Gaydenko wrote:
 For KDE-users:

 I'm at ~x86. After some of KDE upgrade (don't remember exactly to wich
 version) I have noticed ksnapshot delay-related field (numeric field
 for seconds) is disabled at Region mode. How to restore this feature?

By selecting another mode. Delay makes no sense for region.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eth0 not up when init script returns?

2006-05-04 Thread Uwe Thiem
On 04 May 2006 18:19, Hani Duwaik wrote:
 On 5/4/06, Matthias Bethke [EMAIL PROTECTED] wrote:
  I just noticed a strange problem on our server that's just been switched
  to Gentoo:
  It's running dhcpd, which init starts right after bringing up the
  network interface. But dhcpd quits, complaining it couldn't listen on
  eth0 because it had address 0.0.0.0. So it seems the interface isn't
  fully up yet when the init script returns---probably because the
  Broadcom Tigon driver seems to be on the slow side when changing
  parameters, while the CPU is plenty fast. I've now tried to fix it with
  a postup() function that simply does a sleep 3, but that's pretty
  hacky IMHO. Isn't thatere a way to do it properly? I think the script
  should ensure its jobs are finished before it returns in any case.

 Have you looked through the '/etc/conf.d/net.example' file?  I'm not too
 familiar with DHCP, but the net.example file has this entry:

 

 # For passing custom options to dhcpcd use something like the following.
 This

 # example reduces the timeout for retrieving an address from 60 seconds
 (the

 # default) to 10 seconds.

 #dhcpcd_eth0=-t 10
 =

dhcpcd != dhcpd

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc upgrade, portage niceness and distcc

2006-05-04 Thread Matthew Cline

One solution to this issue is to use the faster server as a binary
host for the slower one. I was able to do something similar with a
slow laptop and a fast desktop machine. I'm not in front of my gentoo
machine right now, so I can't provide the exact details, but it goes
something like this:

On the fast machine (you can optionally do all of this inside a chroot):

1) set-up an ftp server and create a new user for the slower machine to use
2) in make.conf, set PKGDIR to a directory accessible to the ftp user
created above
3) for each package you want to install on the slow machine, run:
  # emerge -B package name (Also, in make.conf, you can add
buildpkg in FEATURES to always build binary packages whenever you
emerge something.)

On the slow machine:

1) in make.conf, add getbinpkg to FEATURES
2) in make.conf, set PORTAGE_BINHOST to
ftp://login:[EMAIL PROTECTED]/path/to/binpkgs where fastmachine is
the address of the fast machine used to build the packages.
3) then try to emerge the package on the slow machine


This setup worked for me, but, of course, YMMV

Matt

On 5/4/06, Daniel da Veiga [EMAIL PROTECTED] wrote:

Hello List,

I've been trying to upgrade an really old machine to the new gcc, and
so, following the guide, I'm at the emerge --oneshot
sys-libs/libstdc++-v3 step. This old hardware suits my needs for a
web server and MySQL mirror, but that's about the charge it can
handle, so, I've set PORTAGE_NICENESS to 15, I don't mind if it take a
whole month to compile, but it must be responsive to other processes
all the time.

What I've noticed is that the process is using nice 0 (that pretty
much makes the machine unusable), and distcc is not working, if it
was, I'm pretty sure the time would reduce greatly because other
emerge operations that use it are getting super fast responses thanks
to the distcc and ccache wonders (my host is already upgraded).

Is there a way to compile this or migrate GCC with binary packages or
something like it? I have compatible CHOSTs flags on both machines and
the other one is a fast server.

Any advice would be great.

--
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--

--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Uwe Thiem
On 04 May 2006 19:28, K. Mike Bradley wrote:
 It gives me an error saying the file system type must be specified.



 I did:



 Mount -t vfat /dev/sdb /mnt/flash



 And it says bad block
 Is it really sdb, or is it sdb1?

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] debugging runscript

2006-05-04 Thread Leigh Stewart

can anyone tell me how to trace through init scripts, which are
executed by /sbin/runscript?

with bash there is a nice little switch which does just that.  i need
to figure out exactly what those net.ethx scripts are doing because
they clobber my wifi interface when i use the LinuxAnt driverloader
module.

thx in advance :)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
On Thu, 2006-05-04 at 16:36 -0400, Statux wrote:
  Neither /dev/sda nor /dev/sda1 are defined on my system? What package is
  responsible for defining them.
  
  --- Vladimir
 
 Perhaps you don't have SCSI support built into your kernel. You need the
 USB mass storage (if it's via USB) and SCSI emulation support options.
 Also, make sure you select the option pertaining to probing multiple
 LUNs which will look at some devices like multi-card readers and
 recognize that they have more than one device in them like my Lexar
 reader does.

This sounds like it. I've made the requisite changes, and I expect that
it'll work.

Thanks.

--- Vladimir
 
 I didn't catch a post or two for this thread but I hope this helps :)
 
 -Statux
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Rodrigo Forlin

You should enable scsi emulation on your kernel


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

On 04 May 2006 19:28, K. Mike Bradley wrote:
 It gives me an error saying the file system type must be specified.



 I did:



 Mount -t vfat /dev/sdb /mnt/flash



 And it says bad block
 Is it really sdb, or is it sdb1?

Uwe

--
Why do consumers keep buying products they will live to curse?
--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] ksnapshot delay disabled

2006-05-04 Thread Andrew Gaydenko
=== On Friday 05 May 2006 00:40, Uwe Thiem wrote: ===
On 04 May 2006 19:50, Andrew Gaydenko wrote:
 For KDE-users:

 I'm at ~x86. After some of KDE upgrade (don't remember exactly to wich
 version) I have noticed ksnapshot delay-related field (numeric field
 for seconds) is disabled at Region mode. How to restore this feature?

By selecting another mode. Delay makes no sense for region.

Uwe

==
Uwe,

Of course, I'm forced to use another modes. But earlier Region
mode _worked_ with delay. Do you mean such changed behaviour is
by-design?

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



Re: [gentoo-user] [OT] ksnapshot delay disabled

2006-05-04 Thread Andrew Gaydenko
=== On Friday 05 May 2006 00:51, Peter Ruskin wrote: ===
On Thursday 04 May 2006 19:50, Andrew Gaydenko wrote:

 I'm at ~x86. After some of KDE upgrade (don't remember exactly to
 wich version) I have noticed ksnapshot delay-related field
 (numeric field for seconds) is disabled at Region mode. How to
 restore this feature?

I just checked mine and it's the same.  However, this is the first 
time I've captured a region and I wouldn't want a delay for this - 
the snapshot is taken as soon as you have selected the region.

-- 
Peter


Peter,

It is impossible to avoid some delay when app under question need noticeable
amount of CPU-time for redrawing.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] java comm ports issue

2006-05-04 Thread Leigh Stewart

Using rxtx, i cant get past square one on my current system.  Ive been
trying on and off for the last few months to get some onewire devices
working with my system but havent had any luck.  So in the process of
troubleshooting, I built and ran this fairly simple program:

http://www.java2s.com/ExampleCode/Development-Class/OpenaserialportusingJavaCommunications.htm

As soon as I try to open any port, a native exception is thrown, which
is a flippin pain.

I am in uucp, and to be sure I have applied liberal permissions to the
serial devices in dev and the contents of /var/lock (and /var/lock
itself).  ie

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ ls -al /dev/ttyS{0,1}
crwxrwxr-x  1 root tty 4, 64 Feb 23 09:56 /dev/ttyS0
crwxrwxr-x  1 root tty 4, 65 Feb 23 09:56 /dev/ttyS1

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ id
uid=1000(lstewart) gid=442(media),
groups=5(tty),7(lp),10(wheel),11(floppy),12(mail),14(uucp),16(cron),18(audio),19(cdrom),20(dialout),21(ftp),27(video),35(games),80(cdrw),81(apache),100(users),245(slocate),442(media),446(plugdev),449(camera)

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ ls -al /var/lock/
total 5
drwxrwxr-x   2 root uucp  104 May  4 17:23 .
drwxr-xr-x  19 root root  552 Apr 20 23:29 ..
-rwxrwxr-x   1 root root0 Mar 27 22:18 .keep
-r--r--r--   1 lstewart media  11 May  4 17:23 LCK..ttyS0

The answer MUST be simple...this is such a basic task and Linux has
such a long history in interfacing with serial devices  i mean
RS-232!! I know im missing something very simple.anyone???

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
It does. Thanks.

--- Vladimir

On Thu, 2006-05-04 at 14:08 -0700, Vladimir G. Ivanovic wrote:
 On Thu, 2006-05-04 at 16:36 -0400, Statux wrote:
   Neither /dev/sda nor /dev/sda1 are defined on my system? What package is
   responsible for defining them.
   
   --- Vladimir
  
  Perhaps you don't have SCSI support built into your kernel. You need the
  USB mass storage (if it's via USB) and SCSI emulation support options.
  Also, make sure you select the option pertaining to probing multiple
  LUNs which will look at some devices like multi-card readers and
  recognize that they have more than one device in them like my Lexar
  reader does.
 
 This sounds like it. I've made the requisite changes, and I expect that
 it'll work.
 
 Thanks.
 
 --- Vladimir
  
  I didn't catch a post or two for this thread but I hope this helps :)
  
  -Statux
  
 
 Vladimir G. Ivanovic
 Palo Alto, CA 94306
 +1 650 678 8014
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc upgrade, portage niceness and distcc

2006-05-04 Thread Daniel da Veiga

On 5/4/06, Matthew Cline [EMAIL PROTECTED] wrote:

One solution to this issue is to use the faster server as a binary
host for the slower one. I was able to do something similar with a
slow laptop and a fast desktop machine. I'm not in front of my gentoo
machine right now, so I can't provide the exact details, but it goes
something like this:

On the fast machine (you can optionally do all of this inside a chroot):

1) set-up an ftp server and create a new user for the slower machine to use
2) in make.conf, set PKGDIR to a directory accessible to the ftp user
created above
3) for each package you want to install on the slow machine, run:
   # emerge -B package name (Also, in make.conf, you can add
buildpkg in FEATURES to always build binary packages whenever you
emerge something.)

On the slow machine:

1) in make.conf, add getbinpkg to FEATURES
2) in make.conf, set PORTAGE_BINHOST to
ftp://login:[EMAIL PROTECTED]/path/to/binpkgs where fastmachine is
the address of the fast machine used to build the packages.
3) then try to emerge the package on the slow machine


This setup worked for me, but, of course, YMMV

Matt


Thanks Matt, I'll try this option by tomorrow morning and post if it
works. I've never worked with the binhost option of portage, but now
I can see a lot of advantages on it (reading the manual) that can be
useful on future installations and/or upgrades.

Gotta love Gentoo.

--
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--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread Kevin O'Gorman
On 5/4/06, John Jolet [EMAIL PROTECTED] wrote:
On Thursday 04 May 2006 13:57, Kevin O'Gorman wrote: In the last few days, connection takes a minute or so to my gentoo box. It used to be no longer than a namespace lookup.It's not TCP, I think,
 because connecting to apache is fast and my web pages bet served as usual. What happened to sshd???is UseDNS set to yes?maybe that value changed, or for whatever reason your
looksup are no longer working.sounds like a dns timeout.--
Hmmm. I'll look, but I did just change domain registrars. Maybe I've got a sluggish

nameserver. But then, why would it continue to be slow when I do it a second time --

doesn't anybody cache resolutions any more?



Anyway, this gives me some stuff to look at.



++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread John Jolet
On Thursday 04 May 2006 17:18, Kevin O'Gorman wrote:
 On 5/4/06, John Jolet [EMAIL PROTECTED] wrote:
  On Thursday 04 May 2006 13:57, Kevin O'Gorman wrote:
   In the last few days, connection takes a minute or so to my gentoo box.
   It used to be no longer than a namespace lookup.  It's not TCP, I
   think, because connecting to apache is fast and my web pages bet served
   as usual.
  
   What happened to sshd???
 
  is UseDNS set to yes?  maybe that value changed, or for whatever reason
  your
  looksup are no longer working.  sounds like a dns timeout.
  --

 Hmmm.  I'll look, but I did just change domain registrars.  Maybe I've got
 a sluggish
 nameserver.  But then, why would it continue to be slow when I do it a
 second time --
 doesn't anybody cache resolutions any more?

 Anyway, this gives me some stuff to look at.
sometimes my isp gives me a bad or stale dns server on dhcpnot often, but 
sometimes...go in and restart networking, and it fixes.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread Kevin O'Gorman
On 5/4/06, John Jolet [EMAIL PROTECTED] wrote:
On Thursday 04 May 2006 17:18, Kevin O'Gorman wrote: On 5/4/06, John Jolet [EMAIL PROTECTED] wrote:  On Thursday 04 May 2006 13:57, Kevin O'Gorman wrote:   In the last few days, connection takes a minute or so to my gentoo box.
   It used to be no longer than a namespace lookup.It's not TCP, I   think, because connecting to apache is fast and my web pages bet served   as usual.  
   What happened to sshd???   is UseDNS set to yes?maybe that value changed, or for whatever reason  your  looksup are no longer working.sounds like a dns timeout.
  -- Hmmm.I'll look, but I did just change domain registrars.Maybe I've got a sluggish nameserver.But then, why would it continue to be slow when I do it a second time --
 doesn't anybody cache resolutions any more? Anyway, this gives me some stuff to look at.sometimes my isp gives me a bad or stale dns server on dhcpnot often, butsometimes...go in and restart networking, and it fixes.
--UseDNS is on for ssh, not for ssh2 (where it does not even appear)

I found that one of the nameservers for my domain was down, and it was listed early.
I've edited the zone file; I'll see what happens when the change propagates to the
universe.

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] [OT] ksnapshot delay disabled

2006-05-04 Thread Uwe Thiem
On 04 May 2006 22:30, Andrew Gaydenko wrote:

 Of course, I'm forced to use another modes. But earlier Region
 mode _worked_ with delay. Do you mean such changed behaviour is
 by-design?

Yes because a delay in region makes no sense. The moment you select a region 
the snapshot gets done. What good what a delay do?

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glibc 2.4 - emere -e world necessary?

2006-05-04 Thread Hemmann, Volker Armin
On Thursday 04 May 2006 19:25, Alexander Skwar wrote:
 Hello!

 I'd now like to upgrade to glibc 2.4 as well. After having installed glibc
 2.4, is it required to have a full emerge -e world run; ie. rebuild the
 entire system?

no.

glibc updates NEVER need a rebuild.

Only if you change from gcc 3.X to 4.Y you have to rebuild. 

But not because of a glibc update.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] partition resizing question

2006-05-04 Thread Benno Schulenberg
Leigh Stewart wrote:
 does anyone know if it would be possible to replace my boot and
 swap partitions with identically sized logical partitions inside
 a single primary partition?

That should work.  You could even make all three partitions logical 
ones, Linux has no problem with that.  You did make room at the 
_start_ of the disk for a new primary to hold the dark side?

 has anyone attempted this? 

Not I.  So back up the current layout somewhere, to be able to 
restore it in case the new one somehow doesn't work.

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



Re: [gentoo-user] [OT] ksnapshot delay disabled

2006-05-04 Thread Andrew Gaydenko
=== On Friday 05 May 2006 02:46, Uwe Thiem wrote: ===
On 04 May 2006 22:30, Andrew Gaydenko wrote:

 Of course, I'm forced to use another modes. But earlier Region
 mode _worked_ with delay. Do you mean such changed behaviour is
 by-design?

Yes because a delay in region makes no sense. The moment you select a region 
the snapshot gets done. What good what a delay do?

Uwe
==

Trust me, it makes sense for me :-)

Just after clicking New Snapshot button, double-cress cursor appears, and
KSnapshot window intends to disappear, i.e. apps under KSnapshot window must
_redraw_ themselves. At case redrawing is heavy-CPU-consumption, the apps
have not time to redraw, and KSnapshot windows is still visible above the
apps windows, as all graphical activity is locked.


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



Re: [gentoo-user] Fwd: FontForge needs conversion from ISO-8859-1 to UCS2 - iconv (glibc-2.3.5-r2) does not support it on amd64

2006-05-04 Thread Michael [Plouj] Ploujnikov

This is fixed in glibc-2.3.6-r4 and glibc-2.4-r2 now:
https://bugs.gentoo.org/show_bug.cgi?id=131386

--
gentoo-user@gentoo.org mailing list



  1   2   >