[gentoo-user] xfce: unable to perform shutdown

2010-01-04 Thread José Romildo Malaquias
Hello.

When shutting down my ~amd64 gentoo system running XFCE, the system
does not shut down and I receive the following error message, and then
the XFCE session is closed.

Unable to perform shutdown
error: org.freedesktop.Hal.Error: Could not determine whether caller
is privileged
org.freedesktop.Hal.Device.Error

Any clues?

Romildo



[gentoo-user] Re: xfce: unable to perform shutdown

2010-01-04 Thread Liviu Andronic
On 1/4/10, José Romildo Malaquias j.romi...@gmail.com wrote:
  When shutting down my ~amd64 gentoo system running XFCE, the system
  does not shut down and I receive the following error message, and then
  the XFCE session is closed.

  Unable to perform shutdown
  error: org.freedesktop.Hal.Error: Could not determine whether caller
  is privileged
  org.freedesktop.Hal.Device.Error

  Any clues?

Yes. Something similar is happening on amd64 Debian systems (see
[1][2]). The only workaround that I'm aware of sofar is to make sure
no root programs are running when hitting the shutdown/restart button.
Liviu

[1] 
http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/2009-April/008492.html
[2] http://www.mail-archive.com/debian-u...@lists.debian.org/msg553778.html



[gentoo-user] USB Flash Drives automatic mounting breakage (Gnome)

2010-01-04 Thread Alan E. Davis
Recently, I have had to reboot in order to recover the function of automatic
mounting of USB Flash drives, after some activity, such as mounting and
umounting.   This is happening on two AMD64 systems.

I am often able to unmount manually (# umount /media/KINGSTON , for
example).   All of my flash drives have labels, and usually they mount on
/media, when plugged in.  However, not always, but often, when I have
unmounted one of them, the name stays visible on Nautilus, and it is
impossible to mount it again by plugging it in.

Another time, I reorganized the partitions on a flash drive, into one
partition.  After this, I was unable to plug it in to mount it.

Uniformly, the expected behavior is recovered after rebooting.

I am using these drives to maintain git repositories of subdirectories, so I
need to be able to access various drives on demand, by pluggint them in.  I
am not sure where to look for help.  The USB guide, etc. didnt seem to
help.  Is there an init script that I can restart to recover the volume
management function?

Thank you for any ideas.

Alan Davis
Avid user of Gentoo, knows enough to get into trouble.


[gentoo-user] aria2 cannot d/l torrent file

2010-01-04 Thread Xi Shen
hi,

i emerged aria2-1.6.3, and according to the man page, i can use it to
d/l bittorrent file. but when i use

aria2c myfile.torrent

it says unrecognized protocol.

i have the bittorrent use flag set for it. do i miss any thing?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] RAM installed vs reported

2010-01-04 Thread Joshua Murphy
2010/1/3 Thanasis thana...@asyr.hopto.org:
 on 01/04/2010 01:10 AM Krzysztof Halasa wrote the following:
 Thanasis thana...@asyr.hopto.org writes:


 Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?

 This EMBEDDED just means don't touch these unless you really know
 what you're doing.

 BTW I remember using VMSPLIT 2 GB : 2 GB on server-class machines,
 before they were upgraded to x86-64.

 Do you mean that I should try it? Is there any gain over using
 CONFIG_HIGHMEM4G ?

Likely nothing noticeable, but here's a bit of a good coverage of the topic:

http://kerneltrap.org/node/6067

-- 
Poison [BLX]
Joshua M. Murphy



[gentoo-user] IDE/ATAPI ZIP drive - howto

2010-01-04 Thread Helmut Jarausch
Hi,

I've upgraded the kernel on an old machine to 2.6.32.
Now, I cannot get the ZIP drive (ATAPI) working.

There is a /dev/hdd device and dmesg is telling me about
an IOMEGA ZIP drive, but
trying to

fdisk /dev/hdd
or even mount it,
seems to make the kernel hang (at least these commands
never finish)

Has anybody any hint on what to try?

Many thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] Kopete isn't storing my contact list changes

2010-01-04 Thread Crístian Viana
Hi!

I'm using kde-base/kopete-4.3.3 (which is Kopete 0.80.2) and it's not
storing anything I do to the next time I run the program. For example, I
merge some contacts into meta-contacts, associate some of them to a
KAddressBook entry, change my nickname (ok, that may be unrelated), but when
I restart Kopete it forgets about everything and I have to do it all over
again. My accounts' settings like username and password are persistent, but
my contact list changes are not.

Does anyone know what's going on? Would this be a Kopete bug or is something
specific to Gentoo?

Thanks!

