[gentoo-user] Adaptec 2820SA - Slowwwwwwwwww?

2009-04-29 Thread Paul Sobey

Dear All,

I have a server running Gentoo X64 2.6.27-gentoo-r8 with an Adaptec 
2820SA configured with a simple mirror. This card is a PCI-X card but due 
to an oversight on my part is plugged into a standard PCI slot on a PCI-E 
motherboard.


Still, I'm getting some absolutely atrocious disk performance from it, a 
lot less than I would expect. Bonnie++ results are here:


MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP 
/sec %CP
aurora   2G   150  99 11141   6  6969   2  1482  94 20763   3 
137.7   3
Latency 66612us3997ms2408ms 115ms 423ms 
739ms
Version 1.93c   --Sequential Create-- Random 
Create
aurora  -Create-- --Read--- -Delete-- -Create-- --Read--- 
-Delete--
  files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP 
/sec %CP
 16 11022  64 + +++ 14496  86 11836  65 + +++ 
15375  96
Latency 34229us  62us   18737us   33868us2540us 
21216us


11 MB/s seems a bit rubbish compared to my bog standard Xeon with onboard 
sata which reports an easy 40MB/s on a single disk!


All partitions are Reiser3, mounted with noatime and notail, which I am 
given to believe should lead to better performance. The driver is the 
standard Linux aacraid, compiled into kernel rather than as a module.


Does anybody have any suggestions as to how I might improve performance? 
I'm hoping somebody replies with 'did you enable the aac turbo option in 
make menuconfig' or similar, but I suspect it will end up being more 
complicated than that.


Cheers,
Paul




Re: [gentoo-user] autorespond

2009-04-29 Thread KH
fe...@crowfix.com schrieb:
 On Tue, Apr 28, 2009 at 05:31:06PM +0200, Xavier Parizet wrote:
 
 As his autoresponder respond to all mail received to his mail address, i
 sent at 12h15 a mail faking hist email address to
 gentoo-user+unsubscr...@lists.gentoo.org and it did the trick...
 Now i think he is spammed with you're not subscribed to this list mlmmj
 mails...
 
 Nice!  I toast you with a virtual beer.
 

Wouldn't that mean, that the server hosting the mailing list still is on
heavy duty? That still would evect the functionality of the server and
in the end of our list, wouldn't it?

kh



Re: [gentoo-user] autorespond

2009-04-29 Thread KH
Neil Bothwick schrieb:
 On Tue, 28 Apr 2009 18:12:02 +0200, Jarry wrote:
 
 That's a little harsh. He may not even know his company's
 auto-responder is so hideously broken.  
 IMHO, setting up any kind of auto-responder is a *huge* mistake.
 
 Any kind? Even a well functioning one that send no more than one mail to
 any address in a day? I use a procmail rule to take care of this, it
 appears after list filtering rules to list mails are not auto-responded.
 But even if it did appear before a list's rule, one mail per day is
 hardly a problem.
 
 

Hi,

is there a how-to for setting up a rule like this?

To answer you question: It depends. Sometimes I receive auto response
like Hey I won't be at my desk for the next 30 mins because I went to
get some launch. No email should be that important that one cannot wait
like a day for an replay. If it is that important one should just use
the phone.
On the other side: If the recipient is that important he should hire a
secretary or something like that.
Going to a place without internet or on vacation for weeks, ok it is
correct to inform the sender, that the email will not be read until
whenever.

kh



Re: [gentoo-user] autorespond

2009-04-29 Thread Alan McKinnon
On Wednesday 29 April 2009 11:25:41 KH wrote:
 fe...@crowfix.com schrieb:
  On Tue, Apr 28, 2009 at 05:31:06PM +0200, Xavier Parizet wrote:
  As his autoresponder respond to all mail received to his mail address, i
  sent at 12h15 a mail faking hist email address to
  gentoo-user+unsubscr...@lists.gentoo.org and it did the trick...
  Now i think he is spammed with you're not subscribed to this list
  mlmmj mails...
 
  Nice!  I toast you with a virtual beer.

 Wouldn't that mean, that the server hosting the mailing list still is on
 heavy duty? That still would evect the functionality of the server and
 in the end of our list, wouldn't it?

Not at all. Currently, the list receives one mail and sends one you are not 
subscribed mail back, which may or may not elicit an autoresponse.

As it was, the list receives one mail, sends one copy to everyone on the list 
(including the user with the autorespond), which may or may not elicit an 
autoresponse.

Unsubscribing the user will have reduced the traffic he is causing by a 
significant margin.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] autorespond

2009-04-29 Thread Neil Bothwick
On Wed, 29 Apr 2009 11:34:11 +0200, KH wrote:

  IMHO, setting up any kind of auto-responder is a *huge* mistake.
  
  Any kind? Even a well functioning one that send no more than one mail
  to any address in a day? I use a procmail rule to take care of this,
  it appears after list filtering rules to list mails are not
  auto-responded. But even if it did appear before a list's rule, one
  mail per day is hardly a problem.

 is there a how-to for setting up a rule like this?

man procmailex

 To answer you question: It depends.

I was responding to a statement that any kind of auto-responder is wrong,
so it depends is not allowed :)

 Sometimes I receive auto response
 like Hey I won't be at my desk for the next 30 mins because I went to
 get some launch.

The people that do that probably also tell everyone on twitter when
they're going for a dump.

 No email should be that important that one cannot wait
 like a day for an replay. If it is that important one should just use
 the phone.

Agreed.

 Going to a place without internet or on vacation for weeks, ok it is
 correct to inform the sender, that the email will not be read until
 whenever.

Another use it to let people know that their mail has been received. I
company I do work for has an auto-responder on their accounts address.
Emails are usually replied to quickly, but if I send an invoice there
is no need for a human response but the automated mail shows they
received it.


-- 
Neil Bothwick

Just when you got it all figured out:  An UPGRADE!


signature.asc
Description: PGP signature


Re: [gentoo-user] autorespond

2009-04-29 Thread Neil Bothwick
On Wed, 29 Apr 2009 11:42:59 +0200, Alan McKinnon wrote:

 Unsubscribing the user will have reduced the traffic he is causing by a 
 significant margin.

And give the list admins breathing space in which to add a rule to
silently drop messages from that address.

I suppose what we really need is a standard header to be inserted by
auto-responders. Then mailing list software can simply ignore any such
mails.


-- 
Neil Bothwick

Theory and practice are the same in theory, but different in practice


signature.asc
Description: PGP signature


Re: [gentoo-user] autorespond

2009-04-29 Thread KH

 
 To answer you question: It depends.
 
 I was responding to a statement that any kind of auto-responder is wrong,
 so it depends is not allowed :)
so the correct answer is: NO. :-)
 

 
 Another use it to let people know that their mail has been received. I
 company I do work for has an auto-responder on their accounts address.
 Emails are usually replied to quickly, but if I send an invoice there
 is no need for a human response but the automated mail shows they
 received it.
 
 
I would use a fax for this. The printout from the fax shows they
received it and it is better for court (in Germany) than email.

kh



Re: [gentoo-user] Re: [OT:netiquete] was AUTO: Martin...

2009-04-29 Thread Willie Wong
On Tue, Apr 28, 2009 at 09:08:39PM -0400, Penguin Lover Moshe Kamensky squawked:
 * William Hubbs willi...@gentoo.org [28/04/09 17:06]:
  On Tue, Apr 28, 2009 at 07:39:29PM +0100, Neil Bothwick wrote:
   That's an interesting point, and the first real justification for
   top-posting I've seen. Although I would have thought it should be
   possible to have your mailer hide quotes and the reader then skip them.
   
   Well, I use mutt when I am working in linux, do you know of a way to do
   this with mutt?
 
 The action name is toggle-quote, mapped to T by default.

To be pedantic, the command that better matches Neil's description is
skip-quote, which is mapped to S by default. Thought I agree that
toggle-quote may be (really depends on the OP) suited for the intended
purpose. 

Best, 

W

-- 
Give a man a fish and you have fed him for a day, but give him a case of 
dynamite and soon the village will be showered with mud and seaweed and 
unidentifiable chunks of fish.
Sortir en Pantoufles: up 873 days,  9:50



Re: [gentoo-user] autorespond

2009-04-29 Thread Markus Schönhaber
Neil Bothwick:

 I suppose what we really need is a standard header to be inserted by
 auto-responders. Then mailing list software can simply ignore any such
 mails.

In theory a good solution. In practice I doubt it helps.
Whoever is able to configure an auto-responder in such a completely
brain-dead way, as we have seen recently, will very likely screw up
adherence to such a standard too.

In fact, all that's needed is already there (just the other way round,
though): every list I'm subscribed to adds a Precedence header field
(with values of bulk or list) to the messages. A sane auto-responder
will not send replies to messages containing this header field.

No matter how you look at it - there's little that protects you against
a dim-wit someone has told you're sysadmin now.

