Re: [gentoo-user] Magic SysRq didn't work today

2011-09-29 Thread Spidey / Claudio
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] no sound with pulseaudio

2011-09-29 Thread Spidey / Claudio
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: [pulseaudio-discuss] [gentoo-user] PulseAudio 1.0-r1 + Skype == Garbled output sound

2011-09-29 Thread Spidey / Claudio
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] PulseAudio 1.0-r1 + Skype == Garbled output sound

2011-09-28 Thread Spidey / Claudio
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.
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.

 Has anyone else noticed this? Any ideas on how to fix it with PulseAudio 
 1.0-r1?

 Cheers,
 Hilco





Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Spidey / Claudio
pavucontrol is your friend. It lets you configure your sound devices
current profile, and also set the fallback (default) sink.

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 21:58, Canek Peláez Valdés can...@gmail.com wrote:
 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 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
 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

 Regards.

 thanks


 Tamer





Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Spidey / Claudio
Also, if flash didn't work previously, that's because it was not using
PA (or alsa default device), it was hardcoded to use alsa device hw0,
so they forcefully used to use ALSA. Since PA has control over the
sound device (since PA is the mixer, not ALSA), flash couldn't use it,
thus no sound.

I reaffirm, you should use all 4 blocks of configuration in your
asound.conf. It will create the PA virtual device and also set it as
default for the system. This way, ALSA software will output to PA too.



Re: [gentoo-user] Magic SysRq didn't work today

2011-09-28 Thread Spidey / Claudio
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.



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Spidey / Claudio
On Thu, Sep 29, 2011 at 00:34, Pandu Poluan pa...@poluan.info wrote:

 On Sep 29, 2011 9:51 AM, Dale rdalek1...@gmail.com 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.

 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.



Re: [pulseaudio-discuss] [gentoo-user] PulseAudio 1.0-r1 + Skype == Garbled output sound

2011-09-28 Thread Spidey / Claudio
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.

Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Spidey / Claudio
On Thu, Sep 29, 2011 at 01:27, Pandu Poluan pa...@poluan.info wrote:
 On Thu, Sep 29, 2011 at 11:18, 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:


 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.


 Call the next rig ultra-tachyon and you're good for 32 years ;-)

 Rgds,
 --
 FdS Pandu E Poluan
 ~ IT Optimizer ~

  • LOPSA Member #15248
  • Blog : http://pepoluan.tumblr.com
  • Linked-In : http://id.linkedin.com/in/pepoluan



I'd suggest just not going straight to lightning from fireball. What
about Usain Bolt in between?

Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1



Re: [gentoo-user] WPA2 connection configuration?

2011-09-26 Thread Spidey / Claudio
Complementing James comment, when I messed with Gentoo on a notebook I
also tried the confusing and troublesome way: configuring wi-fi to
connect at boot time. It was REALLY a challenge, maintaining a
realistic configuration file, which would let you boot with network up
equally while home and while at work. At the end of the day, I just
regressed to no boot configuration and went with wicd or
NetworkManager.
When I came back to configuring my desktop, it felt strange to run
dhcp at boot time, I even tried migrating a wired box to
NetworkManager, but ended with a static config nevertheless.