[07:14] * smb mornings [07:14] diwic, Hm, could it be that something visually stole a lot of hda microphones? [07:18] smb, eh? [07:20] diwic, Somehow I only realized this this morning, but somehow at least on two machines, the microphone isn't called microphone but capture. Which I don't mind, but the sound settings dialog seems not to accept those as input devices. Leaving inputs empty (or only containing other inputs) [07:20] smb, oh :-/ [07:20] smb, isn't it called "Analog input" or something? [07:21] Hm, Not in alsamixer [07:21] morning [07:21] apw, morning [07:21] smb, so there was a change yesterday which I hoped would help against a few usb inputs [07:21] not showing up in the UI [07:21] diwic, It helped... sorto of :) [07:22] smb, so could you pastebin the output of "pacmd ls" on an affected machine, please? [07:22] diwic, sure, just a sec [07:24] diwic, http://paste.ubuntu.com/927534/ [07:25] smb, so according to this output, you should only have one input in sound settings, and that's your webcam/internal mic, because nothing else is connected. [07:26] diwic, Hm, probably not the best example. It used to show the microphone jack as well, but there is really nothing connected... Wait I get the same output from the other machine [07:27] That one would have an internal microphone not showing [07:28] http://paste.ubuntu.com/927537/ [07:29] smb, ok, and the internal mic disappeared something like yesterday or today? [07:30] diwic, The timeframe is bigger. I just installed that machine yesterday for some other testing. [07:31] It has been idling around for a bit... Though I thought I had it on Precise before and not noticed the mic being gone [07:31] But you know, you won't always look at the right place [07:31] smb, ok. so can you run "ubuntu-bug pulseaudio" from the latter machine and point me to the resulting bug? [07:31] diwic, yes, sure [07:36] diwic, bug 980565 [07:36] Launchpad bug 980565 in pulseaudio "Microphone gone from sound-settings while still usable for apps" [Undecided,New] https://launchpad.net/bugs/980565 [07:39] smb, aha, it's colin guthrie's bug but for input...interesting [07:40] diwic, Errrrr, well... ok, what? :) [07:40] the good news for me is that I don't have to revert my fix from yesterday, because this is something different *phew* [07:41] smb, so the kernel gives us no sign (no mixer control, or anything else) that there is an internal mic present [07:42] diwic, does that mean it should also be missing in alsamixer thing ? to confirm that [07:42] Well there is a control in alsamixer, its just called capture now... I think [07:42] Likewise on the other machine which has capture and capture 1 [07:42] apw, had there been something like "Internal Mic" or "Internal Mic Boost" in alsamixer, pulseaudio would have picked that up and known that you had an internal mic. [07:43] apw, Maybe you should check whether the mic fairy stole yours too... :) [07:44] smb, just trying to determine the size of the problem here: can you still modify the gain of the mic in the sound indicator? [07:45] diwic, While an application using it is running there is a slider present. [07:46] smb, anyway the quick fix for you, is to modify /usr/share/pulseaudio/paths/analog-input-internal-mic.conf and comment out any line that starts with "required-any", then restart pulseaudio. [07:46] smb, is the slider working? [07:46] diwic, and moving it does correspond to moving the capture slider in alsamixer [07:46] smb, ok. good. [07:47] diwic, I don't think I need a quick fix. It is in the end more of a visual/usage limitation [07:47] smb, this is not one of those machines that has an inverted phase internal mic? [07:47] diwic, It is [07:48] diwic, I muted the right capture channel through alsamixer [07:48] It is a bit what started me looking because after a fresh install this is required to get the mic working [07:48] Then I wondered, ok, but _where_ is the mic slider now... [07:50] Then checked the desktop machine and I am pretty sure there was the web cam mic and the internal card mic there recently [07:50] But you say that is intentional if there is nothing connected to it [07:50] smb, a desktop machine with an internal mic? [07:50] diwic, No, sound card has a mic jack (not connected to anything) [07:51] smb, ah, ok. [07:51] smb, yeah, it's anticipated that it does not show up when it's not connected. [07:53] smb, so given that this machine has the inverted internal mic problem as well, fixing that problem (in the kernel) will auto-fix the pulseaudio problem as well [07:59] diwic, Would be a plus... I try to find anything I can try to connect to the desktop machine. Just curious to see what happens then... [08:00] plug a speaker in :) [08:00] or your headphones, they ahve the saem plug [08:01] apw, yeah, yeah. theoretically every speaker is a bit of a microphone. but surely they have different impedance... :-P [08:04] smb, i wasn [08:05] smb, i wasnt expecting it work, just to trip the jack [08:05] smb, i shove mine in the wrong way round often enough [08:07] diwic, So I found some real mic to connect to the jack now. And looking in mumble (would never have dreamed to use that as a test ever) picks up something from the card... Still no show-up in the input sound-settings... [08:08] apw, Ah right, yeah that would halfway work. Just wanted some pickup of sound as well, so I can verify it does read something [08:09] smb, then i fail :) [08:09] * apw looks at compiz and unity updates in his 'inbox' and cries [08:10] smb, and this was the desktop machine with the webcam, right? Can you pastebin the output of "amixer contents" [08:10] apw, :) No worries, I found a cheap mans headset in my box of rectractable gadgets... [08:10] diwic, yes and yes [08:11] diwic, http://paste.ubuntu.com/927575/ [08:12] smb, ok, so the "mic jack" is "off" in that paste, which means that the problem is at the driver level [08:13] diwic, Hm, I wonder how much you can expect jack detection on desktop machines... [08:14] Just muted the web cam mic and still see audio activity picked up by mumble... [08:14] smb, well, your line-out is plugged in, so that part of the jack detection seems to be working [08:15] diwic, Ok... [08:16] diwic, Erm, which numid you see the mic jack not connected? [08:16] smb, the three topmost ones [08:16] smb, the third is "Mic Jack" [08:17] and they all are =1 [08:17] oh [08:17] values [08:17] with values=off means not connected [08:17] values=1 I think means "the total count of values is 1" [08:17] ah [08:17] that was confusing me [08:21] Somehow this feels a bit like that change may make this day well worth its number... ;) [08:23] smb, if you're interested in continuing, the next step would be to run "sudo hda-jack-sense-test -a" with the mic plugged in, then with it unplugged to see if there's a difference [08:24] smb, where hda-jack-sense-test is available in the snd-hda-tools packages in ppa:diwic/hda [08:24] diwic, sure, that would be on the desktop machine, right? [08:24] smb, yes. [08:31] So amixer contents remains off all the times but hda-jack-sense-test toggles between yes and no for the mic [08:32] diwic, ^ (forgot= [08:33] smb, ok, so looks like a driver bug to me. Next step, check if it's resolved upstream by https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS [08:42] diwic, how does hda-jack-sense-test get the info [08:43] apw, it sends a direct command to the codec asking for the current jack sense state [08:43] diwic, oh it can get that low a level access ouch :) [08:43] apw, if that would have failed, it would probably have been a hardware error. [08:44] diwic, and how have you gotten a 'no signer' on your PPA uploads ? [08:45] apw, eh, where do you see that 'no signer' thing? [08:45] https://code.launchpad.net/~ubuntu-audio-dev/+archive/alsa-daily/+packages [08:45] apw, aha, those are recipe builds. [08:46] hmm thats a little confusing, it should really say 'launchpad' or something else they sound unsigned [08:48] apw, hmm, https://code.launchpad.net/~diwic/+archive/hda/+packages does not show that column at all. [08:48] smb, STOP IT HURTS [08:49] smb, when you are loud it still breaks up [08:50] cking, i am silent i assume ? [08:50] apw, for once, yes ;-) [08:50] smb, i hear you yes [08:51] Why do and both exist? [08:52] diwic, ok i am in a situation where gnome input selector thingy is not switching my mic any more [08:53] apw, but the kernel still switches correctly? [08:53] apw, I mean, from where is it actually recording? [08:54] diwic, erp ... all _i_ know is the indicator switches over and mumble continues to use the wrong one [08:54] diwic, the input level on the external mic seem to work in the selector correctly [08:55] apw, first. what are you switching between? Internal and external mic on the same card, or an USB mic of some sort, or what? [08:55] so the internal HDA card the external connector with a mic plugged into it, and that blue snowball usb device [08:55] OH HANG ON [08:56] diwic, ignore me till i reboot i bet its an update skew issue [08:56] apw, I don't think we've ever supported that type of switching. [08:56] diwic, it worked yesterday ... and if we don't support switching in that dialog what is it for [08:57] apw, aha, you mean you manually switch in the GUI? [08:57] diwic, right in the GUI i am clicking and its doing nothing [08:57] but ... i have updated, so perhaps there is skew [08:57] ... they seem to be identical [08:57] apw, ok, rebooting might be worth a try [08:58] * smb reboots to get alsa-next [09:05] diwic, Hm, not very positive it is fixed really. It is there now, but won't change to off when I am unplugging. So it seems to be static to whatever was the state on startup [09:07] smb, hmm, sounds like the unsol event handling is not coming in correctly then [09:12] smb, that's unusual, but I've seen it before. I guess the same would apply to the other jacks (line out and line in)? [09:14] diwic, Yeah sounds like some event problem. Hm, not sure I want to do that to the line out right now... But let me try line in [12:01] * ppisati -> conf call [12:01] * cking -> lunch [12:03] * smb -> tired already === bladernr_afk is now known as bladernr_ [13:32] smb: tired? get a good laugh here: https://lkml.org/lkml/2012/4/13/66 [13:32] :) [13:33] lol [13:34] ha ha [13:36] We obviously need to record a show like "The big bug theory (solving kernel problems without looking)"... :-P [13:37] "This bug is too big and boring, can you make a youtube video describing it" [13:40] the answer by rostedt was more amusing [13:40] as I always say when doing 3rd level support [13:41] I can read the faq/wiki/doc for you... if it helps [14:21] * ppisati -> brb [14:41] * ogasawara back in 20 [14:56] bah, too many machines and too many updates, what a time sucker === bladernr_ is now known as bladernr_afk === bladernr_afk is now known as bladernr_ [16:19] apw, re: bug #922906. are you gonna propose that patch suite for precise ? seems like you're getting positive test results. [16:19] Launchpad bug 922906 in linux "Kernel Oops - BUG: unable to handle kernel NULL pointer dereference at 0000009c; EIP is at __ticket_spin_lock+0x8/0x30" [Medium,In progress] https://launchpad.net/bugs/922906 [16:19] plus, its got a zillion dupes [16:25] tgardner, ahh ok cool ... will let you see it and see if you whine :) [16:25] apw, its gonna be bjf et all that whine :) [16:28] tgardner, with only one responder, i am unsure how good two days is [16:29] apw, get jsalisbury to hassle some of the owners of dupe bugs [16:29] tgardner, don't they get a message too when the master is updated? [16:29] jsalisbury, ^^ ? [16:29] apw, dunno,. but you'd think so [16:30] apw: i may try to reproduce the issue myself as well. i remember i had a set of scripts that could trigger it on a VM [16:30] henrix, sounds good [16:30] apw: i'll let you know if that works ok [16:32] henrix, exceelent [17:12] tgardner, ok so i finally got some feedback on the ata patch and they want a complete rewrite [17:12] tgardner, and amazingly it works first time :) [17:12] apw, this is for hvc ? [17:12] tgardner, yeah this is moi trying to upstream the patch we have to ignore ATA drives [17:13] tgardner, they want a more generic soln. which is fine. so am testing the patches nwo [17:13] apw, cool [17:31] * tgardner -> EOD [17:32] cking, hey [17:40] apw: with your test kernel, i'm not able to reproduce the bug [17:40] cking, you about? [17:41] pgraner, just about [17:41] apw: i've been running the VM for a while now... [17:41] cking, what does this mean [17:41] Apr 13 13:40:33 x220 kernel: [ 146.125226] Valid eCryptfs headers not found in file header region or xattr region, inode 5124144 [17:41] Apr 13 13:40:33 x220 kernel: [ 146.125231] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO [17:41] Apr 13 13:40:33 x220 kernel: [ 146.125250] Valid eCryptfs headers not found in file header region or xattr region, inode 5124144 [17:41] Apr 13 13:40:33 x220 kernel: [ 146.125256] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO [17:41] I have thousands of them [17:42] pgraner, let's see if tyler can explain [17:42] pgraner: It means that there is a non-eCryptfs file in the lower filesystem and eCryptfs doesn't know what to do about it so it errors out of open(), stat(), etc., calls [17:43] tyhicks, how do I fix it up then? [17:43] apw: anyway, i'll keep it running for some more time and post a comment on the bug report later on [17:43] `find ~/ -inum 5124144` will tell you what file it is [17:43] * henrix will be out for a while... [17:43] pgraner: ^ [17:44] pgraner: It is probably an empty file. Verify that it has a size of 0 and then delete it. [17:44] tyhicks, ok it found it, look like a chromium file of some sort [17:44] We really need to find a better way to handle this condition [17:44] * cking wonders how it got there in the first place [17:45] cking: Probably a kernel crash or hard power off. There is a small window between creating a file in the lower filesystem and writing out the appropriate eCryptfs headers to the lower file. [17:46] henrix, thanks [17:46] tyhicks, I ran out of space on my file system yesterday and I got all sorts of strange errors and file entries [17:46] apw: np. it still see the issue with older kernels, but not with your test kernel [17:46] tyhicks, most cleared up after a reboot, except this one [17:46] pgraner: Well, that may be it, too. Maybe you had enough space to create an inode but then didn't have enough space to write out the eCryptfs metadata (8k of data total) [17:47] tyhicks, prob happened while emacs was doing an autosave [17:47] tyhicks, thats a "special" condition for sure. [17:47] I had a script that was creating VMs and I didn't realize how many I had and ran it out of space [17:48] cking: We can't handle that situation any better from an eCryptfs standpoint, but we could possibly handle the situation of opening an empty file better. [17:49] * cking nods, yep, the error condition can appear rather worrying if one does not know how to interpret the error message [17:50] cking: I've kicked around the idea of having the ecryptfs_open() path turn an empty lower file into an appropriate eCryptfs file, but some folks have spoke out against that idea [17:50] (the code changes would be easy since ecryptfs_create() already does just that) [17:51] tyhicks, so why are folk opposing that idea? [17:52] cking: See bug 911507 [17:52] Launchpad bug 911507 in ecryptfs "eCryptfs should initialize existing empty files at open()" [Medium,Triaged] https://launchpad.net/bugs/911507 [17:53] cking: It looks like more users are speaking up for doing the conversion in open() than the one guy opposing it. I may try to fix this next week. [17:54] tyhicks, it should be fixed for the silent majority rather than one user who opposes it IMHO [17:55] could it be a default mount option so that the one whiner can switch it off it they want to [17:57] cking: That's certainly an option, but I'd prefer not to add more mount options as it widens the amount of testing needed. [17:57] cking: and I agree with your comment about fixing it for the silent majority [17:58] I suppose if they don't want it they can revert the patch and build their own kernel ;-) [17:58] tyhicks, yep, the less test paths the better [18:03] * cking --> EOD [18:08] * ogasawara lunch [18:52] apw, the dup bugs for bug 922906 do get updates when a bug comment is added. Do you want me to spam some of the dups to ask for testing? [18:52] Launchpad bug 922906 in linux "Kernel Oops - BUG: unable to handle kernel NULL pointer dereference at 0000009c; EIP is at __ticket_spin_lock+0x8/0x30" [Medium,In progress] https://launchpad.net/bugs/922906 [19:05] jsalisbury, if you can be bothered :) [19:05] apw, no problem at all. I'll request testing of your kernel in each of the dups [19:17] ogasawara, just send an email to c-k-t about a pxe boot kernel hang can you guys dig into it asap [19:27] pgraner: ack [19:56] ogasawara, whoops, mid-air collision on the email thread :-) [19:57] :) === yofel_ is now known as yofel === ogra_- is now known as ogra_ === dduffey_afk is now known as dduffey === lan3y is now known as Laney === Laney is now known as Guest91745 === Guest91745 is now known as Laney