Regards
  mks



Re: [gentoo-user] autorespond

2009-04-29 Thread Neil Bothwick
On Wed, 29 Apr 2009 13:15:30 +0200, Markus Schönhaber wrote:

  I suppose what we really need is a standard header to be inserted by
  auto-responders. Then mailing list software can simply ignore any such
  mails.  
 
 In theory a good solution. In practice I doubt it helps.
 Whoever is able to configure an auto-responder in such a completely
 brain-dead way, as we have seen recently, will very likely screw up
 adherence to such a standard too.

Yes, I thought of that the instant I hit Send!

 In fact, all that's needed is already there (just the other way round,
 though): every list I'm subscribed to adds a Precedence header field
 (with values of bulk or list) to the messages. A sane auto-responder
 will not send replies to messages containing this header field.

Good idea, I'll rewrite the procmail rules I use... not that I'm going
on holiday for a while :(


-- 
Neil Bothwick

Not one shred of evidence supports the notion that life is serious.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: [OT:netiquete] was AUTO: Martin...

2009-04-29 Thread Willie Wong
On Wed, Apr 29, 2009 at 07:05:22AM -0400, Penguin Lover Willie Wong squawked:
 To be pedantic, the command that better matches Neil's description is
 skip-quote, which is mapped to S by default. Thought I agree that
 toggle-quote may be (really depends on the OP) suited for the intended
 purpose. 
 

Also... not knowing how screen readers work, just in case when reading
a sentence it does not differentiate between isolated upper case and
lower case letters: the key for toggle-quote is upper case T; the key
for skip-quote is upper case S. 

W
-- 
`This must be Thursday,' said Arthur to himself, sinking 
low over his beer, `I never could get the hang of 
Thursdays.' 

- Arthur, on what was to be his last Thursday on Earth. 
Sortir en Pantoufles: up 873 days, 12:09



Re: [gentoo-user] GPRS connection through usb

2009-04-29 Thread Simon
 You do NOT need PPP, but you do need a fairly recent kernel (= 2.6.27 at
 least, not sure of the details). You need at least CONFIG_USB_RNDIS_WLAN as
 m or y. With udev and 'm' things work mostly automatically on the linux
 side. On the phone you enable advanced networking (or else you will see the
 phone as ttyUSB? and you will need ppp). Then you plug in and run dmesg -c
 until things quiet down. You should see a new eth? interface. Enable
 internet sharing on the phone, and you should see in dmesg -c that your
 new ethernet interface disappears and reappears. If it does not reappear
 your kernel is too old. On my gentoo box i can now start the interface like
 a regular ethernet interface. I have a debian box with a kernel from
 unstable where dhcp fails on the phone 'ehternet' device, so I have to do
 ip addr add and ip route add manually to get the network going (somehow
 the ifup command on debian prints the assigned ip and the gateway ip, gut
 does not configure the device properly). Do some googling to fill in the
 details, I'm not using this regularly.

Wow, thanks for the clear and thorough reply!
I've recently upgraded to kernel 2.6.29.1 (i used to have 2.6.24 with
several external drivers) so i should be fine.
I'll give this a try asap, but since i have a day off tomorrow, i
might do some fiesta tonight, in any case, i should reply soon with
success or failure!

Thanks again! Simon



Re: [gentoo-user] autorespond

2009-04-29 Thread Eray Aslan
On 29.04.2009 14:30, Neil Bothwick wrote:
 In fact, all that's needed is already there (just the other way round,
 though): every list I'm subscribed to adds a Precedence header field
 (with values of bulk or list) to the messages. A sane auto-responder
 will not send replies to messages containing this header field.
 
 Good idea, I'll rewrite the procmail rules I use... not that I'm going
 on holiday for a while :(

You should check not only Precedence: Bulk headers but List:
headers, Auto-Submitted: headers, owner-foo envelopes,
foo-request@ envelopes, Precedence: Junk headers ...

See RFC 3834 for recommendations:
http://www.ietf.org/rfc/rfc3834.txt

-- 
Eray



Re: [gentoo-user] [OT:netiquete] was AUTO: Martin...

2009-04-29 Thread Dirk Heinrichs
Am Dienstag, 28. April 2009 22:45:53 schrieb Dale:

 I was also hoping you could see the humor in my reply as well.

Well, I did :)

Bye...

Dirk


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


[gentoo-user] Re: [OT]UPS battery dead?

2009-04-29 Thread James
maxim wexler blissfix at yahoo.com writes:

group,

 Only 2.8mins left? The UPS unit, fairly common I suspect, is a Back-UPS ES 350
and less than a year old. It only
 saw service once last year during an electric storm when the house power
failed for a few minutes. Why isn't
 it charging. Or is it? 


13.4 volts looks good on a 12V battery. I'm not sure I'd trust all the numbers.

One easy thing to do is to, just swap in another (hopfully 7AH) 
standard 12V battery), give it a few days, and see what the numbers
say. If you have lots of UPS's then getting a low cost 12V batter
tester for 'Jell-Cell' batteries is not a bad idea. If you see signs
of corrosion, toss the battery to the nearest recycle agency near
you.


It says BATTDATE 2000-00-00. Huh?

Ignore. This looks like a default firmware value if not is correctly
entered during manufacture or by the person that does maintenance.
Some firewares include it, but the manufacture does not have a 
software application, where the info can be updated. 
Gel-Cell batteries are not smart (i.e. no microp) so there is no
way for the battery to provide this info, to the UPS firmware.
It's gimmickery.





 I'd like to test it further but the apcupsd manual recommends at least 5mins
time left. 



I'd use manual testing techniques with the battery removed from the ups.
You could have leaky or degraded circuitry in the ups. I canabalize
old ups for good circuits and batteries and such. If you have
several similar models you can do the same. Best to buy UPS in
qty 2 or more to cannabalize parts. Never by a ups that does not
use the standard 7AH or multiples of that standard battery. The further
away from those batteries you get, the more you'll get 'ripped'
at replacement time. One more thing. The smaller UPSs are of poor 
quality. I usually never bay an ups with less than 1KVA rating,
although 800VA seem to be OK. The smaller ones just dye as the
electronic swithcing circuits (how AC is made from DC) are just
crappy and often fry or fatigue. Try not to run a UPS at more than
40% of the duty cycle, if you want it to last very long.

Hooking up any arrangement of AC lighting will allow you to see how the
battery performs over test intervals of 5,10,20,30 minutes.  An amp meter,
the kind that clamps around the power cord will give you the current
draw of the load. From those numbers and the measured voltage
across the battery, you can plot performance curves. After you do
a few batteries, you can just watch the lights and pretty much 
tell if a battery is cooked. Battery testers are also cool, and convenient.


If you are in the US, here is a great supplier for replacement batteries.
They have an 8AH replacement of the standard 7AH battery 
(same form factor) that is usually less expensive, better quality 
and will give you a 1/7 longer life, nominally,

Battery Wholesale Dist.
40120 Industrial Park Circle
Georgetown, TX 78626

800 365 8444  not sure the website...



hth,

James







[gentoo-user] how I violate gentoo-netiquette

2009-04-29 Thread Andrew Gaydenko
Say, I see here

http://packages.gentoo.org/feed/arch/amd64

some packages I'm interested in were updated. I think - OK, let's start
eix-sync! But - nothing new there... I try an hour later...

I see, there is some time lag somewhere. Is there a way to see really 
available portage updates?



[gentoo-user] Re: how I violate gentoo-netiquette

2009-04-29 Thread Nikos Chantziaras

Andrew Gaydenko wrote:

Say, I see here

http://packages.gentoo.org/feed/arch/amd64

some packages I'm interested in were updated. I think - OK, let's start
eix-sync! But - nothing new there... I try an hour later...

I see, there is some time lag somewhere. Is there a way to see really 
available portage updates?


Portage got updated but the mirror you're using is not synced yet.

And what's the gentoo-netiquette in the subject about?




Re: [gentoo-user] can't print from firefox, but CUPS says OK, also poppler

2009-04-29 Thread Allan Gottlieb
At Thu, 23 Apr 2009 08:59:50 +0200 Morten Holt th...@t-hawk.com wrote:

 Allan Gottlieb wrote:
 At Wed, 22 Apr 2009 12:18:58 -0400 Allan Gottlieb gottl...@nyu.edu wrote:
 
 For some reason printing from firefox has stopped working.
 When I ^P or file--print and select a printer (there are two),
 the print button is greyed out.  With print to file, the button is
 live and the pdf file is successfully created

 I can print via lpr.

 If, in firefox, I goto localhost:631 (the cups home page on this machine),
 I can print test pages to either machine.

 Is there a way I can ask firefox to tell me why the print button is
 greyed out?
 
 Some further information.
 Evince has the same situation, print is greyed out.
 Sounds like the same issue I have, do you get log entries like:
   Request from localhost using invalid Host: field ::1
 in /var/log/cups/error_log?

 If you find a solution to this, please let me know here, I can't seem to
 find a solution to the issue, and appearantly nobody has any ideas.

