Re: [gentoo-user] default user permissions
Hi, Thanks for the help. Best regards, Hinko On 03/25/10 22:43, Florian Philipp wrote: Am 25.03.2010 09:50, schrieb Alan McKinnon: On Thursday 25 March 2010 10:26:25 Hinko Kocevar wrote: Hi, Where is defined what permissions will the newly created folder/file have by default? This is done by the umask of the user creating the folder. Eg. When creating a folder I would like it to have permissions right after it is created, to void use of chmod/chown afterwards: drwxrwxr-x 2 hinko users4096 Mar 25 09:23 folder1 while now I get only: drwxr-xr-x 2 hinko users4096 Mar 25 09:23 folder1 That is group should have 'w' set. This is a common misunderstanding about permissions and the Unix philosophy about them, which is: It's up to the user, not the system, to say what permissions he wants on new filesystem objects. Modifing the user's umask is not advised, as this is global. *Every* new file or dir then ends up with g+w and you probably don't want that. You need to use Posix ACLs for this, and your file system and kernel must support them; you configure it per directory. It's all in man pages and on google - better start reading. Be warned though: you *will* forget you set this, and *will* wonder in future why g+w is set in various places. ls gives precious little clue that an ACL is in place. I find that in real life, a find -exec chmod in a cron is a better solution To avoid ACLs and still have group rw rights on some folders for specific groups, you can make use of the 'user private group' scheme and the setgid bit: [1]. Gentoo uses this scheme per default, although I think the umask setting is different (has to be 002 or 007). What Alan forgot to tell is where to set the umask: /etc/profile. Don't use too strict settings because these are also applied to system accounts. This can easily break your system. [1] http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-users-groups-private-groups.html Hope this helps, Florian Philipp -- Hinko Kocevar Technical support software engineer Instrumentation Technologies Velika pot 22, SI-5250 Solkan - Slovenia T:+386 5 3352600, F:+386 5 3352601 mailto: hinko.koce...@i-tech.si http://www.i-tech.si - When your users demand stability The information transmitted is intended solely for the addressee and may contain confidential and/or privileged information. Any review, retention, disclosure or other use by persons other than the intended recipient is prohibited. If you received this in error, please notify the sender and delete all copies.
Re: [gentoo-user] Re: help
Am 26.03.2010 00:24, schrieb Dale: I would have to modify the script since it does random too. If KDE4 isn't broke now, I would surely finish it off if I started writing scripts. LOL I would think it could be disabled somehow but the folks on KDE mailing list couldn't find a way either. I even searched around in the config files and maybe changing a USE flag. Still nothing yet. I really think it will be there eventually tho. Here's to hoping. Dale :-) :-) USE=-random emerge kde4 - Having something like that would be fun :-) kh
Re: [gentoo-user] Image viewer with brightness/contrast adjustments
Am Freitag, 26. März 2010 schrieb Dale: Ohh. Please permit me to add one more needed feature then. GUI. Some of my pics are nested pretty deep, because of my organizing skills or lack thereof. LOL [...] This reminds me of the cereal isle in a grocery store. We stand there trying to pick which one we want and 80% of them are made from corn. Basically the same thing but different and we can't choose the one we want. That’s easy - I take the big value pack. It’s cheaper per kilogram than the really good stuff, but still tastes better than the cheap stuff. But back to the topic: I believe xv hasn’t been mentioned yet. It’s an old generic image viewer for X with editing capabilities. I use Gimp for all editing though. I’m OK with the loading time, because nothing compares to it feature-wise. I tried krita, but I didn’t like its shortcomings at navigating in a big/zoomed image. In Gimp I can use (shift and ctrl plus) the scroll wheel, in Krita, all of those do the same. -- Gruß | Greetings | Qapla' Press any key to continue, or any other key to quit. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] ATI-drivers versioning system - I'm confused
Mick writes: On 25 March 2010 11:50, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Many thanks, do you have an estimate when 10.4 appears in the tree? Helmut. I can't answer that (as far as I know the devs will only say that it will appear when it is ready) but I got myself into a pickle with trying to switch from radeon to fglrx driver, running xorg-server 1.7.6. I think you have to wait for ati-drivers-10.4 to work with xorg-1.7. It kept going around in circles with blockers and after subsequent masking and unmasking I couldn't get it to emerge, so I went back to the radeon driver. Mind you I did not rebuilt the kernel at the time and that may be why I was getting 'you can't have these packages installed at the same time' type of message. With the radeon driver, I only got a blank screen, so I am using ati- drivers. From kernel 2.6.31 on, they are sort of working fine, with GLX and all that. Here is what I had to mask to keep the older x.org 1.6: =x11-apps/xinput-1.5.0 =x11-base/xorg-drivers-1.7 =x11-base/xorg-server-1.7 =x11-libs/libX11-1.3.2 =x11-libs/libXScrnSaver-1.2.0 =x11-libs/libXext-1.1.1 =x11-libs/libXi-1.3 =x11-libs/libXinerama-1.1 =x11-libs/libXtst-1.1.0 =x11-libs/libXxf86dga-1.1.1 =x11-libs/libXxf86vm-1.1.0 =x11-proto/bigreqsproto-1.1.0 =x11-proto/fixesproto-4.1.1 =x11-proto/inputproto-2.0 =x11-proto/recordproto-1.14 =x11-proto/scrnsaverproto-1.2.0 =x11-proto/xcmiscproto-1.2.0 =x11-proto/xextproto-7.1.1 =x11-proto/xf86bigfontproto-1.2.0 =x11-proto/xf86dgaproto-2.1 =x11-proto/xf86driproto-2.1.0 =x11-proto/xf86vidmodeproto-2.3 =x11-proto/xineramaproto-1.2 =media-libs/mesa-7.6 I only wanted to try fglrx, because someone on the Ubuntu forums said that it stopped their laptop fan from running all the time (mine starts when the temperature reaches 50C or so and thereafter runs continuously). That's what I heard, too. Still, I have high CPU loads for the X process when running KDE4 with my Radeon 4200 GPU. Wonko
[gentoo-user] Dreaded broadcom BCM4312 wireless card causes DMA failures and crashes
Hi, Has anyone managed to get BCM4312, 802.11b/g (pcie) Device: pci 0x4315, going with the b43 module? b43-phy0 ERROR: Fatal DMA error: 0x0400, 0x, 0x, 0x, 0x, 0x b43-phy0: Controller RESET (DMA error) ... b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10) b43-phy0: Controller restarted b43-phy0 ERROR: Fatal DMA error: 0x0400, 0x, 0x, 0x, 0x, 0x I've unmasked and am using the latest firmware in portage and the b43 module from the gentoo-sources-2.6.32-r7 kernel. The card comes up, then authenticates and tries to get an IP address, but in less than a second after it gets an IP address it crashes with these recurring messages above. Is there a fix, or shall I go for the wl module by Broadcom or even give up and go for the ndiswrapper solution? -- Regards, Mick
Re: [gentoo-user] KDE4 doesn't heed hal keyboard settings
Am Donnerstag, 25. März 2010 schrieb Crístian Viana: I have the same problem as you have (but I need a pt_BR keyboard layout instead of de). I can't get it work with KDE 4 and Xorg/HAL, so my solution was to emerge xorg-server with USE flag hal disabled :-) I found the solution (at least for me, though it’s possible that it is your cause as well, I don’t really think it is). In my old system I had ibus installed so I could (theoretically) input Chinese, Japanese and the likes. I can’t read or write either of those, I only installed it for the unlikely case that a person who does wants to use my computer. So I didn’t install it again, but I still had the necessary environment variables set (XMODIFIERS, QT_IM_MODULE, GTK_MODULE). By removing them from my environment, all is fine again. :-) -- Gruß | Greetings | Qapla' Ladies fist, James Last. signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Dreaded broadcom BCM4312 wireless card causes DMA failures and crashes
On 26 March 2010 13:53, Mick michaelkintz...@gmail.com wrote: Hi, Has anyone managed to get BCM4312, 802.11b/g (pcie) Device: pci 0x4315, going with the b43 module? b43-phy0 ERROR: Fatal DMA error: 0x0400, 0x, 0x, 0x, 0x, 0x b43-phy0: Controller RESET (DMA error) ... b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10) b43-phy0: Controller restarted b43-phy0 ERROR: Fatal DMA error: 0x0400, 0x, 0x, 0x, 0x, 0x I've unmasked and am using the latest firmware in portage and the b43 module from the gentoo-sources-2.6.32-r7 kernel. The card comes up, then authenticates and tries to get an IP address, but in less than a second after it gets an IP address it crashes with these recurring messages above. Is there a fix, or shall I go for the wl module by Broadcom or even give up and go for the ndiswrapper solution? Posted too early perhaps. There seems to be a patch coming for the 2.6.33 kernels. Will have to wait I guess. https://patchwork.kernel.org/patch/66064/ -- Regards, Mick
Re: [gentoo-user] ATI-drivers versioning system - I'm confused
On 26 Mar, Alex Schuster wrote: Mick writes: On 25 March 2010 11:50, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Many thanks, do you have an estimate when 10.4 appears in the tree? Helmut. I can't answer that (as far as I know the devs will only say that it will appear when it is ready) but I got myself into a pickle with trying to switch from radeon to fglrx driver, running xorg-server 1.7.6. I think you have to wait for ati-drivers-10.4 to work with xorg-1.7. I just want to report back, that xorg-server-1.7.6 (+ friends) is running just fine with x11-drivers/ati-drivers-8.721 . The only minor problem was that one has to re-emerge all other installed x11-drivers/* packages. Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] f-spot depends on mono?
On Freitag 26 März 2010, Xi Shen wrote: On Fri, Mar 26, 2010 at 7:51 AM, Neil Bothwick n...@digimed.co.uk wrote: On Fri, 26 Mar 2010 07:37:04 +0800, Xi Shen wrote: yeah, digikam is great. i tried it on kde. but i am using gnome, and i want to keep my system compact. Then why are you using GNOME? so, you mean kde is more compact than gnome? but i found it took me much longer time to build kde than to build gnome. actually, i were using kde for a while, and just want to switch to gnome to see how the system works. anyway, many other linux distros use gnome as the standard desktop, i think there's a reason. Novell took over Ximian - a gnome company. Then Suse - and tried to kill KDE in Suse. Redhat always was gnome shop for no good reasons at all. Also many KDE haters there. Debian used gnome in the past for licencing reasons. Today they should use KDE for licencing reasons. No reason at all to use gnome. Ubuntu uses just what debian uses. Because they are leeches. If you want a free* system, gnome is not a choice. *free as defined by FSF - unrelated to freedom,
Re: [gentoo-user] Image viewer with brightness/contrast adjustments
Frank Steinmetzger wrote: Am Freitag, 26. März 2010 schrieb Dale: Ohh. Please permit me to add one more needed feature then. GUI. Some of my pics are nested pretty deep, because of my organizing skills or lack thereof. LOL [...] This reminds me of the cereal isle in a grocery store. We stand there trying to pick which one we want and 80% of them are made from corn. Basically the same thing but different and we can't choose the one we want. That’s easy - I take the big value pack. It’s cheaper per kilogram than the really good stuff, but still tastes better than the cheap stuff. But back to the topic: I believe xv hasn’t been mentioned yet. It’s an old generic image viewer for X with editing capabilities. I use Gimp for all editing though. I’m OK with the loading time, because nothing compares to it feature-wise. I tried krita, but I didn’t like its shortcomings at navigating in a big/zoomed image. In Gimp I can use (shift and ctrl plus) the scroll wheel, in Krita, all of those do the same. I get the bagged cereal too. It's as good as the brand name and lots cheaper. That box must cost a lot to make compared to a baggie. lol I do use GIMP a lot. When I need to seriously edit a pic, scale, crop, or do other things then I use GIMP. Most of the time tho, I just want to open a image and change the brightness so I can see something in it. I don't even save the change, I just view it. Maybe I need a faster rig. ;-) Dale :-) :-)
Re: [gentoo-user] Re: help
KH wrote: Am 26.03.2010 00:24, schrieb Dale: I would have to modify the script since it does random too. If KDE4 isn't broke now, I would surely finish it off if I started writing scripts. LOL I would think it could be disabled somehow but the folks on KDE mailing list couldn't find a way either. I even searched around in the config files and maybe changing a USE flag. Still nothing yet. I really think it will be there eventually tho. Here's to hoping. Dale :-) :-) USE=-random emerge kde4 - Having something like that would be fun :-) kh Just for giggles: r...@smoker ~ # euse -i random global use flags (searching: random) no matching entries found local use flags (searching: random) no matching entries found r...@smoker ~ # Maybe it will be added later. LOL What gets me, this is so simple and trivial. It sure does mess up my slide show tho. Dale :-) :-)
Re: [gentoo-user] ATI-drivers versioning system - I'm confused
Helmut Jarausch writes: On 26 Mar, Alex Schuster wrote: I think you have to wait for ati-drivers-10.4 to work with xorg-1.7. I just want to report back, that xorg-server-1.7.6 (+ friends) is running just fine with x11-drivers/ati-drivers-8.721 . The only minor problem was that one has to re-emerge all other installed x11-drivers/* packages. Thanks! I will upgrade my X then when I have a little spare time. Wonko
[gentoo-user] libvdpau (?)
I'd like to compile ffmpeg with vdpau - direct NVidia hardware acceleration. This is a configuration flag for ffmpeg. Setting the vdpau use flag seems to set the configuration flag, but also brings in the x11-libs/libvdpau libraries which I think I do not want, as my NVidia proprietary driver provides these libraries. 1. How do I enable the vdpau configuration flag for compiling ffmpeg, without bringing in x11-libs/libvdpau? (Sigh.. I suppose one work around is to bring them in, then reinstall the proprietary driver ) TIA
Re: [gentoo-user] libvdpau (?)
do you have VIDEO_CARDS set in your make.conf? On Fri, Mar 26, 2010 at 8:18 AM, 7v5w7go9ub0o 7v5w7go9u...@gmail.comwrote: I'd like to compile ffmpeg with vdpau - direct NVidia hardware acceleration. This is a configuration flag for ffmpeg. Setting the vdpau use flag seems to set the configuration flag, but also brings in the x11-libs/libvdpau libraries which I think I do not want, as my NVidia proprietary driver provides these libraries. 1. How do I enable the vdpau configuration flag for compiling ffmpeg, without bringing in x11-libs/libvdpau? (Sigh.. I suppose one work around is to bring them in, then reinstall the proprietary driver ) TIA
Re: [gentoo-user] Re: gnome fails to install with error 2
On 3/24/10, David Mehler dave.meh...@gmail.com wrote: Hello, I don't know what error 2 means and the build.log wasn't of much help. I don't know gnome packages, but I'd guess finding error 1 would be in order. Somewhere, maybe far, above. What was of greater help was this link: http://bugs.gentoo.org/278292 I didn't get the error specifically about libxml2 as this seems to indicate. I tried the fix however. Once I install libxml2 gnome completed installation. I think the 2.6 dependency list might need updating. Thanks. Dave. Are you sure you haven't missed running python-updater and/or revdep-rebuild? My bets on that bug report (as well as your system, given the very limited amount of info so far) would be on probably a broken system. For example, the bug reporter is freely mixing and matching ancient stable stage3 packages with bleeding-edge testing stuff from ~arch. And all this without -uDN options for emerge (nor revdep-rebuilds), so he really gets a fully mixed-up bag of untested combinations. And then it all backfired on him ... probably his ancient python from the stage3 tarball got bumped to a later version anyway, and thus all python-related packages would sorely need re-emerging, i.e., running python-updater or a manual emerge ... What we'd need is some actual log outputs revealing what is going on. Maybe it is a bug. Maybe it is just a broken system. Maybe it is both? -- Arttu V.
Re: [gentoo-user] Image viewer with brightness/contrast adjustments
On Thu, Mar 25, 2010 at 08:22:03PM -0500, Dale wrote: Ohh. Please permit me to add one more needed feature then. GUI. Some of my pics are nested pretty deep, because of my organizing skills or lack thereof. LOL How'bout google picasa? W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] libvdpau (?)
yes, because ffmpeg compiles against the shared library called vdpau to do the hardware acceleration ... so, the dependency IS necessary ... the driver installed externally also provides it the USE variable modifies the configuration of the package, so, if you remove vdpau, you won't compile with vdpau support ... you can use the variable EXTRA_ECONF to pass parameters to ./configure and manually add vdpau, but I don't know if there's an option to modify that on a package basis (like /etc/portage/package.use ) .. instead of a global var ... without touching ebuilds ... ¿ any hint about that? Alex ~ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Image viewer with brightness/contrast adjustments
Willie Wong wrote: On Thu, Mar 25, 2010 at 08:22:03PM -0500, Dale wrote: Ohh. Please permit me to add one more needed feature then. GUI. Some of my pics are nested pretty deep, because of my organizing skills or lack thereof. LOL How'bout google picasa? W Isn't that pretty large too? r...@smoker ~ # equery size kview * kde-base/kview-3.5.10 Total files : 110 Total size : 1.09 MiB r...@smoker ~ # That's pretty small and it loads fast too. I just wish they had a version for KDE4. Dale :-) :-)
[gentoo-user] Re: libvdpau (?)
On 03/26/10 13:25, Kaddeh wrote: do you have VIDEO_CARDS set in your make.conf? Yes; and VIDEO_CARDS=nvidia seems to be picked up just fine. Thanks for helping.
[gentoo-user] Re: libvdpau (?)
On 03/26/10 14:29, Alex Kuster wrote: yes, because ffmpeg compiles against the shared library called vdpau to do the hardware acceleration ... so, the dependency IS necessary ... Thanks for the reply. Just downloaded the ffmpeg source distribution and FWICT, the ffmpeg source distribution includes the necessary code: ./libavcodec/vdpau.c ./libavcodec/vdpau_internal.h ./libavcodec/vdpau.h Unless there are additional snippets, it appears that ffmpeg (for one) doesn't need vdpau. [] you can use the variable EXTRA_ECONF to pass parameters to ./configure and manually add vdpau, but I don't know if there's an option to modify that on a package basis (like /etc/portage/package.use ) .. instead of a global var ... without touching ebuilds ... Didn't work; FWICT, EXTRA_ECONF provides limited function http://bugs.gentoo.org/38618 Is there a file anywhere that I can edit, which mandates that to use the vdpau use flag, I have to have the vdpau package installed? TIA
[gentoo-user] Re: libvdpau (?)
Is there a file anywhere that I can edit, which mandates that to use the vdpau use flag, I have to have the vdpau package installed? geze.. there it is in the ebuild. Removed the dependency and all compiles/works well. Thanks for the time and help!!
[gentoo-user] Kernel2.6.33: ATA failed command: READ FPDMA QUEUED, hard resetting link
Hi, Setting up and testing my new system (after wasting nearly 1 month with bad RAM modules), I got this error today: [48055.741389] ata3.00: exception Emask 0x0 SAct 0x2 SErr 0x0 action 0x6 frozen [48055.741393] ata3.00: failed command: READ FPDMA QUEUED [48055.741398] ata3.00: cmd 60/20:08:38:15:03/01:00:18:00:00/40 tag 1 ncq 147456 in [48055.741400] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [48055.741402] ata3.00: status: { DRDY } [48055.741405] ata3: hard resetting link [48056.198746] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [48056.210514] ata3.00: configured for UDMA/133 [48056.210518] ata3.00: device reported invalid CHS sector 0 [48056.210523] ata3: EH complete I really don't understand what it means, but the timeout, hard resetting link and invalid CHS sector 0 look scary to me... Initial bootup messages for this device were: Mar 25 22:02:32 [kernel] [4.496102] ata3: SATA max UDMA/133 abar m2...@0xfbffc000 port 0xfbffc200 irq 34 Mar 25 22:02:32 [kernel] [8.519169] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300) Mar 25 22:02:32 [kernel] [8.536681] ata3.00: ATA-8: SAMSUNG HD203WI, 1AN10002, max UDMA/133 Mar 25 22:02:32 [kernel] [8.548388] ata3.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA Mar 25 22:02:32 [kernel] [8.566100] ata3.00: configured for UDMA/133 That disk is part of a md RAID5, but I was at work when this error happened so I didn't notice if the RAID repaired itself or whatever would happen in this case (I don't have mdadm monitoring configured yet). Right now all RAID disks are all up and healthy. I googled it but most of the results are pastebin snippets. I'm using kernel 2.6.33 and ahci driver for the SATA controllers. From libata documentation in the section about timeout errors it says: Most often this is due to an unrelated interrupt subsystem bug (try booting with 'pci=nomsi' or 'acpi=off' or 'noapic'), which failed to deliver an interrupt when we were expecting one from the hardware. I really don't know the potential implications of disabling MSI or APIC, but in /proc/interrupts I do see AHCI related to both MSI and APIC rows. So at least I know they are active right now. Temperatures in my system are good, hddtemp says the drive in question is 21C degrees right now. Another possibility is that I need to increase voltage on the motherboard, since it is running 6 hdd's and 1 DVD-ROM. I'll have to research to see which voltage is related to this. (X58 motherboard) Thanks in advance if anyone has any knowledge about this, otherwise I go to trial-and-hopefully-no-error mode. :) Paul
[gentoo-user] CPU choking under high load
I don't know if this is a hardware issue or not, but I thought that maybe I'd configured my kernel incorrectly and that this might be a known issue someone here has run across in the past so here goes: My computer is a pretty impressive AMD 64 X2 Dual Core Processor 6400+ box with 2GB of RAM and for the most part, I just use it to write code at work. However, whenever I'm doing something CPU-intensive, two things happen: * The load on the box goes up to 4 * The box intermittently wobbles from running at full-speed and dropping to a crawl. This is best seen while watching Flash videos online, compressing/encoding video, or compiling. Everything is fine for a few minutes, then suddenly the rate of compiling/compression/playback etc. drops to a crawl for about 1-3minutes, then back up to full speed. I don't know why it's happening. I've tried various kernel options with no change in behaviour. Outside of that though, I don't know what to try. Suggestions welcome :-(
Re: [gentoo-user] CPU choking under high load
I don't know if this is a hardware issue or not, but I thought that maybe I'd configured my kernel incorrectly Did this behavior start after a kernel upgrade? If yes, what was the previous kernel version and what version are you running now? -- Kyle
Re: [gentoo-user] libvdpau (?)
On Fri, Mar 26, 2010 at 10:18 AM, 7v5w7go9ub0o 7v5w7go9u...@gmail.com wrote: I'd like to compile ffmpeg with vdpau - direct NVidia hardware acceleration. This is a configuration flag for ffmpeg. Setting the vdpau use flag seems to set the configuration flag, but also brings in the x11-libs/libvdpau libraries which I think I do not want, as my NVidia proprietary driver provides these libraries. AFAIK Nvidia split the vdpau off into libvdpau late last year sometime. On my system I use both nvidia-drivers and libvdpau without issue. libvdpau provides libvdpau.so while nvidia-drivers provides libvdpau_nvidia.so Here are my versions: x11-libs/libvdpau-0.3-r2 x11-drivers/nvidia-drivers-195.36.15 Are you using older versions? I use ~amd64 so maybe if you run stable it has the older versions.
Re: [gentoo-user] Re: libvdpau (?)
On 26/03/10 20:02, 7v5w7go9ub0o wrote: Is there a file anywhere that I can edit, which mandates that to use the vdpau use flag, I have to have the vdpau package installed? geze.. there it is in the ebuild. Removed the dependency and all compiles/works well. Obviously you didn't look at the ebuild for libvdpau. It's only a wrapper. On my system, it's a mere 5960 bytes. libvdpau_trace is only another 51040 bytes. Quite why you felt you had to jump through such hoops to create a potentially broken system is beyond me. ;) Be lucky, Neil http://www.neiljw.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: [gentoo-user] Kernel2.6.33: ATA failed command: READ FPDMA QUEUED, hard resetting link
On 26/03/10 20:17, Paul Hartman wrote: I'm using kernel 2.6.33 and ahci driver for the SATA controllers. I never had good results with the ahci driver - hardware-specific drivers have always worked better for me. Another possibility is that I need to increase voltage on the motherboard, since it is running 6 hdd's and 1 DVD-ROM. I'll have to research to see which voltage is related to this. (X58 motherboard) No, no, no! Don't touch the motherboard voltages! They have nothing to do with the connected drives. Surely you must have noticed that power to the drives comes directly from the power supply. If the drives are not receiving sufficient voltage, a new, bigger power supply is the only option. Be lucky, Neil http://www.neiljw.com/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: [gentoo-user] CPU choking under high load
On 26/03/10 20:47, Daniel Quinn wrote: I don't know why it's happening. I've tried various kernel options with no change in behaviour. Outside of that though, I don't know what to try. Suggestions welcome :-( It sounds very much to me like a lack of physical memory and your system is resorting to the swap partition. What does free report? Be lucky, Neil http://www.neiljw.net/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: [gentoo-user] Kernel2.6.33: ATA failed command: READ FPDMA QUEUED, hard resetting link
On Fri, Mar 26, 2010 at 4:31 PM, Neil Walker n...@ep.mine.nu wrote: On 26/03/10 20:17, Paul Hartman wrote: I'm using kernel 2.6.33 and ahci driver for the SATA controllers. I never had good results with the ahci driver - hardware-specific drivers have always worked better for me. Another possibility is that I need to increase voltage on the motherboard, since it is running 6 hdd's and 1 DVD-ROM. I'll have to research to see which voltage is related to this. (X58 motherboard) No, no, no! Don't touch the motherboard voltages! They have nothing to do with the connected drives. Surely you must have noticed that power to the drives comes directly from the power supply. If the drives are not receiving sufficient voltage, a new, bigger power supply is the only option. Well, I was thinking more about something like alteriong IOH/ICH voltage, or whichever voltage powers the SATA controllers. It has 12 SATA headers on this motherboard but I don't know how much it can realistically handle at once. Hopefully all of my disks. :)
Re: [gentoo-user] f-spot depends on mono?
On Thu, Mar 25, 2010 at 4:44 PM, Xi Shen davidshe...@googlemail.com wrote: On Thu, Mar 25, 2010 at 6:37 PM, Jacob Todd jaketodd...@gmail.com wrote: F-spot is written in mono. oh...what a hell of mistake i made. so, what do people do to manage photos on gnome? i do not like this mono one. I use geequie: http://geeqie.sourceforge.net/. I don't know about mono features, but this image viewer is quite decent. It is a fork of gqview. HTH.
Re: [gentoo-user] Image viewer with brightness/contrast adjustments
On Fri, Mar 26, 2010 at 02:20:32PM -0500, Dale wrote: How'bout google picasa? Isn't that pretty large too? r...@smoker ~ # equery size kview * kde-base/kview-3.5.10 Total files : 110 Total size : 1.09 MiB r...@smoker ~ # Yes, it is large, but it has loads of features. Equery size tells me that picasa is ~100 MiB. But it has all the common image editing feature you want (include brightness, contrast, resize, crop ...) in a nice GUI, with a good gallery feature. And it helps with organizing the pictures. I use it to manage my photos. For viewing the picture, if size and speed is your main criterion, I go for media-gfx/qiv. It allows you to change the displayed brightness/contrast/gamma on the fly, but it is not good for modifying the files themselves. W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] CPU choking under high load
Daniel Quinn wrote: I don't know if this is a hardware issue or not, but I thought that maybe I'd configured my kernel incorrectly and that this might be a known issue someone here has run across in the past so here goes: My computer is a pretty impressive AMD 64 X2 Dual Core Processor 6400+ box with 2GB of RAM and for the most part, I just use it to write code at work. However, whenever I'm doing something CPU-intensive, two things happen: * The load on the box goes up to 4 * The box intermittently wobbles from running at full-speed and dropping to a crawl. This is best seen while watching Flash videos online, compressing/encoding video, or compiling. Everything is fine for a few minutes, then suddenly the rate of compiling/compression/playback etc. drops to a crawl for about 1-3minutes, then back up to full speed. I don't know why it's happening. I've tried various kernel options with no change in behaviour. Outside of that though, I don't know what to try. Suggestions welcome :-( Shot in the dark here. Could it be that something is getting hot, or thinks it is getting hot, and slows down processing in a effort to cool things down a bit? I don't know if this is just laptops but I think there is a option in the kernel to do this. I don't use it but it may be worth checking into. Maybe it was turned on by default. Dale :-) :-)
Re: [gentoo-user] CPU choking under high load
On Fri, Mar 26, 2010 at 3:47 PM, Daniel Quinn expendabl...@danielquinn.org wrote: I don't know if this is a hardware issue or not, but I thought that maybe I'd configured my kernel incorrectly and that this might be a known issue someone here has run across in the past so here goes: My computer is a pretty impressive AMD 64 X2 Dual Core Processor 6400+ box with 2GB of RAM and for the most part, I just use it to write code at work. However, whenever I'm doing something CPU-intensive, two things happen: * The load on the box goes up to 4 * The box intermittently wobbles from running at full-speed and dropping to a crawl. This is best seen while watching Flash videos online, compressing/encoding video, or compiling. Everything is fine for a few minutes, then suddenly the rate of compiling/compression/playback etc. drops to a crawl for about 1-3minutes, then back up to full speed. I don't know why it's happening. I've tried various kernel options with no change in behaviour. Outside of that though, I don't know what to try. Suggestions welcome :-( My initial thoughts, it sounds like what I experienced a few kernels ago when they introduced the new group scheduler features. In my case I disabled Group CPU scheduler in kernel config and changed from SLUB back to SLAB. Also perhaps try to change your preemption model, timer frequency, NO_HZ mode. These things have all had noticeable differences to me in responsiveness over the years. If it's not a kernel issue, perhaps use nice to tame CPU-hungry processes, or ionice if they are disk-intensive. Be sure your Video Card is not overheating or going into low-power mode. Nvidia cards go into a super-slow-mode when they overheat (happened to me 3 times when the fan on the card died). When that happened, for example my FPS in glxgears would go from thousands down to double digits... I could see lines painting on the screen, it was painfully slow. Also, if your CPU has frequency scaling make sure it's not gone crazy, cat /proc/cpuinfo to see CPU speed, or powertop might be a more friendly way to view the P-States. Download memtest86+ from memtest.org and run it to be sure you don't have any faulty RAM (in my experience tests 5 and 8 are the only ones that ever show any errors, so you can save time by only running one full pass of all tests and then a multiple passes of 5 and 8 just to be sure it's good)
Re: [gentoo-user] CPU choking under high load
On Fri, Mar 26, 2010 at 5:43 PM, Dale rdalek1...@gmail.com wrote: Daniel Quinn wrote: I don't know if this is a hardware issue or not, but I thought that maybe I'd configured my kernel incorrectly and that this might be a known issue someone here has run across in the past so here goes: My computer is a pretty impressive AMD 64 X2 Dual Core Processor 6400+ box with 2GB of RAM and for the most part, I just use it to write code at work. However, whenever I'm doing something CPU-intensive, two things happen: * The load on the box goes up to 4 * The box intermittently wobbles from running at full-speed and dropping to a crawl. This is best seen while watching Flash videos online, compressing/encoding video, or compiling. Everything is fine for a few minutes, then suddenly the rate of compiling/compression/playback etc. drops to a crawl for about 1-3minutes, then back up to full speed. I don't know why it's happening. I've tried various kernel options with no change in behaviour. Outside of that though, I don't know what to try. Suggestions welcome :-( Shot in the dark here. Could it be that something is getting hot, or thinks it is getting hot, and slows down processing in a effort to cool things down a bit? I don't know if this is just laptops but I think there is a option in the kernel to do this. I don't use it but it may be worth checking into. Maybe it was turned on by default. Sometimes in the BIOS this happens, too. At work a few years ago we had a Dell laptop where it thought the temperature was 200C degrees all the time, so it would run the fan at full speed and go into lowest-power mode etc. Once we determined it wasn't really 200C, we found out it was a buggy BIOS and upgrading it solved the problem. Nobody knows why the laptop worked fine for 2 years and then suddenly exhibited this problem, but I was glad to get it fixed so I would stop hearing the fan blowing at max speed in the cubicle next to mine. :)
Re: [gentoo-user] f-spot depends on mono?
On Fri, 26 Mar 2010 15:39:51 +0100, Volker Armin Hemmann wrote: Redhat always was gnome shop for no good reasons at all. Wasn't it because of the not-very-free licensing of QT at the time? -- Neil Bothwick A man needs a mistress - just to break the monogamy signature.asc Description: PGP signature
Re: [gentoo-user] Image viewer with brightness/contrast adjustments
Willie Wong wrote: On Fri, Mar 26, 2010 at 02:20:32PM -0500, Dale wrote: How'bout google picasa? Isn't that pretty large too? r...@smoker ~ # equery size kview * kde-base/kview-3.5.10 Total files : 110 Total size : 1.09 MiB r...@smoker ~ # Yes, it is large, but it has loads of features. Equery size tells me that picasa is ~100 MiB. But it has all the common image editing feature you want (include brightness, contrast, resize, crop ...) in a nice GUI, with a good gallery feature. And it helps with organizing the pictures. I use it to manage my photos. For viewing the picture, if size and speed is your main criterion, I go for media-gfx/qiv. It allows you to change the displayed brightness/contrast/gamma on the fly, but it is not good for modifying the files themselves. W I installed qiv but it appeared to be command line. I tried to open a picture but all it did was turn my screen black. Weird. It is small tho. ;-) It loaded fast but no picture. Dale :-) :-)
[gentoo-user] 8 bays/drives in server: only 6 seen in gentoo
Does anyone know this? I run 2.6.27-gentoo-r8 on a server, amd64 .. It has 8 hotswap-bays for hdds and lspci says it uses a --- Intel Corporation 631xESB/632xESB SATA AHCI Controller So far I used the ahci-kernel-module, it worked. Until now we used only 4 hdds in that box, today I added 4 more. But I only see six drives ... /dev/sd[a-f] ... no /dev/sd[gh] hmmm I don't know if all the bays are wired correctly, I would have to take the server offline for a longer period to check that. But I think one could expect those hotswap-bays wired ready to use. My thought is, maybe the ahci-module is/was somehow limited with this kernel? Maybe I should use another module? This server is remote, so I have to be careful right now. Thanks for any hints, Stefan
Re: [gentoo-user] CPU choking under high load
Paul Hartman wrote: On Fri, Mar 26, 2010 at 5:43 PM, Dale rdalek1...@gmail.com wrote: Daniel Quinn wrote: I don't know if this is a hardware issue or not, but I thought that maybe I'd configured my kernel incorrectly and that this might be a known issue someone here has run across in the past so here goes: My computer is a pretty impressive AMD 64 X2 Dual Core Processor 6400+ box with 2GB of RAM and for the most part, I just use it to write code at work. However, whenever I'm doing something CPU-intensive, two things happen: * The load on the box goes up to 4 * The box intermittently wobbles from running at full-speed and dropping to a crawl. This is best seen while watching Flash videos online, compressing/encoding video, or compiling. Everything is fine for a few minutes, then suddenly the rate of compiling/compression/playback etc. drops to a crawl for about 1-3minutes, then back up to full speed. I don't know why it's happening. I've tried various kernel options with no change in behaviour. Outside of that though, I don't know what to try. Suggestions welcome :-( Shot in the dark here. Could it be that something is getting hot, or thinks it is getting hot, and slows down processing in a effort to cool things down a bit? I don't know if this is just laptops but I think there is a option in the kernel to do this. I don't use it but it may be worth checking into. Maybe it was turned on by default. Sometimes in the BIOS this happens, too. At work a few years ago we had a Dell laptop where it thought the temperature was 200C degrees all the time, so it would run the fan at full speed and go into lowest-power mode etc. Once we determined it wasn't really 200C, we found out it was a buggy BIOS and upgrading it solved the problem. Nobody knows why the laptop worked fine for 2 years and then suddenly exhibited this problem, but I was glad to get it fixed so I would stop hearing the fan blowing at max speed in the cubicle next to mine. :) I have the very same problem with my GX700 msi laptop. I determined the cause was a dirty cooler. Every time I blow the dust out of the fan it can run hours without throttling itself. If maybe your cpu-cooler is undersized and has collected a lot of dust, cleaning it could solve your problem. Johannes
Re: [gentoo-user] 8 bays/drives in server: only 6 seen in gentoo
Doesn't help right now but it sounds like an expander cable might be loose. On 3/26/10, Stefan G. Weichinger li...@xunil.at wrote: Does anyone know this? I run 2.6.27-gentoo-r8 on a server, amd64 .. It has 8 hotswap-bays for hdds and lspci says it uses a --- Intel Corporation 631xESB/632xESB SATA AHCI Controller So far I used the ahci-kernel-module, it worked. Until now we used only 4 hdds in that box, today I added 4 more. But I only see six drives ... /dev/sd[a-f] ... no /dev/sd[gh] hmmm I don't know if all the bays are wired correctly, I would have to take the server offline for a longer period to check that. But I think one could expect those hotswap-bays wired ready to use. My thought is, maybe the ahci-module is/was somehow limited with this kernel? Maybe I should use another module? This server is remote, so I have to be careful right now. Thanks for any hints, Stefan -- Sent from my mobile device Kyle
[gentoo-user] Re: libvdpau (?)
On 03/26/10 17:08, Paul Hartman wrote: On Fri, Mar 26, 2010 at 10:18 AM, 7v5w7go9ub0o7v5w7go9u...@gmail.com wrote: I'd like to compile ffmpeg with vdpau - direct NVidia hardware acceleration. This is a configuration flag for ffmpeg. Setting the vdpau use flag seems to set the configuration flag, but also brings in the x11-libs/libvdpau libraries which I think I do not want, as my NVidia proprietary driver provides these libraries. AFAIK Nvidia split the vdpau off into libvdpau late last year sometime. On my system I use both nvidia-drivers and libvdpau without issue. libvdpau provides libvdpau.so while nvidia-drivers provides libvdpau_nvidia.so Here are my versions: x11-libs/libvdpau-0.3-r2 x11-drivers/nvidia-drivers-195.36.15 Are you using older versions? I use ~amd64 so maybe if you run stable it has the older versions. AHA! THANKS! that explains a lot - including why they made libvdpau ebuild a requirement for ffmpeg. I didn't know that libvdpau ebuild is simply an open-source version of libvdpau.so. (The webpage describes a wrapper - duh, what's a wrapper? But I suppose that if libvdpau.so is the first in line, and subsequently loads other driver components, then it could be called a wrapper). Portage fell behind the NVidia driver releases a while back - probably before the split you described - so I then started installing drivers directly from NVidia.com, and not portage. (And NVidia continues to bundle libvdpau.so (proprietary?) along with the other components.) So when ffmpeg wanted to add a wrapper to the mix, I decided no thanks and started this thread - finally figuring out that I needed to remove the requirement from the ebuild. Having libvdpau.so, everything worked fine. Now that I know what it is, I've installed the libvdpau package and updated the portage NV drivers to current. If portage keeps current I'll use it; if portage again falls behind I should be able to use NVidia.com and ffmpeg will compile either way. Thanks again for your help.
Re: [gentoo-user] f-spot depends on mono?
On Freitag 26 März 2010, Neil Bothwick wrote: On Fri, 26 Mar 2010 15:39:51 +0100, Volker Armin Hemmann wrote: Redhat always was gnome shop for no good reasons at all. Wasn't it because of the not-very-free licensing of QT at the time? and that was how many years ago? They also had no qualms about other non-free stuff.
Re: [gentoo-user] Kernel2.6.33: ATA failed command: READ FPDMA QUEUED, hard resetting link
On 26 Mar 2010, at 20:17, Paul Hartman wrote: ... Setting up and testing my new system (after wasting nearly 1 month with bad RAM modules), I got this error today: [48055.741389] ata3.00: exception Emask 0x0 SAct 0x2 SErr 0x0 action 0x6 frozen [48055.741393] ata3.00: failed command: READ FPDMA QUEUED [48055.741398] ata3.00: cmd 60/20:08:38:15:03/01:00:18:00:00/40 tag 1 ncq 147456 in [48055.741400] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [48055.741402] ata3.00: status: { DRDY } [48055.741405] ata3: hard resetting link [48056.198746] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [48056.210514] ata3.00: configured for UDMA/133 [48056.210518] ata3.00: device reported invalid CHS sector 0 [48056.210523] ata3: EH complete I really don't understand what it means, but the timeout, hard resetting link and invalid CHS sector 0 look scary to me... How new is this motherboard? One may see something similar if one connects a SATA2 drive to an older SATA motherboard without the jumper (on the drive) set to restrict it to 1.5 Gbps. Stroller.
Re: [gentoo-user] Kernel2.6.33: ATA failed command: READ FPDMA QUEUED, hard resetting link
On 26 Mar 2010, at 22:21, Paul Hartman wrote: ... Well, I was thinking more about something like alteriong IOH/ICH voltage, or whichever voltage powers the SATA controllers. It has 12 SATA headers on this motherboard but I don't know how much it can realistically handle at once. Hopefully all of my disks. :) Honestly, I'm not sure that I'd do that. If I thought it was a power issue - and that seems quite a reasonable possibility - I would replace the PSU first. What PSU are you using at the moment? Brand / wattage? I think these are probably overkill: http://www.bluepoint.net/AKAPSU066 http://www.bluepoint.net/AKAPSU071 However, if you're using a 450W PSU at the moment, you can get an OCZ branded 600W for less than £50. I tend to be suspicious of cheap unbranded and Wong Fu 350W - 450W PSUs. Often a 350W PSU from a manufacturer with a half-decent brand (eg Trust) will be better than a no-name 450W PSU. It seems important not only the actual wattage that the PSU gives out (measured with an analogue-needle multimeter) but also how stable that voltage is, how smooth, consistent and reliable it is. Unless your PSU is absolute top-notch quality, try to under-utilise it. With 6 x hard-drives, I would be generous with supplying power - I think a 600W PSU would easily be justified. Stroller.
[gentoo-user] Printing issue
Hi, I have an HP C4795 All-in-One Printer/Scanner/Copier. I had the thing working, with the exception that the scanner would only work with xsane when logged in as root. I haven't used the printer in a few days and have updated my system and the kernel since I last used it. Now, I can't get the darn thing to work. I can set up the printer used the CUPS web interface. I can send jobs to the printer and they will appear in the queue, but they just hang and won't print. I have no idea what I'm doing wrong. Any suggestions? Thanks in advance. Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org signature.asc Description: OpenPGP digital signature
[gentoo-user][kde4] system tray can only put into a panel?
hi, i am trying to reorganized the layout of the kde widgets to make the desktop looks more personalized. i found the panel is pretty useless, so i removed it; but i need the system tray, because some applications only put a icon into it. after i put the system tray widget onto the desktop, i found some icons cannot be displayed, but they are displayed fine when the tray in put into a panel. is this a bug on kde? is there a fix for this? -- Best Regards, David Shen http://twitter.com/davidshen84/
Re: [gentoo-user] Printing issue
CJoeB wrote: Hi, I have an HP C4795 All-in-One Printer/Scanner/Copier. I had the thing working, with the exception that the scanner would only work with xsane when logged in as root. I haven't used the printer in a few days and have updated my system and the kernel since I last used it. Now, I can't get the darn thing to work. I can set up the printer used the CUPS web interface. I can send jobs to the printer and they will appear in the queue, but they just hang and won't print. I have no idea what I'm doing wrong. Any suggestions? Thanks in advance. Colleen This may not help but I noticed something weird like this a while back. The only way I could fix it was to delete the printer and add it back again. Mine is a HP as well so this may be worth trying at least. Also note, you should use the HP tool to add this printer. I think it is hp-setup. On the scanner, it sounds like you need to be added to a group to access the scanner as a user. Look in /etc/group and see if you something scanner related. Hope that helps if no one else has a better idea. Dale :-) :-)
Re: [gentoo-user] Printing issue
100326 CJoeB wrote: I have an HP C4795 All-in-One Printer/Scanner/Copier. I updated my system and the kernel since I last used it. I send jobs to the printer and they appear in the queue, but they just hang and won't print. I had the same experience it turned out to be the new flag 'hpcups', which doesn't work with my antique printer. I recompiled Hplip with 'hpijs' all was well. Of course, this may not be your problem, but it's something to try. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca