Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Alan McKinnon
On Tuesday 30 January 2007 16:06, Uwe Thiem wrote:
 On 30 January 2007 15:52, Alan McKinnon wrote:
  On Tuesday 30 January 2007 15:22, Bo Ørsted Andresen wrote:
   Anyway if you know
   how to do that you certainly know how to avoid that /tmp gets
   wiped during reboot too (which it doesn't unless you make it so).
   And OOo only takes 5½ hours to compile.. :p
 
  Hah, so my machine isn't so bad. 4 hours 57 minutes 34 seconds with
  everything enabled except linguas (english only) and dev stuff.
 
  4 hours 2 seconds with gnome, kde and all other fluff out of USE.
  It's enough to make a fellow wanna consider openoffice-bin...

 What are the specs of your box?

Dell Latitude D810
2GHz Centrino
2GB Ram
80G SATA
2.6.19-suspend2-r1

But, OOo is a well known resource hog that really stresses a machine when 
compiling, so I don't think it makes a useful measure of anything. And KDE-meta 
isn't much better these days either. Yesterdays sync brought in 3.5.6 and 3 or 
4 other bits and pieces, which I started at 1am this morning. It's just 
finished now at 1pm - 12 hours!

But having said that, I've noticed that this kernel gives really slow disk IO 
which I haven't managed to track down. It feels less than half the speed I got 
on 2.6.18.*, and my three year old desktop with a similar world runs 'emerge 
-avuNDt world' twice as quick.

I'm almost ready to give up on .19 and go back to .18 till .20 comes out.

alan



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Alan McKinnon
On Tuesday 30 January 2007 18:26, Anthony E. Caudel wrote:
 Neil Bothwick wrote:

 snip

  And OOo only takes 5½ hours to compile.. :p
 
  Not on my 1GHz G4 iBook, for which there are no binary packages
  available. It takes around 15 hours :(

 So when are the Openoffice people going to break it into separate
 packages (Write, Calc, etc.) like KDE did?  This would get rid of
 that nonsense of 15 hrs for a single package build.

haha, good joke, nice one, you just made my day.

Oh wait, you mean you're serious? Erm, well, I once did have a peek into 
the OOo makefiles and what I saw there was  scary. If no-one has 
had the courage so far to separate out the packages, I really wouldn't 
hold it against them.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging php with mysql and recode support

2007-01-31 Thread Heinz Hombergs
Am Mittwoch, 31. Januar 2007 Boyd Stephen Smith Jr. wrote:

 File a bug, and be prepared with a patch -- cause there's probably a good
 reason they are considered conflicting.

There are some more useflags that are conflicting with recode. I can rember 
that yaz is one of them.
And I thing iconv is a better solution than recode. ;)

-- 
Eureka!
-- Archimedes


pgpKhJ5V4Nn7P.pgp
Description: PGP signature


Re: [gentoo-user] emerging php with mysql and recode support

2007-01-31 Thread Bo Ørsted Andresen
On Wednesday 31 January 2007 11:49:33 Boyd Stephen Smith Jr. wrote:
  * USE flag 'recode' conflicts with these USE flag(s):
  *    mysql
 
  What shall I do if I need both mysql and recode support in php?

 File a bug, and be prepared with a patch -- cause there's probably a good
 reason they are considered conflicting.  It's likely your patch will
 have to be applied to the tarball from upstream to fix either the code or
 the build system to accept both options.

Gentoo almost certainly won't have anything to do with such a patch unless 
it's applied upstream...

http://bugs.php.net/bug.php?id=27260
https://bugs.gentoo.org/show_bug.cgi?id=60351
http://www.php.net/recode

-- 
Bo Andresen


pgpemR4KLX5hi.pgp
Description: PGP signature


[gentoo-user] Dodgy hardware?!?!

2007-01-31 Thread Dave Oxley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I have a MythTV frontend running Gentoo on an AMD 64bit with an Nvidia
6600 graphics card. I have had no end of problems with the graphics card
(Xid errors). It crashes with a white line across the screen regularly
when 3d goom is up when I'm playing music. I've so far been putting it
down to the nvidia driver but I'm beginning to think I may have a dodgy
stick of RAM or something as I also get Segmentation faults when doing
emerge's on occasion. When this happens it says its an OS error and
retrying the emerge normally fixes it. How can I find out what the
problem is? Is there a way of testing the RAM? Is it possible that it is
the nvidia drivers still (I am often playing music when I run an emerge)??

Any help much appreciated.

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

iD8DBQFFwIsex43ifHzpDVURAgXzAJ9gQ+Ne+k33n89kCrFMbs/ZiWCeqwCcDB11
BYBPIWGPEw5qvxxWSwe1Jf4=
=o66z
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Bo Ørsted Andresen
On Wednesday 31 January 2007 13:22:36 Uwe Thiem wrote:
 KDE is in so far better as it doesn't forbit parallel compiling - as OO
 does. So I can use distcc and let all my boxes contribute. That brings the
 compile time of KDE down a lot. Unfortunately, that isn't possible with OO.

Actually it isn't impossible with OOo. It just isn't reliable enough to be 
enabled by default yet. `export WANT_MP=true` will enable parallel compiling.

-- 
Bo Andresen


pgpFT3IE5cHd4.pgp
Description: PGP signature


Re: [gentoo-user] Dodgy hardware?!?!

2007-01-31 Thread Alan McKinnon
On Wednesday 31 January 2007 14:27, Dave Oxley wrote:
 Hi,

 I have a MythTV frontend running Gentoo on an AMD 64bit with an
 Nvidia 6600 graphics card. I have had no end of problems with the
 graphics card (Xid errors). It crashes with a white line across the
 screen regularly when 3d goom is up when I'm playing music. I've so
 far been putting it down to the nvidia driver but I'm beginning to
 think I may have a dodgy stick of RAM or something as I also get
 Segmentation faults when doing emerge's on occasion. When this
 happens it says its an OS error and retrying the emerge normally
 fixes it. How can I find out what the problem is? Is there a way of
 testing the RAM? Is it possible that it is the nvidia drivers still
 (I am often playing music when I run an emerge)??

Faulty or dodgy RAM is indeed often the cause behind random segfaults. 
The best test of all is gcc which is why you get the error more with 
emerge than anything else. gcc just happens to stress the ram and disk 
system in ways that few other peices of software do.

There is a product called memtest86 which tests ram, but you have to run 
it for many many hours to be sure of ewhat it's saying. And, I have 
read reports that what memtest86 does is predictable, whereas a big 
emerge is much more random.

How to test: Well, you could come up with a $40k once-off rig to test 
memory that costs a fdraction of that. The easy way is to just swap out 
the memory and try again. Buy some, it's not that expensive and you 
*will* use it somewhere soon anyway :-) Or borrow some DIMMS from a  
friend for a day or three

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Alan McKinnon
On Wednesday 31 January 2007 14:22, Uwe Thiem wrote:
 On 31 January 2007 13:02, Alan McKinnon wrote:
  On Tuesday 30 January 2007 16:06, Uwe Thiem wrote:
   What are the specs of your box?
 
  Dell Latitude D810
  2GHz Centrino
  2GB Ram
  80G SATA
  2.6.19-suspend2-r1

 Odd. My 2.8GHz Pentium 4 takes *far* longer to compile OO, something
 close to 10h, though I haven't really timed it.

Intuition tells me that on my machine emerging OOo must do a lot of 
stuff my machine is fast at, and relatively little that it's slow at. I 
know for a fact it's got a nippy cpu and lots of ram, but disk IO is 
much slower than it ought to be.

Also, my times come from genlop, and I may well have moved between home 
and office networks, and I can't guarantee that both networks have ntp 
servers exactly synced

  But, OOo is a well known resource hog that really stresses a
  machine when compiling, so I don't think it makes a useful measure
  of anything. And KDE-meta isn't much better these days either.
  Yesterdays sync brought in 3.5.6 and 3 or 4 other bits and pieces,
  which I started at 1am this morning. It's just finished now at 1pm
  - 12 hours!

 KDE is in so far better as it doesn't forbit parallel compiling - as
 OO does. So I can use distcc and let all my boxes contribute. That
 brings the compile time of KDE down a lot. Unfortunately, that isn't
 possible with OO.

kde-meta also runs ./configure something like 300 times :-) which is 
very disk intensive and my machine sucks at that

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



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Alan McKinnon
On Wednesday 31 January 2007 14:34, Bo Ørsted Andresen wrote:
 On Wednesday 31 January 2007 13:22:36 Uwe Thiem wrote:
  KDE is in so far better as it doesn't forbit parallel compiling -
  as OO does. So I can use distcc and let all my boxes contribute.
  That brings the compile time of KDE down a lot. Unfortunately, that
  isn't possible with OO.

 Actually it isn't impossible with OOo. It just isn't reliable enough
 to be enabled by default yet. `export WANT_MP=true` will enable
 parallel compiling.

Purely for interest's sake, is it known what exactly in OOo is causing 
these problems?

alan


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT Window Maker Site

2007-01-31 Thread Sean

Some others here must use Window Maker.
Anyone able to access their site, something else going with 
them, do they still exist?


Thanks
Sean
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Anthony E. Caudel

Alan McKinnon wrote:

