=== michael is now known as Guest52642 === smb` is now known as smb === RAOF_ is now known as RAOF === jjohansen is now known as jj-afk [10:26] Hi, Can I use request_irq in user space? [11:36] fairuz, don't believe there is an interface for that no [11:59] apw: so the irq number, how can I know it exactly? i assume that it's different for each arch? [12:04] fairuz: the irq number for what? [12:04] for PL310, a L2 cache controller [12:05] it says in the TRM, the irq for this device is on MA_IRQ_0 === zul_ is now known as zul [12:05] just wondering does it mean irq number = 0 in linux? [12:23] apw: is there a way to know the irq number for each irq source? [12:35] fairuz: Depends on your architecture [12:36] fairuz: There's no real mechanism for delivering IRQs to userspace - you'll need something in kernel anyway [12:36] mjg59: yes, i'm writing in kernel space right now [12:36] just dont really understand the irq number that I should put [12:38] fairuz: You'll need to work out how your architecture wires stuff up [12:38] mjg59: just need a confirmation, does irq number 0 in linux means the hard wired 0 in interrupt controller? [12:39] No, there can be offsets due to the architecture [12:39] mjg59: o [12:39] mjg59: ok [12:40] fairuz: There's already some amount of PL310-related code in the omap and tegra trees [12:41] mjg59: I dont found any that touches the interrupt part (or maybe it's me who's not look hard enough) [12:41] fairuz: What hardware are you using? [12:41] omap4430 [12:41] #define OMAP44XX_IRQ_PL310 (0 + OMAP44XX_IRQ_GIC_START) [12:41] Where OMAP44XX_IRQ_GIC_START is 32 [12:42] So that's probably the IRQ you want! [12:42] yes!!!! [12:42] Look at arch/arm/plat-omap/include/plat/irqs-44xx.h [12:42] i doubt it, I found SPIs start at ID32 and PL310 hard wired to IRQ 0 [12:42] mjg59: Thanks [12:43] mjg59: I'm still familiarise myself with all those searching in the kernel tree -.- [12:45] mjg59: one stupid question, in the kernel tree, any file in any include folders can be included right? e.g #include ? [12:45] regardless where the include folder is [12:45] :D [12:52] fairuz: Yes, the paths get set appropriately === ogra is now known as Guest42034 === Guest42034 is now known as ogra_ [13:18] * ogasawara waves [13:21] o/ [13:22] ogasawara, hey there. kinda early for you, isn't it :) [13:22] tgardner: according to the lil guy it's not :) [13:23] tgardner: so I figure I'll start my days about now from now on [13:23] ogasawara, hence the smiley. [13:23] ogasawara, does your mumble client still work? [13:23] tgardner: yep, just gotta dig for my headphones === diwic is now known as diwic_afk [13:47] ogasawara: long time no see, welcome [13:47] cooloney: thanks [13:49] ogasawara: how's going? don't work too hard, -:) === diwic_afk is now known as diwic [14:04] apw, care to have a look at bug 715330 ? [14:04] Launchpad bug 715330 in xserver-xorg-driver-ati "Freeze after login with KMS enabled on Radeon HD6310" [Medium,Confirmed] https://launchpad.net/bugs/715330 [14:04] you may already have a patch req for it. [14:24] JFo, looks like we already have that coming, will handle [14:41] JFo, abou ? [14:41] about ? [14:41] * apw slaps his '' key [14:41] grrrr [14:49] heh === bjf is now known as bjf[afk] [15:13] * ogasawara back in 20min === jj-afk is now known as jjohansen [16:02] <-grabbing lunch === herton is now known as herton_lunch [16:34] mjg59: are you around? [16:35] tseliot: Hi [16:36] mjg59: hi. Do you know how to debug the lack of a backlight device after backlight_device_register() succeeds? This is with 2.6.32 [16:37] No === _LibertyZero is now known as LibertyZero [16:37] If that's succeeded then you should have a device [16:38] When you say it's succeeded, you know it returns ERR_PTR and not NULL on error, right? [16:38] mjg59: that's what I was about to ask [16:39] So if you're just checking against NULL then you'll think you've succeeded when in fact you've failed [16:39] mjg59: so, shall I test it with "if (IS_ERR(backlight_device))" ? [16:39] Yes [16:40] mjg59: well, that's the way the poulsbo driver checks it if(backlight_device), that is [16:40] I guess it's ok, as it's psb... [16:40] ;) [16:41] mjg59: so my next question would be, how would you debug a failure there? [16:44] mjg59: is there any documentation I can have a look at? [16:44] tseliot: drivers/video/backlight/backlight.c [16:45] You should be able to work it out from the failure cases there [16:45] mjg59: right. Thanks a lot === bjf[afk] is now known as bjf [16:47] tgardner, indeed ... finger trouble === herton_lunch is now known as herton [16:57] apw, do you remember if we decided mpt's macbook had a drive hardware issue? [16:57] i think we decided it was possible, but we had no evidence [16:57] we asked him to collect something when it happened again [16:58] apw, k [16:58] tgardner, though waht i now forget [16:58] maybe he'll remember [16:59] hi, why is CONFIG_HZ_250 for 32 bit and CONFIG_HZ_100 for 64 bit? [16:59] I think a better question is arguably why they're not both HZ_1000 [17:00] mjg59, cause that costs you 10% of performance [17:00] sure,best would be 1000 hz for both [17:00] actaully 10-17% depending on load [17:00] apw: It's very dependent on what your definition of performance is :) [17:00] mjg59, indeed, overall throughput in this context [17:01] but at least it should be the same for 32+64 bit or not? [17:01] Kano, no it was a deliberate split [17:02] how to change the config to update the files in debian.master? [17:03] Kano, in normally use vi to change the option i want, then use updateconfigs target to propogate [17:04] ah [17:04] Kano, the source is all included in the tree [17:05] will check it out === yofel_ is now known as yofel === sforshee is now known as sforshee-lunch [17:09] hello kernel folk [17:10] does anyone know the estimated release of ubuntu using 2.6.38 stable? [17:11] davek, we are waiting on final from linus, w [17:11] there is no .38 stable kernel yet [17:11] though i would expect it would be in the next day or two [17:11] okay [17:11] how long would it take after release? [17:11] thoguh we are struggling with compiler issues [17:11] for ubuntu to add it? (im kindof a noob here) [17:12] i recently purchased a very new motherboard and am looking forward to support for drivers within 2.6.38 [17:13] davek, if they arn't in the current kernels based on the 38-rcN releases you are likely not goting to get it in any furhter kernel we upload [17:13] from what i read there should be Zacate support in there [17:14] so would one run Natty to get this kernel, or could i do a trick with Maverick to install it? [17:14] (in the future) [17:14] davek, well they arn't adding any new features to .38 everything is bug fixes [17:14] so if a ntty kernel doesn't have what you want now, its not likely to later [17:14] okay [17:15] im running Maverick 10.10 presently [17:15] will that pick up 2.6.38 too? [17:16] we do backports for lucid, but you can hand install them on maverick. they won't update on maverick tho. [17:16] davek, you can test also natty by adding this PPA: https://launchpad.net/~kernel-ppa/+archive/pre-proposed?field.series_filter=natty [17:16] okay.. wow thanks for the response guys [17:16] you rock [17:16] thanks apw and tgardner === sforshee-lunch is now known as sforshee [18:10] * tgardner --> lunch [18:13] bye [19:16] * jjohansen -> lunch [20:47] Hi. It's my first time ever on IRC! On my new laptop, I am getting an intermittent kernel panic within about a minute of powering up. I installed "linux-crashdump" so I can give you a proper bug report, but although it seems to dump a load of data on the panic, I can't find it anywhere when I boot up. So I've got two problems - what (is/am I doing) wrong with linux-crashdump, and how do I give you the best bug report I can? I do have [20:47] a photograph of the screen showing the panic. [20:55] rupert_millard: You can file a bug by opening a terminal and typing "ubuntu-bug linux" without the quotes [20:55] yes but is that very useful to you? [20:55] i really wanted to include a dump, but linux-crashdump doesn't seem to work for me [20:57] ubuntu-bug provides most of the needed logs, and is a very useful method of filing bugs [20:57] ok [20:58] charlie-tca: what's the point of linux-crashdump then? [20:58] You can look in /var/log for the linux-crashdump, but I don't know if it will be there [20:58] charlie-tca: should I file a bug against it too? [20:58] rupert_millard: no idea, I don't know what it is, myself [20:58] Is there anything in /usr/share/docs that explain it? [20:59] charlie-tca: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe [21:00] The LKCD utility is not designed to gather helpful information in the case of a hardware caused panic or a segment violation [21:01] what constitutes a hardware caused panic? [21:01] ubuntu-bug should pick it up [21:01] well my computer completely locked up - i had to power cycle it [21:01] hm, maybe there is a crash log in /var/crash ? [21:02] there's no /var/crash directory [21:04] then there is no crash report available. [21:04] anyone wanna help out w gwinwrap, im trying to get the videos to play again. the -wid option is causing an error [21:04] Perhaps it is panicing before it can save it [21:06] well since installing linux-crash, there is a load of activity - the second kernel seems to be doing something [21:07] i think init might be starting swap up before kdump has a chance to inspect that partition for a dump === ogra_ is now known as ogra [23:31] * jjohansen heads out for a bit, back on later === jjohansen is now known as jj-afk