2011-05-26 01:34:32

by Dave Jones

[permalink] [raw]
Subject: no sound in current -git

Since the last ALSA merge, I have no sound on my laptop.
I have onboard intel sound, and a NuForce ?DAC. Neither of them show up
in alsamixer, or pavucontrol.

Is this a clue ?

ALSA sound/usb/mixer.c:803: 3:0: cannot get min/max values for control 2 (id 3)

59bb7f0eebe69aa32a5c7917a23a7da1c5667d73 perhaps ?

Dave


2011-05-26 04:18:20

by Justin P. Mattock

[permalink] [raw]
Subject: Re: no sound in current -git

On 05/25/2011 06:34 PM, Dave Jones wrote:
> Since the last ALSA merge, I have no sound on my laptop.
> I have onboard intel sound, and a NuForce ?DAC. Neither of them show up
> in alsamixer, or pavucontrol.
>
> Is this a clue ?
>
> ALSA sound/usb/mixer.c:803: 3:0: cannot get min/max values for control 2 (id 3)
>
> 59bb7f0eebe69aa32a5c7917a23a7da1c5667d73 perhaps ?
>
> Dave
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


sound over here is out as well on a macbook pro. seems gnome shell
didn't like whats being merged with the current Mainline i.g. no sound
bluetooth applet missing. will bisect when I get a chance.

Justin P. Mattock

2011-05-26 04:33:45

by Dave Jones

[permalink] [raw]
Subject: Re: no sound in current -git

On Wed, May 25, 2011 at 09:18:04PM -0700, Justin P. Mattock wrote:
> On 05/25/2011 06:34 PM, Dave Jones wrote:
> > Since the last ALSA merge, I have no sound on my laptop.
> > I have onboard intel sound, and a NuForce ?DAC. Neither of them show up
> > in alsamixer, or pavucontrol.
>
> sound over here is out as well on a macbook pro. seems gnome shell
> didn't like whats being merged with the current Mainline i.g. no sound
> bluetooth applet missing. will bisect when I get a chance.

Maybe it was this that just got merged.. (building now)

commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
Author: Eric Paris <[email protected]>
Date: Wed May 25 19:49:18 2011 -0700

tmpfs: fix XATTR N overriding POSIX_ACL Y

Choosing TMPFS_XATTR default N was switching off TMPFS_POSIX_ACL,
even if it had been Y in oldconfig; and Linus reports that PulseAudio
goes subtly wrong unless it can use ACLs on /dev/shm.

Make TMPFS_POSIX_ACL select TMPFS_XATTR (and depend upon TMPFS),
and move the TMPFS_POSIX_ACL entry before the TMPFS_XATTR entry,
to avoid asking unnecessary questions then ignoring their answers.

Signed-off-by: Hugh Dickins <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>

2011-05-26 05:11:16

by Dave Jones

[permalink] [raw]
Subject: Re: no sound in current -git

On Thu, May 26, 2011 at 12:33:38AM -0400, Dave Jones wrote:

> > sound over here is out as well on a macbook pro. seems gnome shell
> > didn't like whats being merged with the current Mainline i.g. no sound
> > bluetooth applet missing. will bisect when I get a chance.
>
> Maybe it was this that just got merged.. (building now)
>
> commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
> Author: Eric Paris <[email protected]>
> Date: Wed May 25 19:49:18 2011 -0700
>
> tmpfs: fix XATTR N overriding POSIX_ACL Y

Yep. That fixes sound for me.
Sorry for the false alarm Takashi!

Dave

2011-05-26 05:21:57

by Justin P. Mattock

[permalink] [raw]
Subject: Re: no sound in current -git






On May 25, 2011, at 10:11 PM, Dave Jones <[email protected]> wrote:

> On Thu, May 26, 2011 at 12:33:38AM -0400, Dave Jones wrote:
>
>>> sound over here is out as well on a macbook pro. seems gnome shell
>>> didn't like whats being merged with the current Mainline i.g. no sound
>>> bluetooth applet missing. will bisect when I get a chance.
>>
>> Maybe it was this that just got merged.. (building now)
>>
>> commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
>> Author: Eric Paris <[email protected]>
>> Date: Wed May 25 19:49:18 2011 -0700
>>
>> tmpfs: fix XATTR N overriding POSIX_ACL Y
>
> Yep. That fixes sound for me.
> Sorry for the false alarm Takashi!
>
> Dave

Cool!!, will test over here once I finish other tasks.
>

Justin P. Mattock

2011-05-26 06:19:16

by Justin P. Mattock

[permalink] [raw]
Subject: Re: no sound in current -git

On 05/25/2011 10:11 PM, Dave Jones wrote:
> On Thu, May 26, 2011 at 12:33:38AM -0400, Dave Jones wrote:
>
> > > sound over here is out as well on a macbook pro. seems gnome shell
> > > didn't like whats being merged with the current Mainline i.g. no sound
> > > bluetooth applet missing. will bisect when I get a chance.
> >
> > Maybe it was this that just got merged.. (building now)
> >
> > commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
> > Author: Eric Paris<[email protected]>
> > Date: Wed May 25 19:49:18 2011 -0700
> >
> > tmpfs: fix XATTR N overriding POSIX_ACL Y
>
> Yep. That fixes sound for me.
> Sorry for the false alarm Takashi!
>
> Dave
>
>

hmm.. pulled and noticed the above with git log, then did git revert for
the above, built, but still no sound. will do a bisect in the morning or
later on.

last good kernel is:
2.6.39-02667-g71a8638
so the bisect shouldn't take too long(but then again!)

Justin P. Mattock

2011-05-26 06:21:50

by Takashi Iwai

[permalink] [raw]
Subject: Re: no sound in current -git

At Thu, 26 May 2011 01:11:09 -0400,
Dave Jones wrote:
>
> On Thu, May 26, 2011 at 12:33:38AM -0400, Dave Jones wrote:
>
> > > sound over here is out as well on a macbook pro. seems gnome shell
> > > didn't like whats being merged with the current Mainline i.g. no sound
> > > bluetooth applet missing. will bisect when I get a chance.
> >
> > Maybe it was this that just got merged.. (building now)
> >
> > commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
> > Author: Eric Paris <[email protected]>
> > Date: Wed May 25 19:49:18 2011 -0700
> >
> > tmpfs: fix XATTR N overriding POSIX_ACL Y
>
> Yep. That fixes sound for me.
> Sorry for the false alarm Takashi!

No problem, good to hear you found out the culprit.


thanks,

Takashi

2011-05-26 18:38:54

by Hugh Dickins

[permalink] [raw]
Subject: Re: no sound in current -git

On Wed, May 25, 2011 at 11:18 PM, Justin P. Mattock
<[email protected]> wrote:
> On 05/25/2011 10:11 PM, Dave Jones wrote:
>>
>> On Thu, May 26, 2011 at 12:33:38AM -0400, Dave Jones wrote:
>>
>>  >   >  sound over here is out as well on a macbook pro. seems gnome shell
>>  >   >  didn't like whats being merged with the current Mainline i.g. no
>> sound
>>  >   >  bluetooth applet missing. will bisect when I get a chance.
>>  >
>>  >  Maybe it was this that just got merged..  (building now)
>>  >
>>  >  commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
>>  >  Author: Eric Paris<[email protected]>
>>  >  Date:   Wed May 25 19:49:18 2011 -0700
>>  >
>>  >      tmpfs: fix XATTR N overriding POSIX_ACL Y
>>
>> Yep. That fixes sound for me.
>> Sorry for the false alarm Takashi!
>>
>>        Dave
>>
>>
>
> hmm.. pulled and noticed the above with git log, then did git revert for the
> above, built, but still no sound. will do a bisect in the morning or later
> on.

That commit was the fix, not the origin of the bug, so reverting it
was not the right thing to do!

But it's only a fix if your .config has not yet been messed up (with
CONFIG_TMPFS_XATTR and CONFIG_TMPFS_POSIX_ACL unset, though used
somewhere for sound).

So, just delete the CONFIG_TMPFS_XATTR and CONFIG_TMPFS_POSIX_ACL
lines from your .config (perhaps you don't even get an ACL line if the
XATTR is not set, I forget) and run "make oldconfig", this time
choosing Y.

If this was your sound problem too, then the rebuilt kernel should fix it.

Apologies for inflicting this on people: Linus spotted it and got it
fixed up a.s.a.p so it only would only affect those who pulled a tree
yesterday.

Hugh

2011-05-26 20:14:13

by Justin P. Mattock

[permalink] [raw]
Subject: Re: no sound in current -git

On 05/26/2011 11:38 AM, Hugh Dickins wrote:
> On Wed, May 25, 2011 at 11:18 PM, Justin P. Mattock
> <[email protected]> wrote:
>> On 05/25/2011 10:11 PM, Dave Jones wrote:
>>>
>>> On Thu, May 26, 2011 at 12:33:38AM -0400, Dave Jones wrote:
>>>
>>> > > sound over here is out as well on a macbook pro. seems gnome shell
>>> > > didn't like whats being merged with the current Mainline i.g. no
>>> sound
>>> > > bluetooth applet missing. will bisect when I get a chance.
>>> >
>>> > Maybe it was this that just got merged.. (building now)
>>> >
>>> > commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
>>> > Author: Eric Paris<[email protected]>
>>> > Date: Wed May 25 19:49:18 2011 -0700
>>> >
>>> > tmpfs: fix XATTR N overriding POSIX_ACL Y
>>>
>>> Yep. That fixes sound for me.
>>> Sorry for the false alarm Takashi!
>>>
>>> Dave
>>>
>>>
>>
>> hmm.. pulled and noticed the above with git log, then did git revert for the
>> above, built, but still no sound. will do a bisect in the morning or later
>> on.
>
> That commit was the fix, not the origin of the bug, so reverting it
> was not the right thing to do!
>
> But it's only a fix if your .config has not yet been messed up (with
> CONFIG_TMPFS_XATTR and CONFIG_TMPFS_POSIX_ACL unset, though used
> somewhere for sound).
>
> So, just delete the CONFIG_TMPFS_XATTR and CONFIG_TMPFS_POSIX_ACL
> lines from your .config (perhaps you don't even get an ACL line if the
> XATTR is not set, I forget) and run "make oldconfig", this time
> choosing Y.
>
> If this was your sound problem too, then the rebuilt kernel should fix it.
>
> Apologies for inflicting this on people: Linus spotted it and got it
> fixed up a.s.a.p so it only would only affect those who pulled a tree
> yesterday.
>
> Hugh
>

probably why my bisect wasn't going anywhere..(luckily not to much time
spent doing so) will pull when I get a chance. Thanks for letting us
know, and Thanks to Linus for the ASAP change.

Justin P. Mattock

2011-05-27 01:35:12

by Justin P. Mattock

[permalink] [raw]
Subject: Re: no sound in current -git

On 05/26/2011 11:38 AM, Hugh Dickins wrote:
> On Wed, May 25, 2011 at 11:18 PM, Justin P. Mattock
> <[email protected]> wrote:
>> On 05/25/2011 10:11 PM, Dave Jones wrote:
>>>
>>> On Thu, May 26, 2011 at 12:33:38AM -0400, Dave Jones wrote:
>>>
>>> > > sound over here is out as well on a macbook pro. seems gnome shell
>>> > > didn't like whats being merged with the current Mainline i.g. no
>>> sound
>>> > > bluetooth applet missing. will bisect when I get a chance.
>>> >
>>> > Maybe it was this that just got merged.. (building now)
>>> >
>>> > commit 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
>>> > Author: Eric Paris<[email protected]>
>>> > Date: Wed May 25 19:49:18 2011 -0700
>>> >
>>> > tmpfs: fix XATTR N overriding POSIX_ACL Y
>>>
>>> Yep. That fixes sound for me.
>>> Sorry for the false alarm Takashi!
>>>
>>> Dave
>>>
>>>
>>
>> hmm.. pulled and noticed the above with git log, then did git revert for the
>> above, built, but still no sound. will do a bisect in the morning or later
>> on.
>
> That commit was the fix, not the origin of the bug, so reverting it
> was not the right thing to do!
>
> But it's only a fix if your .config has not yet been messed up (with
> CONFIG_TMPFS_XATTR and CONFIG_TMPFS_POSIX_ACL unset, though used
> somewhere for sound).
>
> So, just delete the CONFIG_TMPFS_XATTR and CONFIG_TMPFS_POSIX_ACL
> lines from your .config (perhaps you don't even get an ACL line if the
> XATTR is not set, I forget) and run "make oldconfig", this time
> choosing Y.
>
> If this was your sound problem too, then the rebuilt kernel should fix it.
>
> Apologies for inflicting this on people: Linus spotted it and got it
> fixed up a.s.a.p so it only would only affect those who pulled a tree
> yesterday.
>
> Hugh
>


alright.. sound is up and running over here with the latest. seems I
needed to do a git clean -fx and rebuild for this to work correctly.

cheers,

Justin P, Mattock