-- 
Crístian Deives dos Santos Viana [aka CD1]


Re: [gentoo-user] RAM installed vs reported

2010-01-04 Thread Thanasis
on 01/04/2010 04:51 PM Joshua Murphy wrote the following:
 2010/1/3 Thanasis thana...@asyr.hopto.org:
   
 on 01/04/2010 01:10 AM Krzysztof Halasa wrote the following:
 
 Thanasis thana...@asyr.hopto.org writes:


   
 Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?

 
 This EMBEDDED just means don't touch these unless you really know
 what you're doing.

 BTW I remember using VMSPLIT 2 GB : 2 GB on server-class machines,
 before they were upgraded to x86-64.

   
 Do you mean that I should try it? Is there any gain over using
 CONFIG_HIGHMEM4G ?
 
 Likely nothing noticeable, but here's a bit of a good coverage of the topic:

 http://kerneltrap.org/node/6067

   
Thanks, I think I'll give it a try. :-)



Re: [gentoo-user] RAM installed vs reported

2010-01-04 Thread Thanasis
on 01/04/2010 04:51 PM Joshua Murphy wrote the following:
 2010/1/3 Thanasis thana...@asyr.hopto.org:
 on 01/04/2010 01:10 AM Krzysztof Halasa wrote the following:
 Thanasis thana...@asyr.hopto.org writes:


 Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?

 This EMBEDDED just means don't touch these unless you really know
 what you're doing.

 BTW I remember using VMSPLIT 2 GB : 2 GB on server-class machines,
 before they were upgraded to x86-64.

 Do you mean that I should try it? Is there any gain over using
 CONFIG_HIGHMEM4G ?

 Likely nothing noticeable, but here's a bit of a good coverage of the topic:

 http://kerneltrap.org/node/6067

Which one option should I choose:
( ) 2G/2G user/kernel split
or
( ) 2G/2G user/kernel split (for full 2G low memory)
?





Re: [gentoo-user] Kopete isn't storing my contact list changes

2010-01-04 Thread Dale

Crístian Viana wrote:

Hi!

I'm using kde-base/kopete-4.3.3 (which is Kopete 0.80.2) and it's not 
storing anything I do to the next time I run the program. For example, 
I merge some contacts into meta-contacts, associate some of them to a 
KAddressBook entry, change my nickname (ok, that may be unrelated), 
but when I restart Kopete it forgets about everything and I have to do 
it all over again. My accounts' settings like username and password 
are persistent, but my contact list changes are not.


Does anyone know what's going on? Would this be a Kopete bug or is 
something specific to Gentoo?


Thanks!

--
Crístian Deives dos Santos Viana [aka CD1]


I haven't used Kopete for KDE 4 in a bit but it was having issues for me 
as well when I did try it.  I switched to pidgin which means I lost my 
chat history.  I suspect it is KDE and you will just have to wait for 
them to get it fixed.  As most people know already, KDE4 is anything but 
fully functional.  This is why some are still on KDE3.


I read somewhere that the next big update is in February.  It may help 
to at least know how long you will have to wait.  Sort of weigh out some 
options if you can.


Also, recheck your USE flags to make sure you didn't miss something.  
They could have changed or something. 


Dale

:-)  :-) 



Re: [gentoo-user] RAM installed vs reported

2010-01-04 Thread Thanasis
on 01/04/2010 07:51 PM Thanasis wrote the following:
 on 01/04/2010 04:51 PM Joshua Murphy wrote the following:
 2010/1/3 Thanasis thana...@asyr.hopto.org:
   
 on 01/04/2010 01:10 AM Krzysztof Halasa wrote the following:
 
 Thanasis thana...@asyr.hopto.org writes:

   
 Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?

 This EMBEDDED just means don't touch these unless you really know
 what you're doing.

 BTW I remember using VMSPLIT 2 GB : 2 GB on server-class machines,
 before they were upgraded to x86-64.

   
 Do you mean that I should try it? Is there any gain over using
 CONFIG_HIGHMEM4G ?
 
 Likely nothing noticeable, but here's a bit of a good coverage of the topic:

 http://kerneltrap.org/node/6067

 Thanks, I think I'll give it a try. :-)
I tried option: 2G/2G user/kernel split (for full 2G low memory), but X
would not start. So i reverted back to CONFIG_HIGHMEM4G.



Re: [gentoo-user] IDE/ATAPI ZIP drive - howto

2010-01-04 Thread Kyle Bader
Any change in kernel configuration or did you copy your old config and
run make oldconfig?

