Re: [gentoo-user] "pstree" for modules ?

2011-09-28 Thread Florian Philipp
Am 28.09.2011 05:12, schrieb meino.cra...@gmx.de:
> Florian Philipp  [11-09-28 04:05]:
>> Am 27.09.2011 20:24, schrieb meino.cra...@gmx.de:
>>> Hi,
>>>
>>> ist there a tool, which displays the dependencies of loaded modules as
>>> a tree like pstree does for tasks?
>>>
>>> Thank you very much for any help in advance! :)
>>>
>>> Best regards
>>> mcc
>>>
>>>
>>>
>>
>> Well, it's not a tool and it cannot print to terminal but you might want
>> to try out the bash skript below. It depends on media-gfx/graphviz to
>> create a postscript file visualizing the dependencies. The file will be
>> opened by your default postscript viewer (evince, okular, etc.).
>>
[...]
> 
> Hi Florian,
> 
> thank you for your mail and the script.
> Unfortunately this is a little of a Lambourghini
> solution where a bicycle would completly suffice... ;)
> 
> I had searched for a terminal related tool as pstree.
> 
> Best regards,
> mcc
> 
> 

The problem with doing this non-graphically is that module dependencies
do not form a tree. They form a graph (multiple parents per child,
multiple childs per parent). Visualizing this likely exceeds the graphic
capabilities of terminals (you note that even with graphviz' advanced
automatic arrangement, there are still lines that cross half the image).

You could still create a tree, but only by making most modules appear
multiple times.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: build problems with vmware-modules

2011-09-28 Thread Jonas de Buhr
>On 09/27/2011 10:08 PM, Jonas de Buhr wrote:
>> hello everone!
>>
>> i'm having problems running vmware. a recend "emerge -DuvaN world"
>> upgraded vmware to version 6.5.5 and i upgraded the kernel to
>> # uname -a
>> Linux toxic 2.6.39-gentoo-r3 #4 SMP Thu Sep 22 16:06:58 CEST 2011
>> x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel
>> GNU/Linux
>
>With VMWare, you need recent versions to work with non-ancient kernel 
>versions.  

i've been running vmware 6.x with 2.6.31 before with no problems. if
its that incompatible with newer kernels the dependencies should state
that and 7.x should become stable.

but it seems you're right:

/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/filesystem.c:84:4:
error: unknown field ‘get_sb’ specified in initializer

seems some stuff changed in the kernel
https://lkml.org/lkml/2011/3/17/29

> VMware 7.x should work fine with kernel 2.6.39.

i will give 7.x a try. thanks!


Re: [gentoo-user] "pstree" for modules ?

2011-09-28 Thread Willie Wong
On Wed, Sep 28, 2011 at 09:42:09AM +0200, Florian Philipp wrote:
> You could still create a tree, but only by making most modules appear
> multiple times.

Just like the '--tree' option for 'emerge'

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] Is Qemu dead?

2011-09-28 Thread Grant Edwards
I've been trying to use Qemu to do some test installs of Ubuntu
server.  I've used Qemu successfully in the past, but it seems to have
hit a dead end.  The "stable" version (0.11) of Qemu just plain
doesn't work. There are constant segfaults and kernel panics in the
guest environment.

I updated to the ~x86 version (0.14) -- while the guest OS installs
and runs OK, kernel acceleration (kqemu module) is no longer
supported, and without it Qemu is really slow.  

For now I've switched to VirtualBox, but the console implementation in
VirtualBox is nightmarishly slow. When I do -l looks like it's
scrolling by at about 9600 baud.

Is Qemu dead?  Or just dying?

-- 
Grant Edwards   grant.b.edwardsYow! What UNIVERSE is this,
  at   please??
  gmail.com




Re: [gentoo-user] "pstree" for modules ?

2011-09-28 Thread Albert W. Hopkins
On Wed, 2011-09-28 at 06:41 -0400, Willie Wong wrote:
> On Wed, Sep 28, 2011 at 09:42:09AM +0200, Florian Philipp wrote:
> > You could still create a tree, but only by making most modules appear
> > multiple times.
> 
> Just like the '--tree' option for 'emerge'


In that case something like:

# for m in `lsmod |awk '{print $1}'; do echo $m; modprobe \
  --show-depends $m|sed s'/^insmod \/.*\//  `-/;s/\.ko//'; done





Re: [gentoo-user] Is Qemu dead?

2011-09-28 Thread Mark Knecht
On Wed, Sep 28, 2011 at 7:14 AM, Grant Edwards
 wrote:
> I've been trying to use Qemu to do some test installs of Ubuntu
> server.  I've used Qemu successfully in the past, but it seems to have
> hit a dead end.  The "stable" version (0.11) of Qemu just plain
> doesn't work. There are constant segfaults and kernel panics in the
> guest environment.
>
> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.
>
> For now I've switched to VirtualBox, but the console implementation in
> VirtualBox is nightmarishly slow. When I do -l looks like it's
> scrolling by at about 9600 baud.
>
> Is Qemu dead?  Or just dying?
>
> --
> Grant Edwards               grant.b.edwards        Yow! What UNIVERSE is this,
>                                  at               please??
>                              gmail.com
>
>

I don't think it's dead at all. I see those guys interacting with the
KVM developers. I've never used Qemu but I suspect that the kqemu
stuff you're looking for is now what they're doing with KVM which
seems to be a pretty lively project. Qemu is not at 0.15 so it looks
like portage is a bit behind I guess.

HTH,
Mark



Re: [gentoo-user] Is Qemu dead?

2011-09-28 Thread Neil Bothwick
On Wed, 28 Sep 2011 14:14:53 + (UTC), Grant Edwards wrote:

> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.  

If you enable the relevant KVM modules in your kernel you can use
app-emulation/qemu-kvm, which uses in-CPU virtualisation.


-- 
Neil Bothwick

Geordi, show these children the antimatter - Picard