On Tuesday 30 January 2007 18:26, Anthony E. Caudel wrote:

Neil Bothwick wrote:

snip


And OOo only takes 5½ hours to compile.. :p

Not on my 1GHz G4 iBook, for which there are no binary packages
available. It takes around 15 hours :(

So when are the Openoffice people going to break it into separate
packages (Write, Calc, etc.) like KDE did?  This would get rid of
that nonsense of 15 hrs for a single package build.


haha, good joke, nice one, you just made my day.

Oh wait, you mean you're serious? Erm, well, I once did have a peek into 
the OOo makefiles and what I saw there was  scary. If no-one has 
had the courage so far to separate out the packages, I really wouldn't 
hold it against them.


alan




LOL!  Hadn't realized it was that bad.  Wonder who the culprit is?  The 
original German group that wrote it or Sun when they got their hands on it.


Tony

--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Alan McKinnon
On Wednesday 31 January 2007, Bo Ørsted Andresen wrote:
 Furthermore Pentium 4 is a joke (it performs horribly). A 2 GHz
 (Dothan I presume) Pentium-M should be faster than a 2,8 GHz Pentium
 4. My timing is for an 1,6 GHz (Banias) Pentium-M btw.

This sounds odd, but I'm not a cpu expert so can't really comment. Care 
to elaborate on why the P4 performs so horribly?

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] network scanning with gentoo / hplip / hpaio

2007-01-31 Thread Allan Gottlieb
At Mon, 29 Jan 2007 12:31:51 +0100 Luigi Pinna [EMAIL PROTECTED] wrote:

 [...]
 The second problem is that the HP officejet 7310
 at location 192.168.1.50 is not found

 I had the same problem with hp-setup, can you print? I can using cups.

Printing works fine (via cups).  (The above words are RE scanning).

 It seems that hp-setup use a wrong syntax to contact the device via 
 network. Anyone installed successfully this kind of device? On 
 linuxprinting.org says almost working...

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



Re: [gentoo-user] 2006.1 livecd amd64 and rtl8111/8168B network card

2007-01-31 Thread Marco Calviani

Ok,
  i've solved all the issues installing from the small-gentoo amd64
r6 ISO cd it contains a bleeding edge 2.6.20 rc(something)
kernel (useful also if one has issues with the JMicron PATA
controller)

cheers,
m

On 1/30/07, Dan Farrell [EMAIL PROTECTED] wrote:

On Tue, 30 Jan 2007 22:08:20 +0300
Andrew Gaydenko [EMAIL PROTECTED] wrote:

  ok that's fine. however i'll have to install gentoo without the
  nice gentoo graphical linux installer, is it right?

nice ??? ; )  I think you might be able to get a binary from realtek
that supports the 2.6 kernels.
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monolingual Dictionary

2007-01-31 Thread Jakob Buchgraber

Willie Wong wrote:

On Tue, Jan 30, 2007 at 09:04:51PM +0100, Penguin Lover Jakob Buchgraber 
squawked:
  

Is there any excellent monolingual dictionary available for (Gentoo) Linux?



What do you mean by monoligual? (English to English? or other
languages?)

Anycase, I have on my desktop 'sdcv' installed. The last time I
checked (about 18 months ago) it is not in portage. Not quite sure if
it is now. 
http://sdcv.sourceforge.net/

It is a commandline interface for StarDict, and so can just use
stardict's dictionaries. (Speaking of which, if you are willing to
have a GUI, you can just emerge stardict; you would also need to
emerge the dictionaries that you need, they are all under app-dicts
with a stardict- prefix. There are also additional dictionaries that
you can download on http://stardict.sourceforge.net/)

On my laptop, I just run a dictd server (emerge dictd). You also need
to install dictionary files, again, all under app-dicts/dictd-*
For English to English, I suggest the WordNet dictionary. 

You can also, alternatively, just emerge wordnet. 


Personally, if you just need an English-English dictionary, I would
suggest using wordnet. Dictd is a bit fancier, but you might not find
it more useful (I personally find the elements database quite useful
every now and then). If you need support for other languages, I would
suggest StarDict. 


Also, you can just look into the portage tree under app-dicts and
app-text 

HTH, 


W
  


Thanks for your reply!

Yeah, I am looking for an English to English dictionary. I already tried 
all available dictionaries in portage however nothing really satisfied 
my needs ...


Does anybody know something similar to the Cambridge dictionary? Because 
this is really a great monolingual dictionary only available for 
Windows, tough ...


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



Re: [gentoo-user] Licenses

2007-01-31 Thread Peter Lewis
Hi there folks...

I'm new to the list, so thought I'd say hello.

