Re: [pulseaudio-discuss] [gentoo-user] PulseAudio 1.0-r1 + Skype == Garbled output sound
On 28 September 2011 22:56, Spidey / Claudio spide...@gmail.com wrote: On Thu, Sep 29, 2011 at 00:44, Arun Raghavan arun.ragha...@collabora.co.uk wrote: On Thu, 2011-09-29 at 00:20 -0300, Spidey / Claudio wrote: I haven't tried the masked version, but I follow the PA maillist and haven't seen anything like that. I'm forwarding this message to them, let's see what they say about it. 1.0-r1 isn't masked and has been unleashed on unstable. :) I'll be sure to replicate their messages here in the future. Claudio Roberto França Pereira (a.k.a. Spidey) hardMOB - HTForum - @spideybr Engenharia de Computação - UFES 2006/1 On Wed, Sep 28, 2011 at 22:04, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: Hi all, As indicated by the subject, after installing PulseAudio-1.0-r1 the microphone output is garbled with Skype (2.2.0.35-r1). Downgrading PulseAudio fixes the problem. To be clear, incoming sound is fine (and any other sounds, AFAICT), the problem is only with outgoing sound. A bug on http://bugs.freedesktop.org under the PulseAudio product would be a good start. Please include the output of 'pactl list', 'alsa-info' and whether you face the same problem with any other recording program. -- Arun My bad, hadn't synced yet before that post. I'll test it throughly and tomorrow (today, 29/09) I'll give feedback. Can you reproduce the reported error? I won't file the bug just yet. Assuming you're talking to me ... I expect so. Would you like the pactl list and alsa-info too? And I assume this is when I've got PulseAudio-1.0-r1 installed? I do need Skype working though (I work remotely so Skype is rather important). Let me know if you need my help and I'll reinstall 1.0-r1 and get you the info.
Re: [gentoo-user] {OT} Development framework with access restriction?
svn can restrict access to directories http://stackoverflow.com/questions/2288810/how-to-restrict-svn-repository-user-account-to-one-directory That would be perfect if it allowed access per file instead of per directory. I thought about re-arranging the layout to accommodate that limitation but I don't think it makes sense. do you not want him to change it or do you not want him to be able to read your code? if you do not want him to read your code i'm guessing thats because of hardcoded DB-passwords etc? move them into config files. or checkout a working copy and replace the passwords with dummy strings. if you just don't want him to change your code (or after you cleaned out the things he is not allowed to read) you could import it into git, have him clone the repository and make all his changes/developments. then pull his changes and *carefully* observe the merge to make sure nothing of your code gets changed.
Re: [gentoo-user] {OT} Development framework with access restriction?
The problem with that is he will need to test his code in the working system. why in the production system? I need a way for him to be able to read/write to a certain file or files within the working system, but have no read/write access to any other files in the system. Is SFTP perhaps the way to go for this? - Grant For some reason I thought SFTP would provide access control but now I'm thinking it's just like SSH in that access control is based on file ownership and permissions? yes. If that's the case, can anyone think of a better way to control remote access to my files than chmod/chown? someone already did ;) http://www.gentoo-wiki.info/HOWTO_Use_filesystem_ACLs I think it would be nice if the access control were built into the transport mechanism, version control system, or something else already in use, but it doesn't sound like that's going to happen. its certainly possible to control the write access with ACLs. read access however is a different story because as soon as his code runs in the context of the webrowser he will likely be able to read the rest of the code.
Re: [gentoo-user] {OT} Development framework with access restriction?
On Thursday 29 Sep 2011 07:57:49 Jonas de Buhr wrote: The problem with that is he will need to test his code in the working system. why in the production system? I need a way for him to be able to read/write to a certain file or files within the working system, but have no read/write access to any other files in the system. Is SFTP perhaps the way to go for this? - Grant For some reason I thought SFTP would provide access control but now I'm thinking it's just like SSH in that access control is based on file ownership and permissions? yes. If that's the case, can anyone think of a better way to control remote access to my files than chmod/chown? someone already did ;) http://www.gentoo-wiki.info/HOWTO_Use_filesystem_ACLs I think it would be nice if the access control were built into the transport mechanism, version control system, or something else already in use, but it doesn't sound like that's going to happen. its certainly possible to control the write access with ACLs. read access however is a different story because as soon as his code runs in the context of the webrowser he will likely be able to read the rest of the code. I'm not sure if you are overcomplicating this by trying to use Unix permission. Have you instead considered webdav? You can restrict this to particular (apache) users/groups, directories, files. It also uses lockfiles so with two users editing a file simultaneously will cause a warning when you try to save it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] {OT} Development framework with access restriction?
On Wed, 28 Sep 2011 19:23:30 -0700, Grant wrote: For some reason I thought SFTP would provide access control but now I'm thinking it's just like SSH in that access control is based on file ownership and permissions? If that's the case, can anyone think of a better way to control remote access to my files than chmod/chown? ACLs. -- Neil Bothwick It may be that your sole purpose in life is simply to serve as a warning to others. signature.asc Description: PGP signature
[gentoo-user] Migrating from single disk to software raid1
Sanity check please gurus :) I've installed the new disks, partitioned them and created the md devices, which are now syncing. The kernel already has all the modules built in. I believe the next steps are; 1 mkfs the md devices 2 copy the partitions from the current disk to the mirror 3 edit fstab on the mirror 4 install mbr on both submirror disks 5 halt the box 6 set the bios boot order to the two sub mirrors 7 boot from mirror Is that incorrect or incomplete? Do I need to be concerned about disk devices being renamed when the original disk is removed?
Re: [gentoo-user] no sound with pulseaudio
You are absolutely right! when I added asound.conf again, all alsa sources are directed to pulseaudio and again no sound. I am not an expert with pulseaudio. If you can help me there, I would thank you. In the meanwhile I will see how to get it handled. As I got it (hopefully) solved, I will repost. Thanks Tamer Am 29.09.2011 02:58, schrieb Canek Peláez Valdés: I think I see the problem: the sound is getting through the digital output, not the analog one (near the end of pactl output). You need to set the analog output: pactl man page will tell you how (sorry, left the laptop at the office and I'm writing this on my phone). It's also possible to do it with gnome-sound-settings, in the hardware tab (if I remember correctly). Good luck. El 28/09/2011 20:27, Tamer Higazi th9...@googlemail.com mailto:th9...@googlemail.com escribió: Am 29.09.2011 01:27, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi th9...@googlemail.com mailto:th9...@googlemail.com wrote: Am 29.09.2011 00:03, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi th9...@googlemail.com mailto:th9...@googlemail.com wrote: Am 28.09.2011 23:28, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi th9...@googlemail.com mailto:th9...@googlemail.com wrote: Hi! I have configured pulseaudio according http://en.gentoo-wiki.com/wiki/PulseAudio but I simply have no sound. The pulseaudio playback volume meter shows me signal, and that the bars are jumping if I playback a music track. alsa-plugins (with pulseaudio USE flag) gst-plugins-pulse are installed. But I don't know what is being blocked, that I have no sound output at my headphones. PS: the headphones are ok. Any suggestions? What music player are you using? Did you set or modify ~/.asoundrc? ~/.asoundrc doesn't exist. I have /etc/asound.conf with these entries: pcm.pulse { type pulse } ctl.pulse { type pulse } for all alsa applications to be redirected to pulse! Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse, then you need to specify pulse as the virtual ALSA device. If you want all alsa applications to be redirected to pulse, you need: pcm.!default { type pulse } ctl.!default { type pulse } The players Rhythmbox, xine all with pulseaudio default output plugins. That should work. Did you check in sound settings that pulse is indeed the desired output What Desktop do you use? Gnome, latest 2.x version Is the pulseaudio daemon running? Yes! tamer@office ~ $ pstree -pu | grep puls |-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841) | |-{pulseaudio}(22839) | `-{pulseaudio}(22842) Looks OK. I have added all config files in /etc/pulse/ I wouldn't touch the files on /etc/pulse. I recommend first trying to make it work with the files included with pulseaudio (backup /etc/pulse, move the dir out of /etc and emerge again pulseaudio) before trying anything else. Supposedly, pulseaudio should just works. Since the first time I installed it I have never touched the files in /etc/pulse, except to change the log-level of the daemon. As requested, I moved the pulse folder somewhere else and remerged pulseaudio as well moved /etc/asound.conf somewhere else as well. No sound! Weird. I'm on GNOME 3, so things are a little different, and I don't remember exactly the dialogs, but instead of the Gentoo wiki page, I would follow this: http://www.pulseaudio.org/wiki/PerfectSetup And more specifically: http://www.pulseaudio.org/wiki/PerfectSetup#GNOME and http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications Also, in really weird cases, the ALSA device gets its volume muted: You can try to remove (back up first) /etc/asound.conf, and run (as root) alsamixer -V all I did, and fired all the bars up. nothing! really nothing! Really weird. and trying to unmute and turn up the volume on everything. When you hear something with any player, return the asound.conf to /etc and try again. Regards. I have the dumb feeling that one process is blocking the output, I hear in my headphones the white noise of my system, which wouldn't be there if the soundcard hadn't been initialised. It's more simple than that: if you see the bars movind in the mixer application, some sound should be made. Is there a way to find out which applications might make use of the soundcard right now?! Probably with strace or a similar tool; however, let me see first if I'm understanding the problem. This is a laptop? A usual tower machine! Core2 DUO, nothing's special! If so, the sound works without headphones? The internal speakers work? with the headphones all the time There are no internal speakers (not a notebook) Also, can you please post the output of pactl list? Yes of course, here it is: http://pastebin.com/raw.php?i=wDgy3x64 Regards. thanks Tamer
Re: [gentoo-user] Migrating from single disk to software raid1
Am 29.09.2011 11:00, schrieb Adam Carter: Sanity check please gurus :) I've installed the new disks, partitioned them and created the md devices, which are now syncing. The kernel already has all the modules built in. I believe the next steps are; 1 mkfs the md devices 2 copy the partitions from the current disk to the mirror 3 edit fstab on the mirror 4 install mbr on both submirror disks 5 halt the box 6 set the bios boot order to the two sub mirrors 7 boot from mirror Is that incorrect or incomplete? Do I need to be concerned about disk devices being renamed when the original disk is removed? Is /boot a partition on top of the md device? If it is, you should make sure to use the --metadata=0.90 when creating the md devices. If it is a separate md device, this should not be necessary. If you run into issues concerning the renaming, you can try to specify the md devices explicitly with the kernel parameter 'raid=noautodetect md=0,/dev/sda1,/dev/sdb1' Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Magic SysRq didn't work today
On Thursday 29 Sep 2011 04:40:15 Spidey / Claudio wrote: I have lived through some lock ups in the recent past, but that's because I've disassembled my desktop from it's case and assembled it at my working table. Since both PS/2 ports of the mobo are on my mouse pad (yeah, short cables, tight space), I eventually pull some cable os slap my video card. The first time X.org locked up, but ssh'ing from my Maemo phone did the trick (had to disable kexec and reboot from the bios, though). The second time I couldn't do that, my video card cooler fans stopped, and I had to pull the power plug and wait a few moments. That time I thought that some money would be spent on a new motherboard or video card. But rest assured, no computer components were harmed in those accidents. Ending the off topic, I had lock downs and headaches when messing with reiser4. I'd say that recently built experimental code in the kernel is something that would trigger lock ups. I was running reiser4 for more than a year and found it rather temperamental on my hardware (hard lock ups, corrupted fs, etc). Eventually, I replaced it with ext4 and have not had problems since. For me reiser4 seemed to perform better (as in faster) than ext4, in all but mounting speeds. YMMV -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Motherboard support?
On 09/29/2011 08:18 AM, Dale wrote: Nilesh Govindarajan wrote: On Thu 29 Sep 2011 06:42:42 AM IST, Nilesh Govindarajan wrote: That's debian HCL, what about Gentoo? We compile the kernel ourselves man. It would be better if we don't use debian/Ubuntu HCL to decide HW for other distros, they're most popular ones and have lot of support from hardware manufacturers, hence good support for hardware using propreitary drivers which is seldom present in other distros. I just checked that HCL: http://kmuto.jp/debian/hcl/Giga-byte/GA-880GM-USB3 It seems things are supported since linux-2.6.25, we're now using 3.0.4 and above. Should be OK right? As a general rule, hardware support is in the kernel. It shouldn't matter much whether it is Gentoo, Redhat, Debian or any other distro. It just matters that the kernel supports the hardware. I would imagine that anything listed there as working is supported by Linux with a up to date kernel. It all comes down to the kernel. By the way, the kernel tested against is listed in the top right hand corner if I recall correctly. You seem to have noticed that too. If the mobo is a new design or new chipset, try to get at least that version of kernel. I know that it is actually in the kernel, but some companies like Nvidia package propreitary drivers only for Ubuntu/Debian, so it at times makes sense to check it out in detail. I have had lot of fights over this point on twitter with friends, in fact it resulted in myself getting blocked (and unblocked later hehe). If it shows things are working for the mobo you are checking on, it should work fine. I think the 880 chipset has been out a while so it should be really stable by now. I seem to recall it was out when I bought my new setup but was still getting worked on for drivers. By the way, it is always somewhat wise to buy things that have been out for a while. If you are building a spare or something to play with, then newer stuff is fine. I say this because some very new hardware may not have all the kinks worked out. Unless you really really need the latest and greatest, pick a slightly older setup. When I picked mine, it was about a year old. That is usually plenty of time to let the drivers stabilize. It can also save you some money too. Now to be nosy, how many cores and how much ram you planning to put in this new rig? I have a 4 core 3.2Ghz CPU with 16Gbs of ram. Compared to my older AMD 2500+ with 2Gbs of ram, the new rig is super fast. My old rig was named smoker because at the time it was built, it was smoking. My new rig is named fireball. I guess lightening will be next. After that, someone will just have to bury me. Not much is faster than lightening. lol Dale :-) :-) P. S. If you get your things selected and want someone to double check, I'd be glad too. I posted mine on here to make sure I hadn't missed anything. The mobo, CPU and ram are the most essential things that have to be right. You have some wobble room on the rest. Also, Gigabyte has a list of supported ram and CPUs on their website. That comes in handy. Quad Core 3.2 Ghz with 16 GB of RAM that's big piece man. Well as I said earlier, I'm thinking of that 1075T thing and may be 4-8 GB of RAM (depends on cost, because I've to get myself a 22 or 24 inch LCD as well), but since bulldozers are going to be launched on 12th October, I'll prefer to wait, they have tons of new virtualization-related features. Will save me from installing windows directly onto the machine to play games (I usually don't, but after getting such a powerful machine, may be) and troubling it for no reason with that piece of bullshit. -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Migrating from single disk to software raid1
On Thu 29 Sep 2011 05:02:40 PM IST, Florian Philipp wrote: Am 29.09.2011 11:00, schrieb Adam Carter: Sanity check please gurus :) I've installed the new disks, partitioned them and created the md devices, which are now syncing. The kernel already has all the modules built in. I believe the next steps are; 1 mkfs the md devices 2 copy the partitions from the current disk to the mirror 3 edit fstab on the mirror 4 install mbr on both submirror disks 5 halt the box 6 set the bios boot order to the two sub mirrors 7 boot from mirror Is that incorrect or incomplete? Do I need to be concerned about disk devices being renamed when the original disk is removed? Is /boot a partition on top of the md device? If it is, you should make sure to use the --metadata=0.90 when creating the md devices. If it is a separate md device, this should not be necessary. If you run into issues concerning the renaming, you can try to specify the md devices explicitly with the kernel parameter 'raid=noautodetect md=0,/dev/sda1,/dev/sdb1' Regards, Florian Philipp A big thing I learnt while configuring raid on a new server (well, you can't see the kernel boot up messages, so one single misconfiguration and it's a nightmare!) with Gentoo. What I did was, disabled kernel based automatic raid detection and didn't add an initrd with the required modules (md ones). So, make sure that raid support and automatic detection and any other disk related modules are compiled right into the kernel. In fact, I prefer w/o any initrd, all critical stuff right into the kernel. -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] emake die by compling
On Thu, Sep 29, 2011 at 12:19 AM, Michael Mol mike...@gmail.com wrote: On Wed, Sep 28, 2011 at 5:12 PM, Alex Sla 4k3...@googlemail.com wrote: On Wed, Sep 28, 2011 at 10:32 PM, Alex Sla 4k3...@googlemail.com wrote: On Wed, Sep 28, 2011 at 10:28 PM, Todd Goodman t...@bonedaddy.net wrote: * Florian Philipp li...@binarywings.net [110928 16:05]: Am 28.09.2011 21:39, schrieb Alex Sla: I can't just compile anything. Getting all the time: * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3450: Called gnome2_src_compile * environment, line 2736: Called die * The specific snippet of code: * emake || die compile failure don't have any idea Usually, the actual error message is a few lines above this one. Please post it. Want a blind guess? My bet is you updated gcc from 4.4 to 4.5, then unmerged 4.4 but forgot to activate the new one using gcc-config. Regards, Florian Philipp And to add a bit more to that (as I managed to do just that recently): First do a: # gcc-config -l [1] i686-pc-linux-gnu-4.5.3 * if you don't see a '*' next to any of the entries then none is selected. To select one do: gcc-config [CC Profile] For example, # gcc-config i686-pc-linux-gnu-4.5.3 Todd Arg, i rember that there was something with the gcc got to mutch Gentoo System ~.~... i try it now again I think it;s really to the libpng: emerge --search libpng Searching... [ Results for search key : libpng ] [ Applications found : 2 ] * media-libs/libpng Latest version available: 1.5.5 Latest version installed: 1.5.5 Size of files: 679 kB Homepage: http://www.libpng.org/ Description: Portable Network Graphics library License: as-is I just read in the Internet something about 1.2 - 1.4 should i do this like this ? http://gentoo-pr.org/node/22 Those steps should largely work. However, anywhere those steps say libpng14, think libpng15 instead, and anywhere they say libpng12, think libpng14 instead. Also, some apps may break with libpng, even after all the libtool and relinking stuff is taken care of. The current stable xemacs (-r1), for example. There's a patch that fixes it, but that hasn't been made stable yet.[1] (Or hadn't, when I tried --sync and --update earlier today) [1] https://bugs.gentoo.org/show_bug.cgi?id=384461 -- :wq Maybe i just go back to the stable libpng. Don't have the time in the moment to go with some testing. When i may get some time soon, i will try. Thank you very much Greeting's from Germany A.
Re: [gentoo-user] Motherboard support?
On Thu, Sep 29, 2011 at 12:18 AM, Dale rdalek1...@gmail.com wrote: Spidey / Claudio wrote: On Thu, Sep 29, 2011 at 00:34, Pandu Poluanpa...@poluan.info wrote: On Sep 29, 2011 9:51 AM, Dalerdalek1...@gmail.com wrote: As a general rule, hardware support is in the kernel. It shouldn't matter much whether it is Gentoo, Redhat, Debian or any other distro. It just matters that the kernel supports the hardware. I would imagine that anything listed there as working is supported by Linux with a up to date kernel. It all comes down to the kernel. By the way, the kernel tested against is listed in the top right hand corner if I recall correctly. You seem to have noticed that too. If the mobo is a new design or new chipset, try to get at least that version of kernel. If it shows things are working for the mobo you are checking on, it should work fine. I think the 880 chipset has been out a while so it should be really stable by now. I seem to recall it was out when I bought my new setup but was still getting worked on for drivers. By the way, it is always somewhat wise to buy things that have been out for a while. If you are building a spare or something to play with, then newer stuff is fine. I say this because some very new hardware may not have all the kinks worked out. Unless you really really need the latest and greatest, pick a slightly older setup. When I picked mine, it was about a year old. That is usually plenty of time to let the drivers stabilize. It can also save you some money too. Now to be nosy, how many cores and how much ram you planning to put in this new rig? I have a 4 core 3.2Ghz CPU with 16Gbs of ram. Compared to my older AMD 2500+ with 2Gbs of ram, the new rig is super fast. My old rig was named smoker because at the time it was built, it was smoking. My new rig is named fireball. I guess lightening will be next. After that, someone will just have to bury me. Not much is faster than lightening. lol In particle physics, there are faster-than-light particles called Tachyons :-) Rgds, Better spend lots of time and planning on what machine will receive that name: not many more things can be expected to be faster than Tachyons. Dale makes note of the thing faster than light. Maybe I will get to live longer now. lol I get about 7 to 8 years out of a build. So, I just went from say 16 more years to say 24 or so. At my age with my health, I need all the help I can get. You might get some mileage out of: lightning - neutron - photon - neutrino - tachyon HTH -- :wq
Re: [gentoo-user] emake die by compling
On Thu, Sep 29, 2011 at 8:38 AM, Alex Sla 4k3...@googlemail.com wrote: On Thu, Sep 29, 2011 at 12:19 AM, Michael Mol mike...@gmail.com wrote: On Wed, Sep 28, 2011 at 5:12 PM, Alex Sla 4k3...@googlemail.com wrote: I just read in the Internet something about 1.2 - 1.4 should i do this like this ? http://gentoo-pr.org/node/22 Those steps should largely work. However, anywhere those steps say libpng14, think libpng15 instead, and anywhere they say libpng12, think libpng14 instead. Also, some apps may break with libpng, even after all the libtool and relinking stuff is taken care of. The current stable xemacs (-r1), for example. There's a patch that fixes it, but that hasn't been made stable yet.[1] (Or hadn't, when I tried --sync and --update earlier today) [1] https://bugs.gentoo.org/show_bug.cgi?id=384461 Maybe i just go back to the stable libpng. Don't have the time in the moment to go with some testing. When i may get some time soon, i will try. Thank you very much Greeting's from Germany A. libpng15 will eventually be stabilized, and the problems you're seeing now, you'll see then. Just keep that in mind, and keep that list of steps handy. :) -- :wq
Re: [gentoo-user] Motherboard support?
Michael Mol wrote: On Thu, Sep 29, 2011 at 12:18 AM, Dalerdalek1...@gmail.com wrote: Dale makes note of the thing faster than light. Maybe I will get to live longer now. lol I get about 7 to 8 years out of a build. So, I just went from say 16 more years to say 24 or so. At my age with my health, I need all the help I can get. You might get some mileage out of: lightning - neutron - photon - neutrino - tachyon HTH I'll have to copy this to my savers folder for future reference. I just wonder where computers will be 20 years from now. They have sure come a LONG way in the past 20. Dale :-) :-)
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
On Wed, Sep 28, 2011 at 02:44:06PM +, James wrote: The kernel gyrations are all really about something much more important. *MONEY* ...Commercial distros like Apple's offering are making billions. OS X is not a linux distribution. It uses the xnu kernel, which fuses elements of BSD kernels with the Mach microkernel to create a hybrid. Also, I think Linus still has a lot of say about kernel development and last I checked he's not particularly wealthy, so while there is some merit in what you say (mostly in the sense that money can buy more developer hours) I don't think Linux kernel development is all about the money. -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: [gentoo-user] Motherboard support?
Nilesh Govindarajan wrote: On 09/29/2011 08:18 AM, Dale wrote: As a general rule, hardware support is in the kernel. It shouldn't matter much whether it is Gentoo, Redhat, Debian or any other distro. It just matters that the kernel supports the hardware. I would imagine that anything listed there as working is supported by Linux with a up to date kernel. It all comes down to the kernel. By the way, the kernel tested against is listed in the top right hand corner if I recall correctly. You seem to have noticed that too. If the mobo is a new design or new chipset, try to get at least that version of kernel. I know that it is actually in the kernel, but some companies like Nvidia package propreitary drivers only for Ubuntu/Debian, so it at times makes sense to check it out in detail. I have had lot of fights over this point on twitter with friends, in fact it resulted in myself getting blocked (and unblocked later hehe). As far as I know, nvidia drivers should work with about any distro. I have installed the same drivers on Gentoo that I used on Mandrake. That was a while ago but they look the same to me. Keep in mind, Gentoo is source based which makes it different. Binary distros are not. If it shows things are working for the mobo you are checking on, it should work fine. I think the 880 chipset has been out a while so it should be really stable by now. I seem to recall it was out when I bought my new setup but was still getting worked on for drivers. By the way, it is always somewhat wise to buy things that have been out for a while. If you are building a spare or something to play with, then newer stuff is fine. I say this because some very new hardware may not have all the kinks worked out. Unless you really really need the latest and greatest, pick a slightly older setup. When I picked mine, it was about a year old. That is usually plenty of time to let the drivers stabilize. It can also save you some money too. Now to be nosy, how many cores and how much ram you planning to put in this new rig? I have a 4 core 3.2Ghz CPU with 16Gbs of ram. Compared to my older AMD 2500+ with 2Gbs of ram, the new rig is super fast. My old rig was named smoker because at the time it was built, it was smoking. My new rig is named fireball. I guess lightening will be next. After that, someone will just have to bury me. Not much is faster than lightening. lol Dale :-) :-) P. S. If you get your things selected and want someone to double check, I'd be glad too. I posted mine on here to make sure I hadn't missed anything. The mobo, CPU and ram are the most essential things that have to be right. You have some wobble room on the rest. Also, Gigabyte has a list of supported ram and CPUs on their website. That comes in handy. Quad Core 3.2 Ghz with 16 GB of RAM that's big piece man. Well as I said earlier, I'm thinking of that 1075T thing and may be 4-8 GB of RAM (depends on cost, because I've to get myself a 22 or 24 inch LCD as well), but since bulldozers are going to be launched on 12th October, I'll prefer to wait, they have tons of new virtualization-related features. Will save me from installing windows directly onto the machine to play games (I usually don't, but after getting such a powerful machine, may be) and troubling it for no reason with that piece of bullshit. Here is some advice. When you buy memory, buy so that you don't have to remove anything to upgrade. If for example the mobo takes a max 4Gb stick in each slot, get a 4Gb stick or two of them. I started with 4Gbs and while it did fine, I can tell the difference when I added the extra. If you do that, you don't have to remove a stick to upgrade or keep them paired up. I started with 4Gb, went to 8Gb then bought a 8Gb kit and went to the full 16Gbs. They do seem to run faster in pairs. I can't blame you for waiting on the CPU if it is what you really want. I usually buy a couple notches down on the CPU and save some cash. You won't tell very much difference between a 3.4Ghz and a 3.2Ghz. Now if you are doing something really CPU intensive, then you may need the extra. Me, I balance out cost verses speed. I like a lot of bang for little bucks. That said, I hope to get a 6 core when the prices go down some. Maybe when yours comes out, they will start to drop on mine. :-) I have to say, this rig is pretty fast. Example: Sat Sep 17 04:03:00 2011 app-office/libreoffice-3.3.4 merge time: 52 minutes and 42 seconds. That would be while I am logged into KDE and doing no telling what. Post back when you get your stuff picked out. Dale :-) :-)
[gentoo-user] Re: Motherboard support?
Nilesh Govindarajan contact at nileshgr.com writes: These two motherboards came to my notice which support the above processor: Gigabyte 880GM - GA 880GM-USB3L 880GM-USB3 Dunno. How good is Linux support with those? If bad, what other mobos support 1075T and Linux support is awesome? I'm posting a little trick, for new hardware: /usr/sbin/update-pciids (eix update-pciids ) New hardware often needs the latest in pciids... Or USE flag +network-cron which installs a CRON task to run those utils on a regular basis (once a month or so. hth, James
Re: [gentoo-user] no sound with pulseaudio
On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi th9...@googlemail.com wrote: Am 29.09.2011 01:27, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi th9...@googlemail.com wrote: Am 29.09.2011 00:03, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi th9...@googlemail.com wrote: Am 28.09.2011 23:28, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi th9...@googlemail.com wrote: Hi! I have configured pulseaudio according http://en.gentoo-wiki.com/wiki/PulseAudio but I simply have no sound. The pulseaudio playback volume meter shows me signal, and that the bars are jumping if I playback a music track. alsa-plugins (with pulseaudio USE flag) gst-plugins-pulse are installed. But I don't know what is being blocked, that I have no sound output at my headphones. PS: the headphones are ok. Any suggestions? What music player are you using? Did you set or modify ~/.asoundrc? ~/.asoundrc doesn't exist. I have /etc/asound.conf with these entries: pcm.pulse { type pulse } ctl.pulse { type pulse } for all alsa applications to be redirected to pulse! Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse, then you need to specify pulse as the virtual ALSA device. If you want all alsa applications to be redirected to pulse, you need: pcm.!default { type pulse } ctl.!default { type pulse } The players Rhythmbox, xine all with pulseaudio default output plugins. That should work. Did you check in sound settings that pulse is indeed the desired output What Desktop do you use? Gnome, latest 2.x version Is the pulseaudio daemon running? Yes! tamer@office ~ $ pstree -pu | grep puls |-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841) | |-{pulseaudio}(22839) | `-{pulseaudio}(22842) Looks OK. I have added all config files in /etc/pulse/ I wouldn't touch the files on /etc/pulse. I recommend first trying to make it work with the files included with pulseaudio (backup /etc/pulse, move the dir out of /etc and emerge again pulseaudio) before trying anything else. Supposedly, pulseaudio should just works. Since the first time I installed it I have never touched the files in /etc/pulse, except to change the log-level of the daemon. As requested, I moved the pulse folder somewhere else and remerged pulseaudio as well moved /etc/asound.conf somewhere else as well. No sound! Weird. I'm on GNOME 3, so things are a little different, and I don't remember exactly the dialogs, but instead of the Gentoo wiki page, I would follow this: http://www.pulseaudio.org/wiki/PerfectSetup And more specifically: http://www.pulseaudio.org/wiki/PerfectSetup#GNOME and http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications Also, in really weird cases, the ALSA device gets its volume muted: You can try to remove (back up first) /etc/asound.conf, and run (as root) alsamixer -V all I did, and fired all the bars up. nothing! really nothing! Really weird. and trying to unmute and turn up the volume on everything. When you hear something with any player, return the asound.conf to /etc and try again. Regards. I have the dumb feeling that one process is blocking the output, I hear in my headphones the white noise of my system, which wouldn't be there if the soundcard hadn't been initialised. It's more simple than that: if you see the bars movind in the mixer application, some sound should be made. Is there a way to find out which applications might make use of the soundcard right now?! Probably with strace or a similar tool; however, let me see first if I'm understanding the problem. This is a laptop? A usual tower machine! Core2 DUO, nothing's special! If so, the sound works without headphones? The internal speakers work? with the headphones all the time There are no internal speakers (not a notebook) Also, can you please post the output of pactl list? Yes of course, here it is: http://pastebin.com/raw.php?i=wDgy3x64 OK, I'm back on my laptop. I would have told you yesterday the commands, but using my phone keyboard make it slightly impossible. The problem (I think) is that your sound card has digital and analog outputs. At some point in the future, the kernel drivers would be able to auto-detect which output has a cable connected to it, but right now (AFAIK) is not working, and for some reason in your machine pulse is sending the output through the digital output: that's the meaning of: Aktive Profile: output:iec958-stereo the last line of your pactl list. The profile you want is output:analog-stereo+input:analog-stereo, because (if I'm not mistaken), that's the output that sends the sound to your speakers. To select that profile, simply do (as your normal user, not as root): pacmd set-card-profile 0
Re: [gentoo-user] X hang / occasionally after using LVM
Am Donnerstag 29 September 2011, 09:11:09 schrieb J.Marcos Sitorus: Hi Volker, Thanks for the reply. I have attach dmesg, xorg log, xsession-error, and kdm log. So - get back to your last working versions - oh and those lvm volumes are on new disks? Nope. Previously I have two separate partition. Then I delete both partition and create LVM from the free space. ok - did you check that the devices are error-free (with badblocks)? You did not knock the ram loose while putting them in? What do you mean by knock the ram loose? Sorry, English is not my mother language. M. Mol answered that. Since you did not put in new disks, you have hardly done any damage ;) btw the logs after a crash not after a clean boot are the usefull ones ;) A couple of questions: do you have any crashes when virtualbox was not started and no virtualbox modules are loaded? do you have any other odd behaviour - occasional segfaults etc? which options did you use when you run mkfs.reiser4? are you able to reproduce the problem with a vanilla kernel? Make sure you are using 2.6.38 - not .1 or greater. Reiser4 sometimes breaks with stable releases - and 2.6.38.X was very broken... -- #163933
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
Am Mittwoch 28 September 2011, 17:15:34 schrieb Grant Edwards: Regardless, my point was that Linus's statement that it's unacceptable to break things seemed rather disingenuous given the API churn that Linux has compared with the BSD kernels. Linux has zero userland visible API 'churn'. You can't have less than zero. -- #163933
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
Am Donnerstag 29 September 2011, 01:27:27 schrieb Peter Humphrey: On Tuesday 27 September 2011 17:52:24 Volker Armin Hemmann wrote: which is your own fucking fault. Get your drivers into the kernel. Problem solved. Does gratuitous obscenity come naturally to you, or do you have to work at it? I am naturally grumpy. I also have 'bastard' in my passport. -- #163933
Re: [gentoo-user] Motherboard support?
Am Mittwoch 28 September 2011, 23:24:41 schrieb Nilesh Govindarajan: I'll be soon getting a new desktop. I've fixed the CPU as AMD Phenom II 1075T These two motherboards came to my notice which support the above processor: Gigabyte 880GM - GA 880GM-USB3L 880GM-USB3 How good is Linux support with those? If bad, what other mobos support 1075T and Linux support is awesome? most probably they will just work. 880G works 710 works the networking chips are standard stuff and work the audio is standard stuff and works the superio/sensors chip is most probably the same as for the rest of gigabystes 880G offerings - and works. have the 880GA-UD3H rev 2.1 and everything just works. Including fanspeed (but I let the mainboard doing it.) -- #163933
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
Volker Armin Hemmann volkerar...@googlemail.com wrote: Linux has zero userland visible API 'churn'. During what timeframe? There have been massive Linux API breakages in 2004. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
On Thu, Sep 29, 2011 at 12:19 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Mittwoch 28 September 2011, 17:15:34 schrieb Grant Edwards: Regardless, my point was that Linus's statement that it's unacceptable to break things seemed rather disingenuous given the API churn that Linux has compared with the BSD kernels. Linux has zero userland visible API 'churn'. You can't have less than zero. Uh, that can't be right. Largely, libc masks things. Several kernel options explicitly state in their description that they require new-enough versions of this or that userland tool to function properly. Randomizing module base addresses is one of those, IIRC. Some things related to sysfs. sysfs itself. I think some network filesystems. modutils. If there's no API churn, it should be pretty trivial to run a current userland on top of, e.g. 2.6.0-pre1, or even 2.6.0. I also STR 2.6.9 being a common pin point where a bunch of userland tools required that-or-newer. And that's ignoring dropping things like A.OUT support. I'm not arguing whether or not it's reasonable (it almost certainly is), but there certainly is churn. -- :wq
[gentoo-user] Re: Slightly OT but interesting nonetheless...
On 2011-09-29, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Mittwoch 28 September 2011, 17:15:34 schrieb Grant Edwards: Regardless, my point was that Linus's statement that it's unacceptable to break things seemed rather disingenuous given the API churn that Linux has compared with the BSD kernels. Linux has zero userland visible API 'churn'. I wasn't talking about the userland visible API. I was talking about the driver API. I'm sorry if I wasn't clear about that. -- Grant
[gentoo-user] Re: Slightly OT but interesting nonetheless...
On 2011-09-29, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Mittwoch 28 September 2011, 17:15:34 schrieb Grant Edwards: Regardless, my point was that Linus's statement that it's unacceptable to break things seemed rather disingenuous given the API churn that Linux has compared with the BSD kernels. Linux has zero userland visible API 'churn'. Bullshit. Just a few weeks ago I tried to run a program on an older machine (with an old kernel version) and it wouldn't work because of kernel API changes. -- Grant
Re: [gentoo-user] Re: Is Qemu dead?
On 09/28/2011 10:42 AM, Grant Edwards wrote: Doh! I had forgotten there was a seperate kvm-enabled build of Qemu. I'll have to give that a try. You can use qemu-kvm whether or not you have a kernel/CPU with KVM support: $ cat /usr/bin/kvm #!/bin/sh exec /usr/bin/qemu-system-x86_64 --enable-kvm $@
Re: [gentoo-user] {OT} Development framework with access restriction?
On 09/29/2011 04:13 AM, Neil Bothwick wrote: On Wed, 28 Sep 2011 19:23:30 -0700, Grant wrote: For some reason I thought SFTP would provide access control but now I'm thinking it's just like SSH in that access control is based on file ownership and permissions? If that's the case, can anyone think of a better way to control remote access to my files than chmod/chown? ACLs. We went this route once too. We had a developer ($USER) who was supposed to have access to just one subdirectory of /var/www. I took notes, assuming /etc, /root, and /usr have correct permissions: 1. A group named ssh_users was created. The $USER account was added as a member of this group. 2. The ssh_users group was granted the ability to traverse /var/www: setfacl -m group:ssh_users:--x /var/www This is necessary to allow the $USER user to chdir into its home directory in /var/www/$HIS_HOME_DIR. 3. A default ACL was set on /var/www which will apply to each new subdirectory created within it. setfacl -d --set u::rwx,g::rx,g:ssh_users:-,o::rx /var/www This prevents members of the ssh_users group from traversing any newly-created subdirectories of /var/www. 4. The default ACL described above was applied manually to each of the existing subdirectories of /var/www: setfacl -m g:ssh_users:- /var/www/* Warning: At the time of writing, there were no regular files in /var/www, so the above command makes sense. Don't blindly run it again without checking. 5. The $USER user was granted full read/write/traverse permissions on its home directory and all subdirectories/files contained therein: setfacl -R -m u:$USER:rwx /var/www/$HIS_HOME_DIR 6. At this point, we need to change the default ACLs of every directory within /var/www/$HIS_HOME_DIR. This is so that, when $USER creates a new file/directory somewhere beneath its home directory, it has access to the newly-created file or directory: setfacl -d -R --set u::rwx,u:$USER:rwx,g::rx,o::rx /var/www /$HIS_HOME_DIR This command sets the default ACL recursively, and is smart enough to only apply the command to directories.
Re: [gentoo-user] emake die by compling
On 28 September 2011 15:12, Alex Sla 4k3...@googlemail.com wrote: On Wed, Sep 28, 2011 at 10:32 PM, Alex Sla 4k3...@googlemail.com wrote: On Wed, Sep 28, 2011 at 10:28 PM, Todd Goodman t...@bonedaddy.net wrote: * Florian Philipp li...@binarywings.net [110928 16:05]: Am 28.09.2011 21:39, schrieb Alex Sla: I can't just compile anything. Getting all the time: * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3450: Called gnome2_src_compile * environment, line 2736: Called die * The specific snippet of code: * emake || die compile failure don't have any idea Usually, the actual error message is a few lines above this one. Please post it. Want a blind guess? My bet is you updated gcc from 4.4 to 4.5, then unmerged 4.4 but forgot to activate the new one using gcc-config. Regards, Florian Philipp And to add a bit more to that (as I managed to do just that recently): First do a: # gcc-config -l [1] i686-pc-linux-gnu-4.5.3 * if you don't see a '*' next to any of the entries then none is selected. To select one do: gcc-config [CC Profile] For example, # gcc-config i686-pc-linux-gnu-4.5.3 Todd Arg, i rember that there was something with the gcc got to mutch Gentoo System ~.~... i try it now again I think it;s really to the libpng: emerge --search libpng Searching... [ Results for search key : libpng ] [ Applications found : 2 ] * media-libs/libpng Latest version available: 1.5.5 Latest version installed: 1.5.5 Size of files: 679 kB Homepage: http://www.libpng.org/ Description: Portable Network Graphics library License: as-is I just read in the Internet something about 1.2 - 1.4 should i do this like this ? http://gentoo-pr.org/node/22 Hello, I've read all emails -I Think-, This is what yo get: --- * Messages for package x11-libs/gtk+-3.0.12-r1: * ERROR: x11-libs/gtk+-3.0.12-r1 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =x11-libs/gtk+-3.0.12-r1', * the complete build log and the output of 'emerge -pqv =x11-libs/gtk+-3.0.12-r1'. * The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-3.0.12-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-3.0.12-r1/temp/environment'. * S: '/var/tmp/portage/x11-libs/gtk+-3.0.12-r1/work/gtk+-3.0.12' Right? Perhaps, we could help you out, if we could see what's on: /var/tmp/portage/x11-libs/gtk+-3.0.12-r1/temp/build.log Also, I've already merged GTK+-3.0.12-r1 in ~AMD64 and no errors found. Regards, -- Carlos Sura.- http://www.carlossura.com/
[gentoo-user] Strange GCC behavior
Default function arguments in C are specified like this: int func(int a = 10) {} // just a dummy function Now I save that in a file called foo.c The above piece of code is valid in C as well as C++ Now see this: nilesh@Linux ~ $ cat /tmp/foo.c int func(int a = 1) {} nilesh@Linux ~ $ gcc /tmp/foo.c /tmp/foo.c:1:16: error: expected ‘;’, ‘,’ or ‘)’ before ‘=’ token nilesh@Linux ~ $ g++ /tmp/foo.c /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld returned 1 exit status nilesh@Linux ~ $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /media/500GB/gentoo_portage/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) nilesh@Linux ~ $ g++ -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /media/500GB/gentoo_portage/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) Why is this happening? O_o -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Magic SysRq didn't work today
Deleting files were slow as hell too. Claudio Roberto França Pereira (a.k.a. Spidey) hardMOB - HTForum - @spideybr Engenharia de Computação - UFES 2006/1 On Thu, Sep 29, 2011 at 08:39, Mick michaelkintz...@gmail.com wrote: On Thursday 29 Sep 2011 04:40:15 Spidey / Claudio wrote: I have lived through some lock ups in the recent past, but that's because I've disassembled my desktop from it's case and assembled it at my working table. Since both PS/2 ports of the mobo are on my mouse pad (yeah, short cables, tight space), I eventually pull some cable os slap my video card. The first time X.org locked up, but ssh'ing from my Maemo phone did the trick (had to disable kexec and reboot from the bios, though). The second time I couldn't do that, my video card cooler fans stopped, and I had to pull the power plug and wait a few moments. That time I thought that some money would be spent on a new motherboard or video card. But rest assured, no computer components were harmed in those accidents. Ending the off topic, I had lock downs and headaches when messing with reiser4. I'd say that recently built experimental code in the kernel is something that would trigger lock ups. I was running reiser4 for more than a year and found it rather temperamental on my hardware (hard lock ups, corrupted fs, etc). Eventually, I replaced it with ext4 and have not had problems since. For me reiser4 seemed to perform better (as in faster) than ext4, in all but mounting speeds. YMMV -- Regards, Mick
Re: [gentoo-user] Strange GCC behavior
On Thu, Sep 29, 2011 at 1:27 PM, Nilesh Govindarajan cont...@nileshgr.com wrote: Default function arguments in C are specified like this: int func(int a = 10) {} // just a dummy function Now I save that in a file called foo.c The above piece of code is valid in C as well as C++ Now see this: nilesh@Linux ~ $ cat /tmp/foo.c int func(int a = 1) {} nilesh@Linux ~ $ gcc /tmp/foo.c /tmp/foo.c:1:16: error: expected ‘;’, ‘,’ or ‘)’ before ‘=’ token nilesh@Linux ~ $ g++ /tmp/foo.c /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld returned 1 exit status nilesh@Linux ~ $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /media/500GB/gentoo_portage/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) nilesh@Linux ~ $ g++ -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /media/500GB/gentoo_portage/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) Why is this happening? O_o First guess, you need an int main() function, or you need to tell gcc not to look for one. -- :wq
Re: [gentoo-user] Strange GCC behavior
* Nilesh Govindarajan cont...@nileshgr.com [110929 13:33]: Default function arguments in C are specified like this: int func(int a = 10) {} // just a dummy function No they're not. C doesn't have default function arguments. Now I save that in a file called foo.c The above piece of code is valid in C as well as C++ Uh, no it's not. Why is this happening? O_o Because it's not correct C. Todd
Re: [gentoo-user] Strange GCC behavior
On Thu 29 Sep 2011 11:10:00 PM IST, Michael Mol wrote: On Thu, Sep 29, 2011 at 1:27 PM, Nilesh Govindarajan cont...@nileshgr.com wrote: Default function arguments in C are specified like this: int func(int a = 10) {} // just a dummy function Now I save that in a file called foo.c The above piece of code is valid in C as well as C++ Now see this: nilesh@Linux ~ $ cat /tmp/foo.c int func(int a = 1) {} nilesh@Linux ~ $ gcc /tmp/foo.c /tmp/foo.c:1:16: error: expected ‘;’, ‘,’ or ‘)’ before ‘=’ token nilesh@Linux ~ $ g++ /tmp/foo.c /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld returned 1 exit status nilesh@Linux ~ $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /media/500GB/gentoo_portage/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) nilesh@Linux ~ $ g++ -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /media/500GB/gentoo_portage/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) Why is this happening? O_o First guess, you need an int main() function, or you need to tell gcc not to look for one. Syntax error doesn't depend on existence of main. I just posted this as a snippet, I'd been working on one of my practical programs and spotted this problem with a function I'd just made. And yeah, my program had main(). -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Strange GCC behavior
On Thu, Sep 29, 2011 at 1:43 PM, Todd Goodman t...@bonedaddy.net wrote: * Nilesh Govindarajan cont...@nileshgr.com [110929 13:33]: Default function arguments in C are specified like this: int func(int a = 10) {} // just a dummy function No they're not. C doesn't have default function arguments. That's another problem. (I don't know if gcc extends C to that end, though) This may be useful once he gets there: https://gustedt.wordpress.com/2010/06/03/default-arguments-for-c99/ -- :wq
Re: [gentoo-user] Strange GCC behavior
On Thu 29 Sep 2011 11:13:54 PM IST, Todd Goodman wrote: * Nilesh Govindarajan cont...@nileshgr.com [110929 13:33]: Default function arguments in C are specified like this: int func(int a = 10) {} // just a dummy function No they're not. C doesn't have default function arguments. Now I save that in a file called foo.c The above piece of code is valid in C as well as C++ Uh, no it's not. Why is this happening? O_o Because it's not correct C. Todd Gah! so that's the reason. I've been coding C++ and other languages with default arguments that I forgot C. -- Nilesh Govindarajan http://nileshgr.com
[gentoo-user] What's with the stability pact?
Hi, Gentoo! Why are there so many packages whose versions never become stable? By many, I mean here at least two. :-) These are the kernel and Firefox. My kernel is currently 2.6.39-gentoo-r3, built on July 18. By examining ebuilds, I now see that the ~amd64 is already up to 3.0.4-r1. I've missed 3.0.[0-3], it seems. My Firefox is on 3.6.20. Firefox 4 and 5 never became stable, and their ebuilds have disappeared already. Firefox 6 is still ~amd64. Am I being unreasonable feeling a bit peeved? I really don't want to have to guess which unstable versions are actually stable enough. Is this phenomenom something new, or am I just new enough myself that I've never noticed before? -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Strange GCC behavior
On Thu, 29 Sep 2011 22:57:25 +0530, Nilesh Govindarajan wrote about [gentoo-user] Strange GCC behavior: Default function arguments in C are specified like this: int func(int a = 10) {} // just a dummy function Now I save that in a file called foo.c The above piece of code is valid in C as well as C++ Not in C90. The default grammar does not permit default values for arguments in C, only C++. Why is this happening? O_o Try adding -std=gnu99 as a compiler switch. That switches the grammar from C90 to C99, with Gnu extensions too. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
Re: [gentoo-user] What's with the stability pact?
On Thu, Sep 29, 2011 at 1:55 PM, Alan Mackenzie a...@muc.de wrote: Hi, Gentoo! Why are there so many packages whose versions never become stable? By many, I mean here at least two. :-) These are the kernel and Firefox. My kernel is currently 2.6.39-gentoo-r3, built on July 18. By examining ebuilds, I now see that the ~amd64 is already up to 3.0.4-r1. I've missed 3.0.[0-3], it seems. The 2.6.x has stabilized versions. 3.x has been kept masked, because even though it isn't significantly different from the latest 2.6.x, a lot of tools were shown to fall apart when they see 3.x.y rather than 2.6.x. My Firefox is on 3.6.20. Firefox 4 and 5 never became stable, and their ebuilds have disappeared already. Firefox 6 is still ~amd64. No idea. I switched to chromium, partly as a result of that. (I wasn't comfortable unmasking things yet...) Am I being unreasonable feeling a bit peeved? I really don't want to have to guess which unstable versions are actually stable enough. You want a fun one? Take a look at ekiga. Is this phenomenom something new, or am I just new enough myself that I've never noticed before? It's not new, I don't think, but it's somewhat dependent on the ebuild maintainer and changing conditions of the packages themselves. The kernel upstream broke things by changing its version numbering with little(?) warning. Firefox upstream has sorta broken things by switching to a rapid release cycle, and I suppose the ebuild maintainer hasn't caught up with the pattern shift. (Like anyone else who uses FF in an institutional setting has, either...) -- :wq
Re: [gentoo-user] Re: Motherboard support?
James wrote: Nilesh Govindarajancontactat nileshgr.com writes: These two motherboards came to my notice which support the above processor: Gigabyte 880GM - GA 880GM-USB3L 880GM-USB3 Dunno. How good is Linux support with those? If bad, what other mobos support 1075T and Linux support is awesome? I'm posting a little trick, for new hardware: /usr/sbin/update-pciids (eix update-pciids ) New hardware often needs the latest in pciids... Or USE flag +network-cron which installs a CRON task to run those utils on a regular basis (once a month or so. hth, James I think I'm missing something. If the OP has not bought the mobo yet, how is that going to help? I'm assuming that that is what lspci uses to print out what is on a mobo but I can't figure out how that will work if the mobo is in a box at the store. Help a old fart out here. lol Dale :-) :-)
Re: [gentoo-user] What's with the stability pact?
On 09/29/2011 01:55 PM, Alan Mackenzie wrote: Hi, Gentoo! Why are there so many packages whose versions never become stable? By many, I mean here at least two. :-) These are the kernel and Firefox. My kernel is currently 2.6.39-gentoo-r3, built on July 18. By examining ebuilds, I now see that the ~amd64 is already up to 3.0.4-r1. I've missed 3.0.[0-3], it seems. My Firefox is on 3.6.20. Firefox 4 and 5 never became stable, and their ebuilds have disappeared already. Firefox 6 is still ~amd64. It's rare that maintainers will support more than one stable version just because of the extra work involved. So, if e.g. version 2.1 of package foo is stable, 2.0 might as well be removed from the tree, especially if it was ~arch. Some versions never get moved from ~arch to stable because if there's a newer version available, it makes sense to concentrate on stabilizing that one instead. Firefox (= 4) and the kernel (= 3) are special cases, already explained by Michael Mol.
Re: [gentoo-user] What's with the stability pact?
Il 29/09/2011 20:56, Michael Orlitzky ha scritto: Firefox (= 4) and the kernel (= 3) are special cases, already explained by Michael Mol. I know of the problems with 3.x kernels, but what's the problem with firefox?
Re: [gentoo-user] Magic SysRq didn't work today
On Thursday 29 Sep 2011 18:35:13 Spidey / Claudio wrote: Deleting files were slow as hell too. Hmm ... no, not here. Reiser4 pretty much blew the doors off anything else I have ever used in Linux land. (I have not tried btrfs yet). I can't even blame reiser4 for the 'temperamental' behaviour that I mentioned earlier with any degree of certainty. Some people have blamed kernel patches that borked reiser4, so heed Volker's earlier comment. I have also found some gcc versions not being particularly friendly to it. The only repetitive failure modes I noticed where I could definitely blame the fs were: a) recovery after power failure (unlike e.g. good ol' reiserfs) b) running out of space on a partition. Once these two failure modes are guarded against the fs was performing as expected. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] What's with the stability pact?
2011/9/29 Niccolò Belli darkba...@linuxsystems.it: Il 29/09/2011 20:56, Michael Orlitzky ha scritto: Firefox (= 4) and the kernel (= 3) are special cases, already explained by Michael Mol. I know of the problems with 3.x kernels, but what's the problem with firefox? Upstream underwent a massive shift in their release pattern which results in a great deal more work for anyone who needs to vet the software before it gets redistributed. The ebuild maintainer hasn't rolled with that, at least not yet. No idea whether he/she will or won't. Not something I know the particulars of. -- :wq
Re: [gentoo-user] What's with the stability pact?
Il 29/09/2011 21:38, Michael Mol ha scritto: Upstream underwent a massive shift in their release pattern which results in a great deal more work for anyone who needs to vet the software before it gets redistributed. No, they don't: there will be long term support releases suitable for distros. Cheers, Niccolò
Re: [gentoo-user] Re: Is Qemu dead?
On Thu, Sep 29, 2011 at 1:13 PM, Michael Orlitzky mich...@orlitzky.comwrote: On 09/28/2011 10:42 AM, Grant Edwards wrote: Doh! I had forgotten there was a seperate kvm-enabled build of Qemu. I'll have to give that a try. You can use qemu-kvm whether or not you have a kernel/CPU with KVM support: $ cat /usr/bin/kvm #!/bin/sh exec /usr/bin/qemu-system-x86_64 --enable-kvm $@ But I was under the impression you can only use -enable-kvm if you have KVM built into the kernel/load the module.
Re: [gentoo-user] Magic SysRq didn't work today
Il 29/09/2011 00:04, Mark Knecht ha scritto: For the first time in a couple of years I had a total hard hang You are lucky, it happened tons of times to me.
[gentoo-user] OT - krdc full screen view does not allow remote windows' task bar interaction
Hi, I am running krdc to use some MSWindows programs in another computer. As some of them are pretty CPU intensive, I prefer to do it this way rather than using a virtual machine. Besides this, I did not want to bother to install everything again. When I move the mouse down to the task bar area, the mouse pointer changes from the remote machine native shape to the local desktop shape, showing visually the fact that I can not click on any task bar icons. I am including the following extra parameters: -z -x lan -P The remote machine local monitor has the same resolution as the one I am using here and the krdc set-up includes to use full screen whenever possible. Any ideas? Thanks Francisco
Re: [gentoo-user] OT - krdc full screen view does not allow remote windows' task bar interaction
fra...@gmail.com writes: When I move the mouse down to the task bar area, the mouse pointer changes from the remote machine native shape to the local desktop shape, showing visually the fact that I can not click on any task bar icons. Does the same happen when using rdesktop? Wonko
Re: [gentoo-user] Motherboard support?
How good is Linux support with those? If bad, what other mobos support 1075T and Linux support is awesome? most probably they will just work. I've just built a machine based on GA-880-GM-UD2H that I bought a couple of years ago, and it works well. It supports 1090T and 1100T, which you should look at - the price difference to the 1075T is very small. I'm thinking of swapping out the 260 I have with one of these because they're so cheap. WRT hardware support - the rule of thumb is, if you're running newly released hardware you'll probably want to run the latest kernel you can - which is easy with Gentoo. AFAIK distros dont do much around extra hardware support other than backporting newer drivers (to support newly released hardware) on their specific kernel version. Obviously there's no need for that on Gentoo.
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
which is your own fucking fault. Get your drivers into the kernel. Problem solved. Does gratuitous obscenity come naturally to you, or do you have to work at it? I am naturally grumpy. Yeah we've noticed ;) I like reading your posts because you know stuff, and I like the fireworks. You probably have a serotonin deficiency. Be careful though, being grumpy is dangerously seductive.
Re: [gentoo-user] Re: Is Qemu dead?
On 09/29/11 16:07, Matthew Finkel wrote: $ cat /usr/bin/kvm #!/bin/sh exec /usr/bin/qemu-system-x86_64 --enable-kvm $@ But I was under the impression you can only use -enable-kvm if you have KVM built into the kernel/load the module. It will spit out a warning, but work normally (albeit slowly). Anyway, my point was that the kvm binary is just qemu with --enable-kvm passed to it. So, if you want the latest qemu, emerge qemu-kvm, and run it without the --enable-kvm.
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
On Friday 30 September 2011 01:45:39 Adam Carter wrote: Be careful though, being grumpy is dangerously seductive. It is? You could have fooled me -- Rgds Peter Linux Counter 5290, 1994-04-23
Re: [gentoo-user] What's with the stability pact?
On Sep 30, 2011 2:45 AM, Niccolò Belli darkba...@linuxsystems.it wrote: Il 29/09/2011 21:38, Michael Mol ha scritto: Upstream underwent a massive shift in their release pattern which results in a great deal more work for anyone who needs to vet the software before it gets redistributed. No, they don't: there will be long term support releases suitable for distros. IIRC, that decision to have long term support only happened recently. The package maintainer might still be reeling from the shock of switching to a rapid-release cycle. Rgds,
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
Be careful though, being grumpy is dangerously seductive. It is? You could have fooled me Sorry - I meant being grumpy is seductive for the grumpy person. Its pretty much the opposite for the people they interact with, as you imply.
Re: [gentoo-user] What's with the stability pact?
On Sep 30, 2011 1:10 AM, Michael Mol mike...@gmail.com wrote: On Thu, Sep 29, 2011 at 1:55 PM, Alan Mackenzie a...@muc.de wrote: Hi, Gentoo! Why are there so many packages whose versions never become stable? By many, I mean here at least two. :-) These are the kernel and Firefox. My kernel is currently 2.6.39-gentoo-r3, built on July 18. By examining ebuilds, I now see that the ~amd64 is already up to 3.0.4-r1. I've missed 3.0.[0-3], it seems. The 2.6.x has stabilized versions. 3.x has been kept masked, because even though it isn't significantly different from the latest 2.6.x, a lot of tools were shown to fall apart when they see 3.x.y rather than 2.6.x. Several days ago I did raise my concern on this behavior when I noticed that emerge wants to downgrade my hardened-sources. Although I'm using ~amd64, I draw the line on 3.0 and specified ~2.6.39. Now I'm forced to maintain a private/personal overlay to ensure that the kernels of my boxen don't get downgraded. I'll reconsider my stance in November; hopefully by that time essential packages will no longer fall apart when encountering 3.x.y. Rgds,
Re: [gentoo-user] no sound with pulseaudio
On Thu, Sep 29, 2011 at 11:51, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi th9...@googlemail.com wrote: Am 29.09.2011 01:27, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi th9...@googlemail.com wrote: Am 29.09.2011 00:03, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi th9...@googlemail.com wrote: Am 28.09.2011 23:28, schrieb Canek Peláez Valdés: On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi th9...@googlemail.com wrote: Hi! I have configured pulseaudio according http://en.gentoo-wiki.com/wiki/PulseAudio but I simply have no sound. The pulseaudio playback volume meter shows me signal, and that the bars are jumping if I playback a music track. alsa-plugins (with pulseaudio USE flag) gst-plugins-pulse are installed. But I don't know what is being blocked, that I have no sound output at my headphones. PS: the headphones are ok. Any suggestions? What music player are you using? Did you set or modify ~/.asoundrc? ~/.asoundrc doesn't exist. I have /etc/asound.conf with these entries: pcm.pulse { type pulse } ctl.pulse { type pulse } for all alsa applications to be redirected to pulse! Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse, then you need to specify pulse as the virtual ALSA device. If you want all alsa applications to be redirected to pulse, you need: pcm.!default { type pulse } ctl.!default { type pulse } The players Rhythmbox, xine all with pulseaudio default output plugins. That should work. Did you check in sound settings that pulse is indeed the desired output What Desktop do you use? Gnome, latest 2.x version Is the pulseaudio daemon running? Yes! tamer@office ~ $ pstree -pu | grep puls |-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841) | |-{pulseaudio}(22839) | `-{pulseaudio}(22842) Looks OK. I have added all config files in /etc/pulse/ I wouldn't touch the files on /etc/pulse. I recommend first trying to make it work with the files included with pulseaudio (backup /etc/pulse, move the dir out of /etc and emerge again pulseaudio) before trying anything else. Supposedly, pulseaudio should just works. Since the first time I installed it I have never touched the files in /etc/pulse, except to change the log-level of the daemon. As requested, I moved the pulse folder somewhere else and remerged pulseaudio as well moved /etc/asound.conf somewhere else as well. No sound! Weird. I'm on GNOME 3, so things are a little different, and I don't remember exactly the dialogs, but instead of the Gentoo wiki page, I would follow this: http://www.pulseaudio.org/wiki/PerfectSetup And more specifically: http://www.pulseaudio.org/wiki/PerfectSetup#GNOME and http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications Also, in really weird cases, the ALSA device gets its volume muted: You can try to remove (back up first) /etc/asound.conf, and run (as root) alsamixer -V all I did, and fired all the bars up. nothing! really nothing! Really weird. and trying to unmute and turn up the volume on everything. When you hear something with any player, return the asound.conf to /etc and try again. Regards. I have the dumb feeling that one process is blocking the output, I hear in my headphones the white noise of my system, which wouldn't be there if the soundcard hadn't been initialised. It's more simple than that: if you see the bars movind in the mixer application, some sound should be made. Is there a way to find out which applications might make use of the soundcard right now?! Probably with strace or a similar tool; however, let me see first if I'm understanding the problem. This is a laptop? A usual tower machine! Core2 DUO, nothing's special! If so, the sound works without headphones? The internal speakers work? with the headphones all the time There are no internal speakers (not a notebook) Also, can you please post the output of pactl list? Yes of course, here it is: http://pastebin.com/raw.php?i=wDgy3x64 OK, I'm back on my laptop. I would have told you yesterday the commands, but using my phone keyboard make it slightly impossible. The problem (I think) is that your sound card has digital and analog outputs. At some point in the future, the kernel drivers would be able to auto-detect which output has a cable connected to it, but right now (AFAIK) is not working, and for some reason in your machine pulse is sending the output through the digital output: that's the meaning of: Aktive Profile: output:iec958-stereo the last line of your pactl list. The profile you want is
Re: [gentoo-user] What's with the stability pact?
On 09/29/2011 09:42 PM, Pandu Poluan wrote: Several days ago I did raise my concern on this behavior when I noticed that emerge wants to downgrade my hardened-sources. Although I'm using ~amd64, I draw the line on 3.0 and specified ~2.6.39. Now I'm forced to maintain a private/personal overlay to ensure that the kernels of my boxen don't get downgraded. I'll reconsider my stance in November; hopefully by that time essential packages will no longer fall apart when encountering 3.x.y. Rgds, Until portage forces you to 'cd' into the new directory, copy your old config, make oldconfig, make, make modules install, install the kernel, update grub, fix the symlink, rebuild out-of-tree modules, and delete your old kernel directory -- you can safely ignore whatever it's trying to do to you. It's perfectly safe to unmerge the old version, even though portage doesn't do that for slotted packages. It won't remove files that aren't part of the source tarball; i.e. everything you actually care about in /usr/src/linux after you've recompiled any out-of-tree modules.
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
Volker Armin Hemmann wrote: Am Donnerstag 29 September 2011, 01:27:27 schrieb Peter Humphrey: On Tuesday 27 September 2011 17:52:24 Volker Armin Hemmann wrote: which is your own fucking fault. Get your drivers into the kernel. Problem solved. Does gratuitous obscenity come naturally to you, or do you have to work at it? I am naturally grumpy. Wonder what I am? Then again, does it matter? Then again, do I want to know? :/ Dale :-) :-)
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
On Thu, Sep 29, 2011 at 10:29 PM, Dale rdalek1...@gmail.com wrote: Volker Armin Hemmann wrote: Am Donnerstag 29 September 2011, 01:27:27 schrieb Peter Humphrey: On Tuesday 27 September 2011 17:52:24 Volker Armin Hemmann wrote: I am naturally grumpy. Wonder what I am? Then again, does it matter? Then again, do I want to know? :/ You're naturally curious, and unafraid to push technical boundaries. Me, I'm just easily trolled. :) -- :wq
Re: [pulseaudio-discuss] [gentoo-user] PulseAudio 1.0-r1 + Skype == Garbled output sound
On Thu, Sep 29, 2011 at 15:57, Jan Steffens jan.steff...@gmail.com wrote: On Thu, Sep 29, 2011 at 8:19 AM, Arun Raghavan arun.ragha...@collabora.co.uk wrote: On Thu, 2011-09-29 at 02:56 -0300, Spidey / Claudio wrote: [...] My bad, hadn't synced yet before that post. I'll test it throughly and tomorrow (today, 29/09) I'll give feedback. Can you reproduce the reported error? I won't file the bug just yet. Nope -- the mic works just fine for me and a bunch of other people, so I suspect a problem on that specific machine. Having the same problem using Arch Linux x86_64. Running pulseaudio 1.0 and skype using lib32-libpulse 0.9.23 seems to be fine, while skype using lib32-libpulse 1.0 garbles the input. Bisecting lib32-libpulse has proven difficult, with me arriving at seemingly random commits. It appears the issue is not consistently reproducible. So far the earliest commit that reproduced the issue for me seems to be af18bc8038177a4b83171671daaf771ecf353b8e. A colleague running Arch Linux i686 claims he has no issues running pulseaudio 0.99.4, while sometimes encountering the issue using pulseaudio 1.0. ___ pulseaudio-discuss mailing list pulseaudio-disc...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss Tested today pulseaudio-1.0-r1 with skype-2.2.0.35-r1 without mic problems. Had to test with echo123, but it worked, anyways. Emerge pavucontrol and check your devices' profiles. Claudio Roberto França Pereira (a.k.a. Spidey) hardMOB - HTForum - @spideybr Engenharia de Computação - UFES 2006/1
Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...
Michael Mol wrote: On Thu, Sep 29, 2011 at 10:29 PM, Dalerdalek1...@gmail.com wrote: Volker Armin Hemmann wrote: Am Donnerstag 29 September 2011, 01:27:27 schrieb Peter Humphrey: On Tuesday 27 September 2011 17:52:24 Volker Armin Hemmann wrote: I am naturally grumpy. Wonder what I am? Then again, does it matter? Then again, do I want to know? :/ You're naturally curious, and unafraid to push technical boundaries. Me, I'm just easily trolled. :) I am the curious type except for one thing. SNAKES. Seeing one on TV is fine but in real life, lead poisoning. O_O I have killed three this year in my yard or garden. My cat isn't dead a year and they are moving in on me. Technical boundaries, I'd like to push the Fedora dev doing the /usr and /var on / thing off my roof, holding a snake. lol My Dad used to always tell me that a snake is more scared of us than we are of it. I came back with this, does the snake wear Depends? I know I was close to needing mine. If the snake is more scared, then he lost his. o_O I need to take my meds. Dale :-) :-)