signature.asc
Description: PGP signature


Re: [gentoo-user] Is Qemu dead?

2011-09-28 Thread Matthew Finkel
On Wed, Sep 28, 2011 at 10:14 AM, Grant Edwards
wrote:

> I've been trying to use Qemu to do some test installs of Ubuntu
> server.  I've used Qemu successfully in the past, but it seems to have
> hit a dead end.  The "stable" version (0.11) of Qemu just plain
> doesn't work. There are constant segfaults and kernel panics in the
> guest environment.
>
> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.
>
> For now I've switched to VirtualBox, but the console implementation in
> VirtualBox is nightmarishly slow. When I do -l looks like it's
> scrolling by at about 9600 baud.
>
> Is Qemu dead?  Or just dying?
>
> --
> Grant Edwards   grant.b.edwardsYow! What UNIVERSE is
> this,
>  at   please??
>  gmail.com
>
>
>
I've been using QEMU on, nearly, a daily basis for the last few months. Last
I checked, I believe they're on track for a v1.0 release in November or
December. I, honestly, haven't had many problems with unexpected segfaults
on either Gentoo or Ubuntu, so I can't give any advice for that. As for the
speed issue, have you tried building KVM into the kernel or at least as a
mod?

- Matt


Re: [gentoo-user] Is Qemu dead?

2011-09-28 Thread Paul Hartman
On Wed, Sep 28, 2011 at 9:14 AM, Grant Edwards
 wrote:
> I've been trying to use Qemu to do some test installs of Ubuntu
> server.  I've used Qemu successfully in the past, but it seems to have
> hit a dead end.  The "stable" version (0.11) of Qemu just plain
> doesn't work. There are constant segfaults and kernel panics in the
> guest environment.

Version 0.11 is more than two years old. I don't use stable Gentoo; is
a 2-year-old version of a frequently-updated package normal in stable,
or is the Qemu in Gentoo in need of some attention?

> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.

I am not a Qemu user, but I seem to remember reading that the
preferred method for hardware virtualization/acceleration with Qemu
nowadays is KVM.

> For now I've switched to VirtualBox, but the console implementation in
> VirtualBox is nightmarishly slow. When I do -l looks like it's
> scrolling by at about 9600 baud.
>
> Is Qemu dead?  Or just dying?

The latest version (0.15) was released last month and the Qemu-dev
mailing list has a lot of activity (few dozen messages per day), so it
seems alive to me.



[gentoo-user] Re: Is Qemu dead?

2011-09-28 Thread Grant Edwards
On 2011-09-28, Neil Bothwick  wrote:
> On Wed, 28 Sep 2011 14:14:53 + (UTC), Grant Edwards wrote:
>
>> I updated to the ~x86 version (0.14) -- while the guest OS installs
>> and runs OK, kernel acceleration (kqemu module) is no longer
>> supported, and without it Qemu is really slow.  
>
> If you enable the relevant KVM modules in your kernel you can use
> app-emulation/qemu-kvm, which uses in-CPU virtualisation.

Doh!

I had forgotten there was a seperate kvm-enabled build of Qemu.  I'll
have to give that a try.

-- 
Grant Edwards   grant.b.edwardsYow! So this is what it
  at   feels like to be potato
  gmail.comsalad




[gentoo-user] Re: Slightly OT but interesting nonetheless...

2011-09-28 Thread James
Volker Armin Hemmann  googlemail.com> writes:


> > >  Breaking the user experience in order to ???fix??? something
> > >  is a totally broken concept; you cannot do it.

> > That's hilarious.

> > The Linux developers are _constantly_ changing APIs in ways that break
> > existing device driver code.  There are repeatedly wholesale
> > re-designs of some APIs that happen between minor versions of a
> > supposedly "stable" kernel.

> which is seriously not a problem and does not matter in the slightest.

Some perspective may ease the pain here. Folks on this list are focused
on *their personal pain*. Welcome to unix/bsd/linux. (too many decades now)
No pain, no gain. Gui experiences are what consumers see, feel and purchase;
so Volker is very right here. 

The kernel gyrations are all really about something much more important.
*MONEY*

Just think about it, on this list in the last few months, we have discussed
how the stock market runs on linux, Some folks use GPU + CPU for very
advanced things, Commercial distros like Apple's offering are making
billions. Android. (on and on). The point is the Linux Kernel is
the battle ground for software deployment, particularly firmware.
An infinite number of "user experiences"
can be packaged and sold on top of the Linux kernel.

Here's another one: Carrier Grade Linux (runs most of the worlds communications
systems, including most carrier grade cisco gear. Most legacy comm system
at some point now, get boosted on top of private IP networks run by the 
carriers (or military). Cisco recommends embedded linux on their carrier
switches and IOS is an unmanaged *hacked* pig, with little future.


The "gymnastics" about the kernel and drivers are the public manifestation
of a much deeper battle for embedded systems supremacy using linux. Wind River,
unquestionable the largest commercial offering of embedded solutions
has products based on both bsd and linux kernels. In "ka-hoots" with 
chip vendors they routinely offer "enhanced" drivers to companies that
build products, with features never to found in the linux published
sources. Binaries are available and yet clearly violate the spirit
of the whole (whore) open source movement. WHY? *MONEY*. Governments
and miltaries also feed at this trough. Linus would have his tits
slapped together, if he every interfered with these industries.
He in only in charge of the gyrations

Tons of products still use embedded linux for the 2.4 kernel series.
They opt out of the 2.6 gyrations. Many companies put forward their best
technologies, in order to gain "mind-share" in the kernel wars.

Companies build very large data base systems, using the latest technologies
that work with the linux kernel. Often these technologies only appear 
for the masses, years after companies use a "in house" version as
the key pillar for commercial success (MONEY).

Take for example the company that does backups for one of the worlds largest
and most complicated database needs. The good old US ARMY.
They use linux, the latest open source databases and the newest
file systems like CEPHS, yet they are years away from public consumption.
Well financed companies are buying up the young (phd) experts whom
have hack out versions and code that makes CEPH usable. Billions of dollars
are being made and it's a real threat to Oracle. Customizations
of low level drivers in the latest linux kernel are the key, and
much of that work will not even be introduced to the linux kernel
community..TOO MUCH MONEY AT STAKE!

(and you wonder why Oracle hates linux?) 

The linux kernel is a malaise of brilliant folks that are key components
in thousands of billion dollar schemes for a wide variety of embedded
and distributed  products (thinks corporation profits).

What amazes me if that we get any real progress on the kernel at all.
Only enough to keep technical folks in love with linux, but not
disturb the billion dollar industries, all jocking for position
around the kernel and drivers. So when things are murky, just
realize there is most likely several divergent financial interests
jocking for position behind those  public gyrations.



> They NEVER change user-space APIs and ABIs in incompatible ways. THAT is 
> important.
> > We have to touch our NetBSD and FreeBSD drivers maybe once every 3-4
> > years.  
> and look how much devices they drive - because nobody has to send their 
> drivers upstream, nobody does.

Because embedded BSD, although still viable, does not have mindshare
any more. Most do not care. The battle it to spin your version
of embedded linux, and sell it to the product manufacturers.


> > Often our Linux drivers have to be updated every 3-4 _months_
> > to keep up with changes in the kernel that break things.
> which is your own fucking fault. 
> Get your drivers into the kernel. Problem solved.

Volker is right, again. However, this is where the true
fun begins, particularly when an innovative startup
looks to gain market share in an area whe

[gentoo-user] Re: Is Qemu dead?

2011-09-28 Thread Grant Edwards
On 2011-09-28, Paul Hartman  wrote:
> On Wed, Sep 28, 2011 at 9:14 AM, Grant Edwards
> wrote:
>> I've been trying to use Qemu to do some test installs of Ubuntu
>> server. ?I've used Qemu successfully in the past, but it seems to have
>> hit a dead end. ?The "stable" version (0.11) of Qemu just plain
>> doesn't work. There are constant segfaults and kernel panics in the
>> guest environment.
>
> Version 0.11 is more than two years old. I don't use stable Gentoo;
> is a 2-year-old version of a frequently-updated package normal in
> stable, or is the Qemu in Gentoo in need of some attention?
>
>> I updated to the ~x86 version (0.14) -- while the guest OS installs
>> and runs OK, kernel acceleration (kqemu module) is no longer
>> supported, and without it Qemu is really slow.
>
> I am not a Qemu user, but I seem to remember reading that the
> preferred method for hardware virtualization/acceleration with Qemu
> nowadays is KVM.

Yes, I should have known that.  I had forgotten that kqemu and
qemu-kvm were two completely different things.

>> For now I've switched to VirtualBox, but the console implementation in
>> VirtualBox is nightmarishly slow. When I do -l looks like it's
>> scrolling by at about 9600 baud.
>>
>> Is Qemu dead? ?Or just dying?
>
> The latest version (0.15) was released last month and the Qemu-dev
> mailing list has a lot of activity (few dozen messages per day), so it
> seems alive to me.

That's good to hear.  I've used it extensively in the past for testing
eCos (an embedded RTOS) software on a "PC motherboard" target.  Glad to 
know it's still kicking.

-- 
Grant Edwards   grant.b.edwardsYow! Not SENSUOUS ... only
  at   "FROLICSOME" ... and in
  gmail.comneed of DENTAL WORK ... in
   PAIN!!!




Re: [gentoo-user] X hang / occasionally after using LVM

2011-09-28 Thread Volker Armin Hemmann
Am Mittwoch 28 September 2011, 09:25:56 schrieb J.Marcos Sitorus:
> Hi list,
> I have started using LVM about a week ago. I have created one volume group
> name and two logical volume.
> Both of the logical volume formatted with reiser4 file system, one volume as
> my backup home and the other volume used for VirtualBox.
> Since I use this setting, X ofter hang/crash. Sometime it happen when I use
> VirtualBox, the other time occur when I copy the files on the home folder to
> my backup home.
> Is this bug from LVM or only me suffer this?
> Attached is the /var/log/messages and emerge --info.

plain dmesg + xorg.0.log and maybe .xession-errors probably would have more 
usefull.

I guess you updated your kernel/graphics drivers. You get a general protection 
fault, and a null pointer deference and everytime virtualbox is there.

So - get back to your last working versions - oh and those lvm volumes are on 
new disks? You did not knock the ram loose while putting them in?

-- 
#163933



Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...

2011-09-28 Thread Volker Armin Hemmann
Am Mittwoch 28 September 2011, 14:44:06 schrieb James:
> Volker Armin Hemmann  googlemail.com> writes:
> > > >  Breaking the user experience in order to ???fix??? something
> > > >  is a totally broken concept; you cannot do it.
> > > 
> > > That's hilarious.
> > > 
> > > The Linux developers are _constantly_ changing APIs in ways that
> > > break
> > > existing device driver code.  There are repeatedly wholesale
> > > re-designs of some APIs that happen between minor versions of a
> > > supposedly "stable" kernel.
> > 
> > which is seriously not a problem and does not matter in the slightest.
> 
> Some perspective may ease the pain here. Folks on this list are focused
> on *their personal pain*. Welcome to unix/bsd/linux. (too many decades now)
> No pain, no gain. Gui experiences are what consumers see, feel and purchase;
> so Volker is very right here.
> 
> The kernel gyrations are all really about something much more important.
> *MONEY*

well, if you make money with linux, their are many choices for you. Nobody 
forces you to target the latest kernel. You can always go with one of the many 
stable releases out there. Look them up.

