#emc-devel | Logs for 2006-06-03

[13:15:59] <alex_joni> cradek: already up?
[13:16:34] <cradek> yeah, but busy, be back in a bit
[13:16:47] <alex_joni> hang on 5 secs
[13:16:59] <alex_joni> can you send me that page you had about compiling a new kernel?
[13:17:04] <alex_joni> I lost the link..
[13:18:17] <cradek> http://timeguy.com/cradek-files/emc/build-instructions
[13:18:30] <cradek> it's old but I think the kernel stuff is right
[13:19:06] <alex_joni> ok, thanks
[13:19:15] <alex_joni> * alex_joni starts hacking away on a 2.6.15
[13:33:53] <jepler> btw those instructions are also on the wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UbuntuBreezyPackages
[18:29:40] <alex_joni> anyone knows where the bootsplash is in ubuntu?
[18:29:57] <alex_joni> I built a new kernel, which boots alright, but it stay black during the bootphase
[18:33:35] <jepler> in 6.06? Not a clue
[19:56:33] <alex_joni> hmm.. seems I spotted a bug in make-kpkg ;-)
[22:41:08] <alex_joni> cradek: around?
[22:45:36] <cradek> just for a minute
[22:45:45] <cradek> how's your kernel coming?
[22:54:01] <alex_joni> it's booted just nicely
[22:54:16] <alex_joni> was wondering if you can give me a bit of info on rtai now :)
[22:54:46] <alex_joni> your instructions aren't fully clear (at least not for 2am).. here's what I did
[22:55:16] <alex_joni> 1. I apt-get source rtai-3.3 (the one you made)
[22:55:22] <alex_joni> 2. used dch
[22:55:37] <alex_joni> 3. changed debian/control (to read 2.6.15 instead of 2.6.12)
[22:56:48] <alex_joni> but I don't get any further..
[22:57:19] <alex_joni> make-kpkg --initrd --revision=xxxxx --stem=linux modules_image <- simply exits (after saying it processed the /usr/src/rtai-3.3 fine)
[23:03:01] <alex_joni> hmm.. I seem to be missing module-assistant
[23:13:36] <alex_joni> ok, that's one step further :)
[23:15:09] <alex_joni> but I am missing /usr/src/linux-headers-2.6.15-magma/arch/i386/Makefile.cpu now :/
[23:24:46] <cradek> ugh
[23:25:08] <alex_joni> seems the headers package which was produces is missing some files
[23:25:10] <cradek> iirc I had to mess with make-kpkg to make a usable -headers package
[23:25:20] <cradek> yeah I remember that
[23:25:29] <alex_joni> oh.. wonder if you remember what you did..
[23:25:34] <cradek> looking
[23:33:21] <cradek> alex_joni: http://timeguy.com/cradek-files/emc/rules.diff
[23:33:50] <cradek> alex_joni: I have other various changes but I think these are the changes to make a -headers package that can build modules
[23:33:59] <alex_joni> heh.. thanks
[23:34:06] <alex_joni> I see a changelog entry by Ben Collins (23.Nov.2005): "Include all Makefiles in kernel-headers package (Makefile*). Fixes i386 module builds against linux-headers (missing Makefile.cpu)."
[23:34:24] <alex_joni> wonder if he didn't do the same thing...
[23:34:25] <cradek> but it doesn't work?
[23:34:29] <alex_joni> nope
[23:34:52] <cradek> looks like I also added some stuff in scripts
[23:35:08] <cradek> and fixed the /lib/modules/[version]/build symlink
[23:35:50] <cradek> and created an empty Modules.symvers
[23:37:23] <alex_joni> I don't think that patch will work
[23:37:26] <cradek> so in image.postinst, I commented out the block that removes that build symlink if the headers package doesn't install first
[23:37:39] <alex_joni> I see a completely different rules here
[23:37:45] <cradek> hmm
[23:38:04] <cradek> maybe you will have to hack it up too then
[23:39:38] <alex_joni> how do I apply that diff?
[23:40:20] <cradek> probably by hand
[23:40:27] <cradek> unless your file looks the same, it won't apply
[23:40:33] <cradek> but you can try patch<rules.diff
[23:40:39] <alex_joni> it doesn't really look the same
[23:41:41] <alex_joni> Hunk #1 FAILED at 2173.
[23:41:41] <alex_joni> Hunk #2 succeeded at 2205 (offset 20 lines).
[23:41:41] <alex_joni> Hunk #3 succeeded at 2493 (offset 20 lines).
[23:42:04] <cradek> better check to make sure where it put the changes made sense
[23:42:59] <alex_joni> heh.. ok
[23:43:59] <alex_joni> seem ok, figured out #1 too
[23:44:18] <alex_joni> hope so at least :)
[23:45:31] <cradek> it must not be so different then
[23:46:18] <alex_joni> pretty close
[23:47:40] <alex_joni> /usr/share/kernel-package/rules:2057: *** missing separator. Stop.
[23:48:10] <cradek> now you've done it
[23:48:25] <alex_joni> ok.. it's late :)
[23:48:35] <alex_joni> had an space at the beginning of the line, before the tab
[23:49:04] <cradek> aha
[23:50:02] <alex_joni> same result :(
[23:50:12] <alex_joni> wonder if I need to make-kpkg clean ?
[23:50:28] <cradek> pastebin the area around line 2057?
[23:50:47] <cradek> or the whole file I guess
[23:52:39] <alex_joni> http://pastebin.com/756730
[23:53:44] <cradek> which line is 2057?
[23:53:45] <alex_joni> http://pastebin.com/756732 <- during the make-kpkg
[23:54:27] <alex_joni> 13
[23:55:48] <cradek> I don't see anything wrong
[23:55:52] <cradek> is that the line you added by hand?
[23:55:56] <alex_joni> yeah
[23:56:06] <alex_joni> that and line 8
[23:56:28] <cradek> are you sure you have a tab now?
[23:56:43] <alex_joni> yeah, it doesn't cause any problems
[23:56:54] <alex_joni> it just doesn't put the Makefile.cpu in there
[23:57:03] <alex_joni> * alex_joni tries another hack
[23:58:11] <alex_joni> darn..
[23:59:20] <alex_joni> ok, think I nailed it