[gentoo-user] mysql database getting too big
The mysql database used only by mythtv has grown to 1.3Gbytes - a bit over the top! mythconverg itself is only 34Mbytes, but /var/lib/mysql is full of files named (myth1 is the hostname): myth1-bin.01 myth1-bin.02 myth1-bin.03 ... basicly one for each day operations occur on the database. Can they be safely deleted/compressed or reduced in size somehow? I have run optimise table and the database itself is fine. I suspect that some of the larger files are to do with hardware related lockups requiring a database repair after recovery. The machine is mostly standard gentoo and mysql 4.1.20 BillK -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql database getting too big
mythconverg itself is only 34Mbytes, but /var/lib/mysql is full of files named (myth1 is the hostname): myth1-bin.01 myth1-bin.02 myth1-bin.03 ... basicly one for each day operations occur on the database. Can they be safely deleted/compressed or reduced in size somehow? I have run optimise table and the database itself is fine. I suspect that some of the larger files are to do with hardware related lockups requiring a database repair after recovery. You've enabled binary logs, mostly being used for replication. You may start mysql client and PURGE MASTER LOGS TO 'myth1-bin.XX' as root. Where XX is the max number. HTH, Sasha -- gentoo-user@gentoo.org mailing list
[gentoo-user] Amule-2.1.3 Segmentation Fault
Hi! I receive a segmentation fault after launching amule from a console. No other message displayed. I'd like to understand which is the problem, can some of you help me? Thanks Mauro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql database getting too big
Thank you, just what I needed. I thought I had turned binary logging off, and didnt expect to find the files there in any case. BillK On Sun, 2006-06-18 at 11:50 +0400, Alexander Kirillov wrote: PURGE MASTER LOGS TO 'myth1-bin. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accessing mailserver with ssh
On 17/06/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote: Hi, On Sat, 17 Jun 2006 23:09:57 +0200 Jarry [EMAIL PROTECTED] wrote: On 17/06/06, Raymond Lewis Rebbeck [EMAIL PROTECTED] wrote: You cannot use an ssh client in this manner. But what if mail-server uses secure connection (SSL) and secure authentication? Could I use ssh-client in such a case? Telnet would not help... The OpenSSL executable has this facility built-in. See man openssl-s_client (it has a basic server, too). Hmm . . . = $ openssl s_client -host pop.gmai.com -port 110 CONNECTED(0003) 16228:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:601: = I guess it may only be good for checking the verification/exchange of SSL certs? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Amule-2.1.3 Segmentation Fault
Mauro Arnoldi a écrit : Hi! I receive a segmentation fault after launching amule from a console. No other message displayed. I'd like to understand which is the problem, can some of you help me? Hi, Did you try revdep-rebuild, and/or rebuild wxGTK ? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New elog functionality Log rotation?
On 17/06/06, Teresa and Dale [EMAIL PROTECTED] wrote: Richard Broersma Jr wrote: I was wondering if anyone could point me to the conf file to turn on log rotation for my emerge.log. Here is a sample of the file: /var/log/http-replicator.log { size 10k missingok copytruncate compress } That is for http-replicator and the file is named the same. I guess the name doesn't matter really. Well, the name has to reflect *exactly* the path and file you intend to rotate. I'm not sure but I think you need a cron job to run it to. Not real sure. There's two entries in logrotate.conf, a generic one: == # rotate log files weekly #monthly weekly #daily == and a per file one, e.g.: == # when /var/log/user.log gets big /var/log/user.log { rotate 1 monthly size=1M } == Now, if you add logrotate in you /etc/make.conf it will be taken into account when new apps are created and relevant files and entries will be added in /etc/logrotate.d by those apps that are logrotate aware. This is from mine: == # ls -la /etc/logrotate.d total 21 drwxr-xr-x 2 root root 184 Jun 4 12:37 . drwxr-xr-x 73 root root 5144 Jun 18 10:38 .. -rw-r--r-- 1 root root0 Jan 21 02:33 .keep -rw-r--r-- 1 root root 145 Feb 14 19:59 acpid -rw-r--r-- 1 root root 79 May 6 12:13 hibernate-script -rw-r- 1 root root 191 Mar 2 20:26 privoxy -rw-r--r-- 1 root root 342 Jan 22 20:21 syslog-ng == Of course, if there is a file created for an application in /etc/logrotate.d there's no need for a manual entry in /etc/logrotate.conf as it will be a duplicate and lead to errors which will invariably appear in /root/dead.letter. HTH. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Amule-2.1.3 Segmentation Fault
Alle 11:32, domenica 18 giugno 2006, Fabrice Delliaux ha scritto: Mauro Arnoldi a écrit : Hi! I receive a segmentation fault after launching amule from a console. No other message displayed. I'd like to understand which is the problem, can some of you help me? Hi, Did you try revdep-rebuild, and/or rebuild wxGTK ? I tried but it doesn't change anything.. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accessing mailserver with ssh
Hi, On Sun, 18 Jun 2006 09:20:53 + Mick [EMAIL PROTECTED] wrote: On 17/06/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote: On Sat, 17 Jun 2006 23:09:57 +0200 Jarry [EMAIL PROTECTED] wrote: But what if mail-server uses secure connection (SSL) and secure authentication? Could I use ssh-client in such a case? Telnet would not help... The OpenSSL executable has this facility built-in. See man openssl-s_client (it has a basic server, too). Hmm . . . = $ openssl s_client -host pop.gmai.com -port 110 CONNECTED(0003) 16228:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:601: = I guess it may only be good for checking the verification/exchange of SSL certs? Nope. It acts like a telnet client after establishing an SSL connection: ---snip [EMAIL PROTECTED] ~ $ openssl s_client -connect pop.gmail.com:pop3s CONNECTED(0003) [lots of info snipped] +OK Gpop ready for requests from 123.45.67.89 n23pf2387435nfc ---snip For your test case: POP3 is usually on port 110, POP3S is usually on port 995. If the SSL connection isn't set up on connection level at start, but on an application configured stage afterwards, however, s_client wouldn't work. An example would be STARTTLS on IMAP (not IMAPS) and SMTP. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]
Neil Bothwick wrote: Telling people never to use --deep is as misleading as telling them always to use it. The only correct advice is to help people decide for themselves when to use it and when not. Hmm. When to use it then, and when not? Either the user follows gentoo-announce and runs the adviced emerges manually, without ever using --deep; or she uses --deep on a regular basis and can't see the difference between a security update and a normal bugfix. It would be better if emerge could somehow show this difference with a ! or something. Because running 'emerge --deep --changelog -u world -p' produces too much irrelevant information to be useful. And glsa-check is a bit unwieldy: 'glsa-check -ln 2/dev/null | grep '\[N\]' | cut -d\ -f1 | xargs -n1 glsa-check -d'. Plus, the results can be confusing as it thinks mplayer-1.0.20060415 is newer than mplayer-1.0_pre8. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Amule-2.1.3 Segmentation Fault
I've got the same problem since the last upgrade of gcc. amuled works perfectly I can't do emerge -e world, so the problem remains. Mauro Arnoldi wrote: Alle 11:32, domenica 18 giugno 2006, Fabrice Delliaux ha scritto: Mauro Arnoldi a écrit : Hi! I receive a segmentation fault after launching amule from a console. No other message displayed. I'd like to understand which is the problem, can some of you help me? Hi, Did you try revdep-rebuild, and/or rebuild wxGTK ? I tried but it doesn't change anything.. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accessing mailserver with ssh
On 18/06/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote: Nope. It acts like a telnet client after establishing an SSL connection: ---snip [EMAIL PROTECTED] ~ $ openssl s_client -connect pop.gmail.com:pop3s CONNECTED(0003) [lots of info snipped] +OK Gpop ready for requests from 123.45.67.89 n23pf2387435nfc ---snip For your test case: POP3 is usually on port 110, POP3S is usually on port 995. If the SSL connection isn't set up on connection level at start, but on an application configured stage afterwards, however, s_client wouldn't work. An example would be STARTTLS on IMAP (not IMAPS) and SMTP. Excellent! It works :-) Well, gmail is giving me trouble with USER PASS, but I have managed to connect to other maileservers on port 995 successfully. Just to confirm: Are the username and password using this client transmitted with SSL/TLS encryption? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Amule-2.1.3 Segmentation Fault
Alle 16:22, domenica 18 giugno 2006, Emanuele Morozzi ha scritto: I've got the same problem since the last upgrade of gcc. amuled works perfectly I can't do emerge -e world, so the problem remains. I hope not to have to emerge -e world It will take a lifetime!!! Mauro Arnoldi wrote: Alle 11:32, domenica 18 giugno 2006, Fabrice Delliaux ha scritto: Mauro Arnoldi a écrit : Hi! I receive a segmentation fault after launching amule from a console. No other message displayed. I'd like to understand which is the problem, can some of you help me? Hi, Did you try revdep-rebuild, and/or rebuild wxGTK ? I tried but it doesn't change anything.. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com -- (italia) % Il paradiso e' un poliziotto inglese, un cuoco francese, un tecnico tedesco, un amante italiano: il tutto organizzato dagli svizzeri. L'inferno e' un cuoco inglese, un tecnico francese, un poliziotto tedesco, un amante svizzero, e l'organizzazione affidata agli italiani. -- J. Elliott -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: Of course not necessary for the kernel (as Michael Weyershäuser already said), but what about the copy of the .config file? OK, copying the .config file to /boot/ would be a good idea if you do so. However it is not necessary to do so, nothing relies on config being present in /boot/, ebuilds that need information about kernel config take that from /usr/src/linux/.config. It is just a (good) practice to keep the config in /boot/ in case you ever need a backup. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFElUsZ6q4f+IV6B/wRAoxPAJsGTejGfL59p75sdAw9iVyI6NxdRwCfWKqp PaKSrkwY6bVf3xME8jtNZZ8= =1+FQ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: remove xorg-server to emerge nvidia-glx =Normal?
[EMAIL PROTECTED] wrote: root # modprobe nvidia FATAL: Error inserting nvidia (/lib/modules/2.6.16-gentoo-r9/video/nvidia.ko): Invalid module format You've maybe used a different compiler version for the kernel than for the nvidia stuff? If not that, then check the dates, to see whether that module is indeed the one you recently installed. (EE) module ABI minor version (6) is newer than the server's version (5) (EE) Failed to load module mouse (module requirement mismatch, Apparently also the mouse and keyboard drivers need to be downgraded to match the xserver. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Amule-2.1.3 Segmentation Fault
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emanuele Morozzi wrote: I've got the same problem since the last upgrade of gcc. amuled works perfectly I can't do emerge -e world, so the problem remains. Upgrade from what to what? You definitely should do an emerge -e world if you switched from 3.4 to 4.1 as they are not fully compatible and there have been problems reported if not doing so. And I've heard reports of amule segfaulting after a switch to gcc 4.1 without rebuilding world and the problem going away after the rebuild... -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFElVDl6q4f+IV6B/wRApOIAJkBQdc5dUHBK4PAqLN8C6h/+Ski8gCfRpl7 OgiYPE32F5w2hiCFBoiatRA= =UiHa -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]
On Sun, 18 Jun 2006 14:12:11 +0200, Benno Schulenberg wrote: And glsa-check is a bit unwieldy: 'glsa-check -ln 2/dev/null | grep '\[N\]' | cut -d\ -f1 | xargs -n1 glsa-check -d'. What's wrong with 'glsa-check -t all'? Then investigate any GLSA numbers it reports. Plus, the results can be confusing as it thinks mplayer-1.0.20060415 is newer than mplayer-1.0_pre8. Yeah, the screwed up MPlayer version numbering keeps nagging me too :( -- Neil Bothwick If a book about failures doesn't sell, is it a success? signature.asc Description: PGP signature
Re: [gentoo-user] Accessing mailserver with ssh
Mick wrote: On 17/06/06, Alexander Skwar [EMAIL PROTECTED] wrote: BUT: As there are no GLSAs, I'd say that there are no currently known security problems. Thanks! Out of the the apps mentioned in this thread, which one would you recommend Netcat or gnu-netcat (not much of a difference, as far as I know). With netcat, you can either do SMTP manually (like you intended) or you can use netcat in the way it might have been originally intended; ie. as a cat to net. To do the former, you'd execute: nc host smtp To do the latter, you'd do: echo HELO localhost QUIT | nc host smtp The latter isn't (easily) possible with telnet (easy excludes the use of expect). Alexander Skwar -- You get along very well with everyone except animals and people. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reading ~/.xsession file
I use ~/.xprofile , have a try, ;--)
Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]
Neil Bothwick wrote: On Sun, 18 Jun 2006 14:12:11 +0200, Benno Schulenberg wrote: And glsa-check is a bit unwieldy: 'glsa-check -ln 2/dev/null | grep '\[N\]' | cut -d\ -f1 | xargs -n1 glsa-check -d'. What's wrong with 'glsa-check -t all'? Ah. I didn't know about all. I've used glsa-check just once or twice, saw the enormous list of all greens, and never looked again. Then investigate any GLSA numbers it reports. Too much typing. :) It should have an option to directly list these numbers in full -- at least the Synopsis to Unaffected part. (Anyone good enough at sed or awk to produce such an extract from a glsa-check -d output?) Numbers alone say nothing. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]
On Sun, 18 Jun 2006 16:00:18 +0200, Benno Schulenberg wrote: Then investigate any GLSA numbers it reports. Too much typing. :) It should have an option to directly list these numbers in full -- at least the Synopsis to Unaffected part. (Anyone good enough at sed or awk to produce such an extract from a glsa-check -d output?) Numbers alone say nothing. glsa-check -t all | xargs -r glsa-check -d -- Neil Bothwick Compatible: Gracefully accepts erroneous data from any source. signature.asc Description: PGP signature
Re: [gentoo-user] gkrellm-1.2.13 emerge fails
On Sat, 2006-06-17 at 22:04 -0700, gentuxx wrote: I was going through and cleaning out some older slotted packages. One of which was gkrellm-1.2.13. I use (and LOVE) gkrellm2, but really have no interesting in keeping 1.2.13 around. But whenever I run an `emerge -Duatv world', 1.2.13 pops up as needing to be installed. I haven't been able to figure out why. What does --tree say the reason gkrellm-1.2.13 is needed? What is the output of emerge? --- Vladimir -- Vladimir G. Ivanovic [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reading ~/.xsession file
The only time .xsession is read is if you select the Custom option in KDM. And if that is the case you need to put your WM in there and everything. I think. Also I think that you have to put the Sha-bang entry in there: #!/bin/shAnd set it as executable...it seems like I remember having trouble getting it to work otherwise.On 6/18/06, fei huang [EMAIL PROTECTED] wrote:I use ~/.xprofile , have a try, ;--) -- "Beware of spyware. If you can, use the Firefox browser." - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/)
[gentoo-user] Re: remove xorg-server to emerge nvidia-glx =Normal?
Benno Schulenberg [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: root # modprobe nvidia FATAL: Error inserting nvidia (/lib/modules/2.6.16-gentoo-r9/video/nvidia.ko): Invalid module format You've maybe used a different compiler version for the kernel than for the nvidia stuff? If not that, then check the dates, to see whether that module is indeed the one you recently installed. Ahh there may be the trouble. The kernel was compiled with 3.4 and nvidia stuff with 4.1.1. Apparently also the mouse and keyboard drivers need to be downgraded to match the xserve What package contains those drivers? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -fvisibility=hidden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Corbin wrote: Thanks. I happened on that thread this morning, and I did search, but I guess it was too fresh for Google. Well yea, I would try www.gmane.org next time. It is a great resource because it tracks ALOT of mailing lists including all(?) of the gentoo lists. - -- Jeremy Olexa ([EMAIL PROTECTED]) Office: EE/CS 1-201 CS/IT Systems Staff University of Minnesota -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFElXmTFN7pD9kMi/URArzxAJ9G3z81ldWE3TmEOt7PrOHJobDpxQCfel6A TEO5Wr6Gdrh+UI+prJMkbHQ= =CIFR -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sound problem
well, i recompiled and broke the kernel :P while i was trying to fix it, the livecd had the same problem as my installation; it complained about alsa-drivers being compiled incorrectly. Perhaps a bug?On 6/14/06, recordus [EMAIL PROTECTED] wrote: when I compiled my kernel, I only selected Sound card support,butdidn't select any module that is supported by the kernel(Alas or oss),then I emerge alsa-driver, and it works well.ps:my english is poor,sorry :) Strake wrote: alsa-driver is compiled into kernel, and emerge alsa-driver complains because of it and exits--gentoo-user@gentoo.org mailing list -- Registered Linux User #392061counter.li.orgEverything is more fun when you add a rocket engine. No, you may not goto the washroom. Last time you went to the washroom, we found you days later in an air vent.-Bryn
[gentoo-user] 2GB of RAM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, Today I expended my RAM to 2GB (DDR) to my workstation, as apposed to the initial 1GB I had. The RAm added is identical to the initial RAM. Without changing the kernel (2.6.16.x) I still get 1GB available, and digging into the kernel I found the section regarding the High Memory Support and Memory split. I did a bit of googeling, the first page I found (old) said to turn on High Memory Support, however a more recent page (http://linux-vserver.org/Step-by-Step+Guide+2.6) states to leave it off and just change the split to 2/2 to make full use of 2GB of RAM. I tried both ways, but either way I get poor 3D performance from UT2004 when I have this extra memory in. Now I'm confused ;-) It's (kernel's) default is 3G/1G user/kernel split but there seems to be no documentation supplied with my kernel (2.6.16.5). Do any of you have experience with 1GB of RAM, and efficiently getting this to work _well_ on your systems? What ideal settings should I use in my kernel? Are there any downsides to 1GB? With 3G/1G user/kernel split selected, and High Memory Support (off) I get 1GB despite 2GB in the motherboard, even when lilo boots with append=mem=2048M. If I enable the 2/2 option instead I get 2G of RAM. I tested the 2GB with 2x virtual machines (vmware) running each with 512MB ram (iE 1GB in use for vmware) and the system performed still exceptionally well, however UT2004 still sucks when playing (sluggish and screen jolts from time to time like I have too little RAM). Any ideas? Thanks, Ralph -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFElZFNCt0ZF9kLPvYRAtI/AJ0ctkVcrWRa1ROC9TwDMlPTpPNRbACdFvVJ wRKCLtGAKSSQMk613mtE/V8= =+Qh0 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Adaptec 29160 Setup
Hello All, I am trying to get my recently built system to recognize my Adaptec 29160 configured on the system. I have SCSI built into the kernel, here is the dmesg statement, SCSI subsystem initialized, I can see my sata drive, which from what I read, scsi needs to be working for sata access, but there is nothing in dmesg about my scsi card coming to life, and so I cannot see my cd burner and iomega jaz drive that hang off it. I figure it has something to do with getting drivers in place. Is it something in the kernel config? I have looked and there is nothing that catches my attention. Perhaps just to emerge some driver? Here is my version Linux version 2.6.16-gentoo-r9 ([EMAIL PROTECTED]) (gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)) #4 SMP Sat Jun 17 22:56:38 EDT 2006 Running on a pair of dual opterons in amd64 mode. Thanks in advance for any help. Sean -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2GB of RAM
On Sun, 18 Jun 2006, Ralph Slooten wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, Today I expended my RAM to 2GB (DDR) to my workstation, as apposed to the initial 1GB I had. The RAm added is identical to the initial RAM. Without changing the kernel (2.6.16.x) I still get 1GB available, and digging into the kernel I found the section regarding the High Memory Support and Memory split. I did a bit of googeling, the first page I found (old) said to turn on High Memory Support, however a more recent page (http://linux-vserver.org/Step-by-Step+Guide+2.6) states to leave it off and just change the split to 2/2 to make full use of 2GB of RAM. I tried both ways, but either way I get poor 3D performance from UT2004 when I have this extra memory in. Now I'm confused ;-) It's (kernel's) default is 3G/1G user/kernel split but there seems to be no documentation supplied with my kernel (2.6.16.5). Do any of you have experience with 1GB of RAM, and efficiently getting this to work _well_ on your systems? What ideal settings should I use in my kernel? Are there any downsides to 1GB? With 3G/1G user/kernel split selected, and High Memory Support (off) I get 1GB despite 2GB in the motherboard, even when lilo boots with append=mem=2048M. If I enable the 2/2 option instead I get 2G of RAM. I tested the 2GB with 2x virtual machines (vmware) running each with 512MB ram (iE 1GB in use for vmware) and the system performed still exceptionally well, however UT2004 still sucks when playing (sluggish and screen jolts from time to time like I have too little RAM). Any ideas? Thanks, Ralph What graphics card are you using? Sluggish and screen jolts sound possibly like your graphics are too high for the card. Generally too little ram will result in your HD doing a lot of work during gameplay. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reading ~/.xsession file
Ok, I rushed that email off pretty quickly as I was heading to church. I got to thinking that you might like a little more info. One thing to keep in mind is that you need to exec you WM whenever you use .xsession, and it must be the last thing you do (since you exec anything after it won't get ran). For instance here is my .xsession which I tested with XDM used on KDM for the longest time and now use with qingy: [EMAIL PROTECTED] ~536$ cat .xsession#!/bin/sh#xset m 2 4 # This is my old x mapping which is for Release 6#xmodmap -e pointer = 1 2 3 6 7 4 5# This is the new mapping required for Release 7 xmodmap -e pointer = 1 2 3 8 9 4 5 6 7 10 11# Microsoft, in their infinite wisdom make the F-lock key toggle between Insert/Print Screen. # Remap the print key to the scroll lock button...what does scroll lock do anyway? xmodmap -e keycode 78 = Printxmodmap -e keycode 111 = Scroll_Lock#This get shift-tab working for rxvtxmodmap -e 'keycode 23 = Tab'imwheel -k -b 67 lineakd #Restore the last set backgroundeval `cat $HOME/.fehbg`gkrellm2 xscreensaver -nosplash /usr/local/bin/fbpanel exec /usr/local/bin/openbox Hopefully that might help solve any issues before they come up! On 6/18/06, Troy Curtis Jr [EMAIL PROTECTED] wrote: The only time .xsession is read is if you select the Custom option in KDM. And if that is the case you need to put your WM in there and everything. I think. Also I think that you have to put the Sha-bang entry in there: #!/bin/shAnd set it as executable...it seems like I remember having trouble getting it to work otherwise.On 6/18/06, fei huang [EMAIL PROTECTED] wrote:I use ~/.xprofile , have a try, ;--) -- Beware of spyware. If you can, use the Firefox browser. - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/) -- "Beware of spyware. If you can, use the Firefox browser." - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/)
Re: [gentoo-user] 2GB of RAM
* Ralph Slooten [EMAIL PROTECTED] [2006-06-18 12:52]: Today I expended my RAM to 2GB (DDR) to my workstation, as apposed to the initial 1GB I had. The RAm added is identical to the initial RAM. Without changing the kernel (2.6.16.x) I still get 1GB available, and digging into the kernel I found the section regarding the High Memory Support and Memory split. Note that without doing *anything*, with a normal 3G/1G split, you'll actually get 896M. Recent kernels added in a config option to have a 2.75G/1.25G split, which solves this problem; it makes sense to use that if you have 1G of RAM. I did a bit of googeling, the first page I found (old) said to turn on High Memory Support, however a more recent page (http://linux-vserver.org/Step-by-Step+Guide+2.6) states to leave it off and just change the split to 2/2 to make full use of 2GB of RAM. My understanding is that the performance hit from enabling high memory support is actually fairly small; if you have more than 1G (where the fix is unlikely to break anything) it's not worth worrying about. I tried both ways, but either way I get poor 3D performance from UT2004 when I have this extra memory in. (snip) however UT2004 still sucks when playing (sluggish and screen jolts from time to time like I have too little RAM). Any ideas? My guesses is, as has already been suggested, that something is messed up with your video driver. Did you recompile it when you recompile your kernel? Is acceleration still working at all? Do you get the current performance issues either without the extra RAM with a highmem kernel or with the extra RAM without a highmem or 2G/2G kernel? -- David Klempner pgpp5IYaB3O7Y.pgp Description: PGP signature
Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]
Neil Bothwick wrote: On Sun, 18 Jun 2006 16:00:18 +0200, Benno Schulenberg wrote: It should have an option to directly list these numbers in full -- at least the Synopsis to Unaffected part. (Anyone good enough at sed or awk to produce such an extract from a glsa-check -d output?) Numbers alone say nothing. glsa-check -t all | xargs -r glsa-check -d Yes, but now only the Synopsis to Unaffected part. Demanding, aren't we? :) I've aliased this: `glsa-check -t all | while read number; do echo =; echo; glsa-check -d $number | grep -B88 Unaffected | grep --color=always -A88 Synopsis; echo; done'. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: remove xorg-server to emerge nvidia-glx =Normal?
[EMAIL PROTECTED] wrote: Benno Schulenberg [EMAIL PROTECTED] writes: Apparently also the mouse and keyboard drivers need to be downgraded to match the xserve What package contains those drivers? No idea, I'm still on monolithic. Look in the /var/log/Xorg.0.log file, search for kbd, see what module it tries to load, then do an equery belongs on that file. For example: $ equery belongs /usr/lib/modules/input/kbd_drv.so [ Searching for file(s) /usr/lib/modules/input/kbd_drv.so in *... ] x11-base/xorg-x11-6.8.2-r7 (/usr/lib/modules/input/kbd_drv.so) Then downgrade the indicated package. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accessing mailserver with ssh
On 18/06/06, Alexander Skwar [EMAIL PROTECTED] wrote: Netcat or gnu-netcat (not much of a difference, as far as I know). With netcat, you can either do SMTP manually (like you intended) or you can use netcat in the way it might have been originally intended; ie. as a cat to net. To do the former, you'd execute: nc host smtp To do the latter, you'd do: echo HELO localhost QUIT | nc host smtp The latter isn't (easily) possible with telnet (easy excludes the use of expect). Cool! Thanks for all your replies. I'm off now emerging netcat, but I noticed that there's also cryptcat which I assume is only useful if the remote server has twofish encryption enabled? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]
On Sun, 18 Jun 2006 21:37:55 +0200, Benno Schulenberg wrote: I've aliased this: `glsa-check -t all | while read number; do echo =; echo; glsa-check -d $number | grep -B88 Unaffected | grep --color=always -A88 Synopsis; echo; done'. Neat :) -- Neil Bothwick The severity of the itch is inversely proportional to the reach. signature.asc Description: PGP signature
Re: [gentoo-user] Adaptec 29160 Setup
On Sun, 18 Jun 2006 14:13:44 -0400 sean [EMAIL PROTECTED] wrote: I am trying to get my recently built system to recognize my Adaptec 29160 configured on the system. I have SCSI built into the kernel, here is the dmesg statement, SCSI subsystem initialized, Do you have SCSI Transport Attributes --- Parallel SCSI (SPI) Transport Attributes turned on as either a module or loaded? I can see my sata drive, which from what I read, scsi needs to be working for sata access, SATA doesn't need specific attributes unless it's really a SAS interface. but there is nothing in dmesg about my scsi card coming to life, and so I cannot see my cd burner and iomega jaz drive that hang off it. Should only need, under SCSI devices support -- SCSI disk, SCSI CDROM, the previously mentioned parallel Transport, under low-level drivers -- Adaptec AIC7xxx (aka New driver), SATA support, and the SATA chipset driver. The rest is pretty much wasted space. Bob - -- gentoo-user@gentoo.org mailing list
[gentoo-user] /etc/portage/color.map for a light background
Hi all, Gentoo Weekly News mentioned that among the new features of Portage-2.1 there was Colour remappings: you can now remap the colours that Portage will use in its output. But the man page says nothing about how to do this, nor what colour names it knows about. The gentoo-wiki has nothing, googling turned up nothing useful, and on the forums there's just one post that mentions changing the yellow. Reading the code shows that it knows about: bluedarkbluefuchsia purple red darkred turquoise teal green darkgreen yellow brown white lightgray darkgrayblack So for the Konsole with a light background I made the following /etc/portage/color.map: # Map the four brightest colours to their darker forms: yellow=brown turquoise=teal green=darkgreen fuchsia=purple # For an extra touch of Gentoo: darkgreen=purple (But replacing the last purple with darkblue looks better.) Enjoy. Benno -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: remove xorg-server to emerge nvidia-glx =Normal?
Benno Schulenberg [EMAIL PROTECTED] writes: No idea, I'm still on monolithic. Look in the /var/log/Xorg.0.log file, search for kbd, see what module it tries to load, then do an equery belongs on that file. For example: $ equery belongs /usr/lib/modules/input/kbd_drv.so [ Searching for file(s) /usr/lib/modules/input/kbd_drv.so in *... ] x11-base/xorg-x11-6.8.2-r7 (/usr/lib/modules/input/kbd_drv.so) Nice tip thanks, but I packed it in diddling arond with nvidia. Recompiled my kernel so no more unmatched stuff, then discovered I could just use `nv' in xorg.conf and my redraw trouble disapears. I've --unmerged nvidia-kernel and nvidia-glx. Now that I think about it... Hermman mentioned doing that way back. What I have now appears to redraw like I expect. So unless there is some remarkable difference between using `nv' and `nvidia' to make it worth the the trouble... I'm standing pat. -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT - More Mythtv problems
OK. I'm using mythtv-0.19_p9163-r1. I have a few questions: First of all, it takes a really long time to register any kind of database action (around five seconds), so if I say to record a program, or to not record a program that is set to record, it takes a really long time for it to register. Is there any way I could speed it up? Secondly, I have no sound in MythTV - at least when watching LiveTV. Is there something else I have to set up? I have perfect sound in xmms. I use alsa. How can I get sound in Myth? Thirdly, what happened to the buffering aspect when watching LiveTV? I don't want LiveTV I watch to stick around forever taking up space, and I don't want to have to delete the programs I watch in LiveTV manually inside the interface, or outside in the shell. Is there a way I can get the old behaviour back? Fourthly, when I'm looking at a listing, I'd like to see the callsign (ABC, FOX, Disney, etc, etc) instead of the channel number. Is this possible? Thanks for your help! -Michael Sullivan- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Su'ing queston
As you know, I recently reinstalled Gentoo. When I su - to root, I get these weird errors: [EMAIL PROTECTED] ~ $ su - Password: configuration error - unknown item 'FAILLOG_ENAB' (notify administrator) configuration error - unknown item 'LASTLOG_ENAB' (notify administrator) configuration error - unknown item 'MOTD_FILE' (notify administrator) configuration error - unknown item 'FTMP_FILE' (notify administrator) configuration error - unknown item 'ENV_ROOTPATH' (notify administrator) configuration error - unknown item 'PASS_MIN_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) camille ~ # How can I fix them? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Su'ing queston
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Sullivan wrote: As you know, I recently reinstalled Gentoo. When I su - to root, I get these weird errors: [EMAIL PROTECTED] ~ $ su - Password: configuration error - unknown item 'FAILLOG_ENAB' (notify administrator) configuration error - unknown item 'LASTLOG_ENAB' (notify administrator) configuration error - unknown item 'MOTD_FILE' (notify administrator) configuration error - unknown item 'FTMP_FILE' (notify administrator) configuration error - unknown item 'ENV_ROOTPATH' (notify administrator) configuration error - unknown item 'PASS_MIN_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) camille ~ # How can I fix them? running `etc-update` should fix that - -- Jeremy Olexa ([EMAIL PROTECTED]) Office: EE/CS 1-201 CS/IT Systems Staff University of Minnesota -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEleFOFN7pD9kMi/URAia2AJ9P0AYkk+/72mQLvQFZuZ0Oy4lvyQCffpPG gf4gI1nFgg6EibdJIUAnNHk= =P1G5 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: OT - More Mythtv problems
On Sun, 2006-06-18 at 18:10 -0500, Michael Sullivan wrote: OK. I'm using mythtv-0.19_p9163-r1. I have a few questions: First of all, it takes a really long time to register any kind of database action (around five seconds), so if I say to record a program, or to not record a program that is set to record, it takes a really long time for it to register. Is there any way I could speed it up? Secondly, I have no sound in MythTV - at least when watching LiveTV. Is there something else I have to set up? I have perfect sound in xmms. I use alsa. How can I get sound in Myth? OK. I fixed the sound problem. I just had to kill esd... Thirdly, what happened to the buffering aspect when watching LiveTV? I don't want LiveTV I watch to stick around forever taking up space, and I don't want to have to delete the programs I watch in LiveTV manually inside the interface, or outside in the shell. Is there a way I can get the old behaviour back? Fourthly, when I'm looking at a listing, I'd like to see the callsign (ABC, FOX, Disney, etc, etc) instead of the channel number. Is this possible? Thanks for your help! -Michael Sullivan- -- gentoo-user@gentoo.org mailing list
[gentoo-user] svc: bad direction 268435456
i've recently set up a local nfs server for my disfiles; to keep the WAN out i have: iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport nfs -j DROP iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport nfs -j DROP everthing is working fine so far; however, my logs are full with these messages: svc: bad direction 268435456, dropping request any comments ? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: OT - More Mythtv problems
It can take awhile, especially on low powered hardware. However, check what settings you are using in myth to point at the database server. Check DNS operation (often a prime suspect when delays in network ops are seen), use IP instead of hostname, and is a local DB, try localhost and 127.0.0.1 and see if either helps. BillK On Sun, 2006-06-18 at 18:51 -0500, Michael Sullivan wrote: On Sun, 2006-06-18 at 18:10 -0500, Michael Sullivan wrote: OK. I'm using mythtv-0.19_p9163-r1. I have a few questions: First of all, it takes a really long time to register any kind of database action (around five seconds), so if I say to record a program, or to not record a program that is set to record, it takes a really long time for it to register. Is there any way I could speed it up? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gkrellm-1.2.13 emerge fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir G. Ivanovic wrote: On Sat, 2006-06-17 at 22:04 -0700, gentuxx wrote: I was going through and cleaning out some older slotted packages. One of which was gkrellm-1.2.13. I use (and LOVE) gkrellm2, but really have no interesting in keeping 1.2.13 around. But whenever I run an `emerge -Duatv world', 1.2.13 pops up as needing to be installed. I haven't been able to figure out why. What does --tree say the reason gkrellm-1.2.13 is needed? What is the output of emerge? --- Vladimir It seems that a couple of plugins were gKrellm plugins (instead of gKrellm2). I need to change that color scheme. The blue is too easy to ignore. ;-) Still curious why the compile was failing, but I don't need it, so I'm not going to worry about it. Thanks for the reply Vladimir. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFElgrBTPA54hjTSp4RAqpDAKChNPedIr2fp1SnNyyz/nDPB7K08QCgvcvf uvbpPu6mO+D2N6PL9kIUYfQ= =e5i9 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] does anyone here speak japanese? please help in translaton
On 6/17/06, CapSel [EMAIL PROTECTED] wrote: I don't speak japanese at all :) I only know a bit of japanese, but I can tell you that that is in fact not Japanese. Most likely it's Chinese. -- Calvin Walton -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2GB of RAM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven Susbauer wrote: What graphics card are you using? Sluggish and screen jolts sound possibly like your graphics are too high for the card. Generally too little ram will result in your HD doing a lot of work during gameplay. GeForce 6600/GeForce 6600 GT No, with 1GB of RAM it worked just fine, but with 2GB of RAM it became sluggish. Greetings, Ralph -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEli98Ct0ZF9kLPvYRArkYAJ4mMCR6N0QdQUEQH23zKHJEIodHqgCfV8d4 9zR2QLFdCMjMWlNBAqYOeos= =SMcy -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2GB of RAM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi David, David Klempner wrote: Note that without doing *anything*, with a normal 3G/1G split, you'll actually get 896M. Recent kernels added in a config option to have a 2.75G/1.25G split, which solves this problem; it makes sense to use that if you have 1G of RAM. This option must be really new because I don't have it. I have two 3/1 options, a 2/2 option and a 1/3 option. Either way, I'm now using 2GB. My understanding is that the performance hit from enabling high memory support is actually fairly small; if you have more than 1G (where the fix is unlikely to break anything) it's not worth worrying about. My guesses is, as has already been suggested, that something is messed up with your video driver. Did you recompile it when you recompile your kernel? Is acceleration still working at all? Do you get the current performance issues either without the extra RAM with a highmem kernel or with the extra RAM without a highmem or 2G/2G kernel? Maybe this is the case, I'm not sure. For testing some other software I upgraded to 2.16.6.16 2 weeks ago (when I still had 1GB) which resulted in the same problem. I then went back to the previous-compiled 2.6.16.5 version which worked flawlessly. It is only now that I have actually rebuilt the 2.6.16.5 kernel (due to RAM upgrade) and am having the same problem. The NVidial kernel and glx (to be sure) were also rebuilt. I did a bit of testing last night before I went to bed and it seems that no matter what options I use in the kernel I'm getting bad performance now from the graphics card. It still gets 4000 fps with glxgears though, so I'm not 100% sure it is the graphics card. The question I was meaning to ask is what the ideal kernel settings should be for 2GB of RAM... from there I'll look for other explanations why the 3d isn't performing well. Should I use 2/2 *and* highmem, or just 2/2 ? You suggest the highmem does very little, but it's there for a valid reason I take it. Thanks for the answers, Ralph -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEljNWCt0ZF9kLPvYRArMnAJ49+k5iZbZGr+UBiPOMtYCDzpJ0QgCghWkt KHDb0KCFbAnyyAQGymJvd70= =Weyw -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] svc: bad direction 268435456
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Langer wrote: i've recently set up a local nfs server for my disfiles; to keep the WAN out i have: iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport nfs -j DROP iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport nfs -j DROP everthing is working fine so far; however, my logs are full with these messages: svc: bad direction 268435456, dropping request any comments ? I have had this too from quite a while back (http://blog.axljab.homelinux.org/post/6/). I turned on logging in my firewall to find out that nfs listens on random ports for UDP connections. The problem is that the random ports change ;-) In my firewall *most* of 1024 is open so there isn't much I can do about it. - From what I noticed it's nobody trying to hack you but rather just internet static which by coincidence tries a port that your NFS is listening on. I stopped worrying about it after a while. The option for NFS to listen only on one interface wasn't then (iirc) an option .. not sure about now though. Greetings, Ralph -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEljT+Ct0ZF9kLPvYRAupeAJ9kSYUdHh6DaV/npK+llF7an4jcMQCfXUgN Gr0GEONQuBgPDhYgYdqedW8= =JSh1 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list