> 
> Just think about it, on this list in the last few months, we have discussed
> how the stock market runs on linux, Some folks use GPU + CPU for very
> advanced things, Commercial distros like Apple's offering are making
> billions. Android. (on and on). The point is the Linux Kernel is
> the battle ground for software deployment, particularly firmware.
> An infinite number of "user experiences"
> can be packaged and sold on top of the Linux kernel.

so what? what does this have to do with linux changing internal apis that are 
not supposed to be public? (hint: nothing)

> 
> Here's another one: Carrier Grade Linux (runs most of the worlds
> communications systems, including most carrier grade cisco gear. Most
> legacy comm system at some point now, get boosted on top of private IP
> networks run by the carriers (or military). Cisco recommends embedded linux
> on their carrier switches and IOS is an unmanaged *hacked* pig, with little
> future.

see above

> 
> 
> The "gymnastics" about the kernel and drivers are the public manifestation
> of a much deeper battle for embedded systems supremacy using linux. Wind
> River, unquestionable the largest commercial offering of embedded solutions
> has products based on both bsd and linux kernels. In "ka-hoots" with chip
> vendors they routinely offer "enhanced" drivers to companies that build
> products, with features never to found in the linux published sources.
> Binaries are available and yet clearly violate the spirit of the whole
> (whore) open source movement. WHY? *MONEY*. Governments and miltaries also
> feed at this trough. Linus would have his tits
> slapped together, if he every interfered with these industries.
> He in only in charge of the gyrations
> 

tell that yourself to make you happy. 

> Tons of products still use embedded linux for the 2.4 kernel series.

and there are even products with 2.2 kernels. What does that prove? Nothing?


> Companies build very large data base systems, using the latest technologies
> that work with the linux kernel. Often these technologies only appear
> for the masses, years after companies use a "in house" version as
> the key pillar for commercial success (MONEY).

and again, what does that have to do with internal api changes?

> 
> Take for example the company that does backups for one of the worlds largest
> and most complicated database needs. The good old US ARMY.
> They use linux, the latest open source databases and the newest
> file systems like CEPHS, yet they are years away from public consumption.
> Well financed companies are buying up the young (phd) experts whom
> have hack out versions and code that makes CEPH usable. Billions of dollars
> are being made and it's a real threat to Oracle. Customizations
> of low level drivers in the latest linux kernel are the key, and
> much of that work will not even be introduced to the linux kernel
> community..TOO MUCH MONEY AT STAKE!

see above.

> 
> (and you wonder why Oracle hates linux?)

yeah, they really must hate linux. One of the first databases running on it, 
sponsoring btrfs etc pp. That is hate. 

> 
> What amazes me if that we get any real progress on the kernel at all.

not me. Because keeping internal apis backwards compatible for some out-of-
tree code is a sure way to go down the drain.


> > They NEVER change user-space APIs and ABIs in incompatible ways. THAT is
> > important.
> > 
> > > We have to touch our NetBSD and FreeBSD drivers maybe once every 3-4
> > > years.
> > 
> > and look how much devices they drive - because nobody has to send their
> > drivers upstream, nobody does.
> 
> Because embedded BSD, although still viable, does not have mindshare
> any more. Most do not care. The battle it to spin your version
> of embedded linux, and sell it to the product manufacturers.

and thanks to

[gentoo-user] Re: Slightly OT but interesting nonetheless...

2011-09-28 Thread Grant Edwards
On 2011-09-27, Volker Armin Hemmann  wrote:
> Am Montag 26 September 2011, 20:13:53 schrieb Grant Edwards:
>> On 2011-09-26, Michael Mol  wrote:
>> > On Mon, Sep 26, 2011 at 3:37 PM, pk  wrote:
>> >> Hi,
>> >> 
>> >> Happened upon this interview with Linus Torvalds that some of you
>> >> might
>> >> find interesting (if you haven't seen it already):
>> >> 
>> >> http://h30565.www3.hp.com/t5/Feature-Articles/Linus-Torvalds-s-Lessons
>> >> -on-Software-Development-Management/ba-p/440> 
>> > Yeah, I just saw that. Admittedly, when I saw this section:
>> > 
>> > --begin-section--
>> 
>> [...]
>> 
>> >  Breaking the user experience in order to ???fix??? something
>> >  is a totally broken concept; you cannot do it.
>> 
>> That's hilarious.
>> 
>> The Linux developers are _constantly_ changing APIs in ways that break
>> existing device driver code.  There are repeatedly wholesale
>> re-designs of some APIs that happen between minor versions of a
>> supposedly "stable" kernel.
>
> which is seriously not a problem and does not matter in the
> slightest.

That depends on whether you have to maintain Linux drivers or not. ;)

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.

> They NEVER change user-space APIs and ABIs in incompatible ways. THAT is 
> important.

Indeed, that's very important.

>> Often our Linux drivers have to be updated every 3-4 _months_
>> to keep up with changes in the kernel that break things.
>
> which is your own fucking fault. 
>
> Get your drivers into the kernel. Problem solved.

We tried that approach.  It didn't work -- it just generates a lot
more work.

-- 
Grant Edwards   grant.b.edwardsYow! Did an Italian CRANE
  at   OPERATOR just experience
  gmail.comuninhibited sensations in
   a MALIBU HOT TUB?




[gentoo-user] Motherboard support?

2011-09-28 Thread 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?

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Michael Mol
On Wed, Sep 28, 2011 at 1:54 PM, Nilesh Govindarajan
 wrote:
> 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

Key pieces will be the northbridge, southbridge and LAN. Audio support
will depend on the nature of the southbridge. Everything else on those
boards looks pretty standardized. (You should be able to use AHCI for
SATA, EHCI/XHCI for USB, UHCI for IEEE 1394...)

For all three boards:
North Bridge: AMD 880G
South Bridge: AMD SB710

The LAN chipset differs slightly:

Gigabyte 880GM - Realtek 8111D
GA 880GM-USB3L - Realtek 8111D/E
880GM-USB3 - Realtek 8111E

