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

lamontis there any easy way to throttle back how many scsi requests the kernel queues at any given time?03:54
keeslamont: I thought there was a queue depth argument, but my very faded memory says it was driver-specific03:57
lamont3w-xxxx03:57
keeshmpf, modinfo doesn't show anything03:58
lamontcolor me silly, but swraid6 over 4 drives, currently has 2 of 4 live, recovers one to get to 3, starts down recovery for #4, and one of the 3 fails during that with request timeout type errors03:58
keesew ew03:59
lamontyeah - it's getting kinda boringly cool03:59
lamont      3844114304 blocks level 6, 64k chunk, algorithm 2 [4/2] [UU__]04:00
lamont      [>....................]  recovery =  0.1% (3679104/1922057152) finish=996.2min speed=32092K/sec04:00
* lamont adjusts the raid speed limit max downwards04:02
lamontDec 16 16:57:32 corn kernel: [40415.519987] 3w-xxxx: scsi3: Command failed: status = 0xc7, flags = 0x1b, unit #4.05:17
lamontso what's that mean05:17
=== JanC_ is now known as JanC
=== diwic is now known as diwic_afk
=== diwic_afk is now known as diwic
JFoSarvatt, you around?14:01
apwtseliot, are you aware of bug #56643714:04
ubot2Launchpad bug 566437 in fglrx-installer (Ubuntu Natty) (and 1 other project) "package fglrx 2:8.723.1-0ubuntu2 failed to REMOVE: error exit status 2 - dpkg-divert: mismatch on package - while removing the package (affects: 112) (dups: 27) (heat: 431)" [High,Triaged] https://launchpad.net/bugs/56643714:04
apwtseliot, seems to have appeared on the release team radar for natty all of a sudden14:05
tseliotapw: err.. I haven't used diversions in my packages since hardy (if I remember correctly)14:06
apwtseliot, oh hrm ...14:07
apwtseliot, so it is unlikely its valid any more?14:07
tseliotapw: wait I guess that was lucid, not hardy14:07
tseliotapw: so that's something left by his Karmic installation14:07
apwso it would be a lucid issue reproducible in maverick only then14:07
apwoh a karmic issue in theory not reproducible later than lucid then14:08
apwtseliot, though in comment #18 somone is claiming to be on maverick14:08
tseliotapw: I guess we still try to remove that diversion though (so as not to break dist-upgrades, in theory...)14:08
apwtseliot, so i'll phrase it that way then14:11
tseliotapw: I'll have a look at it. Thanks for bringing it to my attention14:11
dokoapw, tgardner: any quick advice on http://launchpadlibrarian.net/60798677/buildlog_ubuntu-natty-i386.netcfg_1.57ubuntu3_FAILEDTOBUILD.txt.gz ?15:02
apwdoko, is that new ?15:03
apwdoko, and is that building in the archive or a PPA ?15:04
dokoapw: today's sync from unstable15:04
apwdoko, these headers seem familiar, like we fixed something for them15:04
apwi wonder if a work around is still in place in that package which is no longer appropriate15:05
apwdoko, specifally is there an ubuntu fix changing the net/if.h include to something else or similar ?15:05
apwdoko, if you can point me at the build record itself with the package source and diff i may be able to answer my own questions15:06
dokoapw: https://launchpad.net/ubuntu/+source/netcfg/1.57ubuntu315:06
apwdoko, well that upload does contain a revert for a workaround ...15:07
dokoapw: ahh, wait, cjwatson did upload, not a sync. so I'll wait a bit ;)15:10
apwdoko, yeah15:10
cjwatsonI reverted a patch which was supposed not to be needed any more15:20
cjwatsonand it built fine locally15:20
cjwatsonit does look like another double-inclusion bug, but why can't I reproduce it here I wonder?15:21
apwcjwatson, i can't see why it would occur either15:23
apwas i cannot find anything which triggers the linux/if.h include15:23
apwcjwatson, and the headers do seem to be updated correctly in the build15:25
apwcjwatson, on my system with the headers installed the 'fix' for the original issue is in place correctly15:28
cjwatsonright, I did actually compile-test it before uploading :)15:28
apwcjwatson, i am confused by the error as the bug we fixed (which looks the same) was triggered by an include of linux/rtnetlink.h15:33
apwcjwatson, indeed i am at a loss as to how linux/if.h has been included, but it must have occured before15:34
bfallikis there a way I can interrupt boot or modify grub args to boot into a busybox shell?  I want to poke around the initrd world.15:37
apwbfallik, yeah there is, there is a way to stop in the initramfs in a number of places15:38
cjwatsonubiquity fails in the same way, of course15:38
cjwatsonbfallik: https://wiki.ubuntu.com/DebuggingKernelBoot15:38
apwcjwatson, gurgle15:39
cjwatsonapw: it incorporates a copy of netcfg so it's not surprising15:39
bfallikthanks15:40
apwcjwatson, ok i can reproduce this here ... trying to debug15:45
apwIn file included from /usr/include/iwlib.h:56:0,15:47
apw                 from netcfg-common.c:26:15:47
apw/usr/include/linux/if.h:1:2: error: #error wibble15:47
apwcjwatson, ^^ seems that iwlib.h is to blame15:47
apw#include <sys/socket.h>                 /* for "struct sockaddr" et al  */15:48
apw#include <linux/if.h>                   /* for IFNAMSIZ and co... */15:48
apw /* Glibc systems headers are supposedly less problematic than kernel ones */15:48
cjwatsonhow come it doesn't break locally though?15:48
apwthose two are commented as above ...15:48
cjwatson(going to have to write up stuff for release meeting now)15:48
apwcjwatson, it breaks locally for me in a natty-amd64 chroot 15:49
cjwatsonI'll have a look later then15:49
apwcjwatson, if i change the linux/if.h to net/if.h in iwlib.h then things compile ... no idea if that is a reasonable change though15:54
cjwatsonapw: I don't know - feel free to upload if you think it's likely to improve matters16:00
apwcjwatson, still looking at it, but the meeting gets in the way16:07
cjwatsonyeah16:10
=== Sarvatt_ is now known as Sarvatt
apwcjwatson, ok back at this thing ...17:27
apwcjwatson, i think that this sounds like the issue getting introduced17:27
apwwireless-tools (30~pre9-3ubuntu5) natty; urgency=low17:28
apw  * header-with-2.6.36.patch: Replace the if.h header used in iwlib.h by17:28
apw    the one provided by the kernel instead of using the one from libc. The17:28
apw    kernel headers now provide the same structures and linux/if.h would17:28
apw    otherwise conflict, since it gets pulled in from wireless.h. (LP: #672584)17:28
apw -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>  Tue, 09 Nov 2010 15:29:06 +000017:28
apwwireless-tools (30~pre9-3ubuntu5) natty; urgency=low17:28
apw  * header-with-2.6.36.patch: Replace the if.h header used in iwlib.h by17:28
apw    the one provided by the kernel instead of using the one from libc. The17:28
apw    kernel headers now provide the same structures and linux/if.h would17:28
apw    otherwise conflict, since it gets pulled in from wireless.h. (LP: #672584)17:28
apw -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>  Tue, 09 Nov 2010 15:29:06 +000017:28
apwcjwatson, what i cannot tell from the description is whether its no longer necessary now the other bug if fixed or not17:31
apwcjwatson, ok looks like that package is a bit of a mess, am working on getting it to compile since the compiler changes17:42
cjwatsonhm, right, maybe that should be reverted17:42
apwcjwatson, pointeless for us both to work on it17:42
cjwatsonnot too sure17:42
cjwatsonyeah, indeed17:42
cjwatsonthanks17:42
apwcjwatson, well it claims its to maek the package build17:42
cjwatsonbut that was before your linux-libc-dev fix17:42
apwso am trying to confirm that, and now its not anyhow :)17:42
apwright so i think it can be reverted but to confirm i need to fix the link issues the new compiler has introduced in it17:42
apwsigh17:42
apwcjwatson, and its good experience for me to work on non-kernel17:43
* cjwatson wonders if there's a better way for plymouth to spot nouveau substituting itself for vesafb than just listening for all uevents and looking for fb0 being removed/added17:45
cjwatsonthere's a custom fb notification chain thing in the kernel, but it seems to be internal AFAICS17:46
apwcjwatson, that is a difficult question17:46
cjwatsonfb0 removed => plymouth hide-splash; fb0 added => plymouth show-splash doesn't seem *entirely* unreasonable as logic17:46
cjwatsonI was just wondering whether it was the most efficient way to get that information17:46
cjwatson(and it probably means having /lib/plymouth/renderers/frame-buffer.so link against libudev, but hey-ho)17:49
apwcjwatson, no as we may not keep up either17:49
cjwatsonhmm?17:50
cjwatsonno to which bit?17:50
apwcjwatson, oh i mean we may be running against ureadahead so very slow to react17:57
apwcjwatson, so we may not clear down immediatly not redraw then either, which  may make the interaction a problem17:57
Sarvattcjwatson: so I have 2 machines screwed up before the grub kernel selection screens even come up, do you have any tips on how to debug it further? one reboots and the other hangs at GRUB loading after a warm boot 100% of the time17:57
apwcjwatson, so if a package has no VCS: line do i assume what is in 'apt-get source' is the way to get the source to modifiy it17:59
cjwatsonapw: I can't see how we can react faster than udev, really ...18:13
cjwatsonSarvatt: does holding shift at boot change anything?18:13
cjwatsonSarvatt: also 'grub-install --debug-image=all <whatever device you install to>' may make it (lots!) more verbose18:13
cjwatsonapw: yes18:14
apwcjwatson, ok ... would you be able to review a package for me?18:14
cjwatsonapw: sure18:14
Sarvattcjwatson: just makes the GRUB loading message display, otherwise it just silently reboots/hangs. thanks a ton, wasn't having any luck finding that magic18:14
apwcjwatson, so it seems that backing out that patch in wireless-tools seems to still allow it to build and fixes our dependant build18:15
apwcjwatson, i have also had to fix a compile issue with it related to our new compiler18:15
apwcjwatson, see chinstrap:~apw/sign/wireless-tools_30~pre9-3ubuntu6*18:16
cjwatsonlooks mostly fine though two things18:17
cjwatson(1) actually remove the header-with-2.6.36.patch file as well as removing it from series18:18
cjwatson(2) I think better link order would be:18:18
cjwatson$(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc18:18
cjwatsoni.e. keep -lc after $(LIBS)18:18
apwcjwatson, will test that now18:18
apwcjwatson, ok moving -lc works, though i suspect its not needed given it worked with it in the wrong place too18:25
apwi've dropped the patch, quite why quilt remove FOO doesn't remove the patch is a mystery to me18:26
apwand pushed the updated packages to the same place18:26
apwcjwatson, ^18:32
cjwatsonyep, that's fine, want me to upload?18:33
apwcjwatson, sure, it needs a sponsor 18:35
cjwatsondone18:35
apwcjwatson, i assume we'll have to re-upload the netcfg etc as well, but i guess you have that in hand18:35
apwcjwatson, and thanks for your help18:36
cjwatsonnah, can just mash retry on those18:38
cjwatsononce wireless-tools builds18:38
apwahh of course they didn't publish 18:39
apwcjwatson, all built, be in the archive in an hour 18:51
cjwatsoncool18:56

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