Re: [gentoo-user] [SOLVED] KDE takes ages to show password screen after suspend
Follow up: Since I upgraded to KDE 4.4.4, the problem is gone. The password prompt appears immediately after the laptop wakes up. *yay* Thanks for your help. Regards, Roman
Re: [gentoo-user] KDE takes ages to show password screen after suspend
On Friday 07 May 2010 20:26:46 András Csányi wrote: On 7 May 2010 19:33, Roman Naumann roman_naum...@fastmail.fm wrote: Hi, when I suspend my computer, KDE locks the session. This usually happens, when I close my laptop lid. When I open it again, it takes 1 to 20 seconds (seamingly random) untill the login screen appears. During this time, I just see a black screen and a mouse pointer (somewhere), but I cannot move it. Suspend is that when the computer isn't off just the things stays in memory, isn't? When the contents of the memory is writed to the disk and the machine is get off that is the hibernate function, isn't? It is possible that when you close the lid the contents of memory writed to the disk and reading this few hundred Mbyte - on my laptop KDE is eating ~800 Mbyte memory, the hungry Beast! :) - takes that long time what you mentioned? I'm not a big hacker just I'm thinking over it. :$ Hmm, I guess I should have specified what kind of 'suspend' I meant: Suspend to ram. Not suspend to disk! When I close the laptop lid, kde does NOTHING but lock the screen. I disabled all other power management actions in kde's systemsettings. The suspend is done by a script independend of kde, and that's working just fine. It's only kde taking that long.. Even if kde ignored my settings and writes and reads stuff from disk when I close/open the laptop lid: A second after I close the lid, the LED on the laptop begins to blink, saying that the computer is suspended to ram. Kde could never write the whole ram to disk in that second. Any more ideas? Regards, Roman
[gentoo-user] KDE takes ages to show password screen after suspend
Hi, when I suspend my computer, KDE locks the session. This usually happens, when I close my laptop lid. When I open it again, it takes 1 to 20 seconds (seamingly random) untill the login screen appears. During this time, I just see a black screen and a mouse pointer (somewhere), but I cannot move it. If no X server is started, i.e. I'm on the shell, the computer always responds after a second or so when the laptop lid is opened again. Any ideas what causes this or how to fix it? Regards, Roman
Re: [gentoo-user] Random failures: lvremove
Just wanted to let you know, that the error no longer occurs since I updated to lvm2-2.02.63-r1. Regards, Roman Naumann On Sunday 18 April 2010 12:38:45 Roman Naumann wrote: Hi, I'm using LVM, having / and /home as logical volumes and a backup script creating a logical snapshot volume of each in the process. Since I use gentoo (comming from arch), my backup script fails rather often with the error message 'Can't remove open logical volume volume'. The script worked fine on arch before. The partition setup did not change. Sometimes it works fine, sometimes it just fails. As a workaround, I let the script just lvremove the snapshot three times with 5 seconds sleeping between the tries and the overall success rate for the script improved... The chance is about 40% lvremove succeeds at a given time and doesn't seem to in- or decrease when calling lvremove successively with a five second delay, though if it fails once, it tends to fail again more often if called within the next two or three seconds. Here is an example of the command failing once more after the backup script aborted. The second time it works. I did NOTHING but the commands listed below in these 30 seconds or so: (note: dmsetup says open: 0 in the first place!) kira namor # dmsetup info -c vg-snap_root Name Maj Min Stat Open Targ Event UUID vg-snap_root 253 5 L--w01 0 LVM- ayg5GD1dYyrkkan1pLa8WszI7UrQpy9YE2ynOTtHoSNckKdehm3XMIgkw7p8z69X kira namor # lvremove /dev/vg/snap_root Can't remove open logical volume snap_root kira namor # lsof /dev/vg/snap_root kira namor # fuser -a /dev/vg/snap_root /dev/vg/snap_root: kira namor # lvremove /dev/vg/snap_root Do you really want to remove active logical volume snap_root? [y/n]: y Logical volume snap_root successfully removed What I tried so far was: - calling: lvchange -an $SNAP_PARTITION #fails iff lvremove fails - updating to lvm2-2.02.56-r3 and updating the initramfs #fixes nothing I have no idea what causes this random behavior. Help much appreciated. Regards, Roman Naumann
[gentoo-user] Random failures: lvremove
Hi, I'm using LVM, having / and /home as logical volumes and a backup script creating a logical snapshot volume of each in the process. Since I use gentoo (comming from arch), my backup script fails rather often with the error message 'Can't remove open logical volume volume'. The script worked fine on arch before. The partition setup did not change. Sometimes it works fine, sometimes it just fails. As a workaround, I let the script just lvremove the snapshot three times with 5 seconds sleeping between the tries and the overall success rate for the script improved... The chance is about 40% lvremove succeeds at a given time and doesn't seem to in- or decrease when calling lvremove successively with a five second delay, though if it fails once, it tends to fail again more often if called within the next two or three seconds. Here is an example of the command failing once more after the backup script aborted. The second time it works. I did NOTHING but the commands listed below in these 30 seconds or so: (note: dmsetup says open: 0 in the first place!) kira namor # dmsetup info -c vg-snap_root Name Maj Min Stat Open Targ Event UUID vg-snap_root 253 5 L--w01 0 LVM- ayg5GD1dYyrkkan1pLa8WszI7UrQpy9YE2ynOTtHoSNckKdehm3XMIgkw7p8z69X kira namor # lvremove /dev/vg/snap_root Can't remove open logical volume snap_root kira namor # lsof /dev/vg/snap_root kira namor # fuser -a /dev/vg/snap_root /dev/vg/snap_root: kira namor # lvremove /dev/vg/snap_root Do you really want to remove active logical volume snap_root? [y/n]: y Logical volume snap_root successfully removed What I tried so far was: - calling: lvchange -an $SNAP_PARTITION #fails iff lvremove fails - updating to lvm2-2.02.56-r3 and updating the initramfs #fixes nothing I have no idea what causes this random behavior. Help much appreciated. Regards, Roman Naumann
[gentoo-user] Way to sync emails with SynCE?
Hi, I can already sync contacts (although raki crashes if I attempt to sync the contacts), tasks and appointments since yesterday. The main reason of installing SynCE was to sync my emails, however, I can't find an option in the configuration menu of raki. Google's just giving me dozens of howtos how to sync my contacts etc. Does anyone know a way to sync emails between Kontact and a pocket pc? Of course, I will post my solution here if there is any and I am the lucky one who finds it. Best regards, Namor ps.: Is it maybe multisync? The current gentoo build (...414-r4) crashes, so I had to install it manually from the svn/cvs/whatever if it really was the solution, respectively not if it isn't. :-) pgpALyXa5xMBM.pgp Description: PGP signature
[gentoo-user] Routing: how to enable..
Hi, please forgive this most probably very simple question, but I cannot find the correct configuration file to enable routing... I have two PCs, one HAS a internet connection to the internet-proxy, the other one hasn't. The internet-pc (and I do not mean the proxy-pc) has two ethernet devices, ra0 and eth0. eth0 connects it with the non-internet pc. I set up a route to the internet-proxy-px on the internet-pc and it works fine on it, but the the non-internet pc can't use it! Even though the non-internet pc has it's default gw set to the eth0 ip of the internet pc. Thanks for your help. pgpnur5LkkA55.pgp Description: PGP signature
Re: [gentoo-user] Routing: how to enable..
Roman, I'm not quite clear on your configuration. What sort of device is the internet-proxy? Is it a NAT router, or something else? Are all three devices in the same subnet? It sounds like you're either trying to work around not having a hub, or not having a NAT device. Thanks for your answer. Here the whole configuration: (imagine it as a complicated line of different connections through the entire house...) PC1 (the proxy-running-pc) is running windows and a proxy software for the internals of my skydsl connection. [PC1 and Router1 are connected via wired-lan] Router1 is acting as a wlan-lan bridge (but without any direct internet functions..). [Router1 and PC2 are connected via wireless-lan] PC2 (the internet-pc) is running gentoo and has a wireless and a wired-lan connection. [PC2 and PC3 are connected via wired-lan] PC3 (the non-internet-pc) is running genoo and only has a wired-lan connection. All I need is (ping like) access to PC1 to use the internet connection. (Usually adding the http_proxy environment variable or something to PC1's IP-address.) PC2 has Router1 set as the default gateway and can ping PC1 hence. PC3 has set PC2 as the default gateway, but cannot ping anything else than PC2. (...which is directly connected anyway...) I think NAT isn't what I'm looking for, I just need ping access to _one_ specific ip, so, some static routes should do the job. I hope that clarifies my situation. Thanks for your help so far. pgpsHaSFKYUCS.pgp Description: PGP signature
[gentoo-user] Short history in terminal (without X)
Hi, does someone know, how to increase the history-buffer's size of the terminal? (and I mean the pure terminal, without an X-Server) I mean, if I use some commands producing plenty of output, I cannot scroll to the beginning of the text quite often, because the history buffer is to small. Another inconvenient thing is that the buffer seems to forget everything except the last screen of text, if I switch to another terminal. (alt + F2 for instance). How can I make the history buffer larger, or - if possible - set it infinitely large. (Just as the Konsole of KDE.) Thanks, Roman Naumann. pgpbMK8jMfPxJ.pgp Description: PGP signature
[gentoo-user] Network problem
Hi, I have a problem with my ehternet connection and would be pleased if someone could help me: I emerged some things (don't ask me what exactly...) and am unable to ping anything now. The ip-address and co. are alright, I can just boot another operating system on my pc (sabayon or windows) and eth0 is working fine using the same configuration. Ifconfig eth0 gives me this: Link encap: UNSPEC HWaddr 44-4F-C0-00-14-31-AC-10-00-00-00-00-00-00-00-00 inet addr:192.168.0.45 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:72 (72.0 b) I'm pretty sure the Mac-Addr is too long.. that's weird, Also, when using Sabayon, the first line differs: Link encap:ether and the mac is correct I tried to change the mac with: ifconfig eth0 hw ether 10:20:30:40:50:60 but then, I get th following: SIOCSIFHWADDR: Invalid argument Very strange: I have two independend pcs and BOTH of them have the same problem meanwhile! Any ideas?
Re: [gentoo-user] Network problem
On 2/12/07, Hans-Werner Hilse [EMAIL PROTECTED] wrote: Hi, On Mon, 12 Feb 2007 09:54:42 +0100 Roman Naumann [EMAIL PROTECTED] wrote: Ifconfig eth0 gives me this: Link encap: UNSPEC HWaddr 44-4F-C0-00-14-31-AC-10-00-00-00-00-00-00-00-00 [...] I'm pretty sure the Mac-Addr is too long.. that's weird, Also, when using Sabayon, the first line differs: Link encap:ether and the mac is correct I tried to change the mac with: ifconfig eth0 hw ether 10:20:30:40:50:60 but then, I get th following: SIOCSIFHWADDR: Invalid argument eth0 doesn't seem to be what it has been anymore. You probably compiled a new kernel with some extra network drivers (USB devices? Firewire?). Looking at the MAC address above, I'd say it's something designated for a peer-to-peer connection. use ifconfig -a to find your real network interface. If it's not shown there (under different name, of course), you're probably missing the right modules. You might want to use udev to give your interfaces a persistent naming in the future, that will save you these troubles. -hwh -- gentoo-user@gentoo.org mailing list thanks for your quick answer. yes, there is a new interface named eth1 and it works. (so it seems that this problem was caused by replacing coldplug with udev)
Re: [gentoo-user] Is Gentoo healthy?
On Tuesday 19 December 2006 00:24, Grant wrote: It seems like the best thing for Gentoo is a lot of users. More users must mean more active developers and an increased rate of growth for the software. Methinks, Gentoo should stay focused. I don't think the goal of Gentoo was to become a Desktop Distro for the people migrating from M$ land. I don't care about ease of use. I DO want the flexibility and the control. Quality matters, not the quantity. On Monday 18 December 2006 21:29, Philip Webb wrote: Gentoo is for fairly experienced Linux users who want real control are prepared to put a bit of time into maintaining their box(es). There will always be people who try it find it too time-consuming or are simply not experienced enough to handle its challenges. People who're new to Linux, especially naturally unexperienced teens will have a rough time if they try gentoo linux. Even if they learn fast.. especially the fact that you need a whole day to have a running installation kills motivation. I find Sabayon linux very useful, it offers a complete pre-installation, you can modify it afterwards. The perfect os with a rapid beginning. :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Adjusting the cursor speed in the terminal
Thanks for all your explanations, but the funny thing is that I am German. :D I just didn't know about the two different meanings of the word decline, what is rather embarassing due to the fact that I learned (or had to lean) Latin. Every word starting with de(c/k)la... should make me remember declanations immediately. Latin has the four cases Nominative, Genitive, Dative, Accusative and additionally the Vocative and the Ablative. I haven't seen any other languages with six cases. As you can imagine, it's quite tiring to learn Latin. :-\ Another quick case study: [magnus large] Male base form singular Nominative magnus Genitive magni Dative magno Accusative magnum Vocativemange Ablative mango Male base form plural Nominative magni Genitive magnorum Dative magnis Accusative magnos Vocativemangi Ablative mangis There are, as in German, three genders: male, female and neutral. What makes declining latin adjectives more difficuilt is imho the number of different declanations. Have a look at http://en.wikipedia.org/wiki/Latin_declension if you wanna get overwhelmed by complexity. :-) Hehe.. this might become a flamewar of languages instead of programming languages. :D @Uwe Thiem Are you also German? You name sounds quite as if you're. On Friday 15 December 2006 17:02, Uwe Thiem wrote: On 15 December 2006 15:38, Alan McKinnon wrote: According to German friends of mine, it not only does, but tries to handle every possible case that could ever come up anywhere, anytime. A quick case study. The adjective is mager (thin or skinny). Male base form comparative Nominative der magere Mann der magerere Mann Genitivedes mageren Mannes des magereren Mannes Dative dem mageren Manne dem magereren Mann Accusativeden mageren Mannden magereren Mann Female Nominativedie magere Frau die magerere Frau Genitive der mageren Frau der magereren Frau Dativeder mageren Frau der magereren Frau Accusative die magere Frau die magerere Frau Neuter Nominative das magere Kinddas magerere Kind Genetive des mageren Kindes des magereren Kindes Dative dem mageren Kind dem magereren Kind Accusative das magere Kinddas magerere Kind Well, it isn't all that bad, actually. But then again, imagine you have to do that in real time in speech. It can be very hard on your brain if you haven't grown up with it. All in all, there are things in German that are far worse than adjective. Like capitalising or verbs - regular verbs, that is. Maybe, I should change my signature soon. ;-) In his book A Tramp Abroad, Mark Twain wrote a whole chapter about how difficult German was - and he went into much detail about verbs. Unfortunately, there isn't a single sentence with a good pun about it that qualifies for a signature. If you look at the rules of German grammar, you get a distinct feeling that the designers of C++ tried their very best to emulate German in a programming language. Alan, my South African brother, you are not talking about C++ but about Ada. C++ wasn't invented by a committee but by a single person. It's rather easy. If you stick to a couple of conventions (*not* rules) it's very readable even without comments. Ada, on the other hand,... Yes yes yes. Let's start a flamewar about programming languages. I love them. Better than SciFi. ;-) Uwe (who avoids perl and does almost everything either in C++ or bash scripting) -- Mark Twain: I rather decline two drinks than a German adjective. http://www.SysEx.com.na -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Adjusting the cursor speed in the terminal
On Saturday 16 December 2006 17:51, Daniel Pielmeier wrote: Just for your information. There are languages with more cases for example the Czech language with 7, and the Finnsih language even uses 15 cases. That's quite impressive. I guess it's a great advantage if you learn such languages as such as a native language. You can't be shocked by a second language's grammar easily then. :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Adjusting the cursor speed in the terminal
On 12/15/06, Uwe Thiem [EMAIL PROTECTED] wrote: As root: kbdrate -s -r 30 -d 250 If you put that into /etc/conf.d/local.start it will switch your keyboard to the highest speed possible. Uwe Thanks, thanks. :-) The Gentoo community is really great, that is fast and precise. By the way: Mark Twain: I rather decline two drinks than a German adjective. I don't get the 'joke?' in your signature...
Re: [gentoo-user] Setting the priority of the compiler
On Friday 08 December 2006 16:14, Dale wrote: Refer 'man 5 make.conf' alan ## That has worked for me for a long time now. KDE and most everything else is set to 0 anyway. Folding is the only thing with a lower priority. Give that a try. Dale ## Thanks a lot! This should work, but I will try it out by this weekend in detail. :D -- gentoo-user@gentoo.org mailing list
[gentoo-user] Setting the priority of the compiler
Hi, are there any options to set the compiler priority for emerge actions? I thought of something as GPP_PRIORITY=lowest in the make.conf file or something similar. Google didn't help at all..