AFAIK, the Realtek 8111 series is the onboard version of their 8169
series. I've got an 8111C in my system at home, and it works fine. I
don't know about the D and E variants.

-- 
:wq



[gentoo-user] emake die by compling

2011-09-28 Thread 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


Re: [gentoo-user] emake die by compling

2011-09-28 Thread Michael Mol
On Wed, Sep 28, 2011 at 3:39 PM, Alex Sla <4k3...@googlemail.com> wrote:
> 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

There will usually be additional information, like where to find the
build log and environment file.


-- 
:wq



Re: [gentoo-user] emake die by compling

2011-09-28 Thread Florian Philipp
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Florian Philipp
Am 28.09.2011 19:54, 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?
> 

I have got a Gigabyte GA-880GMA-UD2H after recommendations on this list.
The board is working perfectly fine.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] emake die by compling

2011-09-28 Thread Alex Sla
On Wed, Sep 28, 2011 at 9:43 PM, Michael Mol  wrote:

> On Wed, Sep 28, 2011 at 3:39 PM, Alex Sla <4k3...@googlemail.com> wrote:
> > 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
>
> There will usually be additional information, like where to find the
> build log and environment file.
>
>
> --
> :wq
>
> /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#CFLAGS="-march=athlon64 -O2 -pipe"
CFLAGS="-O2"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before
changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by
the
# profile used for building.
USE="3dnow 3dnowext X aac acpi alsa amd64codecs avahi bonjour cups dbus gd
zip java sndfile zeroconf
 device-mapper dvd fat ffmpeg flac gnome gnutls gtk hal ipod lame imap
altivec jack bash-completion
 linguas_de linguas_en matroska mdnsresponder-compat mmx mp4 nsplugin
ogm pcap pidgin virt-network xen
 pni python smbclient sqlite sse sse2 sse4a threads vorbis pulseaudio
win32 theora sasl smtp gpg opengl sqlite3
 webm syslog mono apng win32codecs introspection fuse icu banshee
fontconfig cdda udev
 wireshark x264 xfs qemu -arts -bluetooth -ipv6 -kde -qt3 -qt4 -server

 "
MAKEOPTS='-j1'
GENTOO_MIRRORS="http://distfiles.gentoo.org/ "
FEATURES="parallel-fetch"
CCACHE_DIR=/var/cache/ccache/
CCACHE_SIZE=10G
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
NETBEANS_MODULES="*"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev synaptics keyboard"
ACCEPT_LICENSE="*+@EULA"
source /var/lib/layman/make.conf
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"


emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5,
glibc-2.12.2-r0, 3.0.4-gentoo x86_64)
=
System uname:
Linux-3.0.4-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.3
Timestamp of tree: Wed, 28 Sep 2011 19:15:01 +
ccache version 2.4 [disabled]
app-shells/bash:  4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:  2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:  2.4-r9
dev-util/cmake:   2.8.4-r1
dev-util/pkgconfig:   0.26
sys-apps/baselayout:  2.0.3
sys-apps/openrc:  0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf:   2.13, 2.68
sys-devel/automake:   1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:   2.21.1-r1
sys-devel/gcc:4.4.5, 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:   2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA *+@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt
/usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/a

  pache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/
/etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo
 /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles
fixpackages news parallel-fetch protect-owned sandbox sfperms stric

  t unknown-features-warn unmerge-logs unmerge-orphans
userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180 --excl

ude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amd64codecs apng avahi
banshee bash-completion berkdb bonjour branding bzip2 cairo cdda

   cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dri
dts dvd dvdr eds emboss encode evo exif fam fat ffmpeg firefox flac font

  config fortran fuse gd gdbm gdu gif

Re: [gentoo-user] emake die by compling

2011-09-28 Thread Michael Mol
On Wed, Sep 28, 2011 at 4:17 PM, Alex Sla <4k3...@googlemail.com> wrote:
> x11-libs/gtk+

I'm going to venture a guess that you got bit by the libpng14->libpng15 upgrade.

emerge --search libpng

-- 
:wq



Re: [gentoo-user] emake die by compling

