/srv/irclogs.ubuntu.com/2011/09/30/#ubuntu-kernel.txt

LaibschCan somebody help and identify the kernel patches that apparently fixed bug 745836 in oneiric?  They are in desperate need to be backported to maverick, natty and lucid.00:46
ubot2Launchpad bug 745836 in linux "encrypted swap corrupts application stack/heap [was: soffice.bin SIGSEGV cppu::throwException()]" [High,Confirmed] https://launchpad.net/bugs/74583600:46
=== smb` is now known as smb
smbmorning .+07:45
apwmorning07:50
BigWhaleGreetings08:08
BigWhaleWho do I have to talk to, to get the latest RTL8111E driver in the Oneiric? :) The one that is currently present is acting really strange.08:09
BigWhaleand isn't what I would call a production quality :/08:09
ogra_nobody does08:09
apwBigWhale, its a bit late in the day for those kind of size changes, thats why we have alphas08:10
ckinghope it's not a case of "if it compiles then ship it"08:10
BigWhaleapw: well I just got new motherboard and noticed the problem now. :)08:11
BigWhalewell it is sort of working08:11
BigWhalejust dmesg is full of [  493.664950] r8169 0000:04:00.0: eth1: link up08:12
BigWhaleevery second or so08:12
BigWhaleI'll file a bug report ...08:12
apwBigWhale, hang on isn't that a wired card thats reporting errors ?08:13
BigWhaleit is a wired card yes08:13
apwso its working ok other than log spam ?08:14
BigWhaleapw, but this is not really nice: http://pastebin.com/wp2PwNAa08:15
BigWhaleapw, no it is not working as it should... packets are being dropped08:15
apwwell indeed file a bug, never know might be fixable08:15
BigWhaleI installed latest driver from realtek and it is working correctly08:15
apwyeah but their stupid drivers arn't exactly designed to be integrated in a way which works with everything else08:16
apwthose guys need a serious reality check08:16
BigWhaleperhaps that's why their installation script didn't work and I had to compile it manually and copy it to /lib/modules/... :>08:17
apwBigWhale, likely, what driver name did it make08:17
BigWhaler8168.ko which is odd since it used to be r8169.ko :>08:18
apwBigWhale, see what i mean, you got a driver for one card and it makes a driver which would replace all drivers for that name ... bah08:19
BigWhalewell the driver itself is for multiple cards...08:20
BigWhalebut not for 8169 :>08:20
BigWhaleNow I am starting to wonder if this new module will autoload08:22
apwwell i doubt it will08:23
BigWhaleapw, kernel will probably look for r8169.ko 08:24
apwBigWhale, and this just demonstrates my point, their drivers are hopeless integration wise08:27
apwwhy they cannot work with teh upstream kernel and give us and you a fighting chance i have no idea08:27
BigWhaleI can see that openSuse guys had/have the same problem08:28
BigWhale*curses* what is the package name for kernel? :>08:28
apwBigWhale, realtek are renouned for this issue08:29
apwkernel == linux08:29
BigWhaleah, thanks08:30
BigWhaleis launchpad acting up? it seems I can't report new bugs?!08:33
BigWhaleOops!08:33
apwBigWhale, for you you may find blacklisting r8169.ko in /etc/modprobe.d might make the other one preferred08:41
BigWhaleI'll reboot now and see what happens...08:43
BigWhale:>08:43
=== NCommander is now known as Guest93709
=== yofel_ is now known as yofel
txomonhi, does anyone know about any kernel config's documentation program? I need to build a very specific kernel for a 16core computer10:21
apwtxomon, not sure i know what you mean by a "documentation program"10:27
apwtxomon, configs are self documented if you are looking to see what they do ?10:28
txomonapw, I am looking for specific knowledge about each value of the menuconfig, to know if it is adequate for me10:30
apwtxomon, beyond what is documented in the help for each option i don't know of more detailed information10:30
txomonI meant if there was any "kernel-config documentation project"10:31
txomonsomething like that10:31
apwthere are a heck of a lot of them it doesn't seem feasable to look a tthem all10:31
apwtxomon, no not to my knowledge anyhow10:31
txomonok.. so for each option I should UFG ? (Use th F Google)10:37
apwtxomon, most options have extensive help on them, several paragraphs of description10:44
apwwhich should be exposed in the menu config10:44
txomonapw, commonly yes, but sometimes, it is not enough, as I don't know how to retrieve data to decide whether if that option is good for me10:53
apwtxomon, you must have some very tight requirements, good luck10:54
txomonI my research group we are working in a kernel module that occupies all the CPU, and we want to optimize it10:54
txomonthank you btw10:55
txomonCan I add comments in the config_old ?10:55
txomonI mean, If I compile for the next kernel, it will tell me that there has been found a new config_old, and I was wondering if in the new config file comments would be still there10:56
apwi don't beleieve that it will honour them no, i think it rebuild it from its internal representation10:57
txomonok, so I will have to /replace10:57
txomonthank you!10:57
brendanddoes anyone know why this page isn't updating : http://people.canonical.com/~kernel/reports/sru-report.html?11:03
brendandthe info looks out of date11:03
apwbrendand, what about it looks out of date ?11:03
apwFriday, 30. September 2011 11:01 UTC11:04
apwit seems to think it updated itself 'just now'11:04
brendandyeah, but e.g. there is no reference to the natty -proposed tracking bug11:04
apw     linux | 2.6.38-11.50 | natty-security | source11:05
apw     linux | 2.6.38-11.50 | natty-updates | source11:05
apwnatty seems to have no more up to date version ?11:05
apwie it is released ?11:05
apwhmm but there is a 12.51 build and ready to go, hmmm wonder why its not listed, i wonder if it lists things before they are in -proposed11:07
brendandapw - it normally shows the tracking bug, i.e. this one https://bugs.launchpad.net/ubuntu/+source/linux/+bug/86083211:07
ubot2Launchpad bug 860832 in linux "linux: 2.6.38-12.51 -proposed tracker" [Medium,In progress]11:07
brendandi thought it showed the tracking bug through its entire life11:08
apwbrendand, it cirtainly makes sense that it might, you are beyond my understanding now, as it is updating at least11:08
apwi'd have to refer you to sconklin and herton11:08
brendandapw - i'll have to wait then. thanks11:10
apwsorry about that, i'll have to get some knowledge transfer on it11:10
apwherton, the latest natty kernel tracking bug seems to be missing from: http://people.canonical.com/~kernel/reports/sru-report.html12:53
apw(brendend reported it)12:53
hertonapw: I think that's because the current natty update wasn't copied yet to -proposed, but better check with brad12:54
apwbjf, ^^12:54
apwherton, i was assuming the contents of the build PPA was on there too ... hmmm, will wait on brad12:54
apwanyone point me at a conversion between mAh and mWh ?13:28
sconklinapw, it depends on voltage,13:29
sconklinmWh = mAh * voltage13:29
apwsconklin, it is a little odd that some machines report battery capacity in one, and otehrs the other13:29
brendandherton - do you know is this page updating properly? the section on natty at least seems to be wrong - http://people.canonical.com/~kernel/reports/sru-report.html13:56
apwahhh wern't you here, the discusssion was that we weren't sure and bjf is in the frame for answering now13:58
hertonyes, I think the page only shows when things are copied to -proposed, latest natty isn't copied to -proposed yet13:58
* bjf seems to be popular this morning, maybe he should just go back to bed14:34
bjfapw, herton is correct, the tracking bug should only show up on that page when the package has reached -proposed14:34
apwbrendand, ^^14:37
apwbjf, would it be hard to add a new psudo pocket of like -build which had what was in the PPA14:38
bjfapw, why?14:38
apwthen the whole life cycle would be represented in the one place ?14:39
bjfapw, but that wasn't the purpose of that report and i believe it would add confusion to others that view it14:40
bjfapw, i could add just the version in the ppa like what's on: http://people.canonical.com/~kernel/reports/versions.html14:43
apwbjf yeah unsure not really a big consumer of it either way14:45
brendandbjf - can you recommend a quick way to find the current tracking bug without going back through email?14:45
bjfbrendand, http://people.canonical.com/~kernel/reports/kernel-sru-workflow.html14:46
bjfbrendand, does that have what you are looking for ?14:51
brendandbjf - perfect15:27
* herton -> lunch15:55
apwis anyone else getting asked for the passowrd for their wireless everytime they resume ?15:58
smbapw, nope16:03
apwstarting to get on my nerves16:04
tgardnerapw, testing....16:04
apwperhaps i am too many milliseconds behind the bleeding edge16:04
* smb has not upgraded for 2 days...16:04
apwsmb, yeah it was ok a couple of days ago16:04
* bjf neither, been afraid16:04
* smb probably won't do that then16:04
tgardnerapw, I just upgrade 15 minutes ago16:04
* bjf dist-upgrading right now (will probably regret it)16:05
tgardnerapw, so it resumed and connected OK, but I didn't get the screen lock login.16:05
* apw giggle16:05
tgardnerapw, I wonder if thats because I have screen lock turned off16:06
apwapparently i am 169 packages out of date _again_ so, i'll shut up until i've upgraded yet more16:06
tgardnerapw, yeah, I picked up 60 or so this AM16:06
bjfi am 185 behind16:07
apwbah my wifi is degraded out here on the balcony ... sigh16:07
apwhow can this be, my house is made of sheets of paper16:07
tgardnerapw, drag a cable out there :)16:08
apwtgardner, tempting indeed16:09
tgardnerapw, until someone slams the sliding door shut16:10
apwheh, ouch :(16:10
=== s1aden is now known as sladen
tgardnerapw, hey, while you're just scoping the great outdoors, how about having a look at /usr/bin/dpkg-gencontrol with an eye towards developing a patch the protects multiple writers to debian/files. cjwatson suggested using the flock primitive.16:12
tgardnermy perl foo is a bit weak these days16:13
apwtgardner, is that what is stopping us from doing parallel builds ?16:13
tgardnerapw, I think its the source of random errors16:13
apwtgardner, added to my todo, there seems to be another perl-y one on there too will have a look16:14
tgardnerapw, I'm working on an alternative for the kernel package, but fixing dh-gencontrol would help others to parallelize their packaging.16:16
=== soren_ is now known as soren
apwtgardner, sounds reasonable to moi16:17
bjfapw, i dist-upgraded, suspended, resumed, did not get prompted for ap password16:22
apwbjf heres hoping i'll be ok once i update then16:22
komputesDoes anyone know why uname -a now shows arch 3 times?16:43
broderkomputes: it's "machine", "processor", and "hardware platform"16:47
komputesbroder: sorry i'm still a bit confused. by that logic wouldn't a processor capable of doing 64-bit cause uname to show i686 x86_64 138617:05
* bjf is rebooting17:15
* tgardner -> lunch17:30
tkamppeterI have an old 32-bit HP Compaq 12-inch laptop and it does not boot with the 3.0.0-12 kernel, but only with the last Natty kernel. How to report a bug/debug this?17:52
* jjohansen -> lunch19:01
* bjf -> lunch19:03
* ogasawara lunch19:08
hallyn_smb: ppetraki: at least, a simple reproducer script for bug 861656 .19:57
ubot2Launchpad bug 861656 in linux "many ext4 errors " [Undecided,Confirmed] https://launchpad.net/bugs/86165619:57
hallyn_should have been obvious to me from the start....19:58
ppetrakihmm, that isn't much different from someone changing the state of an SD device to offlline or echo 1 > delete20:01
ppetrakiwhatever framework is managing this, or the user, that's their problem. There has been a push recently to try communicate "use count" to lower layer devices in the case of virtualization, but it was not well received.20:05
ppetrakihallyn_, http://www.spinics.net/lists/linux-scsi/msg54687.html20:05
tkamppeterI have an old 32-bit HP Compaq 12-inch laptop and it does not boot with the 3.0.0-12 kernel, but only with the last Natty kernel. How to report a bug/debug this?20:06
ppetrakihallyn_, and the nak: http://www.spinics.net/lists/linux-scsi/msg54688.html20:06
ppetrakiso unless we can come up with a better solution, we'll have to work around it20:07
hallyn_ppetraki: terrific20:31
hallyn_ppetraki: though that is for scsi.  I'm not sure what paths the nbd driver takes.  Lemme take a look20:32
ppetrakihallyn_, well, hotplug is hotplug20:34
tgardnersconklin, GPG sign your entry at https://wiki.ubuntu.com/HertonKrzesinski/PerPackageUploaderApplication20:35
ppetrakihallyn_, now this nbd thing *may* have an additional interface where this count could be determined 20:35
hallyn_right that's my hope20:36
ppetrakihallyn_, I hate to dash your hopes but it probably doesn't have one20:36
sconklintgardner, really? This hasn't been widely done or enforced in the past. But whatever.20:36
tgardnersconklin, I'm just following directions....20:36
sconklinheh, and I'm was flagrantly igoring them. Having been busted, I'll go fix it.20:37
hallyn_ppetraki: i'll be ok :)20:37
ppetrakihallyn_, heh20:37
hallyn_ppetraki: though, i nbd_ioctl gets a struct block_device().  Seems like adding a check over the list of mounted supers shouldn't be a big deal...20:39
hallyn_(at NBD_DISCONNECT)20:39
ppetrakihallyn_, so you basically want to block disconnect until the write-back has a chance to complete?20:40
ppetrakihallyn_, that could get confusing quick, as in if it's due to a transport error, that flush may never occur and block forever.20:41
hallyn_yes, just return -EBUSY20:41
hallyn_true20:41
ppetrakihallyn_, so adding more transparency to the supers wouldn't be a big deal but now you just gave userspace more to chew on, and take action subjectively.20:42
ppetrakihallyn_, the right answer here may just be "don't do that"20:43
sconklintgardner, fixed, thanks!20:44
hallyn_ppetraki: it's just an ioctl... returning -EBUSY seems fine20:45
hallyn_ppetraki: the problem is, it's not just "don't do that."  Because if you do20:45
hallyn_well, bc the umount may fail :)20:46
ppetrakihallyn_, so looking back at the bug, you state that nbd starts dropping out under load.20:46
hallyn_oh, disgregard most of what i wrote there20:47
ppetrakigee thanks :)20:47
hallyn_in the end, the little script is all you need.  no load needed20:47
hallyn_heh, that's why i said "i should've seen it earlier" - i was chasing down the idea of ext4 or nbd corruption due to high load20:48
hallyn_ppetraki: anyway i may pursue a patch doing -EBUSY tomorrow afternoon.20:49
ppetrakihallyn_, you can try, though I don't think it'll be accepted. block devices, and generally block device stacking depend on the current behavior. Special casing NBD isn't a "good thing"20:50
ppetrakihallyn_, I can rip out a multipath device right now from a mount and the kernel can't stop me20:50
hallyn_wouldn't be my first lkml rejection experience :)20:53
ppetrakihallyn_, actually, nbd has it's own list20:57
hallyn_i don't want to be on another list :(20:58
hallyn_ppetraki: i'm still thinking - wondering if it should go in qemu/qemu-nbd.c instead20:58
ppetrakihallyn_, well, userspace programs generally can't dictate when a kernel resource decides to quit, unless a reference count was taken20:59
hallyn_no but they can refuse to tell the kernel to shoot itself in the foot21:00
ppetrakihallyn_, oh wait, the unmount is occuring in the guest?21:02
ppetrakihallyn_, nm, looking at your script21:03
hallyn_ppetraki: yeah for the script, ignore any mention of clouds or virt21:04
hallyn_it just runs on the host21:04
ppetrakihallyn_, hmmm, best thing to do here is flush on exit from qemu-nbd -d, and kill the queue so it won't accept any new requests. Then the unmount won't have anything to flush21:05
ppetrakihallyn_, you should update the description :-p21:05
hallyn_ppetraki: i did21:05
hallyn_it's now called Kernel oops when nbd device is removed before it is unmounted 21:05
ppetrakihallyn_, right, the journal is in flight so you never get it all. 21:06
ppetrakihallyn_, I'm still not a huge fan of the use case.21:09
hallyn_ppetraki: i think it's worse than that.  it's not a corrupt fs in the guest i'm worried about.  it's submit_bh() on the host doing opcode 000021:09
hallyn_[ 6016.938260] invalid opcode: 0000 [#1] SMP 21:09
hallyn_use case?21:09
ppetrakihallyn_, the script, if you just swapped qemu-nbd -d /dev/nbd1 and mount /mnt/1, the problem disappears right?21:10
hallyn_of course :)21:10
ppetrakihallyn_, yeah, I don't like that use at all, again, it's a block device, no different than any other.21:11
hallyn_ppetraki: the idea isn't that you didn't do umount.  It's that you did umount but umount failed (i.e. a file on the fs was open)21:11
hallyn_yeah, it's just easier to shoot yourself this way21:11
ppetrakihallyn_, now, if you were to perhaps change qemu-nbd -d to add say a --lazy switch, that might be a good way around21:11
ppetrakihallyn_, then you're giving people the choice of whether to destroy that resource once it's users have left21:12
hallyn_that'd be nice, yes21:12
hallyn_but like i say i think i'll ignore it for nwo and just fix the caller that's bugging me21:12
ppetrakihallyn_, I like that one best, you'd also have to consider raw io, no superblocks to check there, just open count.21:13
=== yofel_ is now known as yofel

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