On 00:54 Wed 17 Jan , Fredrik Tolf wrote:
 Btw., shouldn't portage have some kind of flag to at least warn if a
 proprietary package is being pulled in through dependencies? I just
 discovered that I have realplayer installed, which was pulled in by
 mplayer.

Have you taken a look at GLEP 23? I for one hope that this gets implemented 
pretty soon. :-)

http://www.gentoo.org/proj/en/glep/glep-0023.html

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



[gentoo-user] System reporting information

2007-01-31 Thread Anthony E. Caudel

Sorry that the subject is not very informative.

I seem to remember some time back some discussion about a script or 
program that would examine a gentoo system and create a report on 
packages installed, make.conf contents, and other relevant information

that might be of help to the devs.  No personal info would be collected.

Am I imagining this?  Would this info be of help to the devs?

Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monolingual Dictionary

2007-01-31 Thread Philip Webb
070131 Jakob Buchgraber wrote:
 Is there any monolingual dictionary available for (Gentoo) Linux?
 I am looking for an English to English dictionary.

Firefox offers the on-line Merriam-Webster by default (under Google box):
it's quite good with various senses  their etymologies etc.
I also have a bookmark for  http://dictionary.reference.com/ ,
which has a search box  many links to other dictionaries etc.

The authoritative English dictionary is the Oxford,
which you can buy on CD or DVD (I have access via U Toronto). 

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System reporting information

2007-01-31 Thread Boyd Stephen Smith Jr.
On Wednesday 31 January 2007 11:45, Anthony E. Caudel [EMAIL PROTECTED] 
wrote about '[gentoo-user] System reporting information':
 I seem to remember some time back some discussion about a script or
 program that would examine a gentoo system and create a report on
 packages installed, make.conf contents, and other relevant information
 that might be of help to the devs.  No personal info would be collected.

 Am I imagining this?  Would this info be of help to the devs?

There was at one point a gentoo-stats package/project, but I don't think 
it's currently in a usable state.  There's also 
http://www.linux-stats.org/ (and it's matching package: list) which 
generates some Gentoo-specific statistics.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpGjB9KyCzEw.pgp
Description: PGP signature


Re: [gentoo-user] Licenses

2007-01-31 Thread Boyd Stephen Smith Jr.
On Wednesday 31 January 2007 11:14, Peter Lewis [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] Licenses':
 On 00:54 Wed 17 Jan , Fredrik Tolf wrote:
  Btw., shouldn't portage have some kind of flag to at least warn if a
  proprietary package is being pulled in through dependencies?

 Have you taken a look at GLEP 23?

Yeah.  It had already been proposed when I installed Gentoo the first time: 
in 2004.

Don't hold your breath.

 I for one hope that this gets 
 implemented pretty soon. :-)

There does appear to have been some forward progress, which is good.  It 
languished for over two years without progress at one point.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgp3E4wXuur9c.pgp
Description: PGP signature


Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Boyd Stephen Smith Jr.
On Wednesday 31 January 2007 09:58, Alan McKinnon 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] 
Symlinking /usr/portage/distfiles':
 On Wednesday 31 January 2007, Bo Ørsted Andresen wrote:
  Furthermore Pentium 4 is a joke (it performs horribly). A 2 GHz
  (Dothan I presume) Pentium-M should be faster than a 2,8 GHz Pentium
  4. My timing is for an 1,6 GHz (Banias) Pentium-M btw.

 This sounds odd, but I'm not a cpu expert so can't really comment. Care
 to elaborate on why the P4 performs so horribly?

The instruction pipeline is very long, the CPU - RAM bandwith is quite 
small, and the pipeline has to be emptied any time the branch predictor is 
wrong.  While the pipeline fills, the CPU works but no results are 
visible.

Hz has never been a complete trump of other issues affecting CPU 
performance, but is always a factor to consider.  (Among CPUs that are 
otherwise identical, higher Hz wins.)

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpSNP3nVPY4k.pgp
Description: PGP signature


Re: [gentoo-user] OT Window Maker Site

2007-01-31 Thread Uwe Thiem
On 31 January 2007 16:55, Sean wrote:
 Some others here must use Window Maker.
 Anyone able to access their site, something else going with
 them, do they still exist?

Drunk ... coffee. Horse addled. Shoes?

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mediamanager tries to open wrong path

2007-01-31 Thread Gerhard Hoogterp
Hi,

I try to install udev/hal/pmount  in such a way that my usb devices are 
automounted. But not with a changable name in the media folder, but with a 
fixed name like /mnt/camera (or /media/camera.. whatever. As long as it's the 
same every time..)

At this moment most things work, but when I add the mountpoints to fstab 
things go wrong. kde pops up a window and an error permission denied. The 
later is understandable as it seems to try to open a mount in the media dir 
which doesn't exists instead of the mount point as given in the fstab. 
Regretfully the /mnt/camera isn't mounted either. 

