/srv/irclogs.ubuntu.com/2011/12/15/#ubuntu-kernel.txt

undriedsea/proc/[pid]/maps question: How is it possible to have a mapping where the size of the shared library referenced by path is SMALLER than the mapped range? Example:01:05
undriedsea7f6a9e61f000-7f6a9e81e000 ---p 0000c000 08:01 269062  /lib/x86_64-linux-gnu/libnss_files-2.13.so01:05
undriedseaAcutal File Length:  51728 (from "ls -la /lib/x86_64-linux-gnu/libnss_files-2.13.so")01:05
undriedseaSpecd Offset:        49152 (0000c000)01:05
undriedseaRange End - Start: 209305601:05
undriedsea....so confused....01:05
=== smb` is now known as smb
* smb comes in08:30
* apw yawns08:48
* smb gives apw some aspirin08:49
=== bladernr_afk is now known as bladernr_
apwactually my head is pretty much ok today :)08:58
smbapw, Good to hear. :) I hope it does not mean that some other part hurts. ;)08:58
apwheh08:59
* smb turns on his hoover09:00
=== jibel_ is now known as jibel
apw(( arch armel | arch armhf ) & value CONFIG_FAT_FS y) | \10:38
apw        !arch armel & !arch armf & value CONFIG_FAT_FS m 10:39
ubot2apw: Error: I am only a bot, please don't think I'm intelligent :)10:39
apw(( arch armel | arch armhf ) & cut & value CONFIG_FAT_FS y) | \10:39
apw        value CONFIG_FAT_FS m10:39
apwarch armel armhf & value CONFIG_FAT_FS y | \10:41
apw        !arch armel armhf & value CONFIG_FAT_FS m10:41
ckingarch(armel, armhf)10:41
ubot2apw: Error: I am only a bot, please don't think I'm intelligent :)10:41
ckingarch[armel, armhf]10:42
apwarch armel armhf : value CONFIG_FAT_FS_Y | \10:48
apw        value CONFIG_FAT_FS10:48
ckingapw:  powers_of_2 = [ n | n <- 1, 2*n .. ]11:01
cking reciprocal = (1 /)11:02
apwreciproval 211:03
cking add a b = a + b11:05
apw10 add 2011:05
apwadd 10 20 11:05
smb10 20 add? :)11:06
apwQ a b = a + b11:06
apwa Q B11:06
apwrecip = / 111:06
apw/+* 1 2 3 411:07
smb1 2 / 3 + 4 *...11:08
* ppisati -> reboot11:29
apwogasawara, just a heads up that those 4 ext4 patches have hit mainline so will collide with my fix in the next rebase; dropping mine is appropriate in response11:47
=== bladernr_ is now known as bladernr_afk
* ppisati -> lunch12:23
=== jk-- is now known as jk-
=== yofel_ is now known as yofel
ogasawaraapw: ack14:05
ogasawaraapw: would you prefer if I just cherry-pick them before we rebase?  I'm probably gonna upload today or tomorrow.14:06
apwogasawara, we may as well have the new ones in any upload you do yes14:08
apwif thats not going to be a rebase, then sure14:08
apw      ext4: handle EOF correctly in ext4_bio_write_page()14:09
apw      ext4: remove a wrong BUG_ON in ext4_ext_convert_to_initialized14:09
apw      ext4: correctly handle pages w/o buffers in ext4_discard_partial_b14:09
apw      ext4: avoid potential hang in mpage_submit_io() when blocksize < p14:09
apwogasawara, those are the new names for the four we needed i believe14:09
ogasawaraapw: thanks.  I'll go ahead and pick those and drop the sauce14:10
tgardnerogasawara, you might as well just rebase against tip, then just note the SHA1 in the changelog.14:11
ogasawaratgardner: makes sense.  will do that.14:12
=== bladernr_afk is now known as bladernr_
brendandherton - oneiric looking pretty close to verification. done today?14:38
brendandherton - i can do http://launchpad.net/bugs/81314614:39
ubot2Launchpad bug 813146 in linux "kernel panic when running Python test suite on ecryptfs" [Critical,Fix committed]14:39
kirklandbrendand: that would be great!14:39
brendandjust need someone to do http://launchpad.net/bugs/88652114:40
ubot2Launchpad bug 886521 in linux "CONFIG_XEN_PLATFORM_PCI should be "y" when building 3.1 kernel" [Medium,Fix committed]14:40
hertonbrendand, yes, looks like it can happen today, only two remaining, including this one14:40
brendandi haven't a clue for that one14:40
hertonbrendand, I'll take a look at it, checking the config is changed is enough14:41
hertonin fact it's already verified14:41
hertonso only 813146 remaining14:41
brendandherton - great. i'm downloading oneiric now. maybe someone can beat me too it14:42
tgardnerapw, have you seen these yet? https://pastebin.canonical.com/57207/14:43
GodManMonkeyanyone have any ideas how to get usb wireless adapter working 10.04 lts?14:46
ohsixplug it in14:46
GodManMonkeylol tried that14:46
GodManMonkeyalso tried setting up with ndiswrapper and ndisgtk...14:47
ogasawaratgardner: https://lkml.org/lkml/2011/12/5/42114:49
tgardnerogasawara, good catch. I'll hassle the fs-devel list.14:51
tgardnerogasawara, why don't you add that as a crack patch in the meantime. it looks right.14:52
ogasawaratgardner: ack14:52
ogasawaratgardner: was that reported in a LP bug that you want me to add to the commit message?14:53
tgardnerogasawara, pgraner has some machines that show this bug. I'll get him or patrick to start one.14:53
pgranertgardner, on it14:58
* herton -> lunch15:09
* ogasawara back in 2015:34
pgranerogasawara, tgardner, just booted the daily from today and the panic doesn't exist, only seems to exist in the installer kernel?15:43
tgardnerpgraner, its not a panic, its a warning. Are there arch or version differences between the 2 ?15:44
pgranertgardner, uname -a is telling me they are the same, why would booting from pxe cause it and not from USB?15:46
tgardnerperhaps differences in how initrd hunts for the root FS ? I'm not sure.15:47
tgardnera PXE booted kernel has no idea what block devices exists, or what has a bootable partition, and has to go looking. when booting from USB I think it already knows.15:49
tgardnerpgraner, if it only happens with the installer, then that WARNING is not having an impact on the boot speed tests, right ?15:56
pgranertgardner, yep16:00
tgardnerpgraner, yep, as in 'no impact' ?16:00
pgranertgardner, that would be my assumption since we have to reboot twice to profile the ureadahead cache16:00
=== bladernr_ is now known as bladernr_afk
pgranertgardner, I'll let you know if we see it in the dmesg after the first run today16:01
tgardnerpgraner, ok, then its not a balls on emergency just yet.16:01
pgranertgardner, that is post install16:01
pgranertgardner, ack on that16:01
tgardnerpgraner, I've bugged upstream about it.16:02
tgardnerpgraner, plus ogasawara is gonna carry a crack patch until we get something official.16:03
ogasawaratgardner: yep, am prepping the upload right now16:03
tgardnerogasawara, did you have a look at cyphermox ipv6 patch on the list ?16:08
ogasawaratgardner: ah shoot, meant to take a look this morning16:08
=== davmor2_ is now known as davmor2
tgardnerogasawara, its not an emergency, so don't derail your upload for it 16:09
ogasawaratgardner: ack, will finish with the upload and then get to it16:10
brendandhmm, why wouldn't i be able to reproduce http://launchpad.net/bugs/813146 ?16:23
ubot2Launchpad bug 813146 in linux "kernel panic when running Python test suite on ecryptfs" [Critical,Fix committed]16:23
brendandi have an encrypted home. any other requirements?16:23
tgardnerbrendand, it was probably a race that is hard to hit. cking was able to trigger it on older kernels, but current upstream seems to have fixed it.16:24
tyhicksbrendand: Yes, it is a race that is not always easy to trigger16:24
tgardnerbrendand, read https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/813146/comments/5116:25
ubot2Launchpad bug 813146 in linux "kernel panic when running Python test suite on ecryptfs" [Critical,Fix committed]16:25
* tyhicks was just going to point that out16:25
brendandtyhicks -yep, looks like barry just verified it. great!16:25
tyhicksI know barry could trigger it everytime, so I'm thinking we're good if he can't trigger it16:26
brendandherton - so there is no respin of oneiric then (just to make sure). everything succesfully verified?16:26
bjfbrendand, so that oneiric kernel is ready for testing16:26
bjfbrendand, we are investigating a suspend/resume bug that came in today16:27
brendandbjf - ok. how long you want to give it?16:27
bjfbrendand, i'd like you to start testing right now :-)16:28
brendandbjf - what's going to happen with the sus/res bug then?16:28
brendandbjf - what if it's a real regression?16:28
bjfbrendand: we will work on it16:29
brendandbjf - which bug btw?16:29
bjfbrendand, that is always the possibility16:29
bjfbug 90456916:30
ubot2Launchpad bug 904569 in linux "Linux 3.0.0-15-generic-pae causes laptops to fail to resume from suspend (Dell XPS 1645, Sony Vaio VPCF1390)" [Undecided,Confirmed] https://launchpad.net/bugs/90456916:30
bjfbrendand, for *any* -proposed kernel that you are testing, we could be looking at bugs that come is as possible regressions, that doesn't mean we stop testing16:31
brendandbjf - i was just going to see if it's something we could check out. we'll start testing then16:33
tgardnercking, 'if ((!a) ^ (!b))' is the same as ' if (a != b)' right ?16:51
tgardnerno, thats not quite right16:53
ckinghrm, depends if a b are just 0,116:54
tgardnercking, a and b can be arbitrary values.16:54
tgardnerso, what is the intent of that kind of expression ?16:54
ckingwhere is the code?16:54
tgardnercking, its on the k-team mailing list in the ipv6 patch16:55
ckingthat expression works if a,b are just 0,1 I believe16:55
smbNo, don't think so16:56
tgardnercking, I think it must be  acopy/paste thing that he picked up from elsewhere. 16:56
cking((!*p) ^ (!old))16:56
smba = 0 -> 1 / a != 0 -> 016:56
tgardneryep16:56
tgardnerI think what he really wants is 'if (*p != old)'16:57
ckingit's not clear. me rethinks again17:01
smbSo what it currently does is if not both of them are NULL and not both are not NULL, isn't it...?17:02
ckingif (( *p & !old) || ( !*p & old))17:04
ckingi think17:04
sforsheecking, I think you want && instead of &17:05
smbif ( (*p == NULL & old != NULL) || (*p != NULL & old == NULL))17:05
ckingsforshee, yep &&17:05
sforsheebasically, if one is zero and the other is nonzero, execute the body17:06
ckingsmb, old is not a ptr 17:06
smbyeah, sounds right17:06
smbcking, Oh, right17:06
smbbasically both are not17:06
tgardnersforshee, that only works if the inputs are 0 or 1. what if the user supplies a number > 1 ?17:07
smbcking, So yours is right, beside the && which I was trying to remember wheter its only in shell or c as well17:07
sforsheetgardner, it's converting both to either 0 or 1 with the !'s17:07
smbtgardner, ! is always 0 or 117:07
tgardnersforshee, ah, right.17:07
ckingthat's why the !!val trick works 17:08
cking(from a different context)17:08
ckingusing ^ like that is a very succinct way of expressing that condition. nice17:09
smbyeah, but then taking long to decipher again17:10
tgardnerhere is the truth table for 0,1,2:17:10
tgardneri=0 j=0 ((!0) ^ (!0))=FALSE17:10
tgardneri=0 j=1 ((!0) ^ (!1))=TRUE17:10
tgardneri=0 j=2 ((!0) ^ (!2))=TRUE17:10
tgardneri=1 j=0 ((!1) ^ (!0))=TRUE17:10
tgardneri=1 j=1 ((!1) ^ (!1))=FALSE17:10
tgardneri=1 j=2 ((!1) ^ (!2))=FALSE17:10
tgardneri=2 j=0 ((!2) ^ (!0))=TRUE17:11
tgardneri=2 j=1 ((!2) ^ (!1))=FALSE17:11
tgardneri=2 j=2 ((!2) ^ (!2))=FALSE17:11
tgardnerso I guess its correct. 17:11
ckingwonder if that code is on a critical path (speed-wise) and if the compiler can't generate code that optimises it down to the ^ operator, then I suspect it makes sense17:12
tgardnercking, its asysctl17:12
tgardnera sysctl17:12
ckingwhich case it's just a smart alec bit of logic17:12
ckingthe kind of spawn from MIT bithack ;-)17:13
tgardnercking, why not just do 'ret = !!proc_dointvec(ctl, write, buffer, lenp, ppos);'17:14
tgardnerit would simplify everything else17:14
tgardneroh, never mind. thats the wrong place.17:14
cking-ETOOMUCHBEER?17:15
tgardnernot yet. I wish...17:16
* cking downloads the kernel .ddeb - only 653MB.. :-(17:25
tgardnercking, isn't this where BT squeezes you down to 1kbit ?17:26
ckingtgardner, nah, plenty of bits left today. yesterday was bad, my daughter was off ill and downloaded Gigs of video-on-demand content and rate capped us until midnight17:27
argessmb, hello! i've been going though some bugs and found this xen issue: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/838177  . Was wondering if you've seen any updates in upstream that may help this, or have an suggestions on new tests or actions.17:31
ubot2Launchpad bug 838177 in linux "[Lucid] New version of kernel cannot do migration between two XenServers" [Medium,Triaged]17:31
smbarges, That was one of the bugs related to forcing certain irqs to resume early... It required an additional backport which came through stable...17:33
smbarges, IRQF_FORCE... is the keyword to look for. I would think it should be working at least in proposed now17:33
argessmb, ok i'll check 17:34
smbgenirq: Add IRQF_RESUME_EARLY and resume such IRQs earlier17:34
smbUbuntu-2.6.32-37.8017:35
smbbug 89737717:35
ubot2Launchpad bug 897377 in linux "Lucid update to 2.6.32.49 stable release" [Undecided,Fix committed] https://launchpad.net/bugs/89737717:35
smbbug 88154217:36
ubot2Launchpad bug 881542 in linux "Ubuntu 10.04 LTS as guest freezes after xm restore" [Medium,Fix committed] https://launchpad.net/bugs/88154217:36
argesyou are quicker than I am : ) . Ok I'll have louis re-test with latest then17:36
argessmb, lucid-proposed right?17:37
smbarges, Thanks. :) Probably one bug should be duplicated on the other 17:37
smbarges, I had the same patch in there pre-stable... Hm which version was that in...17:38
smbSeems the same...17:39
smbarges, So yes, proposed17:39
argessmb, ok i'll mark 838177 as a dup of 881542 and have him test proposed17:40
smbarges, Or maybe first test17:41
argessmb, yea good idea. i'll make sure he tests first17:41
smbAnd if it is fixed by proposed it is confirmed to be duplicate17:41
argesok great!17:41
argessmb, thanks17:43
smbnp17:43
cyphermoxtgardner: are you saying the patch doesn't apply?18:32
cyphermox(i'm responding on the ML anyway)18:33
tgardnercyphermox, yep, tried to apply it to master-next precise. no joy.18:33
cyphermoxmaster-next?18:33
cyphermoxI based it on ubuntu-precise.git; and tried on linux-2.6.git ;)18:33
tgardnerok, lemme try master18:34
tgardnerit shold work in either case18:34
cyphermoxwhat's master-next ?18:34
tgardnercyphermox, its a different branch that we use for staging upcoming patches18:34
cyphermoxok18:34
tgardnerthat section iof code should be unchanged between the branches18:35
cyphermoxtgardner: is it far off from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git ?18:35
cyphermoxright, it suprises me that this code changes anyway18:35
tgardnercyphermox, it should be identical. i think the problem is likely your email client since the patch seems corrupted. can you 'git format-patch -1' from your tree and leave it somewhere I can get to it, like chinstrap ?18:37
cyphermoxinterested, that's how I did the patch initially ;)18:37
cyphermoxsure18:37
tgardnercyphermox, where do you keep your git repo ? is it in a public spot ?18:38
cyphermoxnah, just my laptop18:38
cyphermoxhttp://people.ubuntu.com/~mathieu-tl/0001-ipv6-make-the-net.ipv6.conf.all.use_tempaddr-sysctl-.patch18:42
cyphermoxdiff says the one on the ML might indeed be corrupt... gah. and I tried really hard to avoid this 18:43
tgardnercyphermox, got it, and it applies, though with some trailing whitespace.18:44
tgardneryou should 'scripts/checkpatch.pl 0001-ipv6-make-the-net.ipv6.conf.all.use_tempaddr-sysctl-.patch'18:44
cyphermoxok18:44
tgardnerbut its OK for now18:44
cyphermoxok, fixed now18:47
tgardnercyphermox, I'm gonna get some brain food, then I'll work through your patch. biab.18:50
cyphermoxsure, thanks a lot18:50
cyphermoxperhaps I can start with a question; I've added the dev_tempaddr_change function, which basically does the same as dev_disable_change(); this is probably a nop but the goal is roughly to restart the interface to make sure tempaddrs would start being created when the value changes18:56
cyphermoxthe question is: am I better to try to cycle the interface's state or just avoid that altogether?18:57
vanhoofrandom question :)19:03
vanhoofcurrently running oneiric on my x220, but wanting to check out precise kernels19:03
bjfyes you can19:03
vanhoofI already build my own (to add a few things) ...19:03
vanhoofwould it be best to build precise kernels in a oneiric schroot (since I'm running oneiric)19:03
vanhoofor within a precise schroot19:03
vanhoof(or does it matter either way)19:04
bjfi don't think its really going to matter19:04
bjfjjohansen: bug 874544, your test kernels have not received any testing (no comments added anyway), do you plan to pursue this or should we mark the bug incomplete and let it expire if we get no feedback ?19:12
ubot2Launchpad bug 874544 in linux "mkdir failure on NFS with Apparmor" [Undecided,Confirmed] https://launchpad.net/bugs/87454419:12
jjohansenbjf: hrmm, good question.  I do know for a fact he is using the kernel and has reported it works for him but he hasn't updated the bug19:14
bjfjjohansen: ok, that's good info19:14
jjohansenbjf: I have tried poking him to update but no luck, the patch is basically a back port so it should be safe19:15
bjfjjohansen: do you plan on SRUing it?19:15
jjohansenbjf: well if I could get him to test, because I can't hit it19:16
jjohansenbjf: mark it incomplete for the moment19:16
bjfjjohansen: i'll mark it incomplete with a comment19:16
bjfsforshee: bug 865807, do you want me to decline your nominations ?19:20
ubot2Launchpad bug 865807 in linux "acer-wmi wont recognize hotkey on Travelmate 8372" [Undecided,Incomplete] https://launchpad.net/bugs/86580719:20
sforsheebjf, please do, thank you19:21
vanhooftgardner: seen any oddness w/ iwlwifi on precise?19:29
tgardnervanhoof, just ran a pass on a 6300. looked OK19:29
vanhooftgardner: using a 6205 here, booted into 3.2.0-4.1019:30
vanhoofwould associate (after numerous tries), but would quickly drop19:30
vanhoofbooted back into oneiric and i'm fine again (same location, back deck :))19:30
* vanhoof wonders if building precise in an oneiric schroot caused any issues19:31
* vanhoof will give it go19:31
tgardnervanhoof, unlikely, but you can always build it in the right chroot and try again. how is your AP configured ?19:31
vanhooftgardner: 11ng on a 2.4ghz band19:35
vanhoofnot running a separate 5ghz band19:35
vanhooftgardner: this cycles consistently: http://paste.ubuntu.com/771500/19:35
tgardnervanhoof, thats exactly the setup I just tested with a 6300. lemme see if I have a 6205...19:35
vanhooftgardner: ill try a kernel build in a precise schroot19:36
tgardnerogasawara, Tejun already has an ACK from Jens on the floppy driver warning patch.19:39
ogasawaratgardner: cool19:40
* cking shuffles off for the day19:49
* smb shuffles off for the year...19:51
ckingsmb, really?19:52
smbcking, It is not much left of it and not having taken many vacation days before.19:53
ckingdude, you need to take vacation when there is some sun shine19:53
smbToo hot... :-P19:54
keesheheh19:54
ckingsmb, how about the southpole, nice and sunny and not hot at all19:54
smbcking, Maybe not bad. Apart from the social opportunities. But housing should be relatively cheap. :)19:55
ckinginternet maybe patchy19:55
smbgood point... hmmm...19:56
ckinglike taking a vacation in the refrigerator really19:56
ckingsmb, well have a nice vacation..19:57
ckingdrink lots of beer19:57
smbcking, Heh, thanks. Maybe not beer, but there is lots of other stuff. :)19:58
* cking really saunters away now..19:58
* sforshee goes to run an errand, back in about 30 minutes20:28
* ogasawara lunch20:47
pgranerjsalisbury, ping20:53
jsalisburypgraner, pong20:53
pgranerjsalisbury, you going to be in lex anytime soon? I have a box for you20:53
jsalisburypgraner, I could always drive down to pick it up.20:54
pgranerjsalisbury, its an intel ivybridge20:54
pgranerjsalisbury, I'll leave it with christine at the desk20:54
jsalisburypgraner, cool, thanks!20:54
jsalisburypgraner, I'll ping here about picking it up.20:54
jsalisburys/here/her/20:55
vanhooftgardner: went back to oneiric (outside) no issues ... rebuilt 3.2.0-4.10 in a precise schroot (but now inside since it's cold :)) ... but will give it a test out there in a bit20:56
vanhooftgardner: stable so far inside20:56
tgardnervanhoof, wuss, put on a coat.20:57
vanhooftgardner: :)20:57
vanhooftgardner: 60F and cloudy :)20:57
* vanhoof waits for stories of tgardner walking 10 miles in the snow to buy more coal for his furnace ;)20:58
tgardnerits only made it above freezing here a couple times in the last 3 weeks20:58
tgardnerI've had to start wearing shoes outside.20:58
vanhoofheh20:59
* jsalisbury back online in about ~1.5 hours. Taking a trip to the Lexington office.21:09
vanhooftgardner: certainly holding up well inside :\21:12
vanhooftgardner: http://paste.ubuntu.com/771589/21:12
vanhooftgardner: maybe the driver is more sensitive to noise in 3.2 ... quite a few ap's in range when i'm out there21:13
vanhoof*shrugs*21:13
* tgardner ->EOD22:21

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