/srv/irclogs.ubuntu.com/2011/12/05/#ubuntu-kernel.txt

=== himcesjf1 is now known as himcesjf
=== ericm|ubuntu is now known as ericm-afk
ppisatimorning *08:00
=== ericm-afk is now known as ericm
* smb drags himself in...08:53
smbmorning .+08:53
* smb hopes the second cup of coffee does help more than the first one...09:08
=== Guest37602 is now known as jpds
* apw looks about bleariliy10:21
smbapw, Feel any better than Friday?10:22
apwyep in one piece today10:22
brendandapw - were there any significant changes to wireless in this -proposed kernel?10:25
brendandfor oneiric10:25
smbbrendand, there is a changelog for that... ;)10:25
apwbrendand, i would be supprised if there was any big changes at all10:26
apwbrendand, i guess it is a bigger question what is your new problem10:27
brendandapw - both of the laptops we're testing that have a 'BCM4312 802.11b/g LP-PHY', the wireless card is acting up10:28
apware they using wl ?10:28
brendandapw - lspci -vv10:30
brendandhttp://paste.ubuntu.com/760260/10:30
apwso what is the symptom ?10:30
apwbrendand, so does the machine have wl binary direvers installed ?10:33
brendandapw - ok. i think it's likely we need to account for the case where a system has to have the binary drivers installed10:34
brendandapw - i'm guessing this is one10:34
apwbrendand, so we don't know the machine worked in the current configuration on the old kernel?10:35
brendandapw - oh, it's certified so it worked. it seems that you're saying this card requires for binary drivers to be installed though? that would have been done during certification but not necessarily during the automated run10:36
brendandapw - actually, i'm quite sure it wouldn't have been done during the automated run since we don't have anything in our install scripts to do that10:37
apwbrendand, well actually what i though you were telling me was that it worked in this test rig before this -proposed kernel and does not with only the kernle changed10:37
brendandapw - that's what i was thinking until you mentioned about the binary drivers10:37
apwbrendand, i was asking about the wl driver as i would expect wl installed on that card, but some broadcom stuff does work without10:37
apwbrendand, so its a question not a statement from my point of view10:37
brendandapw - ok. so the wl driver is not installed for the automated test run, but it was when the system was certified10:38
apwbrendand, ahh then that may well make sense then10:38
brendandapw - i'll get the lab engineer to rerun the tests with the wl driver installed. it should probably work then10:42
apwsounds good10:43
=== himcesjf1 is now known as himcesjf
ledzgiohi all11:13
apwhi11:19
ledzgioanyone can help me with a net card atheros AR8151 on ubuntu 11.10?11:20
apwwhats the issue?11:27
ledzgioyes11:29
ledzgiothis card gets disconnected when I download with torrent for example at high speed11:29
ledzgioand I have to rmmod module (that is atl1c) and modprobe it again11:30
ledzgioi have kernel 3.0.1411:30
ledzgiowith ubuntu 11.1011:30
ledzgioi have googled a lot11:30
ledzgiobut no luck11:30
ledzgiotoughts?11:30
apwi've cirtainly not heard of specific issues with atl1c recently, other than issues i had on natty with it failing to detect carrier at all11:31
apwsince then i'd not had issues with the atl1c i have.  that said i primarily use that machine on wireless11:32
ledzgioI cannot understand because if I surf on internet it works normally11:32
ledzgiowhen I donwload with deluge at high speed it gets disconnected11:32
ledzgiomine is ethernet11:32
ledzgioI dont have wireless on my desktop11:32
apwthat isn't entirly unexpected, high load is likely to trigger any latent issues11:32
ledzgioand ythe wireless module is disabled by default in blacklist11:32
apwindeed, i was saying i don't use the ethernet on that machine much and not under high load11:33
ledzgiook..may I try some workaround?11:33
ledzgioit happens even if I reduce the speed of deluge11:33
ledzgioafter a while it disconnects 11:34
ledzgioi can send you the dmesg log of the error11:34
apwwell it would make more sense to file a bug with the information11:34
apwas for debugging it, you could try running a later kernel, that may be fixed11:35
* apw checks if cw has ethernet too11:35
ledzgioI have tried the 3.0.1411:35
ledzgiohow can I try an experimental kernel?11:35
apwyeah i am more thinking a 3.2 based kernel11:35
ledzgiohow can i try a 3.2 kernel?11:35
ledzgioshould I compile it or just add some ppa?11:36
apwhttps://wiki.ubuntu.com/Kernel/MainlineBuilds11:36
apwthose are just for testing, but if it is fixed later we have more hope of finding the fix11:36
ledzgiook so just download the deb files and install them with apk?11:37
apwwith dpkg11:37
ledzgioyes sorry dpkg11:38
ledzgiook11:38
ledzgioI'll give it a try11:38
apwi'd suggest a 3.2-rc4 for example11:38
apwas if its not fixed there, its not fixed upstream11:38
ledzgiook..is there a way to check some changelog to verify that 3.2 kernel has some change on my card?11:39
apwthe upstream git repository has every commit made, and we are talking from v3.0 -> v3.2-rc411:41
ledzgiourl?11:41
apwthere doesn't seem to be much if i am honest so your chances are low11:43
ledzgiook...I may think to buy a new net card11:44
apwlucky you, mine is builtin11:44
ledzgiomine too, I have never had luck with builtin cards11:45
ledzgio:)11:45
ledzgiothank you anyway dude11:47
apwgood luck11:47
ledzgiosorry last question11:48
ledzgiothe most supported lan cards are those with realtech chipset?11:48
ledzgiocause if I have to buy a new one...I want to buy one well supported11:49
apwi think a better answer is _older_ cards are best supported, i have had good luck with older RTL lan devices, and with intel cards11:49
apwi have a BCM in my dell box, and that works ok on ethernet11:50
* apw notes that all the worst wifi stuff is made by the people who make some of the least problematic ethernet cards, how odd11:50
ledzgiook thank you11:51
apwSarvatt, ok in theory at least on the incident of lp losing its mind we should just move the upload files aside for manual handling11:55
=== bladernr_afk is now known as bladernr_
=== cmagina_ is now known as cmagina
=== yofel_ is now known as yofel
ogasawaraapw: just curious how you went about doing your test builds for armhf?14:41
apwogasawara, heh you don't want to know ... 14:42
ogasawaraapw: I'm assuming it's a bit of a hack?14:42
apwogasawara, i symlinked the armel compiler crosscompiler binaries to the armhf binaries in one of our chroots14:42
ogra_you can use an armhf chroot inside an armel setup14:43
apwogasawara, and then cross compiled it there14:43
apwogra_, yeah, but you can't make one :)14:43
ogra_or use the hf cross toolchain14:43
ogra_apw, thats what we have ubuntu-core for ;)14:43
ogra_it is one :)14:43
apwogra_, so are there armhf cross compilers now ?  in the arhive?14:44
ogra_ask hrw, i think there is since oneiric14:44
apwogra_, ta14:45
apwogasawara, before i pollute you with my shit i'll figure out if there are official builds14:45
ogasawaraapw: ack14:45
apwogasawara, but in principle if it works for armel, and you do the same thing to hf as el it should be ok14:46
ogra_yeah, especially on the kernel level the naming is plain for the package name14:47
ogra_we could even just cp *armel.deb to *armhf.deb if the archive would allow that14:47
apwtgardner, i see there are official armhf cross compilers for precise, could we get those installed in the i386 chroot14:47
apwogra_, it is annoying that we can't do that at times given the cost of makeing it14:48
tgardnerapw, yeah, I'll work on  that today14:48
apwtgthanks14:48
apwtgardner, ^^14:48
ogra_apw, agreed, though in the end armel will be gone anyway14:48
ogra_its only a temporary thing 14:48
apwogra_, "temporary" as in supported for 5 years |14:48
apw?14:48
ogra_apw, heh, probably 14:49
ogra_i hope not though ... hf looks pretty good already 14:49
apwogra_, do you think armel may go for precise?14:49
ogra_if until feature freeze no disasters show up hf will be the 5 yearer14:49
ogra_it wont go14:50
ogra_but it wont be the supported arch14:50
ppisatiah no?14:50
apwso we pay the pain, which is no help really14:50
ogra_we'll decide at FF based on how hf looks like14:50
ogra_we all do, yes14:50
ppisatiwhen is feature freeze?14:50
ogra_initially hf was expected to be brought up by linaro before oneiric is done14:51
ogra_ppisati, iirc some time in feb14:51
ogra_we currently all pay for the delay 14:51
ogasawarappisati: feb 1614:51
ppisatiok14:51
=== ericm is now known as ericm-Zzz
* apw idly wonders what the heck software centre spends all its time doing when updating it sw catalogue14:53
ogra_running apt-update-xapian-index i bet 14:54
apwwell it s14:57
apwshould be doing it quicker14:57
* ogra_ always has fun with it on his SD card driven machines :)14:58
ogra_can easily steal you 1h of your day :)14:58
apwman that sucks15:01
infinityapw: Can I pick your brain?15:19
smbsounds somewhat cruel...15:23
* ogasawara back in 2015:38
apwinfinity, yo go ahead ...15:45
* apw notes that OSDs appear on his right monitor regardless of whether that is connected to the display ... sigh15:45
infinityapw: Hey.  So.  Trying to think about future-proofing lp-buildd for when we upgrade the buildds to precise.15:45
infinityapw: And we almost certainly want to use the uname26 personality, since they need to be building sources all the way back to hardy that we won't want to fix.15:46
infinityapw: But, in local testing, linux32 and uname26 seem to be mutually exclusive.15:46
infinityapw: Is there a sane reason for that, or is it just because of the way they're setting the personality mask (ie: could it be rewritten to set both?)15:46
infinityapw: I know nothing about personalities, and haven't looked much.  Thought I'd ask someone who I suspected might know.15:47
apwinfinity, i don't know off the top of my head, i have not really looked at the uname26 one.  i suspect it must be possible to make both active somehow15:47
infinityhttp://mirror.linux.org.au/linux/kernel/people/ak/uname26/15:48
infinity^-- dirt simple.15:48
apwinfinity, well assuming 32bit comes from the personality bit limiting address space, they appear to be independant15:51
infinityapw: So it might just be that linux32 is rewriting the entire mask and blatting uname26, or some such?15:52
apwwhere do i find the source for linux3215:52
infinity(Though I couldn't mix/match them regardles of the order I called them in)15:52
infinityapw: linux32 is from util-linux.15:52
ohsixdoesn't it just change the personality the invoked program runs with15:52
infinityohsix: Yes.15:53
apwinfinity, so i suspect its because both just change the personality15:53
infinityapw: Rather than masking it?15:53
infinityapw: ie: they're overwriting each other's hard work?15:54
apwinfinity, ok in that sample uname26.c try changing the PER_LINUX to PER_LINUX3215:54
apwand see if that on its own the does both15:54
infinityadconrad@cthulhu:~/uname26$ ./uname26 uname -a15:55
infinityLinux cthulhu 2.6.40-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 i686 i686 i386 GNU/Linux15:55
infinityLookie there!15:55
infinityapw: Snazzy.15:55
apwinfinity, so yeah they are overwriting each other15:55
infinityKay.  Well, I don't necesarily even have to daisy-chain them for the buildd case.  I can just use this dead-simple uname26-32 deal and package it up.15:56
apwso i presume we can inject our own version of linux32 when building against maverick and older15:56
infinityBut fixing linux32 to not override uname26 would be nice.15:56
apwinfinity, yeah i guess it'd have to look up the curent one and or in its stuff15:56
infinityOr we could patch linux32 to take a -2 switch.15:56
infinityapw: Anyhow, I just wanted to make sure it was possible, which you just proved.15:57
infinityapw: I'm the util-linux maintainer, I can hack up linux32 to have more options.  Probably the sane way.15:57
apwinfinity, and that does sound like something we are going to need for what maverick and older i guess15:57
infinityapw: Yeah, I'm going to land this all in lp-buildd and precise's util-linux sometime this week, so we don't forget and panic later.15:57
apwyeah a good plan indeed15:58
tgardnerapw, armhf Precise chroot on gomeisa. still working on gcc-arm-linux-gnueabihf; deps are broken.15:59
apwtgardner, oh as in a qemu emulator one is working ?16:00
tgardnerapw, seems to be16:00
apwtgardner, most unexpected16:00
tgardnerapw, dunno why not. armel has been working for a bit16:00
apwtgardner, and it should be identicle, so clearly there is no hope of it working16:01
infinityOh, there's an armhf chroot on scheat now too, if you need a porter box.16:01
infinityExcept that lamont hasn't install rapt...16:01
infinitySo, no apt-get fun.16:01
infinityI'll chase that up. :P16:01
lamontmeh16:02
lamontI'll do that once I hit town16:02
=== MikeSeth_ is now known as MikeSeth
apwjibel, ok i think there is a significant portion of needing lots of CPU up the guest for this problem, i remained unable to reproduce it, moved to a much bigger test box, and couldn't not reproduce it making it hard to install a test VM16:16
apwjibel, anyhow, making progress slowly now16:16
tgardnerogra_, whats the story on the armhf cross tools? it looks like it was uploaded 8 weeks ago and FTBS'd. https://launchpad.net/ubuntu/+source/gcc-4.6-armhf-cross - what are you using ?16:16
jibelapw, I can give you access to the box if you need16:17
apwjibel, now i've switched hosts i seem to have a good reproduce by using a VM image i copied over from the slow box, and with your copy scrip16:17
ogra_tgardner, i always build natively, thats why i pointed for questions to hrw16:20
tgardnerogra_, who is hrw ?16:21
ogra_marcin juskiewicz16:21
infinitytgardner: I guarantee that cross toolchain will be vaguely wrong even if it does build.16:21
infinitytgardner: I'll have to have a poke at it when I find some free time from doing the native stuff.16:21
tgardnerinfinity, we mostly use it for build testing.16:21
infinity(Though vaguely wrong might not matter for kernels, I guess)16:22
infinityThe tools it generates won't run, but the kernel will.16:22
apwtgardner, i found that symlinking the binaries for the armel one to armhf's abi name worked, see the precise-i386 chroot on tangerine, /usr/bin16:22
tgardnerapw, the king of ugly hacks :)16:22
apwat least let me fake builds, not sure you'd want to use the result, but at least i could check the packaging16:22
tgardnerapw, well, now you've got native armhf, so go slowly...16:23
apwfor anything other than the kernel it'd not actually be armhf of course :)16:23
apwtgardner, yeah i'll punt a build at that chroot and see how long it takes16:23
apwtgardner, fun vv16:27
apwutil/hist.c: In function 'hists__fprintf':16:27
apwutil/hist.c:1223:1: internal compiler error: Segmentation fault16:27
tgardnerapw, gotta love that16:27
apw(building the tools, not that i care about those one iota)16:27
bjftgardner: which version of arm do we support for the buildds ?16:28
apwbjf, do you mean which h/w are used as buildds?16:28
tgardnerbjf, imx51 I think16:28
bjftgardner: which ubuntu series ? lucid ?16:28
tgardnerbjf, lamont is the ultimate source16:29
apwbjf, if so that is fsl-imx51 running the lucid/fsl-imx51, and pandas running various releases from natty up i believe running ti-omap416:29
apwinfinity, we are running a mess of versions on the pandas arn't we16:29
brendandtgardner - just got your note about the wireless_scanning test. just to let you know, this isn't a new one, we've been using the same test in certification for a while16:30
brendandtgardner - i mixed up my tools. it's using iwconfig to find the interface name and iwlist to scan16:31
brendandtgardner - should we not be using that?16:31
tgardnerbrendand, iwconfig/iwlist are about to be deprecated. I think Precise is likely the last release. kernels subsequent to 3.2 will likely _not_ wotk with iwconfig/iwlist since the ioctl interface is getting deprecated.16:33
brendandtgardner - probably from our point of view it's best to use NetworkManager, isn't it (i assume NetworkManager will use whatever is correct at the back end)?16:35
infinityapw: I'm not sure.  You'd have to ask lamont.16:35
tgardnerbrendand, NM uses the same interfaces as iw, e.g., netlink socket AFAIK16:36
brendandtgardner - we'll look into updating it for this release. i'll file a bug in checkbox for it. for now the older releases are using iwconfig/iwlist though16:37
tgardnerbrendand, tahts fine.16:38
brendandtgardner - now that i've got your attention, i was hoping to get your input on one test that i've written, which monitors the state of the connection over a period of time (i think we agreed 5 minutes at UDS)16:48
tgardnerbrendand, OK16:48
brendandtgardner - what sort of bad behaviour do you usually see when there are regressions of this kind? does the connection actually go down?16:49
tgardnerbrendand, either that, or the connection rate drops to 1Mbit or slower16:50
brendandtgardner - and does it usually only happen under a high load?16:50
tgardnerbrendand, high loads or noise on the channel16:50
tgardnerwhich is hard for you to reproduce.16:50
tgardnerI would just test a high load and set a floor for the expected throughput.16:51
brendandtgardner - ok16:51
tgardnerbrendand, remember that each phy setting (b,g,n) have different throughput expectations.16:54
brendandtgardner - any tips on tools to measure throughput?16:56
tgardnerbrendand, I use iperf16:57
vanhoofbrendand: had the same q last week16:58
vanhoofbrendand: ended up with" iperf --client 172.31.1.1 --time 300 --interval 3016:59
vanhoof--format M"16:59
vanhoofbrendand: http://paste.ubuntu.com/760626/16:59
brendanddoes anyone know if this bug was hardware specific? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/89916517:13
ubot2Launchpad bug 899165 in linux "uvcvideo: Failed to submit URB 0 (-28)." [Medium,In progress]17:13
tgardnerbrendand, looks like it is a generic EHCI bug17:14
tgardnerof course, you only see it with isochronous connections17:15
ckingmjg59, we've been  crowd-source testing your PCIe ASPM patch ( https://wiki.ubuntu.com/Kernel/PowerManagement ) and we're wondering if you know of any devices that may misbehave with this fix?  From the limited tests we've got so far it looks like a win 17:28
sforsheetgardner, wondering if you know the answer to this question. If a wireless card indicates that rfkill is applied, is that due to assertion of an external signal?17:30
sforsheei found a mini PCIe pinout that shows a "wireless disable" input signal17:30
mjg59cking: Nope, by the looks of it the machine responsible for the original patch should still work with this17:32
tgardnersforshee, its been awhile,. but I think its typically because the wifi driver has registered with the RFKILL API and is told by the platform rfkill driver that its been disconnected.17:33
ckingmjg59, OK, we were worried it may enabled PCIe ASPM on some devices which may be problematic, but I suppose the new behaviour is more Windows like and hence will be less problematic in a sense17:34
sforsheetgardner, I'm not asking about the kernel support for rfkill, but what causes a generic wireless card to tell the driver to disable wireless. As an example, iwlagn has an interrupt status bit that will cause it to apply a block to the device (see iwl_irq_tasklet). I'm wondering what triggers the card to tell the driver that it should disable wirless.17:36
tgardnersforshee, dunno, but it seems like there must be some kind of HW support if its in the interrupt handler.17:38
sforsheetgardner, yeah, obviously. I'm just wanting enough evidence to conclude that something external to the card causes it to happen, as I suspect is the case. Thanks.17:41
tgardnersforshee, http://madwifi-project.org/wiki/UserDocs/MiniPCI17:42
tgardnerseems pin 13 might be dedicated to this function17:44
sforsheetgardner, that's helpful, thanks. Now if I could only reproduce the problem so I could play with it ...17:44
tgardnersforshee, you could "Sellotape over pin 13" as suggested.17:44
sforsheetgardner, right, but since I can't reproduce the problem I wouldn't be able to tell whether or not it helps17:45
tgardnersforshee, ah, I thought you were having trouble getting the radio tuned on17:45
sforsheetgardner, no, this is pgraner's netbook. I can't reproduce his sudden disconnections no matter how hard I try17:47
tgardnersforshee, he was doing a bunch of disk copying over USB. have you tried that ?17:47
sforsheetgardner, not with USB. I generated a bunch of disk, network, and cpu activity (and got the temperature pretty high), but wireless remained stable17:48
sforsheei'll try that after i get back from lunch17:49
* sforshee -> lunch17:49
manjoI have a 3TB disk that has 512 logical / 4096 physical sector size, when I use disk partition utility in 11.10 I get a warning that my partition is misaligned by 3072bytes and will impact performance ... any one have any suggestions on how I can fix that ? 18:00
manjothis is on a uefi 2.3.1 system 18:00
* tgardner -> lunch18:50
lamontapw et al: armel builders are running (generally.. don't hold me to it): lucid (bbg3), maverick (beaglexm), natty (panda)18:51
lamontppc is lucid18:52
lamontor maybe "lucid with maverick kernel" - don't remember.18:52
lamonteverything else: hardy18:52
lamontgiven the slew in the armel family, I would be willing to entertain rolling all of arm to natty, if that makes people's life happier18:53
lamontthe roll after this will be to precise, post-release, assuming that the kernel/distro folks are willing to support building hardy on precise for a little while18:53
apwlamont, that is an interesting issue indeed, infinity and i were talking about some of the issue the kernel version bump will trigger18:54
apwlamont, i wonder if there is value in getting something setup to allow us to test teh combinations18:54
lamontpart of the reason they're still on hardy is because of dapper (now moot).18:55
apwlamont, particularly the xen side of things, as thats all shiney and new and may be broken18:55
lamontapw: the general rule is "most recent LTS, unless there's a really good reason otherwise"... hence maverick/natty for hw support18:56
lamontxen is the other reason18:56
apwlamont, any word on when the old beagles will die?  as they are not on a supported release now18:57
lamontapw: beagles are fine (*aceae.buildd) - bbg3 are the dead ones that infinity won't let me bury19:00
lamontseems there's a huge backlog of armhf builds to finish first19:01
apw:)  one or two i am sure, is there a plan to rip'em'out after thats caught up ?19:01
hertonhggdh, do you know what is the status about linux-lts-backport-oneiric: 3.0.0-13.22~lucid1? (bug 885468). It's in QA for some time19:06
ubot2Launchpad bug 885468 in kernel-sru-workflow/regression-testing "linux-lts-backport-oneiric: 3.0.0-13.22~lucid1 -proposed tracker" [Undecided,In progress] https://launchpad.net/bugs/88546819:06
hggdhherton: finishing it now19:30
TheLynxhi19:42
TheLynxjust a very short question... Does Thin provisioning is supported by dm-crypt? Or in other words is Thin provisioning a real virtualisation von every block of a device?19:43
apwTheLynx, not sure i know what thin provisioning means here, got a pointer to the meaning?19:50
apwthough as it is virtualisation, #ubuntu-server may know better19:50
TheLynxhttp://en.wikipedia.org/wiki/Thin_provisioning it is used for iSCSI in my case19:51
apwi am unsure if you can have copy-on-write disks in device-mapper directly but non-fully populated disks and copy-on-write disks are common features of xen and kvm virtualisation at least19:53
TheLynxhmm this sounds good19:57
TheLynxat least, thank you for your help maybe someone from the open-iscsi team can answer this19:58
Eimannmorning20:14
Eimannis there a reason why iwlwifi doesn't get build as a module in the daily/3.2 builds?20:15
* herton -> eod20:24
=== bladernr_ is now known as bladernr_afk
=== bladernr_afk is now known as bladernr_
=== bjf is now known as bjf[afk]
hallynany good suggestions for debugging acpi_wakeup_address?  (apart from printk, which I'll resort to if i have to)23:59

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