So adding a line to the fstab file just screws up the system as  it seems. 
Removing it leaves me with changable names in the media folder (/media/disk, 
media/disk-1, depending on what's happening..

So I see two sollutions: 

- Or the mediamanager whould open the path as givien in the fstab (but where 
do I tell it to do so?)

- Or I should be able to give the pmount a label (the second parameter) so it 
creates a /media/label. But again.. where can I do this. 

The main reason that I want a fixed name is for programs like digikam which 
expects such a path for importing images.  Besides, on of the howtos 
suggested that using the fstab should work. So why doesn't it..

Anybody a suggestion?

-- 
Ithaka photography, http://ithaka.mine.nu/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mediamanager tries to open wrong path

2007-01-31 Thread Neil Bothwick
On Wed, 31 Jan 2007 21:31:03 +0100, Gerhard Hoogterp wrote:

 So adding a line to the fstab file just screws up the system as  it
 seems. Removing it leaves me with changable names in the media folder
 (/media/disk, media/disk-1, depending on what's happening..

Adding a line in fstab overrides the naming that pmount would otherwise
use, but you have to add users to the options to allow it to be mounted
as a normal user. Generally, fstab and HAL-driven automounting don't play
well together.

You need to set up udev rules to have persistent naming for your devices,
then KDE will use this to name the mount point. See
http://www.reactivated.net/udevrules.php


-- 
Neil Bothwick

Quote me as saying I was mis-quoted.


signature.asc
Description: PGP signature


Re: [gentoo-user] mediamanager tries to open wrong path

2007-01-31 Thread Gerhard Hoogterp
On Wednesday 31 January 2007 22:09, Neil Bothwick wrote:
 On Wed, 31 Jan 2007 21:31:03 +0100, Gerhard Hoogterp wrote:

  So adding a line to the fstab file just screws up the system as  it
  seems. Removing it leaves me with changable names in the media folder
  (/media/disk, media/disk-1, depending on what's happening..

 Adding a line in fstab overrides the naming that pmount would otherwise
 use, but you have to add users to the options to allow it to be mounted
 as a normal user. Generally, fstab and HAL-driven automounting don't play
 well together.

Apparently.. the users flag was already added (noauto, user) so that's not 
the problem.. 

/dev/minolta  /mnt/camera  vfat  noauto,user 0 0

to be precise.

 You need to set up udev rules to have persistent naming for your devices,
 then KDE will use this to name the mount point. See
 http://www.reactivated.net/udevrules.php

Done too. udev creates a nice /dev/minolta which I would like automounted 
to /mnt/camera (or even /media/camera)

If only pmount.allow would allow for a device label to use. But as it 
seems that would make life to simple eg. less interesting..;)

Thanks,
 Gerhard

-- 
Ithaka photography, http://ithaka.mine.nu/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Easy dialup for unprivileged user

2007-01-31 Thread Mark Kirkwood

Mark Kirkwood wrote:
I'm looking at setting up a Gentoo box for my mother to use. One thing 
I'd like some input on is the business of dialing up.


The constraints are that she must be able to dial up as an unprivileged 
user, and it must be easy (She will be migrating from an old imac 
running osx, so I want to make it as painless as possible!)


I'm currently favoring the method outlined in:

http://gentoo-wiki.com/HOWTO_Setup_a_Dialup_Connection#The_best_way:_Gentoo.27s_Network_Configuration 



specifically using Gentoo's /etc/conf.d/net with pppd configured for 
*on-demand* dialing, so it 'just happens' when needed.


Now it pretty much does - but to trigger the ppp interface 'up' state I 
find myself doing stuff like:


$ ping ip of ISP nameserver

or similar, because hostname access will just return host not found 
immediately without trying to bring the link up. So while this 
workaround is ok for me, I would like to get it so that the ppp 
interface comes up more intuitively (or am I missing something 
obvious?... that would be nice!).





For the archives... this was happening because I had an empty 
/etc/resolv.conf. I needed to add some (initial) nameservers to make 
everything work as expected (i.e ping some-internet-hostname brings up 
the network). Of course once the dialup has happened, ppp can overwrite 
these nameservers with the ISP's ones...


My mother is using the machine now, and she likes the way the connect to 
internet just happens when she starts Firefox or Thunderbird... and 
Gnome's look and feel are not too vastly different from OSX... so the 
level of confusion is not too high :-). Probably the biggest thing to 
adjust to is the 3 button mouse - after the single button apple one!


Cheers

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



Re: [gentoo-user] mediamanager tries to open wrong path

2007-01-31 Thread Neil Bothwick
On Wed, 31 Jan 2007 22:21:51 +0100, Gerhard Hoogterp wrote:

  You need to set up udev rules to have persistent naming for your
  devices, then KDE will use this to name the mount point. See
  http://www.reactivated.net/udevrules.php  
 
 Done too. udev creates a nice /dev/minolta which I would like
 automounted to /mnt/camera (or even /media/camera)
 
 If only pmount.allow would allow for a device label to use. But as
 it seems that would make life to simple eg. less interesting..;)

pmount.allow only specifies which devices may be automounted. When
mounting, pmount gets the name from either the disk's volume name or the
device. Does your camera use a removable memory card? If so, try putting
it in a card reader and setting the volume name with mkdosfs or mtools.
My camera formats the card with a volume name of CANON_EOS, so it is
mounted at /media/CANON_EOS.


-- 
Neil Bothwick

Q   How many screws are there in a lesbians coffin?
A   None. It's all tongue and groove.


signature.asc
Description: PGP signature


[gentoo-user] Portage Error

2007-01-31 Thread Patrick Holthaus
Hello everybody!

This is my first post to the mailing list. So please forgive me if i am
doing something wrong...

I have a serious issue with portage because my hard disk (file system)
has been damaged. Now i am unable to detect wether the problem is
caused by portage or not.
However if i try to emerge net-wireless/ipw3945d i get the following error:

 Completed installing ipw3945d-1.7.22-r4 
into /var/tmp/portage/net-wireless/ipw3945d-1.7.22-r4/image/

 * QA Notice: Pre-stripped files found:
 * /var/tmp/portage/net-wireless/ipw3945d-1.7.22-r4/image/sbin/ipw3945d
Traceback (most recent call last):
  File /usr/bin/emerge, line 5271, in ?
retval = emerge_main()
  File /usr/bin/emerge, line 5266, in emerge_main
myopts, myaction, myfiles, spinner)
  File /usr/bin/emerge, line 4733, in action_build
retval = mergetask.merge(pkglist, favorites, mtimedb)
  File /usr/bin/emerge, line 2980, in merge
prev_mtimes=ldpath_mtimes)
  File /usr/lib/portage/pym/portage.py, line 3674, in doebuild
vartree=vartree, prev_mtimes=prev_mtimes)
  File /usr/lib/portage/pym/portage.py, line 3882, in merge
mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File /usr/lib/portage/pym/portage.py, line 7725, in merge
cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File /usr/lib/portage/pym/portage.py, line 7135, in treewalk
slot_matches = self.vartree.dbapi.match(
  File /usr/lib/portage/pym/portage.py, line 5169, in match
mymatch = [cpv for cpv in mymatch \
  File /usr/lib/portage/pym/portage.py, line 5262, in aux_get
for k, v in izip(aux_keys, self._aux_get(mycpv, aux_keys)):
  File /usr/lib/portage/pym/portage.py, line 5275, in _aux_get
raise KeyError(mycpv)
KeyError: 'net-wireless/ipw3945d-1.7.22-r4'

And nothing has been merged. ANY help on this would be appreciated, as i am 
using my laptop quite often and wireless is a must have for me. I also 
started a thread in the gentoo forums where more information about my system 
and tries i have made to compensate the file system errors can be found. You 
may want to have a look at it here:
http://forums.gentoo.org/viewtopic-t-535125-highlight-.html

Sadly no one could help me to resolve my issue until now. It would be great if 
you guys could.

Thank you
Patrick


pgpaCS6slv6BC.pgp
Description: PGP signature


Re: [gentoo-user] mediamanager tries to open wrong path

2007-01-31 Thread Gerhard Hoogterp
 pmount.allow only specifies which devices may be automounted. 
 When mounting, pmount gets the name from either the disk's volume name or
 the
 device. Does your camera use a removable memory card? If so, try putting
 it in a card reader and setting the volume name with mkdosfs or mtools.
 My camera formats the card with a volume name of CANON_EOS, so it is
 mounted at /media/CANON_EOS.

Well it does, but it does feel a bit of an ugly hack to have to label all my 
cards camera just to get hal/kded to behave. Besides, the card isn't the 
camera.. so even on a logical level it's wacky.. 

Anyhow, guess it's the best for now. 

Thanks!
 Gerhard


-- 
Ithaka photography, http://ithaka.mine.nu/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] IPtables question

2007-01-31 Thread Mick
On Wednesday 31 January 2007 20:56, Albert Hopkins wrote:
 On Wed, 2007-01-31 at 15:36 -0500, James Colby wrote:
  List members -
 
  I have a small home server that I have connected to the internet
  through a linksys router and cable modem.  The linksys router is
  currently forwarding all ssh traffic to my gentoo box.  What I would
  like to do is set up iptables to only allow ssh logins from a small
  number of internet hosts, and to reject and log all other ssh
  attempts.  Can someone please help me out with this.  All of the
  tutorials and documentation that I have found are setting up a fully
  functioning firewall / NAT / proxy, and I think that is a little
  overkill for my needs.s

 If you don't want the whole iptables suite you might want to consider
 good ole hosts.allow/hosts.deny as an alternative.  They work fine with
 sshd if you have tcpwrappers enabled.

It depends how secure you want your set up to be.  I always suggest to disable 
passwd authentication and enable public key authentication, after you copy  
paste each client's public key in the file ~/.ssh/authorized_keys.  Any 
passwd cracking attacks will simply fail.  I would also suggest that you move 
your sshd port from 22 to a higher number.  All/most of these bots scanning 
port 22 will now leave you alone.  Finally, you can set up additional layers 
like allow/deny users, MAC addresses, etc.  While you're at it, don't forget 
disabling root logins.

If you want to introduce diverse protection then iptables (and as previously 
suggested hosts.allow/hosts.deny) is an option.  In your iptables script (or 
saved set of iptables rules) add something like:

iptables -A INPUT -i eth0 -p tcp -s client_ip_address -m tcp --dport 22 -d 
server_LAN_ip_address -j ACCEPT

Of course, I suggest that you change port 22 in the line above to a higher 
number 'free' port.  Your final catch-all rule at the bottom of your iptables 
will drop any packets (on any port) from hosts other than the clients you 
specified in my line above.

Finally, you can repeat this in your router's firewall rules, assuming that 
you can specify WAN ip addresses (I know that you can in my hardware router, 
but don't know in yours).

If any one manages to break in to the server through such a sshd setup, then 
they bl**dy well deserve it!

HTH.
-- 
Regards,
Mick


pgpABfgXYkFTf.pgp
Description: PGP signature


Re: [gentoo-user] Portage Error

2007-01-31 Thread b.n.
Your filesystem seems to be badly fu...ehm, fscked up. In the forums
people already told you the error you are having comes from a failing
I/O operation on some file on your filesystem.

You should have to identify what's rotten and what is not. This is
probably a painful and difficult process, and you won't never, ever be
sure everything is OK again. If I were in you, I'd reinstall. I know it
is not the answer you were looking for but...

Anyway, scary to see an ext3 filesystem crashing so badly.

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



Re: [gentoo-user] mediamanager tries to open wrong path

2007-01-31 Thread Neil Bothwick
On Wed, 31 Jan 2007 22:54:39 +0100, Gerhard Hoogterp wrote:

 Does your camera use a removable memory card? If so, try putting
  it in a card reader and setting the volume name with mkdosfs or
  mtools. My camera formats the card with a volume name of CANON_EOS,
  so it is mounted at /media/CANON_EOS.  
 
 Well it does, but it does feel a bit of an ugly hack to have to label
 all my cards camera just to get hal/kded to behave.

There is a way round this. It is possible, somewhere in the config of
pmount/hal, to have devices mounted according to the /dev name only. I
can't remember where this is, but Google and/or grep should find it.

Personally, I prefer to use the volume name, because I may be using the
card in the camera or a card reader, and the dev name varies according to
which I use, whereas the volume name stays the same. It makes dealing
with multiple mounted cards much easier.

 Besides, the card
 isn't the camera.. so even on a logical level it's wacky.. 

If your camera mounts as USB-storage, the camera is simply acting as an
expensive card reader.


-- 
Neil Bothwick

Bad dog! Leave that wire [EMAIL PROTECTED] TERRIER


signature.asc
Description: PGP signature


Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Mark Kirkwood

Boyd Stephen Smith Jr. wrote:
On Wednesday 31 January 2007 09:58, Alan McKinnon 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] 
Symlinking /usr/portage/distfiles':

On Wednesday 31 January 2007, Bo Ørsted Andresen wrote:

Furthermore Pentium 4 is a joke (it performs horribly). A 2 GHz
(Dothan I presume) Pentium-M should be faster than a 2,8 GHz Pentium
4. My timing is for an 1,6 GHz (Banias) Pentium-M btw.

This sounds odd, but I'm not a cpu expert so can't really comment. Care
to elaborate on why the P4 performs so horribly?


The instruction pipeline is very long, the CPU - RAM bandwith is quite 
small, and the pipeline has to be emptied any time the branch predictor is 
wrong.  While the pipeline fills, the CPU works but no results are 
visible.


Hz has never been a complete trump of other issues affecting CPU 
performance, but is always a factor to consider.  (Among CPUs that are 
otherwise identical, higher Hz wins.)




Also Pentium-M has a lower latency L2 cache than P-4. With respect to 
pipeline lengths I was curious to see what they actually were: P-4 has 
20 stages, P-M has.. err...  20 stages (Intel won't say exactly!).


I found this an interesting read for those of you interested in this:

http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=2342p=1

Cheers

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



Re: [gentoo-user] mediamanager tries to open wrong path

2007-01-31 Thread Dale
Gerhard Hoogterp wrote:

 Apparently.. the users flag was already added (noauto, user) so that's not 
 the problem.. 

 /dev/minolta  /mnt/camera  vfat  noauto,user 0 0

 to be precise.
   

I don't think it would matter in this case but for future reference,
there is a difference between user and users.  I learned that the hard
way once.

 Thanks,
  Gerhard

   

Dale

:-)  :-)  :-)  :-)


