/srv/irclogs.ubuntu.com/2006/06/03/#ubuntu-kernel.txt

=== 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
AnAntI 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 ?09:38
=== human_blip [n=mike@220.157.65.29] has joined #ubuntu-kernel
ivoksno, MOTU doesn't have anything to do with kernel09:41
ivoksyou should make your patch available somewhere and make a notice on kernel-devel or here...09:41
AnAntbtw, it's not my patch, it already exists in 2.6.1609:44
ajmitchthen it'll be in 2.6.17, which will be in edgy09:45
AnAntok09:46
AnAntyou don't add features to dapper, right ? just security fixes09:46
ajmitchcorrect09:46
ajmitchsecurity & critical bug fixes09:47
AnAntcan I get the 2.6.17 from dapper-backports when u guys start working on edgy ?09:47
ajmitchno, backporting the kernel would be quite a maintenance hassle09:47
ajmitchas far as I know, there are no plans to do that09:48
AnAntk09:48
=== kimo [n=ahmed@196.202.31.35] has joined #ubuntu-kernel
kimoHey, ubuntu official kernel has ipw2200 ver 1.1, which is newer than the one in 2.6.16 ?? (does this make sense) ?09:51
AnAntoh 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:52
kimo:)09:54
kimoany idea when are we getting a kernel update for dapper 09:54
kimoit still doesnt poweroff my laptop :)09:55
=== 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
AnAnthelp I get this error when compiling the kernel source: "Error in source file, line 35" , I get this from drivers/usb/net/zd1211/zddevlist.h11:27
=== 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 []
tuxmaniacHas there been any success stories with BroadCom 4318 802.11 Card?03:59
=== 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
alex_jonihello, 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; '05:09
=== crimsun [i=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel
=== mkrufky [n=mk@user-1087lje.cable.mindspring.com] has joined #ubuntu-kernel
alex_joniok, found the problem (RTAI patch altered the comment inside kernel/printk.c)05:43
crimsunah, I didn't read that you patched it05:46
crimsun(this connection is completely buggered)05:47
alex_jonicrimsun: sorry, might have not been very clear on that :)05:47
alex_joniI see the dafault compiler is gcc 4.0, I used to use 3.x for kernel builds.. is the 4.0 ok?05:48
crimsunI can't speak for RTAI, but 4.0 is fine in dapper, yes05:49
alex_joniok, thanks05:49
crimsunor whichever parts of 4.0.3 are used05:49
mkrufkyBenC: 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 upstream05:51
BenC5773 is probably a bugzilla bug05:52
mkrufkyah, i'll take a look05:52
mkrufkynot on bugzilla.kernel.org05:52
mjg59bugzilla.ubuntu.com05:53
BenCbugzilla.ubuntu.com05:53
mkrufkylol , silly me05:53
alex_joniany of you uses ccache when compiling new kernels?05:54
mkrufkyok, i see 5773, and this looks reasonable to me05:56
mkrufkyone 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
mkrufkyanyhow, I'll fix this in upstream for 2.6.18 , and i'll note it on the launchpad.net bug05:57
zulmeh...stupid typos06:01
alex_joniany idea what : drivers/built-in.o: In function `imacfb_probe':imacfb.c:(.init.text+0xc91): undefined reference to `efi' means?06:07
mjg59It means you're trying to build a kernel without efi support?06:07
alex_jonimjg59: there should be a CONFIG_EFI or similar?06:07
mjg59Yes06:08
zulmmmm...champisonhip manager06:08
alex_jonimjg59: I started with a .config from a 2.6.12, and used make oldconfig.. is that bad?06:08
mjg59Yes. Just enable EFI.06:09
alex_joniok, thanks06:09
=== 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
alex_jonianyone knows where the bootsplash is in ubuntu?08:34
alex_joniI built a new kernel, which boots alright, but it stay black during the bootphase08:34
crimsunthat's usplash, which is userspace08:36
crimsunbootsplash isn't in the kernel at all08:36
alex_jonierr, 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:37
ajmitchmorning crimsun 08:38
crimsun'morning ajmitch 08:38
alex_jonicrimsun: the stock 2.6.15 works as it should, just my fresh built kernel doesn't08:38
crimsunalex_joni: there are a number of CONFIG_FB{,_*} enabled as 'y', yes08:38
infinityWe build all the FB stuff modular, actually, but having it builtin would work just as well.08:40
alex_jonicrimsun: checked them (they are similar to the ones in the stock config )08:40
alex_jonimost of them 'm' some 'y'08:40
infinityalex_joni: You need (at this point) either vga16fb or vesafb to make usplash happy.08:41
alex_joniI just diffed my config against the stock one, and I only added one line (related to RTAI), the rest is the same08:41
infinityvesafb 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
crimsunalex_joni: did you regenerate the initramfs?08:41
alex_jonicrimsun: I used make-kpkg to make a new kernel deb and installed that. is that enough?08:42
infinityCONFIG_FB_VGA16=m08:42
infinityCONFIG_FB_VESA=m08:42
ajmitchheh, morning infinity 08:42
alex_joniinfinity: both set08:42
crimsunalex_joni: infinity knows this area better than I do. Did you use --initrd ?08:42
alex_joniyes08:43
alex_jonimake-kpkg --initrd --revision=aj1 --stem=linux binary-arch08:43
crimsunI believe you need to exec update-initramfs, then08:43
infinitycrimsun: make-kpkg SHOULD be popping the update-initramfs call in the kernel postinst.08:43
infinityUnless we messed that up for custom kernels, and we're only doing it on stock builds.... Which would suck.08:44
infinityAnd would warrant an upload to -updates, IMO.08:44
alex_joniinfinity: any way to check?08:44
crimsungrep initramfs /var/lib/dpkg/info/linux-image-$(uname -r).postinst08:44
infinitygrep update-initramfs /var/lib/dpkg/info/linux-image-2.6.15-23-686.postinst08:44
infinity(replacing with your package name)08:45
infinityWhich, if you didn't use --stem=linux, is probably "kernel-image-$foo"08:45
alex_joniI did use --stem=linux08:45
infinityKay, then linux-image-$foo. :)08:45
alex_joniit says: "my $update_initramfs = "/usr/sbin/update-initramfs";"08:46
alex_joniso I guess it does get called08:46
infinityShould do, yes.08:47
=== tuxmaniac [n=aanjhan@59.92.33.107] has joined #ubuntu-kernel
infinityYou're booting with "splash" on the command line>08:47
infinitys/>/?/08:47
alex_joniyes08:47
alex_jonisame grub/menu.lst entry as for the stock 2.6.15-23-38608:48
infinityCan you toss me your .config?08:49
alex_joniinfinity: sure08:49
infinityThis may be easier to debug if I just see it in action.08:49
infinityOr, alternately, toss me your kernel packages.08:49
alex_jonihttp://www.robcon.ro/config-2.6.15-magma08:49
infinityI trust that you won't trojan then in the next 5 seconds.08:49
infinitys/then/them/08:49
alex_joniit might take me more than 5 seconds to upload them ;) hang on08:50
infinityYeah, I see no obvious reason why this config should hate you.08:51
infinityupdate-initramfs -u -k 2.6.15-magma08:51
infinityThat should regenerate the initramfs (again)08:51
infinityBut I'm curious about why it's breaking in the first place, so a copy of your package might be nice.08:51
alex_jonithey are on their way.. 08:52
alex_jonihttp://dsplabs.cs.upt.ro/~juve/tempdebs/ - but it will be a short while till they make it all there08:52
alex_joniinfinity: need the source too? 08:53
infinityNah.08:54
alex_jonidoc is finished,  headers & image next08:55
zulbrb...new kernel08:56
=== tuxmaniac [n=aanjhan@59.92.36.91] has joined #ubuntu-kernel
alex_joniinfinity: done, they are there09:17
infinity.ro ... You're not some l33t Romanian script kiddie trying to eat my computer, right? :)09:18
alex_joniinfinity: I surely hope not ;)09:18
infinity(Why are there so many script kiddies in .ro?  I've not yet figured this out)09:18
alex_jonineither have I.. too much spare time?09:18
infinityCould be.  Someone needs to get them all involved in constructive hacking.09:19
infinityOr, show them the outside world.  Wichever.09:19
alex_joniI tried.. but failed :)09:19
infinity"Look, there's sun and grass and stuff out there!"09:19
alex_joniI think option #2 is more appropriate.. (except that right now it's raining cats & dogs)09:20
infinityI rather like cats, but I suppose at high velocity they may be painful.09:20
alex_joniit does help that they land on their feet each time..09:21
infinityNot when that means claws on your head.09:21
=== aanjhan_ [n=aanjhan@59.92.33.58] has joined #ubuntu-kernel
alex_joniactually I think they extend their claws only afterwards.. on first impact they should be retracted :D09:22
infinityOkay, your kernel image is installed.09:23
infinityTime to reboot and get my machine hX0red. :)09:23
=== tuxmaniac [n=aanjhan@59.92.33.58] has joined #ubuntu-kernel
alex_joniinfinity: btw, thanks for looking at this..09:24
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
alex_jonimjg59: still around? I seem to have run again into a problem with efi..09:38
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
infinityalex_joni: Okay, that was informative.  Spotted the difference.09:41
alex_joniinfinity: what is it?09:41
infinityFrom our package build scripts:09:41
infinityif [ -f kernel/drivers/video/vesafb.ko ] ; then09:41
infinity        ln kernel/drivers/video/vesafb.ko initrd09:41
infinityfi09:41
infinitymake-kpkg doesn't do that.09:42
alex_jonioh, I see09:42
infinityAnd initramfs-tools is specificall sanning the initrd directory to see if you have framebuffers there you want to include.09:42
infinityErr, with the mkdir even:09:42
infinitymkdir initrd09:42
infinityif [ -f kernel/drivers/video/vesafb.ko ] ; then09:42
infinity        ln kernel/drivers/video/vesafb.ko initrd09:42
infinityfi09:42
alex_joniok, so what do you advice?09:42
infinityThere.  So, you can just do that by hand in /lib/modules/$(uname -r) and regenerate your initramfs, and you'll be golden.09:43
infinityOr, stop using vga=XXX on your command line, cause vga16fb will work fine with your kernel.09:43
alex_joniinfinity: I need to produce debs that will be distributed09:43
infinityWe should probably fix make-kpkg to do the initrd/ thing for custom kernels, but that's not going to happen in dapper.09:43
alex_jonihmm, afaik this worked in breezy09:44
infinityDid you ever actually test with "vga=XXX" in  breezy?09:44
infinityWithout it, this would be working fine.09:44
alex_jonibut I don't have vga=XXX.. do I?09:44
infinityYou almost certainly do.09:44
infinityOtherwise, you'd not be seeing the black screen.09:45
alex_joniany idea where the vga=XXX could come from?09:45
infinitycat /proc/cmdline09:45
infinityMine, for example:09:45
infinityroot=/dev/sda3 ro quiet splash vga=0x34309:46
infinityThat last bit says "use vesafb, or give me a useless black screen if it's not available!"09:46
alex_joniroot=/dev/hdb9 ro quiet splash09:46
infinityAnd it's not available, cause initramfs-tools isn't copying it into the initramfs.09:46
infinityOkay, that's bizarre...09:46
alex_jonino vga here.. :-/09:46
infinityLet me reboot again, but I'm pretty sure your kernel should worh with vga16fb...09:47
alex_jonianother topic, when I remove ACPI support (because RTAI conflicts with it), I get build errors... any ideea about something like this?09:47
infinityOh, I am so awesome, it hurts. ?/09:56
alex_joniinfinity: don't tell me you nailed it?09:56
infinityalex_joni: Because initramfs-tools isn't finding any framebuffers in /initrd/, it's not loading fbcon.09:57
infinityNo fbcon, no usplash.09:57
infinityAnd yes, this behaviour has changed since breezy, since I'm an idiot.09:57
infinitySort of.09:57
alex_joniok.. so basicly a make-kpkg bug?09:57
infinityWell, a me bug.09:57
alex_joniinfinity: happens to all of us ;)09:58
=== alex_joni produces a reasonable number of bugs frequently..
alex_joniusually on this: http://www.linuxcnc.org/09:59
infinityNow, the trick to fix this in your custom images is to do the following:10:00
infinityTake the snippet I pasted above, and stick it in a shell script called "post-install"10:00
infinityAnd then cp post-install your-linux-source-tree/debian/post-install before you do the make-kpkg thing.10:01
alex_jonioh, ok10:01
alex_jonitrying now10:01
infinityGive or take.10:01
infinityThis is untested. :)10:01
infinityYou probably want this before it:10:02
infinitycd "$IMAGE_TOP/lib/modules/$version"10:02
alex_jonido I make it a proper shell script? #!/bin/sh on top?10:03
infinityIf "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:03
infinityalex_joni: Yes, a proper shell script.10:04
infinityExectuable, too. :)10:04
alex_jonidone10:04
alex_joninow if I could only make it build :(10:04
infinityIt gets called by make-kpkg after installing all the junk in the image directory, but before generating the .deb10:04
infinityOur Ubuntu post-install is a bit more involved, but that's one of the things it does.10:04
alex_joniok, thanks for the fix 10:04
alex_joniany idea about how to make it compile with ACPI unset?10:05
infinityThat, I have no idea about.10:06
infinityOr, rather, I can't beging to have a clue given your "I get build errors" synopsis above.10:06
alex_joniI can post a better error message10:06
alex_joniarch/i386/kernel/built-in.o: In function `setup_arch': undefined reference to `check_acpi_pci'10:07
alex_jonidrivers/built-in.o: In function `imacfb_probe':imacfb.c:(.init.text+0x1039): undefined reference to `efi'10:07
infinityThat first one definitely shouldn't be happening...10:08
alex_joniI see it still is included by a #define CONFIG_X86_IO_APIC10:09
infinity#ifdef CONFIG_X86_IO_APIC10:09
infinity        check_acpi_pci();       /* Checks more than just ACPI actually */10:10
infinity#endif10:10
infinityYeah.10:10
alex_jonithere's a comment there "Checks more than just ACPI actually"10:10
infinityYou beat me there.10:10
alex_joniright.. that one10:10
alex_joniI tried unsetting the X86_IO_APIC, but make oldconfig probably put it back10:10
infinityI'm assuming that should be #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI)10:11
infinityOr the former should depend on the latter.10:11
alex_joniI can change that (for a quick fix now)10:11
alex_joniany idea about the efi?10:11
=== mkrufky is now known as mkrufky-gone
infinityHaven't played with EFI on x86 at all yet.  Someone needs to send me a MacTel to play with.10:11
alex_joniwhat's efi actually? 10:12
infinityEarly load firmware for ia64 (and now MacTel) machines.10:12
alex_joniok, the acpi stuff now doesn't complain anymore..10:13
infinityComparable to, say, OpenFirmware on PowerPC, OBP on Sparc, SRM on Alpha, or the godforsaken PC BIOS on traditional x86 kit.10:14
alex_jonioh. ok :)10:14
infinity(Not really comparable to the PC BIOS at all, but for the purpose of booting, serves the same needs)10:14
alex_joniI see the error comes from drivers/video/imacfb10:14
alex_joniI'll unset CONFIG_FB_IMAC10:15
alex_joniseems to have done the trick..10:16
alex_jonibrb, getting some dinner while it compiles10:16
alex_jonithanks again for all your help & insight10:16
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel

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