Re: [gentoo-user] is it safe to unmask sys-auth/policykit
John covici schrieb: on Saturday 12/08/2007 Rumen Yotov([EMAIL PROTECTED]) wrote On (08/12/07 18:46) Daniel Pielmeier wrote: John covici schrieb: on Saturday 12/08/2007 Rumen Yotov([EMAIL PROTECTED]) wrote John covici ??: Sorry if this is a duplicate -- II never got it back, so I am sending it again. Hi. I was trying to do an emerge --update --deep --with-bdeps=y world and got the following error: !!! All ebuilds that could satisfy =sys-auth/policykit-0.6 have been masked. !!! One of the following masked packages is required to complete your request: - sys-auth/policykit-0.6 (masked by: package.mask, ~x86 keyword) /usr/portage/profiles/package.mask: # Saleem Abdulrasool [EMAIL PROTECTED] (23 Nov 2007) # Mask this until we get the input and mounting issues worked out In view of this comment, should I unmaks it anyway and if not, how can I get past this one? Any assistance would be appreciated. Hi, Just add -t(--tree) to your emerge command, it'll probably show which app requires policykit. Then mask the update (not policykit) till the issues are fixed. Or omit --deep which could eventually help here. Well it said that dependency required by sys-apps/hal-0.5.10 [ebuild]so how do I prevent the update of hal and still be able to let the rest of them go through? The -t gave nothing more. sys-apps/hal-0.5.10 is masked itself. Why have you unmasked it? Remove the unmask of hal-0.5.10 and go back to version 0.5.9.1-r3, The masked version needs policykit, so no way around this! -- [EMAIL PROTECTED] mailing list Hi, +1 - please check the contents of your: /etc/portage/package.unmask file IIRC. Remove (comment) any entries you don't know why they are there. Could also check the system profile: ls -ld /etc/make.profile OK, I remasked hal and got the following: !!! All ebuilds that could satisfy =sys-apps/hal-0.5.10 have been masked. !!! One of the following masked packages is required to complete your request: - sys-apps/hal-0.5.10 (masked by: package.mask, ~x86 keyword) /usr/portage/profiles/package.mask: # Saleem Abdulrasool [EMAIL PROTECTED] (23 Nov 2007) # Mask this until we get the input and mounting issues worked out For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by app-misc/hal-info-20071011 [ebuild]) !!! Problem resolving dependencies for media-sound/alsa-utils !!! Depgraph creation failed. and if I then remask hal-info I get !!! All ebuilds that could satisfy gnome-extra/policykit-gnome have been masked. !!! One of the following masked packages is required to complete your request: - gnome-extra/policykit-gnome-0.6 (masked by: package.mask, ~x86 keyword) /usr/portage/profiles/package.mask: # Saleem Abdulrasool [EMAIL PROTECTED] (23 Nov 2007) # Mask this until we get the input and mounting issues worked out For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by gnome-base/gnome-mount-0.7 [ebuild]) !!! Problem resolving dependencies for media-sound/alsa-utils !!! Depgraph creation failed. So you see wher we go, it would cancel all updates of gnome or a lot of them. I would suggest to leave all packages which are hard-masked in it's state as there are always reasons why packages are hard-masked sys-apps/hal-0.5.10 hal-info-20071011 gnome-extra/policykit-gnome-0.6 gnome-base/gnome-mount-0.7 If gnome is really the issue then it shouldn't go stable when a dependency is not stable! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] is it safe to unmask sys-auth/policykit
John covici schrieb: on Saturday 12/08/2007 Daniel Pielmeier([EMAIL PROTECTED]) wrote John covici schrieb: on Saturday 12/08/2007 Rumen Yotov([EMAIL PROTECTED]) wrote On (08/12/07 18:46) Daniel Pielmeier wrote: John covici schrieb: on Saturday 12/08/2007 Rumen Yotov([EMAIL PROTECTED]) wrote John covici ??: Sorry if this is a duplicate -- II never got it back, so I am sending it again. Hi. I was trying to do an emerge --update --deep --with-bdeps=y world and got the following error: !!! All ebuilds that could satisfy =sys-auth/policykit-0.6 have been masked. !!! One of the following masked packages is required to complete your request: - sys-auth/policykit-0.6 (masked by: package.mask, ~x86 keyword) /usr/portage/profiles/package.mask: # Saleem Abdulrasool [EMAIL PROTECTED] (23 Nov 2007) # Mask this until we get the input and mounting issues worked out In view of this comment, should I unmaks it anyway and if not, how can I get past this one? Any assistance would be appreciated. Hi, Just add -t(--tree) to your emerge command, it'll probably show which app requires policykit. Then mask the update (not policykit) till the issues are fixed. Or omit --deep which could eventually help here. Well it said that dependency required by sys-apps/hal-0.5.10 [ebuild]so how do I prevent the update of hal and still be able to let the rest of them go through? The -t gave nothing more. sys-apps/hal-0.5.10 is masked itself. Why have you unmasked it? Remove the unmask of hal-0.5.10 and go back to version 0.5.9.1-r3, The masked version needs policykit, so no way around this! -- [EMAIL PROTECTED] mailing list Hi, +1 - please check the contents of your: /etc/portage/package.unmask file IIRC. Remove (comment) any entries you don't know why they are there. Could also check the system profile: ls -ld /etc/make.profile OK, I remasked hal and got the following: !!! All ebuilds that could satisfy =sys-apps/hal-0.5.10 have been masked. !!! One of the following masked packages is required to complete your request: - sys-apps/hal-0.5.10 (masked by: package.mask, ~x86 keyword) /usr/portage/profiles/package.mask: # Saleem Abdulrasool [EMAIL PROTECTED] (23 Nov 2007) # Mask this until we get the input and mounting issues worked out For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by app-misc/hal-info-20071011 [ebuild]) !!! Problem resolving dependencies for media-sound/alsa-utils !!! Depgraph creation failed. and if I then remask hal-info I get !!! All ebuilds that could satisfy gnome-extra/policykit-gnome have been masked. !!! One of the following masked packages is required to complete your request: - gnome-extra/policykit-gnome-0.6 (masked by: package.mask, ~x86 keyword) /usr/portage/profiles/package.mask: # Saleem Abdulrasool [EMAIL PROTECTED] (23 Nov 2007) # Mask this until we get the input and mounting issues worked out For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by gnome-base/gnome-mount-0.7 [ebuild]) !!! Problem resolving dependencies for media-sound/alsa-utils !!! Depgraph creation failed. So you see wher we go, it would cancel all updates of gnome or a lot of them. I would suggest to leave all packages which are hard-masked in it's state as there are always reasons why packages are hard-masked sys-apps/hal-0.5.10 hal-info-20071011 gnome-extra/policykit-gnome-0.6 gnome-base/gnome-mount-0.7 If gnome is really the issue then it shouldn't go stable when a dependency is not stable! What I would like to do is get gnome-2.20 -- this is my real problem and since a lot of packages were masked either by ~x86 or hard mask -- this is how the whole thing got started -- actually a lot of these were done for gnome 2.18. Do you mean gnome-2.20 or gnome-2.20.1. The latter is stable on x86 so all dependencies should be stable too. What happens if you remove the above packages from packages.unmask. Does the upgrade work. Which version of gnome-power-manager have you installed, the latest in portage version 2.20.1 needs hal-0.5.10 so my guess is that it is causing the mess. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Binhost integrity questions
2007/11/27, Aniruddha [EMAIL PROTECTED]: Dan Farrell wrote: md5sum - compute and check MD5 message digest [EMAIL PROTECTED] ~ $ dd if=/dev/urandom of=/tmp/md5src count=512 512+0 records in 512+0 records out 262144 bytes (262 kB) copied, 0.041335 s, 6.3 MB/s [EMAIL PROTECTED] ~ $ md5sum /tmp/md5src 966019983a079e2bf03566d1f0eca061 /tmp/md5src if you want to verify your own download, you could download the file here: http://spore.ath.cx/~dan/md5src and check to see if you get the same checksum. Thank you for your answer. I am afraid you go a little to fast for me. What does $ dd if=/dev/urandom of=/tmp/md5src count=512 exactly do? It generates a file out of random bits returned from /dev/urandom, I think /dev/random is also possible. See here [1] and [2] for more information. I thinks it was just meant as a sample file to compare the md5 checksums. [1] http://en.wikipedia.org/wiki/Urandom [2] http://www.linuxmanpages.com/man1/dd.1.php -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] kdegraphics
2007/11/20, econti [EMAIL PROTECTED]: Hi all, to-day I re-emerged kdegraphics. At the end I had this message: * /usr/kde/3.5/share/applications/kde/kfaxview.desktop: value image/fax-g3 for string list key MimeType in group Desktop Entry does not have a semicolon (';') as trailing character * /usr/kde/3.5/share/applications/kde/kghostview.desktop: value application/pdf;application/postscript;image/x-eps;application/x-gzpostscript;application/illustrator for string list key MimeType in group Desktop Entry does not have a semicolon (';') as trailing character * /usr/kde/3.5/share/applications/kde/kolourpaint.desktop: value image/fax-g3;image/gif;image/jp2;image/jpeg;image/png;image/tiff;image/x-bmp;image/x-dds;image/x-eps;image/x-exr;image/x-hdr;image/x-ico;image/x-pcx;image/x-portable-bitmap;image/x-portable-greymap;image/x-portable-pixmap;image/x-rgb;image/x-targa;image/x-vnd.adobe.photoshop;image/x-xbm;image/x-xcf-gimp;image/x-xpm;video/x-mng for string list key MimeType in group Desktop Entry does not have a semicolon (';') as trailing character * /usr/kde/3.5/share/applications/kde/kview.desktop: value image/gif;image/x-xpm;image/x-xbm;image/jpeg;image/x-bmp;image/png;image/x-ico;image/x-portable-bitmap;image/x-portable-pixmap;image/x-portable-greymap;image/tiff;image/jp2 for string list key MimeType in group Desktop Entry does not have a semicolon (';') as trailing character Every ebuild that inherits the eutils.eclass validates the desktop file of the package to check if it is conform to the specs of freedesktop.org. The specs have changed but desktop files created by the ebuild are generated according to old specs. Also packages that ship there own desktop file and have not updated them to the current specs will cause this informational messages. In your case the desktop file should have a trailing ; at the end of the Mime key to be compliant to the specs. There are bugs open for the eutils.eclass to generate valid desktop files but this only affects the ebuild generated ones not the ones shipped with the package. It will take some time until the new specs find there way into all packages but this has nothing to do with the functionality of the package itself. So don't worry about this. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: compiz-fusion, emerald and xfce
2007/10/27, Marc Blumentritt [EMAIL PROTECTED]: Daniel Pielmeier schrieb: I used this command: compiz --loose-binding --replace ccp emerald --replace A strange thing is that it only works when I execute it a few times. The first time I had no window decorations! Another thing is when I want to go back to the xfce window manager the decorations vanished again, the mouse pointer too. I could only bring them back by deleting a few config files in my home-directory. Furthermore the dependency for libwnck was raised a few days ago which resulted in pulling the unstable gtk+ glib and pango packages in. This hosed all my apps requiring gtk which means nearly everything. I downgraded but this did not help. I had to unmerge and then reemerge glib to get things working again. So I think I will leave my fingers from compiz-fusion until it is more stable or anybody knows a solution to this problems! This doesn't sound very good :-( I will wait, too, or does someone here got better results? The dependcies for libwnck were lowered to the old version yesterday by the maintainer of compiz. So this does not result in the inclusion of the many unstable packages i mentioned above. The other problems may remain, but now it is much easier to play around with compiz{-fusion} again. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
John covici schrieb: Exactly where did you put your mtu -- I don't see it in the possibly options in /etc/conf.d/net.example for the pppd options. It is in the Section INTERFACE HANDLERS: # Some users may need to alter the MTU - here's how #mtu_eth0=1500 plugins_ppp0=(rp-pppoe) Are you sure this line is correct? According to net.example this are the plugins for PPP: # Here you should specify what pppd plugins you want to use # Available plugins are: pppoe, pppoa, capi, dhcpc, minconn, radius, #radattr, radrealms and winbind #plugins_ppp0=( # pppoe # Required plugin for PPPoE # pppoa vc-encaps # Required plugin for PPPoA with an option # capi # Required plugin for ISDN #) By the way rp-pppoe is depreciated in favor of the PPP Module see the PPP and ADSL section for more information. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
I answer to your last two threads. OK, thanks to all who responded -- I had to do mtu_ppp0=1492 and then I had to do the iptables rule. I still wonder why the native package worked, but not the plugin? Go figure. It seems that the mtu problem only occurs when you use the kernel module and the ppp package. So this problem hit you when using the plugin from ppp and not with rp-pppoe. From [2]: Warning: For people transitioning from the rp-pppoe package, or for people who hit weird connection resets, see the MTU section in the Troubleshooting chapter. plugins_ppp0=(rp-pppoe) Are you sure this line is correct? Yep, otherwise it would not work at all, so looks like some documentation needs to be fixed? I don't think this is the correct configuration. I recommend you to read here [1], [2] and the PPP section in net.example. The mtu problem is explained there too. Rp-pppoe is depreciated and has been integrated in ppp and I don't think there is an option like plugins_ppp0=(rp-pppoe). But if you use plugins_ppp0=(pppoe) the rp-pppoe plugin of the ppp package is used! This here is from my logs: pppd[19849]: Plugin rp-pppoe.so loaded. pppd[19849]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.4 pppd[19852]: pppd 2.4.4 started by root, uid 0 And my /etc/conf.d/net config_eth0=(192.168.0.1/24 ) config_eth1=( null ) config_ppp0=( ppp ) link_ppp0=eth1 plugins_ppp0=( pppoe ) username_ppp0='ar1435446276' pppd_ppp0=( noauth defaultroute usepeerdns holdoff 3 child-timeout 60 lcp-echo-interval 15 lcp-echo-failure 3 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp ) depend_ppp0() { need net.eth1 } [1] http://gentoo-wiki.com/HOWTO_Connect_using_PPPoE [2] http://www.gentoo.org/doc/en/home-router-howto.xml#doc_chap3 Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] compiz-fusion, emerald and xfce
Marc Blumentritt schrieb: Hi, for some reason I do not get compiz-fusion running with xfce. I installed from portage tree and not from xeffects overlay. I want to use emerald as window decorator. Therefore I added in ccsm under window decorations - command emerald --replace. Using compiz-start seems to start compiz, but not emerald, since I do not get window frames. I also tried a small start script: #!/bin/bash compiz --replace sleep 5 emerald --replace This does not work, too! Any ideas how to get xfce and compiz running together? By the way, I was using compiz from the xeffects overlay, starting it fusion-icon, which worked fine. But after upgrading to portage tree compiz, there is no fusion-icon anymore. Regards, Marc I had the same problem with getting compiz-fusion to work under xfce and the portage ebuilds. I never used the xeffects overlay for compiz-fusion only for the old beryl. I used this command: compiz --loose-binding --replace ccp emerald --replace A strange thing is that it only works when I execute it a few times. The first time I had no window decorations! Another thing is when I want to go back to the xfce window manager the decorations vanished again, the mouse pointer too. I could only bring them back by deleting a few config files in my home-directory. Furthermore the dependency for libwnck was raised a few days ago which resulted in pulling the unstable gtk+ glib and pango packages in. This hosed all my apps requiring gtk which means nearly everything. I downgraded but this did not help. I had to unmerge and then reemerge glib to get things working again. So I think I will leave my fingers from compiz-fusion until it is more stable or anybody knows a solution to this problems! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Armagetron and Gentoo?
My question is now, where can I find this overlay? I've tried the above commands, but last didn't work: --begin quoting-- linux-zc4n / # layman -ka armagetron * Overlay armagetron does not exist! linux-zc4n / # --end quoting-- (Sorry for my art of quoting, I'm new here, and don't quite know how to quote!) Does anyone know the reason for failing? I thank you for your attention and I'm happy to read your replies. For the correct usage of layman take a look here [1]. [1] http://projects.gunnarwrobel.de/scripts/wiki/layman -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Armagetron and Gentoo?
2007/10/17, Sebastian Sitaru [EMAIL PROTECTED]: I've got it (although not all! :( ). So now the layman command is starting and executes an svn command. And the svn command says, that it hasn't got SSL support! What a joke! I can't find any USE-flags with ssl or crypto in the subversion's USE (tried to emerge). What can I do now? P.S.: Here's the output of the la'z'yman: --Begin quoting-- linux-zc4n local # layman -ka armagetron * Running command /usr/bin/svn co https://armagetronad.svn.sourceforge.net/svnroot/\ armagetronad/armagetronad/trunk/build/gentoo/overlay/\ /usr/portage/local/layman/armagetron... svn: SSL is not supported * Failed to add overlay armagetron. * Error was: Adding the overlay failed! linux-zc4n local # --End quoting-- -- [EMAIL PROTECTED] mailing list Subversion uses the neon-library, try to compile neon with ssl enabled and then recompile subversion! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] qemu gcc version restriction
2007/10/17, pat [EMAIL PROTECTED]: Hello, I want to use qemu. One of its parts (qemu-softmmu) requires gcc major version 3. My whole system is set up to use gcc major version 4 (because it supports pentium-m architecture). And question is: Is there a way how to setup different gcc for some packages (including the compiler flags)? You can take a look here [1] for instaling qemu on gentoo! [1] http://gentoo-wiki.com/HOWTO:_Qemu Ty to emerging latest stable gcc-3 and emerge qemu-softmmu with version 3 and all others with gcc-4. I personally tried to install qemu too, but now i use virtualbox for emulation! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] portage sync error
http://www.gentoo.org/proj/en/portage/doc/common-problems.xml I can't update portage: # emerge portage Calculating dependencies /!!! Cannot resolve a virtual package name to an ebuild. !!! This is a bug, please report it. (virtual/libiconv-0) This link also mentions how to update portage manually, have you tried this? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?
Liviu Andronic schrieb: On 10/5/07, Daniel Pielmeier [EMAIL PROTECTED] wrote: There is an option in baselayout's rc file to erase the swap at shutdown. Take a look at /etc/conf.d/rc under RC_SWAP_ERASE. As far as I understand, this is far from secure. You want at least some degree of security, you need cryptography. See: http://gentoo-wiki.com/SWAP_ERASE_on_halt . I don't use it myself, just thought it may be helpful. I have checked newer baselayout versions for this option before and i wondered why it wasn't there, so now i know the reason. Thanks! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?
Volker Armin Hemmann schrieb: In practice, after power is cut, everything in ram is lost. But not the stuff in swap I don't know if this was mentioned already but it is probably useful. There is an option in baselayout's rc file to erase the swap at shutdown. Take a look at /etc/conf.d/rc under RC_SWAP_ERASE. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How does module-rebuild know what's installed?
Randy Barlow schrieb: Howdy, every time I try to run module-rebuild on one of my systems it tries to emerge nvidia-legacy-drivers, which is no longer in portage. It's no big deal because I can obviously emerge the packages that need to be rebuilt manually, but I wanted to try and remove whatever is causing it to try to emerge this package. How can I fix this? Thanks! You can try module-rebuild del nvidia-legacy-drivers to remove the entry from the database or maybe module-rebuild populate does remove unneeded entries too. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Migrating a system
Randy Barlow schrieb: Is it really necessary to back up /sys and /proc? What about /dev? I don't think it is necessary but it will consume almost no disk space so I don't worry. Also, to Björn, I didn't find a -a option in man tar, what does it do? Didn't find this option too! Is it different that --atime-preserve? Thanks! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xorg, 2 screen cards 2 monitors... Help!
Section Device Identifier ATI0 Driver radeon BusID PCI:1:0:0 Screen 0 EndSection Section Device Identifier ATI1 Driver radeon BusID PCI:2:10:0 Screen 1 EndSection (II) Primary Device is: PCI 02:0a:0 (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (WW) RADEON: No matching Device section for instance (BusID PCI:2:10:0) found Maybe you should check your BusID's! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xorg, 2 screen cards 2 monitors... Help!
2007/10/2, Evert [EMAIL PROTECTED]: Done that: 01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) 02:0a.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] Does it work now with changing the BusID's? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xorg, 2 screen cards 2 monitors... Help!
Section Device Identifier ATI0 Driver radeon BusID PCI:1:0:0 Screen 0 EndSection Section Device Identifier ATI1 Driver radeon BusID PCI:2:10:0 Screen 1 EndSection (II) Primary Device is: PCI 02:0a:0 (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (WW) RADEON: No matching Device section for instance (BusID PCI:2:10:0) found You could try changing the dezimal value 10 to the hexadezimal 0a as it did not find BusID PCI:2:10:0. Change them how? I already have BusID PCI:1:0:0 BusID PCI:2:10:0 in my config... Are you sure you have PCI:1:0:0 in your config, the log file says BusID PCI:1:0:1 is also not recognized. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xorg, 2 screen cards 2 monitors... Help!
2007/10/2, Daniel Pielmeier [EMAIL PROTECTED]: Section Device Identifier ATI0 Driver radeon BusID PCI:1:0:0 Screen 0 EndSection Section Device Identifier ATI1 Driver radeon BusID PCI:2:10:0 Screen 1 EndSection You can also try to remove the screen lines in your device section! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Migrating a system
Randy Barlow schrieb: So I was an idiot when I set up my system and didn't use LVM. Now that I'm out of disk space on one of my drives and kicking myself, I want to do it without doing a reinstall. If I use tar -cvjpf oldSystemThatShouldStillWorkWhenUnTarred.tar.bz2 /, then setup LVM, then tar all that junk back to the new system via tar -xvpf oldSystemThatShouldStillWorkWhenUnTarred.tar.bz2 with / as my working directory, should that do the trick (with, of course, another go at grub-install)? Is the -p flag to tar enough to store ALL the necessary file system information? I just want to make sure I'm not forgetting anything... P.S. And I'll have to build LVM support into the kernel too... R From time to time i backup my complete system to avoid a reinstall after failures. I used something like this and it worked for me (tested it after a hard drive crash)! tar --atime-preserve --same-owner --numeric-owner -Spvcjf back.tar.bz2 / Maybe some flags are not necessary but --same owner would be a good option to preserve the user and group permissions of the files too, as i don't know if -p already covers this. Also take care to mount all partitions you want to backup! I don't know about lvm as i did not use a logical-volume-manager this time and now i use lvm within evms. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
As it happens I noticed that my TV out also stopped working recently. However, I run ATI not nvidia. I blamed the latest xorg-server for it and left it at that. When I run xrandr, just like you, I only see the laptop's screen: == $ xrandr Screen 0: minimum 320 x 175, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm 1024x768 60.0* 320x17560.0 320x20060.0 360x20060.0 320x24060.0 400x30060.0 512x38460.0 832x62460.0 == xrandr --output --auto doesn't change things and xrandr --output TV --on brings up the --help page. Anyone else noticed this found a fix? I also get the same xrandr output. Maybe it is not a problem with the ati or nvidia drivers. I also thought this must be a bug in xorg-server, as it happened after upgrading to version 1.3. I masked to xorg-server-1.3 and downgraded to xorg-server-1.2 which fixes ths problem for me. This is just a temporary solution. I hope this will be fixed in future versions, may it be xorg-server or the proprietary drivers of nvidia or ati. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
Sounds like the server doesn't implement RandR version 1.2 What does xrandr -v say. For me it is Server reports RandR version 1.2 If you don't have 1.2 you won't have the --output stuff. Also --on doesn't exist even in 1.2. I found man xrandr helpful. Randr 1.2 was introduced in xorg 7.3 Xrandr -v reports version 1.2 here when i have xorg-server 1.3 (which comes with xorg 7.2) installed, but tv-out is not working! Maybe we have to wait for xorg 7.3 with xorg-server 1.4 to become stable! Unfortunately there are currently no nvidia drivers which are working with xorg 7.4 so we have to wait for a compatible release too. Although there seems to be an -ignoreABI switch for the nvidia drivers so they will work with xorg-server 1.4, but you have o disable the composite extension. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
Since you are describing a TV out it might be your tertiary screen. When I type xrandr with no arguments I get Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920 VGA connected 1600x1200+0+0 (normal left inverted right) 0mm x 0mm 1920x1440 60.0 1600x1200 60.0* 1280x960 60.0 LVDS connected (normal left inverted right) 1680x1050 60.0 + 1024x768 60.0 800x60060.3 640x48059.9 TV disconnected (normal left inverted right) VGA is what I would call the secondary (for me it is an external monitor, I believe it is always the monitor attached via the VGA or DVI output, LVDS is the screen on the laptop. Presumably TV is the signal to drive a TV (I never used mine). I don't know wheather the TV is secondary or tertiary, when i type xrandr with no options i just get the output of my primary monitor, as randr is not supported. I am not exactly sure which output i get as i have no access to my box at the moment, but i will check this. If you type xrandr --output TV --off does it stop driving the TV? That is what the manual suggests will happen. If not than it seems the nvidia driver isn't supporting randr 1.2. Perhaps that was what was meant by wont fix, nvidia bug. I guess a fix for this from nvidia will take ages as usually, is anybody out there who got tv-out working with the opensource driver from xorg with nvidia? Or do we have to wait for nouveau, mabe it does a better job! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
Now my ~/bin/Xinitialize begins #!/bin/sh sleep 2 if xrandr | grep VGA connected ; then xrandr --verbose --output VGA --mode 1600x1200 --output LVDS --off else xrandr --verbose --output VGA --off --output LVDS --mode 1680x1050 fi xset s reset# above seems to blank the screen sleep 3 This sets 1600x1200 and turns off the laptop screen when the ext monitor is in. It sets 1680x1050 and turns off driving the external monitor connector (which may well be a useless step) when there is no ext monitor connected. Thanks for your answer, i will try if i can get it working like this but randr doesn't seem to work on the secondary device. I have heard that nvidia cards doesn't support randr 1.2 so i will give it a try with randr disabled in my configuration. One thing is that i want the two screens (where i can move between with the mouse) avaialable not only one. I would also prefer a solution which works with the xorg configuration file. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
I have tested xrandr but it is useless for me! I tried various things but neither of them seem to have any effect on my secondary screen. I can only change the configuration of my primary monitor. Disabling randr in xorg conf has no effect too. Does anybody know what changes have to be done in the xorg configuration to get it working again! Unfortunately there is documentation at http://www.x.org/wiki/. The man pages of randr and xorg.conf also give no hints. At least i have found nothing until now. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
Thanks for your answer, i will try if i can get it working like this but randr doesn't seem to work on the secondary device. I have heard that nvidia cards doesn't support randr 1.2 so i will give it a try with randr disabled in my configuration. I don't have nvidia so can't comment (I810) One thing is that i want the two screens (where i can move between with the mouse) avaialable not only one. I would guess randr supports that since it does have offsets (--pos) Hi Allan, thanks for your efforts. Just an update, i have found a temporary solution, which works until the next restart. When i launch the Nvidia X Server Settings under X Server Display Configuration. There is a button Detect devices. When the external TV is connected and i hit this button the screen is updated and displayed as usual. So all is fine until the next boot. Then i have do do this again. At least there is hope. Maybe there is a configuration option to make it permanently. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
Allan Gottlieb schrieb: At Mon, 10 Sep 2007 09:24:59 +0200 Daniel Pielmeier [EMAIL PROTECTED] wrote: Thanks for your answer, i will try if i can get it working like this but randr doesn't seem to work on the secondary device. I have heard that nvidia cards doesn't support randr 1.2 so i will give it a try with randr disabled in my configuration. I don't have nvidia so can't comment (I810) One thing is that i want the two screens (where i can move between with the mouse) avaialable not only one. I would guess randr supports that since it does have offsets (--pos) allan It looks like i have got my hopes up to soon. Though the screen is displayed properly and even the background image fits well, now one problem appeared i did not recognize before. I use the TV only for watching movies, but when i set my media player (xineui, mplayer or vlc doesn't matter) to fullscreen mode it is set to the size of the primary monitor. What has changed here, i am thinking of downgrading the xorg-server but i don't think this will get better with version 1.4. Any advices how to get this working again! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
I found a bug at archlinux [1] which is describing my problem. There are two pictures attached. I have exactly the same problem. This bug was closed as wont fix because it should be a nvidia problem. This is possible, but i don't think so as the upgrade of xorg-server package obviously caused this. [1] http://bugs.archlinux.org/task/7346 -- [EMAIL PROTECTED] mailing list
[gentoo-user] Xorg.conf changes and dual screen setup
Hi, the update to xorg-server-1.3 broke my dual-screen setup. It creates a virtual screen size with the same size of the primary monitor for the second monitor which is my TV. So i can only reach a zone with 800x600 on the second device, even scrolling within the virtual screen is impossible. I want 1280x1024 for the primary and 800x600 for the secondary Monitor which displays the complete desktop on any screen. The Xorg.0.log file does not show any errors which may give some hints. Hi have searched and found that there were changes in the xorg.conf file. But i have found no documentation which describes the changes which have to be made to the configuration file. I have also checked man xorg.conf but haven't found anything mich may cause this problem. Any help would be appreciated! Regards, Daniel Below you find my current xorg.conf Section ServerLayout Identifier Gemeinsames Layout Screen 0 Screen0 0 0 Screen 1 Screen1 RightOf Screen0 InputDeviceMouse CorePointer InputDeviceKeyboard CoreKeyboard EndSection Section ServerFlags OptionRandRtrue EndSection Section Files FontPath/usr/share/fonts/75dpi/:unscaled FontPath/usr/share/fonts/100dpi/:unscaled FontPath/usr/share/fonts/misc/:unscaled FontPath/usr/share/fonts/Type1/ FontPath/usr/share/fonts/ttf-bitstream-vera/ EndSection Section Module Load extmod Load dbe Load record Load xtrap Load glx Load type1 Load freetype SubSection extmod Option omit xfree86-dga EndSubSection EndSection Section InputDevice Identifier Keyboard Driver kbd Option XkbLayout de Option XkbVariant nodeadkeys Option AutoRepeat 500 30 Option XkbRules xorg Option XkbModel pc105 EndSection Section InputDevice Identifier Mouse Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Monitor0 VendorName ACER ModelName AL1914sm HorizSync 31.0 - 83.0 VertRefresh 56.0 - 75.0 EndSection Section Monitor Identifier Monitor1 VendorName Magnum ModelName TV 5520 VT Stereo HorizSync 30.0 - 50.0 VertRefresh 60.0 EndSection Section Device Identifier Card0 Driver nvidia VendorName Giga-byte BoardName nVidia Corporation [GeForce 7300 LE] BusID PCI:05:00:0 Screen 0 EndSection Section Device Identifier Card1 Driver nvidia VendorName Giga-byte BoardName nVidia Corporation [GeForce 7300 LE] BusID PCI:05:00:0 Screen 1 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 Option NoLogo true Option NvAGP 3 Option AllowGLXWithComposite True Option RenderAccel True Option AddARGBGLXVisuals True SubSection Display Viewport0 0 Depth 24 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 16 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 8 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection EndSection Section Screen Identifier Screen1 Device Card1 MonitorMonitor1 DefaultDepth24 Option NoLogo true Option NvAGP 3 Option TVStandard PAL-B Option AllowGLXWithComposite True Option RenderAccel True Option AddARGBGLXVisuals True SubSection Display Viewport0 0 Depth 24 Modes 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 16 Modes 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 8 Modes 800x600 640x480 EndSubSection EndSection Section Extensions Option Composite Enable EndSection -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xinit-1.0.4.ebuild - Digest verification failed:
Joseph schrieb: Is anybody getting the same message: Calculating world dependencies /!!! Digest verification failed: !!! /usr/portage/x11-apps/xinit/xinit-1.0.4.ebuild !!! Reason: Failed on MD5 verification !!! Got: 7ae3e7a071d5e4be0dcc383be0296cd4 !!! Expected: efca1aded79a7769716360bd4cfffb92 emerge-sync will fix this! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Updated bash crashed complete system
I reinstall now bash 3.1_p17 which works fine. So it should be a bug in the bash-package 3.2_p15-r1? Current stable version of bash is 3.2_p17! Maybe try this one. 3.2_p15-r1 is not in the tree anymore. Maybe you should sync your tree! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Updated bash crashed complete system
I reinstall now bash 3.1_p17 which works fine. So it should be a bug in the bash-package 3.2_p15-r1? In your first message the portage output says version 3.2_p17 now you write 3.2_p15-r1, which one is bugging you? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo still not up -- now no kbd driver
Hendrik Boom schrieb: Still having trouble with my first gentoo install. Now X fails to come up. The relevant message seems to be; # grep EE /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) Failed to load module kbd (module does not exist, 0) (EE) No Input driver matching `kbd' Presumably this indicates something isn't installed you -- but what is it I have to emerge to get module 'kbd'? Or is it more complicated than that? Would it help to post a batch of config files and the entire log file, or would that just be wasting bandwidth? -- hendrik Have you enabled the keyboard USE flag under INPUT_DEVICES in xorg-xserver? You can set this in make.conf. For information take a look here: http://www.gentoo.org/doc/en/xorg-config.xml Step 2 Installing Xorg. Have you also enabled keyboard support in your kernel? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Gentoo still not up -- now no kbd driver
make.conf ends with the lines INPUT_DEVICES=keyboard mouse VIDEO_CARDS=radeon Is this what you mean? Seems to be okay I use genkernel to create the kernel. Mind you, I ran genkernel in a chroot under Debian Etch. How can I tell whether keyboard support has been enabled? You can check with zcat /proc/config.gz | grep KEYBOARD It is possible to log in as root on a text console as soon as gentoo finishes booting (without X, of course). Is this the keyboard support you mean, or is this something else? -- hendrik If this is working and you can type commands you have the module enabled! I was just guessing and don't know what is causing this problems maybe a problem with your xorg.conf Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] DVD burner recomendation
Don't use straight dvdauthor... unless: * You really enjoy editing large XML files hand * Making complex menus * Very familiar with DVD structure Creating the xml files is not that difficult. I have generated animated menus (with buttons which are highlighted on mouse over and selection) with plain dvdauthor, a few command line tools and a little help of gimp for creating the buttons! I think you can get into it without much effort. Dvdauthor itself has a good documentation here: http://dvdauthor.sourceforge.net/doc/index.html I don't think that you will have to join your mpg's together, but trial and error will prove that right or wrong! For dvdauthor the mpg's doesn`t need to be joined as you can see in my previous example! If you prefer gui tools you can try media-video/qdvdauthor, media-video/dvdstyler or media-video/tovid. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] trying to make an ebuild
Noud Aldenhoven schrieb: Hello, I'm not sure in which mailing list this one belongs, so I hope I picked the right one. I was trying to make an ebuild for a small MUD client (tinyfugue). But it doesn't seem to work correct. When I try to compile it I get an ACCESS VIOLATION SUMMARY ERROR from sandbox because I tried to access /usr/bin. ACCESS DENIED open_wr: /usr/bin/tf Could someone tell my how I can give my ebuild the rights to access /usr/bin? The script looks like this one: Normally in the src_install stage the files are installed to ${PORTAGE_TMPDIR}/portage/${PF}/image which is DESTDIR=${D} as you have specified, but somehow portage tries to copy to /usr/bin directly which is not allowed. The reason is maybe a faulty Makefile, but i am not sure about. And my second question; would it be able if this script become safe to submit it to the gentoo portage list? You can file a bug at http://bugs.gentoo.org/ to ask for a new package. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Mutt depends on Lynx ?
Philip Webb schrieb: I went to emerge the latest Mutt found it wanted to emerge Lynx too. I have a recent Lynx in /usr/local am experienced with both apps (yes, I know that that Lynx doesn't count for Portage). Does anyone know why Mutt wants to bring in Lynx ? According to the mutt-1.5.16.ebuild either www-client/lynx, www-client/w3m, www-client/elinks are pulled in if the vanilla use flag is not set. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Replytolist plug-in for thunderbird not working
Yoann Pannier schrieb: Daniel Pielmeier wrote, On 2007-08-10 21:14: So when i start thunderbird i didn`t see the extra button for replytolist. Only reply and reply-all as usual. You may have to remerge x11-plugins/replytolist after every thunderbird update, like any other thunderbird addon installed via portage i presume. Thanks that did the trick! I always forget this. Regards, Daniel -- [EMAIL PROTECTED] mailing list
[gentoo-user] Replytolist plug-in for thunderbird not working
Hi! I have enabled this plug-in since it has been included in the thunderbird ebuild. However for some reason it doesn't work. I didn't bother until now, but as there are some inconsistencies with the gentoo mailing lists, (some use reply to munging and some not, see threads on gentoo-project for discussions concerning this issue) it would be nice to get it working. So when i start thunderbird i didn`t see the extra button for replytolist. Only reply and reply-all as usual. Have i missed something? The homepage of the plugin states the following requirements: 1. A patched version of Thunderbird. 2. Either Mnenhy or Enigmail installed. 3. My extension. The patch is included in the ebuild, the replytolist extension is pulled in by the USE flag and enigmail is installed too. So i think i have met all requirements! Is anybody experiencing the same problems or does this replytolist extension work for all of you? Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] IO scheduling
Aleksey V. Kunitskiy schrieb: Hi, Is there any possibility to adjust IO scheduling priority ? I found that rtorrent eats a lot of IO resourses when calculating hash, and I can't ajust that by making its nice higher. Even on +19 it is blocker Thanks There is ionice. It is part of sys-process/schedutils which is in portage. There is a manpage here http://linux.die.net/man/1/ionice as it is not included in schedutils. You can also take alook at http://forums.gentoo.org/viewtopic-t-462230.html. It is a forum thread about ionice. Just for your information: Ionice is also part of the util-linux-ng-2.13 the replacement for util-linux which is in portage but currently without keywords. The stable version 2.12r-r7 is the old util linux where ionice is not included. So you have to use 2.13_rc2 which is util-linux-ng but there is always a reason why there are no keywords! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Tkinter, where ?
[EMAIL PROTECTED] schrieb: I just installed Scribus and plays with it. Some of its scrips need tkinter to execute. Tkinter seems ignored by portage. Quite surprising. Is there a gentoo way to install it ? It is ignored by portage as the scribus ebuild has no tk use flag which should probably implemented. With this use flag portage will complain about missing tkinter and advises you to reinstall python with tkinter support. I had this kind of problem with another package before. Time to fill a bug! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Tkinter, where ?
It is ignored by portage as the scribus ebuild has no tk use flag which should probably implemented. With this use flag portage will complain about missing tkinter and advises you to reinstall python with tkinter support. I had this kind of problem with another package before. Time to fill a bug! Regards, Daniel Same here. Do you plan to file this bug? I don't have the error, I suspect you don't either and I would imagine the OP doesn't either now that it is working. It does need to be fixed though. Dale :-) :-) :-) This only affects users who don`t have the tk use flag set for python and want to use the scribus font sampler script. As such things should automatically treated by portage, there should be filed a bug. I don't use scribus myself, but i can file the bug. I don`t think it is a big thing to fix, just introduce the tk use flag in the ebuild and and add a check whether python is built with the tk use flag. There are also other things in the ebuild which i think they should be fixed. I will report here when the bug is ready. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Tkinter, where ?
It doesn't matter to me who files the bug. I just think it needs to be filed so that it can be fixed before it causes more trouble and is harder to fix. I just didn't want to search, then file one, us both file it at about the same time and end up with a duplicate bug. Thanks Dale :-) :-) :-) I have reported it already! Take a look here: http://bugs.gentoo.org/show_bug.cgi?id=186255 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gcc 4.2 and Core 2 Duo
Andrew Gaydenko schrieb: I have noticed, the official portage tree has included gcc 4.2. Now for Core 2 Duo CPU (amd64 Gentoo arch) I use in make.conf file: CFLAGS=-O2 -march=nocona -pipe gcc' changelog has this note: ... IA-32/x86-64 * -mtune=generic can now be used to generate code running well on common x86 chips. This includes AMD Athlon, AMD Opteron, Intel Pentium-M, Intel Pentium 4 and Intel Core 2. * -mtune=native and -march=native will produce code optimized for the host architecture as detected using the cpuid instruction. ... The question is: must I replace '-march=nocona' with '-mtune=native and -march=native'? Here you will find additional information http://tinyurl.com/2b6spk. It is stated there that you can use either -march=cpu-type or -mtune=cpu-type and that -march=cpu-type implies -mtune=cpu-type. I think you can also use the nocona option for the cpu-type until gcc 4.3 is out which brings you -march=core2, see here http://tinyurl.com/ottvh. Using mtune or march depends on where you want to use your compiled software, if you only want to use it only on your own machine -march=native is probably the best option and if you want to use it on other machines too, you should choose -mtune=native. If you don't know at all the weather the cpu is IA32 AMD64 or EM64T you should use -mtune=generic. Maybe someone could explain it better, but this is what i understand! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gcc 4.2 and Core 2 Duo
march and mtune together? stupid. native when you know your CPU? Does your CHOST say 'x86_64' or nocona? mmmx, msse2, mss3 stupid. Its all part of nocona (maybe not msse3 but everything else). And fomit-frame-pointer? AFAIK superfluos on the amd64 architecture, which was copied by intel - so it should be superfluos on nocona. I think nocona is not a valid CHOST. For 32bit use CHOST=i686-pc-linux-gnu and for 64bit use CHOST=x86_64-pc-linux-gnu @ Andrew Gaydenko Take a look here http://gentoo-wiki.com/Safe_Cflags#Intel_Core_2_Duo.2FQuad_.2F_Xeon_51xx.2F53xx i think this settings should be used until gcc-4.3 is out! So your current settings should do it until that happens! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Downloading Flash videos
Mick schrieb: Hi All, I've been trying to download different flash embedded videos like: http://video.google.com/videoplay?docid=4191382246884244677 http://www.youtube.com/watch?v=hjV0Gws-BVM etc. I have used VideoDownloader with Firefox and FLV Downloader (which didn't work) and Video Manager with Opera. It seems that the downloaded video is very jumpy (drops huge number of frames) when played back using xine/gxine. So I thought of using wget to achieve the same effect but without all these helpful GUIs, but cannot see what I should be downloading when I look at the HTML source of the YouTube web page. What would you advise on this? As Hans-Werner already mentioned, most embedded (flash)-videos are stored temporarily on disk in /tmp or in the browser's cache at least here with firefox. So just wait until it is loaded and don't close the browser window then copy it to where you want. Btw. YouTube and GoogleVideo store them to /tmp. They play well with mplayer, xine, vlc which i use, others will also work. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Where is wxWidgets/wxPython 2.8?
Grant Edwards schrieb: wxWidgets/wxPython 2.8 has been out for about 6 months now, but hasn't even made it into testing yet. The most recent version available in portage is 2.6.3. Is there some problem with wxWidgets/wxPython 2.8? Is there anything we users can do to help? Take a look here: http://bugs.gentoo.org/show_bug.cgi?id=178727 http://bugs.gentoo.org/show_bug.cgi?id=145884 Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] scpa5XX and CONFIG_VIDEO_V4L1_COMPAT not listed
sean schrieb: Trying to emerge spca5xx but during the build process it is stated that CONFIG_VIDEO_V4L1_COMPAT needs to be set in the kernel. That is fine, but I do not see this option anywhere in menuconfig. From what I read it should be located under device drivers multimedia devices, but the option is not present. So how does one build spca5xx without such option available? I am trying to build this on amd64, just so you know. Thanks Sean Use the search function in menuconfig by simply typing / and omit CONFIG_ from CONFIG_VIDEO_V4L1_COMPAT. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] scpa5XX and CONFIG_VIDEO_V4L1_COMPAT not listed
sean schrieb: Trying to emerge spca5xx but during the build process it is stated that CONFIG_VIDEO_V4L1_COMPAT needs to be set in the kernel. That is fine, but I do not see this option anywhere in menuconfig. From what I read it should be located under device drivers multimedia devices, but the option is not present. So how does one build spca5xx without such option available? I am trying to build this on amd64, just so you know. Thanks Sean Or use something like this: cat /usr/src/linux/.config | grep CONFIG_VIDEO_V4L1_COMPAT For kernel 2.6.20-gentoo-r8 the search function reveals: Symbol: VIDEO_V4L1_COMPAT [=y] Prompt: Enable Video For Linux API 1 compatible Layer Defined at drivers/media/Kconfig:38 Depends on: VIDEO_DEV Location: - Device Drivers - Multimedia devices - Video For Linux (VIDEO_DEV [=y]) Selected by: VIDEO_V4L1 VIDEO_DEV -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] 1st time framebuffer setup
Those are just two different ways for setting up a splash screen; I think gentoo is currently more directed to bootsplash rather than fbsplash. But neither of them is mandatory for framebuffer usage (and framebuffer console). In order to use the framebuffer, you just need to load the relevant module and use fbset or compile the driver into the kernel and pass the right video=... paramenter to the kernel and you're set. Are you sure Gentoo is more directed to bootsplash. I think bootsplash is discontinued and fbsplash has taken over it, as mentioned at the bootsplash wiki. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Compile something with debugging information
To debug this, I'd like to build postfix again, but this time portage should not strip the binaries and it should be compiled with debugging information compiled in (ie. with -g). How would I do that? There is a good howto which explains building packages with debug information and generating backtraces at http://www.gentoo.org/proj/en/qa/backtraces.xml. FEATURES=nostrip -ccache keeptemp keepwork test noclean \ CFLAGS=-march=athlon-xp -O0 -pipe -ggdb3 sudo emerge postfix This seems to be at least one way to go. You can set this in /etc/portage/env/mail-mta/postfix to enable this Features and Cflags only for this specific package. Regards Daniel -- [EMAIL PROTECTED] mailing list
Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
I also dislike the colorization, but for a more specific reason. Gentoo seems to assume one is using white on black rather than the default black on white in terminal windows. This makes yellow lettering entirely unreadable to me. If I could just change all occurrences of yellow to orange (otherwise not much used) I'd probably not mind so much, but the entire scheme seems to be hard-coded. And I don't like white-on-black even though it's labelled Linux console in Konsole. I don't know if this was mentioned before and if it will fit your needs, but you can change the default colors of portage-output with /etc/portage/color.map. Take a look here: http://www.gentoo.org/news/en/gwn/20060918-newsletter.xml http://gentoo-wiki.com/TIP_Remap_Portage_Colors -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia drivers for 8600 GT
I did something rather dirty today. I downloaded the newest Nvidia Beta Drivers and copied it over to /usr/portage/distfiles under the same name the in-portage driver had. So while portage thinks the old drivers are installed - that's not the case :) Oh yes, dirty ;-) I assume you did also change the digest information for driver package, didn't you? The result is the same, but creating an ebuild and putting it an overlay is a much more cleaner way of doing it. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] virtualbox shared folder anyone? [SOLVED]
Helmut Jarausch schrieb: The following steps were successful (for me) echo app-emulation/virtualbox-bin additions dvitool \ /etc/portage/package.use emerge app-emulation/virtualbox-bin# here 1.3.8-r1 create the virtual machine (WinXP in my case) as described and install (here) WinXP SP2 and power off (the VM) after the complete install. ### just examples ..v...vvv vboxmanage sharedfolder add WinXP -name linux -hostpath /MySharedFolder Then start virtualbox again, click on Details CD/DVD-ROM there on Mount CD/DVD Some fiddling about ISO Image File leads to add /opt/VirtualBox/additions/VBoxGuestAdditions.iso Then click on ISO Image File Now boot the virtual machine. There you find VBoxGuestAdditions as an additional (CD) drive. Click on it to start installing the additional drivers from Virtualbox. Restart Windows and then execute cmd and there ### for my example v net use x: \\vboxsvr\linux and voila, it seems to work! Hi, i know i am a bit late, but today i had the same problem with shared folders under Virtualbox. It seems that shared folders only work with virtualbox-bin and additions use flag. I tried it with the source ebuild and installed additions but without success. Anyway, this thread points me to the right direction, thanks! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia drivers for 8600 GT
Today I bought a graphics card with Nvidia 8600 GT chipset without taking into account that there might be no official nvidia drivers supporting this card yet. There are beta drivers (v. 100.14.03) available on nzone, though, that should get that card working, but there's no ebuild for them in portage. Does an overlay with an ebuild for those drivers exist? If so, where? I don't think that there is an overlay for those drivers. Take a look at this bugs [1][2] which are dealing with the new drivers. Maybe they will be added to the tree soon. You can try to rename the ebuild according to the new version and add it to your overlay, maybe it just works. [1]http://bugs.gentoo.org/show_bug.cgi?id=175674 [2]http://bugs.gentoo.org/show_bug.cgi?id=176135 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] package.provided
I have x11-wm/beryl-0.2.1 installed on a stable system. One of its dependencies is ~x11-wm/aquamarine-0.2.1 which dies during compilation. This is fine with me because I installed beryl issuing: emerge --resume --skipfirst and it works OK. My problem is that portage wants to pull in aquamarine every time I execute: emerge -DuN world or emerge --depclean. Following the official docs [1] I did echo x11-wm/aquamarine-0.2.1 /etc/portage/profile/package.provided but it doesn't seem to help. I guess you are using heliodor or emerald as window-decorator. You can try to unset the kde use flag for the beryl ebuild which tries to pull in aquamarine. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] zd1211 patch?
For what I understand, I must modify zd1211-83.ebuild, and rebuild the ebuild with: ebuild zd1211-83.ebuild digest (which worked fine) but, what should be the content of /tmp/net_dev.patch?¿? Cause I get: * Checking for suitable kernel configuration options... [ ok ] Unpacking source... Unpacking zd1211-driver-r83.tgz to /var/tmp/portage/net-wireless/zd1211-83/work * Applying net_dev.patch ... * Failed Patch: net_dev.patch ! * ( /tmp/net_dev.patch ) You have to put the net_dev.patch into the files directory of the zd1211-driver ebuild which is usually located at /usr/portage/net-wireless/zd1211/files/ z���(��j)b� b�
Re: [gentoo-user] Thunderbird 2.0 browser fonts are tiny
Since upgrading to Thunderbird 2.0.0.0, the browser font used to display trees (folders, message lists) is tiny, so tiny that (a) I have difficulty reading it, and (b) nothing is rendered in bold. How can I change the size of the fonts in Thunderbird's browser? Go to Edit - Preferences - Go To Tab Display - Go To Tab Formatting - Fonts Encoding Here you can edit your message fonts. You can also specify a minimum font size, which is probably what you want. Im don't no if this works for the account-trees too. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SATA kernel messages
2007/4/16, David Grant [EMAIL PROTECTED]: I am constantly getting errors like this. I don't think it is a problem with the drive although it might be. I have seen hard resetting port messages through my google searches but often they are associated with an error of some sort. I'm using 2.6.19. Anyone else have any experience with this? Apr 16 01:44:19 sonata kernel: ata1: hard resetting port Apr 16 01:44:20 sonata kernel: ata1: hardreset failed, retrying in 5 secs Apr 16 01:44:24 sonata kernel: ata1: hard resetting port Apr 16 01:44:25 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Apr 16 01:44:25 sonata kernel: ata1.00: configured for UDMA/100 Apr 16 01:44:25 sonata kernel: ata1: EH complete Apr 16 01:44:25 sonata kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Apr 16 01:44:25 sonata kernel: sda: Write Protect is off Apr 16 01:44:25 sonata kernel: SCSI device sda: drive cache: write back I also had this kind of problem after setting up my new pc from components. To fix it i checked the connections of my sata cables which were not connected tightly. Maybe you have the same problem. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How do I enable package specific FEATURES and CFLAGS?
# mkdir -p /etc/portage/env/mail-client # CAT END /etc/portage/env/mail-client/evolution CFLAGS=-march=k8 -O1 -ggdb -pipe FEATURES=$FEATURES splitdebug END Likewise for gnome-extra/evolution-data-server. I think here is some clarification needed, at least for me! Is this functionality now implemented in portage or do need the third-party-tools like portage-bashrc http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/ portage-bashrc-ng http://forums.gentoo.org/viewtopic-t-472386-start-0-postdays-0-postorder-asc-highlight-bashrcng.html And if it is implemented in portage do i need a /etc/portage/bashrc file or just the env folder with my paket specific settings in the category/app structure? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT im more just curious
[EMAIL PROTECTED] schrieb: What is the average age of the gentoo user here? I become 27 in May and use Linux since 2004. I would have started earlier but the linux is difficult to use bias prevented me from trying it earlier. I began with Ubuntu which a friend of mine suggested to me. After a short period i switched to Gentoo which now satisfies all my needs. This includes more control over the system and a greater learning effect. At work i use Suse and Red Hat for CFD purposes. I have never done any kind of programming ecxept for school, but recently i started to write perl scripts which i need at work. So lets see how this is going on. It is good to see some experienced users here, which gives me a feeling of being at the right place when asking questions. Regards Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How do I enable package specific FEATURES and CFLAGS?
Bo Ørsted Andresen schrieb: On Saturday 14 April 2007 15:34:59 Daniel Pielmeier wrote: # mkdir -p /etc/portage/env/mail-client # CAT END /etc/portage/env/mail-client/evolution CFLAGS=-march=k8 -O1 -ggdb -pipe FEATURES=$FEATURES splitdebug END Likewise for gnome-extra/evolution-data-server. I think here is some clarification needed, at least for me! Is this functionality now implemented in portage or do need the third-party-tools like [...] Sort of no to both actually.. And if it is implemented in portage do i need a /etc/portage/bashrc file or just the env folder with my paket specific settings in the category/app structure? It works because of [1] which means that as long as you are using a profile that inherit from the base profile (all supported profiles do) you don't need to add anything to /etc/portage/bashrc. Functionality wise it is in no way different from putting a case construct like: case ${CATEGORY}/${PN} in mail-client/evolution | gnome-extra/evolution-data-server ) CFLAGS=-march=k8 -O1 -ggdb -pipe FEATURES=$FEATURES splitdebug ;; esac in /etc/portage/bashrc. This also means that not all FEATURES set there are going to be respected. Only the ones that are read in bash code by portage. That does, however, include splitdebug. [1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/profile.bashrc?rev=1.1view=markup Okay thanks, i think i got that now. Is there a list of environment variables which are read in bash code and therefore could be changed this way? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] headphones don't work since upgrade to kernel 2.6.19???
I've rebooted today with kernel 2.6.19 (used 2.6.18 before). I have a Intel 945G/GZ/P/PL motherboard and a Intel hda on board soundcard (Alsamixer says Card: HDA Intel and Chip: Realtek ALC260). Look for the Bugs concerning the kernel and hda-intel drivers http://bugs.gentoo.org/buglist.cgi?quicksearch=ALL+alsa+hda For me alsa-driver (not kernel-alsa) did not work with kernel 2.6.19 too. I upgraded to kernel 2.6.20 and latest alsa-driver, and my problem was solved. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kopete-3.5.5-r2 failed
I have a problem compiling kopete-3.5.5-r2 into my system. looks like a bug, see here: http://bugs.gentoo.org/show_bug.cgi?id=154421 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
Hi i am back again! Unfortunately my problem is still bugging me! I will give short overview what i have tried so far. 1. Trying different I/O Scheduler ( cfq anticipatory and deadline) 2. Enabling Low latency kernel and Preemptible kernel 3. Setting 1000 HZ for timer frequency 4. Tried the new kernel 2.6.19-gentoo-r6 and even the testing version 2.6.20-gentoo with core 2 enabled in processor type Nothing seems to help. Hdparm also shows me that my disk has IO_support = 0 (16-bit) set instead of IO_support = 1 (32-bit) I can't set it to 32 bit as hdparm can only display settings for sata disks but not alter it. I tried sdparm and blktool but there seems to be no option for it. As i am using Xfce i installed the diskperf-plugin which monitors disk I/O. The monitoring is divided in disk-read and disk-write. I recognized that every time when reading stops writing starts. So is this staggering of writing to disk normal as the programs have to read data they want to write to disk? On my previous machine i didn't recognize such a behaviour. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
Did you try to play with ionice to assign priority. It has helped me a lot with io-intensive background taskes. Where can i get it. It seems to be included in util-linux but i have util-linux installed and ionice is missing! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
What I/O scheduler are you using? Did you try to experiment with the deadline or the cfq I/O schedulers? If you have them enabled in your kernel config, read Documentation/block/switching-sched.txt and see if things get better after changing the I/O scheduler for your hard disk. Of course, your problem might be caused by something else altogether. No other suggestions? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
The hdparm optimizations, the CFQ scheduler and maybe low latency desktop in the kernel are the best way to make your desktop useable under heavy disk usage.These are my hdparm settings: [snip] Thanks for your suggestions. As i have an SATA harddisk, can i use hdparm with it , i thought it could only be used with PATA devices and for SATA there is sdparm. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
The hdparm optimizations, the CFQ scheduler and maybe low latency desktop in the kernel are the best way to make your desktop useable under heavy disk usage.These are my hdparm settings: /dev/hda: multcount= 16 (on) IO_support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 26310/16/63, sectors = 26520480, start = 0 cat /sys/block/hda/queue/scheduler noop [cfq] Linux c-68-85-77-239 2.6.20-gentoo #4 PREEMPT Tue Feb 6 17:03:56 EST 2007 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux Now i am in front of my PC. I already use the cfq scheduler and have low latency desktop enabled. I looked at the output of hdparm -I /dev/sda and all seems to be ok by default. And check you have HZ set to 1000. $ grep HZ /usr/src/linux/.config # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set CONFIG_HZ_1000=y CONFIG_HZ=1000 Thanks i will check if this helps, i have just set 250 HZ for timer frequency. Could your problem be similar to this: http://marc.theaimsgroup.com/?l=gentoo-userm=114252338111258w=2 Tom Maybe, today the gentoo-sources-2.6.19-r5 become stable so i will try the new kernel. I am also waiting for kernel 2.6.20 as it has a setting for the core 2 duo in processor settings. Maybe i try the testing version of it. Also the new gcc compilers will support the core 2 duo directly, but i think it will take some time till 4.2 or even 4.3 will become stable. I show up here again and tell you if something improves the performance of my system. Regards Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vmware broken?
Sven Köhler schrieb: Hi, my vmware doesn't work anymore :-( I have no clue about the cause - maybe my update to 2.6.20 or perhaps bus? # vmware /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) process 12397: Attempt to remove filter function 0xb6b46c20 user data 0x8802b90, but no such filter has been added D-Bus not built with -rdynamic so unable to print a backtrace /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) process 12408: Attempt to remove filter function 0xb6effc20 user data 0x88041f0, but no such filter has been added D-Bus not built with -rdynamic so unable to print a backtrace So what might be wrong here? Google has the answer! Take a look here: http://bugs.gentoo.org/show_bug.cgi?id=155450 http://www.vmware.com/community/thread.jspa?messageID=484981 http://www.vmware.com/community/message.jspa?messageID=390870 http://bugs.gentoo.org/show_bug.cgi?id=50002 Regards Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Error while compiling splashutils-1.1.9.10-r1
Konstantin S. Budylov schrieb: Hi, When I try to compile latest splashutils, I have folowing error: = [ebuild N]media-gfx/splashutils-1.1.9.10-r1 USE=png truetype -hardened -kdgraphics ... ... Source unpacked. Compiling source in ... In file included from /usr/lib/klibc/include/stddef.h:12, from /usr/lib/klibc/include/stdio.h:10, from render.c:21: /usr/lib/klibc/include/bits32/bitsize/stddef.h:12: error: redefinition of typedef ‘size_t’ /usr/lib/klibc/include/linux/types.h:67: error: previous declaration of ‘size_t’ was here /usr/lib/klibc/include/bits32/bitsize/stddef.h:16: error: redefinition of typedef ‘ptrdiff_t’ /usr/lib/klibc/include/linux/types.h:77: error: previous declaration of ‘ptrdiff_t’ was here In file included from /usr/lib/klibc/include/stdint.h:8, from /usr/lib/klibc/include/sys/types.h:10, from /usr/lib/klibc/include/unistd.h:11, from /usr/lib/klibc/include/stdio.h:11, from render.c:21: /usr/lib/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of typedef ‘int8_t’ .. etc ... !!! ERROR: media-gfx/splashutils-1.1.9.10-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile splashutils-1.1.9.10-r1.ebuild, line 142: Called die Does anybody have idea, how to fix it? Seems to be a bug! http://bugs.gentoo.org/show_bug.cgi?id=164806 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Performance problem at writing big files and Multitasking
Hi all, i have bought components to assemble a new PC by myself. This are the main components. Mainboard: ConRoeXFire-eSATA2 (Intel(r) 945P) CPU:Core 2 Duo E6600 (2400 MHz) RAM:Transcend DIMM 2x1 GB DDR2-667 (1024 MB) Harddisk: Western Digital Caviar SE WD2000JD (200 GB) [Sata] DVD:Samsung SH-S183A (18 / 8 / 8 fach) [Sata] Graphics: Giga-Byte GeForce 7300 LE 128MB GV-NX73L128D (128 MB) Network:Gigabit (10/100/1000 MBit/s) I have managed to get all the stuff i want to work with gentoo. On one hand my new machine is very fast. Here is an example from genlop genlop -i openoffice * app-office/openoffice Total builds: 1 Global build time: 3 hours, 1 minute and 47 seconds. Info about currently installed ebuild: * app-office/openoffice-2.0.4 Install date: Tue Jan 30 04:34:33 2007 USE=branding cairo cups dbus firefox ldap sound pam -binfilter -eds -gnome -gstreamer -gtk -kde -odk -webdav -debug CFLAGS=-march=nocona -O2 -pipe -fomit-frame-pointer On the other i recently recognized when i doing some video editing i.e. demultiplex the movie with projectx which shows the speed of writing video and audio to the disk. It writes about 200MB with about 25MB/s then it halts for about 2-3 seconds and starts again writing data to the disk, after another 200MB it halts again and starts over again and so on. I also recognize the same behavior when i multiplex the video and audio together with mplex. What could cause this problems Also when some one of this tasks is running and i want to do some multitasking, the system reacts very slow on executing other programs. For example if i try to open just an editor by the start menu. The menu seems to be frozen and did not react at once also it took very long for the editor to load. I thought of wrong settings in cflags, or a wrong kernel config maybe the sata-controller or other things which may cause this problems. Thanks in advance for your help Daniel Pielmeier Here are a few things which might give some information over my system: kernel config # # Processor type and features # CONFIG_SMP=y CONFIG_X86_PC=y CONFIG_MPENTIUM4=y CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_L1_CACHE_SHIFT=7 CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_CMPXCHG64=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_TSC=y CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=y CONFIG_NR_CPUS=8 CONFIG_SCHED_MC=y CONFIG_PREEMPT=y CONFIG_PREEMPT_BKL=y CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=m CONFIG_X86_MCE_P4THERMAL=y CONFIG_VM86=y CONFIG_X86_CPUID=y # # ATA/ATAPI/MFM/RLL support # CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDESCSI=m # # IDE chipset support/bugfixes # CONFIG_IDE_GENERIC=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_GENERIC=m CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_IDEDMA_PCI_AUTO=y CONFIG_BLK_DEV_PIIX=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_IDEDMA_AUTO=y # # SCSI device support # CONFIG_SCSI=y CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=m CONFIG_CHR_DEV_SG=m # # SCSI low-level drivers # CONFIG_SCSI_SATA=y CONFIG_SCSI_SATA_AHCI=y CONFIG_SCSI_ATA_PIIX=y CONFIG_SCSI_SATA_INTEL_COMBINED=y CONFIG_SCSI_PPA=m CONFIG_SCSI_IMM=m CONFIG_SCSI_IZIP_EPP16=y CONFIG_SCSI_IZIP_SLOW_CTR=y cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping: 6 cpu MHz : 2393.448 cache size : 4096 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm bogomips: 4790.29 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping: 6 cpu MHz : 2393.448 cache size : 4096 KB physical id : 0 siblings: 2 core id : 1 cpu cores : 2 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16
Re: [gentoo-user] Performance problem at writing big files and Multitasking
Michael Schreckenbauer schrieb: Hi, Am Dienstag, 6. Februar 2007 schrieb Daniel Pielmeier: Hi all, i have bought components to assemble a new PC by myself. This are the main components. that's very interesting. You seem to have exactly the same problem I posted one minute before you :) My machine is an amd64 3000, with via based board, gentoo compiled for ~x86. Any chance you are using xfs? Regards, Michael No i use ext2 for boot and ext3 for all other filesystems I don't know if it also happens when my system is in an idle state, i have to investigate on this! Regards Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
What I/O scheduler are you using? Did you try to experiment with the deadline or the cfq I/O schedulers? If you have them enabled in your kernel config, read Documentation/block/switching-sched.txt and see if things get better after changing the I/O scheduler for your hard disk. Of course, your problem might be caused by something else altogether. At the moment i use the CFQ-scheduler others are not compiled in the kernel, I will compile one and tell you if this gives any improvements. Regards Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
What I/O scheduler are you using? Did you try to experiment with the deadline or the cfq I/O schedulers? If you have them enabled in your kernel config, read Documentation/block/switching-sched.txt and see if things get better after changing the I/O scheduler for your hard disk. Of course, your problem might be caused by something else altogether. I have tried the three available schedulers but unfortunately this has no effect. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Would it be ok for me to email you off list to get some help with a new setup of Shorewall that I did? It would be, but i am not sure if i can help you, because i have dropped shorewall and i am no firewall expert. I would suggest you to look at the shorewall guides at the shorewall homepage, they explain some custom settings very well! Then if you have problems post it on the shorewall mailing list. The shorewall maintainer himself is very active and does a good job on this list. Regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Best printer to use with Gentoo.
2007/1/24, Carl Adams [EMAIL PROTECTED]: I've had no success getting my HP PSC 1610 Inkjet/Scanner connected to CUPS under Gentoo. Of course, there's no such thing as a best printer, but do any subscribers have recommendations for printers they've found easy to connect and use? Either inkjet or low-cost laser. You can take a look here [1]. There is a printer and driver database where you can look which printer works under linux. Normally HP printers are working very well as HP provides drivers [2] for Linux. [1] http://www.linux-foundation.org/en/OpenPrinting [2] http://hplip.sourceforge.net/ I personally use a HP Buisness Inkjet 1000 which does a good job. Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Best printer to use with Gentoo.
2007/1/24, Carl Adams [EMAIL PROTECTED]: I've had no success getting my HP PSC 1610 Inkjet/Scanner connected to CUPS under Gentoo. Of course, there's no such thing as a best printer, but do any subscribers have recommendations for printers they've found easy to connect and use? At OpenPrinting there is no record for your HP PSC 1610 but for HP PSC 1600 which should work perfectly. So yours should be working as well i guess! Are you using the HP drivers? Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Best printer to use with Gentoo.
The problem is using the localhost:631 interface, I don't know either: 1. The device. It's a USB printer, but the choices are: AppSocket/HP JetDirect Backend Error Handler Internet Printing Protocol (http) Internet Printing Protocol (ipp) LPD/LPR Host or Printer SCSI Printer Serial Port #1 Serial Port #2 I don't know why USB Printer doesn't show up in the list. Have you enabled the ppds USE flag? Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Hi all, i solved my problem by the help of the shorewall mailing list. The shorewall maintainer Tom Eastep helped me with a quick answer. It has nothing to do with shorewall so there is no file of shorewall causing this troubles. When i set up internet connection with pppoe-setup i have activated the FIREWALL=STANDALONE setting in /etc/pppoe.conf. This loads a iptables rule set which overwrites my custom iptables, this may have also caused my problems with shorewall. Nevertheless thank you all for trying to help me so much. Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting system's domain name
2007/1/21, John covici [EMAIL PROTECTED]: I am having problems setting the domain name of a new gentoo installation. I looked at /etc/conf.d/net.examples and tried what seemed to me what they were looking for such as DNS_LO=domain name The host name works, although I would like to not have it wipe out my resolv.conf. I can set hostname to the fully qualified name using the hostname command, but gentoo still says unknown domain name when I log in, so I am not sure this is correct. try something like this in /etc/conf.d/net dns_domain=domain-name -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting system's domain name
Will this keep my /etc/resolv.conf in tact? On my system, yes, but backup /etc/resolv.conf and try it out with restarting /etc/init.d/net.eth0. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting system's domain name
maybe the dns_domain setting is wrong i have this in my config but iam not sure if this really sets the domainname you can also try setting this in /etc/hosts 127.0.0.1 localhost 127.0.0.1 hostname,domain-name hostname -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting system's domain name
sorry it should be 127.0.0.1 localhost 127.0.0.1 hostname.domain-name hostname Hostname and domain-name must have a full stop in between. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
The only last thing I could suggest is running lsof to see what files are being accessed when you start the net.eth1 script. I tried lsof, but is there a possibility to run it constantly or for a specified time to catch the complete progress of the script, like the top command to monitor all files which are used by this process. As far as i can see lsof list only the current processes and the files used and then it stops. a better option would be `emerge --noconfmem package`, which esentially re-does all your conf files. I tried this also but i can't figure out which files could be responsible for this Additionally i tried this, running the init-script and then i applied this find command find / -mount -cmin -1 which lists all the files which status has changed the last minute, but there are no files which could be the reason for the changing if the tables. I don't know if this command does what i want. I think it lists the files which are altered and which are accessed. Am i right here? I used this find command for reinstalling shorewall and setting back the old settings too but without success. This gets a bit frustrating for me now i always have to reset my iptables manually after i start my internet connection. Is it possible that there is no real file causing this trouble? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Hi all! Thank you very much for trying to help me on this strange things. I hope i didn't have overseen a very simple thing which causes this problem. dale wrote [EMAIL PROTECTED] / # equery files shorewall [ Searching for packages matching shorewall... ] * Contents of net-firewall/shorewall-3.0.8: /etc /etc/init.d /etc/init.d/shorewall /etc/shorewall ... As you can see all paths are containing shorewall, so a simple find would detect all the files and i have nothing of them remaining on my system ian wrote ah yes, I recall the cruft script! Does it exclude any directories? no i have checked that before there is nothing in my lib/findcruft which excludes shorewall from being detected. The only last thing I could suggest is running lsof to see what files are being accessed when you start the net.eth1 script. Thanks, thats a good idea, i will try that. uwe wrote I am using shorewall and it doesn't do it here. I haven't replied in this thread so far because I have not the slightest idea what causes the trouble. Actually I have tried to simulate what Daniel did. Even so, net.eth0 (in my case) doesn't change my iptables rules. Another thing i will try is to reemerge shorewall put my configuration back run shorewall and search for the files which have changed recently. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
I've been holding back on replying for a while now, but I think you should try a simple iptables setup like this one: Excuse me, but my problem is not that my tables are not working, they work very well. I applied forwarding and masquerading, also a basic set of filtering rules which block all access from outside. My problem is that these rules i hqave defined are somehow overwritten by the net init script, with some remaining settings from my previous shorewall configuration. I compared the tables i had with shorewall with my new settings and the one who are changed by the net init script are looking the same settings i had with shorewall for input forward and output. I am sure that i have removed shorewall completely, so i guess shorewall must have altered a file which is used by the init script, so that the old settings are restored everytime i start the net init.script. Does anybody has a clue? Regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
If you really removed shorewall from your runlevel (rc-update del shorewall default) try this: rm /var/lib/iptables/rules-save i have removed shorewall from my runlevels and added iptables Did you do a /etc/init.d/iptables save by any chance? That's the only thing I can think of. the way i have applied my rules is as follows first i load them with my generated script then i invoke /etc/init.d/iptables save and to be sure i do an /etc/init.d/iptables restart iptables -L, iptables -L -t nat, iptables -L -t mangle show me my new rules when i look in /var/lib/iptables/rules-save i also see my new rules when i issue /etc/init.d/net.eth1 restart iptables -L, iptables -L -t nat, iptables -L -t mangle show me the old rules from shorewall -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Iptables
How can I install and run iptables (with conntrack and all other modules) in a Gentoo 2006.1 box with kernel generated by genkernel? I tried emerge iptables, but when I type iptables -F I get something like this: FATAL: Module ip_tables not found. iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Hm, did you start the iptables init-script, i think it loads the necessary modules! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
hmm, shorewall must have done something that's more persistent. Have a look at /etc/runlevels, and make sure there is no shorewall stuff left in there. Also look in /etc/conf.d/net* and make sure there is no postup functions lying around. And make sure /etc/init.d/net.eth1 is a symlink to /etc/init.d/net.lo, and then make sure net.lo hasn't been modified by shorewall. you could do a `emerge --noconfmem baselayout` to make extra sure. **Read the man page first. Is there a /etc/shorewall directory? Perhaps someone who has it installed could do `equery files shorewall` so you could check that it really is deleted. Well, these idea's are really stabbing in the dark, but you gotta start somewhere! thanks for your hints, i checked all these things but there seems nothing of shorewall remainig! i am quite sure cause i am using a cruft script which searches for files remaining after an uninstall. The scriptt does its job there were several files from shorewall remaining, but now they are all gone but my problem still remains. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Hi again, it seems that i was running in another problem. This are my current iptables! Chain INPUT (policy ACCEPT) target prot opt source destination block all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywherestate NEW,RELATED,ESTABLISHED ACCEPT all -- anywhere anywherestate NEW,RELATED,ESTABLISHED ACCEPT all -- anywhere anywherestate RELATED,ESTABLISHED block all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain block (2 references) target prot opt source destination ACCEPT all -- anywhere anywherestate RELATED,ESTABLISHED ACCEPT all -- anywhere anywherestate NEW DROP all -- anywhere anywhere But everytime i start my internet connection with /etc/init.d/net.eth1 start it seems my rules were changed to this and i can't connect to the internet! Chain INPUT (policy ACCEPT) target prot opt source destination LOGudp -- anywhere anywhereudp dpts:0:1023 LOG level warning LOGtcp -- anywhere anywheretcp dpts:0:1023 LOG level warning DROP udp -- anywhere anywhereudp dpts:0:1023 DROP tcp -- anywhere anywheretcp dpts:0:1023 LOGtcp -- anywhere anywheretcp flags:FIN,SYN,RST,ACK/SYN LOG level warning DROP tcp -- anywhere anywheretcp flags:FIN,SYN,RST,ACK/SYN DROP icmp -- anywhere anywhereicmp echo-request Chain FORWARD (policy DROP) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain block (0 references) target prot opt source destination ACCEPT all -- anywhere anywherestate RELATED,ESTABLISHED ACCEPT all -- anywhere anywherestate NEW DROP all -- anywhere anywhere What could be the problem here? Is the net init-script changing my rules? I think i have removed shorewall completely, so there shouldn't be any remaining files which could cause that behavior. Or are there some remaining files from shorewall? When i invoke iptables save with my generate rules and restart iptables, the rules are ok and i can connect! Thanks in advance! Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
But everything looks quite normal, except for that packets aren't routed. So its up to somebody else to tell exactly what that policy module in iptables does -- and how. I don't have answers left here -- except for the case that a manual iptables setup is sufficient. Personally, I'm quite happy with $ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE $ iptables -A FORWARD -i eth0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT $ iptables -A FORWARD -i ppp0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT for the forwarding. All that fancy-schmanzy stuff that shorewall does isn't in there, granted. Thanks, so i think that i have to get familiar with iptables itself, because i want to some more than routing. I will try this rules in the evening and tell you if it works. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Personally, I'm quite happy with $ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE $ iptables -A FORWARD -i eth0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT $ iptables -A FORWARD -i ppp0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT Aaargh! That last one should have the state NEW omitted (and the following comma, of course). Thanks, so i think that i have to get familiar with iptables itself, because i want to some more than routing. I will try this rules in the evening and tell you if it works. No fears, iptables is easy to configure! Search for some How-To that has a big picture of which packets entering which chains in which tables. That really helps a lot. I haven't found a how-to like this. Do you know a good how-to? At the moment iam reading this one http://iptables-tutorial.frozentux.net/iptables-tutorial.html. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Thanks for that link. The document is _very_ good and complete. But I don't think it's particularly well suited for beginners. My suggestion would probably be very conservative: netfilter.org's own docs. http://www.netfilter.org/documentation/index.html np, i thought when i have to learn iptables, then i want to know all about. it is mentioned at the netfilter site. but i will have a look at netfilter own documentation. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Thanks for that link. The document is _very_ good and complete. But I don't think it's particularly well suited for beginners. My suggestion would probably be very conservative: netfilter.org's own docs. http://www.netfilter.org/documentation/index.html I have now applied your masquerading and forwarding rules and they are working. At he moment i am setting up some basic filter rules for switching from shorewall to plain iptables. Then i will go for advanced filtering. Thanks a lot for your and all others help. Regards Daniel LANG=de PS: Grüße aus Stuttgart und nochmal danke, ich weiß nicht ob ich das sonst hinbekommen hätte! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Hmmm, me either. I'm not sure about what it would be called. Do you have gkrellm installed? Sometimes I use it to see where the traffic is. That is how I knew it was iptables in my other thread. The data was getting there because gkrellm was seeing it but my system was not. No clue how one can see it and the other can't though. no i did not use gkrellm, i am just seting up the new desktop machine no X until now, i want to do the basics first! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
I would check that you have done: echo 1 /proc/sys/net/ipv4/ip_forward I think this is set, but i will check again. Also make sure ICMP isn't blocked anywhere. I have only blocked ping from the internet to the firewall and nowhere else. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
Send the output from iptables-save, please. Otherwise we could only guess if the problem is with your firewall rules or somewhere else. Ok, i will do that when i am back home. i thought the output from iptables -L in my original post was enough. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a home router
route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface dslb-088-067-01 * 255.255.255.255 UH0 00 ppp0 localhost * 255.255.255.0 U 0 00 eth0 loopback* 255.0.0.0 U 0 00 lo default dslb-088-067-01 0.0.0.0 UG0 00 ppp0 Looking at this, I wouldn't even expect it to work at all, since the only route via eth0 is for localhost. But since you can connect between router and desktop, I think you borked your /etc/hosts. localhost clearly doesn't seem to be assigned to 127.0.0.1. So fix your hostnames! This here: /etc/hosts 127.0.0.1 localhost 192.168.0.1 gentoo-vdr.linux gentoo-vdr 192.168.0.2 gentoo.linux gentoo ::1 localhost I think localhost is assigned to 127.0.0.1, or did i misunderstood something? just can't be true if the routes above are the complete routes and you can connect to your desktop from the router. I can connect from router to desktop and back ping and ssh are working, i can connect to the internet from the router, but i couldn't do this from the desktop Another option than /etc/hosts may be a seriously broken dnsmasq config. I will post the config when i am back. For those who are not familiar with shorewall here are the generated iptables on the router. iptables -L -t filter Chain FORWARD (policy DROP) target prot opt source destination Empty FORWARD chain and policy DROP means everything not going to the router itself is gonna be dropped. Note that you made yourself a hard time since there's DROP and REJECT (built-in targets) and you also reference Drop, drop, Reject and reject targets. I never used shorewall, but if that naming is from them, they are clearly freaks. the whole iptables config is generated by shorewall, i recognised this different namings too. -- gentoo-user@gentoo.org mailing list