/srv/irclogs.ubuntu.com/2009/03/17/#ubuntu-kernel.txt

dandelapw, my logs complained about a few issues with memory, so i am running memtest86 on it... 4 passes so far and no errors yet.00:00
CarlFK... error while loading shared libraries: libgif.so.4: cannot open shared object file: No such file03:59
CarlFKcarl@dv67:~/src/pdf417_enc.4.4$ locate libgif.so.4 03:59
CarlFK/usr/lib/libgif.so.403:59
CarlFKwhat little bit of magic do I need to hook that up?04:00
CarlFKoh crap - sorry, wrong chan04:00
=== nijaba` is now known as nijaba
=== anubhav_away is now known as anubhav
=== anubhav_away is now known as anubhav
jcastrohi, I am trying to determine if bug 289356 is the same as this bug: http://bugzilla.kernel.org/show_bug.cgi?id=1211013:52
ubot3Malone bug 289356 in linux "ath9k causes system lockup" [Undecided,Confirmed] https://launchpad.net/bugs/28935613:52
ubot3bugzilla.kernel.org bug 12110 in Wireless "ath9k causes computer to hang after long data transmissions" [Normal,Closed: code_fix] 13:53
rtgjcastro: try LBM ? Its about as current as it gets13:54
jcastroI don't actually have the problem, I am checking for someone, but I can recommend that13:54
dandelapw, they asked for the log messages again lol. ( and it's already up there )13:55
rtgjcastro: LBM is where the bulk of the upstream bug fixes are appearing. I'm only backporting or cherry picking critical stuff into mainline Jaunty13:55
jcastrortg: how far back do you go? I am trying to find if those fixes from kernel.org would be in say, intrepid13:56
jcastrortg: actually, if there is a page that shows me how to dig that up so I can learn how that would  be great, I don't mind doing the digging13:56
rtgjcastro: hang on a sec, I'll find the changelog for Intrepid LBM13:57
rtgjcastro: https://edge.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.27 , compat-wireless updated as of March 4.13:58
jcastrook cool, I will recommend that then, thanks!13:58
rtgjcastro: there is a bug report associated with LBM, so let smb_tp know if tehre are issues.13:59
jcastronod13:59
jcastrortg: ok so just so I understand it, at some point in the cycle you just start putting driver updates in LBM as opposed to the kernel we ship?14:00
rtgjcastro: yep, the wireless updates tend to be inter-related14:02
jcastrortg: ok so then, if someone is having wireless problems then they should probably try lbm before reporting a bug.14:04
rtgjcastro: that is what I'd _like_ them to do, but most folks don't know about LBM14:05
jcastroyeah, I usually don't need anything in LBM so I haven't been following it14:05
jcastroI'll bring it up to jono, perhaps there is something we can in the community to spread the word14:06
=== balbir_ is now known as bsa
=== bsa is now known as bsarora
IntuitiveNippleCan anyone tell me in what circumstances a network device can be active (IFF_UP) and in-use *but* its IFF_RUNNING flag is not set? Also, is it a valid state or a bug not to have IFF_RUNNING when IFF_ACTIVE *and* the interface is actually working? bug #33550714:30
ubot3Malone bug 335507 in netspeed "netspeed applet will not measure wired" [Undecided,New] https://launchpad.net/bugs/33550714:30
rtgIntuitiveNipple: IIRC those flags are set by the network layer. Its likely a bug for the driver to mucking about with those bits.14:36
IntuitiveNippleapparently not. Just found an email about it on the linux-netdev mailing list in January from Marcel Holtmann caught out by the same thing. Apparently, now, it only is there to indicate userspace configured the interface14:37
rtghuh, I haven't delved into the guts of a net driver recently.14:38
IntuitiveNippleI know... it's one of those "it changed two years ago and no-one announced it" things14:38
IntuitiveNipplehttp://kerneltrap.org/mailarchive/linux-netdev/2009/1/27/4827604/thread14:38
IntuitiveNipplertg: maybe you can save me some more head-ache. git. My local jaunty repo --references my local linux-2.6 repo. In the linux-2.6 repo are several remote references to track pre-mainline patches (e.g. x86-tip, linux-pci). In the jaunty repo I can "git show" a commit from any of the remotes, but I have so far not figured out how I can show *which* remote the commit is in - in other words, I need to identify which remote the commit is fro14:46
IntuitiveNipplem. I've tried all manner of git-show and lower-level plumbing but so far not found a way to do it. Any ideas?14:46
rtgIntuitiveNipple: ah, you might have to consult with my git expert apw. I've encountered the same issue occasionally.14:55
IntuitiveNipplelol yeah... I burned a few fuses trying to figure it out last night :)14:56
rtgIntuitiveNipple: I generaly get so many unused objects that I have to prune now and then14:56
IntuitiveNippleMy reason is just so when I cherry-pick I can give a reference as to where the h**l it came from :)14:57
apwIntuitiveNipple, so you have a commit and want to know the head that its part of?14:57
IntuitiveNippleapw: I'd like to see the remote name with icing on, yeah :)14:58
IntuitiveNippleI figure being once-removed via the --reference linkage might make that difficult14:58
apwIntuitiveNipple, git name-rev <sha1> tells you if the remote is in your current tree14:59
apwif its --reference, then there is no way to know as the remotes don't exists in this repo14:59
IntuitiveNipplehmmph14:59
apwbut the reference is local, so you can just cd there and run the same command right15:00
rtgI usually 'git fetch' without adding a remote, so there is no way to know.15:00
apwyeah thats cirtainly annoying15:01
apwas remotes are basically zero cost i usually add one15:01
rtgtypically though, I'm applying a patch immediately, so its easy to remember the reference and put it in the commit log15:01
IntuitiveNippleI don't want to add the same remote to several repos, that was the original plan, so one fetch on linux-2.6 is for all15:01
IntuitiveNipplegit name-rev a68260415:02
IntuitiveNipplea682604 undefined15:02
apwvery linus of you15:02
apwIntuitiveNipple, that was in the linus-2.6 tree?15:02
IntuitiveNippleapw: no, the unbuntu-jaunty tree15:02
IntuitiveNipplegit name-rev a68260415:03
IntuitiveNipplea682604 remotes/x86-tip/auto-sched-next~1^2~115:03
apwapw@dm$ git name-rev a68260415:03
apwa682604 tags/v2.6.29-rc7~5^215:03
apwthough it looks to be integrated into linus' tree now15:03
IntuitiveNippleyeah, things move on. It's the general principle that would help me a lot.15:04
apwwhat does git name-rev --all a6... say15:04
apwoh miss understood15:05
IntuitiveNippleThe scenario is, I'm chasing some bug report, see some mailing-list mention of a patch that may help, search the repo for a commit that matches the patch, and try it. If it works, it'd be nice to be able to generate the patch (git format patch ...) and include the originating remote15:06
IntuitiveNippleapw: git name-rev -all a... says "error: Specify either a list, or --all, not both!"15:06
apwbah, useless15:07
apwi assume its shown the nearest tip to the reference15:07
IntuitiveNippleyeah, -all is an or with commit id15:07
rtgIntuitiveNipple: If I'm cherry-picking, I always use the '-x' option. If its not frmo Linus tree, then I also add the git URL in the commit log.15:07
IntuitiveNipplertg: Yeah, I do that too. This is just a nice way for me to check where a patch came from. I'm juggling about 20 different bugs a day, so I flick between them based on inspiration or research, so when I finally find a patch that fixes something, I may have forgotten the context. It'd be nice to have one simple command to tell me :)15:09
apwname-rev is about as close as it gets15:09
apwit is possible to script round git merge-base to get all places its a member of15:09
IntuitiveNippleapw: Yeah... I'll have to figure out a way to patch that to handle remotes15:10
apwwell its not remotes, its alternates15:10
IntuitiveNippleor rather, references15:10
IntuitiveNippleyes15:10
apwthough it printing out a reference which isn't available here is a bit strange15:10
IntuitiveNippleFrom a user perspective it ought to be an option of git describe15:10
apwso it'd never want to be normal behaviour15:11
apwgit describe is the opposite in some senses15:11
apwits which tag is older than this commit15:11
apwgit name-rev is which tag head is newer than this thing15:11
IntuitiveNippleor newer (--contains)15:11
apwahh yes, so name-rev must be being deprecated15:13
dandel0o15:19
IntuitiveNippleok, found a workable solution :)15:24
IntuitiveNippleGIT_DIR=../linux-2.6/.git git name-rev a68260415:24
IntuitiveNipplea682604 remotes/x86-tip/auto-sched-next~1^2~115:24
IntuitiveNippleCan script that nicely15:25
=== lieb_ is now known as lieb
apwIntuitiveNipple,  there is a path to the other stoer in .git/objects/info/alternate17:36
apwor similar, you might use that in your script17:36
IntuitiveNippleapw: Yes, that is what I'm doing... actually it has got quite sophisticated... It takes the pwd and <.git/objects/info/alternate and isolates the common path then builds a relative path from pwd to the alternate and inserts that into GIT_DIR17:38
apwIntuitiveNipple, that seems overkill if the absolute path is there and is good18:23
IntuitiveNippleapw: no, because I want it to work from any repo with any alternate18:24
apwright, but i mean the absolute path is as good as a relative one18:24
apwso why do you need to common prefix munch it?18:24
apwapw@dm$ GIT_DIR=`cat .git/objects/info/alternates`/.. git name-rev a68260418:25
apwa682604 tags/v2.6.29-rc7~5^218:25
apwwhy is that not always sufficient?18:25
IntuitiveNippleI'm doing some other stuff with the scripts that is based on relative path portability, that's all.18:26
apwok18:26
IntuitiveNippleI always try to generalise my scripts to cope with unanticipated future usage18:27
maxbHi, the lbm source builds an empty headers deb and an empty udeb. Is there a reason, or would a patch to stop building those be useful?20:18
rtgmaxb: Jaunty? its likely a hold-over from Hardy20:20
maxbah. Are they being retained in case of future need, do you suppose?20:21
rtgmaxb: well, I didn't do it with malice aforethought, but it _does_ seem like a good idea.20:22
rtgin any case, it causes no harm20:23
maxbPointless things annoy me. Having ascertained that they are not actually pointless, I am happy :-)20:23
rtgon second thought, it shouldn't even be building a udeb.20:24
rtgits not seeded by the installer AFAIK20:24
* Nafallo wonders what happened with USB in Jaunty21:10
NCommanderNafallo, ?21:14
Nafalloit seems to default to USB1.1 or something? even for USB2 devices :-/21:15
Nafalloat least my backup here is /dead slow/21:15
Nafalloalso copying data from my hardware RAID1 USB2 enclosure was ~600K/s at best.21:25
Nafallono idea how to debug this issue though21:25
JanCuhm, I think that after an earlier boot into recovery mode a system restart shouldn't start recovery mode again...21:37
JanCI guess this is because kexec gets handed the same boot parameters again...21:39
IntuitiveNippleNafallo: It's a general kernel problem. We've just published a resolution for it21:42
IntuitiveNippleJanC: Yes... catches me out too :p21:42
JanCwouldn't it be possible to do a complete reboot in case the "current" boot is based on a "recovery" option in grub?21:44
IntuitiveNippleI think it is something the scripts should detect and handle. I think a check for 'single' in /proc/cmdline would do it21:45
NafalloIntuitiveNipple: awesome. ta :-)21:45
IntuitiveNippleNafallo: There's a workaround involving adding the USB modules in the correct order to the initrd, until the new kernel is in the archives https://bugs.edge.launchpad.net/linux/+bug/29671021:46
ubot3Malone bug 296710 in linux "warning: ehci_hcd loaded AFTER uhci_hcd and ohci_hcd" [Medium,Fix released] 21:46

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