/srv/irclogs.ubuntu.com/2009/09/01/#ubuntu-kernel.txt

=== pgraner-Zzzz is now known as pgraner
bryceogasawara, thanks for the kernel for bug 419264 - I'm testing it now, so far so good02:11
ubot3`Malone bug 419264 in linux "Uses 100% CPU with latest mesa/libdrm update" [High,In progress] https://launchpad.net/bugs/41926402:11
ogasawarabryce: ok cool.  let me when your finished with the testing and assume the results are good, I'll submit for inclusion in karmic.02:12
brycewill do02:13
bryceogasawara, btw, we'll be discussing this bug at the 9:30am desktop team meeting tomorrow, in case you would be interested in poking your head in.02:14
ogasawarabryce: sure, I'll try and sit in.  I have a ubuntu dev week class I have to teach at 10am so may have to drop out.02:14
=== johanbr__ is now known as johanbr
ericmanyone knows how to extract the initramfs from a zImage binary?06:02
jk-ericm: not off the top of my head, but should be doable with a couple of 'objcopy's06:02
ericmy, I think so - wondering if there is simple command for that06:03
jjohansenericm: if the initramfs in builtin to the kernel it is in the section .init.ramfs06:26
jjohansenreadelf should give you the ranges to grab06:26
ericmjjohansen: ok, let me try06:26
jjohansenand then you should just be able to cpio --extract the data06:27
ericmobjdump reported not recognized file format - stumped - weird image binary06:30
jjohansenis it gziped?06:32
jjohansenwhat does head of the file show, or if that is garbage head <file> | hexdump -C06:33
ericmlet me see06:34
ericmif that's gziped, 'file' should give me some hints06:35
ericm00000000  00 00 a0 e1 00 00 a0 e1  00 00 a0 e1 00 00 a0 e1  |................|06:35
ericm*06:35
ericm00000020  02 00 00 ea 18 28 6f 01  00 00 00 00 24 1e 12 00  |.....(o.....$...|06:35
ericm00000030  01 70 a0 e1 02 80 a0 e1  00 20 0f e1 03 00 12 e3  |.p....... ......|06:35
ericmmmm... this makes sense - the 00 00 a0 e1 stands for a jump instruction in ARM - and that's where the vectors are06:36
jjohansenyeah, extracting from that is not going to as straight forward as an elf06:37
ericmyes - the final zImage of ARM did append some raw code ahead - just like head.S in x8606:38
ericmI guess I have to find out the original source instead of dis-section this binary into known pieces06:39
jk-you could find the gzip header, and extract from there on06:40
jk-0x1f 0x8b, I think06:41
ericmjk-: that's useful, I extract a gz file from there, however, 'file' still thinks it's a 'data' file, but it looks a bit closer :)06:59
ericmI doubt that's a correct 0x1f 0x8b - since there are many of them - but at least looks like a most correct one to me, though07:01
* amitk wonders what ericm and jjohansen are upto07:18
* jjohansen has no idea what ericm is up to07:19
* jjohansen is looking at config diffs for xen07:19
* ericm gave up dissection that binary07:20
amitkikepanhc: when you send a multi-patch series, could you consider using the --in-reply-to option of git-send-email? That makes sure that 1/n...n/n come as a reply to 0/n and the email client keeps them together.08:31
amitkikepanhc: http://pastebin.ubuntu.com/262954/ is a script that I use to ease that process.08:31
* ikepanhc reading08:32
ikepanhcamitk: thanks, I remember you have told me once before08:32
amitkikepanhc: it just makes it easier to follow threads.08:34
ikepanhcamitk: got it08:34
ericmanyone knows if grub is able to run on top of an existing kernel and load another kernel via kexec?08:38
amitkericm: why do you want grub to kexec to another kernel? the old kernel can do so itself.08:38
ericmthis way - the old way of kernel loading by grub - let's say config files and kernel build scripts (grub hooks) needn't be changed?08:40
ericmgrub is actually runnable as an individual console application - just wondering if kexec can be added08:41
amitkI am not sure what you are trying to do. But from Karmic onwards (?) we use kexec in our reboot init scripts. /etc/init.d/kexec*08:41
ericmOK, let me take a look08:42
=== ericm is now known as ericm-afk
amitksmb: what does PREFIX do in printk(KERN_INFO PREFIX ....);09:07
smbamitk, ADD a "ACPI: "09:07
amitkok09:08
shobhitcan any one tell me where do i find this flag named as "PSEUDO_RANDOMLY_DISCHARGE_BATTERY" ?I need to set this flag to 0 during recompilation.09:19
shobhitI heard that by setting this to 0 and recompiling the kernel,i will get a better battery life.09:20
amitkshobhit: please don't depend on slashdot.org for your daily dose of technology. :)09:20
shobhitamitk: Is it so?but why?09:22
amitkshobhit: because someone was making a joke there.09:22
shobhitamitk : what?are you sure about that?09:23
amitkDoesn't the name PSEUDO_RANDOMLY_DISCHARGE_BATTERY tell you so?09:23
shobhitOh!!! you are right i guess....:-)09:26
shobhitand can you suggestl me any method to increase the battery life in ubuntu 9.04?09:28
amitkshobhit: use powertop and follow its suggestions. If you are happy with them, then make them permanent by putting in /etc/rc.local09:29
shobhitamitk: thnx... :-)09:33
AnAntHello, is there hope that this https://bugs.launchpad.net/ubuntu/+source/linux/+bug/417748 gets implemented in karmic ?09:58
ubot3`Malone bug 417748 in linux "Please enable CONFIG_USB_DEVICEFS" [Medium,Triaged] 09:58
amitkAnAnt: That is a deprecated kernel feature. The application should be fixed to use the new way to probe usb devices. Hence I am loathe to fix it in karmic10:06
AnAntwill it hurt to enable the feature in karmic ?10:07
amitkBut I'll send a patch to fix it if you promise to contact the application writer to fix their apps10:07
amitkAnAnt: applications don't get fixed if we keep supporting old features forever. I'll send a patch recommending that this be enabled for Karmic only.10:08
AnAntok, I'm finding out how to contact them10:10
AnAntamitk: ok, do you know what I should tell them ?10:14
AnAntamitk: I mean, what's the new way to probe usb devices (if you can provide any links...)10:16
amitkAnAnt: tell them that USB_DEVICEFS is now deprecated and they should use libusb and udev to probe for usb devices10:17
AnAntamitk: thanks10:17
amitkI've made some comments on the bug if you want to point them to it10:17
AnAntthanks, I've submitted a service request there !10:32
smulcahyhi, i'm having problems getting the forcedeth module to use options at boot-time (using 8.10). I've put them in /etc/modprobe.d/options but they seem to get ignored.12:11
smulcahyDo I need to do anything special to pass options to a kernel module in 8.10 ?12:11
amitkhmm, where did the rebase-branch script disappear?13:18
smbamitk, After getting rid of all-including-debian and having moved to debian.* there was no need for it anymore13:20
amitkwe still require to rebase the branches, I guess they are to be done manually13:37
smbYes, but as branch specific things are in a directory which is independent from the main branch. A simple git rebase should work without too much trouble13:41
NCommanderbjf-afk, ping, do you know if a kernel upload is planned before A5 for dove?13:49
=== bjf-afk is now known as bjf
=== ericm-afk is now known as ericm-Zzz
haruspexedhei, 2.6.31rc8 fails with dkms at nvidia 185.18.14 module build with "bad exit status:10"... is that kernel fault or mine? :/15:55
SlickT10Hey guys, Ive exuasted every resource on this issue. Ive run out of leads, and have no idea where to go next. Im not expecting you guys to have to give me support on this one, but maybe at least point me in the right direction. It is important that I get this working. The question has been posted at: https://answers.launchpad.net/ubuntu/+question/81460. No one in the #ubuntu support channel even notice my inquiries, i think thats due to the highl16:11
amitkSlickT10: it is better to file a bug in launchpad since IRC makes a very bad bug tracker. answers.lp.net allows you to create a bug out of this very easily.16:21
mjg59It's a bug in the kernel, probably in pciehp16:21
mjg59Likely to be related to the firmware tables in the Mac16:22
SlickT10hmm,16:24
mjg59Might be acpiphp, though16:24
mjg59File a bug with the full dmesg output16:25
SlickT10ok16:25
SlickT10thanks16:25
SlickT10i finally now have a next step16:25
junior1help with kernel issue...  My CPU locks up and gives me flashing scroll and caps lock... any ideas??16:26
mjg59SlickT10: Any time something straightforward doesn't work without you having to try to reconfigure stuff, file a bug16:26
SlickT10ok, not just put it answers.launchpad16:27
SlickT10im at work right now, but during lunch ill post it as a bug with full dmesg16:27
smbjunior1, That is a kernel panic. If you can repeatedly get into this state you might switch to a console before this happens to see the error message16:32
smbmjg59, Do you thing acpi=noirq might be worthwhile to try for SlickT10 ?16:33
mjg59smb: Worth a go, but if it's using acpiphp then I suspect it still won't have a lot of luck in finding an IRQ16:35
SlickT10ill try that, but I think I may have already tried that one16:37
=== bjf is now known as bjf-afk
smbIf it is acpiphp there seems to be a debug option... acpiphp.debug=1 16:40
=== noptys_ is now known as noptys
EagleScreenhi18:19
EagleScreenare we on kernel bug day session?18:19
=== bjf-afk is now known as bjf
ograbjf, http://paste.ubuntu.com/263307/ :(19:00
ogralots and lots of that in my dmesg19:00
bjfogra, sigh19:01
ograyeah19:01
ograits under heavy load though19:01
ograi havent seen it before19:02
* ogra is building webkit atm ... running since about 6h19:02
ograsystem is permanently at 100% CPU19:02
JFoogasawara, I am once again available for bug work19:51
ogasawaraJFo: sweet!  good timing, today is a bug day.19:52
JFooh excellent19:52
JFo:)19:52
ogasawaraJFo: take a look at https://wiki.ubuntu.com/KernelTeam/BugDay/2009090119:52
JFook19:52
ogasawaraJFo: that'll just explain what we're focusing on for the bug day today and eventually point you at http://qa.ubuntu.com/reports/ogasawara/kernel-bugday/20090901.html19:53
JFookey dokey19:53
ogasawaraJFo: the Community section could definitely use some help19:53
JForight, I'll start looking at that then19:54
ogasawaraJFo: awesome, lemme know if you have any questions19:54
JFoI certainly will19:54
rtgogasawara, Linus picked up Anholt's i915 fence patch already.20:16
ogasawarartg: ah cool, then disregard that pull request21:13
rtgogasawara, too late, but it should be ok21:14
=== mdz_ is now known as mdz
=== bjf is now known as bjf-afk
tewklooking for the latest suspend/resume debugging guide for karmic.23:55

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