-- 
www.myspace.com/dalek1967



Re: [gentoo-user] Portage Error

2007-01-31 Thread Mark Kirkwood

Patrick Holthaus wrote:


KeyError: 'net-wireless/ipw3945d-1.7.22-r4'

And nothing has been merged. ANY help on this would be appreciated, as i am 
using my laptop quite often and wireless is a must have for me. I also 
started a thread in the gentoo forums where more information about my system 
and tries i have made to compensate the file system errors can be found. You 
may want to have a look at it here:

http://forums.gentoo.org/viewtopic-t-535125-highlight-.html



I notice in the forum you say you had a hard drive crash. The first 
thing to do is check the status of the drive itself (smartmontools or 
similar), and if it is ok, then poke around in dmesg and 
/var/log/messsages for ext3 filesystem problems.


regards

Mark

P.s : is it hard drive crash month or something?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dodgy hardware?!?!

2007-01-31 Thread Dan Farrell
On Wed, 31 Jan 2007 23:27:10 +1100
Dave Oxley [EMAIL PROTECTED] wrote:

 Is there a way of testing the RAM? 

a great way, yes, and it's provided on the gentoo boot cds, even the
minimal.  at the isolinux (boot:) prompt, just type memtest-86 and
patiently await the completion of just one test.  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Dan Farrell
On Wed, 31 Jan 2007 13:16:01 +0200
Alan McKinnon [EMAIL PROTECTED] wrote:

   available. It takes around 15 hours :(

distcc + crossdev = ; )

im not sure, but i bet you can maybe build G4 code on another box.  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] IPtables question

2007-01-31 Thread Norberto Bensa
James Colby wrote:
 currently forwarding all ssh traffic to my gentoo box.  What I would
 like to do is set up iptables to only allow ssh logins from a small
 number of internet hosts, 

iptables -A INPUT -s ip-address-of-know-host --dport 22 -j ACCEPT


 and to reject and log all other ssh 
 attempts.  

iptables -A INPUT --dport 22 -j LOG
iptables -A INPUT --dport 22 -j REJECT

Regards,
Norberto



pgp1bYpX8fXSL.pgp
Description: PGP signature


[gentoo-user] emerging php with mysql and recode support

2007-01-31 Thread Stefán István
Hello!

I tried to re-emerge php because I need to be compiled with the 'recode' use 
flag, but I get this error:

* USE flag 'recode' conflicts with these USE flag(s):
*mysql

* You must disable these conflicting flags before you can emerge this package.
* You can do this by disabling these flags in /etc/portage/package.use:
* =dev-lang/php-5.1.6-r8  -mysql

What shall I do if I need both mysql and recode support in php?

Thanks,
István

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-31 Thread Boyd Stephen Smith Jr.
On Tuesday 30 January 2007 19:22, Neil Bothwick [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Symlinking /usr/portage/distfiles':
 On Tue, 30 Jan 2007 17:45:26 -0700, Steve Dibb wrote:
  Not necessarily.  tmpfs will start to use the harddrive when it runs
  out of memory, that being one if its nice handy dandy features.

 Really?

Yes, tmpfs is backed by virtual memory not real memory so it will use your 
swap if needed.  However, by default, each tmpfs mount is limited to 1/2 
the physical RAM.

In any case, it seems questionable to put yourself in a position where 
tmpfs is hitting the HD often; it's not tuned for such craziness and 
probably performs worse than other filesystems in that case.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpbCpI18Rgyz.pgp
Description: PGP signature


Re: [gentoo-user] Projector on my laptop

2007-01-31 Thread Alan McKinnon
On Tuesday 30 January 2007 23:52, Felipe Ribeiro wrote:
 It doesn´t have a s-video output, just the ordinary monitor plug.


What's your question?

alan

-- 
gentoo-user@gentoo.org mailing list