2011-09-28 Thread Todd Goodman
* Florian Philipp  [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



Re: [gentoo-user] emake die by compling

2011-09-28 Thread Alex Sla
On Wed, Sep 28, 2011 at 10:28 PM, Todd Goodman  wrote:

> * Florian Philipp  [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


Re: [gentoo-user] emake die by compling

2011-09-28 Thread Alex Sla
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  wrote:
>
>> * Florian Philipp  [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
>


Re: [gentoo-user] emake die by compling

2011-09-28 Thread Alex Sla
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  wrote:
>
>> * Florian Philipp  [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


[gentoo-user] no sound with pulseaudio

2011-09-28 Thread Tamer Higazi
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?

thanks


Tamer




Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Canek Peláez Valdés
On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  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?
What Desktop do you use? Is the pulseaudio daemon running?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Tamer Higazi
Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  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!


The players Rhythmbox, xine all with pulseaudio default output plugins.

> 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)


> 
> Regards.

I have added all config files in "/etc/pulse/"

default.pa:
http://pastebin.com/raw.php?i=gU7piwLf

client.conf:
http://pastebin.com/raw.php?i=4nwt7Upz

system.pa:
http://pastebin.com/raw.php?i=2uhRPEpP



[gentoo-user] Re: Motherboard support?

2011-09-28 Thread masterprometheus
Nilesh Govindarajan wrote:

> 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?

Neither 880G nor SB710 is a new chipset, so they should work out of the 
box. But you may want to wait. Bulldozers will be out at October 12, and 
their prices won't very different than Phenom II's. And FX-8120, expected 
to be priced around $200 will be an 8-core, faster and better 
overclocker.






Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Canek Peláez Valdés
On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi  wrote:
> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  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.

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

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.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



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

2011-09-28 Thread Mark Knecht
Hi,
   For the first time in a couple of years I had a total hard hang
today when a Virtualbox VM was doing some updates to M$ Office. The
compute server was completely alive & then completely hung. The mouse
wouldn't move, I couldn't switch to the console and I couldn't log in
from another machine. I tried Alt-Ctrl-SysRq REISUB but there was no
response to that either so I went with a hard reset and did some
fsck's to ensure everything was OK. (It was...) After bringing the
machine back up I tested that the Magic SysRq worked, and it did, so
the hang was hard enough to stop even that.

   My question about this is what's your guess about where the hang
occurred? Was it purely in the kernel and I just hit some corner
condition that caused it? Or could it be that a hang in the VM could
completely bring the machine to a halt such that the kernel never
gains control even after waiting 15 minutes?

   The kernel was gentoo-sources-3.0.4, not the -r1 that came out today.

   Looking forward to all ideas.

Cheers,
Mark



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Mick
On Wednesday 28 Sep 2011 22:49:06 Tamer Higazi wrote:
> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
> > On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  
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
> }


The link you provided also shows:

[snip ...]

pcm.!default {
type pulse
}
ctl.!default {
type pulse
}


Why did you leave these out of your /etc/asound.conf

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] emake die by compling

2011-09-28 Thread Michael Mol
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  wrote:
>>>
>>> * Florian Philipp  [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



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Tamer Higazi
Am 29.09.2011 00:09, schrieb Mick:
> On Wednesday 28 Sep 2011 22:49:06 Tamer Higazi wrote:
>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  
> 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
>> }
> 
> 
> The link you provided also shows:
> 
> [snip ...]
> 
> pcm.!default {
> type pulse
> }
> ctl.!default {
> type pulse
> }
> 
> 
> Why did you leave these out of your /etc/asound.conf
> 
Because Flash player didn't work in the past. When flash started, it
blocked the output of all other things among.


Tamer



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Tamer Higazi
Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi  wrote:
>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  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!


> 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!

> 
> 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.


Is there a way to find out which applications might make use of the
soundcard right now?!


Tamer



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Dale

Nilesh Govindarajan wrote:

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?



I used this site to get this:

http://kmuto.jp/debian/hcl/Giga-byte/GA-880GM-USB3

That's one of them and I think I saw another one from your list.  May I 
make a suggestion tho.  It looks like those have a built in video 
system, get a separate video card.  Of all the video issues I have ever 
had on Linux, it has been built in video cards.  There are other good 
reasons for this too, heat being one of them.


As to Gigabyte as a brand, I have a 770 based mobo and it works great.  
It's worth every penny and then some.  I have also had good luck with 
Abit several years ago.  I have installed on a MSI before too and it was 
stable.


If you want to research other mobos, start here:

http://kmuto.jp/debian/hcl/

There are two ways to do this.  If you have the mobo and can, paste the 
output of lspci -n in the box.  If you are researching and don't have 
the mobo yet, click on the links on the left to see if the one you are 
looking for is in the list.  When researching a mobo, I find that site 
invaluable to say the least.


Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Canek Peláez Valdés
On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi  wrote:
> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi  wrote:
>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  
 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? If so, the sound
works without headphones? The internal speakers work?

Also, can you please post the output of "pactl list"?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Canek Peláez Valdés
On Wed, Sep 28, 2011 at 7:27 PM, Canek Peláez Valdés  wrote:
> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi  wrote:
>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi  wrote:
 Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  
> 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!

Also, in alsamixer not only set the bars up: make sure the control is
not muted (it has an "M" at the bottom if muted). You can mute/unmute
pressing the letter 'm'.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



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

2011-09-28 Thread Dale

Mark Knecht wrote:

Hi,
For the first time in a couple of years I had a total hard hang
today when a Virtualbox VM was doing some updates to M$ Office. The
compute server was completely alive&  then completely hung. The mouse
wouldn't move, I couldn't switch to the console and I couldn't log in
from another machine. I tried Alt-Ctrl-SysRq REISUB but there was no
response to that either so I went with a hard reset and did some
fsck's to ensure everything was OK. (It was...) After bringing the
machine back up I tested that the Magic SysRq worked, and it did, so
the hang was hard enough to stop even that.

My question about this is what's your guess about where the hang
occurred? Was it purely in the kernel and I just hit some corner
condition that caused it? Or could it be that a hang in the VM could
completely bring the machine to a halt such that the kernel never
gains control even after waiting 15 minutes?

The kernel was gentoo-sources-3.0.4, not the -r1 that came out today.

Looking forward to all ideas.

Cheers,
Mark




Well, I had a weird one a while back that caused this sort of issue.  It 
turned out that one of my hard drives was having a file system issue.  I 
put a new file system on it, it works fine ever since.  Weird but real.


That said, if the kernel itself locks up, the SysReq keys may not work.  
I have found that if you can't ssh in or get the SysReq keys to work, it 
is what I call a hard lock up.  Hitting the reset button or pulling the 
plug is the only option I know of.


You can set it so that it will reboot automatically when it locks up.  
Thing is, if the lock up is severe enough, that may not work either.  
Same as the SysReq keys I guess.


Having the option to use SysReq keys are nice but sometimes even that 
doesn't work.  It would be nice if one could cross their fingers when 
using those.  I have to use both hands to press mine.  Does crossing 
toes help?  lol


Dale

:-)  :-)



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

