/srv/irclogs.ubuntu.com/2010/12/20/#ubuntu-kernel.txt

achianghughhalf: hi, i heard you had an arduino serial device?05:27
hughhalfachiang, umm, not sure what you mean sorry, have done some arduino stuff, but arduino serial ?06:11
achianghughhalf: hm, JFo or apw claimed that you had arduino hardware that connected via USB serial to a pc?06:12
hughhalfthis sort of thing ? http://www.freetronics.com/products/twentyten06:13
achianghughhalf: maybe i should ask my real question. :)06:18
achianghughhalf: found a lucid regression, i filed a bug a few days ago, but it doesn't seem to be getting any attention -- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/69079806:19
ubot2Launchpad bug 690798 in linux (Ubuntu) "arduino USB serial device breaks on lucid kernel upgrade (affects: 2) (heat: 12)" [Undecided,New]06:19
achianghughhalf: the reason i poked you is because apw hinted you might have the hardware06:19
hughhalfoh, ok, I've a few arduino's floating around here, yes06:20
achianghughhalf: can you find someone to take a look at it? it seems to be an easily reproducible kernel regression in lucid, which obviously isn't good06:21
hughhalfachiang, will see what we can work out, sure. 06:24
achianghughhalf: great, thanks!06:25
hughhalfquic read of that bug suggests that it may actually be that the kernel is now doing The Right Thing (TM) but that the application is now not working as it's relying on (arguably) "broken" behaviour06:27
achianghughhalf: really?06:31
hughhalfwell, like I said, an initial take on that patch is that it's correcting incorrect behaviour06:32
achiangi see, interesting06:34
hughhalfachiang, I may mis-read it though, but given Greg has signed off on it it suggests to me that he'd regard the behaviour as now being correct.06:35
hughhalfLemme look in the LKML archive and see if there is any discussion on it06:35
achiangok, thanks hughhalf 06:35
hughhalfachiang, I take it that you know the person who wrote the code ?06:39
achianghughhalf: yes, i do know him06:39
achianghughhalf: i'd be happy to explain to him that his code is broken, if you can tell me why. :)06:39
hughhalfwell, broken may be too strong, but lemme dig a bit more06:41
achianghughhalf: stepping out to buy an emergency USB key, back in about 2006:45
hughhalfno worries06:45
achiangback07:02
hughhalf:)07:02
hughhalfachiang, so my read at this stage is that the kernel patch is in all likelyhood correct and that the app may need to be tweaked to implicitly set, or clear the DTR/RTS lines the way the arduino requires them.  This based on a couple of things \07:04
keesapw: oh! were you able to reproduce 686705 ?07:05
hughhalfThe patch has been in for a couple of weeks now and was itself a revert back to the way the FTDI driver had been for some time07:05
hughhalfand it's a patch that's been scrutinised by gkh and others who have deep familiarity with serial code07:05
hughhalfsecondly, the FTDI devices are used in a huge range of hardware, not just arduino, so I'd venture we'd be seeing more problems if it were in fact broken behaviour07:05
hughhalfbut, achiang, this all based on what is it, about 40 minutes of reading on my part07:06
hughhalfachiang, I'm happy to update the bug to that effect though if you like, call it an educated guess :)07:06
hughhalfwell, somewhat educated :)07:06
achianghughhalf: what you outlined sounds reasonable to me. my concern was, "did ubuntu take a patch from upstream that was later reverted (in upstream)" 07:07
achianghughhalf: i heard a rumor about that, but admit, i did not do due diligence in chasing it down07:07
hughhalfachiang, heh, no probs07:07
hughhalfI mucked about a fair amount with USB serial code back in 2.4 days and the code, as reverted, rings true to me07:08
hughhalfbut the real clincher is the pervasiveness of FTDI devices07:08
hughhalfachiang, happy to summarise in the bug if you like07:08
achianghughhalf: i'd say go ahead and update the bug and push back. sounds reasonable, and i know the person well enough to know that his feelings won't get hurt07:09
achianghughhalf: much appreciate the research, ta!07:09
hughhalfachiang, my pleasure, a pleasant trip down memory lane :)07:12
hughhalfachiang, I'll leave it to you to change the actual disposition of the bug once you chat with your friend07:12
achianghughhalf: wow, i've never heard anyone talk about usb, serial, and "pleasant" in the same sentence07:12
achianghughhalf: ok, i'll make sure to update the bug status as appropriate. thanks again. :)07:13
hughhalfnp07:13
* hughhalf steps away for a moment07:26
apwkees, yep, seems one of my machines is showing the same symptoms ... going to rip out NX to confirm its the cause this am08:17
=== jussi01_ is now known as jussi
apwcjwatson, i have a machine which seems to reproduce the warm boot hang ... i note it hangs on the warm boot before the grub menu, before purple is asserted; any way i can ask grub whats up?09:54
apwcjwatson, just confirmed that it is NX emulation on i386 which is triggering the failure mode; backing that out clears things up09:56
cjwatsonapw: does 'grub-install --debug-image=all <device>' show any output?10:15
cjwatsonapw: wait, a *kernel* change fixes something that happens *before the grub menu*?10:15
cjwatsonapw: that's impossible10:15
cjwatsonoh, warm boot10:15
apwcjwatson, heh nothing which occurs is impossible.  yeah warm boot10:15
cjwatsongood grief10:15
apwi know ... mad isn't it10:16
apwit has to be an assumption from grub about the initial environment10:16
apwi suspect that we'd like to fix grub as well as undoing whatever we are not undoing before reboot in the kernel10:16
cjwatsonlike I say, 'grub-install --debug-image=all <device>' should produce boot-time output that at least narrows down where it falls over10:20
apwcjwatson, will get the kernel downgraded and see what i can find10:21
apwcjwatson, woh that boots _slow_10:28
apwyay purple ... this could take some time10:29
apwcjwatson, how many lines of output would i expect from a sucessful boot10:31
apwgiven they are coming out about 3-4 per second10:32
cjwatsonloads10:34
cjwatsonzillions10:34
apwdamn, i guess this test will take longer than i had hoped10:34
cjwatsonhopefully the last screenful will be useful since there's no shift-pgup10:34
cjwatsonwhat's the exact diff you backed out?10:34
apwcjwatson, sadly this is the good boot, before the bad boot10:35
cjwatsonoh.  DDTT :-)10:35
apwcjwatson, http://pastebin.com/MWcTAaZg10:35
apwcjwatson, not sure if its quicker to let it finish, or boot a USB image and fix it10:36
apwcjwatson, that diff is all about using user code segments to protect userspace from executing data10:38
cjwatsonI'd probably just let it run at this point10:38
apwit is not at all clear how that could affect grub10:38
cjwatsondifferent CS on entry?10:38
apwcjwatson, that diff btw is stupidly backwards, its the diff of the revert10:39
cjwatsonyeah10:39
cjwatsonmind you if CS were wrong *nothing* would work10:39
cjwatsondon't suppose it's reproducible in kvm?10:40
apwcjwatson, if i hold shift i get GRUB loading, but no colour change and no menu10:40
apwcjwatson, can't say i've tried it no, i was supprised when it appeared on a previously working machine10:40
cjwatsonright, that's where I need the debug-image stuff, I need to know how far it gets10:40
apwthough that occured cause i moved it to 32 bit for performane10:40
cjwatsonhave roughly no hope of narrowing it down otherwise10:41
apwyeah ... well i have the debug on :/  and once i get booted i will reboot and let you know10:41
apwstill reading the menu on this boot sadly10:41
apwnear the bottom at least10:41
cjwatsonso should this happen with the generic kernel on any i386 machine?10:41
apwcjwatson, i cannot say i am 100% sure if that, i suspect it cannot be all i386s else we'd be inundated with whining and we are not10:42
apwcirtainly it happens on a couple of atom systems, Sarvatt_ has an N270 and I have an N455 (64 bit capable) showing it10:43
cjwatsondo we know if the version of grub matters or if it's just the version of the kernel?10:43
apwi suspect the bios could easily fix things10:43
apwcjwatson, no i do not know if grub version helps, i hear but have yet to confirm that =text does not make a difference10:43
cjwatsonit would make even less sense for gfxpayload=text to be relevant10:44
cjwatsonthat only does anything at all after the menu is displayed10:44
apwyep indeed10:44
apwthough i was more thinking of the graphics=auto bit, might matter, the fact we used the bios to go graphical10:44
cjwatsonof course grub maverick<->natty is over 4000 lines of upstream changelog so exactly how much that would help for bisecting is unclear10:44
cjwatsonsure, but gfxpayload=text doesn't influence that10:45
apwahh yes so we might need a different test there to confirm if its that ... but as i have to wait on debug :/ i'll not be able to do that for a bit10:45
apwcjwatson, man this thing does a lot of small mallocs10:47
cjwatsonyep10:47
apwthat cannot be cheap :)10:47
cjwatson*shrug*10:47
matti:>10:53
apwcjwatson, ok rebooting with debug10:54
apwcjwatson, no output what so ever10:55
cjwatsonblink10:55
cjwatsonjoy, so it's really early10:55
apwand a hard-reset gives me a debug boot10:55
apwyeah really really early it seems10:56
cjwatsonso you get the full string "GRUB loading"?10:56
cjwatsonactually, what *exact* text10:56
apwcjwatson, i did not hold shift, let me re-do the test10:56
* apw hates shift10:57
cjwatsonit might have punctuation after10:57
apwwill confirm10:57
cjwatsongrub-install *without* debug-image before you reboot!10:57
apwdoing that now10:57
cjwatsonthen --debug-image=all before the warm boot10:57
cjwatsonI'd like to know where the cursor is too10:57
cjwatsonis it on the same line as "GRUB loading" (with possible punctuation), or on the next line?10:58
apwi have to boot via a usb stick to clean up for the reboots, so it takes a bit10:59
cjwatsondiskboot.S prints a dot on each read from disk, and a newline when it's finished reading10:59
cjwatsonafter the newline, it jumps to the GRUB kernel10:59
cjwatsonso we should be able to tell from the *exact* message there how far it got through diskboot.S11:00
apwcjwatson, got u11:00
cjwatsonthen there's a small pile of bootstrap assembly (grub-core/kern/i386/pc/startup.S) and then it jumps to grub_main (grub-core/kern/main.c)11:02
apwGRUB loading.<newline>11:02
apwcursor is on second line left edge11:02
apwcjwatson, when it works it prints quite some debugging next before switching to grpahics mode and going much slower11:03
cjwatsonOK, so it got into the kernel11:03
cjwatson(ours, not yours)11:03
apwand none of that pre-graphics mode debug is here either11:03
apwcjwatson, cursor is flashing, no idea if that h/w or s/w driven11:04
cjwatsonI doubt graphics is involved11:04
cjwatsonhardware11:04
cjwatsonif graphics init were relevant, there'd still be some debug output before that11:04
apwanything else to get from here, or shall i start recovering11:04
cjwatsonit would be useful to try a grub2 package with debian/patches/ubuntu_really_quiet.patch reverted11:05
apwok11:05
cjwatsoncan you assemble that or do you need me to?11:06
cjwatsonwould be lovely to have a diff of register states11:06
cjwatsonI wonder if it's one of the GDTs11:07
apwcjwatson, cirtainly we are changing something descriptor table like, though i thought it was the LDT from the descriptions in the patch11:07
apwcjwatson, i think i can do the grubby thing11:08
cjwatsonseems to be GDT entries from the code, although I admit to not being very familiar with this stuff11:09
apwcjwatson, then ... i suspect we need to put them back before reboot11:09
apwthough why this matters all of a sudden, it never seemed to on older releases ...11:10
cjwatsonthere've been a few major changes to GRUB's startup code since maverick, so I suppose that could be related11:20
cjwatsonmainly the introduction of Reed-Solomon redundancy11:20
cjwatsonhesitant to finger that for sure though11:20
apwcjwatson, well at least  it is different so it is possible this is new11:34
cjwatsonGRUB loads its own GDT on entry to protected mode11:34
cjwatsonI don't suppose no-exec ranges might be preserved across warm boot?11:35
cjwatsonso some bit of memory that GRUB's code is loaded into might be still marked no-exec?11:35
cjwatsonI have no idea how warm booting works really11:35
apwno exec ranges in this context are simply segment size offsets11:35
apwwe are likely rebooting with the segment sizes limited11:36
apwbut those are in the GDT as far as i know, so it seems it would have to be bust before protected mode somehow11:37
cjwatsonbut isn't the GDT only used in protected mode?11:43
apwcjwatson, yeah indeed, it makes no sense what to ever11:45
apwcjwatson, these extra prints, i wonder if they could be turned on by shift as well11:48
cjwatsonyeah, I was just thinking that earlier11:49
apwok i see the inverted hello message on a normal boot and _not_ on the failed warm boot11:50
apwcan't quite read it to tell you what it says, but i deffo get a new message on the normal boot now11:50
apwcjwatson, ^^11:51
cjwatsonok, so it's between the end of diskboot.S and the end of grub_machine_init11:51
cjwatsonstill a hell of a lot of hairy code :(11:51
apwcjwatson, can we print in that region ?11:52
cjwatsonit's tricky, a lot of that is in protected mode11:53
cjwatsonand printing is int 10h11:53
cjwatsonyou would have to very very very very very carefully jump in and out of real mode11:53
* apw whimpers11:53
* diwic can't do that, his carefullness is limited to three very's maximum.11:54
apwdiwic, :)11:55
diwicapw, nice to see someone working11:56
apwcjwatson, i note that we move to real mode then setup the segment registers, is that the right way round?11:56
apwcjwatson, ahh ignore that, it has to load CS to jump into real mde11:57
cjwatsonsomething like http://paste.ubuntu.com/545921/ might be worth tryinig11:59
cjwatson*trying11:59
cjwatsonsee if it's a bug in the RS code11:59
cjwatson(untested!)11:59
apwcjwatson, yep, doesn't even apply to the version in the archive :)12:09
apwcmpiling nw12:10
* apw suspects this keyboard may have had it day12:10
apwBAH avahi doesn't work on natty ... does anything work?12:12
cjwatsonno.  HTH12:15
apwhappy or hope12:16
apwcjwatson, it seems to only see itself12:19
cjwatsonI meant hope12:20
apwcjwatson, heh though you probabally did12:26
apwi would have said "good luck with that" myself12:26
apwcjwatson, ok i think turnng off the RS code there has also sorted it12:52
apwSarvatt_, about ?12:59
apwcjwatson, yeah as far as i can tell turning off just that one line of code there is enough to sort it out13:12
cjwatsonok, I'll have a poke at the RS implementation and try to find likely causes13:20
apwcjwatson, no idea what it could be doing which triggers issues13:21
diwicapw, any prognosis on when 2.6.38 merge window will open/close?13:28
apwdepends if he releases before xmas, which he has tended to do in the past13:29
apwif so, i'd expect the window to open in the beginning of january13:29
diwicapw, and it's open for a week or so?13:31
apwdiwic, normally a week, though if it opens when he releasaes i expect it to be a little longer, so probabally a full week into the new year13:32
diwicapw, and since we're likely going with 2.6.38, getting patches in there is quite soon13:33
apwdiwic, yes, now is a good time to be getting stuff ready and in maintainer trees13:34
diwicapw, the alternative is merging into Ubuntu, but the administration exercise is heavier :-/ 13:34
apwdiwic, indeed, we carry a lot of patches before tehy get to mainline if they are a justified13:35
apwcjwatson, is this using RS to encode the grub payload?13:50
cjwatsonapw: yeah, it's because some things widdle over the boot track13:58
apwcjwatson, what does STANDALONE mean in grub context ?14:00
cjwatsonapw: it's specific to grub-core/lib/reed_solomon.c14:03
cjwatsonit means it's being built for use at boot time rather than for use in the utility code (grub-setup)14:03
cjwatsonI wonder if it's something to do with trying to use memory at 0x100000 / 0x10010014:04
cjwatsonmaybe that memory isn't available?14:05
apwcjwatson, i am struggling to know what might be in there the second time that is not the first14:06
cjwatsonsort of sounds like we need a diff of e820 maps14:07
apwcjwatson, i would be supprised if they differ14:07
cjwatsonyou could try http://paste.ubuntu.com/545963/ or something just to see if it makes a difference14:10
cjwatsonpicking a low memory region at random14:10
cjwatsonthat doesn't really make sense though - grub decompresses to 0x100000 later anyway14:11
apwcjwatson, i'll give it a try14:12
apwcjwatson, this init function for the inverts does not seem to set the first element ... which i suspect means it would default 0 the first time14:19
apwcjwatson, of course i cannot tell if it ever uses the [0] in the rest of the algorithm14:20
=== Quintasan_ is now known as Quintasan
=== JanC_ is now known as JanC
apwcjwatson, i moved that bufer from 0x10... to 0x09... and it seems to work15:35
=== diwic is now known as diwic_afk
apwcjwatson, some of this code handlng the scratch buffer is a little suspect16:04
apw#ifndef STANDALONE16:04
apw  chosen = xmalloc (n * sizeof (int));16:04
apw  grub_memset (chosen, -1, n * sizeof (int));16:04
apw#else16:04
apw  chosen = (void *) scratch;16:04
apw  scratch += n;16:04
apw#endif16:04
apwcjwatson, that bit for instance neither allowed enough space (scratch is a char * not an int *) and does not init it to -116:04
apwnot that actually the init looks right either16:15
smagounHi, the lenovo-sl-laptop driver was included in l-b-m for Karmic (bug 351586). I can't find this driver in 10.10 though. Anyone know what happened to it?16:55
ubot2Launchpad bug 351586 in linux-backports-modules-2.6.28 (Ubuntu) (and 2 other projects) "please add lenovo-sl-laptop to ubuntu sauce (affects: 11) (dups: 4) (heat: 8)" [Medium,Fix released] https://launchpad.net/bugs/35158616:55
czr_achiang, maybe the arduino problem is related to this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/65586816:56
ubot2Launchpad bug 655868 in linux (Ubuntu) "[lucid regression] FTDI based USB to serial adapter no longer works (affects: 5) (heat: 38)" [Undecided,New]16:56
achiangczr_: good catch, thanks!16:57
czr_I'm being hit with the issue with lucid. using the newest backport kernel fixes it (without software modifications), but I lose bcm, and it's not a proper solution anyway16:59
xclaesseThat bug is still reproducable on latest natty: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/66294617:06
ubot2Launchpad bug 662946 in linux (Ubuntu Maverick) (and 2 other projects) "linux kernel 2.6.35 slows down the whole system because of kslowdxxx processes (affects: 38) (dups: 2) (heat: 208)" [Medium,Incomplete]17:06
xclaesseit is making ubuntu unusable since maverick here17:06
smagounTo answer my own question, it looks like functionality in lenovo-sl-laptop was at least partially folded into the asus-laptop driver17:06
keesapw: but... the nx code is unchanged from maverick :(17:30
apwkees, indeed so, there is an interaction between that and some new code in grub217:30
keesapw: yeah, very strange. is there a common "kernel is shutting down now" routine in the kernel? maybe it could reset the CS limit? that's the only thing I can think of that might survive a warmboot.17:33
apwkees, i have actually tried just commenting out the CS limit checks and not had any success, i may have done it wrong but i don't think so17:34
keeswell, the checks aren't running at grub time, it would just be the CPU state left after boot, right?17:35
apwkees, yep indeed, though grub loads the registers in use for this feature in theory17:46
apwkees, simply put having poked it for nearly a whole day I am none the wiser as to why it occurs17:47
apwi know of two ways to mitigate the issue, but no idea waht the issue really is17:47
keesapw: what are the mitigations?17:49
apwrevert the nx patch (diabling it does not seem to work)17:49
apwor turn of the error correction core in grub17:50
keeserror correction core?17:50
apwor actually, 3) move the EC core scratch buffer17:50
kees_move_ it?!17:50
apwit does reed-solomon encoding on the the stuff in track 0 to cope with mangling of its stage2 or something17:51
keesthat makes even less sense. is a memory map surviving boot or something?17:51
apwkees, i know ... it makes no sense on the face of it17:52
apwi suspect it is a bug in the reed solomon decoder, but why the presence of the NX code triggers it i have no idea17:53
apwthe presense of it before the last full processor reset of course17:53
keesapw: maybe the grub code isn't clearing some area of memory that just happens to have the NX code in it or something, and it's comparing the wrong areas? ram contents would survive the warm boot.18:03
apwkees, yeah i am working on the assumption its a memory layout issue, that the NX stuff is moving things18:03
apwbut this is mad code written by propeller headed maths people18:04
apw"this is simpler thought of in the frequency domain" .... EEEK18:04
keeshaha18:06
apwi know ... and its all magic maths, special code doing powers and vile ick all with 1 letter viariable18:07
cjwatsonan uninitialised memory bug seems likely18:10
apwyeah, and a pig to find that is going to be18:11
cjwatsonI've mentioned it to upstream18:11
apwcjwatson, thanks18:12
apwi have found one apparent bug, but i cannot really see how it would trigger this behaviour18:12
apwas in it looks like it would be always broken or we are always  lucky18:13
cjwatsonthe missing memset looks like a good candidate18:15
apwcjwatson, doesn't seem to be a memset in STANDALONE either18:16
apwthough the allocation for that one is 1/2 it should be18:16
cjwatsonthat's what I meant18:16
xclaesseapw, about 662946 you asked me to test natty kernel... I'm running up to date natty here, and I can reproduce the bug18:19
apwbug #66294618:19
ubot2Launchpad bug 662946 in linux (Ubuntu Maverick) (and 2 other projects) "linux kernel 2.6.35 slows down the whole system because of kslowdxxx processes (affects: 39) (dups: 2) (heat: 212)" [Medium,Incomplete] https://launchpad.net/bugs/66294618:19
apwxclaesse, odd, noone else who had that original issue is still experiencing it (/me for instance) so i guess we have some other bug/trigger for kslowd usage ... hmmm18:25
xclaesseapw, it is not kslowd anymore18:28
xclaesseit is kworker18:28
xclaessebut result is the same18:28
apwindeed18:30
* apw wonders if kworker has any debug support18:30
apwcjwatson, ok changing that size alone does not work18:32
cjwatsonapw: I'm attempting to valgrind it18:35
apwcjwatson, woh ... now that is brave :) ...18:36
apwcjwatson, am now building with a 'memset' over the array on that routne18:36
* apw thinks this one is going to be a tiny little error, and this is going to take some time to find18:36
apwkees, do you have a machine which reproduces this issue ?  it seems any atom running i386 should be suspeceptible18:37
cjwatsonapw: http://paste.ubuntu.com/546052/ seems to be enough to make valgrind happy18:39
cjwatsoncan you try that?18:39
apwcjwatson, there is no memset in STANDALONE18:39
apwi am trying this which is equivalent18:39
cjwatsongrub_memset18:40
cjwatsonand yes there is18:40
cjwatsonjust have to spell it right :)18:40
apwcjwatson, really there doesn't seem to be, i got a compile failure from moving that line down18:40
keesapw: I don't, no. other atom systems I've tried don't show it.18:40
cjwatsonapw: hang on a moment then18:41
apw  chosen = (void *) scratch;18:41
apw  scratch += n * sizeof (int);18:41
apw  for (i = 0; i < n; i++)18:41
apw    chosen[i] = -1;18:41
apwi just am using that18:41
apwas i _think_ that is what they really meant, i don't think they want the bytes to be -1, but each choice18:41
cjwatsonapw: try http://paste.ubuntu.com/546054/ then18:43
cjwatsonapw: it's equivalent surely18:43
cjwatson-1 is all-bits-set18:43
apwi guess it is, yeah, but ... naughty18:43
cjwatsonstill, would prefer you to test minimal-change from upstream if you could18:44
apwcjwatson, yep, am testing with your patch now ...18:44
ohsixis the rtc hack all you have when you don't have a serial port when you're debugging suspend/resume problems?18:45
apwohsix, pretty much yes18:45
apwthey should never have allowed them to take the serial ports off these machines18:45
mjg59apw: USB debugging's not that hard to support18:46
apwohsix, some peoplpe have a pcix card with lights on which they use, but that involves taking your machines to bit18:46
apwmjg59, yeah it is if you want to test suspend/resume though18:46
apwas either its suspended and you can't use it, or its not and the behaviour of half your devices change (in my experience)18:46
apwsomeone had a memory buffer for debug stuff somewhere, but i forget who18:47
ohsixmine stopped waking up a while ago and too many things updated in the window for me to know which bit it is (i had been using the xorg-edgers ppa & kernel)18:47
apwmjg59, we do build in some usb stuff to make it easier to debug, but not to much gain 18:47
mjg59apw: Sorry, may not have been clear. The USB debug port spec.18:47
cjwatsonapw: thanks18:47
apwmjg59, ahh yes, not that i've managed to find a device implementing the other half18:48
mjg59It basically gives you a bit-banging interface that can function as a console even if you don't have the full USB stack up18:48
apwcjwatson, i wish this compile was faster ... its a slow iteration what with the two reboots too18:49
ohsixit should dtmf the pc speaker so you can record and decode it :D18:49
apwcjwatson, hrm adding that produced _these_18:49
apwreed_solomon.c: Assembler messages:18:49
apwreed_solomon.c:699: Warning: ignoring changed section attributes for .text18:49
apw../../../grub-core/kern/i386/pc/startup.S:163: Error: attempt to move .org backwards18:49
cjwatsonoh 'eck18:49
apwam i going MAD ?18:49
cjwatsonno, there'll be a constant size somewhere to adjust18:50
apwoh one of those18:50
cjwatsoninclude/grub/offsets.h, crank GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART up until it works18:50
cjwatsonshould only be a tiny bit to account for the code size increase18:51
apwcjwatson, yeah slammed in 24 whole bytes of space18:52
ohsixwasn't there something you can do to keep the display/console alive to spam you during wakeup? does that not work with kms/the non-vesa drivers?18:53
cjwatsonoddly, it compiled here without that change18:53
apwcjwatson, wibble18:53
apw+  //gf_invert[0] = 0;18:54
cjwatsonI'll clean my build tree and try again18:54
apwthats the only other change i think i am carrying18:54
cjwatsonis that needed?  valgrind didn't pick that up18:54
apwcjwatson, its commented out18:55
cjwatsonok18:55
apwi noticed it wasn't initialised in my testing, but i suspect its never used18:55
cjwatsonprobably not.  I agree this is mathmo code18:55
apwyou can just tell its an implementation of some equasion ... it feels like RSA key generator code18:56
mataharihi all19:05
matahariAfter an apt-get upgrade, update-initramfs -k all -u -v is hanging. Last line of output is: Adding module /lib/modules/2.6.35-24-generic/kernel/fs/udf/udf.ko ;apt-get hang up on upgrade, and i had to run dpkg --configure -a , but it hook up at generating the initramfs... Do you have any hints what i could try or even a fix? Thanks!19:08
apwmatahari, not heard of that before no19:10
apwyou could try stracing it to see what it is doing19:10
mataharihow can i do that?19:13
ohsixapw: stock ubuntu kernels can do pm_trace right? i just tried it and the rtc was still set to wall time19:17
kees\o/ resize2fs corrupts filesystems in natty!19:23
=== yofel_ is now known as yofel
matahariapw: stacktrace is hanging as well; this is the output: http://pastebin.com/qJpwaPWc19:24
apwmatahari, you need -f on strace i suspect19:24
apwcjwatson, that turned my grub into an instant reboot19:27
cjwatsonhmph.  well, EOD here ...19:29
matahariapw: okay, now i see much more :-) actually it is hanging with repeating the following output all the time: http://pastebin.com/yzcAdBW419:32
apwcjwatson, yeah same here, same place same channel tommorrow for the next thrilling installment19:32
apwcjwatson, of course it just exploding may be indicative that the memory scratch is pointing to is not a good place19:32
ohsixyea nothing from the rtc thing,c an i assume waking up didn't fail? something after waking up is locking it up?19:34
apwohsix, very very hard to tell in all honesty19:37
ohsixhrmph well i need it fixed, haven't got any work done most of the month :|19:37
apwhave you tried logining into the machine remotly to see if it is alive?19:38
ohsixif the keyboard lights and stuff don't work when i hit caps lock and the drive doesn't make any noise, it's already dead, no? i can try that though19:39
ohsixno on the network after unsuspend19:56
matahariapw: now - after 15minutes strace is still hanging at that line.... :-( Do you have any ideas what i can do further?19:56
ohsix[    0.612174] acpi device:02: hash matches20:10
ohsixi'll have to dig some more later; i dunno why that was in dmesg actually, bbl20:22
matahariapw: well, i'll try to reboot now - let's see what happens...20:36
keesis upstream bugzilla down?20:45
keesooh, back now20:45
lamontoh mighty kernel diziens: someone got a minute to 'splain md*/stripe_cache_size to me and save me digging in the source later?  (If you're gonna dig, don't bother - I'm just trying to save myself the reading effort)21:28

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