/srv/irclogs.ubuntu.com/2012/06/15/#ubuntu-kernel.txt

MadBoatHello. Im trying to compile an ubuntu kernel for the first time, and I'm running into a problem with a video driver for the platform im compiling for02:27
MadBoatI'd like to know how to go about stopping the make process from trying to compile this driver02:27
BenCMadBoat: Best bet for questions like this is #ubuntu02:29
MadBoatalright. on what server?02:30
MadBoatIm an IRC newbie as well, sorry if thats newb question02:30
BenCMadBoat: this server02:36
MadBoatK. much obliged02:36
ppisatimoin06:24
ckingmorning ppisati06:26
cooloneycking and ppisati, morning07:06
ckinghiya cooloney07:06
cooloneycking: got your email. 07:06
ckingack07:07
cooloneycking: looks like we still don't have any clue to decide the change 07:07
cooloneymaybe we need some input from ubuntu server folks07:08
ppisaticiao * :)07:10
cooloneyppisati: how's going? and your usb issue on beaglexm07:10
ckingcooloney, as long as they don't provide us with untested "gut feeling" preferences that don't consider recent kernels07:11
* cking just likes hard facts07:11
cooloneycking: right, we need reproduce the issue firstly and try more test case. 07:13
smbmorning07:18
cooloneysmb: morning07:18
cooloneycking: i just was told they got a lot of writing operation timeout when using CFQ in cluster server. but have no idea to test this or reproduce it.07:19
smbcooloney, Was that the same bug report as that one being done on a kvm?07:20
smb(which I did not yet have luck in reproducing)07:20
cooloneysmb: hmm, i don't think so. just some description from them, i also want some hard facts like cking07:21
smbRight, I agree changing anything based on no facts makes no sense07:21
ppisaticooloney: saw ming's email? i'm gonna try that now07:22
cooloneysmb: yeah, on my side, i just have an 3 years old desktop, no chance to do some fancy testing07:22
ppisaticooloney: after that i'll see for smsc911xx phy deinit code07:22
cooloneyppisati: yeah, worth a try.07:22
ckingI can rig up more tests if required07:22
ppisaticooloney: but the problem is that, after kexec, the entire usb hub is dead07:22
ppisaticooloney: so IMO the problem is one layer below all these drivers07:23
cooloneyppisati: i saw several patches from ming about usbnet, but might not related to kexec07:23
smbcooloney, Heh, actually one feels as really old hardware is ideal. That makes the disk output even slower. :)07:23
ppisaticooloney: but let me first try ming's mfd patch07:23
ppisaticooloney: if it revives the usb, then the rest might be worth a try07:23
cooloneyppisati: right, ming is good for help ^^07:24
smbcooloney, But anyway. If your friends could open bug reports and provide a bit more information about the setup and what fails where (and maybe you then subscribe me to those) then we can start gathering facts07:26
ckingyep, the more data the better07:27
cooloneysmb, cking, right, and which testcase or benchmark tool is good for parallel reads and writes 07:30
ckingall and none of them07:30
jussiCan anyoen tell me what is the status of the new poulsbo driver in Ubuntu?  is it in Precise/Quantal? Does it do 3D?09:52
rbasakKernel image taxonomy: is the "generic" flavour for i386/amd64 analogous to ARM subarches? So if I had a architecture-aware hierarchy, would it be fair to use <arch>/<flavour> and end up with amd64/generic and armhf/highbank without any collisions or confusion?10:41
* ppisati -> out for lunch10:44
caribouapw: ping12:42
apwhi12:43
caribouapw: remember the ddeb that you rebuilt for me a few days back12:43
caribouapw: I just found out that, while working well with crash dumps, it causes problem with systemtap12:44
apwyay ... its good job we don't support those versions :)12:44
apwwhat sort of problems does it cause12:44
caribouwell the Build-id mismatch that I got from systemtap on a rebuilt ddeb (both by you and arges_) doesn't appear on the original ddebs12:46
arges_caribou, is that related to any bugs ?12:46
apwwell frankly they are rebuilt, and the stamp is likley wrong12:46
apwand never can be right12:46
caribouI had kept a .tgz copy of the original ddeb (the one that was on the archives) and this one works12:46
caribouapw: I could open a bug on this, but it mostly concern systemtap. Just thought I'd mention it12:47
apwthe build stamps likely include the date and time of the build ...12:47
apwi don't think anyone will fix it as clearly you are asking for trouble to not use the ddebs which were made with the kernel you are debugging; it is correct to tell you its wrong12:47
arges_apw, would there be a way to extract this from the .deb and insert into the rebuilt .ddeb ... or perhaps allow the debugging tools to ignore the time stamp difference12:47
apwyou probabally should look to makeing the tool continue --i-know-i-am-using-the-wrong-ddeb12:48
caribounote sure it's the timestamp. might be coming from the ELF notes12:48
apwarges_, you should not be looking to do thing routinly, you should be retaining the old ddebs if you are supporting unsuported kernel versiosn12:48
arges_apw, unfortunately the natty kernel ddebs were already deleted before we had a chance to back them up12:49
apwthe tool is right to tell you off, as there really is no guarentee the info is even right12:49
arges_and we're working on crashes that involve natty12:49
apwyou have ddebs for the support kernel versions even in natty12:49
apwand the old ones, they are gone, and they arn't recoverable12:50
caribouapw: arges_ the code that triggers the Build-id mismatch is runtime code triggered by systemtap12:50
apwcaribou, arges_ i have to reiterate there is almost no chance they are completely accurate debugging symbols if rebuilt; the compiler is not the same most likely12:50
apwgiven systemtap is dropping code over the kernel code segment live while its running, i am not supprised it is reticent to do so with debug info which is dubious12:51
caribouapw: I know. I Just wanted to make you all aware of this. But looks pretty good for crash dump analysis12:51
apwindeed i think i would prefer systemtap refuse and have no way to let you12:51
caribouapw: could this be caused by the fact that the ddebs were done on a newer distro (i.e. diffs in elf or such) ?12:52
apwas patching a live running system which it will likely lead to pain12:52
apwcaribou, they were built in appropriate chroots, but ones which were up to date12:52
caribouapw: you know how support engineers like pain...12:52
apwheh they do indeed12:52
caribouapw: I have a Natty server available; I'll try to rebuild the kernel on it and see if there is a difference12:53
apwcaribou, you'd need to find out what kernel the buildd that ran on was running, and get a chroot which represents the chroot which was there on that day12:54
apwand even then you'd not be guarenteed to make anything the same12:54
arges_make sure toolchain was at the same version12:54
caribouapw: yeah, I know. Which is why keeping the ddebs around is so important12:54
caribouapw: arges_ well they were the ones used by you guys when you built the Natty official kernels12:55
caribouapw: arges_ does it worth opening a new bug for this ? Maybe systemtap should take that into account ?12:56
apwcaribou, i don't think systemtap can take into account "you don't have reliable ddeb offset infromation for your running kernel" its black and white, its either right or its not13:01
caribouapw: yeah, right. Shouldn't build broken contexts into the tool. Agree13:02
=== ikonia is now known as ikonia_
=== ikonia_ is now known as ikonia
=== ogra_ is now known as ogra
=== ogra is now known as ogra_
smosersmb, around?14:15
smbsmoser, yes14:15
smoserpotentially stupid question.14:15
* smb likes those14:16
smoseri'm looking at https://bugs.launchpad.net/nova/+bug/83250714:16
ubot2Ubuntu bug 832507 in nova "console.log grows indefinitely" [Medium,In progress]14:16
smoseri just launched a kvm guest, and did:14:16
smoser sudo dd if=/dev/zero bs=1M count=4 of=/dev/console14:17
smoser4194304 bytes (4.2 MB) copied, 43.3846 s, 96.7 kB/s14:17
smoserso, it seems that /dev/console is limited (for my kvm instance) at < 100kB/s14:17
smoserkvm process seems pegged handling that.14:18
smoser(cpu pegged)14:18
smoserthe concerning thing to me is that the kernel writes data on boot at a rate not far off that14:18
smoserie, in the console log that i have (http://paste.ubuntu.com/1042460/), the kernel wrote that ~15k in .75 seconds.14:19
smoserthat woudl seem to indicate to me that14:19
smosera.) a fair amount of cpu resources during my bootup were spent in kvm reading the console writes14:20
smoserb.) the kernel potentially blocked and waited some time on those writes14:20
smoseri'm hoping/expecting that you can tell me that 'b' is not true, that the printk messgaes writing would not block anything else really.14:20
smosersmb, ^14:20
smbsmoser, Not sure I know the whole chain from the top of my head. But printk's first go into the kernel ring buffer14:23
tgardnersmoser, smb: isn't it syslog that pulls out the dmesg ?14:24
smosertgardner, well this is to /dev/console specifically14:24
smoserie, 'console=/dev/ttyS0' or 'console=/dev/console'14:24
smbtgardner, I think that is for the files in /var/log14:25
smoseri did not think that syslog was involved there.14:25
tgardnerok, likely not14:25
smbBut I think there is something else to send them to consoles...14:25
smb(asynchronously)14:26
smbapw, Would you know that from your head? ^14:26
apwright there is a bit of printk which pumps out the pending bits if there is a 'console' attached to dmesg14:28
smoserso probably 'b' is not a terrible concern. ie, those writes are not going to slow down boot14:29
apwif you have a slow serial it can indeed slow down boot if its attached to dmesg14:30
tgardnersmoser, I wonder what happens if the console backs up14:30
apwthe backlog gets emitted when the console gets attached14:30
* ogasawara back in 2014:40
hertontgardner, I'm going start to apply here 3.0.34/3.2.20 to oneiric/precise master-next14:42
tgardnerherton, ack14:42
tgardnerherton, I did just push precise master-next, so you should refresh first14:44
hertontgardner, ok14:44
smbsmoser, So it looks like printk  tries to output to the console(s) first but can go (and leave things in a buffer) if the lock cannot bet taken... So I would read that as the boot is not slowed down...14:49
smoseryeah, at least not significantly.14:52
smoserthanks14:52
jodhCould someone confirm that a debugger process (with >=1 children being ptraced) loses ptrace rights if *it* execs.14:52
jodhI may be off track, but since fs/binfmt_elf.c:load_elf_binary() eventually calls ptrace_unlink(), I believe such a process does lose knowledge of its debugees.14:53
* smb` thinks it is about time drop16:22
* cking agrees with smb16:34
* cking --> EOD16:34
argestgardner, fixed up that pull request .. let me know if there are other issues17:26
tgardnerarges, you reposted on the list ?17:26
argestgardner, yea17:27
tgardnerarges, while the ssh:// patch works for me, its not very helpful for non-Canonical emps. I prefer that you use the git:// form of the path (but I've pulled anyways)17:34
argestgardner, shoot17:34
argestgardner, meant to use that17:34
jsalisburyarges, s/shoot/darn/   Tim's from Montana ;-)17:36
tgardnerarges: also, its BugLink, not BugFix in the commit log. you can use kteam-tools/maintscripts/maint-modify-patch to slam in bug numbers, acks, etc.17:36
argesjsalisbury, heh17:37
argestgardner, ok will use that from now on17:37
argestgardner, should i resubmit it?17:37
tgardnerarges, nah, I'll fix 'em up when I get a second ACK17:37
argestgardner, ok. thanks.17:38
* arges takes some notes.17:38
=== tgardner is now known as tgardner-lunch
=== arges is now known as arges_lunch
bladernr_I feel silly for asking this, but can someone point me to a means to get the Precise kernel installed on a Lucid system?17:57
jsalisburybladernr_, you can get the .debs from: https://launchpad.net/ubuntu/+source/linux/3.4.0-5.1118:03
jsalisburyjust look under "Builds" for your arch18:03
bladernr_ahhh... cool, thanks.  I was looking for a backports package but the latest available is oneiric18:03
bladernr_jsalisbury: thanks!18:03
jsalisburybladernr_, whoops thats quantal, precise can be downloaded from:18:04
jsalisburyhttps://launchpad.net/ubuntu/+source/linux/3.2.0-25.4018:04
bjfbladernr_: we don't backport one LTS to another18:04
bladernr_bjf: ahhh, that would explain it :)18:05
=== tgardner-lunch is now known as tgardner
tgardnerbjf, thats just for the last LTS cycle. we'll eventually backport 14.04 to 12.04.18:21
bjftgardner: whatever you say18:23
=== arges_lunch is now known as arges
argesherton, hello. i see your comment about my pineview cherry pick... do you need me to rebase and reapply to and test?18:40
argesto lucid18:40
hertonarges, no, not needed, it was a message more to tgardner when he is going to apply it18:40
argesherton, ok in the future, should i be basing my SRUs against master-next instead of master?18:41
hertonarges, preferably yes, although hardly we could get some clash I think (something that applies to master but not master-next)18:41
argesok noted.18:42
* ogasawara lunch18:52
=== tgardner is now known as tgardner-EOD
lucaHi! I reported this bug #997767. Anyone who can advise on what I can do?22:50
ubot2Launchpad bug 997767 in linux "10ec:8139 Network connection rtl8139 lost after some hours of inactivity and comes up again on user interaction" [Medium,Incomplete] https://launchpad.net/bugs/99776722:50
bjfluca, i'll add a comment to the bug22:55
lucabjf: Thanks. I don't want to bother you guys. Just want to know if I can do anything. Nothing seems to solve, not even recovery mode.22:56
bjfluca, unfortunately, friday afternoon is a bad time to pop into the channel and ask for help. what timezone are you in?22:57
lucabjf: I know that, sorry, I'm GMT+2:0 but I work during the day so I can only work on this in my free time.22:58
bjfluca, wasn't intended as a criticism, just stating the obvious22:59
lucabjf: yes, I understand, just giving a try :-) thanks for your help!22:59
bjfluca, is it about 1am where you are right now ?23:01
lucabjf: yes, 1am now.23:01
bjfluca, what i'd suggest is on monday after you get home from work or whatever, there will be a lot of folks around that live in the U.S.23:02
bjfluca, several of them have a lot more experience with wifi issues than i do23:02
bjfluca, i could help you bisect your kernel but i'm not convinced that is the issue23:03
lucabjf: not wifi here, just old eth. Anyway thanks! I'll try on monday then! Yes, I don't think that either. Older kernel should work I guess...23:03
bjfluca, i'm not saying it's not a kernel issue23:03
bjfluca, sorry i didn't get that23:04
bjfluca, you were running oneiric just fine with no issues?23:05
lucabjf: yes23:05
lucabjf: never had an issue.23:06
bjfhuh23:06
bjfand now you've updated, have the issue. even if you run the oneiric kernel on your precise install23:06
lucabjf: exactly23:06
lucabjf: tested many times.23:07
lucabjf: I'll test again with a live CD of 12.04 and 11.10 and see what happens. I don't have any other idea. recovery mode fails as well so I don't know what might be the cause.23:09
bjfluca, some of what you describe makes it seem like a userspace isssue23:10
bjfluca, please do come back monday and we'll try to help you out23:10
lucabjf: yes, but I don't know exactly what recovery mode runs. Thank you very much!23:11
jwiluca: when testing the latest mainline kernels, did you also install the linux-image-extra-* package?23:13
lucajwi: no, should I?23:13
jwiluca: yes - this is most likely what's causing the boot failures.23:14
lucajwi: then I'll test again installing that as well. Thanks!23:14

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