/srv/irclogs.ubuntu.com/2008/10/14/#ubuntu-kernel.txt

bizhanHi All, question on msleep within kernel driver, I have a multi-thread process which one of the threads call an ioctl to a driver, inside this driver I have placed msleep() to defer time for the calling thread but it seems it puts the entire process into sleep, does anyone have any idea? 00:46
mjg59bizhan: What are you trying to do?00:59
mjg59msleep() will block the process, yes00:59
mjg59If you want to let the process continue then you need to use a workqueue or something00:59
mjg59Schedule some work on it and then return00:59
=== asac_ is now known as asac
Kanohi rtg , did you look at the uvcvideo patch?13:16
rtgKano: you mean the patch that you had no time to send to the kernel team mailing list? nope, I had no time to download it or look at it.13:19
Kanowell had to go yesterday13:19
Kanoit is only very small, just take a look13:19
Kanohttp://kanotix.com/files/kernel/kernel-update-pack-generic-next/source/2.6.27-uvcvideo-jhl90.patch13:20
Kanobut really usefull13:21
Kanoi guess there are lots of different laptops out there based on that compal base13:21
wgrantrtg: Hi. I was pointed to you for debugging why my Dell laptop's brightness keys appear to never send release events in Intrepid. superm1 and others also suffer from this issue.13:26
Vuokkohello13:28
rtgwgrant: is there an LP report associated with this issue?13:28
wgrantrtg: Bug #26172113:29
rtgwgrant: so you think if it was behaving properly, the little brightness gizmo would disappear immediately after you release the brightness control key?13:32
wgrantrtg: No, it would stick around for a while. But I can see lots of events in xev, and turning of X key repetition fixes it.13:33
wgrants/turning of/turning off/13:33
rtgwgrant: how do you turn off key repetition?13:34
wgrantrtg: System->Preferences->Keyboard13:34
rtgwgrant: aren't the brightness keys ACPI events?13:35
wgrantrtg: Not here, AFAICT.13:36
wgrantI can set them for keyboard shortcut actions, for example.13:36
rtgwgrant: huh, I'm not seeing the issue on my Dell laptop. What happens if you make the repeat interval longer?13:37
wgrantrtg: I believe that setting's broken at the moment...13:37
wgrantrtg: How old? Mine's an Inspiron 630m from early 2006.13:37
rtgwgrant: XPS M1710, maybe 18 months old?13:38
wgrantHmm.13:38
wgrantrtg: Does xev say anything about the keys?13:38
rtgwgrant: I'm only getting one event per touch.13:40
VuokkoI have Fujitsu loox netbook and I was wondering if Ubuntu could put patch from http://panic.cs-bristol.org.uk/~jules/fujitsu-u810-debian-install-notes.html to enable keyboard lights. Am I asking something impossible?13:41
rtgVuokko: email your path with an explanation of what it does to kernel-team@lists.ubuntu.com13:42
rtgwgrant: ok, I sometimes see 4 events with a single button press.13:42
wgrantrtg: When I have no g-p-m running to catch the events, and have repeating off, I just see http://paste.ubuntu.com/57424/. No corresponding release.13:44
wgrantHmmm13:47
wgrantI note that the keys will only work once, unless I VT switch.13:47
rtgwgrant: well, see if you can find other folks with the same problem 'cause it isn't going to be something I'll get to for the next few weeks.13:48
rtgrelease is approaching, and there are some pressing issues.13:49
rtgneed coffee...13:49
wgrantAnd huh... subsequent keypresses appear once the VT is switched back.13:49
wgrantBut only one for each key ever appears.13:51
ctshhhi everyone... is there a known way of making a kernel only boot on a processor with a specific processor number, ie. let it _not_ boot on just any given processor?hi everyone... is there a known way of making a kernel only boot on a processor with a specific processor number, ie. let it _not_ boot on just any given processor?14:05
ctshhoops. wtf??? sorry.14:05
ctshhonce would have been enough i guess :)14:05
rtgctshh: its likely it has to boot one the same CPU every time, but you can look for phrases like 'affinity'14:06
rtgs/boot one/boot on/14:06
ctshhok, my bad: i mean on a specific cpu as in "my cpu, but not yours" - as mine has another procesor number (ie processor ID!) as yours.14:07
rtgctshh: haven't the foggiest14:09
ctshhme neither :)14:10
ctshhthis question doesnt seem to come up too often...14:10
rtgBenC: are you still thinking about reverting from uvesafb ?14:27
pgranerrtg: any word on the screen corruption issues, mario pinged me.14:34
rtgpgraner: hence, my question to BenC14:35
pgranerrtg: I had it happen to me on an Intel graphics chip last night, then it went away and hasn't happened yet14:36
BenCpitti said his got fixed recently, although I have no idea how14:37
BenCrtg, pgraner: but yeah, after I do this linux-firmware split from lrm, I'll do a new kernel upload reverting back to vesafb14:38
pgranerBenC: can you run that one down in time for the meeting?14:38
BenCpgraner: and re: HPA, it is not new to intrepid14:39
BenCpgraner: run it down?14:39
pgranerBenC: what pitti did14:39
BenCpgraner: he assumed I fixed it, so I am chalking it up to a fluke14:40
pgranerBenC: on HPA, the issue is that in Hardy systems with HPA "just worked", now in intrepid they are crapping out on boxes with a HPA disk14:40
pgranerBenC: we owe Mario more than "chalking it up"14:40
rtgBenC: What's LRM -7.10 ? Isn't that the firmware split?14:40
BenCpgraner: Uh, no, I mean I am ignoring the fact that pitti says it is fixed for him because there's no reason it should be14:41
BenCpgraner: I am reverting to vesafb, and that's about the best answer we can give14:41
BenCrtg: No, that was just udeb's and copyright14:42
pgranerBenC: Ok, understand, do we have root cause other than we are just reverting?14:42
BenCrtg: cjwatson wants firmware split out, and have an upgrade path for people that didn't have lrm-common14:42
rtgBenC: oh, I didn't look into the diff.14:42
BenCpgraner: root cause is that uvesafb is a little buggy14:42
pgranerBenC: ack14:42
BenCpgraner: vesafb will at least put us back to what worked in hardy14:43
rtgpgraner: maybe this is the last release for usplash. we can spend all winter working on the 5 second boot.14:43
pgranerrtg: thats the plan...14:43
* BenC would be amazed if we could get gdm up in 5 seconds14:44
pgranerBenC: you didn't see the X changes keithp is doing and some of the other bits to get us closer.14:45
rtgBenC: well, its simply a matter of taking unrealistic short cuts.14:45
pgranerrtg: s/short cuts/tradeoffs/14:45
BenCdoes it involve kernelmodesetting?14:45
pgranerBenC: nope, most of it was ripping cpp out of X at start up14:46
BenCcpp?14:47
* BenC hopes that isn't /usr/bin/cpp14:47
pgranerBenC: the C preprocessor14:47
mjg59xkb file compilation14:47
BenCwow, I never knew that sort of crap was taking place at X startup14:47
mjg59Turns out that caching the compiled keymap is some kind of performance win14:47
BenCwho would have thought14:48
sebnerhi, mighty kernel guys. already plans for jaunty and ext4?14:55
* BenC needs more coffee14:56
rtgsebner: the next kernel upload will have EXT4_DEV enabled.14:58
Kanoext4 tools in repo?14:58
sebnerrtg: what do you mean with "next kernel upload". I'm curious because jaunty will have at least 2.6.28 (I suppose) and in 2.6.28 is ext4 now marked as stable ;)14:59
rtgaccording to keybuk we have the latest from Ted.14:59
rtgsebner: Intrepid is 2.6.27, and therefore has the development version of ext415:00
sebnerrtg: therefor I was asking about "Jaunty" and ext4 ;)15:00
Kanodid somebody else found gspca problematic in 2.6.27?15:00
rtgsebner: you'll have to wait until after the December UDS for us to make that decision.15:01
Kanoit seems it can even stop booting - at least the cam is not working...15:01
sebnerrtg: any vision about the chances?15:01
BenCpgraner: seems in intrepid, we moved to making HPA honored by default, which was due to pressure from upstream (alan cox, among others)15:02
rtgsebner: about it being the default? the likelyhood is high.15:02
BenCpgraner: way back in edgy we ignored the host protected area15:02
sebnerrtg: cool. thx for the info :)15:03
BenCpgraner: which was to keep consistency across the move from ide to pata15:03
BenCpgraner: ide has always ignored hpa by default15:03
pgranerBenC: so do something need to happen in the installer so that we fence that portion off to avoid crashing?15:03
rtgsebner: besides, Jaunty is most likely going to be a 2.6.29 or perhaps even .30 kernel. ext4 will have matured some by then.15:04
sebnerrtg: .30?? 27 is just out and 1 kernel version every 2,5 months .. hard :)15:04
pgranerKano: the gspca bits userspace patches are being applied and seem to be working for me.15:05
Kanopgraner: for skype?15:05
Kanoand what about boot problems with webcam?15:05
pgranerKano: we are packaging skype for Intrepid and it will have the fixes either patching or the LD_PRELOAD method before GA15:06
BenCpgraner: it would seem so15:06
pgranerKano: other than you I've seen no other boot probs with the web cam15:06
BenCpgraner: the kernel is DTRT15:06
Kanopgraner: it was a laptop, could not boot when it was connected.15:07
pgranerBenC: ack, we need to get with the platform guys to get this sorted15:07
BenCpgraner: On it...15:07
Ngrtg: re the bug with hangs and visual corruption on boot, I think it's happening very shortly after intel_agp loads (dunno if you saw the comment on th ebug, but i added a couple of pictures of it happening without usplash16:40
Ngwhich seems like it could be a prime candidate, I guess16:41
rtgNg: we  were just having a conversation about reverting to vesafb as the preferred frame buffer driver. hopefully the usplash corruption issue will be moot.16:42
NgI don't think I'm using uvesafb though, I have log messages suggesting it fails16:43
Ngbut I've never understood console video modes very well, I don't use them enough to care ;)16:44
rtgNg: or do I.16:44
rtgs/or/nor/16:44
Ng[    2.833626] uvesafb: vbe_init() failed with -2216:44
Ng[    2.833715] uvesafb: probe of uvesafb.0 failed with error -2216:44
Ngthat's the last thing uvesafb has to say for itself16:44
rtgNg: what does get loaded? vesafb16 ?16:45
Nghmm, maybe I am using uvesafb then, because that's the only kernel module I have loaded which matches "vesa"16:45
amitkNg: IIRC, that error has got to do with not having 'v86d' installed16:49
amitkNg: try installing v86d to check if your problems go away16:50
Ngamitk: will do, although I've tried that at several points in the cycle and had things generally get worse, like X failing to start ;)16:51
* amitk nods16:53
BenCNg: ignore it for now, we're making vesafb the default again17:46
Ngok17:46
* Ng purges v86d with fire17:46
NgI'll do some more reboot loop testing when i spy a new kernel with that change :)17:47
rtgNg: x86 or x86_64? I can provide a test kern.17:48
Ngx8617:48
rtgNg: 10 minutes (or so)17:49
Nggroovy :)17:50
rtgNg: http://people.ubuntu.com/~rtg/vesafb for test kernels18:44
Ngrtg: ta18:45
persiaI thought I was here.  Wonder how it fell off the list.18:56
BenCpersia: It will have to be done separately18:57
BenCwe can't have lrm build-dep on something we aren't directly supporting18:57
BenCpersia: I'm curious if fglrx and nvidia dkms build ok with it18:58
persiaBenC, Rather, to have l-r-m generate l-r-m source so l-r-m-rt can build-dep on it.  That's what abogani wanted.  If that's infeasible, the source can be copied.18:58
BenCpersia: just copy the source...there's only 4 modules there (and firmware will get moved to another package and be arch/kernel indep)18:58
persiaI'll ask to have the dkms stuff tested.  I know at least nvidia isn't rt-safe, and crashes.18:58
BenCwell, firmware is already arch/kernel indep18:58
persiaOK, so the linux-firmware (or whatever) package should be safe to just have linux-meta-rt depend upon?18:59
BenCpersia: right19:29
persiaOK.  Cool.  Thanks.19:31
=== jws141 is now known as dashua
=== jws141 is now known as dashua
jdongso what's up with CONFIG_EXT4DEV_FS? would I still be an insane idiot to attempt ext3->ext4dev?22:52
jdong(yeah I know, I am one ext4 or not)22:52
Vuokkowhat's the fuzz about ext4? isn't ext3 good enough?22:54
laga_no. obviously not22:55
Vuokkonothing is ever good enough :(22:57
laga_640k...22:59
philsfis there anything (testing) I can do to help fix bug #55567 in time for intrepid? It includes a hardware driver inclusion.23:40
philsfhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/5556723:40
Ngrtg: no good I'm afraid, I got the same corruption/crash on the 16th boot23:43

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