=== jane_ [n=JaneW@dsl-146-167-152.telkomadsl.co.za] has joined #ubuntu-kernel === dolson [n=dana@d235-185-252.home1.cgocable.net] has left #ubuntu-kernel [] === zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel === tuxmaniac [n=aanjhan@59.92.94.41] has joined #ubuntu-kernel === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel === fabbione [n=fabbione@george.kkhotels.co.uk] has joined #ubuntu-kernel === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel === AnAnt [n=anant@81.10.9.182] has joined #ubuntu-kernel [09:38] I am recompiling the kernel is that I am applying a patch for MMC v4 device support , if that works, shall I upload the new source/patch somewhere in MOTU or so ? === human_blip [n=mike@220.157.65.29] has joined #ubuntu-kernel [09:41] no, MOTU doesn't have anything to do with kernel [09:41] you should make your patch available somewhere and make a notice on kernel-devel or here... [09:44] btw, it's not my patch, it already exists in 2.6.16 [09:45] then it'll be in 2.6.17, which will be in edgy [09:46] ok [09:46] you don't add features to dapper, right ? just security fixes [09:46] correct [09:47] security & critical bug fixes [09:47] can I get the 2.6.17 from dapper-backports when u guys start working on edgy ? [09:47] no, backporting the kernel would be quite a maintenance hassle [09:48] as far as I know, there are no plans to do that [09:48] k === kimo [n=ahmed@196.202.31.35] has joined #ubuntu-kernel [09:51] Hey, ubuntu official kernel has ipw2200 ver 1.1, which is newer than the one in 2.6.16 ?? (does this make sense) ? [09:52] oh btw, why are there additions in kernel 2.6.15 (by Ubuntu) that aren't in 2.6.16 ? don't the kernel guys trust it ? [09:54] :) [09:54] any idea when are we getting a kernel update for dapper [09:55] it still doesnt poweroff my laptop :) === doko_ [n=doko@dslb-088-073-102-054.pools.arcor-ip.net] has joined #ubuntu-kernel === lloydinho [n=andreas@rosinante.egmont-kol.dk] has joined #ubuntu-kernel === AnAnt [n=anant@81.10.9.182] has joined #ubuntu-kernel [11:27] help I get this error when compiling the kernel source: "Error in source file, line 35" , I get this from drivers/usb/net/zd1211/zddevlist.h === AnAnt [n=anant@81.10.9.182] has left #ubuntu-kernel [] === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel === Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has joined #ubuntu-kernel === kimo [n=ahmed@196.202.31.35] has left #ubuntu-kernel [] === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel === cjb [n=cjb@pool-141-154-219-177.bos.east.verizon.net] has left #ubuntu-kernel ["ERC] === tuxmaniac [n=aanjhan@59.92.42.145] has joined #ubuntu-kernel === Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has joined #ubuntu-kernel === Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has left #ubuntu-kernel [] [03:59] Has there been any success stories with BroadCom 4318 802.11 Card? === alex_joni [n=juve@dsplabs.cs.upt.ro] has joined #ubuntu-kernel === zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel [05:09] hello, I get an error during make-kpkg on a linux-source-2.6.15 (compiler & helper programs from apt-get build-dep linux-source-2.6.15) : Error(/usr/src/linux-source-2.6.15//kernel/printk.c:516): cannot understand prototype: 'ipipe_spinlock_t __ipipe_printk_lock = IPIPE_SPIN_LOCK_UNLOCKED; ' === crimsun [i=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel === mkrufky [n=mk@user-1087lje.cable.mindspring.com] has joined #ubuntu-kernel [05:43] ok, found the problem (RTAI patch altered the comment inside kernel/printk.c) [05:46] ah, I didn't read that you patched it [05:47] (this connection is completely buggered) [05:47] crimsun: sorry, might have not been very clear on that :) [05:48] I see the dafault compiler is gcc 4.0, I used to use 3.x for kernel builds.. is the 4.0 ok? [05:49] I can't speak for RTAI, but 4.0 is fine in dapper, yes [05:49] ok, thanks [05:49] or whichever parts of 4.0.3 are used [05:51] BenC: yt? I am reading bug # 33096 ... This is a result of your commit: 30fbd96c515f7ad612486dbd94099b0a461e406a ... Your commit message references an UbuntuBug 5773, but I am unable to locate that... Anyhow, It looks to me as if your changeset is wrong.... If you can somehow confirm bug #5773 (missing on launchpad.net) , then I would be happy to fix this in upstream [05:52] 5773 is probably a bugzilla bug [05:52] ah, i'll take a look [05:52] not on bugzilla.kernel.org [05:53] bugzilla.ubuntu.com [05:53] bugzilla.ubuntu.com [05:53] lol , silly me [05:54] any of you uses ccache when compiling new kernels? [05:56] ok, i see 5773, and this looks reasonable to me [05:57] one strange thing is that a message dated "2005-08-23" says "This bug has been fixed a long while ago, but for some reasons we forgot to close it." .... but the -git commit is dated "12 Dec 2005" [05:57] anyhow, I'll fix this in upstream for 2.6.18 , and i'll note it on the launchpad.net bug [06:01] meh...stupid typos [06:07] any idea what : drivers/built-in.o: In function `imacfb_probe':imacfb.c:(.init.text+0xc91): undefined reference to `efi' means? [06:07] It means you're trying to build a kernel without efi support? [06:07] mjg59: there should be a CONFIG_EFI or similar? [06:08] Yes [06:08] mmmm...champisonhip manager [06:08] mjg59: I started with a .config from a 2.6.12, and used make oldconfig.. is that bad? [06:09] Yes. Just enable EFI. [06:09] ok, thanks === Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has joined #ubuntu-kernel === tuxmaniac [n=aanjhan@59.92.46.7] has joined #ubuntu-kernel === Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has left #ubuntu-kernel [] === maswan [i=maswan@kennedy.acc.umu.se] has joined #ubuntu-kernel === Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel [08:34] anyone knows where the bootsplash is in ubuntu? [08:34] I built a new kernel, which boots alright, but it stay black during the bootphase [08:36] that's usplash, which is userspace [08:36] bootsplash isn't in the kernel at all [08:37] err, sorry.. that's what I meant.. is there a special .config entry I need to take care of (FB or defaultresolution or something like that?) [08:38] morning crimsun [08:38] 'morning ajmitch [08:38] crimsun: the stock 2.6.15 works as it should, just my fresh built kernel doesn't [08:38] alex_joni: there are a number of CONFIG_FB{,_*} enabled as 'y', yes [08:40] We build all the FB stuff modular, actually, but having it builtin would work just as well. [08:40] crimsun: checked them (they are similar to the ones in the stock config ) [08:40] most of them 'm' some 'y' [08:41] alex_joni: You need (at this point) either vga16fb or vesafb to make usplash happy. [08:41] I just diffed my config against the stock one, and I only added one line (related to RTAI), the rest is the same [08:41] vesafb will only work if you're booting with vga=XXX on the command line, otherwise you want vga16fb (which is what we default to) [08:41] alex_joni: did you regenerate the initramfs? [08:42] crimsun: I used make-kpkg to make a new kernel deb and installed that. is that enough? [08:42] CONFIG_FB_VGA16=m [08:42] CONFIG_FB_VESA=m [08:42] heh, morning infinity [08:42] infinity: both set [08:42] alex_joni: infinity knows this area better than I do. Did you use --initrd ? [08:43] yes [08:43] make-kpkg --initrd --revision=aj1 --stem=linux binary-arch [08:43] I believe you need to exec update-initramfs, then [08:43] crimsun: make-kpkg SHOULD be popping the update-initramfs call in the kernel postinst. [08:44] Unless we messed that up for custom kernels, and we're only doing it on stock builds.... Which would suck. [08:44] And would warrant an upload to -updates, IMO. [08:44] infinity: any way to check? [08:44] grep initramfs /var/lib/dpkg/info/linux-image-$(uname -r).postinst [08:44] grep update-initramfs /var/lib/dpkg/info/linux-image-2.6.15-23-686.postinst [08:45] (replacing with your package name) [08:45] Which, if you didn't use --stem=linux, is probably "kernel-image-$foo" [08:45] I did use --stem=linux [08:45] Kay, then linux-image-$foo. :) [08:46] it says: "my $update_initramfs = "/usr/sbin/update-initramfs";" [08:46] so I guess it does get called [08:47] Should do, yes. === tuxmaniac [n=aanjhan@59.92.33.107] has joined #ubuntu-kernel [08:47] You're booting with "splash" on the command line> [08:47] s/>/?/ [08:47] yes [08:48] same grub/menu.lst entry as for the stock 2.6.15-23-386 [08:49] Can you toss me your .config? [08:49] infinity: sure [08:49] This may be easier to debug if I just see it in action. [08:49] Or, alternately, toss me your kernel packages. [08:49] http://www.robcon.ro/config-2.6.15-magma [08:49] I trust that you won't trojan then in the next 5 seconds. [08:49] s/then/them/ [08:50] it might take me more than 5 seconds to upload them ;) hang on [08:51] Yeah, I see no obvious reason why this config should hate you. [08:51] update-initramfs -u -k 2.6.15-magma [08:51] That should regenerate the initramfs (again) [08:51] But I'm curious about why it's breaking in the first place, so a copy of your package might be nice. [08:52] they are on their way.. [08:52] http://dsplabs.cs.upt.ro/~juve/tempdebs/ - but it will be a short while till they make it all there [08:53] infinity: need the source too? [08:54] Nah. [08:55] doc is finished, headers & image next [08:56] brb...new kernel === tuxmaniac [n=aanjhan@59.92.36.91] has joined #ubuntu-kernel [09:17] infinity: done, they are there [09:18] .ro ... You're not some l33t Romanian script kiddie trying to eat my computer, right? :) [09:18] infinity: I surely hope not ;) [09:18] (Why are there so many script kiddies in .ro? I've not yet figured this out) [09:18] neither have I.. too much spare time? [09:19] Could be. Someone needs to get them all involved in constructive hacking. [09:19] Or, show them the outside world. Wichever. [09:19] I tried.. but failed :) [09:19] "Look, there's sun and grass and stuff out there!" [09:20] I think option #2 is more appropriate.. (except that right now it's raining cats & dogs) [09:20] I rather like cats, but I suppose at high velocity they may be painful. [09:21] it does help that they land on their feet each time.. [09:21] Not when that means claws on your head. === aanjhan_ [n=aanjhan@59.92.33.58] has joined #ubuntu-kernel [09:22] actually I think they extend their claws only afterwards.. on first impact they should be retracted :D [09:23] Okay, your kernel image is installed. [09:23] Time to reboot and get my machine hX0red. :) === tuxmaniac [n=aanjhan@59.92.33.58] has joined #ubuntu-kernel [09:24] infinity: btw, thanks for looking at this.. === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel [09:38] mjg59: still around? I seem to have run again into a problem with efi.. === zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel [09:41] alex_joni: Okay, that was informative. Spotted the difference. [09:41] infinity: what is it? [09:41] From our package build scripts: [09:41] if [ -f kernel/drivers/video/vesafb.ko ] ; then [09:41] ln kernel/drivers/video/vesafb.ko initrd [09:41] fi [09:42] make-kpkg doesn't do that. [09:42] oh, I see [09:42] And initramfs-tools is specificall sanning the initrd directory to see if you have framebuffers there you want to include. [09:42] Err, with the mkdir even: [09:42] mkdir initrd [09:42] if [ -f kernel/drivers/video/vesafb.ko ] ; then [09:42] ln kernel/drivers/video/vesafb.ko initrd [09:42] fi [09:42] ok, so what do you advice? [09:43] There. So, you can just do that by hand in /lib/modules/$(uname -r) and regenerate your initramfs, and you'll be golden. [09:43] Or, stop using vga=XXX on your command line, cause vga16fb will work fine with your kernel. [09:43] infinity: I need to produce debs that will be distributed [09:43] We should probably fix make-kpkg to do the initrd/ thing for custom kernels, but that's not going to happen in dapper. [09:44] hmm, afaik this worked in breezy [09:44] Did you ever actually test with "vga=XXX" in breezy? [09:44] Without it, this would be working fine. [09:44] but I don't have vga=XXX.. do I? [09:44] You almost certainly do. [09:45] Otherwise, you'd not be seeing the black screen. [09:45] any idea where the vga=XXX could come from? [09:45] cat /proc/cmdline [09:45] Mine, for example: [09:46] root=/dev/sda3 ro quiet splash vga=0x343 [09:46] That last bit says "use vesafb, or give me a useless black screen if it's not available!" [09:46] root=/dev/hdb9 ro quiet splash [09:46] And it's not available, cause initramfs-tools isn't copying it into the initramfs. [09:46] Okay, that's bizarre... [09:46] no vga here.. :-/ [09:47] Let me reboot again, but I'm pretty sure your kernel should worh with vga16fb... [09:47] another topic, when I remove ACPI support (because RTAI conflicts with it), I get build errors... any ideea about something like this? [09:56] Oh, I am so awesome, it hurts. ?/ [09:56] infinity: don't tell me you nailed it? [09:57] alex_joni: Because initramfs-tools isn't finding any framebuffers in /initrd/, it's not loading fbcon. [09:57] No fbcon, no usplash. [09:57] And yes, this behaviour has changed since breezy, since I'm an idiot. [09:57] Sort of. [09:57] ok.. so basicly a make-kpkg bug? [09:57] Well, a me bug. [09:58] infinity: happens to all of us ;) === alex_joni produces a reasonable number of bugs frequently.. [09:59] usually on this: http://www.linuxcnc.org/ [10:00] Now, the trick to fix this in your custom images is to do the following: [10:00] Take the snippet I pasted above, and stick it in a shell script called "post-install" [10:01] And then cp post-install your-linux-source-tree/debian/post-install before you do the make-kpkg thing. [10:01] oh, ok [10:01] trying now [10:01] Give or take. [10:01] This is untested. :) [10:02] You probably want this before it: [10:02] cd "$IMAGE_TOP/lib/modules/$version" [10:03] do I make it a proper shell script? #!/bin/sh on top? [10:03] If "dpkg-deb -c blah.deb" shows a /lib/modules/`$uname -r`/initrd directory with vesafb.ko in it when you're done, you win. [10:04] alex_joni: Yes, a proper shell script. [10:04] Exectuable, too. :) [10:04] done [10:04] now if I could only make it build :( [10:04] It gets called by make-kpkg after installing all the junk in the image directory, but before generating the .deb [10:04] Our Ubuntu post-install is a bit more involved, but that's one of the things it does. [10:04] ok, thanks for the fix [10:05] any idea about how to make it compile with ACPI unset? [10:06] That, I have no idea about. [10:06] Or, rather, I can't beging to have a clue given your "I get build errors" synopsis above. [10:06] I can post a better error message [10:07] arch/i386/kernel/built-in.o: In function `setup_arch': undefined reference to `check_acpi_pci' [10:07] drivers/built-in.o: In function `imacfb_probe':imacfb.c:(.init.text+0x1039): undefined reference to `efi' [10:08] That first one definitely shouldn't be happening... [10:09] I see it still is included by a #define CONFIG_X86_IO_APIC [10:09] #ifdef CONFIG_X86_IO_APIC [10:10] check_acpi_pci(); /* Checks more than just ACPI actually */ [10:10] #endif [10:10] Yeah. [10:10] there's a comment there "Checks more than just ACPI actually" [10:10] You beat me there. [10:10] right.. that one [10:10] I tried unsetting the X86_IO_APIC, but make oldconfig probably put it back [10:11] I'm assuming that should be #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI) [10:11] Or the former should depend on the latter. [10:11] I can change that (for a quick fix now) [10:11] any idea about the efi? === mkrufky is now known as mkrufky-gone [10:11] Haven't played with EFI on x86 at all yet. Someone needs to send me a MacTel to play with. [10:12] what's efi actually? [10:12] Early load firmware for ia64 (and now MacTel) machines. [10:13] ok, the acpi stuff now doesn't complain anymore.. [10:14] Comparable to, say, OpenFirmware on PowerPC, OBP on Sparc, SRM on Alpha, or the godforsaken PC BIOS on traditional x86 kit. [10:14] oh. ok :) [10:14] (Not really comparable to the PC BIOS at all, but for the purpose of booting, serves the same needs) [10:14] I see the error comes from drivers/video/imacfb [10:15] I'll unset CONFIG_FB_IMAC [10:16] seems to have done the trick.. [10:16] brb, getting some dinner while it compiles [10:16] thanks again for all your help & insight === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel