/srv/irclogs.ubuntu.com/2012/04/13/#ubuntu-kernel.txt

* smb mornings07:14
smbdiwic, Hm, could it be that something visually stole a lot of hda microphones?07:14
diwicsmb, eh?07:18
smbdiwic, 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
diwicsmb, oh :-/07:20
diwicsmb, isn't it called "Analog input" or something?07:20
smbHm, Not in alsamixer07:21
apwmorning07:21
smbapw, morning07:21
diwicsmb, so there was a change yesterday which I hoped would help against a few usb inputs07:21
diwicnot showing up in the UI07:21
smbdiwic, It helped... sorto of :)07:21
diwicsmb, so could you pastebin the output of "pacmd ls" on an affected machine, please?07:22
smbdiwic, sure, just a sec07:22
smbdiwic, http://paste.ubuntu.com/927534/07:24
diwicsmb, 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:25
smbdiwic, 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 machine07:26
smbThat one would have an internal microphone not showing07:27
smbhttp://paste.ubuntu.com/927537/07:28
diwicsmb, ok, and the internal mic disappeared something like yesterday or today?07:29
smbdiwic, The timeframe is bigger. I just installed that machine yesterday for some other testing.07:30
smbIt has been idling around for a bit... Though I thought I had it on Precise before and not noticed the mic being gone07:31
smbBut you know, you won't always look at the right place07:31
diwicsmb, ok. so can you run "ubuntu-bug pulseaudio" from the latter machine and point me to the resulting bug?07:31
smbdiwic, yes, sure07:31
smbdiwic, bug 98056507:36
ubot2Launchpad bug 980565 in pulseaudio "Microphone gone from sound-settings while still usable for apps" [Undecided,New] https://launchpad.net/bugs/98056507:36
diwicsmb, aha, it's colin guthrie's bug but for input...interesting07:39
smbdiwic, Errrrr, well... ok, what? :)07:40
diwicthe good news for me is that I don't have to revert my fix from yesterday, because this is something different *phew*07:40
diwicsmb, so the kernel gives us no sign (no mixer control, or anything else)  that there is an internal mic present07:41
apwdiwic, does that mean it should also be missing in alsamixer thing ?  to confirm that07:42
smbWell there is a control in alsamixer, its just called capture now... I think07:42
smbLikewise on the other machine which has capture and capture 107:42
diwicapw, 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:42
smbapw, Maybe you should check whether the mic fairy stole yours too... :)07:43
diwicsmb, just trying to determine the size of the problem here: can you still modify the gain of the mic in the sound indicator?07:44
smbdiwic, While an application using it is running there is a slider present. 07:45
diwicsmb, 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
diwicsmb, is the slider working?07:46
smbdiwic, and moving it does correspond to moving the capture slider in alsamixer07:46
diwicsmb, ok. good.07:46
smbdiwic, I don't think I need a quick fix. It is in the end more of a visual/usage limitation07:47
diwicsmb, this is not one of those machines that has an inverted phase internal mic? 07:47
smbdiwic, It is07:47
smbdiwic, I muted the right capture channel through alsamixer07:48
smbIt is a bit what started me looking because after a fresh install this is required to get the mic working07:48
smbThen I wondered, ok, but _where_ is the mic slider now...07:48
smbThen checked the desktop machine and I am pretty sure there was the web cam mic and the internal card mic there recently07:50
smbBut you say that is intentional if there is nothing connected to it 07:50
diwicsmb, a desktop machine with an internal mic?07:50
smbdiwic, No, sound card has a mic jack (not connected to anything)07:50
diwicsmb, ah, ok.07:51
diwicsmb, yeah, it's anticipated that it does not show up when it's not connected.07:51
diwicsmb, 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 well07:53
smbdiwic, 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...07:59
apwplug a speaker in :)08:00
apwor your headphones, they ahve the saem plug08:00
smbapw, yeah, yeah. theoretically every speaker is a bit of a microphone. but surely they have different impedance... :-P08:01
apwsmb, i wasn08:04
apwsmb, i wasnt expecting it work, just to trip the jack08:05
apwsmb, i shove mine in the wrong way round often enough08:05
smbdiwic, 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:07
smbapw, Ah right, yeah that would halfway work. Just wanted some pickup of sound as well, so I can verify it does read something08:08
apwsmb, then i fail :)08:09
* apw looks at compiz and unity updates in his 'inbox' and cries08:09
diwicsmb, and this was the desktop machine with the webcam, right? Can you pastebin the output of "amixer contents"08:10
smbapw, :) No worries, I found a cheap mans headset in my box of rectractable gadgets...08:10
smbdiwic, yes and yes08:10
smbdiwic, http://paste.ubuntu.com/927575/08:11
diwicsmb, ok, so the "mic jack" is "off" in that paste, which means that the problem is at the driver level08:12
smbdiwic, Hm, I wonder how much you can expect jack detection on desktop machines...08:13
smbJust muted the web cam mic and still see audio activity picked up by mumble...08:14
diwicsmb, well, your line-out is plugged in, so that part of the jack detection seems to be working08:14
smbdiwic, Ok...08:15
smbdiwic, Erm, which numid you see the mic jack not connected?08:16
diwicsmb, the three topmost ones08:16
diwicsmb, the third is "Mic Jack"08:16
smband they all are =108:17
smboh 08:17
smbvalues08:17
diwicwith values=off means not connected08:17
diwicvalues=1 I think means "the total count of values is 1"08:17
smbah08:17
smbthat was confusing me08:17
smbSomehow this feels a bit like that  change may make this day well worth its number... ;)08:21
diwicsmb, 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 difference08:23
diwicsmb, where hda-jack-sense-test is available in the snd-hda-tools packages in ppa:diwic/hda08:24
smbdiwic, sure, that would be on the desktop machine, right?08:24
diwicsmb, yes.08:24
smbSo amixer contents remains off all the times but hda-jack-sense-test toggles between yes and no for the mic08:31
smbdiwic, ^ (forgot=08:32
diwicsmb, ok, so looks like a driver bug to me. Next step, check if it's resolved upstream by https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS08:33
apwdiwic, how does hda-jack-sense-test get the info08:42
diwicapw, it sends a direct command to the codec asking for the current jack sense state08:43
apwdiwic, oh it can get that low a level access ouch :)08:43
diwicapw, if that would have failed, it would probably have been a hardware error. 08:43
apwdiwic, and how have you gotten a 'no signer' on your PPA uploads ?08:44
diwicapw, eh, where do you see that 'no signer' thing?08:45
apwhttps://code.launchpad.net/~ubuntu-audio-dev/+archive/alsa-daily/+packages08:45
diwicapw, aha, those are recipe builds.08:45
apwhmm thats a little confusing, it should really say 'launchpad' or something else they sound unsigned08:46
diwicapw, hmm, https://code.launchpad.net/~diwic/+archive/hda/+packages does not show that column at all.08:48
apwsmb, STOP IT HURTS08:48
apwsmb, when you are loud it still breaks up08:49
apwcking, i am silent i assume ?08:50
ckingapw, for once, yes ;-)08:50
apwsmb, i hear you yes08:50
mptWhy do <https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Bug_Triage> and <https://wiki.ubuntu.com/Kernel/BugTriage/BugStates> both exist?08:51
apwdiwic, ok i am in a situation where gnome input selector thingy is not switching my mic any more08:52
diwicapw, but the kernel still switches correctly?08:53
diwicapw, I mean, from where is it actually recording?08:53
apwdiwic, erp ... all _i_ know is the indicator switches over and mumble continues to use the wrong one08:54
apwdiwic, the input level on the external mic seem to work in the selector correctly08:54
diwicapw, 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
apwso the internal HDA card the external connector with a mic plugged into it, and that blue snowball usb device08:55
apwOH HANG ON08:55
apwdiwic, ignore me till i reboot i bet its an update skew issue08:56
diwicapw, I don't think we've ever supported that type of switching.08:56
apwdiwic, it worked yesterday ... and if we don't support switching in that dialog what is it for08:56
diwicapw, aha, you mean you manually switch in the GUI?08:57
apwdiwic, right in the GUI i am clicking and its doing nothing08:57
apwbut ... i have updated, so perhaps there is skew08:57
mpt... they seem to be identical08:57
diwicapw, ok, rebooting might be worth a try08:57
* smb reboots to get alsa-next08:58
smbdiwic, 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 startup09:05
diwicsmb, hmm, sounds like the unsol event handling is not coming in correctly then09:07
diwicsmb, 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:12
smbdiwic, 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 in09:14
* ppisati -> conf call12:01
* cking -> lunch12:01
* smb -> tired already12:03
=== bladernr_afk is now known as bladernr_
henrixsmb: tired? get a good laugh here: https://lkml.org/lkml/2012/4/13/6613:32
henrix:)13:32
smblol13:33
tgardnerha ha13:34
smbWe obviously need to record a show like "The big bug theory (solving kernel problems without looking)"... :-P13:36
jsalisbury"This bug is too big and boring, can you make a youtube video describing it" 13:37
dileksthe answer by rostedt was more amusing13:40
dileksas I always say when doing 3rd level support13:40
dileksI can read the faq/wiki/doc for you... if it helps13:41
* ppisati -> brb14:21
* ogasawara back in 2014:41
ckingbah, too many machines and too many updates, what a time sucker14:56
=== bladernr_ is now known as bladernr_afk
=== bladernr_afk is now known as bladernr_
tgardnerapw, re: bug #922906. are you gonna propose that patch suite for precise ? seems like you're getting positive test results.16:19
ubot2Launchpad 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/92290616:19
tgardnerplus, its got a zillion dupes16:19
apwtgardner, ahh ok cool ... will let you see it and see if you whine :)16:25
tgardnerapw, its gonna be bjf et all that whine :)16:25
apwtgardner, with only one responder, i am unsure how good two days is16:28
tgardnerapw, get jsalisbury to hassle some of the owners of dupe bugs16:29
apwtgardner, don't they get a message too when the master is updated?16:29
apwjsalisbury, ^^ ?16:29
tgardnerapw, dunno,. but you'd think so16:29
henrixapw: i may try to reproduce the issue myself as well. i remember i had a set of scripts that could trigger it on a VM16:30
apwhenrix, sounds good16:30
henrixapw: i'll let you know if that works ok16:30
apwhenrix, exceelent16:32
apwtgardner, ok so i finally got some feedback on the ata patch and they want a complete rewrite17:12
apwtgardner, and amazingly it works first time :)17:12
tgardnerapw, this is for hvc ?17:12
apwtgardner, yeah this is moi trying to upstream the patch we have to ignore ATA drives17:12
apwtgardner, they want a more generic soln. which is fine.  so am testing the patches nwo17:13
tgardnerapw, cool17:13
* tgardner -> EOD17:31
apwcking, hey17:32
henrixapw: with your test kernel, i'm not able to reproduce the bug17:40
pgranercking, you about?17:40
ckingpgraner, just about17:41
henrixapw: i've been running the VM for a while now...17:41
pgranercking, what does this mean17:41
pgranerApr 13 13:40:33 x220 kernel: [  146.125226] Valid eCryptfs headers not found in file header region or xattr region, inode 512414417:41
pgranerApr 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 -EIO17:41
pgranerApr 13 13:40:33 x220 kernel: [  146.125250] Valid eCryptfs headers not found in file header region or xattr region, inode 512414417:41
pgranerApr 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 -EIO17:41
pgranerI have thousands of them 17:41
ckingpgraner, let's see if tyler can explain17:42
tyhickspgraner: 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., calls17:42
pgranertyhicks, how do I fix it up then?17:43
henrixapw: anyway, i'll keep it running for some more time and post a comment on the bug report later on17:43
tyhicks`find ~/ -inum 5124144` will tell you what file it is17:43
* henrix will be out for a while...17:43
tyhickspgraner: ^17:43
tyhickspgraner: It is probably an empty file. Verify that it has a size of 0 and then delete it.17:44
pgranertyhicks, ok it found it, look like a chromium file of some sort17:44
tyhicksWe really need to find a better way to handle this condition17:44
* cking wonders how it got there in the first place17:44
tyhickscking: 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:45
apwhenrix, thanks17:46
pgranertyhicks, I ran out of space on my file system yesterday and I got all sorts of strange errors and file entries17:46
henrixapw: np. it still see the issue with older kernels, but not with your test kernel17:46
pgranertyhicks, most cleared up after a reboot, except this one17:46
tyhickspgraner: 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:46
pgranertyhicks, prob happened while emacs was doing an autosave17:47
ckingtyhicks, thats a "special" condition for sure.17:47
pgranerI had a script that was creating VMs and I didn't realize how many I had and ran it out of space17:47
tyhickscking: 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:48
* cking nods, yep, the error condition can appear rather worrying if one does not know how to interpret the error message17:49
tyhickscking: 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 idea17:50
tyhicks(the code changes would be easy since ecryptfs_create() already does just that)17:50
ckingtyhicks, so why are folk opposing that idea?17:51
tyhickscking: See bug 91150717:52
ubot2Launchpad bug 911507 in ecryptfs "eCryptfs should initialize existing empty files at open()" [Medium,Triaged] https://launchpad.net/bugs/91150717:52
tyhickscking: 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:53
ckingtyhicks, it should be fixed for  the silent majority rather than one user who opposes it IMHO 17:54
ckingcould it be a default mount option so that the one whiner can switch it off it they want to17:55
tyhickscking: 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
tyhickscking: and I agree with your comment about fixing it for the silent majority17:57
ckingI suppose if they don't want it they can revert the patch and build their own kernel ;-)17:58
ckingtyhicks, yep, the less test paths the better17:58
* cking --> EOD18:03
* ogasawara lunch18:08
jsalisburyapw, 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
ubot2Launchpad 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/92290618:52
apwjsalisbury, if you can be bothered :)19:05
jsalisburyapw, no problem at all.  I'll request testing of your kernel in each of the dups19:05
pgranerogasawara, just send an email to c-k-t about a pxe boot kernel hang  can you guys dig into it asap19:17
ogasawarapgraner: ack19:27
jsalisburyogasawara, whoops, mid-air collision on the email thread :-)19:56
ogasawara:)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

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!