/srv/irclogs.ubuntu.com/2009/06/15/#ubuntu-kernel.txt

zeroproghey guys im havin a little trouble learning make files http://codepad.org/Uqn2MCyY....my driver source is in /home/name/Desktop/misc-drivers02:20
zeroproghttp://codepad.org/Uqn2MCyY sorry (...)02:20
zeroprognow i keep getting invalid format for hello.ko02:58
=== pace_t_zulu_ is now known as pace_t_zulu
btQuarkhello everyone08:46
btQuarki've just tried this one successfully - after quite some time http://www.jan-steinhoff.de/linux/synaptics-usb.html what about bringing that into the kernel -the author obviously at it08:49
Nghow would I want to go about interpreting the battery consumption part of the checkbox suspend tests? I suppose I should really only use it to compare against results from different kernels on the same machine?09:35
apwNg, yeah its a very subjective measure10:00
apwmy feeling is it should be considered only as an indication of maximum suspend time, and if its less than a day or two its fail10:01
apwbefore some fixes i had a like 8 hour suspend time, which was definatly wrong10:01
Ngbah, that means I need to put jaunty back on the machine to get a baseline to support my gut feeling that suspend time has nosedived ;(10:03
NgI also need to file a bug somewhere, some of the automated resumes didn't... resume. The LEDs changed, but I had to poke the power button10:03
* popey filed bug 387272 but isn't sure it's a kernel bug or a desktop bug, feedback welcome13:14
ubot3Malone bug 387272 in linux "[karmic] long boot time on eee 900" [Undecided,New] https://launchpad.net/bugs/38727213:14
rtgcjwatson: do you have a cross compile environment for karmic ARM? Your patch series for udeb firmware isn't quite right for ARM (and probably other CPU arches without firmware)13:22
cjwatsonrtg: nope13:22
cjwatsonrtg: what's wrong with it?13:22
rtgcjwatson: it tries to copy a firmware directory that doesn't exist. I'll see if I can fix it later today13:23
cjwatsonis it a bug in linux/debian/rules* or in kernel-wedge/commands/copy-firmware?13:23
cjwatson        cp debian/d-i/firmware/* $(builddir)/firmware/$(arch)/13:24
rtgcjwatson: linux/debian/rules13:24
cjwatsonoh, is it that?13:24
rtgcjwatson: I think so, it was last Friday that I was messing with it13:24
cjwatsonno, that can't be right, that directory does exist13:24
cjwatsonif you can show me the error message I'll be happy to fix it13:24
rtgcjwatson: I'll get to it later today.13:25
cjwatsonok13:25
apwcjwatson, could there be no files in there though?15:27
apwthen it could try and copy a file called '*'15:27
apwmaybe some incantation of cp -r debian/b-i/firmware/ is more appropriate15:28
rtgapw: thats exactly what is happening. I can repro the problem quite easily, so I ought to be able to fix it justr as soon as I clear up soem other issues.15:28
apwrtg ack15:30
cjwatsonrtg: did you apply all my patches? one of them creates a file in that very directory15:43
cjwatsonso I don't see how it would be possible for that to be empty15:43
cjwatsonit's not dynamic or anything, it's just a source directory15:43
cjwatsoni.e. in my branch, there exists a file debian/d-i/firmware/nic-modules15:44
rtgcjwatson: yes, I applied all of the patches. However, I prefer patches that are bisectable so I may collapse the last 2 (once I figure out why they don't work for ARM)15:45
cjwatsonfine by me, perhaps I should have committed them in the opposite order15:51
apwKeybuk, hey ... did you get to any testing on union mounty stuff 16:02
Kanohi apw ,do you want to add headers to make external dvb modules compile16:09
apwwhich ones are missing16:09
Kanocp -a drivers/ieee1394/*.h $(indep_hdrdir)/drivers/ieee139416:10
Kanoand for fglrx it would not hurt to add16:11
Kanocp -a drivers/acpi/acpica/*.h $(indep_hdrdir)/drivers/acpi/acpica16:11
Keybukapw: not yet, was off on Friday16:12
apwKeybuk, heh no worrie16:12
Kanoapw: firedtv will not compile without16:12
Kanoi have got a test script for dkms16:13
Kanohttp://kanotix.com/files/fix/dkms/dvb-s2api-liplianin-dkms.sh16:13
Kanothat compiles all dvb drivers + some additional dvb-s2 drivers16:13
Kanothe same script can be used to update gspca drivers too, just a small change16:14
apwKano, that first one seems like a reasonable request, so get that into a bug... will think about the other16:17
apwlet me know the number so16:17
Kanofor the other you need an extra export too16:17
Kanohttp://kanotix.com/files/kernel/unused-patches/2.6.30-export-flush_tlb_page.patch16:17
Kanowith both things my fglrx script works with 2.6.3016:18
Kanowith a relatively small patch16:18
Kanowhen you dont copy the headers the patch has to contain em, thats not really useful16:18
Kanobtw. i have have got a verified patch for avm draft-n usb sticks, will be most likely in 2.6.31 too16:23
Kanohttp://kanotix.com/files/kernel/unused-patches/2.6.30-ar9170-support-1-stage-firmare+avm-fritz.patch16:27
Kanoyou only need the firmware16:27
=== cjwatson_ is now known as cjwatson
Kanoapw: why dont you set CONFIG_HAVE_KERNEL_LZMA=y 19:02
Kanothat compresses the vmlinuz with lzma19:03
apwyou mean CONFIG_KERNEL_LZMA ... and that is not guarenteed to be a good thing19:05
apwthe kernel is smaller, but slower to extract from the compressed form19:05
Kanoit is 100% a good thing19:05
apwthere is a trade off there dependant on disk and cpu performance characteristics19:05
Kanodecompress is always fast19:05
apwits 2x the CPU time to decompress over the default compression19:05
apwas reported by a number of sources19:06
Kanowhich means in seconds19:06
Kano.5s longer or what19:06
apwwhich mean double the decompress time 19:06
apwwhich with a boot budget of 10s could make a difference19:06
apwt19:06
apwthe point is that its not a slam dunk to change, as its a trade offf which needs measuring19:07
Kanothe load time to load the kernel is shorter19:07
Kanoso you win19:07
mjg59I'd be amazed if the difference in size makes up for the difference in compression19:07
apwthe laod time is shorter yes, but on a netbook where the cpu is poor and the disk is ssd19:08
Kanofor live images you gain 5 mb when you compress kernel+initrd with lzma19:08
apwis it going to be faster19:08
apwmost of that presumably comes from compressing the initrd with it19:08
Kanoi dont have got a netbook19:08
apwKano, and how does that affect my decision?19:08
Kanoapw: well when you dont change it, i change it19:08
apwthen you are happy, and i am happy. win19:09
Kanoit is just a patch i want to get rid of19:09
cjwatsonKano: FWIW our live images only contain the kernel and initrd once, not twice as I saw you saying the other day19:10
apwcjwatson, it does beg the question if we could use lzma for the initrd on the CD images as they are one time build compress time wise19:10
Kanocjwatson: you forget the compressed filesystem!19:10
apwif the kernel understands both of course19:10
cjwatsonif it works, I expect we could; speed is not so critical there19:11
cjwatsonKano: no, I don't.19:11
Kanothe only way to get rid of storing it twice would be using for example grub2 as bootloader with a squashfs support module that would fetch the file from the squashfs19:12
cjwatsonKano: false19:12
cjwatsonKano: by demonstration, in the last several releases of Ubuntu :-)19:12
Kanoyou have got no /boot/vmlinuz-... in squashfs?19:13
cjwatsonKano: that's correct19:13
cjwatsonKano: the installer knows to copy it from the ISO9660 filesystem rather than from the squashfs19:13
Kanothen you are forced to boot with iso-scan to isntall19:15
cjwatsonno you aren't, we use ubiquity19:15
Kanowell when you boot from network19:15
cjwatsonyou can do that with casper/ubiquity too19:16
cjwatson(might need some fixes since it's not tried very much, but it's basically possible)19:16
cjwatsonand I don't see why iso-scan is a problem - you ought to have /cdrom set up properly during installation from local media anyway, several bits of code assume that and may operate a bit weirdly if it isn't there19:16
Kanowhat does happen when you used live-media-path override19:17
Kanodoes your installer support it19:17
cjwatsoncasper does but if you use that ubiquity will probably fail to understand what's going on. I invite anyone who has a problem with this to submit patches :-) shouldn't be hard to fix19:18
cjwatsonit'd just need to read casper.conf19:18
cjwatson(casper does> as of karmic anywya)19:18
cjwatsonanyway19:18
=== bjf_ is now known as bjf_afk
cjwatsonKano: ... indeed, that's simple enough to do that I've just committed support for it19:43
Kanodo you really need the preseed option in order that your installer works correctly19:44
cjwatsonhuh?19:45
cjwatsonwhat preseed option?19:45
Kanofile=/cdrom/preseed/kubuntu.seed for example19:47
cjwatsonit has sensible defaults for Ubuntu19:47
cjwatsonthe preseed options arrange for the right packages to be installed appropriate to the flavour you're installing, so that we don't have to ship a separate installer for every flavour19:48
cjwatson(we actually do ship a preseed file for Ubuntu too; the main relevant thing it does is to arrange to install the desktop automatically. if you don't use that preseed file then (a) you'll get asked the question on alternate/server CDs (b) it makes no difference on desktop CDs)19:49
Kanoso bascially it is useless on the desktop ones?19:50
Kanowhen this is the case, why are those files on it then19:54
cjwatsonKano: I didn't say that, I said that the bit that arranges to install the desktop automatically makes no difference on desktop CDs20:01
cjwatsonKano: though right now it's true that none of the rest of the preseed file is relevant to desktop CDs, only DVDs; but who cares? it's easier to just tell the image building infrastructure to always include it20:02
cjwatsonpremature optimisation => silly20:02
Kanowell it is at least good to know20:03
Kanoif i want to test u live i use currently something like20:03
Kanohttp://kanotix.com/files/fix/grub2/config/70_ubuntu_iso20:03
Kanodid you ever see such a code20:04
Keybuk-9 is not a happy kernel for me20:48
KanoKeybuk: do you use a dvb-c card20:51
Keybukno20:54
Kanowhats your problem with it20:56
Keybukhard locks after the screen is switched off20:57
Kanointel gfx?21:03
Keybukyes21:14
awesconklin: you have time for a build question?21:52
Mike-DCHi everyone. I'm having trouble recompiling the stock 2.6.28-11-generic kernel in 9.04. Everything compiles fine except for the Ubuntu supplied third-party drivers. I'm rebuilding from the tar.bz2 I retrieved through aptitude. Anyone run into this before and/or have any knowledge in this area?23:08
=== sconklin is now known as sconklin-gone

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