Sorry I didn't notice your msg earlier.
My issue was fixed with a version bump to cups.
Do you still have trouble with 1.3.10-r1.

allan



Re: [gentoo-user] Re: how I violate gentoo-netiquette

2009-04-29 Thread Xavier Parizet
Nikos Chantziaras a écrit :
 Andrew Gaydenko wrote:
 Say, I see here

 http://packages.gentoo.org/feed/arch/amd64

 some packages I'm interested in were updated. I think - OK, let's start
 eix-sync! But - nothing new there... I try an hour later...

 I see, there is some time lag somewhere. Is there a way to see really
 available portage updates?
 
 Portage got updated but the mirror you're using is not synced yet.
 
 And what's the gentoo-netiquette in the subject about?

About syncing portage more than once a day...


-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: how I violate gentoo-netiquette

2009-04-29 Thread Alan McKinnon
On Wednesday 29 April 2009 20:18:56 Nikos Chantziaras wrote:
 Andrew Gaydenko wrote:
  Say, I see here
 
  http://packages.gentoo.org/feed/arch/amd64
 
  some packages I'm interested in were updated. I think - OK, let's start
  eix-sync! But - nothing new there... I try an hour later...
 
  I see, there is some time lag somewhere. Is there a way to see really
  available portage updates?

 Portage got updated but the mirror you're using is not synced yet.

 And what's the gentoo-netiquette in the subject about?

He read Do not sync more than once in 24 hours in the motd and decided that 
of course only applied to everyone else, and not to him

Andrew, exercise some patience and wait a day for your mirror to sync. It can 
take a day or two or three. Now, if you have a brazillion bucks to throw at 
the problem we can pay the mirror sites enough dosh so they can buy nearly 
infinite bandwidth and make it much shorter.

You say you don't have a brazillion bucks? Well, me neither but my employer 
still has to pay the bandwidth for the gentoo mirror I run. So the UK mirror I 
sync from gets their stuff a day after gentoo.org, and I get mine from the UK 
a day after that.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: how I violate gentoo-netiquette

2009-04-29 Thread Volker Armin Hemmann
On Mittwoch 29 April 2009, Alan McKinnon wrote:
 On Wednesday 29 April 2009 20:18:56 Nikos Chantziaras wrote:
  Andrew Gaydenko wrote:
   Say, I see here
  
   http://packages.gentoo.org/feed/arch/amd64
  
   some packages I'm interested in were updated. I think - OK, let's start
   eix-sync! But - nothing new there... I try an hour later...
  
   I see, there is some time lag somewhere. Is there a way to see really
   available portage updates?
 
  Portage got updated but the mirror you're using is not synced yet.
 
  And what's the gentoo-netiquette in the subject about?

 He read Do not sync more than once in 24 hours in the motd and decided
 that of course only applied to everyone else, and not to him

 Andrew, exercise some patience and wait a day for your mirror to sync. It
 can take a day or two or three. Now, if you have a brazillion bucks to
 throw at the problem we can pay the mirror sites enough dosh so they can
 buy nearly infinite bandwidth and make it much shorter.

waiting a few hours would be enough. Nobody will ban him just because he syncs 
earlier than 24h after the last one. Only excessive syncing will result in a 
ban.



Re: [gentoo-user] how I violate gentoo-netiquette

2009-04-29 Thread Justin
Andrew Gaydenko wrote:
 Say, I see here
 
 http://packages.gentoo.org/feed/arch/amd64
 
 some packages I'm interested in were updated. I think - OK, let's start
 eix-sync! But - nothing new there... I try an hour later...
 
 I see, there is some time lag somewhere. Is there a way to see really 
 available portage updates?
 

Lets say you are interested in the eix package, do it that way:

cd /tmp
cvs -d :pserver:anonym...@anoncvs.gentoo.org:/var/cvsroot co 
gentoo-x86/app-portage/eix
cp -rvf gentoo-x86/app-portage/eix /usr/portage/app-portage/eix
cd /usr/portage/app-portage
repoman -fix
emerge eix

All sources can be found at http://sources.gentoo.org/viewcvs.py/gentoo-x86/



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: how I violate gentoo-netiquette

2009-04-29 Thread Nikos Chantziaras

Xavier Parizet wrote:

Nikos Chantziaras a écrit :

