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

EmigrantMTChrisI'm doing a kernel bisect to help narrow down where a bug in the kernel was introduced, and have a few questions. Would this be the proper place to ask?04:25
johanbrEmigrantMTChris: Yes, but now is probably not the best time of day for getting an answer.04:32
EmigrantMTChrisThanks, I'll ask again tomorrow.04:33
=== alex_jon1 is now known as alex_joni
elmargolEver tried to run intrepid on a hardy kernel? :/ I don't know anything else to do :(09:38
elmargolI'm frustrated :(09:39
=== abogani changed the topic of #ubuntu-kernel to: "Ubuntu kernel development discussion ONLY | Kernel Wiki: https://wiki.ubuntu.com/KernelTeam | Latest news: Moved to 2.6.27 kernel for Intrepid/8.10. | Kernel git trees: http://kernel.ubuntu.com/git | Latest kernel upload: 2.6.27-7.10 based on 2.6.27 final"
Ngelmargol: I was running intrepid on a hardy kernel for a while, seemed to mostly work09:43
elmargolon the nvidia forums they suggest idle=poll as a boot parameter? what exactly does this?10:03
elmargolon a quick google search i could not find any informations10:03
elmargolkde4 and the vanilla 177.80 is totally broken :(10:41
mdzmjg59: there's a quote from you in bug 256887 which says we ought to be able to use the default hotkey mask in thinkpad_acpi, but testing (bug 222796) indicates that using the default breaks the volume and brightness keys for several models10:58
mdzmjg59: I'm considering whether we need to go back to 0xffffff for now10:58
=== asac_ is now known as asac
mjg59mdz: Breaks in terms of what behaviour? It's certainly possible.11:01
mdzmjg59: breaks in that no ACPI events are generated for those keys11:04
mdzmjg59: they still work (in hardware), but we don't get any notification of the change to userspace11:04
mdzchanging the mask back to the old default of 0xffffff gets them working fine11:05
mjg59Ah, right. Upstream doesn't like the keys that have direct effects in hardware sending events11:06
mjg59So yeah, you might need a broader mask for that case11:06
mdzmjg59: given how close we are to release, I'm inclined to just revert it to the old default rather than fish around trying to figure out which bits we need.  do you see any practical problem with that?11:07
mjg59Not really, no11:09
ivoksare you guys talking about acpi keys?11:09
ivokshot keys11:10
mdzivoks: yes11:10
ivoksmdz: fwiw, toshiba laptops are really broken atm :/11:11
mdzivoks: that isn't worth much on its own; can you point to a bug report?11:12
ivoksgive me a second...11:12
ivoksbug 26131811:13
mdzivoks: thanks11:15
ivoksi've tried creating a fdi file for hal, but that failed since i don't know hal that much :/11:18
mdzthe thinkpad_acpi commit which adds the warning says:11:19
mdz3. Attempts to set hotkey mask to 0xffffff, which is almost never the11:19
mdz   correct way to set up volume and brightness event reporting (and with11:19
mdz   the current state-of-the-art, it is known to never be right way to do11:19
mdz   it).11:19
mdzunhelpfully, it doesn't explain what *is* the correct way to set up volume and brightness event reporting11:20
mdzI don't know of another way to get at this data11:20
crevettehello11:27
crevetteI've a problem with my webcam, since few weeks ago11:27
crevetteproblem with webcam should be reported against kernel ?11:28
mdzmjg59: the old code checked which X driver was in use (intel|ati|radeon) and only changed the mask for those three.  do you know why?  the changelog doesn't say, and I don't see why nvidia-based thinkpads wouldn't need this11:28
crevettehey mjg5911:28
mjg59At that point only those drivers supported xrandr1.211:28
mdzmjg59: ok, so it's obsolete and I'll drop it. thanks.11:29
crevetteit seems the pwc driver reports it can works in v4l2 but is this mode the output is just a plain green color11:29
crevetteit used to works fine 2 weeks ago11:30
mdzafaik, thinkpads only ship with intel, ati and nvidia, and all three of those support xrandr 1.211:30
crevettebut I don't know it used v4l or v4l211:30
mjg59crevette: Reporting v4l2 is probably correct. Something's just broken in the driver.11:30
mjg59mdz: Only newer nvidia, and only if you're using nv11:30
mdzmjg59: we don't write that into xorg.conf anymore, so only the X server knows which driver it will use11:31
mjg59Yup11:32
mdzmjg59: all thinkpad-keys seems to do is generate an input event.  what harm would that do if the driver doesn't support xrandr 1.2?11:36
mjg59It's not thinkpad-keys11:36
mjg59It's whether the hotkey generates the BIOS event or an input event11:36
mdzmjg59: so if the key is included in the mask, it generates an acpi event.  if it isn't, what happens in that case?  the documentation says "the firmware will handle it", but in this case, we're only asking for notification11:45
mdzwill masking out the brightness keys on some models prevent the hardware from adjusting the brightness?11:46
mdz(it doesn't on any hardware reported in the bug)11:50
mjg59mdz: For video switch, you're not just asking for notification11:54
mdzmjg59: ok, I understand.  I'm happy to let the driver decide what to do for the video switch key.  the problem I'm trying to address is the regression in getting events for volume and brightness.11:57
=== rikai_ is now known as rikai
mjg59Yeah. In that case, setting the wider mask should be fine11:59
mdzmjg59: the old code was: "if intel|ati|radeon driver, set mask to 0xffffff".  the new code would be: "set mask to (recommended_mask) | (bitmask for volume and brightness keys).  sound ok?12:01
mjg59Yeah12:03
mdzthank you12:05
crevettemjg59: I can't find a package v4l2 is it libv4l-0?12:14
mjg59crevette: v4l2 is a kernel API12:15
mjg59It specifies how userspace communicates with the camera12:15
crevettea, /me is a total newbie in video thingy12:15
crevettemjg59: okay so I open the bug against the kernel12:15
Kanohi12:55
Kanointerested in a simple patch for one c6600 (compal jhl90) webcam?12:56
Kanojust id addon to uvcvideo12:56
Kanohi rtg 13:04
rtgKano: hi13:05
Kanortg: i have got a patch for uvcvideo and compal jhl90 barebone based systems13:06
Kanojust made it, as simple as for the akoya13:06
rtgKano: send it to kernel-team <kernel-team@lists.ubuntu.com>13:07
Kanono time,but i uploaded it13:08
Kanohttp://kanotix.com/files/kernel/kernel-update-pack-generic-next/source/2.6.27-uvcvideo-jhl90.patch13:08
Kanostraight forward13:08
Kanojust compied last section and added id, thats all13:10
Kanobbl13:10
mdzmjg59: if you have a moment to eyeball http://launchpadlibrarian.net/18497499/hotkey-setup-222796.diff that would be appreciated13:13
mjg59mdz: Looks good13:36
mdzmjg59: thank you13:36
mdzit gets things working again on my T42, doesn't break anything on the T6113:37
mdzand I've asked a bunch of folks to test13:38
=== mdz_ is now known as mdz
Ngdid something relating to USB autosuspending change in the last couple of intrepid kernels?13:47
rtgNg: something broke?13:48
Ngrtg: sort of the opposite - I was playing around with setting the /sys/devices/pciblah/usbfoo/power/level to "auto" a week or so ago to stop my laptop's fingerprint scanner and webcam consuming power, and now they seem to come up set to "auto" all the time13:49
NgI'm pretty sure that stuff shouldn't be persistent ;)13:49
Ng(also I'm fairly sure the fingerprint scanner is actually active, because it's warm and after my playing around it would come up cold)13:50
rtgNg: CONFIG_USB_PERSIST is no longer an option in Intrepid. hmm.13:51
Ngyeah I couldn't see anything having changed in the /boot/config- files, nor anything relevant in the changelog13:52
tseliotrtg: did my patch solve your problem with nvidia?13:53
rtgNg:  we need an rf-kill switch for webcam and finger print sensor.13:53
rtgtseliot: I still had library conflicts, so I ended up installing Intrepid from scratch. I'm pretty well setup for it anyways since I always have /home on a  separate partition.13:54
rtgThanks for the response, though.13:54
tseliotno problem13:54
Ngrtg: that would certainly be nice. This is hardly an important problem, I'm just a bit confused why it seems to have changed13:54
rtgtseliot: the twinview setup works well.13:54
tseliotgood :-)13:55
rtgtseliot: will you have time to explore the issues regarding nvidia-glx-177 under Hardy?13:55
tseliotrtg: yes, sure13:56
Ngoh, I seem to be looking in the wrong place is all, I'm looking in /sys/devices/pci0000:00/*/*/power/level and that's just finding the USB hub devices13:57
Ngin other news, I'm seeing http://picasaweb.google.co.uk/cmsjtenshu/Misc#5256616902573945746 occasionally on boot. Seems to be too early for X to be the culprit, and it causes a total kernel wedge (I had it once when not using usplash and the console was similarly corrupted, no sign of an OOPS)13:57
Ngtjaalton has seen it too I believe13:57
rtgNg: BenC is supposed to be working on the uvesafb stuff13:58
rtgNg: frannkly, I'd like to see a short enough boot time that we can do away with usplash.13:59
Ngrtg: definitely, but this seems to happen with or without that, and it's part way through the boot sequence and not obviously reprodicble, afaics13:59
Ng(and fwiw, I don't have v86d installed)13:59
tjaaltonwe should replace usplash with plymouth for jaunty14:00
rtgNg: that was a usplash screen in the URL you referenced, isn't it?14:00
AnAntHello, is there any info that I should add to bug 281451 ?14:00
persiaGood day.  Anyone bored and feel like reviewing the current state of the -rt patches for intrepid?14:00
Ngrtg: yeah, but I've had what seems to be the same crash on one boot where I'd disabled usplash.14:00
rtgNg: if you could catch one with quiet disabled , that might be helpful. My wedges have only appeared with usplash14:01
Ngtjaalton: or we should boot quickly enough not to need either :D14:01
tjaaltonNg: heh, let's be realistic here ;)14:02
Ngrtg: I'm moderately sure the one I saw was with quiet disabled (I generally either boot usplash or remove "quiet splash") and there was no oops, but the screen was pretty garbled14:02
NgI'll at least pay more attention to where it happens14:02
Ngtjaalton: ;)14:02
rtgpersia: where are you hiding them?14:03
persiartg, They're applied by quilt at build-time from http://ppa.launchpad.net/abogani/ubuntu/pool/main/l/linux-rt/linux-rt_2.6.27-2.4.dsc14:04
persiaabogani, Has been working on them : I'm only interested because of the impending kernel freeze, and wanting to make sure that it doesn't get missed.14:04
rtgpersia: his package isn't really affected by the freeze, is it? In fact, the freeze is a good thing from his perspective.14:05
persiaActually, yes, it's affected by the freeze.  It's a kernel freeze.  That's all the kernels.14:05
rtgpersia: I thought it was a universe package ?14:07
persiartg, It is, but also a kernel.14:08
persia(so it has to follow both sets of rules)14:08
rtgpersia: his quilt set doesn't apply.14:10
persiaRIght.  It did on the 10th.  I suspect it needs a refresh.  I'll go poke him.  Thanks.14:10
rtgpersia: it fails in some recent ACPI changes.14:10
* persia will test to make sure it works before asking for review next time14:11
mdzNg: are you using VESA (vga=) or the default svgalib stuff?14:12
rtgpersia: its a hard one to review anyway since there is a zillion patches. mostly one can only test if it builds and runs.14:12
Ngmdz: I've not consciously made any changes to the console screenmode, so there's no vga= on my kernel commandline14:12
persiartg, The Studio folk did a bit of build&run testing, and it was looking pretty good (although clearly it now fails to build).14:13
mdzNg: I agree with rtg, try it without quiet and see if it always hangs at the same spot in the boot process14:13
persiaDo you guys want to look at anything more closely before it gets uploaded?  I just expect that there will be a number of bugs against "linux" that are -rt specific, and would prefer it didn't have anything too insane in it.14:14
mdzNg: if you can, track it down from there.  if not, then try removing splash and see if it's still reproducible (and if you can get a panic)14:14
rtgpersia: once its working, I'll build it and run it on a laptop, smoke test it at least.14:14
Ngmdz: will do. As I said, I'm pretty sure I've had it once without "quiet splash" and there was no kernel output, but I'll try and provoke it later14:14
Ngit seems kinda random :/14:15
mdzNg: if you and tjaalton are experiencing the same problem, that's certainly enough to open a bug14:15
persiartg, OK.  I'll come back when I've confirmed it's working again.14:15
mdzNg: (use "ubuntu-bug linux" to get your hardware info automatically attached)14:15
Ngmdz: will do14:15
rtgNg: is it always the same peripheral set? network cable connected? that kind of stuff.14:15
Ngrtg: hmm, I've had it both with and without network cable, but it occurs to me that I may only have seen it while on battery14:17
rtgNg: good. its likely not random at the point that its wedging.14:18
Ngmight be bug 263782 but the comments there seem to cover more than one actual bug14:20
AnAntHello, is there any info that I should add to bug 281451 ?14:36
AnAntLaunchpad bug 281451 in linux "uvesafb does not support 1280x800 resolution for NVIDIA graphics adapters" [Undecided,New] https://launchpad.net/bugs/28145114:36
Ngrtg: ironically X just crashed, so I rebooted and disabled "quiet splash" and the crash happened and garbled the console. before I could get a camera on it my laptop switched off and then back on again (some kind of watchdog?)14:37
Ngit seemed like it was just printing something about VESA, but I don't see that in any normal boot logs14:38
rtgNg: how bizarre. Maybe the BIOS sets a ACPI timer in case the boot process fails.14:38
NgI did wonder if it was linux's reboot-on-panic stuff, but a) I think that defaults to 30seconds, b) I don't think it would look like a power cycle14:40
rtgNg: thats why I think its a  BIOS thing. perhaps it triple faulted.14:40
NgI'll do some reboot loops tonight until I trigger it again and try and figure out from approximate timing, where it's at14:41
rtgcking: whats your experience when testing the triple fault method of rebooting? Does it appear like a power cycle?14:41
ckingcking: it's a good way of resetting the processor - I suppose it's the nearest we have to power cycling the processor14:43
cking^rtg^14:43
ckingoops14:43
rtgcking: I understand that, but I was asking if it looks like a  power cycle or just a warm boot.14:43
ckingrtg: I am not 100% sure - http://en.wikipedia.org/wiki/Triple_fault describes it as best as I could find. I would make sure that the magic number that needs to be set in memory before issuing it to indicate the kind of warm/cold reboot method used by the BIOS on reboot14:46
ckingrtg: write a zero to location 0x472 for a cold reboot14:47
ckingthen issue a triple fault14:48
Ngwell, I filed bug 282700 rather than assume it's 26378214:48
rtgcking: dude, you're going way to deep. I just wanted to know if it _looks_ like a power cycle. you know, all the blinky lights go off, then back on.14:49
ckingrtg: not sure - I didn't look at the blinky lights - superficially it looks like a power cycle  - like a normal BIOS or keyboard reboot to me 14:50
ckingAs vulcan death grips go it seems as good as the other methods I tested14:52
rtg:)14:52
Ng(fwiw I described it as looking like a powercycle because literally every LED on the laptop, including the one in its power button) went off and then all flashed on, as if it had been power cycled)14:52
Ngbut that's the less important aspect of this, why it's crashing in the first place is more important ;)14:53
rtgNg: actually, how its crashing is of interest, but its often not clear why until you know the cause.14:53
rtgcatch-2214:54
Ngfair enough :)14:54
ckingrtg: A reset could occur by writing 0x6 to port 0xcf9 (an Intel PCI chip reset)  - causing this style of reset too.14:57
aboganipersia, rtg : I just uploaded a synced version of the rt patchset on my PPA.16:33
BenCrtg, cking, amitk: on holiday today (rtg, shouldn't you be too?), but have lrm in the works to be uploaded before COB18:12
rtgBenC: I should be on holiday, but there are lots of things to do.18:12
rtgBenC: lrm to fix firmware files issues?18:13
BenCrtg: firmware udeb, copyright file18:16
BenCmost likely uvesafb will be reverted to vesafb...there's no way for me to reproduce the corruption18:17
rtgBenC: uvesafb seems to be causing widespread problems.18:17
=== thegodfather is now known as fabbione
=== emma_ is now known as emma

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