On 1/4/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 Hi,

 I've upgraded the kernel on an old machine to 2.6.32.
 Now, I cannot get the ZIP drive (ATAPI) working.

 There is a /dev/hdd device and dmesg is telling me about
 an IOMEGA ZIP drive, but
 trying to

 fdisk /dev/hdd
 or even mount it,
 seems to make the kernel hang (at least these commands
 never finish)

 Has anybody any hint on what to try?

 Many thanks,
 Helmut.

 --
 Helmut Jarausch

 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] gentoo on ssds? intel anyone?

2010-01-04 Thread Stefan G. Weichinger
Am 25.12.2009 11:37, schrieb Stefan G. Weichinger:

 What I still wonder:
 
 * I copied my gentoo over while the ssd still was on firmware 02HA, I
 upgraded to 02HD (latest Intel-firmware for the X25-M G2) with the os
 already on the drive. Does that somehow make a difference to data
 written *after* the upgrade? I just wonder if I should somehow restart
 from scratch with the new firmware, just to do it right or get the
 optimum.

 http://www.linux-mag.com/id/7272
 
 says:
 
 So at the moment, ext4 informs the block layer that blocks that
 belong to deleted files can be discard, so once TRIM-capable SSD’s
 become available, and the Linux block layer actually sends the TRIM
 command to the hard drives, everything will be all set to go.

Another follow-up-myself, just to document my tests:

Repartitioned the ssd today, as Ted Ts'o describes at:

http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/

Ok, this might not be necessary/helpful anymore for the Intel X25-M G2
... but anyway, I had to get rid of those unnecessary XP-partitions
anyway ;-)

Wanted to do a secure erase with hdderase (on the ultimate boot cd),
didn't detect my ssd even with AHCI off in bios and legacy mode ... also
hdparm --security-erase didn't work. I decided to skip that and wait
for TRIM in 2.6.33 or later.

I wonder if /var and /home should be on the ssd or not. It is very nice
to have a silent machine ... but maybe this does more harm than good.

So far the ssd is nice to have. I am looking forward to try it inside my
thinkpad someday ...

Stefan



Re: [gentoo-user] xfce: unable to perform shutdown

2010-01-04 Thread dhk
José Romildo Malaquias wrote:
 Hello.
 
 When shutting down my ~amd64 gentoo system running XFCE, the system
 does not shut down and I receive the following error message, and then
 the XFCE session is closed.
 
 Unable to perform shutdown
 error: org.freedesktop.Hal.Error: Could not determine whether caller
 is privileged
 org.freedesktop.Hal.Device.Error
 
 Any clues?
 
 Romildo
 
 

I had a similar problem.  I think I fixed it by adding hal the the USE
variable in the /etc/make.conf file.  Then doing an emerge -uDN world.

dave



Re: [gentoo-user] USB Flash Drives automatic mounting breakage (Gnome)

2010-01-04 Thread Mick
On Monday 04 January 2010 12:55:34 Alan E. Davis wrote:
 Recently, I have had to reboot in order to recover the function of
  automatic mounting of USB Flash drives, after some activity, such as
  mounting and umounting.   This is happening on two AMD64 systems.
 
 I am often able to unmount manually (# umount /media/KINGSTON , for
 example).   All of my flash drives have labels, and usually they mount on
 /media, when plugged in.  However, not always, but often, when I have
 unmounted one of them, the name stays visible on Nautilus, and it is
 impossible to mount it again by plugging it in.
 
 Another time, I reorganized the partitions on a flash drive, into one
 partition.  After this, I was unable to plug it in to mount it.
 
 Uniformly, the expected behavior is recovered after rebooting.
 
 I am using these drives to maintain git repositories of subdirectories, so
  I need to be able to access various drives on demand, by pluggint them in.
   I am not sure where to look for help.  The USB guide, etc. didnt seem to
  help.  Is there an init script that I can restart to recover the volume
  management function?
 
 Thank you for any ideas.

All I can say (I don't use Gnome and Nautilus to be more helpful with the 
specifics) is that there is a difference between mounting a device via hal and 
mounting it manually.  I recall that you can't mix the two - when I tried it 
on my machine (using Konqueror) it wouldn't work.  I think hal complained, but 
can't recall off hand.
-- 
Regards,
Mick


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


[gentoo-user] Re: IDE/ATAPI ZIP drive - howto

2010-01-04 Thread walt

On 01/04/2010 08:29 AM, Helmut Jarausch wrote:

Hi,

I've upgraded the kernel on an old machine to 2.6.32.
Now, I cannot get the ZIP drive (ATAPI) working.

There is a /dev/hdd device and dmesg is telling me about
an IOMEGA ZIP drive, but
trying to

fdisk /dev/hdd
or even mount it,
seems to make the kernel hang (at least these commands
never finish)


Are there any error messages in dmesg?

I have an old parallel-port ZIP and two 1GB JAZ drives that
are gathering dust because I've replaced all three of them
with one $15 USB stick, which is far more reliable.

I wish I had the $800 back that I spent on those Iomega drives
plus the required SCSI controller  :(  I was recently tempted
to buy an expensive Blu-Ray toy, but then I remembered those
JAZ drives and changed my mind.




[gentoo-user] Re: USB mass storage device slow in Gentoo, fast in Windows...? [SOLVED]

2010-01-04 Thread Paul Hartman
On Sat, Dec 26, 2009 at 4:54 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 Hi,

 I got a Nokia N900 linux internet tablet/phone a few days ago, and
 when I connect it in USB Mass Storage mode to a Windows Vista computer
 I can write at 17MB/sec, but when I connect it to my Gentoo box my
 writes are really slow, between 500-900kb/sec depending on if I mount
 in sync mode or not. As far as I know it should be just a totally
 standard/generic mass storage device. (there were no drivers or
 software install needed in windows, it just worked)

 Other USB devices plugged into the same port go full speed, and AFAIK
 everything appears as if it should be high speed USB 2.0. Has anyone
 seen something like this before? I'm not sure what the deal is. It
 takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
 minute to do the same in Windows.

 I'm not sure about debugging USB or what the options are. Everything
 I've used previously has worked without any hassle.

Solved. The problem was CFQ I/O scheduler. It was several times slower
than the others, for whatever reason.

Here is the scoreboard:

single-file: 1m25s

multi-file (same total size):
cfq: 6m51.439s
noop: 3m0.733s
anticipatory: 1m44.348s
deadline: 1m36.804s

So, the winner is deadline. CFQ doesn't make it to the podium. :)

Thanks,
Paul



Re: [gentoo-user] Re: USB mass storage device slow in Gentoo, fast in Windows...? [SOLVED]

2010-01-04 Thread Mick
On Tuesday 05 January 2010 05:26:32 Paul Hartman wrote:
 On Sat, Dec 26, 2009 at 4:54 PM, Paul Hartman
 
 paul.hartman+gen...@gmail.com wrote:
  Hi,
 
  I got a Nokia N900 linux internet tablet/phone a few days ago, and
  when I connect it in USB Mass Storage mode to a Windows Vista computer
  I can write at 17MB/sec, but when I connect it to my Gentoo box my
  writes are really slow, between 500-900kb/sec depending on if I mount
  in sync mode or not. As far as I know it should be just a totally
  standard/generic mass storage device. (there were no drivers or
  software install needed in windows, it just worked)
 
  Other USB devices plugged into the same port go full speed, and AFAIK
  everything appears as if it should be high speed USB 2.0. Has anyone
  seen something like this before? I'm not sure what the deal is. It
  takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
  minute to do the same in Windows.
 
  I'm not sure about debugging USB or what the options are. Everything
  I've used previously has worked without any hassle.
 
 Solved. The problem was CFQ I/O scheduler. It was several times slower
 than the others, for whatever reason.
 
 Here is the scoreboard:
 
 single-file: 1m25s
 
 multi-file (same total size):
 cfq: 6m51.439s
 noop: 3m0.733s
 anticipatory: 1m44.348s
 deadline: 1m36.804s
 
 So, the winner is deadline. CFQ doesn't make it to the podium. :)

Hmmm ... reading at the help files I thought that CFQ was the default/best 
option for a desktop.  Is there such a thing as a best fit here?
-- 
Regards,
Mick


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


Re: [gentoo-user] USB Flash Drives automatic mounting breakage (Gnome)

2010-01-04 Thread Alan E. Davis
Thank you for taking the trouble to answer.

On Tue, Jan 5, 2010 at 6:41 AM, Mick michaelkintz...@gmail.com wrote:



 All I can say (I don't use Gnome and Nautilus to be more helpful with the
 specifics) is that there is a difference between mounting a device via hal
 and
 mounting it manually.  I recall that you can't mix the two - when I tried
 it
 on my machine (using Konqueror) it wouldn't work.  I think hal complained,
 but
 can't recall off hand.


It seems to me that it is possible to unmount the drives manually, many
times, if not always, if it is impossible to unmount them via nautilus.
Other File Managers work differently, I think Thunar may be more
straightforward, not sure, though.  Maybe this will all pass soon enough,
but for now, on one of my machines, especially, I have to reboot
frequently.  If it's hal that is at work, then perhaps I can restart that?
But when I did something similar, the window manager, at least, restarted.

Thanks again,

Alan