2011-09-28 Thread Pandu Poluan
On Sep 29, 2011 6:55 AM, "Dale"  wrote:
>
> Mark Knecht wrote:
>>
>> Hi,
>>For the first time in a couple of years I had a total hard hang
>> today when a Virtualbox VM was doing some updates to M$ Office. The
>> compute server was completely alive&  then completely hung. The mouse
>> wouldn't move, I couldn't switch to the console and I couldn't log in
>> from another machine. I tried Alt-Ctrl-SysRq REISUB but there was no
>> response to that either so I went with a hard reset and did some
>> fsck's to ensure everything was OK. (It was...) After bringing the
>> machine back up I tested that the Magic SysRq worked, and it did, so
>> the hang was hard enough to stop even that.
>>
>>My question about this is what's your guess about where the hang
>> occurred? Was it purely in the kernel and I just hit some corner
>> condition that caused it? Or could it be that a hang in the VM could
>> completely bring the machine to a halt such that the kernel never
>> gains control even after waiting 15 minutes?
>>
>>The kernel was gentoo-sources-3.0.4, not the -r1 that came out today.
>>
>>Looking forward to all ideas.
>>
>> Cheers,
>> Mark
>>
>>
>
> Well, I had a weird one a while back that caused this sort of issue.  It
turned out that one of my hard drives was having a file system issue.  I put
a new file system on it, it works fine ever since.  Weird but real.
>
> That said, if the kernel itself locks up, the SysReq keys may not work.  I
have found that if you can't ssh in or get the SysReq keys to work, it is
what I call a hard lock up.  Hitting the reset button or pulling the plug is
the only option I know of.
>
> You can set it so that it will reboot automatically when it locks up.
 Thing is, if the lock up is severe enough, that may not work either.  Same
as the SysReq keys I guess.
>
> Having the option to use SysReq keys are nice but sometimes even that
doesn't work.  It would be nice if one could cross their fingers when using
those.  I have to use both hands to press mine.  Does crossing toes help?
 lol

Naaah. It *must* be the fingers of your hands. Employ your little finger and
thumb, freeing the index and middle to do the all-important crossing...

;-)

Rgds,


Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Tamer Higazi
Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi  wrote:
>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi  wrote:
 Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  
> 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] Re: Slightly OT but interesting nonetheless...

2011-09-28 Thread 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?

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Tamer Higazi
Am 29.09.2011 01:28, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 7:27 PM, Canek Peláez Valdés  wrote:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi  wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi  
 wrote:
> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  
>> 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!
> 
> Also, in alsamixer not only set the bars up: make sure the control is
> not muted (it has an "M" at the bottom if muted). You can mute/unmute
> pressing the letter 'm'.

I double checked, not all UNMUTED!

and as I have raised all the bars the white sound become more WHITER,
but no playback sound for anything, if you get what I try to say
> 
> Regards.


thx


Tamer



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread Tamer Higazi
Am 29.09.2011 01:28, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 7:27 PM, Canek Peláez Valdés  wrote:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi  wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi  
 wrote:
> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi  
>> 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!
> 
> Also, in alsamixer not only set the bars up: make sure the control is
> not muted (it has an "M" at the bottom if muted). You can mute/unmute
> pressing the letter 'm'.
> 
> Regards.


I opened the browser, and I hear music WOW!!! but the pulsemeter
playback is death. It does, but not through pulseaudio :(

so with alsa directly we have sound, but not with pulseaudio

Tamer



Re: [gentoo-user] no sound with pulseaudio

2011-09-28 Thread 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"  escribió:
> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi 
wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi 
wrote:
> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi 
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=wDgy3x6

[gentoo-user] PulseAudio 1.0-r1 + Skype ==> Garbled output sound

2011-09-28 Thread Hilco Wijbenga
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] Re: Motherboard support?

2011-09-28 Thread Nilesh Govindarajan
On 09/29/2011 03:21 AM, masterprometheus wrote:
> Nilesh Govindarajan wrote:
> 
>> 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?
> 
> Neither 880G nor SB710 is a new chipset, so they should work out of the 
> box. But you may want to wait. Bulldozers will be out at October 12, and 
> their prices won't very different than Phenom II's. And FX-8120, expected 
> to be priced around $200 will be an 8-core, faster and better 
> overclocker.
> 
> 
> 
> 

Bulldozers coming out in October 12, I'll better wait then. It has much
better virt support.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Nilesh Govindarajan
On 09/29/2011 04:46 AM, Dale wrote:
> Nilesh Govindarajan wrote:
>> 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?
>>
> 
> I used this site to get this:
> 
> http://kmuto.jp/debian/hcl/Giga-byte/GA-880GM-USB3
> 
> That's one of them and I think I saw another one from your list.  May I
> make a suggestion tho.  It looks like those have a built in video
> system, get a separate video card.  Of all the video issues I have ever
> had on Linux, it has been built in video cards.  There are other good
> reasons for this too, heat being one of them.
> 
> As to Gigabyte as a brand, I have a 770 based mobo and it works great. 
> It's worth every penny and then some.  I have also had good luck with
> Abit several years ago.  I have installed on a MSI before too and it was
> stable.
> 
> If you want to research other mobos, start here:
> 
> http://kmuto.jp/debian/hcl/
> 
> There are two ways to do this.  If you have the mobo and can, paste the
> output of lspci -n in the box.  If you are researching and don't have
> the mobo yet, click on the links on the left to see if the one you are
> looking for is in the list.  When researching a mobo, I find that site
> invaluable to say the least.
> 
> Hope that helps.
> 
> Dale
> 
> :-)  :-)
> 

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.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] {OT} Development framework with access restriction?

2011-09-28 Thread Grant
>> I'd like to hire a freelancer to work on my website.  I don't want to
>> provide access to all of my code, but instead only the particular file
>> or files being worked on.  Does anyone know of a development framework
>> that would help facilitate that sort of thing?  Would no shell access
>> along with restricted SFTP access be the simplest, safest, most
>> effective way to go?
>
> Why not just send him the stuff he should be working on? He can run his
> own Apache/PHP/whatever on his development machine. When he's done, he
> can send you a tarball of the site files and maybe a SQL dump if you're
> using a database.

The problem with that is he will need to test his code in the working
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


> That's the easiest one-off solution. If you're looking for something
> more permanent, another idea is to have a "public" git repo somewhere
> while the developers all work on their own workstations. SQL changes can
> be made via numbered migrations, e.g.,
>
>  001-create_users_table.sql
>  002-create_nodes_table.sql
>  003-disregard_that_drop_users_table.sql
>
> and devs can push everything to the git repo, as long as it's a
> fast-forward (so they can't trash the repo history).
>
> Once you're ready to move something live, an admin logs in to the
> production box, does a `git pull`, and then runs the migrations or makefile.



Re: [gentoo-user] {OT} Development framework with access restriction?

2011-09-28 Thread Grant
>>I'd like to hire a freelancer to work on my website.  I don't want to
>>provide access to all of my code, but instead only the particular file
>>or files being worked on.  Does anyone know of a development framework
>>that would help facilitate that sort of thing?  Would no shell access
>>along with restricted SFTP access be the simplest, safest, most
>>effective way to go?
>
> 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.

- Grant



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Nilesh Govindarajan
On Thu 29 Sep 2011 06:42:42 AM IST, Nilesh Govindarajan wrote:
> On 09/29/2011 04:46 AM, Dale wrote:
>> Nilesh Govindarajan wrote:
>>> 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?
>>>
>>
>> I used this site to get this:
>>
>> http://kmuto.jp/debian/hcl/Giga-byte/GA-880GM-USB3
>>
>> That's one of them and I think I saw another one from your list.  May I
>> make a suggestion tho.  It looks like those have a built in video
>> system, get a separate video card.  Of all the video issues I have ever
>> had on Linux, it has been built in video cards.  There are other good
>> reasons for this too, heat being one of them.
>>
>> As to Gigabyte as a brand, I have a 770 based mobo and it works great. 
>> It's worth every penny and then some.  I have also had good luck with
>> Abit several years ago.  I have installed on a MSI before too and it was
>> stable.
>>
>> If you want to research other mobos, start here:
>>
>> http://kmuto.jp/debian/hcl/
>>
>> There are two ways to do this.  If you have the mobo and can, paste the
>> output of lspci -n in the box.  If you are researching and don't have
>> the mobo yet, click on the links on the left to see if the one you are
>> looking for is in the list.  When researching a mobo, I find that site
>> invaluable to say the least.
>>
>> Hope that helps.
>>
>> Dale
>>
>> :-)  :-)
>>
>
> 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?

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] X hang / occasionally after using LVM

2011-09-28 Thread Michael Mol
On Wed, Sep 28, 2011 at 10:11 PM, J.Marcos Sitorus  wrote:
>>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.

He's asking if you may have bumped your RAM modules when connecting
new hard drives. (Which you've now said aren't new, anyway, so that's
irrelevant)

-- 
:wq



Re: [gentoo-user] {OT} Development framework with access restriction?

2011-09-28 Thread Grant
>>> I'd like to hire a freelancer to work on my website.  I don't want to
>>> provide access to all of my code, but instead only the particular file
>>> or files being worked on.  Does anyone know of a development framework
>>> that would help facilitate that sort of thing?  Would no shell access
>>> along with restricted SFTP access be the simplest, safest, most
>>> effective way to go?
>>
>> Why not just send him the stuff he should be working on? He can run his
>> own Apache/PHP/whatever on his development machine. When he's done, he
>> can send you a tarball of the site files and maybe a SQL dump if you're
>> using a database.
>
> The problem with that is he will need to test his code in the working
> 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?  If that's the case, can anyone think
of a better way to control remote access to my files than chmod/chown?
 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.

- Grant


>> That's the easiest one-off solution. If you're looking for something
>> more permanent, another idea is to have a "public" git repo somewhere
>> while the developers all work on their own workstations. SQL changes can
>> be made via numbered migrations, e.g.,
>>
>>  001-create_users_table.sql
>>  002-create_nodes_table.sql
>>  003-disregard_that_drop_users_table.sql
>>
>> and devs can push everything to the git repo, as long as it's a
>> fast-forward (so they can't trash the repo history).
>>
>> Once you're ready to move something live, an admin logs in to the
>> production box, does a `git pull`, and then runs the migrations or makefile.



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Dale

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


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.




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  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  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"  escribió:
>> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi 
>>> wrote:
 Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi 
> wrote:
>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi 
>>> 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
 s

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] Motherboard support?

2011-09-28 Thread Pandu Poluan
On Sep 29, 2011 9:51 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.
>
> 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,


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  wrote:
>
> On Sep 29, 2011 9:51 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.
>>
>> 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: [gentoo-user] Motherboard support?

2011-09-28 Thread Dale

Spidey / Claudio wrote:

On Thu, Sep 29, 2011 at 00:34, Pandu Poluan  wrote:

On Sep 29, 2011 9:51 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.

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.


Dale

:-)  :-)



Re: [gentoo-user] Motherboard support?

2011-09-28 Thread Pandu Poluan
On Thu, Sep 29, 2011 at 11:18, Dale  wrote:
> Spidey / Claudio wrote:
>>
>> On Thu, Sep 29, 2011 at 00:34, Pandu Poluan  wrote:
>>>
>>> On Sep 29, 2011 9:51 AM, "Dale"  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



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
 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  
>> 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  wrote:
> On Thu, Sep 29, 2011 at 11:18, Dale  wrote:
>> Spidey / Claudio wrote:
>>>
>>> On Thu, Sep 29, 2011 at 00:34, Pandu Poluan  wrote:

 On Sep 29, 2011 9:51 AM, "Dale"  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: [pulseaudio-discuss] [gentoo-user] PulseAudio 1.0-r1 + Skype ==> Garbled output sound

2011-09-28 Thread Hilco Wijbenga
On 28 September 2011 22:56, Spidey / Claudio  wrote:
> On Thu, Sep 29, 2011 at 00:44, Arun Raghavan
>  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  
>>> 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?

2011-09-28 Thread Jonas de Buhr
>> 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?

2011-09-28 Thread Jonas de Buhr
>> 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.