[gentoo-user] get-edid?

2010-07-15 Thread Erik
I installed app-misc/read-edid-1.4.2. It is supposed to install 2 tools;
get-edid and parse-edid. But I only got parse-edid. So I can not use it.
Any help?



Re: [gentoo-user] Re: (II) NV(0): Setting screen physical size to 508 x 317

2010-07-15 Thread Erik
2010-07-16 08:13, Dale skrev:
> Erik wrote:
>> 2010-07-16 01:51, walt skrev:
>>   
>>> On 07/15/2010 02:15 AM, Erik wrote:
>>>
>>> 
 ...This is the
 new Dell vostro|1720 from November, that replaced the old
 INSPIRON|8600
 aquired 5 years earlier...

>>> I feel as if I'm reading a post that I selected at random from the
>>> middle of a long thread with lots of previous questions and answers
>>> that I can't see.
>>>
>>> I've never heard of either of those products.  Maybe someone else
>>> knows what
>>> they are?
>>>  
>>
>> Do not worry about not knowing about the products that I mentioned in
>> the parenthesis in the last paragraph (they are just some laptops with
>> differend graphic cards built in). You may know enough to help if you
>> are familiar with Xorg, in particular the driver called NV (as the first
>> 2 lines of my post shows). Do you for example know from where the driver
>> gets the bogus physical display size 508 x 317 from, and why it insists
>> on using it instead of the configured size?
>>
>
> Are you using hal?  If so, you may need to get or change the config
> files so that it will run at the settings you want instead of what it
> "detects".
>
> By the way, I have no idea how to edit them.  It's in xml.  You may
> can google and borrow their config file tho.
>
> If you are not using hal, it should be set in xorg.conf.  I don't use
> hal and that is where mine is set.

Yes I am using hal. Maybe that is the problem. But it is clear from the
log file that xorg.conf is read anyway.



Re: [gentoo-user] Re: (II) NV(0): Setting screen physical size to 508 x 317

2010-07-15 Thread Dale

Erik wrote:

2010-07-16 01:51, walt skrev:
   

On 07/15/2010 02:15 AM, Erik wrote:

 

...This is the
new Dell vostro|1720 from November, that replaced the old INSPIRON|8600
aquired 5 years earlier...
   

I feel as if I'm reading a post that I selected at random from the
middle of a long thread with lots of previous questions and answers
that I can't see.

I've never heard of either of those products.  Maybe someone else
knows what
they are?
 


Do not worry about not knowing about the products that I mentioned in
the parenthesis in the last paragraph (they are just some laptops with
differend graphic cards built in). You may know enough to help if you
are familiar with Xorg, in particular the driver called NV (as the first
2 lines of my post shows). Do you for example know from where the driver
gets the bogus physical display size 508 x 317 from, and why it insists
on using it instead of the configured size?
   


Are you using hal?  If so, you may need to get or change the config 
files so that it will run at the settings you want instead of what it 
"detects".


By the way, I have no idea how to edit them.  It's in xml.  You may can 
google and borrow their config file tho.


If you are not using hal, it should be set in xorg.conf.  I don't use 
hal and that is where mine is set.


Hope that gives you a couple ideas.

Dale

:-)  :-)



Re: [gentoo-user] Re: (II) NV(0): Setting screen physical size to 508 x 317

2010-07-15 Thread Erik
2010-07-16 01:51, walt skrev:
> On 07/15/2010 02:15 AM, Erik wrote:
>
>> ...This is the
>> new Dell vostro|1720 from November, that replaced the old INSPIRON|8600
>> aquired 5 years earlier...
>
> I feel as if I'm reading a post that I selected at random from the
> middle of a long thread with lots of previous questions and answers
> that I can't see.
>
> I've never heard of either of those products.  Maybe someone else
> knows what
> they are?


Do not worry about not knowing about the products that I mentioned in
the parenthesis in the last paragraph (they are just some laptops with
differend graphic cards built in). You may know enough to help if you
are familiar with Xorg, in particular the driver called NV (as the first
2 lines of my post shows). Do you for example know from where the driver
gets the bogus physical display size 508 x 317 from, and why it insists
on using it instead of the configured size?



Re: [gentoo-user] Re: [OT] Any centralized documentation on qemu-kvm?

2010-07-15 Thread Walter Dnes
On Wed, Jul 14, 2010 at 09:15:59PM -0700, walt wrote

> Well, wait a sec.  I track both qemu and qemu-kvm from their git
> repositories rather than the gentoo packages, so YMMV.

[...deletia...]

> qemu-kvm does not supply a command named 'qemu', so there is no name
> conflict in that particular case.

  Gentoo seems to differ...

waltd...@i3 ~ $ equery belongs `which qemu`
[ Searching for file(s) /usr/bin/qemu in *... ]
app-emulation/qemu-kvm-0.12.4-r1 (/usr/bin/qemu)


-- 
Walter Dnes 



Re: [gentoo-user] openvz kernel and ext4

2010-07-15 Thread Xi Shen
from http://gentoo-portage.com/sys-kernel/openvz-sources, i see that
openvz-sources-2.6.27.6.1 is already the latest stable version, and
the other 2 newer versions are hard masked.

does anybody know how stable these masked version are?


On Fri, Jul 16, 2010 at 12:48 AM, Kyle Bader  wrote:
> Ext4 was very new around 2.6.27,. The kenel is likely refusing to
> mount the filesystem because the kernel driver is experimental (old)
> and the filesystem was created when a different kernel was loaded (non
> experimental ext4).  Using the old driver could compromise the
> integrity so the kernel refuses.  You might have better luck with a
> more recent kernel.
>
> On 7/15/10, Xi Shen  wrote:
>> sure, i do not need ext4dev, i want to use ext4 only. but i did not
>> find a compile option for ext4, i only find a option for ext4dev/ext4.
>>
>> the openvz i emerged is 2.6.27.6.1, which is the latest stable
>> version. is it too old? should i try newer unstable version?
>>
>>
>> On Thu, Jul 15, 2010 at 7:40 PM, Albert Hopkins 
>> wrote:
>>> On Thu, 2010-07-15 at 19:34 +0800, Xi Shen wrote:
 i emerged the openvz kernel, and compiled the kernel with ext4dev/ext4
 file system support. but when i tried to boot my system, i got a
 kernel panic. it says cannot mount my ext4 root, because it is not
 marked ok to use with test code.

 my root is at a ext4 file system, and i think the ext4dev/ext4 kernel
 compile option would allow me to use both ext4 and ext4dev features,
 am i wrong?

 i do not want to use ext4dev on my root, neither do i want to
 downgrade to ext3. is there a way to fix this?
