/srv/irclogs.ubuntu.com/2008/08/17/#ubuntu-kernel.txt

=== asac_ is now known as asac
=== mkrufky is now known as mkrufky-gone
superm1hi ScottK-laptop.  okay to start out you'll need to clone the intrepid git tree05:53
superm1you can visit http://kernel.ubuntu.com/git for a listing of all the git trees available05:53
superm1more or less git-clone git://kernel.ubuntu.com/ubuntu/ubuntu-intrepid.git05:53
ScottK-laptopMan, now you want me to use git too.05:53
ScottK-laptopDoing05:53
superm1hehe05:54
superm1i was very resistant of using git myself too at first, but i've come to be at peace with it05:54
superm1so while that's cloning, click on the ubuntu/ubuntu-intrepid.git link05:54
ScottK-laptopI need to learn it.05:54
superm1can try to explain how the tree is organized05:54
ScottK-laptopOK05:55
superm1so if you click the "tree" link, you'll see an ubuntu/ subdirectory05:55
superm1all the out of mainline kernel modules are kept there05:55
superm1inside there there is a Kconfig for everything that is included in there, it ends up sourcing the Kconfig for subdirectories and more modules05:55
superm1so you would likely make subdirectory for your module, and then end up modifying Kconfig to source the Kconfig of your module05:56
superm1also, there is a Makefile that drops it down into the subdirectories as well when they are built05:56
superm1you'll have to add in a line for that too05:56
ScottK-laptopTheir patch includes kconfig changes05:56
superm1well it include a Kconfig for the module itself05:57
superm1the top level Kconfig is just going to call the Kconfig from this module05:57
ScottK-laptopYes, and they have the b/security/Kconfig change to add themselves.05:57
superm1well they are assuming they end up "in tree"05:58
superm1based through the security directory05:58
superm1instead you are in the ubuntu directory05:58
superm1so you'll be patching the Kconfig in the ubuntu directory instead05:58
ScottK-laptopRight.05:58
ScottK-laptopSo we'd need to modify their patch a little.05:58
superm1yeah05:58
superm1just where you are sourcing and what not05:59
superm1once you've got all those files in place, you need to modify the kernel configs05:59
superm1in debian/config/(arch)/config05:59
superm1to add in that extra Kconfig option that they are referring to05:59
superm1CONFIG_SECURITY_DAZUKO05:59
superm1the syntax should hopefully be pretty apparent in there06:00
ScottK-laptophopefully.  It's 1AM here, so nothing is really apparent at the moment.06:00
superm1well tomorrow then :)06:00
superm1let me give you the last two steps and you cna let it sink in and ask questions/what not06:01
superm1https://help.ubuntu.com/community/Kernel/Compile#Build%20the%20kernel%20(when%20source%20is%20from%20git%20repository,%20or%20from%20apt-get%20source)06:01
superm1that shows you how to build a kernel from the git tree06:01
superm1you dont want to build all the different variants, just the generic for testing06:01
superm1so CONCURRENCY_LEVEL=2 AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-generic is probably what you want to do06:01
superm1when you're sure that everything is functional, you can make a git patch out of everything and submit it to the mailing list or publish a git tree.  ping me or someone in here when you are ready to do that so that you can get your git config all ready with commit name and how to use the templates06:02
ScottK-laptopOK.06:03
ScottK-laptopI'll probably be asking for help several times again between now and then.06:03
superm1yeah the first time is pretty confusing when you dont understand syntax and all, but hopefully it should end up more apparent06:04
ScottK-laptopSo I'm reading some more and this is getting a bit scary.06:05
ScottK-laptophttp://dazuko.org/tgen.shtml#LSM indicates the whole thing may not work so well with Apparmor.06:06
superm1yuck :)06:06
ScottK-laptopI'm guessing we don't have an RSBAC enbaled kernel http://www.rsbac.org/ and aren't likely to get one.06:08
ScottK-laptopWhich would leave syscall hooking and I'm guessing that won't be popular.06:11
superm1especially since they dont have snapshots for 2.6.2606:11
ScottK-laptopYep.06:15
ScottK-laptophttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423281 is also relevant.06:15
ScottK-laptopI think I'm going to go to bed and then ponder tomorrow if I really want to open this can of worms or not.  Here I was just hoping I could wave a little DKMS magic over it and it would be easy.06:17
ScottK-laptopsuperm1: Thanks for the help.06:17
superm1ScottK-laptop, sorry if it won't work here, no DKMS magic will help it either :)06:17
superm1best of luck sorting out though06:18
ScottK-laptopThanks.06:19
=== emgent is now known as emgent`
=== emgent` is now known as emgent
=== mkrufky-gone is now known as mkrufky
soreiseralex_joni: hi, i tried also all_generic_ide + irqpoll, but.. no way to make it working :/17:19
soreiserseems that ubuntu-server 7.10 and all ubuntu 8.04 does not support all_generic_ide somehow :( hmm so bad :(17:20
soreiser*do not17:20
soreiserall_generic_ide is a very needed parameter for OLD PCs to make them working17:21
superm1i've personally used all_generic_ide in 8.04 without trouble17:21
soreisersuperm1 it worked for me only with xubuntu 7.10, how is it possible?17:22
soreiser(and ubuntu 7.10 too, if i dont mistake. but any server version did)17:23
soreiser*did not17:23
superm1huh?17:23
soreiserjust tried with ubuntu-server hardy17:23
soreiserdoes not work, i get several I/O errors about my hdd17:23
superm1well are you sure that's really the root cause of your troubles?17:23
superm1are you thrown to a functional initramfs prompt?  You can check what modules ended up being used 17:24
superm1whether it's ata_piix or what not17:24
soreisersuperm1 sorry i forgot to mention that: i refer to livecds :/ sorry, i totally forgot to say that17:25
soreiseryeah in grub it works17:25
superm1soreiser, well in both cases the kernel parameters are passed the same.  you are adding it to the live cd prompt then?17:26
soreiseryeah superm117:26
soreisersomething like: "..... all_generic_ide -- " (also tried without the '--'"17:27
superm1soreiser, well that's awfully odd then if its not being passed on properly only from a live cd 17:27
soreiserso superm1 what could i do? is it going to be fixed for the next release?17:28
superm1soreiser, i've used all_generic_ide in both a live cd and a scripted install17:28
superm1so i'm not sure where your issue is17:28
soreisersuperm1 we could talk in italian if is it possible, as i've seen your italian in your personal info17:29
soreiser*yuo're17:29
soreiser**you're17:29
superm1soreiser, sorry i don't speak italian17:30
soreisersuperm1 ah sorry i thought you were :) your is an italian name eheh :)17:30
superm1i am, but i dont speak it unfortunately17:30
superm1soreiser, i'd recommend trying to get a bug report together with all of this data you've gathered to get some more eyes on the problem17:31
soreisersuperm1 well, however, simply that parameter does not work me with livecds (except xubuntu/ubuntu 7.10)17:31
soreisersuperm1 yeah i've already made a bug report, even if were not so sure it is a bug17:32
superm1soreiser, hopefully something will stick out 17:32
soreiser*work for me17:32
superm1soreiser, sorry i can't be of much more help :)17:32
soreiserwell ok superm1 thanks anyway for your support, good ;)17:32
=== alex_joni_ is now known as alex_joni
soreisersuperm1 should i maybe (re :))turn to #ubuntu-dev to report it is not a bug issue then?17:34
superm1soreiser, well there very well can still be a bug here, your hardware is different than mine, perhaps it's just been a fluke that it's worked in the past for you17:34
superm1soreiser, i say let the bug triage folks handle it on the report 17:34
superm1that's the best workflow to record all of the empirical data17:35
soreiserwell ok superm1 i'll try to get some workaround from the discussion in the bug report, hoping it will be FIXED soon ;)17:39
AmpelbeinCould a member of bug-control please check on bug #258754? i think it could be set to "triaged".19:08
chris_goehm, I shall try again: does anyone know why CONFIG_MD_RAID10 is not selected in hardy's kernel image?20:05
_rubenchris_goe: because it is?21:37
_ruben$ grep RAID10 /boot/config-2.6.24-19-server21:37
_rubenCONFIG_MD_RAID10=m21:37

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