/srv/irclogs.ubuntu.com/2012/03/05/#ubuntu-kernel.txt

=== stokachu is now known as battlemidget
=== emma_ is now known as emma
=== battlemidget is now known as stokachu
reiseihello! I have strange issue: on shutdown, after unmounting devices I got this messages, that repeats in cycle: http://pastebin.com/fLM84Y2G Can you advice me, what's wrong with my configuration?07:40
apwreisei, that is a device which has not been shutdown correctly by the looks of it, i assume this is an arm device08:13
apwdupondje, as it doesn't seem to be in stable as far as i can tell you'd need to file a bug to track it08:16
=== smb` is now known as smb
smbmornings08:18
apwsmb, moin08:18
reiseiapw: yep, you're right.08:21
ppisatimoin08:21
dupondjeapw: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/94692808:21
ubot2`Launchpad bug 946928 in linux "sysfs: can not remove 'bsg', no directory" [Undecided,New]08:21
apwppisati, seen anything with arm boards not halting right, with errors from interrupts after 'System halted.' ?08:22
reiseiapw: ppisati MUSB if off, btw08:22
ppisatinothing lately08:23
ppisatireisei: which board?08:23
reiseippisati: variscite08:24
apwdupondje, what did you do to trigger this, i'd be supprised if anyone hit it08:24
ppisatireisei: variscite? omap3? omap4?08:25
dupondjeMar  4 23:08:39 laptop-jl kernel: [19951.765869] sd 17:0:0:0: [sdb] Attached SCSI disk08:26
dupondjethis was just before ...08:26
dupondjehit it 2 times even yesterday :p08:26
reiseippisati: omap446008:27
ppisatireisei: kernel version?08:27
apwdupondje, attaching and detaching external USB disks ?08:27
dupondjeapw: yea seems so08:27
dupondjeit doesn't break anything anyway08:28
dupondjebut less spam in console is always good :D08:28
reiseippisati: 3.108:29
ppisatireisei: wow, 4460 on pci module? http://www.variscite.com/products/item/76-var-som-om44-ti-omap446008:29
dupondjeanyway gtg now08:29
dupondjeand its raining like hell :(08:30
ppisatireisei: btw 3.1 didn't have all the necessary bits to support 446008:31
reiseippisati: yep. 08:31
ppisatireisei: 3.1 vanilla or linaro? and, in case of linaro, which tree?08:31
reiseippisati: what do you mean by bits?08:31
ppisatireisei: i mean support for freq scaling and dvfs08:31
ppisatireisei: without these, the cpu overheats quickly08:32
reiseippisati: linaro, but it's somehow fixed by developer of that module08:32
ppisatireisei: if it's the 3.1 tilt tree, then you should be ok08:32
reiseippisati: how can I check it?08:32
ppisatitry booting a 4460 panda board08:32
ppisatiwith that kernel08:33
* apw bounces for a new kernel ...08:33
apwwish me luck08:33
* smb already got that08:33
ppisatii updated yesterday my laptop and it was ok, except for a garbled lightdm08:34
smbHave not noticed that here, but maybe there was a change in today changing that08:35
ppisatismb: well, i'm on unity2d so could be a 2donly issue08:35
smbppisati, Is lightdm not always 2d?08:35
reiseippisati: I don't have an 4460 panda, just an old one :-)08:35
ppisatismb: uhmm... good point... actually i get the garbled screen after i logged in but before the desktop is all setup08:36
ppisatireisei: uhmmm.. our kernels are tailored toward a set of boards, could be that you have to tweak some settings08:37
ppisatireisei: do you always get this panic?08:37
ppisatireisei: do you have a screenshot?08:37
* ppisati -> coffee++08:37
smbah... think that sounds like have that for as far as I can remember (more or less) with nvidia or ati08:38
reiseippisati: Reboot goes well. Only on halt. I have dmesg log: http://pastebin.com/fLM84Y2G08:38
ppisatireisei: it seems it's a known issue - http://www.mail-archive.com/linux-omap@vger.kernel.org/msg53767.html08:45
ppisatireisei: you should look for any changes in that driver within latest linus. rmk or omap tree08:45
ppisatireisei: or simply ask agreen since he mantains that tree and maybe he already faced that problem08:45
apwBAH just had a graphics lockup, the old hang when pulling the launcher out of the side08:46
reiseippisati: ok, thank you!08:55
* smb wonders whether <super>+<alt>+<cursor> stopped moving the window in focus for other people too (ctrl+alt+shit+cursor right now... wonder was it really that before changing it to something involving super?)10:27
brendandsmb - same here. unity help says super+alt is the correct one10:32
brendandsmb - when i try that it does something in xchat, but not to the window10:32
pkhi've just upgraded to the beta and the kernel doesn't appear to support dmraid out of the box -- is this a bug or did I miss something out in the upgrade?10:33
pkhi'm back and running with the kernel from before the upgrade fine, but thought I shoudl report it anyway.10:33
smbWell I remember that there was someone saying they would do yomething about those keys (either change shift+super to something not hurting or completely revert). Just not sure whether it really was a three finger press before...10:34
smbpkh, Hm, I thought I did an upgrade test with a dmraid setup and it worked. But yes, please report it (if possible with dmesg from the failure and for comparision from before)10:36
pkhk, will do -- report where though?10:36
smbpkh, Launchpad bug report. 10:37
pkhk, will get on it.10:37
smbubuntu-bug linux  (or dmraid) one of those we can change it later10:37
smbpkh, ^10:37
pkhah, just relised that i don't think i'll be able to get a dmesg -- root is on dmraid, with new kernel I get left with that limited shell.10:39
apwpkh, you might be able to mount a usb stick within it10:40
pkhk, will ahve a play tonight and send whatever I can get hold of thought10:40
=== CharlieMike is now known as ayan
* ppisati -> out for lunch12:15
* tgardner reboots tangerine for kernel upgrade...14:02
* smb just checked dmraid with the latest kernel and it still seems to work (at least for non-root usage)...14:13
brendandif an sd card reader is connected on the scsi bus, is there any way to tell that it's an sd card reader?14:20
* cking --> back in 25-30 mins14:22
htorquehello everyone! would any kernel hacker with working systemtap be so nice and run the following as a user (user must be in groups 'stapdev' and 'stapusr'):14:37
htorquestap -e 'probe vfs.read {printf("read performed\n"); exit()}'14:37
htorquethis fails for me on ubuntu and works on fedora, and i'd like to know if others see this too.14:38
=== yofel_ is now known as yofel
=== cmagina_ is now known as cmagina
tgardnerogasawara, ppisati, apw: Precise arm* chroots on gomeisa are borken, so use tangerine. its something to do with qemu.15:03
ogasawaratgardner: ack15:03
ogasawarahow is it I just learned I can cherry-pick a range of commits now15:05
ppisaticool, latest kernel hangs on omap315:08
tgardnerogasawara, is that something new with the latest git ?15:09
ogasawaratgardner: I think so.  it's awesome.  now if only I could do an interactive cherry-pick...15:09
ppisatitgardner: afaik arm precise chroot have always been broekn due to a qemu bug15:10
ppisatitgardner: they never worked15:10
tgardnerogasawara, can you filter based on a directory or file ? e.g., git log prettyprint=online -- fs/ecryptfs15:10
tgardnerppisati, its a host issue. works fine on tangerine (which is precise).15:11
ppisatitgardner: ok15:11
ogasawaratgardner: yep15:11
tgardnerogasawara, so, something of the form 'git cherry-pick v3.2..HEAD -- fs/ecryptfs' ?15:12
ogasawaratgardner: hrm, dunno about that.  /me tests15:13
ogasawaratgardner: yep, that works15:17
tgardnerogasawara, cool, stands to reason.15:17
tgardnerogasawara, hmm, I wonder what it does about merge commits ?15:18
ogasawaratgardner: I assume it'll vomit some type of conflict that'll need resolved15:19
tgardnerprolly15:19
ogasawaratgardner: but for the most part, it's much easier to sync patches from P to Q now15:20
tgardneryep, I can imagine15:20
tgardnerogasawara, I assume you noticed I rebased sometime over the weekend ?15:21
ogasawaratgardner: I did, thanks.15:21
ckingtgardner, my last ecryptfs patches probably need the SOB and buglink popped in to the patch before applying it to Natty - my fail to pop them in15:21
tgardnerogasawara, I've been running it on one of my problematic wifi laptops. it seems to work pretty well..15:21
tgardnercking, already taken care of15:22
ckingta15:22
* cking will try to do it right next time..15:22
tgardnercking, I figured its best not to annoy you with minutiae15:22
cking:-)15:23
* smb had been assuming tgardner would do so, too15:23
tgardnercking, besides, I have the magic bjf/herton script that will munge any patch with aplomb.15:23
ckingah, nice one15:24
tgardnercking, kteam-tools/maintscripts/maint-modify-patch15:24
tyhickscking: Judging by all the eCryptfs-related SRU work you've done on the kernel-team mailing list recently, me slapping on the 'Cc: stable@vger.kernel.org' tag isn't cutting it.15:27
tyhickscking: What can I do differently to help make sure these types of patches don't get lost?15:27
tgardnertyhicks, some of these went onto Natty which is no longer a supported stable kernel.15:28
ckingtyhicks, I suspect that if they don't apply cleanly then don't land in stable15:28
tyhickscking: Right, but gregkh's scripts automatically alert me that something marked for stable didn't apply. I've only ignored 1 of those emails and that was a year or 2 ago.15:28
ckingand as tgardner said, for the Natty these need some love and attention15:28
tyhicksSo when I feel something is important enough to mark it for stable, should I also send it to the kernel-team ML after Linus takes it in?15:29
tgardnertyhicks, that couldn't hurt15:29
tyhickstgardner: Sounds good - that is trivial for me to do15:30
ckingtyhicks, fortunately the list of outstanding patches for me to test and SRU is quite small now15:33
tyhickscking: Great! Thanks for all of the work you've done on that!15:34
ckingnp15:34
tyhickscking: Hopefully I can change my workflow up a little where backports for certain releases don't get lost in the shuffle15:35
* cking nods15:35
tyhicks(going forward)15:36
brendandherton, bjf - we're trying to get the oneiric SRU done asap. could be tomorrow or maybe wednesday though15:38
bjfbrendand: huh15:39
brendandbjf, last week was supposed to be the regression testing week. we're a little behind due to a few recent issues with our test systems15:45
* ogasawara back in 2015:58
* apw dispairs at the total inequality of computation on gomisa ... how can i have 1/5th of the build threads that leann does and yet get 1% of the forward progress15:58
apwwhy do her threads get priority15:59
ogasawaraapw: they love me more :)15:59
smbbjf, I wonder whether you are currently more successful in getting cobbler to update images. Whenever I run cobbler-ubuntu-import it obscurely fails and leaves a tmp-* distro around (upgraded to precise)16:02
bjfsmb, i'll send you my runes16:04
smbbjf, Thanks. But beside that, is that a known breakage? IOW do they (server-team) know about it if yes?16:06
apwogasawara, i have been thinking about it and monitoring your builds and i cannot fathom it16:09
apwogasawara, i am starting to believe your priority is based on len(username) its about the only thing that makes sense to me16:09
apwcking, how is your build progressing ?16:11
apwcking, will you tell me when it completes16:11
ckingapw, like ogasawara has 90% of the cycles and I'm left with the crumbs16:11
ckingscheduler has US <-> UK biasing controls?!16:12
apwlen(ogasawara) > len(cking)16:12
ckinglen(cking) > len(apw) WIN16:12
Sarvattthere's always tangerine, but it builds kernels 3-4x slower than gomeisa does after it got upgraded to precise :)16:13
ohsixany one reason?16:14
ckingall the cycles are being used by the HUD16:14
Sarvattit used to take 11 minutes vs gomeisa's 9 when it was on lucid, now that its on precise its 31 minutes16:14
apwSarvatt, that is positivly awsome ...16:15
apwtgardner, do we still have a .32 kernel avail on tangerine ?16:15
ckingany physical changes on that box?16:15
apwogasawara, are your builds done ?16:16
Sarvatti noticed it first being slow on jan 20th but i hadn't built a kernel since december before that, tgardner said it was upgraded to precise in budapest16:16
tgardnerapw, its a precise user space16:16
ogasawaraapw: yep, they finished while I was away16:18
apwogasawara, perplexing your entire builds fitted into the last 1/3rd of mine, which took enormously longer than normal16:19
apwi cannot fathom what the hell is wrong with the scheduling 16:19
ogasawaraapw: something is definitely amiss as I seem to always get priority, even when you've already been building ahead of me16:20
apwtgardner, indeed, and was thinking perhaps a .32 kernel might let us see who is to blame for the performance loss Sarvatt is reporting16:20
apwogasawara, you use a higher concurrency for sure, but i don't seem to get a proportionate slice, and that i cannot figure16:21
ohsixSarvatt: i'd be interested in the cause of the slowdown if you find out; they did some io stuff that was supposed to alleviate a lot of suck from .32-3.216:21
tgardnerapw, otp16:24
slangasekherton: kees has uploaded your patch to udev for DM_COOKIE handling, after we discussed it yesterday at the global jam - thanks for the patch :)  Have you sent it to udev upstream?17:02
hertonslangasek, cool. Not sent upstream already, will take a look17:03
hertons/already/yet/17:03
keesit'd need to go with the timeout patch too17:04
hertonhmm indeed. apw, did you try to send the timeout patch, I think we would need to send both17:05
keesapw: looks like while viro says i_uid should be valid, I think calling vfs_stat is the right fix for yama. I'll send a patch17:05
apwherton, i did try, they said the kernel should not do that (emit events in the middle of handling one from udev) and they wen't going to take it17:06
apwkees, if i_uid is meant to be valid (and i agree that is what al says) then why is what you are doing wrong as it is?17:07
hertonok, so probably they will reject the DM_COOKIE patch also...17:07
hertonwhich depends on the timely patch17:08
apwherton, i would expect them to, but trying to send it again (both indeed together if that makes sense) may not be pointless17:08
keesapw: seemed easier than trying to plumb the logic into overlayfs, especially in the face of it maybe being a problem with other filesystems in the future.17:08
htorquehi all! anyone here using systemtap?17:48
apwkees, and the cost of calling stat there?17:53
ckinghtorque, I tested systemtap on Precise with some kernel stap scripts last week17:57
tgardnerogasawara, pushed a patch to ubuntu-precise-meta. please give it a quick looksee.17:57
ogasawaratgardner: ack17:57
tgardnersmb, does VNC console access to a Xen VM require X components ?17:58
htorquecking: you don't have it currently running i guess? i can't seem to get it to work as unprivileged user and wanted to know if it's just my setup or if it fails for other ubuntu users too (as the same steps work on fedora)17:58
tgardnerbug #944582 argues that xen-kbdfront should be included  in the virtual flavour17:58
ubot2`Launchpad bug 944582 in linux-meta "xen-kbdfront module should be provided by linux-image-virtual or linux-virtual" [Undecided,New] https://launchpad.net/bugs/94458217:59
htorquelike running this as user (which must be in groups 'stapusr' and 'stapdev'): stap -e 'probe vfs.read {printf("read performed\n"); exit()}'17:59
tgardnercking, is there a yama switch that you have to flip ?17:59
ckinghtorque, I always run it using sudo17:59
htorquecking: that's working here too18:00
smbtgardner, On the guest I don't think so. The host, not sure, I did not by itself install things but never checked18:00
smbtgardner, the kbdfront would likely be good for console... I'll look at it18:01
tgardnersmb, can you offer your opinion in the bug?18:01
ckinghtorque, I need to load the .ddebs for /me to try it out, let me find a box where I can test this..18:01
smbtgardner, Right, we should put that into the main package. Not sure why it is in extras...18:03
htorquecking: that would be great (if it's no trouble to you).18:03
ckingit will take me a little while to set up (my ISP is rate throttling me at the mo)..18:04
tgardnersmb, ok, will do18:04
htorquecking: yeah, downloading the 650 mb is no joy. :-(18:05
* cking nods18:05
smbtgardner, Ah ok, would have send out a patch to change it otherwise18:05
tgardnersmb, its precise, I'll just do it.18:05
smbtgardner, ack18:05
smbtgardner, Either you were so quick or its already there but in the wrong place18:07
tgardnersmb, haven't done anything yet....18:08
keesapw: that's the concern -- it's a bit expensive. semi-related -- why add the yama_permissions() function instead of using vfs_permissions()?18:08
apwi am not adding yama_permissions ?18:08
apwkees, ^^18:08
apwkees, this is coming from someone doing a touch 1; chmod 444 1; ln 1 2 ... within an overlayfs and yama barfing ... its std higher level permissions18:10
smbtgardner, I did a quick package check, it seems its there in precise but not in oneiric18:13
tgardnersmb, the path is wrong in oneiric. I'll send an SRU patch18:20
smbtgardner, Bah, seems a type hit us. I sent a quickly whipped up patch to mailing list18:20
smbtgardner, Nearly the same time18:21
smb:)18:21
smbtgardner, But yes, seems in Precise it is correct but it is wrong for Oneiric18:21
tgardnersmb, go ahead and send yours. I'll work on the meta package description updates18:22
smbtgardner, Just hit the list18:22
keesapw: the yama_permissions call from last year is what I mean -- why create that instead of using vfs_permissions ?18:24
* apw can't even find vfs_permissions now, let alone then <-- kees18:26
* kees goes looking18:26
keesapw: ah! sorry -- inode_permission18:28
apwthat does a lot more than you already did, an i wasn converting 'generic_permission()' to somethign correct in the face of a permissions op18:29
keeswhat about do_inode_permission()? that's nearly identical.18:30
apwi worry slightly that you are in a LSM op, and you call that you are calling security_inode_permission18:30
keesdo_inode_permission avoids that, but is static.18:30
apwdo_inode_permission is definatly what it means, but as you say not exported18:30
apwi think i'd refer back to you and ask what did you mean to check what permissions18:30
keesokay, so I'll leave yama as-is, and for Q, we can remove the yama link restrictions in favor of upstream18:30
apwas its always possible inode_permission is right18:31
* apw makes a note that overlayfs should be using it too18:31
apwbah18:31
keesit was unrelated to the overlayfs issue -- It was just a question I'd been meaning to ask you from when I converted the Yama link restrictions to the upstream VFS layer link restrictions18:31
apwyeah an it is an unrelated note to self18:32
apwthat i adeded half that routine to overlayfs, and possibly i should using it18:32
=== tgardner is now known as tgardner-lunch
apwwith a minor success under his belt, and having not figured out why everyeone gets prio i am giving up ... till tommorrow19:18
=== tgardner-lunch is now known as tgardner
ckinghtorque, I suspect you may need to configure systemtap-server to get it working w/o root privilege, but I'm darned if I can get it working at the moment, I'll give it a another try tomorrow20:03
dupondjejsalisbury: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/946928 , 37b40adf2d1b4a5e51323be73ccf8ddcf3f15dd3 is the commit id in upstream? http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=37b40adf2d1b4a5e51323be73ccf8ddcf3f15dd320:24
ubot2`Launchpad bug 946928 in linux "sysfs: can not remove 'bsg', no directory" [Medium,Triaged]20:24
jsalisburydupondje, yes, it appears to be in the linux-stable tree.  You should see it if you run the following in the linux-stable src tree:20:25
jsalisburygit show 37b40adf2d1b4a5e51323be73ccf8ddcf3f15dd320:25
jsalisburydupondje, that commit is also in Precise.20:26
dupondjelets see20:27
dupondjejsalisbury: the commit is not there in http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-precise.git;a=tree;hb=HEAD20:31
jsalisburydupondje, hmm, interesting.  The commit is reported with git log, but it looks like the following is indeed not it ~block/bsg.c: 20:35
jsalisbury-       sysfs_remove_link(&q->kobj, "bsg");20:35
jsalisbury+       if (q->kobj.sd)20:35
jsalisbury+               sysfs_remove_link(&q->kobj, "bsg");20:35
jsalisburydupondje, I'll do some further research and update the bug.20:35
tgardnerjsalisbury, you need to use --contains, e.g., 'git describe --contains 37b40adf2d1b4a5e51323be73ccf8ddcf3f15dd3'20:35
jsalisburytgardner, ahh, that makes sense.  So that means the patch is in v3.3-rc4, but not in linux-stable.20:38
tgardnerjsalisbury, correct20:38
jsalisburytgardner, I wasn't aware the linux-stable tree would have commits for the mainline tree.20:38
tgardnerjsalisbury, well, of course it would. for example, 3.2 stable has all of the mainline commits up through v3.2. everything on top of that would be stable commits with a different SHA120:39
dupondjejust cherry pick it :)20:40
tgardnerdupondje, already done20:40
dupondjegreat20:41
jsalisburytgardner, So any commit to the mainline tree will automatically show up in a 'git log' run against the linux-stable tree, even if it isn't applied to linux-stable yet?  And when the commit is applied, it gets a new SHA-1?20:42
dupondjetgardner: jsalisbury: changed bug to Fix Commited! thx20:43
jsalisburydupondje, thanks20:43
jsalisburytgardner, hmm, ok.  I can see all the tags up to v3.3-rc6 in the linux-stable tree.  20:44
tgardnerjsalisbury, its relative to the branch that its on, and perhaps how you've populated your repo. for example, if you've ever done a 'git fetch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master', then you'll have _all_ of mainline regardless if the object is in a branch.20:44
tgardnerjsalisbury, its likely thats what greg k-h has done20:45
jsalisburytgardner, ok, I understand now.20:45
tgardnerdupondje, don't put URLs to gitdiff in a bug because the SHA1s are not immutable until the final kernel freeze before release.20:48
dupondjeoh didn't know20:49
dupondjeanyway :)20:49
jsalisburytgardner, Unless I'm searching wrong, I looks like the commit is not in 3.2.8, but it is in 3.2.920:55
jsalisburytgardner, I run this command under both branches:20:55
jsalisburygit log --pretty=oneline | grep 'bsg: fix sysfs link remove warning'20:55
htorquecking: thanks, that's the only thing left for me to try. it's working under fedora though.20:55
jsalisburytgardner, but I only see the commit when on the 3.2.9 branch.20:55
ckinghtorque, I suspect it is some user space foo config that we're missing20:56
smosersmb, ping20:57
htorquecking: would just be nice to know that foo and document it somewhere (ideally at both wikis). especially with user-space probing you want to be able to run stuff as normal user.20:58
tgardnerjsalisbury, you're looking at linux-3.2.y ? I'm not seeing it there.20:59
ckinghtorque, i agree20:59
jsalisburytgardner, Yes, my .git/config file points to:  url = git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git21:00
htorqueanyways, thanks again for trying. :-)21:00
jsalisburytgardner, maybe I'll blow it away and re-clone it.21:00
ckinghtorque, I can't promise I can figure it out immediately, the workaround is run it with sudo for the moment I suppose21:00
tgardnerjsalisbury, there are a number of branches in that repo. make sure you have 'git checkout -f linux-3.2.y'21:00
jsalisburytgardner, ahh, maybe that's what I'm doing wrong.  I was getting the branches with git checkout v3.2.8 and git checkout v3.2.921:01
htorquecking: sure, no need to promise anything. it's good enough to know that it's no 'layer 8' issue for now. ;-)21:01
tgardnerjsalisbury, if you don't already have that branch, then 'git checkout -b linux-3.2.y remotes/origin/linux-3.2.y'21:02
jsalisburytgardner, not with the linux- prefix21:02
jsalisburytgardner, do you happen to know the difference between the v3.2.8 and linux-3.2.y tags?21:03
jsalisburytgardner, where v3.2.8 can be v3.2.N21:04
tgardnerjsalisbury, linux-3.2.y is a branch in which the tag v3.2.8 exists21:04
jsalisburytgardner, doh, right.21:04
jsalisburytgardner, so I was looking at the v3.2.9 tag in the master branch or linux-stable.21:05
tgardnerjsalisbury, yep21:05
jsalisburys/or/of/21:06
jsalisburytgardner, And the master branch in linux-stable contains the mainline commits as well?  That's why I was seeing that commit.21:07
tgardnerjsalisbury, yes, it probably _is_ Linus' master branch. I haven't looked too close.21:08
jsalisburytgardner, thanks for the help.  I think I have my head on straight now :-)21:08
* jsalisbury plans on studying all the branchs and trees closer.21:08
tgardnerjsalisbury, do a 'git branch -a' to see all of the remote branches in the linux-stable repository21:09
jsalisburytgardner, perfect, thanks!21:09
jsalisburytgardner, The linux-stable repository is making much more sense now.  Thanks for all the info.21:13
tgardnerjsalisbury, anytime21:13
* jsalisbury owes tgardner one more beer :-)21:13
ckingmmm. beer21:15
* tgardner thinks it good to have beer favors21:19
* tgardner -> EOD21:53
GrueMastersconklin: Are you online?  Questions on this power amp meter.23:29
sconklinGrueMaster: I'm just barely still here, what's up?23:31
GrueMasterI am failing in my attempts to get meaningful power from this atx harness.23:31
GrueMasterI can get decent readings from a Via ITX board, but not on this arm board.  I have vamp'd into the 3.3v, 5v, and 12v power lines.23:32
sconklinDo you get any readings at all? Are they all pretty high and don't show variation when the load changes?23:33
GrueMasterThe other issues is the closest I have to an electronics store is Ace Hardware, so connectors are hard to come by.23:33
sconklin(high is a relative term)23:33
GrueMasterThe best reading I have seen is on 5v, but it is ~0.0000045 amps when booting.23:33
GrueMasterFor reference, a panda is drawing 1.5 amps.23:34
sconklinwhen you are cutting into the power supply lines to measure current, are you sure you're cutting all the other lines with the same voltage?23:34
sconklinYou have to get it down to one supply wire and measure that23:34
GrueMasterYes.  All Orange (for example) are cut, and each group is twisted together and crimped into a connector, female on one side, male on the other.23:35
GrueMasterI knew that.23:35
sconklinI figured you did, but the symptom of very low current measurement is consistent with not having all the supply lines cut23:36
GrueMasterOnly wires left are common (black), +3.3v Sense, Power on, and power good.23:36
GrueMasterI'm going by http://en.wikipedia.org/wiki/ATX#Power_connection_to_the_motherboard23:37
GrueMasterUsing the 20/24 pin connector for reference.23:37
sconklinwhat's the board? It's possible that the current draw is really low if you're booting from flash compared with something else, for example23:37
GrueMasterFor this initial test, Marvell Dove (from pre-Maverick).23:38
GrueMasterBut even my beagle (omap3) draws 0.5 amps on power-up.23:38
sconklinyeah I would expect something like that. microamps is not in the ballpark23:39
GrueMasterThe Marvell board is about the size of a full atx board.23:39
GrueMasterThe kill-a-watt on the other side of the PS is showing more amps than that.23:39
GrueMasterEven given power drain.23:40
GrueMasterI have also used a power supply tester to check amp loads.23:40
sconklinI suppose it's possible that the meter fuse is blown for current measurement23:40
sconklinhave you moved it back to another board that gives a sane reading?23:41
GrueMasterYes.  Both Panda and Via ITX boards give sane readings.23:41
GrueMasterOf course, after my last test, half the wires came out of their crimp connectors so I have to redo that.  PITA.23:42
sconklinand the board uses 12V and 5V and 3.3V lines? and you're measuring the 5V line?23:42
GrueMasterI have measured all three lines.23:42
GrueMaster5v is the only one that actually registered with the meter.23:43
GrueMasterThe only other thing I can think of is that the board is drawing from what ever power seems better.  But there aren't enough electronics on the board to do in-line voltage regulating.23:44
sconklinI don't know what to tell you. The meter is working, because you tested it against another board23:44
GrueMasterYes, and it works well on other boards.23:45
sconklinInserting the meter shouldn't cause any changes in where it takes power from, so nothing should change 23:45
GrueMasterVery frustrating.23:45
sconklinand it boots and runs, right (I have to ask)23:45
GrueMasterI'm going to rebuild the harness with the connectors soldered in so they don't fall apart.  Then I will try powering with them all unplugged to see if the board is drawing power via osmosis or something.23:46
sconklinYou could try opening the return line (black), and that will measure the return current for all the supply voltages. But that's a lot of wires.23:46
GrueMasterYes, I am monitoring it via serial console every time.23:47
sconklinyou've invented free energy.23:47
GrueMasterI thought of chopping black, but I am limited by what I have available.  There are 8 black wires, and I have no easy way to put a connector in between.  I don't want to fry anything (even though I am using a board we don't care about).23:48
GrueMasterI'll rebuild the cable and go forward.  I might have missed a power line, but not one of the main ones.  I'm positive about that.23:50
sconklinack, let me know23:50
GrueMasterIf this doesn't work, tomorrow I make a day trip to Fry's.23:50

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