[gentoo-user] Backup and Restore
Hello ! Now that my gentoo system is up and running the applications that I want to use, how do I make a reliable backup ? Can I follow the guide on: http://en.gentoo-wiki.com/wiki/Backup_to_DVD Is that a proven/working method ? / Thomas
Re: [gentoo-user] vmware install error
2009/4/22 김무성 : > My kernel version is 2.6.27-gentoo-r10 > > And I try to install VMware-server-1.0.9 > > Up-to-date gcc. > > When I install vmware-server, ./vmware-install.pl > > there is an error. > > This is error information > > > > -- > > /tmp/vmware-config3/vmmon-only/linux/driver.c:1781: error: too many > arguments to function 'smp_call_function' > > make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1 > > make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2 > > make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r10' > > make: *** [vmmon.ko] Error 2 > > make: Leaving directory `/tmp/vmware-config3/vmmon-only' > > Unable to build the vmmon module. > > > > For more information on how to troubleshoot module-related problems, please > > visit our Web site at "http://www.vmware.com/download/modules/modules.html"; > and > > "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html";. > > > > Execution aborted. > > -- > > > > So I found solution searching in google. > > It’s tell me There is an patch. > > I got Vmware-any-any-patch through ftp. > > And execute patch, But same error > > > > > > What is a solution? > > Help me. > > > > If 1.0.9 is not a necessity, you may want to try vmware-server in portage(1.0.8) instead. $ sudo emerge -pv vmware-server [ebuild N] app-emulation/vmware-modules-1.0.0.15-r2 483 kB [ebuild N] app-emulation/vmware-server-1.0.8.126538 104,611 kB As an addition, if you build kernel manually, turning CONFIG_UNUSED_SYMBOLS on beforehand or vmware-modules will refuse to compile. $ cd /usr/src/linux $ sudo make menuconifg (Kernel hacking) --> (Enable unused/obsolete exported symbols) --> (y) $ sudo make && make modules_install Boot the machine with new kernel and issue the above 'emerge' command should bring you a working vmware-server. -- Sincerely, Jyo
Re: [gentoo-user] Backup and Restore
Thomas Chef wrote: > Hello ! > > Now that my gentoo system is up and running the applications that I > want to use, how do I make a reliable backup ? > > Can I follow the guide on: > http://en.gentoo-wiki.com/wiki/Backup_to_DVD > > Is that a proven/working method ? > > / Thomas A lot of people recommend mondo-rescue. I think it creates a bootable CD/DVD and you can restore from there. I have never used this but it gets mentioned a lot. Also, just look around in app-backup and see what you can find. You may find something that better suites your needs. For me, I use Kbackup to back up my data, portage tree, and config files that I can use to rebuild from. It works well enough for me. It will even size the tarballs to fit on the CD/DVD too. This would mean recompiling everything again but that's just me. Most of this will depend on what you are needing to backup, whether you want a command line tool or GUI and a few other odds and ends. Dale :-) :-)
Re: [gentoo-user] nvidia-drivers-180.51 on amd64
On Wed, 22 Apr 2009 00:34:34 +0100, Peter Humphrey wrote: > On Tuesday 21 April 2009 16:23:34 Xavier Parizet wrote: >> On Tue, 21 Apr 2009 16:07:02 +0100, Peter Humphrey >> >> wrote: >> > On Tuesday 21 April 2009 10:56:25 Xavier Parizet wrote: >> >> I think the problem is from the SYSSRC make paremeter which is set to >> >> skins/default/usr/src/linux, which seems to be invalid. >> > >> > Where did you get the "skins" part of that? It isn't in what I posted. >> >> Please take a deeper look at your first post... It is in your SYSSRC make >> parameter. > > I've read the post backwards and forwards, and I've had kmail search > case-insensitively for "skin", and it isn't there. It wasn't there when I > sent it, anyway, and grep says it isn't in the files I've attached this > time either. In fact you're right, it seems that my webmail (Roundcube) add the skins/default part i saw earlier in your first post... Looking at the mail source and there is no skins/default part. Apologize :) >> Can you please post emerge --info and the full output from emerge >> nvidia-drivers ? > > Attached. Also: > > $ uname -r > 2.6.29-gentoo-r1 > > $ ls -l /usr/src/linux > lrwxrwxrwx 1 root root 22 2009-04-05 09:15 /usr/src/linux -> > linux-2.6.29-gentoo-r1 > > Thanks for your time. Do you run make prepare in the kernel source tree with your kernel configured ? -- Xavier Parizet YaGB : http://gentooist.com GPG :DC81 6FEE 6EBE FCE4 1C18 202F E575 4A5D 036D 1408
Re: [gentoo-user] Backup and Restore
Thomas Chef a gentiment tapote: > Hello ! > > Now that my gentoo system is up and running the applications that I > want to use, how do I make a reliable backup ? > > Can I follow the guide on: > http://en.gentoo-wiki.com/wiki/Backup_to_DVD > > Is that a proven/working method ? > > / Thomas Hi, I use partimage with SysRescueCD (live CD) for years. It works really fine and is very reliable ! http://www.sysresccd.org/Main_Page Cheers, -- Jacques
Re: [gentoo-user] What use flags/build settings should I use to get audio CDs to play in totem?
On Wed, Apr 22, 2009 at 12:35 PM, Paul Hartman wrote: > On Tue, Apr 21, 2009 at 11:30 PM, Paul Hartman > wrote: >> On Tue, Apr 21, 2009 at 2:09 PM, Mark David Dumlao >> wrote: >>> media-plugins/gst-plugins-cdio >> >> I think that one should do it. >> > > Also, according to > http://gstreamer.freedesktop.org/documentation/plugins.html there is a > cd-audio plugin which is part of gst-plugins-bad which might be an > even better choice :) > I'm going to go with this one. I'm writing/testing a gst-plugins-bad ebuild right now :)
Re: [gentoo-user] Backup and Restore
Thomas Chef wrote: > Now that my gentoo system is up and running the applications that I want to > use, how do I make a reliable backup ? > > Can I follow the guide on: > http://en.gentoo-wiki.com/wiki/Backup_to_DVD > > Is that a proven/working method ? Be very careful as GNU tar is buggy and does not always like to read continuation volumes from multi volume archives. This is extremely nasty as you will realize the problem once it is too late. GNU tar also does not support to archive all meta data from Linux. I recommend to use star. Star implementes reliable multi volume support and archives all meta data that is available on Linux. Only a reliable multi volume support inside the archiver allows you to read back archives starting past volume#1. Note that star also implements a nice true incremental backup feature that does not need additional data while creating backups. There is a database for old and new inode numbers in incremental restore mode. Check the star man page for examples on backups and incremental backups. Use tsize=4200k -multivol to tell star to write archives with multi volume information that split files across volumes. Use mkisofs to create a ISO filesystem (hve a look at the -stream-media-size option. Use cdrecord to write the ISO file to DVD. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] nvidia-drivers-180.51 on amd64
On Wednesday 22 April 2009 08:49:19 Xavier Parizet wrote: > In fact you're right, it seems that my webmail (Roundcube) add the > skins/default part i saw earlier in your first post... Looking at the > mail source and there is no skins/default part. > Apologize :) Thanks. You had me worried for a while! It's an odd problem that caused it though. > Do you run make prepare in the kernel source tree with your kernel > configured ? No, when going up a revision level I just copy in the previous .config and make oldconfig to check that no new variables have been introduced; then I make && make modules_install. -- Rgds Peter
Re: [gentoo-user] What use flags/build settings should I use to get audio CDs to play in totem?
Paul Hartman wrote: > On Tue, Apr 21, 2009 at 11:30 PM, Paul Hartman > wrote: > > On Tue, Apr 21, 2009 at 2:09 PM, Mark David Dumlao > > wrote: > >> media-plugins/gst-plugins-cdio > > > > I think that one should do it. > > > > Also, according to > http://gstreamer.freedesktop.org/documentation/plugins.html there is a > cd-audio plugin which is part of gst-plugins-bad which might be an > even better choice :) Be careful, using libcdio fro, Gstreamer is a license violation (LGPL code calling GPL code) and libcdio itself is in Copyright violation as the maintainer did change the license from GPLv2-only to something else without permission from the Authors. I am not sure about what you are talking about, but there is a much better solution based on cdda2wav. I wrote this solution together with Brian Cameron from Sun. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] nvidia-drivers-180.51 on amd64
On Wed, 22 Apr 2009 00:34:34 +0100, Peter Humphrey wrote: > On Tuesday 21 April 2009 16:23:34 Xavier Parizet wrote: >> On Tue, 21 Apr 2009 16:07:02 +0100, Peter Humphrey >> >> wrote: >> > On Tuesday 21 April 2009 10:56:25 Xavier Parizet wrote: >> >> I think the problem is from the SYSSRC make paremeter which is set to >> >> skins/default/usr/src/linux, which seems to be invalid. >> > >> > Where did you get the "skins" part of that? It isn't in what I posted. >> >> Please take a deeper look at your first post... It is in your SYSSRC make >> parameter. > > I've read the post backwards and forwards, and I've had kmail search > case-insensitively for "skin", and it isn't there. It wasn't there when I > sent it, anyway, and grep says it isn't in the files I've attached this > time either. > >> Can you please post emerge --info and the full output from emerge >> nvidia-drivers ? > > Attached. Also: > > $ uname -r > 2.6.29-gentoo-r1 > > $ ls -l /usr/src/linux > lrwxrwxrwx 1 root root 22 2009-04-05 09:15 /usr/src/linux -> > linux-2.6.29-gentoo-r1 > > Thanks for your time. Can you repost emerge output using MAKEOPTS="-j1" to see what make command is launched. Try also to run make prepare in your kernel source tree before. -- Xavier Parizet YaGB : http://gentooist.com GPG :DC81 6FEE 6EBE FCE4 1C18 202F E575 4A5D 036D 1408
Re: [gentoo-user] Wrong keyboard map in Fluxbox
Hi all, I found the silly reason: slim set NumLock to be active and that does not turn out to be a good thing on a notebook. Thanks for the tip anyway! -- Best regards, Marco
Re: [gentoo-user] What use flags/build settings should I use to get audio CDs to play in totem?
On Wed, Apr 22, 2009 at 4:22 PM, Mark David Dumlao wrote: > I'm going to go with this one. I'm writing/testing a gst-plugins-bad > ebuild right now :) Taking this one back. Playing around using gst-launch-0.10 with various cd reading sources (cdiocddasrc, cdparanoiasrc, cdaudio) tells me (1) i probably dont need cdio, and (2) cdaudio doesn't "feel" like it's doing the right thing (hardcoded /dev/cdrom name). Also, what appears to be the case (and probably what confused me) is that cdparanoia and friends CAN read audio CDs. It just seems to fess up when it's reading mixed data/audio CDs and outputs me garbage. Now I don't yet know if this is because it can't read mixed data/audio tracks or because the Might and Magic CDs are in a not-exactlly-compliant format that just happens to read fine on windows. I'll pop in a few playstation CDs and see how that works out. At any rate, though, it seems to doubly stump me that totem isn't registering the gstreamer cdda source even though rhythmbox is reading it just fine. I'll double check the totem ebuild and check if there's a configure option that's not in the use flags. Sane?
Re: [gentoo-user] What use flags/build settings should I use to get audio CDs to play in totem?
On Wed, Apr 22, 2009 at 6:41 PM, Mark David Dumlao wrote: > Also, what appears to be the case (and probably what confused me) is > that cdparanoia and friends CAN read audio CDs. It just seems to fess > up when it's reading mixed data/audio CDs and outputs me garbage. Oh, and not to derail my own topic, but it's been a while since I've listened to Ozzy :D
[gentoo-user] xorg upgrade: cannot play video files after suspend to ram
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, after upgrading xorg I experience the following problem: Video will play fine with any player (vlc, mplayer) before hibernate-ram. computer wakes up ok from hibernate-ram, however when I try playing video now, my screen turns black(sometimes I get some vertical lines across the screen). I cannot kill x, get a console or log in remotely, so the only thing I can do is to use the magic key combination to reboot the computer. I cannot find any useful information in any of the log files that could help pinpoint what the cause of the problem is. I already recompiled libXv and libXvMC, but that did not change anything either. I am running xorg without config file only a minimal fdi file. Can anyone help me? - -- Peter Wood -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFJ7vdb8xdFXfnLILQRAulJAKDO9IGyde3Dt++YLBdz/fxrC5AX/ACgsN8I hSD1CvAiEZiZvLpzfp4Fa/I= =5/AZ -END PGP SIGNATURE-
[gentoo-user] kdm 4.2.2 not configurable?
Howdy, Well I just went back to using two monitors in twinview mode after a few months of single monitor suffering. But now when KDM start I get half a screen of garbage on the left half of the left monitor and on the right half of the right monitor. OK, should just need to set the background image. So head over to Computer, System Settings, Advanced, Login Manager but got a problem, everything there is disabled. Docs imply there should be an Admin button but it's not there (Have: Help, Defaults, Reset(disabled), & Apply(disabled)). Thinking, oh well, off to /usr/kde/4.2/share/config/kdm, edit kdmrc and set GreeterScreen to -1 (the only multi display setting I saw) to see what happens. Ran genkdmconf. Restarted xdm. No change. Any ideas? TIA, Roy
[gentoo-user] Kernel 2.6.27 and iwl3945-ucode
Hi all, I am trying to get my wireless adapter (Intel 3945ABG) running. following the instructions on http://en.gentoo-wiki.com/wiki/Iwlwifi I compiled the kernel accordingly. Now the howto states: For kernel 2.6.27 and later, use the second slot(version 228.57.2.21) which needs to be unmasked in package.keywords. Since I am rather new to gentoo, I am not really sure what to do. I added =net-wireless/iwl3945-ucode-228.57.2.21 ~amd64 to /etc/portage/package.keywords to use the version mentioned. Testing what would be installed: emerge net-wireless/iwl3945-ucode --pretend --verbose These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] net-wireless/iwl3945-ucode-15.28.1.6 66 kB Total: 1 package (1 new), Size of downloads: 66 kB So version 15.28.1.6 would be used... What am I missing? Thanks for your help! -- Best regards, Marco
Re: [gentoo-user] Kernel 2.6.27 and iwl3945-ucode
Marco schrieb: > Hi all, > > I am trying to get my wireless adapter (Intel 3945ABG) running. > following the instructions on http://en.gentoo-wiki.com/wiki/Iwlwifi I > compiled the kernel accordingly. Now the howto states: > > For kernel 2.6.27 and later, use the second slot(version 228.57.2.21) > which needs to be unmasked in package.keywords. > You somehow mixed iwl4965 and iwl3945. Version 228.57.2.21 belongs to iwl4965. If you really want iwl3945, you don't need to unmask/keyword anything. I'm on 2.6.28 with version 15.28.1.6. For iwl4965, I don't see any versions which are not marked stable (I'm on AMD64). signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Kernel 2.6.27 and iwl3945-ucode
On Wed, Apr 22, 2009 at 12:28 PM, Florian Philipp wrote: > Marco schrieb: [...] > You somehow mixed iwl4965 and iwl3945. Version 228.57.2.21 belongs to > iwl4965. > > If you really want iwl3945, you don't need to unmask/keyword anything. > I'm on 2.6.28 with version 15.28.1.6. > > For iwl4965, I don't see any versions which are not marked stable (I'm > on AMD64). I see. It was not really clear to me if it is only related to 4965 or if it also is true for the 3945. Thanks for pointing out! One more question: I followed the howto for Intel 3945 and also the handbook ( http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 ). I am using wpa_supplicant. But I think I am missing now a configuration for /etc/init.d/net. What information do I have to provide there?
Re: [gentoo-user] Kernel 2.6.27 and iwl3945-ucode
Marco schrieb: > On Wed, Apr 22, 2009 at 12:28 PM, Florian Philipp > wrote: >> Marco schrieb: > [...] >> You somehow mixed iwl4965 and iwl3945. Version 228.57.2.21 belongs to >> iwl4965. >> >> If you really want iwl3945, you don't need to unmask/keyword anything. >> I'm on 2.6.28 with version 15.28.1.6. >> >> For iwl4965, I don't see any versions which are not marked stable (I'm >> on AMD64). > > I see. It was not really clear to me if it is only related to 4965 or > if it also is true for the 3945. Thanks for pointing out! > > One more question: I followed the howto for Intel 3945 and also the > handbook ( > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 > ). I am using wpa_supplicant. But I think I am missing now a > configuration for /etc/init.d/net. What information do I have to > provide there? > modules_wlan0=( "wpa_supplicant" ) where wlan0 is your wlan interface. If you want different settings for different nets, you can do things like this: config_ESSID1=( "192.168.2.2 netmask 255.255.255.0" ) routes_ESSID1=( "default via 192.168.2.1" ) dns_servers_ESSID1=( "192.168.4.1" ) config_ESSID2=( "dhcp" ) Otherwise, dhcp is assumed. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Kernel 2.6.27 and iwl3945-ucode
2009/4/22 Florian Philipp > Marco schrieb: > > On Wed, Apr 22, 2009 at 12:28 PM, Florian Philipp > > wrote: > >> Marco schrieb: > > [...] > >> You somehow mixed iwl4965 and iwl3945. Version 228.57.2.21 belongs to > >> iwl4965. > >> > >> If you really want iwl3945, you don't need to unmask/keyword anything. > >> I'm on 2.6.28 with version 15.28.1.6. > >> > >> For iwl4965, I don't see any versions which are not marked stable (I'm > >> on AMD64). > > > > I see. It was not really clear to me if it is only related to 4965 or > > if it also is true for the 3945. Thanks for pointing out! > > > > One more question: I followed the howto for Intel 3945 and also the > > handbook ( > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 > > ). I am using wpa_supplicant. But I think I am missing now a > > configuration for /etc/init.d/net. What information do I have to > > provide there? > > > > modules_wlan0=( "wpa_supplicant" ) > where wlan0 is your wlan interface. > > If you want different settings for different nets, you can do things > like this: > > config_ESSID1=( "192.168.2.2 netmask 255.255.255.0" ) > routes_ESSID1=( "default via 192.168.2.1" ) > dns_servers_ESSID1=( "192.168.4.1" ) > config_ESSID2=( "dhcp" ) > > Otherwise, dhcp is assumed. > > You can try Wicd which is a great network manager, until you are more familiar with gentoo/wifi configuration. I have the same chip, with wpa2, wicd handless this without problems.
Re: [gentoo-user] Backup and Restore
On Wed, Apr 22, 2009 at 09:24:00AM +0200, Penguin Lover Thomas Chef squawked: > Now that my gentoo system is up and running the applications that I want to > use, how do I make a reliable backup ? > Personally I use app-backup/rdiff-backup and dump not to DVD, but to an external harddrive stored in a different room on a different floor. (Yes, the building may collapse, but then I'd have bigger things to worry about than my family photos.) rdiff-backup does incrementals. So it also allows me to keep several restore points. I generally remove all restore points older than 6 months. But it is up to you. I just run a bash-script every month or so that * copies /var/lib/portage/world to /root * copies /usr/src/linux/.config to /root * back up /etc, /root, /usr/local * back up /home With those files I can rebuild my system fairly simply. (I wouldn't say quickly as... you know how long some things takes to build.) W -- "Let me just make k -1." Mathematica responds : "False" ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 866 days, 12:41
Re: [gentoo-user] FW: jre memory heap size issue
Adam Carter wrote: Sorry - here it is in plain text for the luddites, j/k :-) I have set -Xmx256m using the Java control panel GUI, and; sphinx jre # pgrep -lf java 8949 /opt/sun-jdk-1.6.0.13/jre/bin/java -Xmx256m -Xbootclasspath/a:/opt/sun-jdk-1.6.0.13/jre/lib/javaws.jar:/opt/sun-jdk-1.6.0.13/jre/lib/deploy.jar:/opt/sun-jdk-1.6.0.13/jre/lib/plugin.jar -classpath /opt/sun-jdk-1.6.0.13/jre/lib/deploy.jar -Djnlpx.vmargs=-Xmx256m -Djnlpx.jvm=/opt/sun-jdk-1.6.0.13/jre/bin/java -Djnlpx.splashport=42982 -Djnlpx.home=/opt/sun-jdk-1.6.0.13/jre/bin -Djnlpx.remove=false -Djnlpx.offline=false -Djnlpx.relaunch=true -Djnlpx.heapsize=67108864,268435456 -Djava.security.policy=file:/opt/sun-jdk-1.6.0.13/jre/lib/security/javaws.policy -DtrustProxy=true -Xverify:remote com.sun.javaws.Main file:///tmp/idm.jnlp sphinx jre # And i have restarted firefox, but when i try to run the app it still complains about the memory size. the -Xmx256m tweak recommended by the app vendor works in windows, and IIRC it also worked on my old x86 machine. The current machine is a newly built amd64. Any ideas on what's wrong? You may have better luck getting informed responses from the Gentoo-Java list. Aaron
Re: [gentoo-user] kdm 4.2.2 not configurable?
On Wed, Apr 22, 2009 at 6:22 AM, Roy Wright wrote: > Howdy, > > Well I just went back to using two monitors in twinview mode after a few > months of single monitor suffering. But now when KDM start I get half a > screen of garbage on the left half of the left monitor and on the right > half of the right monitor. OK, should just need to set the background > image. So head over to Computer, System Settings, Advanced, Login > Manager but got a problem, everything there is disabled. Docs imply > there should be an Admin button but it's not there (Have: Help, > Defaults, Reset(disabled), & Apply(disabled)). > > Thinking, oh well, off to /usr/kde/4.2/share/config/kdm, edit kdmrc and > set GreeterScreen to -1 (the only multi display setting I saw) to see > what happens. Ran genkdmconf. Restarted xdm. No change. > > Any ideas? KDM does the same for me on a wide-screen monitor. In fact it could be a security risk because after logging out of KDE, random pieces of screen from the last session sometimes show up on the garbage parts on the sides, including potentially sensitive information. It does not appear to support any kind of screen size detection. What you need to do is find (or make) a theme that is the same size/aspect ratio as your display setup and then it'll be okay. It's trying to use a 4:3 theme on a 8:3 or 16:9 or whatever and apparently the KDM people haven't gotten around to dealing with that yet.
[gentoo-user] [OT] Colors/styles in vim
I am new to vim and am encountering an annoying issue: certain things that I type in get highlighted red, for no apparent reason. For example, if I create a file test.txt and insert the following text: "prog" the prog is given a red background. Even if I use ':syntax off', it is still red. What is causing this to happen? This makes it very hard to edit code since strings are colored red, causing a red-on-red issue where you can't read the text at all. Thanks, Chris
Re: [gentoo-user] [OT] Colors/styles in vim
Chris Lieb wrote: > I am new to vim and am encountering an annoying issue: certain things > that I type in get highlighted red, for no apparent reason. For > example, if I create a file test.txt and insert the following text: > > "prog" > > the prog is given a red background. Even if I use ':syntax off', it is > still red. > > What is causing this to happen? This makes it very hard to edit code > since strings are colored red, causing a red-on-red issue where you > can't read the text at all. > > Thanks, > Chris > > You don't happen to have searched for "prog" last do you? try hitting "/z" (assuming you don't have in the file...) in command mode and see if the highlight goes away.
Re: [gentoo-user] [OT] Colors/styles in vim
2009/4/22 Anthony Metcalf : > Chris Lieb wrote: >> I am new to vim and am encountering an annoying issue: certain things >> that I type in get highlighted red, for no apparent reason. For >> example, if I create a file test.txt and insert the following text: >> >> "prog" >> >> the prog is given a red background. Even if I use ':syntax off', it is >> still red. >> >> What is causing this to happen? This makes it very hard to edit code >> since strings are colored red, causing a red-on-red issue where you >> can't read the text at all. > > You don't happen to have searched for "prog" last do you? try hitting > "/z" (assuming you don't have in the file...) in command mode > and see if the highlight goes away. Maybe the spell checker is enabled? :set nospell
[gentoo-user] can't print from firefox, but CUPS says OK
For some reason printing from firefox has stopped working. When I ^P or file-->print and select a printer (there are two), the "print" button is greyed out. With "print to file", the button is live and the pdf file is successfully created I can print via lpr. If, in firefox, I goto localhost:631 (the cups home page on this machine), I can print test pages to either machine. Is there a way I can ask firefox to tell me why the print button is greyed out? thanks, allan
Re: [gentoo-user] can't print from firefox, but CUPS says OK, also poppler
At Wed, 22 Apr 2009 12:18:58 -0400 Allan Gottlieb wrote: > For some reason printing from firefox has stopped working. > When I ^P or file-->print and select a printer (there are two), > the "print" button is greyed out. With "print to file", the button is > live and the pdf file is successfully created > > I can print via lpr. > > If, in firefox, I goto localhost:631 (the cups home page on this machine), > I can print test pages to either machine. > > Is there a way I can ask firefox to tell me why the print button is > greyed out? Some further information. Evince has the same situation, "print" is greyed out. I have the newest stable poppler/evince installed and recall that have upgraded poppler recently. Should I be downgrading. Below is the output of eix -I poppler -o evince thanks, allan allan gottlieb # eix -I poppler -o evince [I] app-text/evince Available versions: 2.22.2-r1!t 2.24.2!t {dbus debug djvu doc dvi gnome gnome-keyring nautilus t1lib tiff} Installed versions: 2.24.2!t(11:04:44 03/11/09)(dbus doc gnome-keyring tiff -debug -djvu -dvi -nautilus -t1lib) Homepage:http://www.gnome.org/projects/evince/ Description: Simple document viewer for GNOME [I] app-text/poppler Available versions: 0.8.7 0.10.4 ~0.10.5 0.10.5-r1 {cjk doc jpeg zlib} Installed versions: 0.10.5-r1(16:53:09 04/18/09)(doc) Homepage:http://poppler.freedesktop.org/ Description: PDF rendering library based on the xpdf-3.0 code base [I] app-text/poppler-bindings Available versions: 0.8.7 0.10.4 ~0.10.5 0.10.5-r1 {cairo gtk qt3 qt4 test} Installed versions: 0.10.5-r1(16:53:53 04/18/09)(cairo gtk -qt3 -qt4 -test) Homepage:http://poppler.freedesktop.org/ Description: rendering bindings for GUI toolkits for poppler [I] app-text/poppler-data Available versions: 0.2.1 Installed versions: 0.2.1(18:35:31 02/26/09) Homepage:http://poppler.freedesktop.org/ Description: Data files for poppler to support uncommon encodings without xpdfrc [I] virtual/poppler Available versions: 0.8.7+v 0.10.4+v 0.10.5+v ~0.10.6+v Installed versions: 0.10.5+v(16:54:03 04/18/09) Homepage:http://poppler.freedesktop.org/ Description: Virtual package, includes packages that contain libpoppler-glib.so [I] virtual/poppler-glib Available versions: 0.8.7+v 0.10.4+v 0.10.5+v ~0.10.6+v {cairo} Installed versions: 0.10.5+v(16:54:08 04/18/09)(cairo) Homepage:http://poppler.freedesktop.org/ Description: Virtual package, includes packages that contain libpoppler-glib.so [I] virtual/poppler-utils Available versions: 0.8.7+v 0.10.4+v 0.10.5+v ~0.10.6+v {abiword} Installed versions: 0.10.5+v(16:53:58 04/18/09)(abiword) Homepage:http://poppler.freedesktop.org/ Description: Virtual package, includes packages that contain the psto* utilities Found 7 matches.
[gentoo-user] telephony
hi there, i'm looking for suggestions and guidance. I have a vps host with gentoo on it, i dont think the vps is stable enough to ensure a good quality of service, but it could just need an upgrade, no big deal. I need a phone and the way i decided to go was to get a connection to the internet and use voip or similar services. I've looked into several ideas, but the last one that remains a good 'deal' is to set it all up myself, for free (but lots of work)! I'm thinking on setting up asterisk, but having read about it in the past, i know as soon as i set it up it will take more of my time than my girlfriend ever dreamed of! It seems extremely difficult to setup, specially for a newbie, I'm wondering if you guys know of a few good guides (that you have experience with, i can google too) for this and if you had any suggestion, pointers, starters mostly... I've read those, but I'm sure there are a lot of surprises not covered by these... http://www.voip-info.org/wiki-Asterisk+Linux+Gentoo http://www.gentoo-wiki.info/Asterisk Thanks for any help! -- When Earth was the only inhabited planet in the Galaxy, it was a primitive place, militarily speaking. The only weapon they had ever invented worth mentioning was a crude and inefficient nuclear-reaction bomb for which they had not even developed the logical defense. - Asimov
[gentoo-user] Re: [OT] Colors/styles in vim
On 4/22/2009 10:36 AM, Anthony Metcalf wrote: > Chris Lieb wrote: >> I am new to vim and am encountering an annoying issue: certain things >> that I type in get highlighted red, for no apparent reason. For >> example, if I create a file test.txt and insert the following text: >> >> "prog" >> >> the prog is given a red background. Even if I use ':syntax off', it is >> still red. >> >> What is causing this to happen? This makes it very hard to edit code >> since strings are colored red, causing a red-on-red issue where you >> can't read the text at all. >> >> Thanks, >> Chris >> >> > You don't happen to have searched for "prog" last do you? try hitting > "/z" (assuming you don't have in the file...) in command mode > and see if the highlight goes away. > Nope. It happens with other bits of text in strings also, not just prog. Even how, I think search highlights with gold/yellow, not red.
[gentoo-user] Re: [OT] Colors/styles in vim
On 4/22/2009 11:09 AM, Mark wrote: > 2009/4/22 Anthony Metcalf : >> Chris Lieb wrote: >>> I am new to vim and am encountering an annoying issue: certain things >>> that I type in get highlighted red, for no apparent reason. For >>> example, if I create a file test.txt and insert the following text: >>> >>> "prog" >>> >>> the prog is given a red background. Even if I use ':syntax off', it is >>> still red. >>> >>> What is causing this to happen? This makes it very hard to edit code >>> since strings are colored red, causing a red-on-red issue where you >>> can't read the text at all. >> You don't happen to have searched for "prog" last do you? try hitting >> "/z" (assuming you don't have in the file...) in command mode >> and see if the highlight goes away. > > Maybe the spell checker is enabled? > :set nospell > That was it. Thanks all.
Re: [gentoo-user] Backup and Restore
On Mittwoch 22 April 2009, Joerg Schilling wrote: > Thomas Chef wrote: > > Now that my gentoo system is up and running the applications that I want > > to use, how do I make a reliable backup ? > > > > Can I follow the guide on: > > http://en.gentoo-wiki.com/wiki/Backup_to_DVD > > > > Is that a proven/working method ? > > Be very careful as GNU tar is buggy and does not always like to read > continuation volumes from multi volume archives. This is extremely nasty as > you will realize the problem once it is too late. oh really? it works very well with my tapelib. And yes, restore works. > > GNU tar also does not support to archive all meta data from Linux. which is only relevant if you use acls, isn't it? > > I recommend to use star. Star implementes reliable multi volume support and > archives all meta data that is available on Linux. Only a reliable multi > volume support inside the archiver allows you to read back archives > starting past volume#1. can star decompress files?
[gentoo-user] NVidia, KDE4, and Desktop Effects
Hello All- I'm having a devil of a time getting this combination to work. Several different computer systems, with KDE's from 4.2.0-4.2.2, with several different NVidia cards. Using the latest NVidia drivers (180.51), everything appears to be set up correctly in my xorg.conf, no errors or warnings from the nvidia drivers in the Xorg.0.log, glxgears and glxinfo work properly and output the expected information, but when I try to enable Desktop Effects, all I get is the dreaded "Failed to activate desktop effects using the given configuration options..." dialog. I've tried all the different combos of settings under the Advanced tab, but no love. Attached are my xorg.conf, my Xorg.0.log, and my glxinfo output. Anyone have any clues Thanks! -James Xorg.0.log Description: Binary data glxinfo.log Description: Binary data xorg.conf Description: Binary data
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
On Wed, Apr 22, 2009 at 2:12 PM, James Ausmus wrote: > Hello All- > > I'm having a devil of a time getting this combination to work. Several > different computer systems, with KDE's from 4.2.0-4.2.2, with several > different NVidia cards. Using the latest NVidia drivers (180.51), > everything appears to be set up correctly in my xorg.conf, no errors > or warnings from the nvidia drivers in the Xorg.0.log, glxgears and > glxinfo work properly and output the expected information, but when I > try to enable Desktop Effects, all I get is the dreaded "Failed to > activate desktop effects using the given configuration options..." > dialog. I've tried all the different combos of settings under the > Advanced tab, but no love. > > Attached are my xorg.conf, my Xorg.0.log, and my glxinfo output. > > Anyone have any clues Try to comment out all "Option" lines from the "Device" section of your xorg.conf. In mine I only have two lines, Identifier and Driver. This fixed KDE4 desktop effects for me.
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
On Mittwoch 22 April 2009, James Ausmus wrote: > Hello All- > > I'm having a devil of a time getting this combination to work. Several > different computer systems, with KDE's from 4.2.0-4.2.2, with several > different NVidia cards. Using the latest NVidia drivers (180.51), > everything appears to be set up correctly in my xorg.conf, no errors > or warnings from the nvidia drivers in the Xorg.0.log, glxgears and > glxinfo work properly and output the expected information, but when I > try to enable Desktop Effects, all I get is the dreaded "Failed to > activate desktop effects using the given configuration options..." > dialog. I've tried all the different combos of settings under the > Advanced tab, but no love. > > Attached are my xorg.conf, my Xorg.0.log, and my glxinfo output. > > Anyone have any clues > > > Thanks! > > -James shorten your conf to this and retry: Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" 0 0 InputDevice"Mouse1" "CorePointer" InputDevice"Keyboard1" "CoreKeyboard" EndSection Section "Files" EndSection Section "Module" Load "dbe"# Double buffer extension Load "extmod" Load"glx" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "250 30" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto"# Auto detect Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "HP_L2045w" Option "DPMS" "true" EndSection Section "Device" Identifier "nv8400" Driver "nvidia" EndSection Section "Screen" Identifier "Screen 1" Device "nv8400" Monitor"HP_L2045w" DefaultDepth24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
>> Anyone have any clues > > Try to comment out all "Option" lines from the "Device" section of > your xorg.conf. In mine I only have two lines, Identifier and Driver. > This fixed KDE4 desktop effects for me. No luck - exact same behavior as before... :(
Re: [gentoo-user] Backup and Restore
Volker Armin Hemmann wrote: > On Mittwoch 22 April 2009, Joerg Schilling wrote: > > Thomas Chef wrote: > > > Now that my gentoo system is up and running the applications that I want > > > to use, how do I make a reliable backup ? > > > > > > Can I follow the guide on: > > > http://en.gentoo-wiki.com/wiki/Backup_to_DVD > > > > > > Is that a proven/working method ? > > > > Be very careful as GNU tar is buggy and does not always like to read > > continuation volumes from multi volume archives. This is extremely nasty as > > you will realize the problem once it is too late. > > oh really? it works very well with my tapelib. And yes, restore works. There is a 1-5% chance that GNU tar does fail this way, did you try to restore enough GNU tar multi-volume archives? Did you restore more than 100 multi-volume archives? GNU tar uses a method for multi-volume archives that cannot support all possible cases. Star uses a mwthod that is granted to always work reliably. > > GNU tar also does not support to archive all meta data from Linux. > > which is only relevant if you use acls, isn't it? ACLs, xattrs and others. > > I recommend to use star. Star implementes reliable multi volume support and > > archives all meta data that is available on Linux. Only a reliable multi > > volume support inside the archiver allows you to read back archives > > starting past volume#1. > > can star decompress files? Are you kidding? Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
On Wed, Apr 22, 2009 at 2:12 PM, James Ausmus wrote: > Hello All- > > I'm having a devil of a time getting this combination to work. Several > different computer systems, with KDE's from 4.2.0-4.2.2, with several > different NVidia cards. Using the latest NVidia drivers (180.51), > everything appears to be set up correctly in my xorg.conf, no errors > or warnings from the nvidia drivers in the Xorg.0.log, glxgears and > glxinfo work properly and output the expected information, but when I > try to enable Desktop Effects, all I get is the dreaded "Failed to > activate desktop effects using the given configuration options..." > dialog. I've tried all the different combos of settings under the > Advanced tab, but no love. > > Attached are my xorg.conf, my Xorg.0.log, and my glxinfo output. > > Anyone have any clues Be sure you're using the "xcomposite" USE flag, and perhaps you need "opengl" as well.
Re: [gentoo-user] Backup and Restore
On Mittwoch 22 April 2009, Joerg Schilling wrote: > Volker Armin Hemmann wrote: > > On Mittwoch 22 April 2009, Joerg Schilling wrote: > > > Thomas Chef wrote: > > > > Now that my gentoo system is up and running the applications that I > > > > want to use, how do I make a reliable backup ? > > > > > > > > Can I follow the guide on: > > > > http://en.gentoo-wiki.com/wiki/Backup_to_DVD > > > > > > > > Is that a proven/working method ? > > > > > > Be very careful as GNU tar is buggy and does not always like to read > > > continuation volumes from multi volume archives. This is extremely > > > nasty as you will realize the problem once it is too late. > > > > oh really? it works very well with my tapelib. And yes, restore works. > > There is a 1-5% chance that GNU tar does fail this way, did you try to > restore enough GNU tar multi-volume archives? Did you restore more than 100 > multi-volume archives? No, just a couple of douzend so far. My lib takes 8 cardridges. So far no problems. I did maybe four or five complete restores so far. Before that I had a single dlt drive and played disc jokey - no problems there too. So I am well below the 100 multi-volume archives, but well above the 30 mark. > > GNU tar uses a method for multi-volume archives that cannot support all > possible cases. Star uses a mwthod that is granted to always work reliably. > > > > GNU tar also does not support to archive all meta data from Linux. > > > > which is only relevant if you use acls, isn't it? > > ACLs, xattrs and others. > okay. Then tar is still good enough for me. See, it is a good thing that you wrote star (and cdrecord and other things). Your code is much appreciated - but I am very reluctant to use a piece of software when another one I am currently using is 'good enough' for me. Since I don't use acls or xattrs the lack of support in gnu tar does not hurt me. I also had a hard time to figure out the optimal command line to use my tapelib - I don't want to do that again with star if I don't have to. > > > I recommend to use star. Star implementes reliable multi volume support > > > and archives all meta data that is available on Linux. Only a reliable > > > multi volume support inside the archiver allows you to read back > > > archives starting past volume#1. > > > > can star decompress files? > > Are you kidding? nope. http://bulk.fefe.de/lk2006/ For some reason, my tar hung on Solaris. I have no idea why. truss showed that it wasn't in a syscall at that time. So I used star instead. Turns out that star can't do "star xzf -", it will say "Can only compress files." ROTFL! OK, so I used "|gzip -dc|star xf -" instead. What the hell.
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
> shorten your conf to this and retry: Thanks, but same result with the new xorg.conf...
[gentoo-user] telephony
Take a look at a book called "The Future of Telephony" -- its free, but I am not sure where to get it. on Wednesday 04/22/2009 Simon(turne...@gmail.com) wrote > hi there, > i'm looking for suggestions and guidance. I have a vps host with > gentoo on it, i dont think the vps is stable enough to ensure a good > quality of service, but it could just need an upgrade, no big deal. I > need a phone and the way i decided to go was to get a connection to > the internet and use voip or similar services. > > I've looked into several ideas, but the last one that remains a good > 'deal' is to set it all up myself, for free (but lots of work)! > > I'm thinking on setting up asterisk, but having read about it in the > past, i know as soon as i set it up it will take more of my time than > my girlfriend ever dreamed of! It seems extremely difficult to setup, > specially for a newbie, I'm wondering if you guys know of a few good > guides (that you have experience with, i can google too) for this and > if you had any suggestion, pointers, starters mostly... > > I've read those, but I'm sure there are a lot of surprises not covered > by these... > http://www.voip-info.org/wiki-Asterisk+Linux+Gentoo > http://www.gentoo-wiki.info/Asterisk > > Thanks for any help! > > -- > When Earth was the only inhabited planet in the Galaxy, it was a > primitive place, militarily speaking. The only weapon they had ever > invented worth mentioning was a crude and inefficient nuclear-reaction > bomb for which they had not even developed the logical defense. - > Asimov -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
> Be sure you're using the "xcomposite" USE flag, and perhaps you need > "opengl" as well. Output of "emerge -pv kwin": [ebuild R ] kde-base/kwin-4.2.2 USE="captury opengl xcomposite xinerama -debug -kdeprefix" 0 kB So, all already enabled... :( Any other thoughts? Thanks! -James
Re: [gentoo-user] telephony
On Wed, 22 Apr 2009 12:30:52 -0400 Simon wrote: > hi there, > i'm looking for suggestions and guidance. [] I tend to tell folks up front to never listen to me or believe anything I say, so here's my... $.02. > I've looked into several ideas, but the last one that remains a good > 'deal' is to set it all up myself, for free (but lots of work)! > > I'm thinking on setting up asterisk, [] Don't. Your GF will hate you for wasting your time. > I've read those, but I'm sure there are a lot of surprises not covered > by these... > http://www.voip-info.org/wiki-Asterisk+Linux+Gentoo > http://www.gentoo-wiki.info/Asterisk > > Thanks for any help! > Asterisk is unlike most other open source projects I've seen. Free help doesn't exist, really -- there's just too much money to be made replacing proprietary telco hardware for folks to enjoy educing that aha! moment. All would tell you, at your hourly rate, choosing to roll your own asterisk install on Gentoo is probably the most expensive option available to you. Anyway, it can be done. #gentoo-voip are helpful folks, but unless you have a real reason to know asterisk, really, don't bother... it's huge PITA for just getting a phone. Even if you do decide to kill that gnat with a sledgehammer, you're better off with Trixbox, astlinux or something you can pretty much expect some help with. (So I hear.) If all you want is to use a SIP trunk, my local telco monopoly, for example, will rent me a box to plug a phone into for a fixed monthly fee and unlimited calling. Or, you can probably get any Dahdi compat fxs card and plug a phone into your gentoo box. Or just get a SIP phone... plug into your router. Basically, there are so many options, it's bewildering. From my (limited) experience with it, I'd say that Asterisk is really more of a place to create telco appliances from computers, not an application you run with other things as an afterthought, just because you can. But, then again, you already run Gentoo, so you are familiar with needless self-inflicted pain as a pastime. Asterisk may be just for you, too! ;-) Cheers, -- |\ /|| | ~ ~ | \/ ||---| `|` ? ||ichael | |iggins\^ / michael.higgins[at]evolone[dot]org
Re: [gentoo-user] Backup and Restore
Volker Armin Hemmann wrote: > > There is a 1-5% chance that GNU tar does fail this way, did you try to > > restore enough GNU tar multi-volume archives? Did you restore more than 100 > > multi-volume archives? > > No, just a couple of douzend so far. My lib takes 8 cardridges. So far no > problems. I did maybe four or five complete restores so far. Before that I > had > a single dlt drive and played disc jokey - no problems there too. So I am > well > below the 100 multi-volume archives, but well above the 30 mark. For me it happened with the second try A few years after I made a bug report, the GNU tar maintainers made the probability for this to happen a bit lower but they did not change the basic format that cannot support all cases. > > ACLs, xattrs and others. > > > > okay. Then tar is still good enough for me. Well, there is no "tar" on Linux. GNU tar is not tar and GNU tar still does not by default write tar compatible archives. Star is much closer to "tar" than GNU tar is... > See, it is a good thing that you wrote star (and cdrecord and other things). > Your code is much appreciated - but I am very reluctant to use a piece of > software when another one I am currently using is 'good enough' for me. > Since I don't use acls or xattrs the lack of support in gnu tar does not hurt > me. I also had a hard time to figure out the optimal command line to use my > tapelib - I don't want to do that again with star if I don't have to. If you trust GNU tar, this is your personal decision. I definitely don't trust GNU tar. Every time I was considering to implement a feature (seen first in GNU tar) for star, I thought about possible implementation problems and I _always_ found a GNU tar bus in less than 5 minutes. The fact that fixing GNU tar bugs I reported to the GNU tar maintainers did take between 2 and 15 years makes me asume that GNU tar is not well maintained. > > > can star decompress files? > > > > Are you kidding? > > nope. > http://bulk.fefe.de/lk2006/ > > For some reason, my tar hung on Solaris. I have no idea why. truss showed > that > it wasn't in a syscall at that time. So I used star instead. Turns out that > star can't do "star xzf -", it will say "Can only compress files." ROTFL! OK, > so I used "|gzip -dc|star xf -" instead. What the hell. Your mistake is to quote a well known troll. This troll in special did use a command line that would expect him to manually type _compressed_ _tar_ _archives_ on his tty... BTW: recent star versions would print "star: Archive cannot be a tty." for his useless command line. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
[gentoo-user] media-sound/phasex
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this package appears to be a porn site now. what do we do? kelly Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/phasex/phasex-0.11.1.ebuild,v 1.2 2007/10/17 07:53:48 mr_bones_ Exp $ DESCRIPTION="Software synthesizer (Phase Harmonic Advanced Synthesis EXperiment)" HOMEPAGE="http://sysex.net/phasex/"; SRC_URI="http://sysex.net/phasex/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="media-sound/jack-audio-connection-kit" src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS README TODO doc/ROADMAP } -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknviqMACgkQaI4xTzulgR8fPQCfQUxsHGK5hRLFbPSAfAh+NUNk a+AAnjOBj5wt47Ybx9D3Aqavx7CnzXRm =dYPy -END PGP SIGNATURE-
[gentoo-user] trouble installing kvm on gentoo-2.6.24.-r4
All, I am trying to install kvm (kernel virtual machine) on a box running gentoo-2.6.24.-r4. # uname -a Linux rbos-hybrid-02 2.6.24-gentoo-r4-nosctp-nomsi #3 SMP Fri Aug 1 12:12:33 PDT 2008 i686 AMD Athlon(tm) Dual Core Processor 4450e AuthenticAMD GNU/Linux When I first went to install it all of the KVM's were masked due to EAP so I upgraded portage to 2.1.6.7. Now when I try and install kvm it complains with the following: >>> Failed to emerge app-emulation/kvm-84, Log file: >>> '/var/tmp/portage/app-emulation/kvm-84/temp/build.log' * Messages for package app-emulation/kvm-84: * * ERROR: app-emulation/kvm-84 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3590: Called linux-mod_src_compile * environment, line 2687: Called die * The specific snippet of code: * eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= all * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/kvm-84/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/kvm-84/temp/environment'. I have the following in /etc/portage/package.use app-emulation/kvm kvm sdl qemu and in package.keywords I have app-emulation/kvm ~x86 Is this due to upgrading portage or something else and what is it that needs to be done to make this work. Please let me know if you require further information and I will post it. TIA, brian
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
On Wed, Apr 22, 2009 at 3:51 PM, James Ausmus wrote: > >> Be sure you're using the "xcomposite" USE flag, and perhaps you need >> "opengl" as well. > > Output of "emerge -pv kwin": > > [ebuild R ] kde-base/kwin-4.2.2 USE="captury opengl xcomposite > xinerama -debug -kdeprefix" 0 kB > > So, all already enabled... :( > > Any other thoughts? Hmmm I have the same USE flags with the exception of xinerama. The only other difference I can see in your xorg.conf is that you have this section and I do not: Section "ServerFlags" Option "AIGLX" "true" EndSection
Re: [gentoo-user] media-sound/phasex
On Wed, Apr 22, 2009 at 4:22 PM, Kelly Hirai wrote: > this package appears to be a porn site now. what do we do? Looks like the domain expired a few days ago... and according to cached copies, he used that domain for his e-mail address as well. I guess you hope someone else has a copy of the archive (I don't) and can host it, or the author comes back at a different address.
Re: [gentoo-user] NVidia, KDE4, and Desktop Effects
On Wed, Apr 22, 2009 at 2:31 PM, Paul Hartman wrote: > On Wed, Apr 22, 2009 at 3:51 PM, James Ausmus wrote: >> >>> Be sure you're using the "xcomposite" USE flag, and perhaps you need >>> "opengl" as well. >> >> Output of "emerge -pv kwin": >> >> [ebuild R ] kde-base/kwin-4.2.2 USE="captury opengl xcomposite >> xinerama -debug -kdeprefix" 0 kB >> >> So, all already enabled... :( >> >> Any other thoughts? > > Hmmm I have the same USE flags with the exception of xinerama. The > only other difference I can see in your xorg.conf is that you have > this section and I do not: > > Section "ServerFlags" > Option "AIGLX" "true" > EndSection > With the latest xorg.conf from Volker even this is gone. I'll try recompiling w/o xinerama USE flag, see what happens... Thanks! -James
Re: [gentoo-user] nvidia-drivers-180.51 on amd64
On Wednesday 22 April 2009 11:30:27 Xavier Parizet wrote: > Can you repost emerge output using MAKEOPTS="-j1" to see what make > command is launched. > Try also to run make prepare in your kernel source tree before. # cd /usr/src/linux # make prepare # MAKEOPTS="-j1" emerge nvidia-drivers This time it compiled just fine. Things are getting complicated now, so I propose to leave well alone. Thanks for the suggestions - I can't say which was effective, as I was tired and didn't think the steps through properly. -- Rgds Peter
Re: [gentoo-user] Backup and Restore
On Mittwoch 22 April 2009, Joerg Schilling wrote: > Volker Armin Hemmann wrote: > > > There is a 1-5% chance that GNU tar does fail this way, did you try to > > > restore enough GNU tar multi-volume archives? Did you restore more than > > > 100 multi-volume archives? > > > > No, just a couple of douzend so far. My lib takes 8 cardridges. So far no > > problems. I did maybe four or five complete restores so far. Before that > > I had a single dlt drive and played disc jokey - no problems there too. > > So I am well below the 100 multi-volume archives, but well above the 30 > > mark. > > For me it happened with the second try A few years after I made a bug > report, the GNU tar maintainers made the probability for this to happen a > bit lower but they did not change the basic format that cannot support all > cases. hm, well, that got me thinking. Because stable multi volume support is very important for me. More than being close to other tars. But - can I extract a multivolume tar archive created by star with gnu tar? The man page is not entirely clear and for restore I have to assume that star is not available. > > > > ACLs, xattrs and others. > > > > okay. Then tar is still good enough for me. > > Well, there is no "tar" on Linux. > > GNU tar is not tar and GNU tar still does not by default write tar > compatible archives. Star is much closer to "tar" than GNU tar is... well, IMHO this is a bit 'academic'. GNU tar does what I expect it to do - if there are differences, they don't seem to be relevant to me or most linux users. But I don't claim that I am the norm to measure against. You seem to have been running into trouble by this differences? > > > See, it is a good thing that you wrote star (and cdrecord and other > > things). Your code is much appreciated - but I am very reluctant to use a > > piece of software when another one I am currently using is 'good enough' > > for me. Since I don't use acls or xattrs the lack of support in gnu tar > > does not hurt me. I also had a hard time to figure out the optimal > > command line to use my tapelib - I don't want to do that again with star > > if I don't have to. > > If you trust GNU tar, this is your personal decision. I definitely don't > trust GNU tar. > > Every time I was considering to implement a feature (seen first in GNU tar) > for star, I thought about possible implementation problems and I _always_ > found a GNU tar bus in less than 5 minutes. The fact that fixing GNU tar > bugs I reported to the GNU tar maintainers did take between 2 and 15 years > makes me asume that GNU tar is not well maintained. as I wrote above, you got me thinking. If I can extract a multivolume archive created with star with gnutar I am sold and will try star. I have to have a closer look at the -fifo/fs= options. The man page makes it look promising. > > > > > can star decompress files? > > > > > > Are you kidding? > > > > nope. > > http://bulk.fefe.de/lk2006/ > > > > For some reason, my tar hung on Solaris. I have no idea why. truss showed > > that it wasn't in a syscall at that time. So I used star instead. Turns > > out that star can't do "star xzf -", it will say "Can only compress > > files." ROTFL! OK, so I used "|gzip -dc|star xf -" instead. What the > > hell. > > Your mistake is to quote a well known troll. > > This troll in special did use a command line that would expect him to > manually type _compressed_ _tar_ _archives_ on his tty... ah, okay that explains a lot. Glück Auf, Volker
Re: [gentoo-user] nvidia-drivers-180.51 on amd64
On Wednesday 22 April 2009 23:45:19 Peter Humphrey wrote: > On Wednesday 22 April 2009 11:30:27 Xavier Parizet wrote: > > Can you repost emerge output using MAKEOPTS="-j1" to see what make > > command is launched. > > Try also to run make prepare in your kernel source tree before. > > # cd /usr/src/linux > # make prepare > # MAKEOPTS="-j1" emerge nvidia-drivers > > This time it compiled just fine. I reckon the maintainer of the nvidia-driver ebuild would be *very* interested in this. "-j" is well known for causing weird faults. I recommend submitting a bug along with all build logs etc -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Backup and Restore
Volker Armin Hemmann wrote: > as I wrote above, you got me thinking. If I can extract a multivolume archive > created with star with gnutar I am sold and will try star. I have to have a > closer look at the -fifo/fs= options. The man page makes it look promising. Star implements aprox. twice as many features than GNU tar. Star is even able to extract most if not all of those multi volume GNU tar archives that GNU tar does not like (while not being able to verify whether the follow up archive is the right one). Star intentionally does not implement write support for GNU tar multi volume archives because the GNU tar format is not a good idea. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Backup and Restore
On Donnerstag 23 April 2009, Joerg Schilling wrote: > Volker Armin Hemmann wrote: > > as I wrote above, you got me thinking. If I can extract a multivolume > > archive created with star with gnutar I am sold and will try star. I have > > to have a closer look at the -fifo/fs= options. The man page makes it > > look promising. > > Star implements aprox. twice as many features than GNU tar. Star is even > able to extract most if not all of those multi volume GNU tar archives that > GNU tar does not like (while not being able to verify whether the follow up > archive is the right one). Star intentionally does not implement write > support for GNU tar multi volume archives because the GNU tar format is not > a good idea. > so gnutar can not extract star multivolumes but star can extract gnutar multivolumes? I just saw that systemrescuecd is costumizable - so this non-support by gnutar might not be a blocker afterall. Glück Auf, Volker
Re: [gentoo-user] evolution segfaults
On Tue, 2009-04-21 at 17:26 +0200, Xavier Parizet wrote: > On Tue, 21 Apr 2009 10:18:58 -0500, Michael Sullivan > wrote: > > On Tue, 2009-04-21 at 06:48 -0700, Mark Knecht wrote: > >> On Tue, Apr 21, 2009 at 6:29 AM, Michael Sullivan > >> wrote: > >> > >> > a...@catherine ~ $ evolution > >> > ** (evolution:19607): DEBUG: mailto URL command: evolution %s > >> > ** (evolution:19607): DEBUG: mailto URL program: evolution > >> > Segmentation fault > >> > > >> > Nothing shows up in ~/.xsession-errors. Not much shows up > >> > in /var/log/messages: > >> > > >> > catherine X11 # grep evolution /var/log/messages > >> > Apr 17 22:25:56 catherine [133453.338825] evolution[24366]: segfault > at > >> > 36303632 ip b6def622 sp bff36500 error 4 in > >> > libcamel-provider-1.2.so.14.0.0[b6dcf000+59000] > >> > >> > >> emerge -1pv libcamel-provider ??? > >> revdep-rebuild -p ??? > > > > A regular revdep-rebuild didn't come up with anything. I'll try the > > libcamel-provider though. > > Can you post ulimit -a and free output ? > It seems that you don't have enough memory which cause the kernel to kill > your evolution process (according to the first /var/log/messages you post) > > >> > >> > > >> > catherine X11 # emerge -pv evolution > >> > > >> > These are the packages that would be merged, in order: > >> > > >> > Calculating dependencies... done! > >> > [ebuild R ] mail-client/evolution-2.24.5 USE="crypt dbus hal nntp > >> > ssl -debug -kerberos -krb4 -ldap -mono -networkmanager -pda -profile" > 0 > >> > kB > >> > > >> > >> Why hal? > >> > >> Did you look in the gdm logs? (In /var/log/gdm) > >> > >> Note that I've had trouble on my wife's machine with segfaults since > >> the xorg-server upgrade. I just downgraded my compiler and rebuilt the > >> machine. Waste of time so far. Segfaults are still there. > >> > >> - Mark > >> > catherine X11 # ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 3583 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size(512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 3583 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited catherine X11 # free total used free sharedbuffers cached Mem:196656 184888 11768 0704 44132 -/+ buffers/cache: 140052 56604 Swap: 248968 77888 171080 If the computer doesn't have enough RAM NOW, why did evolution work just fine for the past four years?
[gentoo-user] Recomendation of wireless USB or PCI
Hello ! As I have no network cable where my gentoo computer will be placed, I need to use a wirelss network adapter. Do you have any recomendations of which product (USB plug) to buy which is simple to install ? In my local stores I can choose from: (only USB sticks) - GIGABYTE Link ACT - D-Link DWL-G122 - Sweex LW053 Or maybe a PCI card ? / Thomas
Re: [gentoo-user] telephony
On 22 Apr 2009, at 17:30, Simon wrote: ... I'm thinking on setting up asterisk, but having read about it in the past, i know as soon as i set it up it will take more of my time than my girlfriend ever dreamed of! It seems extremely difficult to setup, specially for a newbie. In addition to Simon's questions, can I ask if anyone has used Freeswitch? http://www.freeswitch.org/ I read about it a while ago, and found this article, which I think was on the site's main page at the time: http://www.freeswitch.org/node/117 From that, you might interpret that the lead developer either really knows his stuff and is really innovative, or you might wonder if he fell out with the Asterisk devs because he didn't get his own way. ;) I've actually got a really expensive (or it was when I bought it!) Cisco phone and an X100 POTS card sitting here, as I've been meaning to get round to implementing Asterisk for about 4 years now! Perhaps this thread will give me a little bit of a kick up the arse. At least it's given me enough motivation to do some homework - the cheap X100 card (to take calls from a regular phoneline & feed them into the PBX) does indeed seem to be supported by Freeswitch :) Stroller.
Re: [gentoo-user] nvidia-drivers-180.51 on amd64
On Thu, 23 Apr 2009 00:04:13 +0200, Alan McKinnon wrote: > On Wednesday 22 April 2009 23:45:19 Peter Humphrey wrote: >> On Wednesday 22 April 2009 11:30:27 Xavier Parizet wrote: >> > Can you repost emerge output using MAKEOPTS="-j1" to see what make >> > command is launched. >> > Try also to run make prepare in your kernel source tree before. >> >> # cd /usr/src/linux >> # make prepare >> # MAKEOPTS="-j1" emerge nvidia-drivers >> >> This time it compiled just fine. > > I reckon the maintainer of the nvidia-driver ebuild would be *very* > interested > in this. "-j" is well known for causing weird faults. > > I recommend submitting a bug along with all build logs etc I think the MAKEOPTS was not the problem, but only the make prepare... I remember to see before that "sometimes", the kernel source tree is no more up-to-date with the last kernel build, so when i see that problems, the first thing to do is to make mrproper && make oldconfig && make prepare to get a clean up-to-date kernel build tree. Cheers. -- Xavier Parizet YaGB : http://gentooist.com GPG :DC81 6FEE 6EBE FCE4 1C18 202F E575 4A5D 036D 1408
Re: [gentoo-user] trouble installing kvm on gentoo-2.6.24.-r4
On Wed, 22 Apr 2009 14:30:54 -0700, Brian Wince wrote: > All, > I am trying to install kvm (kernel virtual machine) on a box running > gentoo-2.6.24.-r4. > # uname -a > Linux rbos-hybrid-02 2.6.24-gentoo-r4-nosctp-nomsi #3 SMP Fri Aug 1 > 12:12:33 PDT 2008 i686 AMD Athlon(tm) Dual Core Processor 4450e > AuthenticAMD GNU/Linux > > When I first went to install it all of the KVM's were masked due to EAP so > I upgraded portage to 2.1.6.7. > > Now when I try and install kvm it complains with the following: > Failed to emerge app-emulation/kvm-84, Log file: > [SNIP] > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/app-emulation/kvm-84/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/app-emulation/kvm-84/temp/environment'. Can you please post /var/tmp/portage/app-emulation/kvm-84/temp/build.log after running emerge kvm as portage suggests you ?? Because the above posted output doesn't help us to solve your problem... > I have the following in /etc/portage/package.use app-emulation/kvm kvm sdl > qemu > > and in package.keywords I have > app-emulation/kvm ~x86 > > Is this due to upgrading portage or something else and what is it that > needs to be done to make this work. I don't think the portage upgrade is the problem, but it remind me another thread about nvidia-drivers build, and i'm directing towards a kernel configuration problem... The log i ask you earlier will help us to see if it is the case ;) > Please let me know if you require further information and I will post it. > > TIA, > > brian -- Xavier Parizet YaGB : http://gentooist.com GPG :DC81 6FEE 6EBE FCE4 1C18 202F E575 4A5D 036D 1408