/srv/irclogs.ubuntu.com/2012/02/21/#ubuntu-kernel.txt

smoserhey all.01:55
smoserlooking at bug 93735201:55
ubot2`Launchpad bug 937352 in cloud-initramfs-tools "root partition in may not be grown" [Undecided,New] https://launchpad.net/bugs/93735201:55
smoserit *appears* to me that after a umount, a subsequent sfdisk (with call to BLKRRPART) returns device or resource busy.01:55
smoseri'm wondering if there is some thing that is actually necessary to do to wait until the kernel would not any longer consider that resource busy.01:56
reiseihi! How can I mesure the temperature of the core?07:34
jk-of the earth? that's a bit tricky.07:35
jk-reisei: intel CPU?07:35
reiseijk-: omap cpu07:35
jk-reisei: eep, that's a little more tricky; is there anything in /sys/class/thermal ?07:36
reiseijk-: I'll check 07:37
reiseijk-: there is nothing there07:52
=== smb` is now known as smb
smbmorning08:08
reiseijk-: What will you suggest?08:08
RAOFIs there actually a thermal sensor on that thing? :)08:11
reiseiRAOF: yep08:14
smbRAOF, that at least is step 1 :)08:16
reiseiRAOF: may be you tell me how can I check the temperature?08:29
ohsixif it's that hard to figure out it might be more prudent to check the datasheet and see if it even has one you can read08:32
* smb struggles very hard and fails... how about putting ones finger on the heat sink...?08:32
reiseismb: thermak framework is better, I guess08:33
smbreisei, Here goes the irone. But ok, yes, though that requires either a sensor on the board or the chip, the specs how to read it and someone who writes a driver for it. 08:35
smbAnd I don't know any, ohsix, I guess you do not either?08:35
reiseismb: if there are all this parts, if I got temperature in dmesg, but in some strange format, what should I do to fix it?08:38
=== mthaddon` is now known as mthaddon
ohsixsmb: i'd have to hit up the datasheets too, there's probably a diode somewhere that gets the temperature; but that doesn't always mean you can read it08:41
smbreisei, I'd probably try to find the function in the kernel source that prints that message, and then try to find out whether that has enough info (which I usually doubt). If you have a datasheet you may find where it looks and maybe what things mean. If not maybe finding who usually commits to that file and try to get into contact with them08:42
smbohsix, Totally agree. Was just wondering whether someone may have done something there. Though it did not sound like there is a driver.08:43
reiseismb: I found hwmon data. But what's the value it get? Something like 51600.08:43
smbreisei, Have you checked Documentation/hwmon/sysfs-interface in the kernel tree... Seems millidegree C  is what it is. So 51.6°C ? If that is a reasonable value.08:47
smbwould be for x86 but no clue about arm08:47
reiseismb: ok, but that seems to be wrong value. in the start of the system it show ~38°, but it should room temperature.08:50
smbreisei, It could be wrong but may also be somewhere inside the chip that gets warm pretty quick. This is where you have to look into the datasheet and the driver. Since you read it from somewhere you should know which driver08:54
=== lool- is now known as lool
=== yofel_ is now known as yofel
ryaoIs grub being compiled with GCC 4.6.2 in Ubuntu 12.04?10:35
ryaolamont: I hope you don't mind me pinging you, but the official Ubuntu wiki shows you as the contact person for the #ubuntu-kernel channel. I am not sure if that is for things that the Ubuntu kernel team is responsible for maintaining or just this channel.10:37
ckingryao, I suspect you probably need to ask that question in ubuntu-devel10:38
ryaocking: I did, but then I noticed on the website that the Ubuntu kernel team is repsonsiblef or it.10:38
smbSeems the ubuntu kernel team is stated as maintainer in the package... Not that we really do much to it10:41
ryaosmb: Who is responsible for compiling it?10:43
smbryao, well from the changelog the uploads have been done either by mvo or cjwatson. Maybe try to get mvo's attention. I'd say though, whatever the default compiler for precise is is used for compiling grub in precise.10:45
ryaosmb: Thanks. I will try to verify that with one of them.10:48
smbryao, cjwatson is not around for a while10:49
ryaosmb: cjwatson is in #ubuntu-devel while mvo is not. :/10:49
smbryao, Not sure whether he is really there or just his proxy. I think I saw some mail from him announcing to be on leave. Not sure it is already now or later10:51
ryaoOkay, thanks.10:51
smbThough I see somebody else stepped up10:51
ryaoThanks for your help. :)10:53
ericm|ubuntuppisati, ping11:05
ppisatiericm|ubuntu: pong11:06
cndapw, tim cherry-picked a patch directly last week after a very brief conversation here on irc11:14
cndactually, before I go further, I realized the patch hasn't made it to linus yet11:15
cndnm for now11:15
cndand if you read the above as one normally would, it would seem very odd, but it's best to just assume I never said anything :)11:15
lamontryao: you want the team, not me, for that question11:16
ryaolamont: Thanks.11:16
lamontryao: likewise, the buildlog for grub should tell  you what it's using for the build11:16
ryaoThanks. ajmitch in #ubuntu-devel pointed that out. :)11:17
lamontor more to the point, what it used for the build11:17
lamontheh11:17
* ppisati -> back in a bit11:40
smosersmb, around ?12:02
=== ericm|ubuntu is now known as ericm-dead
apwsmb, hey your maint-update-patch, if i ask it to sign off something, and there are no signoffs already, will it work correctly its looking like it does not12:29
smbsmoser, now and no I don't know what keeps the partition or drive busy13:05
smbapw, PRobably not as that was rather not the case for anything coming down. Actually I would have asked people to at least have their sob when they want something included. :)13:06
smbapw, You are not doing it the way it should be done... oops... wrong channel... :-P13:08
apw:-p13:08
* ppisati -> lunch13:11
smbsmoser, Just a guess, but changing the partition sizes should likely generate change events for the drive/partitions, which then triggers things run by udev, and those again may open the disk/partitions. So maybe it helps to shed light into the issue when you log udev events/debugging in parallel13:12
smosersmb, hm.. 13:17
smoseri dont think that makes sense.13:17
smoserthe core issue is:13:17
smoser umount13:17
smoser sfdisk (with blkpart)13:17
smoser mount13:17
smoserbut it is the sfdisk that is failing13:17
smoseroh...13:17
smoserif what you're saying is true, then there is a race any time sfdisk is run13:17
smoserudev really shouldn't be involved until *after* sfdisk has called BLKRRPART13:18
smoseri have to run. will poke some more later, but please think some.13:19
smbActually I mentally ignored the --dry-run part in the sfdisk on the bug report. But thinking of it, it would be interesting to see how things are committed. I guess the events only should happen when doing a rereadpt ioctl13:19
smbsmoser, But I'll think a bit more13:20
=== yofel_ is now known as yofel
=== bladernr_afk is now known as bladernr_
apwsmb, yeah presumably as sfdisk exits14:28
smbapw, Would be expected. Right now trying to re-create it locallly... and wondering whether this is just a different mode of getting it to fail. since there does not seem to be a settle wait between the growing and resetting the partition (in the test script)14:30
smbanyway14:31
smosersmb, yeah, the script i do see lots of failures on the re-start/reset of the script14:51
smoserbut i also see failures after umount14:51
smbsmoser, still waiting to see it happen on my local xen guest... maybe too slow... Just a 2GHz 8-core... :-P14:53
smosersmb, 14:56
smosersudo sh -c 'd=/dev/vdb; p=${d}1; mp=/mnt; trap "umount $mp" EXIT; while : ; do mount $p $mp && umount $mp && sfdisk --re-read $d|| exit 1; echo -n .; done'14:56
smosersimplify it and try it like that.14:56
smoseri just saw that fail here.14:56
smoserin a canonistack instance.14:56
smoseri can give you access if you need.14:57
smosersmb, ubuntu@10.55.60.111 if you want. i've imported your launchpad keys.14:58
smbsmoser, hm, that may change some assumptions. Ok, then I can check also a few other general setup questions14:59
smosersmb, change some assumptions?15:00
smoseri'm assuming that sfdisk --re-read is just sending the BLKRRPART call without doing anything15:00
smoserand in this case when it fails, its getting a resource busy15:00
smbsmoser, Well assuming it is Xen or KVM based. Should not really make that difference but could yield different timings15:01
smoserright.15:01
smosertimings15:01
smosernote, i'd never seen this before they upgraded canonistack to precise15:01
smoserwhich brought a new kvm15:01
smosernow we're seeing it quite often (maybe 1/2 boots)15:02
smoserso yeah, there is obviously race involved.15:02
smosersmb, 15:02
smosersudo sh -c 'd=/dev/vdb; p=${d}1; mp=/mnt; cleanup() { umount $mp >/dev/null 2>&1; } ; trap cleanup EXIT; umount $p >/dev/null 2>&1; while : ; do mount $p $mp && umount $mp && sfdisk --re-read $d|| exit 1; echo -n .; done'15:02
smoserthats maybe a bit prettier, just cleans up after itself better.15:03
smoserbut i can run that and it will go for quite a while, and the ctrl-c it, and have it fail after 3 tries.15:03
smbsmoser, Could still be both. New kvm or slightly different behaviour in the kernel in general or userspace... Except if it now appears on all kinds of guests too15:03
smoserright.15:03
smbsmb, I'll try the smaller version 15:04
smosersmb, i got to run again. sorry to bother you and then run off, but i'm supposed to be on vacation. :)15:05
smbsmoser, Heh ok. no worries15:05
smosersmb, thanks. later. and you can update that bug with anything you find or post back here.15:06
smbsmoser, will do in the bug15:06
apwsmb, whats that command which is grep foo /etc/passwd with ldap ?15:06
smbapw, gentent?15:07
apwthat sounds likely15:07
smbapw, I mean getent15:07
smbapw, should be getent passwd <id>15:08
=== bjf[afk] is now known as bjf
=== albrigha is now known as Guest79155
=== Guest79155 is now known as albrigha
=== bladernr_ is now known as bladernr_afk
=== bladernr_afk is now known as bladernr_
* ogasawara back in 2015:40
jsalisbury**15:47
jsalisbury** Ubuntu Kernel Team Meeting - Today @ 17:00 UTC - #ubuntu-meeting15:47
jsalisbury**15:47
jsalisburyapw, Can any kernel config option be changed at boot time, or just a certain set of them?  For example, I'd like to boot a kernel with CONFIG_USB_XHCI_HCD disabled to save time by not having to build a test kernel.15:58
apwjsalisbury, nope, they have to be specifically exposed either in sysfs or syscontrol15:58
apwmany require different code generated, so can only have effect at build time15:59
jsalisburyapw, ahh, ok.  thanks!15:59
apwjsalisbury, i've not got a headset here today, doh so won't be about for the 4:3016:01
apw(now+29)16:01
jsalisburyapw, ok.  Tim's out today as well, so it will probably be a quick one this week.16:02
apwi know lets simply assign smb to them all :)16:03
* smb tries to mentally slap apw16:03
jsalisbury:-D16:04
apwjsalisbury, and call for the white coats as smb is going mental too :)16:04
jsalisburyapw, heh16:05
smbapw, what do you mean? going?16:06
* smb assumed he was there already16:06
apwsmb, thats not a prizon its your flat16:38
smbapw, now I am completely lost :) I mean I thought I was already mental ;)16:39
smosersmb, why would sync do anything other than change timing?16:41
smoseroops. sorry to interupt meeting.16:41
brendandbjf - did i just see a new Oneiric -proposed kernel pop up? the current one isn't finished verification yet16:41
smbsmoser, not ours but not being on yours :)16:42
bjfbrendand: i created the wrong tracking bug16:43
bjfbrendand: it's already marked invalid16:43
smbogasawara, Do we know about items assigned to the canonical-kernel-team here https://blueprints.launchpad.net/ubuntu/+spec/servercloud-p-ceph16:44
* ogasawara looks16:45
jsalisburyogasawara, possibly related to the rc6 patch: bug 93737816:45
ubot2`Launchpad bug 937378 in linux "Patched kernel with rc6 enabled shutdowns" [High,Confirmed] https://launchpad.net/bugs/93737816:45
ogasawarasmb: I'm unaware of anyone actively looking into that16:46
ogasawarasmb: I'm not even sure what patch is being referenced there16:46
ogasawarajsalisbury: ack thanks16:49
jsalisburyogasawara, could be one more too: bug 93596516:49
ubot2`Launchpad bug 935965 in linux "RC6 enabled causes severe graphics corruption" [High,Confirmed] https://launchpad.net/bugs/93596516:49
smbogasawara, Right, probably as aware as I was before being asked in the server team meeting :)16:49
ogasawarajsalisbury: yep thanks, was aware of that one already16:49
jsalisburyogasawara, ok thanks.  I'll add them to the hot list for tracking16:49
ogasawarajsalisbury: I'm keeping an eye on https://wiki.ubuntu.com/Kernel/PowerManagementRC6 which is where most of the RC6 related bugs should be getting noted16:50
ogasawarasmb: yep, completely unaware16:50
smb:) yep16:50
jsalisburyogasawara, I'll keep an eye on that as well.  Thanks16:50
ogasawarasmb: do you need me to follow up with anyone to get that postponed?16:50
ogasawarasmb: as I'm guessing it's not actually going to get done16:51
smbogasawara, We need to talk at least to them to let them know that assinging things to canonical-kernel-team without talking to us is as good as giving the task to john doe16:52
ogasawarasmb: indeed16:52
ogasawarasmb: I'm crafting an email, I'll CC you on it.16:54
smbogasawara, ACK, though I am pointing it out on irc as well right now. 16:55
smbDaviey, and <SpamapS>. 16:55
DavieyI don't know, without looking at my mail archive, who assigned it.16:57
ogasawarasmb: [08:44:00] <SpamapS> Daviey: I don't think there's anything for the kernel team to do for CEPH .. its more about QA and testing.16:57
smbogasawara, Right, the patches there seem to be optimizations16:58
smbWhich we probably want to put on q's list of todos to look at and get assigned to something we know of16:58
ogasawarasmb: so I'm guessing that means the work items could be postponed and are not blocking any others.  but I'll email clint and make sure.16:59
ogasawaraDaviey: ^^ I can CC you on that as well if you like?16:59
smbogasawara, Yes, thats is how I undestood clints comments on -server16:59
manjoFor launchpad bug table view install  https://chinstrap.canonical.com/~jamesf/lptables/lptables.crx17:06
manjooops17:07
manjobad mouse17:08
smbapw, If you are not yet afflicted by the fridge contents: seems the umount not completely off the blkdev seems to be there at least back to natty... have not made it farther back yet17:15
apwmanjo, quality17:16
manjo:)17:16
apwsmb, hmm, interesting, yet sd_revlaidate is newish ... odd17:16
smbapw, Well can be completely unrelated oddness17:17
apwyeah must be unrelated i guess17:17
jsalisburyHome: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues Feb 28th, 2012 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!17:37
smbjsalisbury, not sure that worked as expected17:42
ppisatiEOD17:47
jsalisburysmb, the topic change?18:18
jsalisburysmb, ahh, right18:19
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues Feb 28th, 2012 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
jsalisburysmb, thanks ;)18:20
prashsHello. My ubuntu is unable to find the bluetooth device connected to it. In kernel 2.6.32 i was able to do that. But once i upgraded to 3.0 i am right now unable to do it. Ubuntu is not recognizing my Bluetooth dongle connected :( What to do??20:34
jsalisburyogasawara, regression between 3.2.0-16 and 3.2.0-17: bug 93819522:08
ubot2`Launchpad bug 938195 in linux "kernel 3.2.0-17-generic crashes constantly" [High,Confirmed] https://launchpad.net/bugs/93819522:08
ogasawarajsalisbury: thanks22:12
jsalisburyogasawara, np.  I requested that the bug report test 3.3-rc4 just to see if the bug is fixed there.22:12
jsalisburyogasawara, I wasn't sure if it was rc6 related or not.22:13
ogasawarajsalisbury: it might be, and it's a quicker test for them to try and disable it to see.22:13
jsalisburyogasawara, ahh, right.  I can request that test.  22:13
ogasawarajsalisbury: cool, thanks.22:14
jsalisburyogasawara, I'll request that bug reports disable RC6 for any new bugs that come in that appear to be RC6 related.22:16
ogasawarajsalisbury: great, that'd be good.  thanks.22:16
jsalisburyogasawara, Should these bugs only affect Sandy Bridge systems, or any system using the i915 driver and running the  3.2.0-17.26 kernel? 22:24
ogasawarajsalisbury: should only affect sandy bridge22:24
jsalisburyogasawara, what's the best way to confirm a system is a Sandy Bridge?  With lspci -nn | grep "VGA"22:25
jsalisburyogasawara, then look for "Intel Corporation 2nd Generation Core Processor"22:26
ogasawarajsalisbury: shoot, I thought we had a message thrown to dmesg that it was being enabled, but I'm wrong.22:28
jsalisburyogasawara, I see the following in the boot dmesg: agpgart-intel 0000:00:00.0: Intel Sandybridge Chipset22:30
jsalisburyogasawara, that should at least help me identify if a system is sandy bridge or not.22:30
ogasawarajsalisbury: lspci VGA info would also likely include vendor:device id's of one of the following 8086:0102, 8086:0112, 8086:0122, 8086:0106, 8086:0116, 8086:0126, 8086:010A22:31
jsalisburyogasawara, cool, thanks.  22:31
jwijsalisbury: /proc/cpuinfo - client SNB is family 6, model 42.23:08
ohsixsforshee: heh re: touchpad, after setting both keys to "toggle", i noticed if i press it fast enough the key events are not sent, but the light does change23:18
ohsixsince they originally were on/off events, it'd get out of sync either way23:19
sforsheeohsix, both keys? there's more than one?23:23
ohsixthere's one key, but 2 events, one for enabled -> disabled (the light changes from white to orange) and vice versa23:23
sforsheeoh, so two scan codes23:24
ohsixthey didn't work as separate events since g-s-d doesn't trap XF86TouchpadOff (and on) or whatever, but only toggle23:24
sforsheehuh, that's not ideal23:24
ohsixyea i didn't check and see if it did in the past, but i suspect that's why it stopped working23:25
sforsheeyou really want the on/off since that's really what your machine is reporting23:25
ohsixright, but the light can still get out of sync if it's pressed fast enough; so it sucks either way23:25
ohsixif it didn't have a light whether it was toggle or separate on/off would be moot, and since the light can change without sending an event it's moot anyways23:25
ohsixat least on my laptop23:26
ohsixthere are a lot of keymaps for other models that look out of date too23:26
sforsheeodd that it toggles the light without sending the event23:26
sforsheewhat kind of machine was it again? HP?23:27
ohsixyea, HP Compaq Presario CQ60-420US23:27
ohsix(though it's had a mobo swap, dunno if it's exactly a 420us anymore :)23:28
sforsheeohsix, which keymap is getting used?23:30
ohsixit didn't match any of the ones that come with udev on natty, i had to make my own; i mimic'd the other touchpadon/off keysyms in the other ones and it still didn't work, but toggle did; after i found out g-s-d traps toggle23:31
ohsixi filed a bug, let me find it23:31
ohsixhttps://bugs.launchpad.net/ubuntu/+source/udev/+bug/93580423:33
ubot2`Launchpad bug 935804 in udev "hewlett-packard keymaps mostly wrong or obsolete" [Undecided,New]23:33
ohsixi haven't really figured out what i can do to usefully get it fixed yet, but i did know that all those keymaps were wrong after my investigation so that's the bug i filed :]23:34
ohsixthe thread didn't have any references so i wasn't able to see what actually happened because of it, so i haven't added anything more yet23:35
sforsheeyeah, keymaps are the only way to really support those since it looks like they come from the AT keyboard23:37
sforsheeso pursuing it in udev seems like the right approach23:37
ohsixwell supposedly you're able to report it to one of the linux mailing lists and they make the kernel send those events directly instead of adjusting the keymap23:38
ohsixso if i were to do as suggested in README.keymap, i wouldn't even need a keymap file in the end23:39
sforsheeit depends on where the key events come from. The udev rule seems to apply those keymaps for the AT keyboard, and for that one you won't get them added at the kernel level.23:39
ohsixexcept for the time window between it landing in a kernel release i can use and before then23:39
ohsixah, really?23:39
ohsixi wasn't aware of any special rules or whatever regarding that23:39
sforsheeyes, if they're coming from a platform driver you can get them added in the kernel23:40
sforsheethe AT keyboard driver is completely generic though, and so it can't have a bunch of model-specific key codes added to it23:40
ohsixwould, say if that's already occuring, the keys come from the AT keyboard in the end? there is a wmi driver in play but i don't know what it's doing23:40
ohsixeg, platform driver traps whatever and delivers D8 to the at driver, is that what happens or would there be a separate event device?23:41
sforsheeI'm judging based on how the hp keymaps are applied by udev. If you want to know for sure, use lsinput to identify the actual input devices and then use input-events to see which one is reporting the keys.23:41
sforsheeplatform drivers have separate event devices23:42
ohsixya i've done that before, it used to be on a separate device23:42
sforsheewhat device? hp-wmi?23:42
sforsheehp-wmi doesn't even seem to recognize those scancodes23:42
ohsixhm wait, it still may be on a separate device, do you mean exclusively or in addition to coming from the AT keyboard? i'm still a bit fuzzy on how everything fits together23:43
sforsheei don't understand the question23:43
ohsixnot important, i think i'm confusing this whole event/keypress thing with another problem i had with my brightness keys (g-s-d sees 3 brightness changes for one keypress, never found out how)23:44
ohsixand now my touchpad disable key isn't even working and it decided to do that while it was off, brb23:45
ohsixrdesktop blows23:45
ohsixheh i disabled it for the input-test test, since i took the focus back to rdesktop and it does an exclusive grab when it's in the foreground i couldn't reenable it23:46
ohsixok so, udev keymaps aren't irrelevant, g-s-d not trapping on/off is, good to know23:46
ohsixmaybe you can help me sort the multiple brightness adjustment thing too, but that will have to wait; overdue for something23:47
sforsheeyeah, it's time for me to get off of here anyway23:48
ohsixthanks again23:48
* sforshee -> EOD23:48

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