Andrew Gaydenko wrote:

Say, I see here

http://packages.gentoo.org/feed/arch/amd64

some packages I'm interested in were updated. I think - OK, let's start
eix-sync! But - nothing new there... I try an hour later...

I see, there is some time lag somewhere. Is there a way to see really
available portage updates?

Portage got updated but the mirror you're using is not synced yet.

And what's the gentoo-netiquette in the subject about?


About syncing portage more than once a day...


Hmm.  Most mirrors I sync against don't have such policy, and some even 
explicitly state in their MOTD that there's no limit to how often you 
can sync.  I'm using rsync://rsync.europe.gentoo.org/gentoo-portage.


I guess they all have flatrate bandwidth or bandwidth is cheap in Europe :P




Re: [gentoo-user] Re: how I violate gentoo-netiquette

2009-04-29 Thread Xavier Parizet
Nikos Chantziaras a écrit :
 Xavier Parizet wrote:
 Nikos Chantziaras a écrit :
 Andrew Gaydenko wrote:
 Say, I see here

 http://packages.gentoo.org/feed/arch/amd64

 some packages I'm interested in were updated. I think - OK, let's start
 eix-sync! But - nothing new there... I try an hour later...

 I see, there is some time lag somewhere. Is there a way to see really
 available portage updates?
 Portage got updated but the mirror you're using is not synced yet.

 And what's the gentoo-netiquette in the subject about?

 About syncing portage more than once a day...
 
 Hmm.  Most mirrors I sync against don't have such policy, and some even
 explicitly state in their MOTD that there's no limit to how often you
 can sync.  I'm using rsync://rsync.europe.gentoo.org/gentoo-portage.
 
 I guess they all have flatrate bandwidth or bandwidth is cheap in Europe :P

He is talking about this [1]... Look at green box under Listing 2.3 ;)

[1] http://www.gentoo.org/doc/en/rsync.xml

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: how I violate gentoo-netiquette

2009-04-29 Thread Alan McKinnon
On Wednesday 29 April 2009 21:05:13 Nikos Chantziaras wrote:

 Hmm.  Most mirrors I sync against don't have such policy, and some even
 explicitly state in their MOTD that there's no limit to how often you
 can sync.  I'm using rsync://rsync.europe.gentoo.org/gentoo-portage.

 I guess they all have flatrate bandwidth or bandwidth is cheap in Europe :P

Well, as an example:

The cheapest and nastiest DSL offering in Germany is better bandwidth and 
better cap (if any) than the most expensive service I can offer customers (my 
employer is the biggest in the country and gets better rates on bulk 
bandwidth).

Plus, the Germans pay a tiny fraction of the price we have to charge.

So in some places on the planet, bandwidth is a HUGE factor. In other places 
it isn't :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] can't print from firefox, but CUPS says OK, also poppler

2009-04-29 Thread Alejandro
2009/4/29 Allan Gottlieb gottl...@nyu.edu

 At Thu, 23 Apr 2009 08:59:50 +0200 Morten Holt th...@t-hawk.com wrote:

  Allan Gottlieb wrote:
  At Wed, 22 Apr 2009 12:18:58 -0400 Allan Gottlieb gottl...@nyu.edu
 wrote:
 
  For some reason printing from firefox has stopped working.
  When I ^P or file--print and select a printer (there are two),
  the print button is greyed out.  With print to file, the button is
  live and the pdf file is successfully created
 
  I can print via lpr.
 
  If, in firefox, I goto localhost:631 (the cups home page on this
 machine),
  I can print test pages to either machine.
 
  Is there a way I can ask firefox to tell me why the print button is
  greyed out?
 
  Some further information.
  Evince has the same situation, print is greyed out.
  Sounds like the same issue I have, do you get log entries like:
Request from localhost using invalid Host: field ::1
  in /var/log/cups/error_log?
 
  If you find a solution to this, please let me know here, I can't seem to
  find a solution to the issue, and appearantly nobody has any ideas.

 Sorry I didn't notice your msg earlier.
 My issue was fixed with a version bump to cups.
 Do you still have trouble with 1.3.10-r1.

 allan


This is because cups start using ipv6 by default. Using your previous cuos
config should fix this.


Re: [gentoo-user] [OT:netiquete] was AUTO: Martin...

2009-04-29 Thread Daniel Barkalow
On Tue, 28 Apr 2009, thomas blomme wrote:

 Is there a way in gmail to put top-posting off?