>>>
>>> You don't need ext4dev.  ext4dev is old and, unless you've used it
>>> before, there's no need to use it today.  I'm guessing that's giving you
>>> that error (that's an old error).  It's easy to fix though (do a Google
>>> search for the error).  But it should not even occur if you've never
>>> used ext4dev, IIRC.
>>>
>>> -a
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Xi Shen (David)
>>
>> http://twitter.com/davidshen84/
>>
>>
>
> --
> Sent from my mobile device
>
>
> Kyle
>
>



-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



[gentoo-user] Re: (II) NV(0): Setting screen physical size to 508 x 317

2010-07-15 Thread walt

On 07/15/2010 02:15 AM, Erik wrote:


...This is the
new Dell vostro|1720 from November, that replaced the old INSPIRON|8600
aquired 5 years earlier...


I feel as if I'm reading a post that I selected at random from the middle of a
long thread with lots of previous questions and answers that I can't see.

I've never heard of either of those products.  Maybe someone else knows what
they are?




[gentoo-user] Re: viewing .m4v files with totem

2010-07-15 Thread walt

On 07/11/2010 07:42 PM, Allan Gottlieb wrote:

walt  writes:



What does totem say when you play your m4v file?


gottl...@ajglap /a/video $ totem Game_Theory_Lect_20_s.m4v
bt_audio_service_open: connect() failed: Connection refused (111)


Here's an interesting thread from ubuntu forums:

http://ubuntuforums.org/showthread.php?t=1490237





Re: [gentoo-user] Akonadi crashes

2010-07-15 Thread Mick
On Thursday 15 July 2010 20:57:20 Martin DiViaio wrote:
> Dumb question: Is dbus running?

Yes it is.

I think that the problem is with me using sqlite instead of mysql, as Alan 
already suggested.  On the basis that kmail was launching fine (albeit there 
was the occasional akonadi crash) since I installed kde-4.4.4 I assumed that 
akonadi was just a bit temperamental.  However, it seems that with kde-4.4.4 
sqlite is less compatible that it was with previous versions.

Deleting the akonadi.db causes sqlite to fail next time akonadi tries to 
start:

http://www.mail-archive.com/kdepim-b...@kde.org/msg27225.html

This is the reason that I could not start kmail at all after I deleted 
akonadi.db

I have now restored akonadi.db from a back up and akonadi starts without 
drama, however, my addressbook looks empty!  I also restored this from a back 
up, so I know it is not empty - also, when I start typing an address it 
autocompletes.

I also tried to run:

 INSERT INTO ResourceTable (name,isVirtual) VALUES 
('akonadi_search_resource','true')

as the above link recommends, but it complains:

Error: no such table: ResourceTable

Any idea what the stanza should be?

Clearly kde-4.4.4 is a bit problematic for me because unlike kde devs I do not 
need/want to run mysql just for less than 20 addresses or so, that I may have 
in my address book.

It may be time to give claws-mail a spin.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: emerge is not switching mirror when one is down

2010-07-15 Thread Alan McKinnon
On Thursday 15 July 2010 17:24:38 Nuno J. Silva wrote:
> Xi Shen  writes:
> [...]
> 
> >> > On 15/07/10 02:16, Xi Shen wrote:
> >> >> hi,
> >> >> 
> >> >> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
> >> >> i noticed that if the 1st mirror is down, emerge will continuously
> >> >> try the 1st mirror. i remember it should switch to the 2nd server
> >> >> after the try failed 3 times. how can i configure it to switch
> >> >> mirrors automatically?
> 
> [...]
> 
> > i tried the mirrorselect, and the generated GENTOO_MIRRORS is as follow:
> > 
> > GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
> > ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/";
> 
> Is this really a newline, or that's just your/my mail client wordwrapping
> it?

It gets complicated. Depending on the font size I use and the wordwrap setting 
in my mailer, the line may or may not split at that point.

So I dug out his original mail to the list, viewed the source - it was 
unwrapped plaintext - and copy-pasted the line into somewhere I could view it 
with a hex editor. And it was a newline (0x10)

So some translation must have happened somewhere. Perhaps the original 
character was a non-breaking space or a para break and my X buffer decided to 
render it as a newline before pasting. Odd indeed.

The OP should simply edit his make.conf, remove whatever seperator he has 
there and make it a real space.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver

2010-07-15 Thread Dale

Dale wrote:


That's what I was thinking but when I saw it still listed on the 
website I thought it would still be the right one.  Maybe you are 
right tho, the website is out of date or something.  It does list 
power panel too tho.  I'll give it a try.


Thanks.

Dale

:-)  :-)


Well this doesn't make much sense to me.  I did get nut to compile by 
changing to the *experimental* driver powerpanel.  It then wanted to 
overwrite everything in my config file back to the defaults.  Not that 
it appears the style or settings change but just back to where nothing 
is set at all.  I got past that, mostly anyway.  I got all the services 
restarted, twice I might add.  Now it tells me stuff that I know is not 
even possible.  Check out this mess:


r...@smoker / # upsc u...@smoker
battery.charge: 205
battery.charge.low: 45
device.mfr: CyberPower
device.model: rO43
device.serial: [unknown]
device.type: ups
driver.name: powerpanel
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.4.3
driver.version.internal: 0.25
input.frequency: 62.8
input.frequency.nominal: 60
input.transfer.high: 147
input.transfer.low: 88
input.voltage: 120
input.voltage.nominal: 120
output.voltage: 0
output.voltage.nominal: 120
ups.beeper.status: enabled
ups.delay.shutdown: 0
ups.delay.start: 45
ups.firmware: 3.100
ups.load: 22
ups.mfr: CyberPower
ups.model: rO43
ups.serial: [unknown]
ups.status: OL
ups.temperature: 143
r...@smoker / #

OK.  According to this mess, my 24 volt battery is charged to about 50 
volts or so.  I think I would see smoke by now.  ;-)   Then again, it 
says the battery is low, 45% charge.  Hm. < Dale scratches his head 
on this one >  The frequency of the line voltage is at 62.8 Hz, that's 
odd.  I also doubt the temp of the UPS is 143F either.  I got a fan on 
it and it usually runs at about 85 to 90 or so.


I think I'm going to go back to the old version of nut unless someone 
has a better plan.  This new version may compile and install but it 
appears to need some more work on the coding end.  I wish I could get 
powstatd to work.  I used it when I was using Mandrake and it was 
wonderful.  It was small, not to bad to configure and it just plain 
worked.  I could *easily* set it to shutdown when power had been gone 
for more than 10 minutes too.  Out here, if the lights are off more than 
5 minutes or so, you may as well cut the puter off.  It's going to be a 
hour or two at least.


Thoughts?

Dale

:-)  :-)



Re: [gentoo-user] Akonadi crashes

2010-07-15 Thread Martin DiViaio


Dumb question: Is dbus running?




- Original Message 
From: Mick 
To: gentoo-user@lists.gentoo.org
Sent: Thu, July 15, 2010 10:04:08 AM
Subject: Re: [gentoo-user] Akonadi crashes

On 15 July 2010 06:53, Mick  wrote:

OK, the plot thickens ... I think more things have gone amiss with my
system.  Some sort of corruption perhaps.

I moved the akonadi database and the next time I logged in and started
kmail the akonadi did its tests and the came up with this error (see
Test 10):
===


Akonadi Server Self-Test Report
===

Test 1:  SUCCESS


Database driver found.
Details: The QtSQL driver 'QSQLITE' is required by your current
Akonadi server configuration and was found on your system.

File content of '/home/michael/.config/akonadi/akonadiserverrc':
[%General]
Driver=QSQLITE
SizeThreshold=4096
ExternalPayload=false

[QSQLITE]
Name=/home/michael/.local/share/akonadi/akonadi.db
User=
Password=
Options=
StartServer=false
Host=

[Debug]
Tracer=null

[QMYSQL]
StartServer=true
ServerPath=/usr/bin/sqlite3
Name=akonadi
Host=
User=
Password=
Options=


Test 2:  SKIP


MySQL server executable not tested.
Details: The current configuration does not require an internal MySQL server.

Test 3:  SKIP


MySQL server error log not tested.
Details: The current configuration does not require an internal MySQL server.

Test 4:  SKIP


MySQL server configuration not tested.
Details: The current configuration does not require an internal MySQL server.

Test 5:  SUCCESS


akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi
server was found and could be executed successfully.
Result:
Akonadi 1.3.1


Test 6:  ERROR


Akonadi control process not registered at D-Bus.
Details: The Akonadi control process is not registered at D-Bus which
typically means it was not started or encountered a fatal error during
startup.

Test 7:  ERROR


Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which
typically means it was not started or encountered a fatal error during
startup.

Test 8:  ERROR


Nepomuk search service not registered at D-Bus.
Details: The Nepomuk search service is not registered at D-Bus which
typically means it was not started or encountered a fatal error during
startup.

Test 9:  SKIP


Protocol version check not possible.
Details: Without a connection to the server it is not possible to
check if the protocol version meets the requirements.

Test 10:  ERROR


No resource agents found.
Details: No resource agents have been found, Akonadi is not usable
without at least one. This usually means that no resource agents are
installed or that there is a setup problem. The following paths have
been searched: '/usr/share/akonadi/agents'. The XDG_DATA_DIRS
environment variable is set to '/usr/local/share:/usr/share', make
sure this includes all paths where Akonadi agents are installed to.

Directory listing of '/usr/share/akonadi/agents':
birthdaysresource.desktop
contactsresource.desktop
icalresource.desktop
imapresource.desktop
kabcresource.desktop
kcalresource.desktop
knutresource.desktop
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mboxresource.desktop
microblog.desktop
mtdummyresource.desktop
nepomukcalendarfeeder.desktop
nepomukcontactfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to '/usr/local/share:/usr/share'

Test 11:  ERROR


Current Akonadi server error log found.
Details: The Akonadi server did report error during startup into /home/michael/.local/share/akonadi/akonadiserver.error.


File content of '/home/michael/.local/share/akonadi/akonadiserver.error':
"Unable to add initial data to table 'ResourceTable'.
Query error: 'no such column: true Unable to execute statement'
Query was: INSERT INTO ResourceTable (name,isVirtual) VALUES
('akonadi_search_resource',true)"
Unable to initialize database.
"[
0: akonadiserver(_Z11akBacktracev+0x39) [0x40b9b9]
1: akonadiserver() [0x40bf02]
2: /lib/libc.so.6(+0x32230) [0x7fbe8374a230]
3: /lib/libc.so.6(gsignal+0x35) [0x7fbe8374a1b5]
4: /lib/libc.so.6(abort+0x180) [0x7fbe8374b5e0]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74)
[0x7fbe8562b444]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40d008]
7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7fbe856b9b17]
8: /usr/lib64/qt4/libQtCore.so.4(+0xb9) [0x7fbe856cb1b9]
9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7fbe856cc3a9]
10: akonadiserver(_ZN6QDebugD1Ev+0x49) [0x407559]
11: 
/usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x5f4)
[0x7fbe85a9b0a4]
12: 
/usr/lib64/libakonadipriv

Re: [gentoo-user] Camera App

2010-07-15 Thread Jil Larner
Hi,

Le 14/07/2010 02:03, sean a écrit :
> Is anyone able to recommend an application that can snap a picture using
> a webcam?

Try chesse. It requires V4L (Video 4 Linux) support in your kernel.

Best regards,
Jil.




Re: [gentoo-user] gentoo (diet) && Ceph ?

2010-07-15 Thread Kyle Bader
>> Googling sometimes produces hilarious results.
>>
>> Seriously, I'm looking for any  information/brave
>> hack on using CEPH fs with Gentoo
>
> The two main things you'll have to do is build a kernel with ceph
> support and then create an ebuild for ceph's userland utilities and
> put it in your own overlay.  If you have any ceph specific questions
> on implementation or bugs then your best bet is either the ceph
> mailing list or their IRC channel.  I can take a stab at questions but
> Sage, Yehuda or Greg will be able to more thoroughly/accurately answer
> them.

Not sure how up to date it is as I haven't tested it myself but it
might make your life easier:

http://gpo.zugaina.org/sys-cluster/ceph/USE


Kyle



Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver

2010-07-15 Thread Dale

Arttu V. wrote:

On 7/15/10, Dale  wrote:
   

Hi folks,

I'm trying to upgrade nut to the latest stable version.  I have the
driver set in make.conf and according to the website, it is the correct
driver.  I also while searching around noticed I need to make sure I
have the driver in /lib/nut and sure enough, it is there.  In make.conf
I have this:

NUT_DRIVERS="cyberpower"

This is the error I am getting:

make[1]: Entering directory
`/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
make[1]: *** No rule to make target `cyberpower', needed by `all-am'.  Stop.
make[1]: Leaving directory
`/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
make: *** [all-recursive] Error 1
   * ERROR: sys-power/nut-2.4.3-r2 failed:
   *   emake failed
   *
   * Call stack:
   * ebuild.sh, line   48:  Called src_compile
   *   environment, line 2904:  Called _eapi2_src_compile
   * ebuild.sh, line  640:  Called die
   * The specific snippet of code:
   *  emake || die "emake failed"
   *
   * If you need support, post the output of 'emerge --info
=sys-power/nut-2.4.3-r2',
   * the complete build log and the output of 'emerge -pqv
=sys-power/nut-2.4.3-r2'.
   * The complete build log is located at
'/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'.
   * The ebuild environment file is located at
'/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'.
   * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3'

  >>>  Failed to emerge sys-power/nut-2.4.3-r2, Log file:

  >>>   '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
   *
   * The following package has failed to build or install:
   *
   *  ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file:
   *   '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
   *
r...@smoker / #

Any idea why it can't make my driver when it is the right one and is set
in make.conf?  What am I missing?  Oh, this is connected to my serial
port, NOT the USB port.
 

Wrong driver combined with outdated website info or other docs?

I have no idea of their driver model but a hunch from the basis of
cups and a quick grep would lead me to suggest that cyberpower driver
possibly no longer exists. It might have been replaced by powerpanel:

drivers/powerpanel.c: * powerpanel.c - Model specific routines for
CyberPower text/binary
   


That's what I was thinking but when I saw it still listed on the website 
I thought it would still be the right one.  Maybe you are right tho, the 
website is out of date or something.  It does list power panel too tho.  
I'll give it a try.


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] openvz kernel and ext4

2010-07-15 Thread Kyle Bader
Ext4 was very new around 2.6.27,. The kenel is likely refusing to
mount the filesystem because the kernel driver is experimental (old)
and the filesystem was created when a different kernel was loaded (non
experimental ext4).  Using the old driver could compromise the
integrity so the kernel refuses.  You might have better luck with a
more recent kernel.

On 7/15/10, Xi Shen  wrote:
> sure, i do not need ext4dev, i want to use ext4 only. but i did not
> find a compile option for ext4, i only find a option for ext4dev/ext4.
>
> the openvz i emerged is 2.6.27.6.1, which is the latest stable
> version. is it too old? should i try newer unstable version?
>
>
> On Thu, Jul 15, 2010 at 7:40 PM, Albert Hopkins 
> wrote:
>> On Thu, 2010-07-15 at 19:34 +0800, Xi Shen wrote:
>>> i emerged the openvz kernel, and compiled the kernel with ext4dev/ext4
>>> file system support. but when i tried to boot my system, i got a
>>> kernel panic. it says cannot mount my ext4 root, because it is not
>>> marked ok to use with test code.
>>>
>>> my root is at a ext4 file system, and i think the ext4dev/ext4 kernel
>>> compile option would allow me to use both ext4 and ext4dev features,
>>> am i wrong?
>>>
>>> i do not want to use ext4dev on my root, neither do i want to
>>> downgrade to ext3. is there a way to fix this?
>>
>> You don't need ext4dev.  ext4dev is old and, unless you've used it
>> before, there's no need to use it today.  I'm guessing that's giving you
>> that error (that's an old error).  It's easy to fix though (do a Google
>> search for the error).  But it should not even occur if you've never
>> used ext4dev, IIRC.
>>
>> -a
>>
>>
>>
>>
>
>
>
> --
> Best Regards,
> Xi Shen (David)
>
> http://twitter.com/davidshen84/
>
>

-- 
Sent from my mobile device


Kyle



[gentoo-user] Re: emerge is not switching mirror when one is down

2010-07-15 Thread Nuno J. Silva
Alan McKinnon  writes:

> On Thursday 15 July 2010 16:49:33 Xi Shen wrote:
>> i tried the mirrorselect, and the generated GENTOO_MIRRORS is as follow:
>> 
>> GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
>> ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/";
>> 
>> and this is my original value:
>> 
> GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/http://mirrors.163.com/gentoo/";
>  
>
> Do you or do you not agree that there should be a space there?

I see the space on his messages, but not on yours (both this and the
other one).

Maybe it's something other than a space and it is ignored by some MUAs?

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg




Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Stroller


On 15 Jul 2010, at 16:09, Alan McKinnon wrote:


On Thursday 15 July 2010 16:49:33 Xi Shen wrote:
i tried the mirrorselect, and the generated GENTOO_MIRRORS is as  
follow:


GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/";

and this is my original value:

GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/http://mirrors.163.com/gentoo/ 
"



Do you or do you not agree that there should be a space there?


Uh, I see a space between 2 strings, both times he posted his original  
value.


Stroller.




[gentoo-user] Re: emerge is not switching mirror when one is down

2010-07-15 Thread Nuno J. Silva
Xi Shen  writes:
[...]
>> > On 15/07/10 02:16, Xi Shen wrote:
>> >> hi,
>> >>
>> >> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
>> >> i noticed that if the 1st mirror is down, emerge will continuously try
>> >> the 1st mirror. i remember it should switch to the 2nd server after
>> >> the try failed 3 times. how can i configure it to switch mirrors
>> >> automatically?
[...]
> i tried the mirrorselect, and the generated GENTOO_MIRRORS is as follow:
>
> GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
> ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/";

Is this really a newline, or that's just your/my mail client wordwrapping it?

> and this is my original value:
> GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ 
> http://mirrors.163.com/gentoo/";
>
> what's the difference? except the url...

If that was a newline, that's the only difference. If it is not, there
is no difference.

Do you, by any chance, have a custom FETCHCOMMAND?

My /usr/share/portage/config/make.conf.example shows a default of 5
tries (-t 5), using wget.

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg




Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Alan McKinnon
On Thursday 15 July 2010 16:49:33 Xi Shen wrote:
> i tried the mirrorselect, and the generated GENTOO_MIRRORS is as follow:
> 
> GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
> ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/";
> 
> and this is my original value:
> 
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/http://mirrors.163.com/gentoo/";
 

Do you or do you not agree that there should be a space there?



 
> 
> what's the difference? except the url...
> 
> On Thu, Jul 15, 2010 at 8:31 PM, Alan McKinnon  
wrote:
> > On Thursday 15 July 2010 13:41:11 Xi Shen wrote:
> >> it says
> > 
> > GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/http://mirrors.163.com/gen
> > too/"
> > 
> >> i guess it means ok, right?
> >> 
> >> On Thu, Jul 15, 2010 at 6:26 AM, Jake Moe  wrote:
> >> > On 15/07/10 02:16, Xi Shen wrote:
> >> >> hi,
> >> >> 
> >> >> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
> >> >> i noticed that if the 1st mirror is down, emerge will continuously
> >> >> try the 1st mirror. i remember it should switch to the 2nd server
> >> >> after the try failed 3 times. how can i configure it to switch
> >> >> mirrors automatically?
> >> > 
> >> > What does "emerge --info | grep GENTOO_MIRRORS" tell you?
> >> > 
> >> > Jake Moe
> > 
> > Nope, it's wrong.
> > 
> > That is 1 URL, I doubt it will be valid
> > 
> > 
> > --
> > alan dot mckinnon at gmail dot com

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Xi Shen
i tried the mirrorselect, and the generated GENTOO_MIRRORS is as follow:

GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/";

and this is my original value:
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ http://mirrors.163.com/gentoo/";

what's the difference? except the url...


On Thu, Jul 15, 2010 at 8:31 PM, Alan McKinnon  wrote:
> On Thursday 15 July 2010 13:41:11 Xi Shen wrote:
>> it says
>>
>>
> GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/http://mirrors.163.com/gentoo/";
>>
>> i guess it means ok, right?
>>
>> On Thu, Jul 15, 2010 at 6:26 AM, Jake Moe  wrote:
>> > On 15/07/10 02:16, Xi Shen wrote:
>> >> hi,
>> >>
>> >> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
>> >> i noticed that if the 1st mirror is down, emerge will continuously try
>> >> the 1st mirror. i remember it should switch to the 2nd server after
>> >> the try failed 3 times. how can i configure it to switch mirrors
>> >> automatically?
>> >
>> > What does "emerge --info | grep GENTOO_MIRRORS" tell you?
>> >
>> > Jake Moe
>
> Nope, it's wrong.
>
> That is 1 URL, I doubt it will be valid
>
>
> --
> alan dot mckinnon at gmail dot com
>
>



-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] Akonadi crashes

2010-07-15 Thread Mick
On 15 July 2010 06:53, Mick  wrote:

OK, the plot thickens ... I think more things have gone amiss with my
system.  Some sort of corruption perhaps.

I moved the akonadi database and the next time I logged in and started
kmail the akonadi did its tests and the came up with this error (see
Test 10):
===


Akonadi Server Self-Test Report
===

Test 1:  SUCCESS


Database driver found.
Details: The QtSQL driver 'QSQLITE' is required by your current
Akonadi server configuration and was found on your system.

File content of '/home/michael/.config/akonadi/akonadiserverrc':
[%General]
Driver=QSQLITE
SizeThreshold=4096
ExternalPayload=false

[QSQLITE]
Name=/home/michael/.local/share/akonadi/akonadi.db
User=
Password=
Options=
StartServer=false
Host=

[Debug]
Tracer=null

[QMYSQL]
StartServer=true
ServerPath=/usr/bin/sqlite3
Name=akonadi
Host=
User=
Password=
Options=


Test 2:  SKIP


MySQL server executable not tested.
Details: The current configuration does not require an internal MySQL server.

Test 3:  SKIP


MySQL server error log not tested.
Details: The current configuration does not require an internal MySQL server.

Test 4:  SKIP


MySQL server configuration not tested.
Details: The current configuration does not require an internal MySQL server.

Test 5:  SUCCESS


akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi
server was found and could be executed successfully.
Result:
Akonadi 1.3.1


Test 6:  ERROR


Akonadi control process not registered at D-Bus.
Details: The Akonadi control process is not registered at D-Bus which
typically means it was not started or encountered a fatal error during
startup.

Test 7:  ERROR


Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which
typically means it was not started or encountered a fatal error during
startup.

Test 8:  ERROR


Nepomuk search service not registered at D-Bus.
Details: The Nepomuk search service is not registered at D-Bus which
typically means it was not started or encountered a fatal error during
startup.

Test 9:  SKIP


Protocol version check not possible.
Details: Without a connection to the server it is not possible to
check if the protocol version meets the requirements.

Test 10:  ERROR


No resource agents found.
Details: No resource agents have been found, Akonadi is not usable
without at least one. This usually means that no resource agents are
installed or that there is a setup problem. The following paths have
been searched: '/usr/share/akonadi/agents'. The XDG_DATA_DIRS
environment variable is set to '/usr/local/share:/usr/share', make
sure this includes all paths where Akonadi agents are installed to.

Directory listing of '/usr/share/akonadi/agents':
birthdaysresource.desktop
contactsresource.desktop
icalresource.desktop
imapresource.desktop
kabcresource.desktop
kcalresource.desktop
knutresource.desktop
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mboxresource.desktop
microblog.desktop
mtdummyresource.desktop
nepomukcalendarfeeder.desktop
nepomukcontactfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to '/usr/local/share:/usr/share'

Test 11:  ERROR


Current Akonadi server error log found.
Details: The Akonadi server did report error during startup into /home/michael/.local/share/akonadi/akonadiserver.error.

File content of '/home/michael/.local/share/akonadi/akonadiserver.error':
"Unable to add initial data to table 'ResourceTable'.
Query error: 'no such column: true Unable to execute statement'
Query was: INSERT INTO ResourceTable (name,isVirtual) VALUES
('akonadi_search_resource',true)"
Unable to initialize database.
"[
0: akonadiserver(_Z11akBacktracev+0x39) [0x40b9b9]
1: akonadiserver() [0x40bf02]
2: /lib/libc.so.6(+0x32230) [0x7fbe8374a230]
3: /lib/libc.so.6(gsignal+0x35) [0x7fbe8374a1b5]
4: /lib/libc.so.6(abort+0x180) [0x7fbe8374b5e0]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74)
[0x7fbe8562b444]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40d008]
7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7fbe856b9b17]
8: /usr/lib64/qt4/libQtCore.so.4(+0xb9) [0x7fbe856cb1b9]
9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7fbe856cc3a9]
10: akonadiserver(_ZN6QDebugD1Ev+0x49) [0x407559]
11: 
/usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x5f4)
[0x7fbe85a9b0a4]
12: 
/usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x4a)
[0x7fbe85a9be4a]
13: akonadiserver(main+0x3aa) [0x406bea]
14: /lib/libc.so.6(__libc_start_main+0xfd) [0x7fbe83736bbd]
15: akonadiserver() [0

Re: [gentoo-user] Evdev keyboard no longer works [SOLVED]

2010-07-15 Thread Mark Knecht
On Thu, Jul 15, 2010 at 3:21 AM, Albert Hopkins  wrote:
> On Thu, 2010-07-15 at 06:09 -0400, Albert Hopkins wrote:
>> On Wed, 2010-07-14 at 19:03 -0700, Mark Knecht wrote:
>> > Have you completely powered down the machine and replugged the
>> > keyboard? Sometimes hardware gets stuck in an unknown state.
>> >
>> > Just an idea.
>>
>> It's a laptop, so plugging out the keyboard may be a challenge for me :P
>>
>> But yeah, the machine has been completely powered down several times.  I
>> might try pulling the battery though.
>
> Well, I don't believe it but plugging out the battery for a few secs and
> plugging it back in fixed it (with the system shut down).  Thanks for
> the tip Mark. :)
>
> -a

Hey - glad it worked Albert!

Cheers,
Mark



Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Alan McKinnon
On Thursday 15 July 2010 13:41:11 Xi Shen wrote:
> it says
> 
> 
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/http://mirrors.163.com/gentoo/";
> 
> i guess it means ok, right?
> 
> On Thu, Jul 15, 2010 at 6:26 AM, Jake Moe  wrote:
> > On 15/07/10 02:16, Xi Shen wrote:
> >> hi,
> >> 
> >> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
> >> i noticed that if the 1st mirror is down, emerge will continuously try
> >> the 1st mirror. i remember it should switch to the 2nd server after
> >> the try failed 3 times. how can i configure it to switch mirrors
> >> automatically?
> > 
> > What does "emerge --info | grep GENTOO_MIRRORS" tell you?
> > 
> > Jake Moe

Nope, it's wrong.

That is 1 URL, I doubt it will be valid


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver

2010-07-15 Thread Arttu V.
On 7/15/10, Dale  wrote:
> Hi folks,
>
> I'm trying to upgrade nut to the latest stable version.  I have the
> driver set in make.conf and according to the website, it is the correct
> driver.  I also while searching around noticed I need to make sure I
> have the driver in /lib/nut and sure enough, it is there.  In make.conf
> I have this:
>
> NUT_DRIVERS="cyberpower"
>
> This is the error I am getting:
>
> make[1]: Entering directory
> `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
> make[1]: *** No rule to make target `cyberpower', needed by `all-am'.  Stop.
> make[1]: Leaving directory
> `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
> make: *** [all-recursive] Error 1
>   * ERROR: sys-power/nut-2.4.3-r2 failed:
>   *   emake failed
>   *
>   * Call stack:
>   * ebuild.sh, line   48:  Called src_compile
>   *   environment, line 2904:  Called _eapi2_src_compile
>   * ebuild.sh, line  640:  Called die
>   * The specific snippet of code:
>   *  emake || die "emake failed"
>   *
>   * If you need support, post the output of 'emerge --info
> =sys-power/nut-2.4.3-r2',
>   * the complete build log and the output of 'emerge -pqv
> =sys-power/nut-2.4.3-r2'.
>   * The complete build log is located at
> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'.
>   * The ebuild environment file is located at
> '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'.
>   * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3'
>
>  >>> Failed to emerge sys-power/nut-2.4.3-r2, Log file:
>
>  >>>  '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
>   *
>   * The following package has failed to build or install:
>   *
>   *  ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file:
>   *   '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
>   *
> r...@smoker / #
>
> Any idea why it can't make my driver when it is the right one and is set
> in make.conf?  What am I missing?  Oh, this is connected to my serial
> port, NOT the USB port.

Wrong driver combined with outdated website info or other docs?

I have no idea of their driver model but a hunch from the basis of
cups and a quick grep would lead me to suggest that cyberpower driver
possibly no longer exists. It might have been replaced by powerpanel:

drivers/powerpanel.c: * powerpanel.c - Model specific routines for
CyberPower text/binary

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread András Csányi
On 15 July 2010 13:49, Xi Shen  wrote:
> manually. according to 'man make.conf', the GENTOO_MIRRORS is a list
> URLs, separated by space. i think my value is correct.

If I were in you shoes, I take a try with mirrorselect.

-- 
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell



Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Xi Shen
manually. according to 'man make.conf', the GENTOO_MIRRORS is a list
URLs, separated by space. i think my value is correct.


On Thu, Jul 15, 2010 at 7:47 PM, András Csányi  wrote:
> On 14 July 2010 18:16, Xi Shen  wrote:
>> hi,
>>
>> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
>> i noticed that if the 1st mirror is down, emerge will continuously try
>> the 1st mirror. i remember it should switch to the 2nd server after
>> the try failed 3 times. how can i configure it to switch mirrors
>> automatically?
>
> Which way did you make the list? Mirrorselect or manually?
> Have you tried with mirrorselect?
>
> --
> - -
> --  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
> --  "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
>
>



-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread András Csányi
On 14 July 2010 18:16, Xi Shen  wrote:
> hi,
>
> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
> i noticed that if the 1st mirror is down, emerge will continuously try
> the 1st mirror. i remember it should switch to the 2nd server after
> the try failed 3 times. how can i configure it to switch mirrors
> automatically?

Which way did you make the list? Mirrorselect or manually?
Have you tried with mirrorselect?

-- 
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell



Re: [gentoo-user] openvz kernel and ext4

2010-07-15 Thread Xi Shen
sure, i do not need ext4dev, i want to use ext4 only. but i did not
find a compile option for ext4, i only find a option for ext4dev/ext4.

the openvz i emerged is 2.6.27.6.1, which is the latest stable
version. is it too old? should i try newer unstable version?


On Thu, Jul 15, 2010 at 7:40 PM, Albert Hopkins  wrote:
> On Thu, 2010-07-15 at 19:34 +0800, Xi Shen wrote:
>> i emerged the openvz kernel, and compiled the kernel with ext4dev/ext4
>> file system support. but when i tried to boot my system, i got a
>> kernel panic. it says cannot mount my ext4 root, because it is not
>> marked ok to use with test code.
>>
>> my root is at a ext4 file system, and i think the ext4dev/ext4 kernel
>> compile option would allow me to use both ext4 and ext4dev features,
>> am i wrong?
>>
>> i do not want to use ext4dev on my root, neither do i want to
>> downgrade to ext3. is there a way to fix this?
>
> You don't need ext4dev.  ext4dev is old and, unless you've used it
> before, there's no need to use it today.  I'm guessing that's giving you
> that error (that's an old error).  It's easy to fix though (do a Google
> search for the error).  But it should not even occur if you've never
> used ext4dev, IIRC.
>
> -a
>
>
>
>



-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Xi Shen
it says

GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ http://mirrors.163.com/gentoo/";

i guess it means ok, right?


On Thu, Jul 15, 2010 at 6:26 AM, Jake Moe  wrote:
> On 15/07/10 02:16, Xi Shen wrote:
>> hi,
>>
>> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
>> i noticed that if the 1st mirror is down, emerge will continuously try
>> the 1st mirror. i remember it should switch to the 2nd server after
>> the try failed 3 times. how can i configure it to switch mirrors
>> automatically?
>>
> What does "emerge --info | grep GENTOO_MIRRORS" tell you?
>
> Jake Moe
>
>



-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] openvz kernel and ext4

2010-07-15 Thread Albert Hopkins
On Thu, 2010-07-15 at 19:34 +0800, Xi Shen wrote:
> i emerged the openvz kernel, and compiled the kernel with ext4dev/ext4
> file system support. but when i tried to boot my system, i got a
> kernel panic. it says cannot mount my ext4 root, because it is not
> marked ok to use with test code.
> 
> my root is at a ext4 file system, and i think the ext4dev/ext4 kernel
> compile option would allow me to use both ext4 and ext4dev features,
> am i wrong?
> 
> i do not want to use ext4dev on my root, neither do i want to
> downgrade to ext3. is there a way to fix this? 

You don't need ext4dev.  ext4dev is old and, unless you've used it
before, there's no need to use it today.  I'm guessing that's giving you
that error (that's an old error).  It's easy to fix though (do a Google
search for the error).  But it should not even occur if you've never
used ext4dev, IIRC.

-a





[gentoo-user] openvz kernel and ext4

2010-07-15 Thread Xi Shen
hi,

i emerged the openvz kernel, and compiled the kernel with ext4dev/ext4
file system support. but when i tried to boot my system, i got a
kernel panic. it says cannot mount my ext4 root, because it is not
marked ok to use with test code.

my root is at a ext4 file system, and i think the ext4dev/ext4 kernel
compile option would allow me to use both ext4 and ext4dev features,
am i wrong?

i do not want to use ext4dev on my root, neither do i want to
downgrade to ext3. is there a way to fix this?


-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] bash blinking

2010-07-15 Thread Peter Humphrey
On Thursday 15 July 2010 09:03:41 Alan McKinnon wrote:
> On Thursday 15 July 2010 04:25:25 Peter Humphrey wrote:
> > On Wednesday 14 July 2010 20:35:43 Jorge Almeida wrote:
> > > How can I prevent bash of blinking when running "ls -l" on a
> > > directory with broken links? The thing gets in the way, and it is
> > > really unbearable if a directory contains lots of broken links. I
> > > didn't manage to google my way around this problem. Maybe some
> > > other package has to be reconfigured...
> > 
> > $ clear
> 
> Clear clears the screen and resets the prompt to top left. It does
> nothing to change the configured color scheme in DIR_COLORS

No, and it seems I misread the question. The operative word was 
"prevent", whereas what I offered was a recovery. Must pay more 
attention.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Evdev keyboard no longer works [SOLVED]

2010-07-15 Thread Albert Hopkins
On Thu, 2010-07-15 at 06:09 -0400, Albert Hopkins wrote:
> On Wed, 2010-07-14 at 19:03 -0700, Mark Knecht wrote:
> > Have you completely powered down the machine and replugged the
> > keyboard? Sometimes hardware gets stuck in an unknown state.
> > 
> > Just an idea. 
> 
> It's a laptop, so plugging out the keyboard may be a challenge for me :P
> 
> But yeah, the machine has been completely powered down several times.  I
> might try pulling the battery though.

Well, I don't believe it but plugging out the battery for a few secs and
plugging it back in fixed it (with the system shut down).  Thanks for
the tip Mark. :)

-a





Re: [gentoo-user] Evdev keyboard no longer works [UPDATE]

2010-07-15 Thread Albert Hopkins
On Wed, 2010-07-14 at 19:03 -0700, Mark Knecht wrote:
> Have you completely powered down the machine and replugged the
> keyboard? Sometimes hardware gets stuck in an unknown state.
> 
> Just an idea. 

It's a laptop, so plugging out the keyboard may be a challenge for me :P

But yeah, the machine has been completely powered down several times.  I
might try pulling the battery though.

-a





[gentoo-user] Gnome is missing the hibernate button in the shutdown dialog box.

2010-07-15 Thread Jonathan
I'm running TuxOnIce kernel version 2.6.34-r1 with gnome 2.28.2.
I can hibernate using pm-hibernate as root but I do not have a hibernate button 
in the shutdown dialog box
but it does have suspend button which works.

Here is some info based on https://wiki.ubuntu.com/DebuggingGNOMEPowerManager.

After running:
echo /sbin/tuxoniceui_text > /sys/power/tuxonice/user_interface/program
echo /mnt/data/system/suspend_file > /sys/power/tuxonice/file/target
I can using Hibernate:
 $ dbus-send --system --print-reply --dest="org.freedesktop.Hal" 
/org/freedesktop/Hal/devices/computer 
org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate

$ dbus-send --session --print-reply --dest="org.freedesktop.PowerManagement" 
--type=method_call --reply-timeout=6000 /org/freedesktop/PowerManagement 
org.freedesktop.PowerManagement.CanSuspend
Error org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.PowerManagement was not provided by any .service files
Does not work on Gentoo ?

$ gconftool-2 -g /apps/gnome-power-manager/general/can_hibernate
true
$ gconftool-2 -g /apps/gnome-power-manager/general/can_suspend
true
$ polkit-auth | grep power-management.suspend
org.freedesktop.hal.power-management.suspend

$ polkit-auth | grep power-management.hibernate
org.freedesktop.hal.power-management.hibernate

$ pm-is-supported --suspend && echo $? 
0

$ pm-is-supported --hibernate && echo $?
0

$ hal-device | grep power_management.can_   
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = true  (bool)
  power_management.can_hibernate = true  (bool)

I have being pulling my hair out over this missing hibernate button for over a 
day and Google is being useless in this matter.



[gentoo-user] (II) NV(0): Setting screen physical size to 508 x 317

2010-07-15 Thread Erik
The problem is this line in /var/log/Xorg.0.log:
(II) NV(0): Setting screen physical size to 508 x 317

I have measured the screen and it is actually (approximately) 368 × 230.
This error causes fonts to be shown in the wrong size (too small). I
think that the fonts became smaller after some upgrade during the last
few months. I do not know if it was correct before that or if it was
just wrong in a different way. I tried to tell it the correct values in
/etc/X11/xorg.conf:
Section "Monitor"
  Identifier "Monitor"
  DisplaySize 368 230
EndSection

Section "Screen"
  Identifier "Screen"
  Monitor "Monitor"
EndSection

It is read without problems:
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Screen" (0)
(**) |   |-->Monitor "Monitor"

But then it sets the wrong physical size anyway! Is there anything to do
besides reporting a bug and waiting?

(There are other issues with this video device; it shows only 25 × 80
characters in the virtual terminals (should be 75 × 240). This is the
new Dell vostro|1720 from November, that replaced the old INSPIRON|8600
aquired 5 years earlier, with radeon driver. That old device worked fine
without any configuration files. The physical screen size was detected
and the virtual kernel output switched to 75 × 240 characters as soon as
the device was detected.)



Re: [gentoo-user] Virtualbox USB w/o usbfs

2010-07-15 Thread App Deb
You should never add that line in fstab in Gentoo. Don't follow random
tutorials about random distro workarounds. Gentoo bootscripts mount usbfs on
boot with gid=group=usb, so if you want to give user permissions for usbfs,
you add yourself to the "usb" group, you don't need to do anything else, and
Virtualbox will work (of course you also need to be in the vboxusers group).


Anyway, usbfs is not actually needed anymore, it has been replaced by usb
/dev/ entries. VirtualBox will use usbfs if it is mounted, but if it is not,
usb will work with the new improved way (better permission handling, for
printers for example). I don't now of any application that works only with
usbfs anymore, maybe it is time to remove it (or make it optional) from the
default gentoo boot-scripts.



On Tue, Jul 13, 2010 at 5:28 PM, SpaceCake  wrote:

> Hi,
>
> I have a problem with accessing usb devices from virtualbox after some
> kernel/system update. Previously it was ok after I've added the following
> line to the fstab
>
> usbfs  /proc/bus/usb   usbfs
> devgid=1017,devmode=664 0 0
>
> but now, there is no /proc/bus/usb
>
> how can I enable USB access for a regular user in this new situation?
> Should I modify some kernel parameters? should I enable CONFIG_USB_DEVICEFS
> or there is some alternative solution?
>
> Thanks
> Laszlo
>
>


Re: [gentoo-user] bash blinking

2010-07-15 Thread Alan McKinnon
On Thursday 15 July 2010 04:25:25 Peter Humphrey wrote:
> On Wednesday 14 July 2010 20:35:43 Jorge Almeida wrote:
> > How can I prevent bash of blinking when running "ls -l" on a
> > directory with broken links? The thing gets in the way, and it is
> > really unbearable if a directory contains lots of broken links. I
> > didn't manage to google my way around this problem. Maybe some other
> > package has to be reconfigured...
> 
> $ clear


Clear clears the screen and resets the prompt to top left. It does nothing to 
change the configured color scheme in DIR_COLORS


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Fails to compile dev-lang/python-3.1.2-r4

2010-07-15 Thread Erik
2010-07-13 07:32, Blackdream W skrev:
> cat /etc/locale.gen
>
> en_US ISO-8859-1
> en_US.UTF-8 UTF-8
>
> 2010/7/13 Zhu Sha Zang 
>
>> I see this error when i'm trying to "compile" my python source codes in
>> eric4/eric5 and my system are with uncorrect locales.
>>
>> Your locale are corect?
>>
>> att
>>
>> Em Tue, 13 Jul 2010 02:03:35 -0300, Blackdream W 
>> escreveu:
>>
>>
>>  https://bugs.gentoo.org/show_bug.cgi?id=328047
>>>
>>> I'm using ~amd64,and I sync my portage tree just now,but I couldn't
>>> upgrade
>>> to dev-lang/python-3.1.2-r4.
>>>
>>> "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1:
>>> ordinal not in range(128)"
>>>
>>>
>>> any help?thx

I get a similar error:
running build_ext
Traceback (most recent call last):
  File "./setup.py", line 1823, in 
main()
  File "./setup.py", line 1817, in main
"Tools/scripts/2to3"]
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/core.py",
line 149, in setup
dist.run_commands()
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/dist.py",
line 919, in run_commands
self.run_command(cmd)
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/dist.py",
line 938, in run_command
cmd_obj.run()
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/command/build.py",
line 128, in run
self.run_command(cmd_name)
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/cmd.py",
line 315, in run_command
self.distribution.run_command(command)
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/dist.py",
line 938, in run_command
cmd_obj.run()
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/command/build_ext.py",
line 347, in run
self.build_extensions()
  File "./setup.py", line 160, in build_extensions
missing = self.detect_modules()
  File "./setup.py", line 567, in detect_modules
for ln in fp:
  File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/encodings/ascii.py",
line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19:
ordinal not in range(128)