/srv/irclogs.ubuntu.com/2009/02/26/#ubuntu-kernel.txt

=== Tim-away is now known as TimStarling
jbuncherapw:  I won't be able to test those kernels today, but I should get a chance to tomorrow.00:30
apwthey'll take some hours yet anyhow ... will reply on the bug00:43
jbunchersounds good00:44
=== dreamnid_ is now known as dreamnid
=== mib_4tf3sums is now known as pARAd0X85
pARAd0X85where is the best place to discover the Linux Input Architecture ?08:57
smb_tpOk, so maybe we look at the same stuff with https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/286672 as for14:07
ubot3Malone bug 286672 in linux "WARNING: at /build/buildd/linux-2.6.27/kernel/power/main.c:176 suspend_test_finish+0x74/0x80()" [Medium,In progress] 14:07
smb_tpbug 31897814:08
ubot3Malone bug 318978 in dell "Hard drive in Studio XPS 13 and 16 cause a 17-18s resume time" [High,Fix released] https://launchpad.net/bugs/31897814:08
rtgsmb_tp: the driver was violating the spec in that it was not waiting the minimum amount of time for the link to reestablish14:08
smb_tpOk, what happened when it did not wait long enough? It went into a reset?14:08
rtgsmb_tp: it would eventually resover, but not until after the resume time had been exceeded14:09
rtgrecover, even14:09
smb_tpHm, from the logs in the other bug report it looks like the link has been reset (could be the recovers) and it requires quite some time until the disk is ready14:10
rtgsmb_tp: exactly, thats why its disk specific14:11
smb_tpThen the best thing to check is whether that patch has been backported to intrepid, but I too don't think so.14:12
rtgsmb_tp: its a real simple change14:12
apwIntuitiveNipple, on bug #286673 you suggest that there is a relationship with firmware loading, i don't see any firmware loading in the kernel logs there14:13
ubot3Malone bug 286673 in flashplugin-nonfree "flash plugin 10 is extremely slow !" [Undecided,Confirmed] https://launchpad.net/bugs/28667314:13
smb_tpThe other thing is, should kerneloops react on a WARN like it does? It seems to act as if a kernel crash had occured. 14:13
apwall i see is a machine loading slowly, cause its disk took a little while to come back14:13
IntuitiveNippleapw: Relationship *could* have been related to the firmware issue. My investigation showed it isn't on that bug14:13
apwrtg, smb, one thing i would note here, is that its ok for sata to take up to 5 seconds, and yet the overall resume warning time is 5 seconds14:14
IntuitiveNippleapw: It was in the context of my sweeping through the suspend/resume bugs trying to identify which might be caused by the firmware load issue14:14
apwi think in tandem we should up the rather arbitrary resume timeout by the delta there14:14
apwIntuitiveNipple, makes sense then14:14
rtgapw: correct, but in general most disks re-synv in something less then 2 seconds, whereas the original timeout was only 1 second.14:15
apwsmb_tp, most WARN_ON's are something that needs reporting, that one really isn't14:15
apwrtg, yes, but the one in the bug smb quotes first the disk take of the order of 2s to recover14:15
apwand in that machine that pushes recovery to 8s total, there is nothing major there, other than the disk at 2s to my eyey14:16
smb_tpI guess it is only the "your kernel crashed" string that apparently is somewhere in the popup window when it asks for submitting a report that makes users jump14:16
apwif its going to be that close to a pretty idea time, its too agressive as a WARN_ON if you have kerneloops installed14:17
apwmy feeling is that that is a bit low with the state of the art, its an ideal not a hard deadline14:17
apwi wonder if perhaps there should be a 'look_i_am_slow_at_resuming=yes' kernel command line to shut it up14:18
apwelse people will report an oops for every resume14:18
smb_tpThe reports would require something like a 5s delay (that is when the atalib prints be patient)14:18
smb_tpBut that probably is not needed if the other timeout is larger14:19
smb_tpIntuitiveNipple, I think we should try the patch from 318978 with some Intrepid  test kernels. If that prevents the recovery this should help there as well.14:22
IntuitiveNipplesmb_tp: Have I got confused? I *thought* one of the reporters was using 2.6.28-6 or -7 ?14:22
* smb_tp looks again14:23
IntuitiveNipplesmb_tp: You're correct! I've looked at som many kern.log's recently I don't know where I am :)14:24
IntuitiveNipples/som/so/14:24
smb_tpNo, there seems to be one, thoug hard to say which extactlly kernel level14:25
IntuitiveNipplein which case I agree, if Tim's patch will help it'll calm some nerves14:25
smb_tphttps://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/286672/comments/1614:25
ubot3Malone bug 286672 in linux "WARNING: at /build/buildd/linux-2.6.27/kernel/power/main.c:176 suspend_test_finish+0x74/0x80()" [Medium,In progress] 14:25
IntuitiveNippleoh, well spotted!14:25
smb_tpHm , must be 2.6.28-8-2414:25
smb_tpLets check when the other patch got in14:25
IntuitiveNippleIt shows 2.6.28-8-generic #24-Ubuntu14:26
smb_tprtg, patch went in 2.6.28-5.12, so it should be in there14:27
rtgsmb_tp: in Jaunty for sure. I thought you were talking about Intrepid?14:27
smb_tpMost of the others yes. One single WARN for 28 but funnily when he supplied the whole dmesg it was 2.6.27 again...14:28
rtghmm, some crack involved?14:28
IntuitiveNippleSomeone testing kernels to fix it maybe?14:30
IntuitiveNippleI'll ask him to clarify14:30
smb_tpSounds a bit like it. Well the WARN jsut says takes to long on resume, we don't know why for 2.6.28, so I would really go with that patch and see14:30
smb_tpIntuitiveNipple, I could provide a test kernel to try and link it to the bug report14:31
IntuitiveNippleThat'd be useful :) I'm just adding a comment now14:33
* smb_tp goes to cook a kernel14:33
IntuitiveNipplesmb_tp: Can you throw in a printk() so we know which code-path ata_wait_ready() takes when -ENODEV applies? I don't think we can figure it out any other way. It would help determine if the ATA_TMOUT_FF_WAIT is used to cause ready to be reset artificially14:37
smb_tpIntuitiveNipple, should be possible. hopefully after the other patch the wait won't occur14:39
IntuitiveNippleAnd if it does, we get to know which code-path to poke14:40
IntuitiveNipplesmb_tp: Looking at it, it might be best to use a count of how many times 'ready' is reset in both paths and print the summary at function-exit else printing to log every~ 50ms might add a delay of its own :)14:44
smb_tpHeh, yeah :)14:45
=== TimStarling is now known as Tim-away
philsfogasawara: ping?16:29
ogasawaraphilsf: what's up16:29
MartynHad anyone had experience configuring and using gfs or OCFS2 on ubuntu-server?16:30
philsfogasawara: I was told to contact you about a bug, could you take a look at a kernel backtrace for me please?16:30
ogasawaraphilsf: sure, which bug #16:30
philsfhttp://launchpadlibrarian.net/21975410/dmesg.log from bug #32523816:31
ubot3Malone bug 325238 in linux "BUG: unable to handle kernel paging request" [Undecided,New] https://launchpad.net/bugs/32523816:31
philsfI think I inputted everything the wiki asks for16:32
Martynphilsf : Considering I'm also currently working in the kernel paging subsystem .. I'll take a quick gander too16:37
philsfMartyn: cool, thanks!16:37
philsfit looks like it should be a nvidia blob thing, but since it also happens with the LiveCD, it also should not be. kind of a paradox for the lay me16:38
ogasawaraphilsf: you mention you're able to reproduce with a LiveCD, have you tried the latest Jaunty Alpha?  has a 2.6.28 based kernel.16:39
ogasawaraphilsf: I'd just be curious if it still oopses16:39
philsfogasawara: I haven't. I only tried hardy CD and DVD16:39
philsfthe strange thing is that it worked perfectly for almost a year16:39
ogasawaraphilsf: http://cdimage.ubuntu.com/releases/jaunty/16:40
ogasawaraphilsf: if you wouldn't mind testing that would be great - also Alpha 5 should drop today16:40
philsfok, I'l try it in a couple of hours16:42
ogasawaraphilsf: thanks. I'll subscribe to the bug report, so if you can post a comment with your test results there I'll see it16:42
Martynogasawara : The OOPS recorded in the log is odd.16:43
Martynogasawara : It was in the middle of trying an execve16:45
MartynWhich would be what you'd expect if it .. say .. couldn't read the file from the page_cache after it expected to load it from disk.16:45
MartynHowever, the whole chain of Oops'es seems to start early on, during the initialization of the intel 915...16:46
Martyn[   51.475653] EIP: [<f990f9ee>] intel_i915_configure+0xce/0x100 [intel_agp] SS:ESP 0068:f741bde416:46
Martyn  (agp bus)16:46
Martynphilsf : When you remove the nVidia card, everything boots correctly, right?16:48
kristian_oooo. is this the kernel?17:26
macokristian_: yes, would you like some popcorn?17:30
kristian_thanks, but no thanks!17:33
kristian_i fount the kernel! :-D17:34
kristian_found*17:34
philsfMartyn: yes, when I remove the nvidia card, everything boots ok, afaict18:44
MartynYou have a conflict, in hardware then.18:52
Martyni know you say it's been working before, which leads me to think there might be a hardware change somewhere.   Specifically, I'm wondering if the internal intel 915 based video is trying to map the same resources as the nVidia card now.  Not something that would _usually_ be a bios setting.18:53
MartynMore a jumper.18:53
Martynbut sometimes it can be something the manufacturer lets you set in the BIOS of the machine (disable internal video card) etc...18:53
IntuitiveNippleIt could be an MTRR issue... I was suspicious of the VESA framebuffer18:53
MartynWhy?18:54
Martyn"intuitive nipple?"  I have to know the origin18:54
IntuitiveNippledepending on the CPU, there may be insufficient MTRRs 18:54
IntuitiveNipplephilsf: Did the system work ok previously with the nvidia adapter ?18:55
MartynTrue, but phil said that there were no major changes, and it was working in the past...18:55
Martynso mtrr exhaustion seems unlikely18:55
IntuitiveNippleUnexpected BIOS reset might influence that. I've seen many systems cause unexpected issues because of that.18:56
MartynAh, good point.18:56
jbuncherapw:  I'm posting in the bug right now, but I was able to test all 3 of those kernels, and they all worked.  The 24-23 kernel still won't connect though.  Do you know of any other changes would there be between .24-22 and .24-23 that would have caused this?18:57
IntuitiveNippleIf you look at the vm addresses of the oops they are very close to pkmap. I wondered if something was invading pkmap18:57
MartynAlthough would linux early initialization really pay attention to what the BIOS settings are vis-a-vie MTRR's?18:57
IntuitiveNippleThe MTRRs are being configured to take account of holes and so forth by things like agpgart and so on. Also, the vesa fb driver can also allocate them.18:58
philsfIntuitiveNipple: yes, it worked for almost a year, since I bought it18:58
IntuitiveNipplephilsf: OK, I noticed you said that it started 'shortly after' after adding the additional hard disk18:59
IntuitiveNipplephilsf: how 'short' is short?18:59
philsfIntuitiveNipple: about a week18:59
IntuitiveNipplephilsf: And the nvidia adapter was in the system at that time, yes?19:00
philsfIntuitiveNipple: yes19:00
IntuitiveNipplephilsf: but when things started going wrong, you discovered that removing it solved the problems?19:00
philsfcorrect19:00
IntuitiveNippleOK. Did you see my suggestions I added to the bug report?19:00
philsfI just read them. I'll try them in order now19:01
philsfcan I skip some steps, since I know the HDs work without the nvidia?19:01
philsfand do you need all dmesg.logs for each step?19:02
IntuitiveNipplephilsf: I would place a mild bet on the BIOS step right now. Not just resetting it, but looking for alternate configuration options that affect the internal/external video chipsets and memory mapping19:02
philsfso, should reset to factory defaults suffice?19:03
IntuitiveNippleNo, don't need logs. The idea is to try and find some point at which the system is stable.19:03
IntuitiveNippleYou've confirmed two things: 1) removing the nvidia adapter solves the issue and 2) it used to work with it in19:04
apwjbuncher, thnkas for the test, will think on it19:04
IntuitiveNipplephilsf: So I'd be looking in BIOS for any and all options that affect the video chipsets and memory-mapping (AGP window, for example)19:04
jbuncherapw:  no problem, glad to help.19:05
philsfIntuitiveNipple: ok, I just booted the ahrdy liveDVD sucessfully, with everyting except for the nvidia adapter. Since I have no idea what a proper setting would be for AGP window, nor anything related to that, I never changed it (willingly, that is)19:13
philsf*hardy19:13
IntuitiveNipplephilsf: OK. In BIOS did you see any options anywhere that allow the enabling/disabling of the internal graphics chipset ?19:15
IntuitiveNipplephilsf: Also, what motherboard make/model is it?19:15
philsfIntuitiveNipple: it's an intel d945gpt mobo19:15
philsfIntuitiveNipple: I honestly didn't even look for such an option, will do now19:16
IntuitiveNipplephilsf: there usually is something buried away. First thing I do with any system is go through every BIOS menu and option so I will remember in future when something like this comes up19:17
* IntuitiveNipple has to leave now. Dinner.19:18
philsfIntuitiveNipple: me too, with the exception of the arcane PCI settings19:18
philsfIntuitiveNipple: thanks for the tips, I'll update the bug with any news from the tests19:18
IntuitiveNipplephilsf: Those are the important ones... sometimes something important is buried 3 menus deep19:18
IntuitiveNipplephilsf: I'll keep an eye on the bug report19:18
MartynOkay, is there some arcade voodo I have to do in order to get gfs working in Intrepid?19:33
MartynBecause right now, the gfs kernel module is -not- cooperating19:34
wmatMartyn: not cooperating how?19:47
macowould "iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks" be the first thing sent to dmesg after modprobing iwlagn?19:50
rtgmaco:  looks like the module banner to me19:50
macototal kernel newbie here..does that make it the first thing that happens when i modprobe it?19:51
wmatmaco: try removing it, then tailing dmesg while adding it19:51
rtgmaco: its close enough to the first thing that happens19:51
macook19:51
macoer...oh...should i be looking at dmesg, syslog, or kern.log to find what the iwlagn module was doing during ifup?19:52
macoi think it's the modules fault ifup kept failing. unload/reload fixed it19:53
rtgmaco: dmesg collects all driver log output19:53
macothanks19:54
rtgmaco: actually, dmesg collects all printk() output.19:54
philsfMartyn: doI understand correctly IntuitiveNipple's suggestion was somehow the BIOS got corrupted?19:57
Martynphilsf : I also think it's possible your BIOS settings _may_ be involved here.   It might be worth it to go into the BIOS, choose some default settings, and then try again.19:58
Martynwmat : It's not loading.   19:59
Martynwmat : It seems to load, and the kernel reports the symbols as being available, but the gfs tools refuse to work.19:59
wmatMartyn: GFS2 tools?  I recall something about everything GFS related moving to GFS2, but I could be wrong.20:04
philsfresetting BIOS config to factory defaults apparently solved it for good. I'd like to know why :)20:06
MartynHmmm .... does tmpfs (or any of the RAMfs drivers) pin the pages into memory to prevent them getting swapped out?22:04
MartynAka.. is it safe to use a tmpfs volume for swapping?22:04
MajostIs there some documentation I can look at to figure out how to create an additional patch set for ubuntu-hardy-lum?22:50
lagaMajost: what do you want to do?22:50
MajostI want to add a couple HDA patches and update the existing hda_codec.patch22:51
lagahave you found the kernel team wiki yet?22:52
MajostYes, but I haven't found anything specific to the hardy-lum package just yet.22:53
lagayou get a git checkout, apply your patches, update changelog, rebuild?22:53
Majostso for the .patch files, is there a series file or anything which is used to apply a patch order?22:55
laga i believe it's all kept in git. not sure about that anymore22:55
Majostokay, I will look there22:55
MajostSo is there any preferred specific method of patching to be able to push fixes upstream?23:10
lagaMajost: git commits seem to be the preferred way..23:16
lagawho is "upstream"? hardy-lum probably is pretty old23:16
MajostWell, hopefully Ubuntu.23:26
lagaah, that patch flow is documented in the wiki23:27
=== Tim-away is now known as TimStarling

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