I think Gmail (and alpine) pretty much do the right thing (except for 
sticking in some blank lines at the beginning). It's best to put the 
cursor at the top so that you can trim what you're quoting down to the 
relevant parts and insert responses inline in order. If it put the cursor 
at the bottom, you'd have to jump to the top, only reply at the end 
(which nobody likes, since it means there's a ton of quoted text that 
you're not really responding to sitting in your message), or write your 
reply backwards moving up.

The issue, in my opinion, isn't starting at the top, it's failing to end 
at the bottom.

-Daniel
*This .sig left intentionally blank*



Re: [gentoo-user] [OT:netiquete] was AUTO: Martin...

2009-04-29 Thread Daniel Barkalow
On Tue, 28 Apr 2009, William Hubbs wrote:

 On Tue, Apr 28, 2009 at 07:39:29PM +0100, Neil Bothwick wrote:
  That's an interesting point, and the first real justification for
  top-posting I've seen. Although I would have thought it should be
  possible to have your mailer hide quotes and the reader then skip them.
  
  Well, I use mutt when I am working in linux, do you know of a way to do
  this with mutt?

I don't know about mutt, but there's a flag in alpine to color quoted 
text. It might be possible to get your screen reader to use different 
voices for different colors and make it sound like the conversation it 
actually is.

-Daniel
*This .sig left intentionally blank*



Re: [gentoo-user] [OT:netiquete] was AUTO: Martin...

2009-04-29 Thread William Hubbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Daniel,

On Wed, Apr 29, 2009 at 05:17:04PM -0400, Daniel Barkalow wrote:
 I don't know about mutt, but there's a flag in alpine to color quoted 
 text. It might be possible to get your screen reader to use different 
 voices for different colors and make it sound like the conversation it 
 actually is.
 
This is an interesting idea, but I'm not sure that it has ever been
done.

William

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkn4yyAACgkQblQW9DDEZTg/fgCbBsxDpYq67NHICxSDugetE64V
yCsAoK/QK6wqdcyFlM+RHEPEPuBf1FZd
=9x+5
-END PGP SIGNATURE-



[gentoo-user] S/MIME errors when importing certificate

2009-04-29 Thread Mick
For some reason I am getting these errors when I am trying to import a SSL 
Certificate into Kleopatra:

 6 - 2009-04-29 22:57:02 gpg-agent[7117.14] DBG: - [Confidential data not 
shown]
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: 1224 bytes of 3DES 
encrypted text
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-1'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-15'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-2'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-3'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-4'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-5'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-6'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-7'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-8'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `ISO-8859-9'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `KOI8-R'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `IBM437'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `IBM850'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `EUC-JP'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: decryption failed; 
trying charset `BIG5'
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: password too long
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: data error 
at decrypted-text, offset 2935372947
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: error 
at bag-sequence, offset 15
  5 - 2009-04-29 22:57:02 gpgsm[9505]: gpg-protect-tool: error parsing or 
decrypting the PKCS-12 file
  5 - 2009-04-29 22:57:02 gpgsm[9505]: error running 
`/usr/libexec/gpg-protect-tool': exit status 2
  5 - 2009-04-29 22:57:02 gpgsm[9505]: total number processed: 0
  5 - 2009-04-29 22:57:02 gpgsm[9505.0] DBG: - S IMPORT_RES 0 0 0 0 0 0 0 0 0 
0 0 0 0 0
  5 - 2009-04-29 22:57:02 gpgsm[9505.0] DBG: - ERR 50331800 Decryption failed 
  6 - 2009-04-29 22:57:02 gpg-agent[7117.14] DBG: - [EOF]
  6 - 2009-04-29 22:57:02 gpg-agent[7117]: handler 0x886c7c0 for fd 14 
terminated
  6 - 2009-04-29 22:57:02 gpg-agent[7117.12] DBG: - [EOF]
  6 - 2009-04-29 22:57:02 gpg-agent[7117]: handler 0x882b148 for fd 12 
terminated
  5 - 2009-04-29 22:57:02 gpgsm[9505.0] DBG: - BYE
  5 - 2009-04-29 22:57:02 gpgsm[9505.0] DBG: - OK closing connection


I had no problem importing the previous certificate which has now expired.

PS. I tried many times to make sure that I typed in the correct passphrase.
-- 
Regards,
Mick


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


[gentoo-user] Mysql and utf8: Can't initialize character set utf-8

2009-04-29 Thread Galevsky
Hi, I have a problem with mysql 5.0.71-r1 and utf8 charset. I have a
lighttpd v1.4.20 web server using php v5.2.9-r2 that provides several
websites.

I set up the DB server default charset to utf-8 into file /etc/my.cnf

[mysqld]
character-set-server= utf8
default-character-set   = utf8


since I want a utf8 box:

~$ locale
LANG=fr_FR.UTF-8
LC_CTYPE=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=


but I changed the previous en_GB language to fr_FR.UTF-8 a few days
ago, and now my web sites can't connect to the DBs and I face the
following error:

Can't initialize character set utf-8 (path: /usr/share/mysql/charsets/)

I have 'unicode' in my USE flags, try to emerge -uDN my whole world
but I cannot get any /usr/share/mysql/charsets/utf-8.xml file !

What can I do ? Any support is welcome..

Hereafter my box settings:

~ # emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.1.2,
glibc-2.8_p20080602-r1, 2.6.24.5-grsec--grs-ipv4-32 i686)
=
System uname: 
linux-2.6.24.5-grsec--grs-ipv4-32-i686-intel-r-_pentium-r-_dual_cpu_e21...@_2.00ghz-with-glibc2.0
Timestamp of tree: Wed, 29 Apr 2009 05:00:01 +
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash: 3.2_p39
dev-lang/python: 2.4.4-r6, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /var/bind
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/udev/rules.d
CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks fixpackages parallel-fetch protect-owned sfperms
strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://mirror.ovh.net/gentoo-distfiles/
ftp://mirror.ovh.net/gentoo-distfiles/;
LANG=fr_fr.u...@euro
LDFLAGS=-Wl,-O1
LINGUAS=fr en
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/portage/local/layman/ovh-overlay
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=acl berkdb bzip2 cgi cli cracklib crypt cups dri fastcgi fortran
gd gdbm gif gpm iconv ipv6 isdnlog jpeg midi mmx mudflap mysql ncurses
nls nptlonly openmp pam pcre perl png pppd python readline reflection
session spl sse sse2 ssl sysfs tcpd unicode x86 xml xorg zlib
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav
dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id
userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard
mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=fr en
USERLAND=GNU VIDEO_CARDS=fbdev glint i810 intel mach64 mga neomagic
nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

Galevsky



[gentoo-user] [OT sort of] S-video support on NVidia-based cards

2009-04-29 Thread Mark Knecht
Hi,
   This is sort of off-topic except it isn't if recent xorg-server
updates hadn't totally killed video operation on one of my Intel
GPU-based machines. I've not been able to fix it after two weeks and
cannot spend more time so I'm investigating spending $40 to buy some
cheap video card to just move on.

   Anyway, one feature I'd like to investigate with this card is
MythTV over s-Video. I already use this on another old machine which
is ATI-based but that ATI driver requires an old kernel so the machine
hasn't been completely updated in a couple of years now. If I can get
Myth out on the S-video port of this new card then possibly I can use
that machine for something else which would be cool.

   Anyway, in the $40 range NewEgg has some GForce 6200 cards that
look reasonable to me but I don't know how to determine if S-video
output is supported on these cards under Linux. Any problems?

   If it matters there are some FX 5200 cards but they seem slower,
older specs, so I'm hoping the 6200 series is a reasonable solution.

   Here's a link to the sort fo card I'm looking at:

http://www.newegg.com/Product/Product.aspx?Item=N82E16814130465

Thanks,
Mark



[gentoo-user] Random-access cross-platform FS_backup tool suggestions

2009-04-29 Thread Mike Kazantsev
Hello,

It seems that tar/gzip/bzip2 are almost universal solutions for
unix-like system backups and we're using tar/gz combo to create backups
from the dawn of times.
But as the time goes by I stumble upon two misfits of such a combination
more and more:

  1. It's quite inpractical to keep tens of tarballs for one backup.
  2. Seeking within single tens-hundreds-of-gigs tarball is suboptimal,
at least.
  3. Single thread operation.

At home, being a gentoo-only user (w/ gentoo-patched kernels), I've
solved the problem with squashfs - it keeps all the necessary
attributes, hardlinks, boasts multi-threaded creation and instant
access to any file within.

Alas, I can't use it on a production servers due to compatibility
issues - not a single linux here have support for it and changing
/ patching kernels is a bit of nuisance. Even worse, many systems that
need to be backed-up are FreeBSD.

So I thought there's gotta be something that fits these criterias, but
so far I've found only dar and it seems quite slow and a bit unsuited
for these needs.

Any suggestions?
Thanks.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature