Re: need kernel update for lenny ..
(snip) In the second link, someone told that the problem may solved in the kernel 2.6.30. I tried to upgrade to the latest kernel via: deb http://ftp.de.debian.org/debian-archive/debian/ lenny main deb-src http://ftp.de.debian.org/debian-archive/debian/ lenny main and aptitude update aptitude safe-upgrade but I had no luck, nothing to upgrade. No, of couse, because as it happens with any stable release, Lenny did not provide a kernel upgrade (other than patches) from their usual repo. I don't recall what was the last backported kernel available for Lenny but this would be the easier solution. Probably doesn't help that Lenny's out of the support cycle. According to Wikipedia anyway. I believe that means there hasn't been a single update since this February and there will never be any further updates for Lenny beyond upgrade to Squeeze/Wheezy. (snip) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503e418a.9000...@marupa.net
Re: need kernel update for lenny ..
On Wed, 29 Aug 2012 11:21:30 -0500, Conrad Nelson wrote: (snip) In the second link, someone told that the problem may solved in the kernel 2.6.30. I tried to upgrade to the latest kernel via: deb http://ftp.de.debian.org/debian-archive/debian/ lenny main deb-src http://ftp.de.debian.org/debian-archive/debian/ lenny main and aptitude update aptitude safe-upgrade but I had no luck, nothing to upgrade. No, of couse, because as it happens with any stable release, Lenny did not provide a kernel upgrade (other than patches) from their usual repo. I don't recall what was the last backported kernel available for Lenny but this would be the easier solution. Probably doesn't help that Lenny's out of the support cycle. According to Wikipedia anyway. I believe that means there hasn't been a single update since this February and there will never be any further updates for Lenny beyond upgrade to Squeeze/Wheezy. It does not matter that Lenny is out of support (formerly codenamed oldstable) because even the current stable release (Squeeze) neither get kernel upgrades (for kernel upgrades I mean going from 2.6.26 to 2.6.32 or 3.x branch, for instance). Kernel upgrades in Debian only happen in testing (until becomes frozen) and sid. Stable (and olstable) releases have to use the backports or manual compilation. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k1lfuh$koe$1...@ger.gmane.org
Re: Dual-Monitor help
Nelson Green wrote: So, my final question is, where is my X11 start-up file? There are several different ways to start up X11. Probably the simplest for you is to create a $HOME/.xsession file. The xdm/gdm/kdm/lightdm processes will use it if the file exists. Create it with the following contents. Create this ~/.xsession file: #!/bin/bash --login if xrandr --query | grep -q DVI-I-2=3B then xrandr --auto --output DVI-I-2 --right-of DVI-I-1 fi exec x-session-manager Then make sure to make the file executable. chmod a+x ~/.xsession The '#!/bin/bash --login' part if your login shell is /bin/bash and it ensures that your ~/.profile or ~/.bash_profile is read just the same as if you were logging into the system otherwise. Then your PATH and LANG and other variables will be set as you desire. The 'x-session-manager' is a Debian package specific symlink handle that always points to the currently configured window manager. This could be any of gnome, kde, lxde, xfce, fvwm, twm, openbox, or any of the others. It depends upon what you have installed. A system default. Of course you can also specifically call out one of your desired desktop environments or window managers explicitly. You can see what is configured with: update-alternatives --display x-session-manager Bob signature.asc Description: Digital signature
debian on soneview notebook
Hello everyone: I have a Soneview N1405 notebook, I'm currently installing Debian, with a 2.6.x kernel works fine, but with a 3.2.x the boot fails, the video crash and the notebook hang out. I need some advices... best regards This message was sent using IMP, the Internet Messaging Program. -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120829123752.94305h0i03zh6...@webmail.hlg.sld.cu
Re: need kernel update for lenny ..
On 08/29/2012 11:28 AM, Camaleón wrote: On Wed, 29 Aug 2012 11:21:30 -0500, Conrad Nelson wrote: (snip) In the second link, someone told that the problem may solved in the kernel 2.6.30. I tried to upgrade to the latest kernel via: deb http://ftp.de.debian.org/debian-archive/debian/ lenny main deb-src http://ftp.de.debian.org/debian-archive/debian/ lenny main and aptitude update aptitude safe-upgrade but I had no luck, nothing to upgrade. No, of couse, because as it happens with any stable release, Lenny did not provide a kernel upgrade (other than patches) from their usual repo. I don't recall what was the last backported kernel available for Lenny but this would be the easier solution. Probably doesn't help that Lenny's out of the support cycle. According to Wikipedia anyway. I believe that means there hasn't been a single update since this February and there will never be any further updates for Lenny beyond upgrade to Squeeze/Wheezy. It does not matter that Lenny is out of support (formerly codenamed oldstable) because even the current stable release (Squeeze) neither get kernel upgrades (for kernel upgrades I mean going from 2.6.26 to 2.6.32 or 3.x branch, for instance). Kernel upgrades in Debian only happen in testing (until becomes frozen) and sid. Stable (and olstable) releases have to use the backports or manual compilation. Greetings, Thank you for setting me straight. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503e468e.5060...@marupa.net
Re: debian on soneview notebook
On Wed, 29 Aug 2012 12:37:52 -0300, ozkar wrote: I have a Soneview N1405 notebook, I'm currently installing Debian, with a 2.6.x kernel works fine, but with a 3.2.x the boot fails, the video crash and the notebook hang out. I need some advices... best regards Try to append nomodeset at the boot kernel line. Can you jump to a debug tty? If so, what's printed in the screen? (you can make a snapshot, upload the image to some place and send the link here) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k1lhjb$koe$1...@ger.gmane.org
Re: need kernel update for lenny ..
On 29/08/12 17:28, Camaleón wrote: It does not matter that Lenny is out of support (formerly codenamed oldstable) because even the current stable release (Squeeze) neither get kernel upgrades (for kernel upgrades I mean going from 2.6.26 to 2.6.32 or 3.x branch, for instance). Kernel upgrades in Debian only happen in testing (until becomes frozen) and sid. Unless there's an upgrade to fix a security issue, I believe? 2012-05-10 08:01:57,434 INFO Starting unattended upgrades script 2012-05-10 08:01:57,434 INFO Allowed origins are: [('Debian', 'stable'), ('Debian', 'squeeze-security')] 2012-05-10 08:05:42,539 INFO Packages that are upgraded: linux-base linux-image-2.6.32-5-amd64 -- Tony van der Hoff| mailto:t...@vanderhoff.org Buckinghamshire, England | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503e4caa.5070...@vanderhoff.org
Re: where to report bug: Wheezy installer failed on a RTL8169 network card
Am Mittwoch, 29. August 2012 schrieb Yuwen Dai: Dear all, I downloaded the latest Wheezy AMD64 version DVD iso image, trying to install it on a HP notebook with a RTL8169 NIC. When the installer detects network, it hangs. I could switch to other ttys and open a busybox shell, but it's useless, the installation could not resume any more. I tried a Squeeze DVD on the same notebook, the DHCP process appeared some difficult, I tried several times, but at last, it got IP address. Where can I report this bug? One thing that you may try unless the bug report mentioned by you does not yet have this information: Go to tty4 (Alt-F4) and look for suspicious log messages. You can add to the bug report by sending an mail to bu...@bugs.debian.org Thanks, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201208291911.54549.mar...@lichtvoll.de
Re: Dual-Monitor help
On 08/29/2012 12:29 PM, Bob Proulx wrote: Nelson Green wrote: So, my final question is, where is my X11 start-up file? There are several different ways to start up X11. Probably the simplest for you is to create a $HOME/.xsession file. The xdm/gdm/kdm/lightdm processes will use it if the file exists. Create it with the following contents. Create this ~/.xsession file: #!/bin/bash --login if xrandr --query | grep -q DVI-I-2=3B then xrandr --auto --output DVI-I-2 --right-of DVI-I-1 fi exec x-session-manager The 'x-session-manager' is a Debian package specific symlink handle that always points to the currently configured window manager. Isn't that 'x-window-manager'? At least, I don't have an 'x-session-manager' on my system (tracking testing, with a few hints of stable and sid), but I do have 'x-window-manager'. -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Every time you let somebody set a limit they start moving it. - LiveJournal user antonia_tiger -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503e4eb3.4020...@fastmail.fm
Re: sux: cannot open display: :0.
Good time of the day, Camaleón. Thank You for Your time and answer! You wrote: I suggested because you seemed to have many X related packages udpated and it could be that Xorg needed to be power-cycled. And that's why I did it. :o) But I have already solved the problem for me - removing all seemed Gconf-related config. garbage accumulated over time in the sux-ed user home dir. - now it works w/o problem - as before - probably, simply inconsistency w/ updated software config.s. Mmm... I tend to do an apt-get -f install (and also purge) from time to time in my wheezy system and I remember Gconf was removed since time ago. Anyway, I can't see a direct relation between having the package installed (along with older configuration files) and the above errors :-? And that I do also - I'm HDD space hungry always and also do not like vain waste! But I wanted to help to hunt a possible bug here - therefore would to make a report. But do not worry, if no idea which package. I can't really tell. If it really was due to old/residual configuration files is even harder to find the real culprit :-) In such cases, what it helps for debugging the problem is sux -ing to a different user and test from there to discard something in the home profile. And that what gave the idea - that Gconf could be the problem - I tried, occasionally to run an app. from another clean user. When I first read Your sux -ing I understood it as $ sux -ing :o) OK. Doesn't matter. Let's finish here. Thanks for Your help always OR willingness to help! Sthu. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503e4ed6.4608cc0a.3482.4...@mx.google.com
Re: need kernel update for lenny ..
On Wed, 29 Aug 2012 18:08:58 +0100, Tony van der Hoff wrote: On 29/08/12 17:28, Camaleón wrote: It does not matter that Lenny is out of support (formerly codenamed oldstable) because even the current stable release (Squeeze) neither get kernel upgrades (for kernel upgrades I mean going from 2.6.26 to 2.6.32 or 3.x branch, for instance). Kernel upgrades in Debian only happen in testing (until becomes frozen) and sid. Unless there's an upgrade to fix a security issue, I believe? Sure, that's what I said in an earlier post¹ ;-) 2012-05-10 08:01:57,434 INFO Starting unattended upgrades script 2012-05-10 08:01:57,434 INFO Allowed origins are: [('Debian', 'stable'), ('Debian', 'squeeze-security')] 2012-05-10 08:05:42,539 INFO Packages that are upgraded: linux-base linux-image-2.6.32-5-amd64 But still security updates for the kernel keep the same branch (2.6.32), they can't jump so far because of compatibility (ABI) issues. ¹http://lists.debian.org/debian-user/2012/08/msg01890.html Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k1lj95$koe$1...@ger.gmane.org
insserv: script clamd: service clamav-daemon already provided!
How can I edit the service dependency info? Thanks in advance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAJbW+rmb0RdXxHQyJu-RHMgbTbv-R=W=VshhDja=+r40-tm...@mail.gmail.com
Re: How upstart-job is performing in debian system ?
Am Mittwoch, 29. August 2012 schrieb Camaleón: On Wed, 29 Aug 2012 12:27:20 +0530, bakshi12 wrote: I have gone through some online docs on ubuntu derived upstar-job mechanism and its simplicity has drawn my attention. Same time the apparent incompatibility with sysv-init is also there. Has anyone is using that in running debian system. How does it work ? Does it need to rewrite all /etc/init.d/${scripts} ? IIRC, years ago it was suggested that Debian was going to jump to upstart¹ as the default booting mechanism but then systemd started to gain more popularity as a replacement for system v. With my admin's hat on, I prefer the old and well-know sysvinit because I don't need anything special for the booting process but I understand that people with specific requirements (or those called early adopters) are awaiting for a change. That said, I'm completetely unaware about the current status for upstart/ systemd in Debian, but according to the above mailing list/announce post and the wiki², both systems should be already available and operative. ¹http://lists.debian.org/debian-devel-announce/2009/09/msg3.html ²http://wiki.debian.org/systemd Systemd definately works on this ThinkPad T520, a ThinkPad T23, a T42 and a FTS Esprimo workstation with Debian Sid. I especially love that: martin@merkaba:~ systemd-analyze Startup finished in 3857ms (kernel) + 2531ms (userspace) = 6389ms Systemd can also tell for each service how long it takes for startup. And that: martin@merkaba:~ systemctl status ssh.service ssh.service - LSB: OpenBSD Secure Shell server Loaded: loaded (/etc/init.d/ssh) Active: active (running) since Tue, 28 Aug 2012 22:18:02 +0200; 21h ago Process: 1313 ExecStart=/etc/init.d/ssh start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/ssh.service └ 1394 /usr/sbin/sshd Aug 29 10:33:49 merkaba sshd[31682]: Accepted publickey for ms from […] port 39674 ssh2 Aug 29 14:33:03 merkaba sshd[22933]: Accepted publickey for ms from […] port 57103 ssh2 Aug 29 14:33:03 merkaba sshd[22933]: pam_unix(sshd:session): session opened for user ms by (uid=0) Aug 29 15:37:11 merkaba sshd[1322]: Accepted publickey for ms from […] port 57105 ssh2 Aug 29 15:38:09 merkaba sshd[1370]: Accepted publickey for ms from […] port 57106 ssh2 Aug 29 15:38:09 merkaba sshd[1370]: pam_unix(sshd:session): session opened for user ms by (uid=0) Still most services are started by init scripts, such as SSH in above example. That CGroup tracking works also with child processes, so I can know at once the processes that long to a certain service. I am quite vary about Pulseaudio, but I do like systemd ;) Thanks, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201208291929.27527.mar...@lichtvoll.de
Re: need kernel update for lenny ..
On Wednesday 29 August 2012 18:08:58 Tony van der Hoff wrote: On 29/08/12 17:28, Camaleón wrote: It does not matter that Lenny is out of support (formerly codenamed oldstable) because even the current stable release (Squeeze) neither get kernel upgrades (for kernel upgrades I mean going from 2.6.26 to 2.6.32 or 3.x branch, for instance). Kernel upgrades in Debian only happen in testing (until becomes frozen) and sid. Unless there's an upgrade to fix a security issue, I believe? Not for Lenny. Lenny will get nothing new, not even security updates, now that it has been archived. Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201208291849.31558.lisi.re...@gmail.com
Re: Dual-Monitor help
The Wanderer wrote: Bob Proulx wrote: exec x-session-manager The 'x-session-manager' is a Debian package specific symlink handle that always points to the currently configured window manager. Isn't that 'x-window-manager'? At least, I don't have an 'x-session-manager' on my system (tracking testing, with a few hints of stable and sid), but I do have 'x-window-manager'. Well... I really meant x-session-manager since that is the system default. x-window-manager is something related but different. And then there is also x-terminal-emulator in the complete set. A heavy desktop environment may be started by x-session-manager and whatever that is may call x-window-manager to start up a system configured window manager. (But many of us do not run heavy desktop environments and may simply start up a window manager only.) And either may start up x-terminal-emulator. And those are simply logical handles created by Debian to manage what happens when people install or uninstall the long list of available packages. A way to make the transition automatic. Systems will diverge depending upon what is installed. The right answer may be different for different combinations of installed packages. The system tries one and then falls back to the other. But for a personal file I don't expect that level of generality is needed. Look in /etc/X11/Xsession.d/* for x-session-manager. On my system: $ find /etc/X11/Xsession.d -type f -exec grep -lh x-session-manager {} + /etc/X11/Xsession.d/55gnome-session_gnomerc /etc/X11/Xsession.d/55awesome-javaworkaround /etc/X11/Xsession.d/50x11-common_determine-startup At the least I expect you would have 50x11-common_determine-startup since that is part of x11-common. The exact list depends upon what is installed. Those startup files call x-session-manager first and fall back to x-window-manager if it isn't installed. Snippet from /etc/X11/Xsession.d/50x11-common_determine-startup where we can see that all three are involved in a fallback control flow. # If there is still nothing to use for a startup program, try the system # default session manager, window manager, and terminal emulator. if [ -z $STARTUP ]; then if [ -x /usr/bin/x-session-manager ]; then STARTUP=x-session-manager elif [ -x /usr/bin/x-window-manager ]; then STARTUP=x-window-manager elif [ -x /usr/bin/x-terminal-emulator ]; then STARTUP=x-terminal-emulator fi fi And you can see what x-session-manager is with update-alternatives. Again on my system: $ update-alternatives --display x-session-manager x-session-manager - auto mode link currently points to /usr/bin/gnome-session /usr/bin/gnome-session - priority 50 slave x-session-manager.1.gz: /usr/share/man/man1/gnome-session.1.gz /usr/bin/gnome-session-fallback - priority 40 slave x-session-manager.1.gz: /usr/share/man/man1/gnome-session.1.gz /usr/bin/lxsession - priority 49 slave x-session-manager.1.gz: /usr/share/man/man1/lxsession.1.gz /usr/bin/openbox-session - priority 40 slave x-session-manager.1.gz: /usr/share/man/man1/openbox-session.1.gz /usr/bin/startlxde - priority 50 slave x-session-manager.1.gz: /usr/share/man/man1/startlxde.1.gz /usr/bin/startxfce4 - priority 50 slave x-session-manager.1.gz: /usr/share/man/man1/startxfce4.1.gz /usr/bin/xfce4-session - priority 40 slave x-session-manager.1.gz: /usr/share/man/man1/xfce4-session.1.gz Current 'best' version is '/usr/bin/gnome-session'. Although on my system the default is auto mode with gnome-session I actually select awesome or fvwm explicitly in my .xsession files. I let the system do what it wants with gnome and it is available for me to test with but I don't use it for my main desktop environment. As you can see I have several installed for testing purposes. Hopefully that explains what is happening. Bob signature.asc Description: Digital signature
Re: Query about failure of Debian 6 64 bit to swap properly
On Wed, 29 Aug 2012, Camaleón wrote: On Wed, 29 Aug 2012 16:23:47 +0800, Bret Busby wrote: (...) So, my query is this; is the inability of 64 bit Debian 6, to swap properly, instead using increasing amounts of RAM until it runs out of RAM, then crashing, while having 40GB of unused swap partition allocated and swappiness set to 70, due to the inability of the file manager to cope with filesize greater than 1GB? I think you are talking about two problems here. Let's see... First, it seems that you have some sort of problems with your swap but, what are those problems exactly? Some hints: - With 8 GiB of RAM you can (almost) safely turn off your swap at all, it shouldn't be used. You can indeed run this test (→ turn off swap) to see how your system behaves. - The kernel will use all of the system resources which are available and that includes /swap. The problem is that the computer runs out of RAM. The RAM usage increases, until it runs out of RAM, then, as at present, the system becomes morbidly slow, and takes a few seconds to respond to key presses or mouse moves, then, after a while, it just crashes. After about 95% of the RAM is used, so that the computer becomes frustratingly slow, it starts to use the swap space, up to about the same amount as the RAM, which is about 1/6 of the swap space. Example: at present, the SystemMNonitor shows Memory usage - 7.6GB (98.4%) of 7.7GB Swap usage - 7.9GB (19.3%) of 40.9GB and my XT with 640KB RAM and a 10MB HDD, used to run faster than this is running. Second, you say you can't delete big files (1 GiB of size) because your system becomes unmanageable and runs out of memory. This is of course not normal (even a system with as little as 256 MiB of RAM shouldn't experience this problem at all). No. I said that I can save and delete files up to about 1.2GB. I can not save files larger than about 1.2GB, to the system. The file manager crashes, and, crashes the system, when the saved file size gets to 1.2GB, if it gets that big. I have had some attempted file saves crash at 12MB, crashing the system. The file manager does not work well. I do hope that Debian 7 implements memory paging, or swapping. I'm not completely sure what you mean by this :-? It seems to have stopped working properly, in about Debian 5, and I hope that Debian 7 gets it working again. In Debian 5, I could sometimes kickstart memory swapping, by running something like the GIMP, and opening images, then closing the application, at which stage, memory swapping would sometimes start (on a different computer - Debian 5 would not run on this computer), but I have not yet managed to get memory swapping working properly in the 64 bit Debian 6. I do not remember whether the memory swapping works on the 32 bit installation of Debian 6, on my NX5000 laptop. -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992
Re: Query about failure of Debian 6 64 bit to swap properly
On Thu, Aug 30, 2012 at 02:16:23AM +0800, Bret Busby wrote: On Wed, 29 Aug 2012, Camaleón wrote: On Wed, 29 Aug 2012 16:23:47 +0800, Bret Busby wrote: (...) So, my query is this; is the inability of 64 bit Debian 6, to swap properly, instead using increasing amounts of RAM until it runs out of RAM, then crashing, while having 40GB of unused swap partition allocated and swappiness set to 70, due to the inability of the file manager to cope with filesize greater than 1GB? I think you are talking about two problems here. Let's see... I agree with Camaleó. You have at least two problems. The problem is that the computer runs out of RAM. OK, why? Run top and tap 'm'. You will see the processes in your system ordered according to memory usage. What are the top offenders, and how much are they using? I can not save files larger than about 1.2GB, to the system. The file manager crashes, and, crashes the system, when the saved file size gets to 1.2GB, if it gets that big. I have had some attempted file saves crash at 12MB, crashing the system. Which file manager are you using? There are roughly 300 of them available in Debian. Does the same problem occur when you rm a file from the command line? In Debian 5, I could sometimes kickstart memory swapping, by running something like the GIMP, and opening images, then closing the application, at which stage, memory swapping would sometimes start (on a different computer - Debian 5 would not run on this computer), but I have not yet managed to get memory swapping working properly in the 64 bit Debian 6. I do not remember whether the memory swapping works on the 32 bit installation of Debian 6, on my NX5000 laptop. This is bizarre. All you need to do to start swap availability is to have a swap partition or swap file created and identified in /etc/fstab. /sbin/swapon -s will show you what partitions or files you are using, and how big they are and how much is used. Your goal is to generally not be using swap at all. You can turn swapping on and off with /sbin/swapon -a /sbin/swapoff -a -a is for all. -dsr- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120829183605.gf4...@randomstring.org
Re: insserv: script clamd: service clamav-daemon already provided!
Please, ignore this post. I figured out the answer. As it turns out, the dependency is in the script. I used another script and didn't change this info. Sorry On Wed, Aug 29, 2012 at 1:29 PM, Roman Gelfand rgelfa...@gmail.com wrote: How can I edit the service dependency info? Thanks in advance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cajbw+rmn_fbcrf5p9gapzkjewklhah+xwq3dckkd4xpfi0o...@mail.gmail.com
Re: Query about failure of Debian 6 64 bit to swap properly
Bret Busby wrote: The problem is that the computer runs out of RAM. The RAM usage increases, until it runs out of RAM, then, as at present, the system becomes morbidly slow, and takes a few seconds to respond to key presses or mouse moves, then, after a while, it just crashes. What you are describing here is not a failure of Debian to swap properly (really the Linux kernel which is a component). But instead you are describing a process or set of processes that have a memory leak and that are consuming ram without bounds. That is NOT NORMAL. Find those processes and take corrective action. After about 95% of the RAM is used, so that the computer becomes frustratingly slow, it starts to use the swap space, up to about the same amount as the RAM, which is about 1/6 of the swap space. Yes. That is the way that Unix-like systems work and have for the last forty years. And why we always try to avoid thrashing swap space. Example: at present, the SystemMNonitor shows Memory usage - 7.6GB (98.4%) of 7.7GB Swap usage - 7.9GB (19.3%) of 40.9GB What is consuming 7.9G of swap? That is very large and very unusual. Find that and fix it. Do nothing else until you understand where the memory is going. and my XT with 640KB RAM and a 10MB HDD, used to run faster than this is running. Of course. Any system that is thrashing will be much slower than it should be running. You know the old joke about, doctor, it hurts when I do this, doctor says, don't do that? Same thing here. Don't do that. Second, you say you can't delete big files (1 GiB of size) because your system becomes unmanageable and runs out of memory. This is of course not normal (even a system with as little as 256 MiB of RAM shouldn't experience this problem at all). No. I said that I can save and delete files up to about 1.2GB. I can not save files larger than about 1.2GB, to the system. The file manager crashes, and, crashes the system, when the saved file size gets to 1.2GB, if it gets that big. I have had some attempted file saves crash at 12MB, crashing the system. The file manager does not work well. I agree that this sounds like a separate problem. But I find it strange that both problems exist together on a system. So they are probably related somehow. But concentrate on one first and the solution to it may also solve the other. I do hope that Debian 7 implements memory paging, or swapping. Debian practically means Linux. Linux *does* implement memory paging and swapping. I am sorry if your particular system is broken in some way. But I assure you that it is something that you have done to your system and that behavior is not normal. No one other than yourself is seeing the problem you are seeing. Therefore no one else can debug it for you. I'm not completely sure what you mean by this :-? It seems to have stopped working properly, in about Debian 5, and I hope that Debian 7 gets it working again. I assure you that it is working on Debian 5, 6, and 7. In Debian 5, I could sometimes kickstart memory swapping, by running something like the GIMP, and opening images, then closing the application, at which stage, memory swapping would sometimes start (on a different computer - Debian 5 would not run on this computer), but I have not yet managed to get memory swapping working properly in the 64 bit Debian 6. I do not remember whether the memory swapping works on the 32 bit installation of Debian 6, on my NX5000 laptop. You are creating a superstition instead of working it through. That won't help. Instead find out what is using all of your virtual memory. The tool I like the best is 'htop'. Install it. It is nice and I think you will like it. # apt-get install htop Then run it: $ htop Then press F6 to change the sort function. Use the up and down cursor keys to select VIRT for sorting by size of virtual memory usage. What programs are the top virtual memory consumers on your system? (On mine it is usually firefox.) Based upon what those memory hogs are on your system we can advise what action might be taken. To the list... Does anyone have any nice 'ps' recipies for doing the same thing? Bob signature.asc Description: Digital signature
Re: Query about failure of Debian 6 64 bit to swap properly
On Wed, 29 Aug 2012, Dan Ritter wrote: On Thu, Aug 30, 2012 at 02:16:23AM +0800, Bret Busby wrote: On Wed, 29 Aug 2012, Camaleón wrote: On Wed, 29 Aug 2012 16:23:47 +0800, Bret Busby wrote: (...) snip /sbin/swapon -s will show you what partitions or files you are using, and how big they are and how much is used. Your goal is to generally not be using swap at all. /sbin/swapon -s FilenameType Size Used Priority /dev/sda7 partition 42860340 8379428 -1 -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992
system-wide association between MIME types and applications
Hi guys, I'm using XFCE4 in Debian Wheezy and need a way to set system-wide association between MIME types and applications. According to [1], /usr/share/applications/defaults.list do this, but it can't works with and I don't find any documentation. [1] http://wiki.debian.org/MIME -- Rogerio de Carvalho Bastos http://wiki.dcc.ufba.br/Main/RogerioBastos -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120829161045.163168jf9xepd...@webmail.dcc.ufba.br
Re: Query about failure of Debian 6 64 bit to swap properly
On Wed, Aug 29, 2012 at 01:01:28PM -0600, Bob Proulx wrote: To the list... Does anyone have any nice 'ps' recipies for doing the same thing? ps STUFF --sort vsize -dsr- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120829193828.gg4...@randomstring.org
Re: Query about failure of Debian 6 64 bit to swap properly
On Wed, 29 Aug 2012, Bob Proulx wrote: Bret Busby wrote: The problem is that the computer runs out of RAM. snip The tool I like the best is 'htop'. Install it. It is nice and I think you will like it. # apt-get install htop Then run it: $ htop Then press F6 to change the sort function. Use the up and down cursor keys to select VIRT for sorting by size of virtual memory usage. What programs are the top virtual memory consumers on your system? (On mine it is usually firefox.) Based upon what those memory hogs are on your system we can advise what action might be taken. opera web browser. Each window of it shows as using 14GB of virtual memory. A problem that I (appear to) have found, is that the malware named javascript appears to cause havoc in continually increasing usage of RAM. Some web sites use client-side processing, via javascript, and I regard it as malicious, and I believe that a well written web site should not use client-side processing, but should instead use server-side processing. In some web browsers that I use, I have javascript disabled, but I left it enabled in opera. -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.deb.2.00.1208300352220.18...@bret-dd-workstation.busby.net
Re: Query about failure of Debian 6 64 bit to swap properly
Hello Bret, Bret Busby b...@busby.net wrote: opera web browser. Each window of it shows as using 14GB of virtual memory. Nice. Opera usually uses as much memory as it sees fit, but you can set the memory cache manually (Preferences → Advanced → History). A very wild guess would be that due to your extremely large swap space (which is rarely used by anything), Opera thinks it might use much more memory than normally. On my system (8 GB RAM + 8 GB swap), Opera uses something between 1 and 3 GB (residual/virtual), depending on how long it runs. A problem that I (appear to) have found, is that the malware named javascript appears to cause havoc in continually increasing usage of RAM. Javascript is a programming language, not a malware. Some web sites use client-side processing, via javascript, and I regard it as malicious, and I believe that a well written web site should not use client-side processing, but should instead use server-side processing. This is simply wrong, since many things are much faster with additional client-side processing, not to mention the fact that one may specifically want to do some client-side processing instead of trusting the server with everything (and needing a TCP round-trip for each request…). In some web browsers that I use, I have javascript disabled, but I left it enabled in opera. I suggest you take a close look at the pages you usually visit. Best regards, Claudius -- A board is the planck unit of boredom. http://chubig.net telnet nightfall.org 4242 signature.asc Description: PGP signature
Re: Query about failure of Debian 6 64 bit to swap properly
On Wednesday 29 August 2012 21:15:01 Claudius Hubig wrote: A problem that I (appear to) have found, is that the malware named javascript appears to cause havoc in continually increasing usage of RAM. Javascript is a programming language, not a malware. He knows that. He is expressing his opinion of Javascript. Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201208292207.12303.lisi.re...@gmail.com
Re: Query about failure of Debian 6 64 bit to swap properly
Bret Busby wrote: opera web browser. Each window of it shows as using 14GB of virtual memory. Yowsa! So if you exit Opera as a test then suddenly a lot of memory is freed up and the system is suddenly back to its normal speedy state? Any other processes hiding behind it that are the second tier of memory hog? A problem that I (appear to) have found, is that the malware named javascript appears to cause havoc in continually increasing usage of RAM. Yes. The curse of the modern world. I normally run Firefox with the noscript extension. Then for the web sites that require Javascript I use either Chromium or Midori with everything enabled, access the site, then exit the browser afterward to free up the memory resources. Some web sites use client-side processing, via javascript, and I regard it as malicious, and I believe that a well written web site should not use client-side processing, but should instead use server-side processing. The term you are looking for is Progressive Enhancement. http://en.wikipedia.org/wiki/Progressive_Enhancement As opposed to Graceful Degradation. Which is a terrible problem. But one which more and more people are creating every day. In some web browsers that I use, I have javascript disabled, but I left it enabled in opera. The outside world does what the outside world does. If you can't find a way to limit its memory use then you might just not be able to run Opera continuously for long periods of time without restarting it. Bob -- They called me mad, and I called them mad, and damn them, they outvoted me. --Nathaniel Lee signature.asc Description: Digital signature
Re: Query about failure of Debian 6 64 bit to swap properly
On Wed, 29 Aug 2012, Bob Proulx wrote: Bret Busby wrote: opera web browser. Each window of it shows as using 14GB of virtual memory. Yowsa! So if you exit Opera as a test then suddenly a lot of memory is freed up and the system is suddenly back to its normal speedy state? Any other processes hiding behind it that are the second tier of memory hog? A problem that I (appear to) have found, is that the malware named javascript appears to cause havoc in continually increasing usage of RAM. Yes. The curse of the modern world. I normally run Firefox with the noscript extension. Then for the web sites that require Javascript I use either Chromium or Midori with everything enabled, access the site, then exit the browser afterward to free up the memory resources. I enable javascript in Opera, as I use it for most online financial transactions, including online banking, and, of the (more?) major web browsers, as far as I am aware, opera is the only one that has not yet been breached as far as security is concerned. I have seen multiple CERT advisories for the Mozilla and Microsoft web browsers. Other browsers that I use, include iceweasel and iceape and konqueror, and I have used galeon and one that I think is named Epithany, and found opera to be the most stable of them. The problem with the progressive consumption of RAM, happens with any web browser that I run, that has javascript enabled. I have also found that none of the web browsers implement the stop all unwanted pop-ups, when that switch is set. Unwanted pop-ups still occur. I have found australian government web sites that use javascript, including the ABC (Australian Broadcasting Corporation) news web site, and online television guides that use javascript, to be bad for what they do with the javascript. I had understood that the operating system (in the case or Linux, the kernel?) controls memory management, so that, depending on the settings, once a threshold, for example, 50% of RAM, is used, the operating system would start paging memory, using the allocated swap space, to provide system stability until both swap space and RAM are totally used, then crash, rather than just using up all of the RAM and mostly ignoring the swap space and crashing the system, without significantly using the swap space. I am apparently wrong. It used to work, much better, with Debian 3 and 3.1; I can't remember much about Debian 4, then, as previously mentioned, I had the problem and the solution as such, with Debian 5, and, now, with Debian 6, memory management appears to simply not work, making Debian 6, at least in the 64 bit version, of the nature of the attributes used to describe the experimental version of Debian. It has just taken me about 35 minutes to be able to log in to the system, and, logging in is blind; the screen is black, and, after typing in the password, blind, it takes up to about 35 minutes for the system to respond. Last night, it was taking up to 20 minutes for the system to respond to a mouse click, and, typing in the text in composing an email message (I am using alpine, the replacement for pine), most of the typing is blind, as characters take a while to be displayed, and, about 40-60% of the characters that are typed in, simply disappear, requiring composing an email message to take about three times as much times as it should, due to the required patching up of the text that disappears. So, this 64 bit Debian 6 appears to be of the nature, in its status,similar to the nature of the version named experimental. And, someone's response that I seem to be the only person who has these problems with Debian 6, makes me wonder whether it is instead, that I am the only one who has these problems, that has managed, after much time and effort, to be able to contact the outside world and be able to send a help message, indicating what is happening, and thus, that others may have the same problems, but are unable to either log in to their systems, or, to compose and send email messages out. -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.deb.2.00.1208301259420.24...@bret-dd-workstation.busby.net
Re: How upstart-job is performing in debian system ?
On Wed, 29 Aug 2012 11:35:20 -0400 Tom H tomh0...@gmail.com wrote: snip From a sysadmin point of view, unless you want to write upstart jobs, there nothing much to learn. You can use sysvinit's service daemon {stop|start|restart} - or upstart's {stop|start|restart} daemon. /snip I have found that upstart is helpful for event driven situation. Like dnscrypt should run only when the net connection is present. Through conventional sysvinit I am suffering to create a proper init script to do the checking. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120830111408.55ec8...@shiva.selfip.org