/srv/irclogs.ubuntu.com/2009/03/05/#ubuntu-kernel.txt

JanCmaco: that sounds like broken hardware to me00:12
=== Tim-away is now known as TimStarling
macoJanC: yes, i know it sounds like broken hardware. the confusing bit is that he says on two separate motherboards, there were no problems at all until he installed ubuntu.01:54
macoi cant figure how changing OSes could do that, but I figured if anything has the hardware access necessary, it'd be the kernel01:59
JanCon my previous job we had on average 2 PCs or laptops dying like that every week, and there was only Windows on those systems  ;)02:00
JanC(but of course there were a couple of thousand systems there)02:00
JanCalso, changing OS causes a lot of stress on a system02:01
JanCmost systems are idling 99% of the time, and then suddenly it has to do real work02:04
macoso you think the install process overtaxed a low-quality system?02:06
JanCmaco: I think the system was already dying, but just got the last push02:22
JanCof course there is no proof that ubuntu didn't cause this, but if it did, it clearly only happens under some rare conditions02:24
dtchen_some of these conditions aren't so rare03:01
dtchen_twiddling the registers on an entire revision of sigmatels shipping in Creative Sound Blaster Lives can brick the card03:02
JanCdtchen_: what I meant was that their occurence must be very low03:04
JanCit's not like you'll twiddle those registers on purpose ツ03:06
dtchen_but you would if you ever set the Tone control.03:08
JanCyou mean this bricking is built-in feature of that card03:08
dtchen_it's worked around in the Windows drivers by explicitly disabling ever turning off the Tone control ;)03:08
JanCfun03:09
JanCbut if that happens often there will be lots of bug reports / blog posts / etc.03:11
JanCnot 2 people with 3 dead systems that don't even show the same symptoms03:12
smb_tpThe problem currently is that the only visible hint with that "black screen" issue is that it seems those affected got multiple ACPI: Video entries with the -12 kernel but only one with the -1309:25
smb_tpI have not found anything directly touching this. There has been one change that adds instances in the VGA case but that is not changing things.09:26
smb_tpI tried to see whether it could possibly be the acpi integer change that converts that type to 64 bit, but the only response how that changes things is a bit fuzzy09:27
smb_tpIt would be helpful to know what NVidia changed from 173 to 180 but they are not very specific what exactly changed09:28
smb_tpThe only other changes to acpi/video* have been backlight issues and IIRC there are reports from desktop system as well. And I think its unlikely those got _BCL entries09:30
apwsmb_tp, don't suppose they do have _BCL no09:31
apwso which mainline updates are in that -12 -> -13 transition?09:31
smb_tpQuite a few. But mostly other areas. Lemme check09:32
apwUbuntu-2.6.27-12.282.6.27.1309:32
apwUbuntu-2.6.27-13.292.6.27.1809:32
apw(from leanns list http://kernel.ubuntu.com/~ogasawara/kernel-version-map.html)09:32
smb_tpYep, those are the ones in the changelog as well09:33
apwso there are loads in there, so it would be entirly legitimate to ask people to try the mainline kernels 14, 15, 16, 17, 1809:33
smb_tpYou have lrm for those?09:33
smb_tpBut ok, for intrepid its a dkms package for nvidia and ati09:34
apwno09:34
smb_tpIt looks very much as those binary drivers are having problems09:34
apwand they will fail dismally as the ABI is a mad number i assume09:35
apwright ... i guess i will drop off now and reboot into this kernel and see if it hits me09:35
smb_tpIt might work, but you would need the headers for that mainline kernels, I guess09:38
smb_tpOk09:39
apwsmb_tp, ok that kernel was fine on my intel based laptop so ... no help there09:50
apwsmb_tp, we do have headers for the mainline kernels09:51
smb_tpOk, thanks anyways. I try mine here. So it might be an option. I have to fight one of my systems up and then whethher ths works09:52
apwsmb_tp, hehe always a nightmare ... work damn you machine10:23
smb_tpapw, Well I am not innocent. There is never a good time for some maintenance... Got it up now. But I pretty much think this system is just too old for being affected. There is no acpi video driver entry for me and all wrks charmingly _with_ the 177 nvidia driver. :-/10:30
apwso we are out of test kit basically for that, down to the bug submitters now10:35
smb_tpLook like it. Got some new gear coming but that won't be today10:38
smb_tpDarn, there is one other thing different. The good case uses VT7 the bad case VT9. At least for the one reporter were I got logs10:44
=== thegodfather is now known as fabbione
apwVT9 ?11:07
apwwho uses VT 9 for anything ever11:07
KeybukI use VT1411:08
=== elmargol_ is now known as elmargol
apwKeybuk, hey you replied on my ifupdown upload that i had missed an update, and essentially need to do it again11:51
Keybukapw: I did, can you remember what I said? :p11:51
apwwhere might i have found that in order to avoid that happening again11:51
Keybukyou mean the -Q thing?11:51
apwNote that the next upload of modprobe removes -Q entirely11:51
apwSo you might want to take that into account with your upload ;)11:51
Keybukahh11:51
apwoh its modprobe, hrm11:51
Keybukonly by following the IRC discussion ;)11:51
apwso thats module-init-tools11:52
Keybukyeah11:52
apwso i couldn't have known hmmm11:52
apwgot a bug number for that one?11:52
Keybukno?11:52
Keybukit's not a bug11:52
Keybukit's a patch we had which was rejected upstream11:52
Keybukafter some discussion I decided that upstream was right11:52
KeybukI'll just fix the packages that still use -Q as I go11:52
apwhrrmmm ... -Q was discarded ... ok ... so whats the approved form11:52
Keybukmodprobe -b <module name>11:53
apwand the output?  do we want that?11:53
Keybukif you don't want output11:53
Keybukmodprobe -q -b <module name>11:53
apwisn't that what -Q brought?11:53
Keybuk-Q was like -q but more so, the correct solution was just to fix -q ;)11:53
Keybukturned out the main error we cared about was just the blacklist one, which was added by a patch!11:53
Keybukyou'll want || true if you want to ignore failures, of course11:54
apwyeah -Q is -q + more slicence11:54
Keybukbut then at this point I'd start asking why you're calling modprobe at all11:54
KeybukI didn't actually ask that before11:54
Keybukuserspace should never need to call modprobe11:54
apwi didn't ask that either!11:54
Keybukit looks like it's doing it for ipv611:54
Keybukwhich we build in <g>11:55
apwyep, to pull in ipv6, not sure if that might be reasonable11:55
apwas in reasonable to probe11:55
apwwell i think it is built in now11:55
Keybuk(and if you didn't build it in - it'll be automatically pulled in anyway because ipv6 has a net-pf-10 alias)11:55
Keybukie. socket(PF_INET6, ..., ...) results in the _kernel_ calling modprobe ipv611:55
Keybukwell11:55
Keybukmodprobe pf-net-1011:55
Keybukwhich translates to ipv611:55
apwbut its reasonable to probe it, builtin or not, if its resonable to probe it when its a module at least11:55
apwi can see how this might be a reasonable place to do that as its making new interfaces and the like11:56
apwhrrm11:56
apwhow to tell is the question11:56
=== pgraner-afk is now known as pgraner
Keybukifupdown (0.6.8ubuntu3) feisty; urgency=low12:00
Keybuk  12:00
Keybuk  * ifupdown.nw: modprobe ipv6 before configuring it.12:00
Keybuk  (Closes LP: #7091)12:00
Keybuk -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Fri, 30 Mar 2007 08:54:50 +020012:00
Keybukthat modprobe call is an Ubuntu patch to begin with12:00
apwbah12:01
KeybukI suspect looking briefly at this that Fabio's debugging was wrong12:01
Keybukthe real problem was that the old modprobe.d "alias net-pf-10 ipv6" line got commented out around the same time12:02
Keybukbut hadn't turned up in the kernel yet12:02
Keybukcertainly removing ipv612:02
Keybukand running ifconfig12:02
Keybukbrings the module back12:02
apwcould you send me an strace output of that happening12:04
apwi'd like to know why its doing that before i rip out the call12:04
apw(thanks)12:04
Keybukhow do you mean?12:07
apwi meant re-remove ipv6 and then strace the ifconfig which brought it back12:08
apwifconfig source still claims:12:08
apw"ifconfig eth0 add ..." does not currently auto-load the IPv6 module.12:08
apwbut its sounding like its wrong12:08
apwwanted to 100% confirm its loading for the right reason12:09
Keybukhmm, let me try this harder12:10
Keybukit may have come back for other reasons (ie. running apps)12:10
apwor incoming packets or all sorts12:10
Keybukyeah, maybe12:11
apwwas one reason i left it in, even so12:12
apwnow we are checking tho12:12
Keybukif we still need it, then that line should be12:15
Keybukmodprobe -q -b ipv6 || true12:15
apwright12:16
apwa agree with that12:16
apwif only i could tell if we need it at all12:16
apwarrgg12:16
Keybukok12:16
Keybukbest way to debug this ;)12:16
Keybukmove the ipv6 module out of the way12:16
Keybukand reboot12:16
Keybukwithout any network12:16
Keybukthen put the module back12:16
Keybukwait and see if it loads itself12:16
Keybukif not, then do an ifconfig12:16
apwand for that i'd need a kernel which doesn't have it in ... pththth12:17
* Keybuk remembers to stop NM12:17
* apw guesses Keybuk is testing12:20
Keybukok, interesting12:24
Keybukifconfig will only open an AF_INET6 socket if /proc/net/if_inet6 exists12:25
Keybukso it specifically doesn't allow autoloading12:25
Keybukwhich is a bit odd12:25
apwi saw that pathname in it12:25
apwok ... so thats _stupid_12:25
apwbut for the purposes of this fix, it should stay i guess12:25
Keybukit makes kooky sense12:25
Keybukifconfig is just written wrong12:26
apwdoes seem so doesn't it12:26
apwso for the bug i am fixing would you be happy with it being in there12:26
Keybukit doesn't know what the address is until it knows what support there is in the kernel12:26
Keybukbecause you don't _say_ inet6 in the ifconfig invocation12:26
Keybuk::1 could be several different types of addresses12:26
apwno point in me doing the upload if you are going to be unhappy :)12:27
apwhmmm so is it checking for ipv6 to see if the addy should be ipv6 sort of thing12:27
apwthats vile.  the bug is that you don't say12:27
apwifconfig eth0 ipv6 ;:112:27
Keybukeven if you say, it doesn't assume ;p12:27
apwnnnng12:28
apwthats pure-evil12:28
Keybukanyway12:28
Keybukyes12:28
apwifconfig-cryptonite12:28
Keybukthat modprobe has to say ;)12:28
Keybukstay12:28
Keybukdo you want to do that upload or shall I?12:28
apwok will respin that debdiff and get back to you12:29
apwgood practice12:29
apwKeybuk, there is little enough reason for a kernel dev to do other packages, so its worth me getting my hand in12:38
apwKeybuk, ok i've attached a new debdiff to the bug: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/10743213:18
ubot3Malone bug 107432 in ifupdown "modprobe -Q is not 'silent enough' / ifup is too picky about return status." [Medium,In progress] 13:18
apwhas been tested in my ppa on a box i have setup for this bug13:19
=== mnem0 is now known as mnemo
Keybukapw: you didn't patch inet6.defn?13:29
apwno that file is generated from the .iw file13:29
* apw goes reconfirm13:30
Keybukah, I can't remember which way round that is ;)13:30
Keybukyou're probably right13:30
apwlet me make absolutly sure13:30
apwyeah it seems to be rebuilt when i do a -b13:33
apwbut i wonder why its in the package at all if its generated13:33
apwKeybuk, this whole package is full of voodoo magic, this spec to .c converter is majorly vile13:38
KeybukI'd run a build and then make the source after the build13:39
Keybukjust to make grep happy13:39
apwok ...13:39
apwhrm, thats thrown up something odd13:40
apwa change gone away, /me investigates13:41
apwKeybuk, ahh ok, Jamesw didn't commit the changes to the generated files when he did his changes in 0.6.8ubuntu11, so my diff becomes poluted by those13:45
apwi assume you are happy with that pollution 13:45
apw(or i guess i could hand hack it off)13:46
Keybukyeah I'm happy with that ;)13:48
apwKeybuk, ok its attached to the bug ... hope this one is good :)13:52
Keybukyou want sponsorship for that? :)13:52
apwheheh please13:53
Keybukapw: uploaded13:58
apwKeybuk, you are a scholar and a gentleman13:59
Keybuknp :p13:59
mjg59Keybuk: http://kernel.ubuntu.com/git?p=scott/ubuntu-jaunty.git;a=commit;h=6c505f59997e6099535e2ea5409fececdaa87a57 - cdc_acm is a USB driver. How would you ever get a situation where the device node and hardware exist, but the module isn't loaded?14:50
Keybukmjg59: I was just being thorough14:50
Keybukthere was a char-major-166-* for that one in every single distro's modprobe.conf files14:51
KeybukI'm perfectly happy for ANY of those to be rejected on the grounds of "no, we really don't need that"14:51
mjg59I don't think many of them make sense in a udev world14:51
Keybukwhich serves as equal justification for removing the line from modprobe14:51
KeybukI agree14:51
Keybukbut the kernel still has them for most drivers14:51
Keybukin fact, there seems to have been attempts to put them all in where they were missing where the driver has a hardcoded device major14:52
KeybukI figured someone in the moblin world or similar was doing it14:52
mjg59Heh14:52
mjg59Well, it's all harmless enough14:52
Keybukreminds me that I need to rebase those onto my linux-2.6 tree and send those that don't fall out to lkml, etc.14:52
mjg59And they're the kind of trivial patches that can probably just be pushed to Andrew14:52
Keybuk(not the option ones at the top, obv)14:53
mjg59The PnP table stuff for floppy is also sensible14:53
Keybukyeah14:53
mjg59Oh, ugh, I was going to fix wacom today14:54
* mjg59 goes to do that14:54
Keybuk"fix" wacom?14:54
mjg59input-hotplug-wise14:55
mjg59The driver's basically beyond redumption, but still14:55
Keybuk*nods*14:55
kirklandrtg: hey, tyhicks just popped in for a bit16:27
kirklandrtg: i told tyhicks that we'd like to get the jaunty kernel's ecryptfs sync'd16:27
rtgkirkland: I've a conf call in 3 mins16:27
kirklandrtg: fun ;-)16:27
kirklandrtg: circle back around in a bit?16:28
rtgA list of the missing commits would be nice16:28
kirklandtyhicks: can you drum that up?16:28
kirkland*tyhicks has git magic that kirkland lacks16:28
rtgI didn't see much delta in fs/ecryptfs between Jaunrt and Linus tree16:28
tyhicksrtg: missing commits from the current jaunty kernel to what's in the current rc tree?16:28
rtgtyhicks: right, at least those that make sense16:28
tyhicksrtg: will try to come up with a list16:29
rtgtyhicks: thanks16:29
kirklandtyhicks: i really want to get dmesg totally clean of ecryptfs errors before kernel freeze16:31
kirklandtyhicks: https://wiki.ubuntu.com/JauntyReleaseSchedule, April 9th16:31
tyhickskirkland: when is kernel freeze?16:31
tyhicksok :)16:31
tyhickskirkland: I'd also like to slip in the umount_sigs patch that I'm just about ready to send upstream16:32
kirklandtyhicks: okay, the exact nature of that is to ....16:33
kirkland(I think I know the behavior, just want to make sure)16:33
tyhickskirkland: from the kernel side, we have access to a usage counter in the key struct16:33
tyhickskirkland: when userspace inserts a key, it increments the counter16:34
tyhickskirkland: My best solution is to check to see if the unlink_sigs flag is set at umount, if so, decrement the usage counter twice for the keys used for the mount16:34
kirklandtyhicks: my preference would be to leave this out of Jaunty, and let it bake upstream for a bit16:35
kirklandtyhicks: i'm happy with the key clearing in the shell script wrapper, and the documentation in the manpages16:36
tyhickskirkland: Ok, I keep forgetting that you are doing this in the shell script16:36
kirklandtyhicks: yeah16:36
kirklandtyhicks: the kernel stuff will be good stuff16:36
kirklandtyhicks: but we're really in bug-fix mode only16:36
kirklandtyhicks: feature freeze was several weeks ago16:36
tyhickskirkland: understandable16:36
kirklandtyhicks: everything else in the diff between current jaunty and current rc is bugfixes, as i recall16:37
kirklandtyhicks: that's mostly what we're looking for now16:37
Keybukrtg: any reason we don't just include fuse in the kernel by default?16:53
Keybukwe force load it from /etc/modules anyway16:54
rtgKeybuk: it didn't occur to me that was part of the startup. what uses it?16:55
Keybukrtg: GNOME16:55
Keybukand KDE16:55
Keybuke.g. ~/.gvfs16:56
Keybukif it were built into the kernel, it'd help us with a tricky issue of mounting /sys/fs/fuse/connections ;)16:56
Keybukplus we load it anyway, so it saves some boot work16:56
rtgKeybuk: I've no real objections, but then I'm not real smart about fuse. Its just a file system driver much like ecryptfs, right?16:57
Keybukright16:59
Keybukok I'll do a patch16:59
=== thunderstruck is now known as gnomefreak
Keybukrtg: you may pull from the usual place (along with the other outstanding patches)17:12
KeybukI'll update userspace17:12
rtgKeybuk: will we have /lib/modules/`uname -r` support for modprobe options in karmic?17:15
Keybukhow do you mean?17:16
rtgKeybuk: I assume you're going to remove all of the current modprobe options in favor of your kernel patches, (HPA for example). I'd like to revert that patch for Karmic in favor upstream, yet retain the ability to change defaults (such as a modprobe option that is specific to a kernel version)17:18
Keybukrtg: change defaults by patching the kernel17:19
Keybukthat way, when the kernel options change name or parameters, or the module goes entirely, it'll show up as a merge conflict17:20
Keybukand if people build that module into the kernel, they'll still keep the changed default17:20
rtgKeybuk: agreed, as well as remove superfluous settings from /etc/modperobe.d17:20
Keybukusers can still override the options if they wish17:20
Keybukbut we shouldn't ship anything that does17:20
rtgKeybuk: is there a reason upstream doesn't like the MODULE_ALIAS stuff? It appears benign to me.17:21
Keybukhow do you mean?17:22
Keybukthe series of patches in my repo that add them?17:22
KeybukI'm going to send them upstream shortly17:22
Keybukthey're more like SALT than SAUCE17:22
Keybukie. don't add if they're already there, but don't take away :p17:22
rtgI guess I'm wondering why it didn't happen long ago.17:22
Keybukoh17:22
KeybukI suspect they're just maintained by slightly inactive maintainers17:22
Keybukmost of the modules have them17:22
Keybukand nobody had caught these ones up17:23
rtgok, then I'm gonna apply them to Jaunty. I had to muck with the 'Auto-load esp module when device opened.' to get it to compile.17:23
Keybukreally?17:25
KeybukI did a test compile17:25
rtgKeybuk: it was missing a header file17:25
Keybukodd17:25
rtgI just pushed, how about rebasing your tree before I pull again17:25
rtgfor the FUSE patch17:26
Keybukok let me try that ;)17:28
Keybukrtg: you didn't pick up the mwave one?17:29
rtgKeybuk: hmm, don't know why not. 17:30
rtgKeybuk: I did an interactive rebase a couple of time, maybe I accidentally dropped it.17:31
Keybukok17:31
Keybukmy branch updated17:31
rtgKeybuk: pushed the mwave patch. do you really want to build in fuse on the armel flavours? I'm not sure they all use Gnome.17:36
rtgI'll ask amitk or ogra17:36
KeybukI think we do17:36
Keybukthere's so little overhead if it's not used17:36
=== maco_ is now known as maco
Keybukrtg: pulled, rebased and pushed again18:07
Keybukall that's on top now is the fuse change18:07
amitkrtg: they do plan to use gnome18:40
kirklandrtg: did you ever com back around?19:57
kirklandtyhicks: did you get rtg those commits?19:57
tyhickskirkland: working on it, today is not the best day for me, but I'm getting there19:57
kirklandtyhicks: okay, cool19:57
tyhickskirkland: unfortunately, they are mostly changes that touch more than just ecryptfs19:57
kirklandrtg: is this going to make next week's alpha?19:57
kirklandtyhicks: oh19:58
rtgkirkland: it could if ready by Monday19:58
kirklandtyhicks: is that doable?19:58
rtgand if there are no ABI bumpers in the patches19:58
kirklandtyhicks: can we shoot for Friday, just to be safe?19:58
kirklandtyhicks: know of any abi bumpers?19:59
tyhickskirkland: not sure just yet, still trying to just compile the list19:59
kirklandtyhicks: k19:59
tyhickskirkland: I think I can have a list by Friday, but I won't be able to do any backporting that is required20:00
kirklandtyhicks: k20:05
=== Nicke_ is now known as Nicke
TheMusopgraner: Re the beep situation with your notebook, if I was to send you the patch I got from fedora, are you able to build your own kernel and test? If not, I can put one up somewhere for you.21:52
pgranerTheMuso: sure won't get to it until Sat... I'm slammed tomorrow *sigh*21:55
pgranerTheMuso: just post the patch to the bug and I'll get to it soonest21:55
TheMusopgraner: I'll attach it to the bug then.21:55
pgranerTheMuso: :-)21:55

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