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

dtchenogasawara: thanks, sending upstream.02:00
=== elmo_ is now known as elmo
=== bjf is now known as bjf-afk
benhTheMuso: ping05:44
* apw wonders if the lucid compiler will deign to compile his kernel today09:30
Appiahhello apw , are you busy?09:35
apwAppiah, always busy ... /me is fighting the lucid compilers ... grr09:38
Appiah:)09:38
AppiahI was wondering what happend to that laptop without networking bug, you mentioned that the kernel with the fix was old.. but for karmic there's no alternative atm09:39
Appiahhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/41893309:39
ubot3Malone bug 418933 in linux "no internet connection (wifi+ethernet doesn't work)" [Low,Confirmed] 09:39
apwAppiah, the fix back there never did seem likely as a real fix09:45
Appiahwell I'm using it now or else I dont have any network on karmic :D09:45
apwAppiah, ok ... there seems to be a settling on a fix for things which reverting that commit have been helped by... so i'll pull that back and get you to test a newer kernel with that in09:57
apwit'll take a bit09:57
Appiahapw ok10:09
apwi am not on the fastest of links today10:10
ghostcubeapw: my bug has arrived again after reboot the webcam was dark again10:25
ghostcube:)10:25
ghostcubebut it worked after the installtion10:25
apwso its intermittent then10:25
apw(most likely)10:26
apwwhat was the bug # so i can reopen it10:26
ghostcubemoment10:26
ghostcubehttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/46693510:26
ubot3Malone bug 466935 in linux "No Video Output in Karmic with ID 046d:09a1 Logitech, Inc. QuickCam Communicate MP/S5500" [Undecided,Fix released] 10:26
ghostcubeafter the installation of the kernel and reboot the cam worked fine10:26
ghostcubethe next day after reboot the cam stopped delivering any picture but its working 10:27
ghostcubecould thi9s be an /dev problem ?10:27
ghostcubecause camorama claims no /dev/video010:30
ghostcubeall other tools just use the cam 10:30
ghostcubebut it claims it too if the cam works in cheese oO10:31
smbHm, could this be some v4l1->v4l2 problem...10:31
apwnormally no /dev/video0 means that the kernel hasn't seen the device i belive as its not asked udev to make the devices10:31
apwand it could well be related to that smb yes10:32
apw"if a hospital cannot meet 18 week guarentee, the patient would be offered a range of options 'at nhs prices'"10:40
apwheh, wrong window10:43
amitkapw: trying to sell viagra on #u-k, eh?10:44
apwyeah one needs a bit of side income10:45
Appiah:)10:45
ghostcubesmb: i dont know this started with karmic update10:50
ghostcubeand on jaunty i had the dev/video010:50
ghostcubecould this be an usb problem maybe that the usb devices arent registered normally ?10:51
smbghostcube, karmic update as in updating the whole system (not only a kernel update after updating to karmic)? 10:51
ghostcubeyeah jaunty to karmic10:51
ghostcubeafter this cam stoped working10:52
ghostcubethen i thought the new kernel from proposed may fixes an driver bug so i tested and it worked direct after reboot10:52
ghostcubethen a day later after starting pc it didnt work 10:52
ghostcubei tried to disconnect and reconnect usb boot with and without it10:52
ghostcubeno chance10:52
smbghostcube, just to tule that out: is karmic the only os on the machine?10:52
ghostcubeyeah10:53
ghostcubepure linux machine10:53
ghostcubeand pure ubuntu :)10:53
ghostcubenah kubuntu but this shouldnt be the prob hehe10:54
ghostcube:D10:54
smbok, so it can't be initialized by something else ;-). Well it might be a race then. There were some because the boot is now more parallel and quicker10:54
ghostcubesmb: i still boot grub 1 if this is important too10:54
smbHm, I don't believe this should have effects on that...10:54
ghostcubein my bug report you see that udev gives a strange device id to the cam 10:55
ghostcubecould this be the problem ?10:55
smbhave not yet, looked to it as apw was. lemme see...10:55
ghostcubeand iam not the only one with exactly this problem  i tested in compiz channel wth spme supporters10:56
ghostcubefor them it worked too after fresh install of the kernel update then reboot the other day and it stoped 10:57
ghostcubetotally strange thing hehe10:57
smbHm, just a stupid thought... on the first boot sreadahead is slowing things down to sample the map for speedup...10:58
smbwhere was that again... I believe /var/lib/sreadahead/pack...? apw?10:59
apwyeah i think that is there you are correct10:59
smbIt might be interesting to remove that pack file and force it to resample again and see what happens10:59
smb(on reboot)10:59
apwand removing that pack is enough to ensure a 'slow' boot11:00
apw(good thought smb)11:00
ghostcubeoh i get it so it builds an "id package" with all found ids i it and uses them on second boot to not relocate the packages again ?11:00
ghostcubeis this somehow correct ?11:01
smbghostcube, no actually unrelated to udev. I samples which files are opened on boot11:01
ghostcubeah ok :D11:01
smbto place them into a map to read-ahead on the next boot11:01
apwwhat it does do is significantly change the timing of boot11:08
apwso if your cam worked on first boot after an update and not after it may be timing related11:09
apwremoving that file and rebooting would give you the 'other' timing pattern and 11:09
apwwould allow confirmation of that as cause11:09
ghostcubeah ok so i should remove this pack later at my machine ?11:14
ghostcubeand then reboot11:14
smband then try your webcam, yep11:14
ghostcubeok :)11:14
ghostcubethx for all i will try later guys11:15
apwAppiah, i've posted an updated kernel11:30
Kanohi, when will be karmic based on 2.6.31.6 + released as security update13:16
Appiahapw: i'll test and reply with a result13:25
=== bjf-afk is now known as bjf
=== BenC1 is now known as BenC
Appiahapw: kernel works great16:55
apwAppiah, thanks16:55
Appiahhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/418933 updating there16:56
ubot3Malone bug 418933 in linux "no internet connection (wifi+ethernet doesn't work)" [Low,Confirmed] 16:56
Appiahmake sure the fix is in the new update! :)17:01
Keybukapw: do you think anyone would mind a kernel patch to pass "quiet" to init as a command-line argument (along with whatever options the kernel didn't know about)17:05
apwKeybuk, to allow userspace to follow the same levels as the kernel?17:06
Keybukyes17:08
apwdo we not expose the kernel log level in /proc or /sys ?17:08
apw(as an alternative)17:08
Keybuknot in a useful way17:08
apwthats very useless17:08
=== amitk is now known as amitk-afk
apwi thoought you could set it from there17:08
Keybukupstart is going to do special things for its arguments17:08
Keybukand it'd be nice if quiet could just be one of them17:08
Keybukso quiet & splash could be handled *with the same code*17:09
Keybukrather than having to MOUNT /PROC FIRST! :-/17:09
apwwell i have no fundamental objections17:09
apwand i assume if its just quiet, then its a one line change to push it to inits args?17:09
Keybukyes17:09
apwso it doesn't sound impossible to carry too17:10
Keybukie. make it push any arg it doesn't know about *and quiet*17:10
apwyep17:10
apwwe might get it into upstream if it was configurable in kconfig17:10
apwwhy not spin the basic patch and let us look at it17:10
KeybukI shall do that17:11
apwKeybuk, cool thanks17:13
apwi can see justifying ... userspace might care if we are loud or not for a patch17:13
Keybukuserspace might want to follow kernel loudness17:13
Keybukwhich is exactly what we do :p17:14
apwthe other option might be for a generic prefix to say we want something pushed through17:14
Keybukquiet kernel => quiet userspace17:14
Keybukload kernel => load userspace17:14
Keybukprefix wouldn't help upgrades though17:14
apwso like >quiet means keep it regardless17:14
Keybukwe're stuck with using quiet for hysterical raisins17:14
apwyeah there is that17:14
apwi guess they might say ... just use quiet Quiet17:14
Keybukexactly17:15
Keybukwhich is UGLY17:15
apwquiet usquiet would be my choice but makes interacting with users harder17:16
=== JayFo is now known as JFo
GargFun1high all; we're trying to track down a problem with the Via C3.  We have a problem where the sytem will hang after 10h38m with most kernels, but we have found that the problem does NOT happen with the Ubuntu kernel used on the installation media18:48
GargFun1we are trying to find a kernel that we can build ourselves that works, so we built a kernel using the sources18:49
GargFun1we got the sources using git clone git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git and we expected the result to be the same as the standard ubuntu kernel18:50
GargFun1but apparently it's not since those don't work...18:50
GargFun1any idea how I can build a kernel identical to the one used on the install media?18:51
bjfGarFun1, there are wiki pages that explain how to build our kernels, will get you a link or two18:56
GargFun1We followed those directions, and don't get a kernel that acts the same as the one on the install media18:56
bjfGarFun1, which directions did you follow? Did you build using debuild?18:57
GargFun1https://help.ubuntu.com/community/Kernel/Compile was our starting point18:58
bjfGarFun1, which version are you trying to build, latest karmic?18:58
GargFun1yes18:58
GargFun1latest karmic18:58
GargFun1but every version of the kernel from 2.6.18 through .31 seems to have the problem18:59
GargFun1we've tried quite a few18:59
GargFun1the ones we've found to work are the ones on the install media18:59
bjfGargFun1, what is "the problem"18:59
GargFun1after 10h38m of uptime, the system hangs18:59
GargFun1typing something wakes it up19:00
GargFun1but our goal is headless systems19:00
GargFun1it hangs hard, including stopping counting uptime19:00
GargFun1(so if I wake it up an hour later, it doesn't think any time has passed)19:00
bjfGargFun1, but it's alive enough for you to do an "uptime" ?19:01
GargFun1what we do is we boot with a serial console and have a simple script that generates uptime; just a sec I'll type it in19:03
GargFun1#!/usr/bin/perl19:03
GargFun1$btime = $1 if `cat /proc/stat` =~ /btime (\d+)/;19:03
GargFun1while(1) {19:03
GargFun1        print "up ". (time-$btime) ." load ". `cat /proc/loadavg`;19:03
GargFun1        sleep 1;19:03
GargFun1}19:03
GargFun1so every second it prints the uptime19:03
GargFun1after 10247s (sometimes slightly more or less)19:04
GargFun1it stops printing anything19:04
GargFun1at the same time, it stops responding to pings19:04
GargFun1same thing happens with nonserial console19:04
bjfGargFun1, ok got it19:04
GargFun1same thing happens with no modules loaded19:04
GargFun1(of course, can't test pings then)19:04
bjfGargFun1, you started off with a Karmic release kernel?19:05
bjfGargFun1, have your tried one of our mainline kernel builds?19:05
GargFun1HorsePunchKid did the actual building19:05
HorsePunchKid(howdy)19:05
HorsePunchKidwe haven't tried one of the mainline builds. just the sources from the git repo (for karmic) built with the openwrt toolchain, then a couple of different kernels that i grabbed off the installation ISOs.19:06
HorsePunchKidthe next test we're going to run is with one of the pre-built kernels, probably from karmic.19:07
bjfGargFun1, HorsePunchKid what is your hardware platform?19:07
HorsePunchKidit's a Via C3-based motherboard... i can look up more specifics if it would be useful...19:08
bjfHorsePunchKid, no, that's ok19:08
bjfHorsePunchKid, isn't the openwrt toolchain a cross-compiler toolchain19:10
HorsePunchKidyes.19:11
bjfHorsePunchKid, or are you using that to get uClibc19:11
HorsePunchKidthat will be another test that i'll run, to just build the kernel outside of the openwrt buildroot.19:11
HorsePunchKidi believe openwrt also builds uClibc, if that's what you're asking.19:12
GargFun1I guess the question I was trying to track down an answer to is: are the kernels on the install media built differently than other kernels19:13
bjfHorsePunchKid, I'm trying to understand why you are cross compiling since the Via C3 is an x86 clone19:13
bjfGargFun1, they are built using debuild19:14
HorsePunchKidfair question... just because that's how openwrt is set up, and it seemed like the path of least resistance. i figured it would be easier to track openwrt package updates and such if we constrained ourselves to their build system.19:14
bjfHorsePunchKid, that could be but you've wandered quite a ways away from the way we build ubuntu, your using a completely different toolchain19:15
HorsePunchKidtrue... desperate times call for desperate measures, i suppose :).19:16
bjfHorsePunchKid, does this system currently have a head on it at all and have you tried to just install the regular Karmic release on it?19:16
bjfHorsePunchKid, I understand that's more than what you want to end up with but gives us common ground to debug a kernel issue19:17
HorsePunchKidno, but given that the system works fine with the kernel from the installation CD, i figured installing a complete system probably wouldn't tell us much more.19:17
GargFun1bjf, my understanding of debuild is that it builds a package from source; that sounds like the answer to how the kernel packages are created19:18
HorsePunchKidthough i don't know how close the installation CD's kernel is to what is actually getting installed. hence, the next test will be to try out the kernel from the karmic package.19:18
bjfHorsePunchKid, I'm assuming that kernel is a very different version from Karmic, which version is it?19:19
HorsePunchKidthey're both 2.6.31. i don't have the complete string handy. the server CD was something like 2.6.31-14, if i recall correctly.19:19
bjfHorsePunchKid, ok19:20
bjfHorsePunchKid, do you have the sources to that kernel and have you tried to build them and run that kernel?19:20
bjfGargFun1, you can also use debuild to build your tree without producing a source package for example ....19:21
HorsePunchKidno, i don't. not unless the karmic git repo is exactly the same as what got built for the server CD, which i'm getting the impression is not likely.19:21
micahgdoes 2.6.31 not support software raid?19:22
HorsePunchKidwe should have results from the test with the karmic-package kernel in the next 12-16 hours.19:22
bjfGargFun1, debuild -eCROSS_COMPILE=arm-none-linux-gnueabi- --prepend-path=/home/toolchains/arm-2009q1/bin -b -aarmel -us -uc  19:22
bjfGargFun1, is how I've cross-compiled for ARM systems19:23
GargFun1what would -e be for the install CD?19:23
bjfGargFun1, it set's the environment variable "CROSS_COMPILE"19:24
ghostcubesmb: ping19:32
ghostcubethere was a kernel update 19:32
ghostcubeand i rebootet after now cam works19:33
ghostcubeiam going to reboot noe if the cam works after too19:33
GargFun1bjf, I understand, but what CROSS_COMPILE string is used for building the install CD's kernels?19:34
smbghostcube, It should be repeatable whenever you remove the pack file I mentioned, not only on update19:34
GargFun1I'm just trying to get as close to those kernels as I can =)19:34
bjfGargFun1, no, I was just using that as an example of how I've used debuild to build for an ARM target19:35
GargFun1ah, I see19:35
bjfGargFun1, you could do something similar for a x86 build19:35
bjfGargFun1, if you wanted to do that19:36
GargFun1bjf, I guess I'll abandon that tack and we can see what happens with HorsePunchKid's tests using the mainline kernel and the mainline kernel built with the ubuntu toolchain19:37
GargFun1by mainline, I mean karmic release19:38
bjfGargFun1, HorsePunchKid, sorry if I wasn't able to help19:38
GargFun1bjf, no it's great to have gotten feedback19:38
GargFun1we have some new things to try, and we'll try them =)19:39
HorsePunchKidyeah, definitely. thanks for talking it over with us. i'll get those tests set up and report back tomorrow.19:39
apwHorsePunchKid, GargFun1, the kernels on the CD are taken from the archive same as the ones installed when you do an update20:00
apwbuilt in clean chroots by the buildd's20:00
HorsePunchKidokay, that's useful to know.20:01
HorsePunchKidso i'm trying to follow the directions in KernelCompile on the ubuntu help wiki. i think i don't know enough about apt to do what i need to do. i'm on an jaunty system, but i need the karmic linux-image-* sources. how do i obtain those?20:04
apwi always build (when building locally) using the sources in our git trees20:06
apwyou can clone those, and then 'fakeroot debian/rules clean'20:06
apwthe result then is something which you can compile with debuild -b in an appropriate chroot20:06
HorsePunchKidhm, okay. i've already got clone of the karmic repo which i was building with openwrt. i'll try just building that with debuild instead.20:07
apwyou must clean it first, else it won't have all the control files you need20:07
HorsePunchKid*nod* will do.20:08
HorsePunchKidi'm not so familiar with git... how can i get a list of tags or releases, or how can i peg my clone at the latest release, rather than the (presumably not as stable) head?20:10
ghostcubesmb: ureadhead crashed at boot 20:24
ghostcubebut the cam still works here20:24
ghostcubewoha yeah i can see my damn ugly face now again20:24
ghostcube:D20:24
ghostcubei will test it a while and look if it somehow stops after i do anything special20:25
smbghostcube, ureadahead supposed should not crash. But that might delay things just enough. So I'd expect it to be flakey20:26
micahgdoes 2.6.31 not support software raid?20:36
HorsePunchKidapw, or anyone else, could you give me an idea of how to use debuild to build the kernel package, now that i've got the karmic kernel sources cloned? it's not mentioned in the KernelCompile wiki page, and the -b flag isn't mentioned in the man page or help.20:44
smbIn the top level dir20:46
smbfakeroot debian/rules clean20:47
smbdebuild -b -uc -us20:47
HorsePunchKiddoes -b just indicate to only build binary packages or something like that?20:47
smbyep20:47
HorsePunchKidcool, thanks much.20:47
smb-uc -us does not sign them20:47
micahgsmb: do you know anything about software raid and 2.66.320:48
micahg2.6.31?20:48
smbmicahg, I have no md running on 2.6.31 atm just a dm strip, so I cannot say much about it specifically. It should be supported20:49
micahgthanks, I'll check back with the -server team then20:50
=== maco_ is now known as maco
DarxusCD P22:31
=== BenC2 is now known as BenC

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