/srv/irclogs.ubuntu.com/2009/10/12/#ubuntu-kernel.txt

MTecknologyWhere can I pull down the kernel source and default .config?02:44
lifelessdebcheckout linux-x-y-z02:44
MTecknology!info debcheckout02:45
ubot3`Package debcheckout does not exist in jaunty02:45
MTecknology!search debcheckout02:45
ubot3`Found: 02:45
MTecknologylifeless: ?02:46
DarxusHeh.02:50
DarxusMTecknology: You already have the .config you're using, somewhere in /boot/.02:50
DarxusThere is a linux-source package...02:50
MTecknologythanks :)02:52
DarxusYou're welcome.02:52
MTecknologyhopefully I actually know enough to go mucking around in it :P02:53
lifelessthe linux-source package isn't quite the same as the repo02:53
lifelessits output during the build, as opposed to whats used to build packages02:53
lifelessif you want to build a new package, you want to use apt-get source or debcheckout02:54
lifeless$ dpkg -S debcheckout 02:54
lifelessdevscripts: /usr/bin/debcheckout02:54
DarxusOr make-kpkg...02:54
MTecknology4 days until freeze - anything important left to finish off?02:56
MTecknology2.5 min left to pull it :P02:57
MTecknology"These are 'Null' algorithms, used by IPsec, which do nothing." ... what's the point of this?03:04
MTecknologyCONFIG_CRYPTO_NULL03:05
hzhang__ericm_, if so, <ericm> phenompanda, test build has no prob with latest kernel - EABI without OABI_COMPAT03:05
lifelesstesting03:05
hzhang__ericm_, what's the difference between those two binaries?03:05
hzhang__ericm_, like size vmlinux, how much data section and bss section squeezed ?03:05
MTecknologywow.. you guys pack a whole lot into the kernel03:16
jk-_MTecknology: testing, i'd say03:18
=== jk-_ is now known as jk-
MTecknologyjk-: I think there's always a lot in there - just part of having a distro that "just works"03:23
* MTecknology loves "make all modules_install install"03:25
DarxusI'm wondering how much benefit there would be to a program that figured out what hardware you have and recompiles a custom kernel for you.03:26
DarxusSomething that "just works".03:26
MTecknologyDarxus: not a bad idea but that would be hard considering some people will install ntfs-3g only the second they need it03:29
MTecknologyar similar03:29
ericm_hzhang__, haven't compared yet - wait moment03:30
MTecknologyIs there any reason for this setting? drivers/block/cciss.c:3153: warning: the frame size of 1056 bytes is larger than 1024 bytes03:32
ericm_hzhang__, ok will check once compilation is done here03:33
ericm_   text   data    bss    dec    hexfilename03:39
ericm_3211565 250208 1123363574109 36895dvmlinux.with_oabi_compat03:39
ericm_   text   data    bss    dec    hexfilename03:39
ericm_3204537 250112 1123363566985 366d89vmlinux.no_oabi_compat03:39
ericm_withou oabi_compat, code size seems to shrink a bit, but not data section, is this what you expected?03:39
hzhang__ericm_, well, not a very good news, but also worthy to give a try ...03:43
hzhang__ericm_, 7KB text section and 80Bytes data ... 03:44
hzhang__ericm_, thanks, anyway :) 03:44
ericm_MTecknology, for testing - most drivers are built-in instead of being module - so comes the size03:50
MTecknologyericm_: compiling the default kernel less some stuff takes a long time :P03:52
MTecknologyI didn't realize how much is needed for a kernel that will "just work" for everyone03:52
ericm_hzhang__, yes - I guess that's significant for your environment ;-)04:12
hzhang__ericm_, well, once you try this "nm --size -r vmlinux | head -10" for search for big symbols04:14
hzhang__ericm_, you will always get a 8K bytes symbol  in data section - "init_thread_union"04:14
ericm_MTecknology, I see - thanks04:15
hzhang__ericm_, 8K, is that a must? seems others are quite tiny, no more than 4KB 04:18
=== ericm_ is now known as ericm-afk
MTecknologyHow do I update grub2 to use the newly installed kernel?04:31
ericm-afkMTecknology, /boot/grub/grub.cfg?04:46
=== ericm-afk is now known as ericm_
MTecknologyericm_: I didn't know if update-grub would do it or not04:58
ericm_MTecknology, supposed so - I haven't done a kernel upgrade yet04:59
ericm_MTecknology, are you installing a kernel package or something you built yourself?05:00
MTecknologyI built one05:00
MTecknologyericm_: looks like update-grub does work05:05
ericm_MTecknology, cool05:05
* ericm_ will be back in a while05:06
=== ericm_ is now known as ericm-lunch
=== ericm-lunch is now known as ericm_
=== ericm_ is now known as ericm-afk
=== ericm-afk is now known as ericm_
=== Whoopie_ is now known as Whoopie
Keybukso here's a fun one, after a few hours this machine slows down to an absolute crawl11:26
* Keybuk wonders how the hell he'd go about debugging that11:26
amitkKeybuk: nothing showing up in iotop or latencytop?11:34
Keybukno, that's the curious thing11:34
KeybukI'll check again next time it does it11:34
apwKeybuk, perhaps a memory leak, take a snapshot of slabinfo when you are working and compare to when you are broken12:18
Keybukit's gone slow now12:18
Keybukso what should I look for?12:18
Keybuklatencytop says12:21
KeybukScheduler: waiting for cpu                        107.7 msec        100.0 %12:21
Keybukunusable now - so shall reboot12:23
Keybukthen compare12:23
Keybuk_I was going to do the "at least Linux boots fast" joke12:31
Keybuk_but it didn't boot at all!12:31
Keybuk_"VFS: unable to mount root" PANIC12:32
=== Keybuk_ is now known as Keybuk
Keybukapw: the biggest difference in slabinfo during slowness and after reboot is in buffer_head12:37
Keybuknow:12:37
Keybukbuffer_head        17048  17064    112   36    1 : tunables    0    0    0 : slabdata    474    474      012:37
Keybukwhile slow:12:37
Keybukbuffer_head       143563 143568    112   36    1 : tunables    0    0    0 : slabdata   3988   3988      012:37
apwwhats head -1 of that say12:37
Keybukslabinfo - version: 2.112:38
Keybuk ?12:38
Keybukor did you mean12:38
Keybuk# name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>12:38
apwyea12:38
apwthat doesn't sound like an earth ending amount12:38
apwhrm12:38
Keybukindeed12:38
jk-you can end the earth with the slab allocator? cool.12:39
apwoh yeah :)12:39
Keybukapw: nothing really revealing in iotop or latency top either12:46
KeybukI wonder whether it's this dodgy "you want hardware? I get you hardware!" SSD12:46
apwdoes it recover on a reboot?12:47
apwi'd expect ssd effects to be more ongoing12:47
Keybukno, that's what's making me think12:47
Keybukit only recovered after a physical power off and on again12:48
apwhrm12:48
Keybuknext time it does that, I'll see whether just the reboot makes it recover or not12:48
Keybukit was a bit hard to this time due to the empty initramfs issue12:48
apwwe have an empty initramfs?12:49
Keybukyes, seen it a couple of times now12:49
Keybukinitramfs update gets borked12:49
* apw struggles to understand why installing one kernel now means we rebuild the grub config 2x12:52
apwespecially now its as slow as nose-juice12:52
apwKeybuk, that reminds me, dispite usplash being back there is a fair gap between the end of usplash and x starting, is that expected?12:53
KeybukI guess12:54
KeybukX takes a second or two to start12:54
apwas we're not changing mode i am supprised usplash can't persist till X zaps the display12:58
apwfor KMS setups12:58
apwiisn't that what plymouth does, just exits leaving the display message, and asks X to leave it alone?13:01
Keybukbasically yes13:02
Keybukbut we've never figured that patch out13:02
Keybukand it may be that usplash's svgalibness prevents it13:02
Keybukmuch as it pains me to suggest it, we may have to do plymouth and forgo nvidia-glx users wrath13:02
Lurecan somebody review request to cherry-pick from linus (if new kernel is planned): bug 39201714:30
ubot3`Malone bug 392017 in xserver-xorg-video-intel "kms and nonkms use different display names. HDMI-1 vs DVI1" [Unknown,Fix released] https://launchpad.net/bugs/39201714:30
apwrtg i am looking at an issue with slow mount on usb disks, and it feels like readahead simply doesn't work ... seen anything like that?14:34
rtgapw, mounting a rootfs on a USB disk?14:35
apwthis is simply mounting a vfat filesystem, it does a scan of the fat to work out free blocks cause 'the other' doesn't keep the superblock stats up to date14:36
apwfrom what i can see its submitting read ahead but not getting any benefit at all14:36
apwperformance wise14:36
apwand wondering if it rang a bell14:36
rtgapw, do you think the I/O scheduler setting has anything to do with it?14:37
apwseems the same with cfq and with deadline14:37
rtgthen no, I've not encountered it14:37
jjohansenapw: is it usb hd or a usb flash?14:37
apwits a rotating disk in this case14:38
jjohansenapw: could it be because it is fat, and has to read in the fat table14:39
jjohansens/table/tables/14:39
apwyep its defiantly fat and the fat table thats the issue14:39
apwbut ... they added readahead support for it for this very operation14:39
apwand it seems to be triggereing, but the performance simply sucks, like its not there14:40
rtgapw, I mounted as fairly large ext3 USB disk just yesterday with no noticeable delays14:40
apwrtg, non-fat are not affected, this is a specific fat pattern triggered issue14:41
rtgapw, the moral of the story is, don't use FAT.14:41
apwit used to work, now it doesn't ... something broke14:41
apwfrom the evidence i have to hand it implies readahead is not working14:42
apwwhich would impact everything and everyone14:42
rtgapw, oh, that seems a bit more serious14:42
apwif i am reading this right its taking 1min40 to read 7mb14:43
apw76mb in 1:40 ... still unreasonable even for a harddrive14:45
jjohansenapw: yikes that is bad14:46
apwyeah not even sure why it would be that bad even without read ahead, as its doing linear reads anyhow14:46
jjohansenapw: if it is close to the same with and without read ahead, and the figure is that bad I would think it is something else that is broken14:47
smbapw, If everything is linear the device cache should have a performance boost. The question is whether bios are correctly merged into larger requests or whether small ones get sent down14:48
apwwell without readahead they are syncronous 512 byte sector reads14:49
apwwith it in theiry they should be dumped in in 256 sector chunks14:49
smbwasn't device read ahead 128 sectors?14:51
apwthis is being done explicitly in the fs14:51
smbhm, there is another setting defined in the device queue14:52
smbin /sys/block/sd?/queue/read_ahead_kb (ok, it actually 128 kb)14:52
apwyep, but this is explicit, so even if the one you mention there is not working this one is definatly occuring14:57
smbright, if the fs does this too, this should generate requests of that size at least. 14:59
smbActually there has been another thing (maybe on the vfs layer) which would adapt on the amount of sequential hits...15:00
=== ericm_ is now known as ericm-Zzz
Lurertg: thanks for takin care of bug 39201716:37
ubot3`Malone bug 392017 in linux "kms and nonkms use different display names. HDMI-1 vs DVI1" [Low,Fix committed] https://launchpad.net/bugs/39201716:37
rtgnp16:37
rtgsmb, apw: you guys never answered my question about CONFIG_X86_PAT16:41
smbrtg, no not really. And I got no idea why it was/is unset16:41
rtgsmb, what harm do you foresee if its enabled?16:42
* apw is supprised to find it is off16:42
smbI cannot claim complete understanding but as it is the default there should not be much harm16:43
rtgwhich is why I'm pushing the issue.16:43
rtgok, I'm gonna turn it on for Beta16:44
ckingit's been around for quite a while - anyone seen any other distros with kitten killer X86_PAT bugs?16:44
rtgcking, yeah, I'm a bit boggled that we don't have it enabled.16:45
ckingand there's a nopat kernel boot option isn't there if it causes an issue with broken H/W16:45
rtgyep16:46
apwrtg beta, didn't we aleady ship beta?16:46
rtgapw, uh, you know, the next kernel whatever it is.16:46
apwheh :)16:46
ckinghehe - there are SuSe discussions on why Ubuntu left it out w.r.t. the e1000e bug way back16:48
* cking wonders if the citysprint emailer is actually not human - in which case, I may have failed the turning test16:50
ckings/turning/Turing/16:50
rtgcking, you couldn't 'turn' on a dime?16:50
rtgjjohansen, you gonna put the full court press on the ec2 i386 regression?17:06
jjohansenrtg: yep17:06
rtgjjohansen, thanks.17:07
jjohansenright now I am doing clean rebuilds of and akis of everything17:07
rtgjjohansen, you should rewind a re-do the rebase yourself. IIRC I had a conflict that I solved, but perhaps I flubbed it.17:08
jjohansenrtg: will do, just want to double check with a second build, it is easy too easy to mess something little up17:09
pgranercking: sorry, didn't realize we were in the DT channel17:52
ckingpgraner, why upgrade the BIOS - the version on that PV is the same as the one on my one which runs Karmic OK17:53
pgranercking: Didn't know, I usually try and keep boxes up to the latest 17:53
ckingliving life on the bleeding edge again..17:53
ckingpgraner, I kinda helped them iron out all the Linux-centric BIOS issues, so it should be OK17:54
cking..but if you like pain, I'm not stopping you upgrading ;-)17:55
pgranercking: nope I"m good, I just assumed that the one on the box was old and could use a bump17:55
ckingpgraner, I kept 4 of these boxes upto date, so they are good IMHO17:56
pgranercking: cool17:56
DarxusI had /window 1518:03
DarxusOops.18:03
lamontwhere did my broadcom-working state go ?18:10
lamontmeh... is network mangler, not kernel18:11
rtglamont: this is a binary blob driver, right?18:11
lamontrtg: it's a perfectly functional driver.... network mangler just failed to bring it up18:13
lamontifconfig and it's happy18:13
* rtg thinks binary blob and perfectly functional is an oxymoron18:14
lamontwell, functional is totally separate from _SUPPORTABLE_ :(18:18
UnitesStaNew facebook! Win 1 of 5000 IPODS NANO 5G! http://vk.com/reg332905720:53
UnitesStaNew facebook! Win 1 of 5000 IPODS NANO 5G! http://vk.com/reg332905721:01
Whoopiertg: Hi, did you think about enabling CONFIG_PCIEASPM? It saves some power on laptops.21:28
rtgWhoopie, its still marked experimental.21:30
Whoopiertg: what about enabling the CONFIG_, but disabling by default so that the user can enable it via sysfs?21:31
MTecknologySo... I downloaded the kernel source, used the same config that's in /boot, compiled and installed using "make all modules_install install", and booted to it but it died on boot complaining about not being able to remove /forcefsck on read-only file system21:36
MTecknologyI didn't make any modifications to the kernel..21:36
Whoopiertg: it's enabled in config.flavour.powerpc-smp21:44
rtgWhoopie, send an email to the k-t list and I'll consider it later.21:44
Whoopieok, thanks21:45
rtgMTecknology, I has something similar happen to me on a fresh install today. what is your clock setting? 21:45
MTecknologyrtg: how do I check that?21:46
rtgMTecknology, from your BIOS during boot. it must be ahead of the file system21:46
MTecknologyI'll check once I finish an update21:46
MTecknologywhat does that change?21:47
rtgMTecknology, make sure your clock is set to the current time (less your UTC offset).21:47
MTecknologyYou mean set the clock to UTC?21:48
MTecknologyor the local time21:48
rtgMTecknology, yep21:48
MTecknologyok21:48
MTecknologyntpdate won't update the bios clock, will it?21:49
MTecknology12 Oct 15:49:25 ntpdate[8258]: adjust time server 91.189.94.4 offset -0.018734 sec21:49
rtgMTecknology, it won't if the clock is too far out of date21:50
MTecknologyI'll stop doing an update and try it21:51
=== bjf-afk is now known as bjf
SyLis this a place I can ask for help on kernel panics on ubuntu 9.10? 21:54
MTecknologyrtg: it was spot on21:55
rtgMTecknology, you mean your BIOS clack was correct?21:55
rtgclock*21:55
MTecknologyya21:56
rtgMTecknology, hmm, I think Keybuk has been futzing about with some fsck type stuff.21:56
MTecknologyKeybuk: ...... -_-21:57
MTecknologyrtg: it's not because of the way I built it then?21:57
MTecknologyI built it the same way I learned how in gentoo21:57
rtgMTecknology, does the original kernel do it?21:57
MTecknologyno21:57
rtgwhat version is your original kernel?21:58
rtgcat /proc/version21:58
MTecknology2.6.31-13-generic21:58
KeybukMTecknology: yes?21:58
MTecknologyKeybuk: rtg said it might be you breaking things21:58
KeybukMTecknology: what's up?21:59
MTecknologyrtg: Linux version 2.6.31-13-generic (buildd@yellow) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu7) ) #44-Ubuntu SMP Sat Oct 10 15:27:14 UTC 200921:59
rtgKeybuk, we've both noticed some issues with fsck failing to run on first boot is the bios clock is behind the file system21:59
Keybukfailing to complete you mean?21:59
rtgKeybuk, no, won't even start. drops me to a shell21:59
Keybukwah! unexpected inconsistency! sky is falling! etc.21:59
Keybukright21:59
rtgknown issue ?22:00
Keybukyes, it's your fault22:00
rtgoh, I like that.22:00
Keybuk:D22:00
Keybuktell me a bit about your setup?22:00
Keybukinstalling into virtualbox?22:00
rtgno, bare metal.22:00
MTecknologysame here22:00
Keybukmachine previously had Windows on it?22:01
MTecknologythis had windows on it until I got home 2yr ago22:01
rtgno, it had Hardy. I was installing Karmic from scratch.22:01
Keybukrtg: what did it have before Hardy?22:01
rtgdunno, I got it from Intel. its an SDP22:01
rtgthe clock was 2 years behind.22:02
Keybukwhat was the UTC setting on Hardy?22:02
Keybukand, most importantly, what did the clock in the top-right say while you were installing?22:02
Keybuktwo years?! :p22:02
Keybukbehind isn't usually an issue22:02
rtgKeybuk, I never noticed that it was so far behind until fsck wouldn't run.22:02
MTecknologyKeybuk: i bought the system, got home, installed ubuntu - it came w/ vista22:03
KeybukMTecknology: you wiped Vista?22:03
MTecknologythe timeon this system was less than 1/10 second off22:03
MTecknologyya22:03
MTecknologyi don't like raping computers22:03
KeybukMTecknology: ok, so your bug is pretty simple22:03
Keybukwhen you installed Ubuntu, you didn't notice that the clock in the top-right was actually N hours fast22:03
Keybuk(where N is the timezone offset between you and UTC)22:03
MTecknologyI installed from the alternate cd22:04
Keybukso you rebooted, and the "last mount" time of your filesystem was then in the future22:04
Keybukyou connected to a network (hi!)22:04
MTecknologymy issue is....22:04
Keybukand that resync'd your clock back to reality22:04
Keybukand saved that time back into your hardware clock22:04
Keybukthen next time you rebooted, fsck failed because the last mount time was in the future22:04
Keybukand dumped you to the world's least helpful shell22:04
Keybukif you ran fsck -y like it DID NOT SAY then everything was fine22:05
Keybukand now it won't happen again22:05
Keybukthe reason this happened is because Windows had the hardware clock in "local time"22:05
Keybukbut every other OS in the universe, including Ubuntu, puts UTC in the hardware clock22:05
Keybukbecause anything else is INSANE22:06
rtgit would be helpful if ntpdate would correct for more then 3600 seconds (at least during install)22:06
Keybuksince you wiped Vista, the clever bit of the installer that checks for Windows and adjusts the configuration to use local time didn't see it22:06
MTecknologyI pulled the kernel source, grabbed the config from /boot, compiled the kernel with that exact same config and installed using "make all modules_install install", When I tried to boot to the kernel I just compiled it hung on saying can not remove /forcefsck on read-only file system.22:06
Keybukrtg: I believe that ntpdate will correct any amount of jump22:06
MTecknologyI can't boot beyond that22:06
KeybukMTecknology: what else is on screen?22:06
MTecknologyi can't remember but I don't really know how to take a screenshot of that either.22:07
KeybukMTecknology: a camera phone is ideal ;)22:07
Keybukthe forcefsck thing is an error caused by a previous error, the previous error is really important22:07
MTecknologynot that phone - won't be able to read it22:07
Keybukbut I reckon you have the "I didn't make an initramfs for my custom kernel" bug22:07
MTecknologyoh22:08
rtgfsck -y corrects the original problem?22:08
MTecknologyprobably..22:08
Keybukrtg: I patched e2fsck today to always repair a future last mount/write/check time as long as it's no more than 24hr in the future 22:09
MTecknologyKeybuk: i didn't do that - so you're probably right..22:09
KeybukI'm sure Ted will ignore that as long as possible, but the RH e2fsck maintainer has already said they want that patch22:09
rtgKeybuk, 24 hours being the normal Windoze correction factor?22:09
KeybukMTecknology: I already have a fix for that, can you install packages on that box?22:09
Keybukrtg: 24 hours being the most a clock can be out due to timezone error ;)22:10
MTecknologyi hope I can..22:10
rtgKeybuk, right22:10
MTecknologyKeybuk: I only have one system22:10
KeybukMTecknology: and you're testing development releases on it? :)  Brave man22:11
Keybukeven I don't do that <g>22:11
MTecknologyI learned gentoo on this thing over a weekend :P22:11
lifelessKeybuk: 26 hours I think22:11
MTecknologyI ran 9.10 on this thing back around 9.0522:11
lifelessKeybuk: there is some weird corner case overlap - the world is > 24 hours around :)22:11
Keybuklifeless: no, this is only relative to UTC remember22:12
Keybukso it's actually +/- 13.5 hours or something22:12
Keybukbut 24 is easier to remember the number of seconds for <g>22:12
lifelessKeybuk: right, -13 to +13 == 26 ;)22:12
MTecknologyKeybuk: so - how do I get that fix?22:12
MTecknology13?22:12
KeybukMTecknology: it will take the buildds a few minutes22:13
KeybukMTecknology: daylight savings in sheepland22:13
Keybuktype thing22:13
MTecknologyi'm confused!22:13
MTecknologyoh22:13
MTecknologyi hate dst...22:13
lifelessMTecknology: +12 + DST22:13
MTecknologyIs this part really needed? "apt-get build-dep linux-ubuntu-modules-$(uname -r)"22:14
lifelessah22:14
lifelesstonga is +1322:14
MTecknologymost things in there shouldn't be needed to build the kernel..22:14
lifelesswithout needing DST22:14
* rtg is outta here for the day22:14
lifelessand the line islands at +1422:15
lifelesshttp://en.wikipedia.org/wiki/Time_zone22:15
lifeless-11 to +14 is the largest gap w/out DST considerations22:15
MTecknologyah.. I see - that's the "ubuntu way" to compile the kernel22:16
MTecknologyIs there anything wrong with using linux-source?22:17
MTecknologyKeybuk: will I still need your patch for that?22:17
Keybuklinux-source is the kernel source22:17
KeybukI think everyone builds from GIT though22:17
KeybukMTecknology: are you on i386 or amd64?22:17
MTecknologyamd6422:18
lifelesslinux-source is fine for rolling a custom kernel; if you're working on the kernel packages for ubuntu, you need the kernel package source22:18
MTecknologyso if I'm just going to roll out my own - then use git to get the kernel source - otherwise use the ubuntu kernel package?22:20
Keybukoh, it failed to build22:21
Keybuklifeless: that is the kernel package source ;)22:21
KeybukMTecknology: I may need a few more minutes at this ;)22:22
MTecknologyKeybuk: ok - can you explain the parts that matter to me?22:23
KeybukMTecknology: is the machine on a wired network interface?22:23
MTecknologywireless22:23
Keybukcan you plug it into a wire?22:23
Keybukif not, does your wireless use WPA?22:24
MTecknologyya22:24
Keybukor can you boot the kernel that you didn't make?22:24
MTecknologyI'm in that22:24
Keybukah great22:24
MTecknologythe kernel I made won't boot and I just wiped it22:24
MTecknologyI'm just trying to trim down the extra junk in the kernel that I don't need22:25
MTecknologylike XFS support - I don't need it and this laptop never will22:26
Keybukahh22:27
Keybukyou know that we don't build in XFS support, right? :)22:27
DarxusHah.22:27
MTecknologyit was in there..22:28
MTecknologyin the config in /boot22:28
MTecknologyCONFIG_XFS_FS=m22:28
Keybukthat means it's a module22:28
MTecknologybuild in as a module22:28
DarxusMTecknology: There is something very important here you don't understand.22:29
MTecknologyI did say like though - there's a lot I'd like to knock out - I want to try to get a 10sec boot on this system22:29
MTecknologyDarxus: what's that?22:29
DarxusMTecknology: Stuff built as a module that you don't use never gets loaded.  So changing it from a module to not being compiled at all gains you nothing (except compile time).,22:29
MTecknologyi get that22:30
MTecknologywhen I'm looking at menuconfig again I can pick out some other things22:30
MTecknologyI'm not saying that I think the ubuntu kernel is wrong - I'm just a glutton for punishment - and breaking things is fun22:31
MTecknologybut when I use the exact same config to compile it and it breaks - I get confused22:31
DarxusAh, well, are you using the source package that builds the linux-image packages, or the linux-source package?22:33
MTecknologylinux-image22:34
DarxusHmm, weird.22:34
MTecknologyI'm pulling the git source now22:34
MTecknologydoes that have a default .config in it?22:35
DarxusMTecknology: Yes, in pieces.22:35
MTecknologythat last part makes me want to ask for additional information22:35
Darxuscat debian.master/config/config.common.ubuntu debian.master/config/i386/config.common.i386 debian.master/config/i386/config.flavour.generic > .config22:35
DarxusThat'll get you an i386 generic .config.22:36
MTecknologyinteresting..22:36
DarxusYou're likely to be able to extrapolate the other possibilites.22:36
MTecknologyyou mean like debian.master/config/i386/config.common.i386.iwant.amd64.instead ??22:37
MTecknology:P22:37
DarxusHa.22:37
Darxusfind . -name "*config*" will show you your options.22:37
MTecknologyReceiving objects:   2% (33347/1335407), 9.20 MiB | 59 KiB/s    22:38
MTecknologythis is going to take a while22:38
DarxusHeh.22:38
DarxusHave you run the thing to pick an optimal mirror?22:39
MTecknologynope22:39
MTecknologywhat's that?22:39
DarxusI recommend it.22:39
KeybukI didn't think we have mirrors of our kernel source22:39
MTecknologyshould I do this as a normal user and make a copy of the source to work on?22:39
DarxusIn one of the ubuntu gui package management things, theres a place where you can specify your mirror, and there's an option to select "other" or something, and then "select optimal mirror" and it pings them all or something.22:40
MTecknologyDarxus: I'm pulling from git though22:40
DarxusKeybuk: Why wouldn't the kernel be included in the mirrors.... ohh, get, nevermind.22:40
MTecknologymy university just throttles to 60K22:40
Darxuser, git22:40
DarxusEw.22:40
KeybukMTecknology: https://edge.launchpad.net/~ubuntu-boot/+archive/ppa/+build/1289150/+files/mountall_0.2.2~boot2_amd64.deb22:40
MTecknologyshould I do this as a normal user and make a copy of the source to work on?22:40
Keybukif you install that, hopefully you could boot custom kernels ;)22:41
MTecknologyor will I be making my .config in the krepo22:41
MTecknologyKeybuk: how long until that makes it into karmic?22:41
MTecknologyand it's installed :)22:42
KeybukMTecknology: depends how long it takes me to watch the rest of FlashForward without interruptions22:43
Keybukand apply a couple more bug fixes after that <g>22:43
MTecknologyoh22:43
MTecknologyhm... sounds like it makes more sense to make a copy of the part of the git branch that I want instead of working inside it22:44
Womble2Which package is the aufs2 source in?23:02
jjohansenWomble2: its under the ubuntu dir in the kernel tree23:03
Womble2OK23:03
otayI want to connect two qemu quests via serial connection so I can do some debugging. Does anybody have any idea how to do this?23:07
MTecknologyKeybuk: do I want to do "git checkout Ubuntu-2.6.31-13.44" ?23:14
MTecknologyHow long does it take you guys to compile the ubuntu stock kernel>23:27
mase_wkMTecknology: that depends entirely on the machine you use to do it23:46
MTecknologymase_wk: ya - I was just curious23:46
MTecknologywhat kind of system do you have and how long does it take?23:46
MTecknologyI should use concurrency next time23:48
mase_wki have an AMD Athlon(tm) 64 Processor 3000+ , i usually compile under a clean VM environment though so it takes about 1/2 a day23:48
MTecknologyto compile the ubuntu kernel?23:48
mase_wkwell last time it was a kernel.org kernel23:49
MTecknologyIntel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz23:49
MTecknologyonly seems to take a couple hours for me23:49
mase_wkwell i am doing mine on a VM too23:50
mase_wkvirtualbox at that so its not something speedy like xen23:50
mase_wkif you want to speed up your time you can disable many of the modules that you don't need23:51
mase_wkif you are never going to have a SAN then you can remove all of the drivers / files systems associated with that etc..23:51
MTecknologythat's part of the reason I'm doing this :P23:53
mase_wkyour compiling a kernel because you want to reduce your compile time ?23:54
mase_wk=)23:54
MTecknologyno - because I want to trim it down23:54
MTecknologyloading the kernel is ~75% of my boot time23:55
mase_wki doubt that23:55
mase_wkhow big is your kernel ?23:55
MTecknologydefault23:55
MTecknologyright now I have yet to actually compile a kernel that works23:55
MTecknologyin ubuntu anyway23:55
mase_wkmine is 3.8mb23:56
mase_wkif you have trouble loading 3.8mb at boot you have other issues23:56
MTecknology7.3Minitrd.img-2.6.31-13-generic23:56
mase_wkthats not the kernel23:56
mase_wkthats the initrd23:56
mase_wkyou don't have to remake the kernel to remake the initrd23:57
MTecknology** 3.8Mvmlinuz-2.6.31-13-generic23:57
mase_wkyou can just remove modules from the initrd23:57
MTecknologyhow do I do that?23:58
mase_wkmkinitrd23:58
mase_wkyou can specify which modules you want to include23:58
MTecknologythanks23:58

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