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

=== zopa is now known as azop
=== kamalmostafa is now known as kamal
TREESofRIGHTEOUSHi I have a bug to report, but needed some info on how to.  I have encountered a Kernel regression\01:48
TREESofRIGHTEOUSI am only able to run 10.04 and previous versions without the acpi=off option.  once I upgraded to 10.10, 11.04, 11.10 I had to use the acpi=off option.  I will provide whatever info is needed, but I currently only run Ubuntu 10.04 on this machine (Compaq Presario R3000). Thanks01:50
TREESofRIGHTEOUScan anyone see my messages?02:21
=== smb` is now known as smb
* smb drag himself and a cup of coffee in08:33
apwheh a vision of you dragging in a coffee is not easy08:39
apwohsix, i thought our perf had a fix in it for that to find the symbols, or to take an option so you can specify them08:41
ppisatimorning *08:41
apwppisati, morning08:41
smbapw, In a cup :)08:42
smbppisati, apw morning08:42
apwsmb, thats a big cup if it needs dragging08:43
smbapw, Oh you know how difficult even little things are in the morning08:44
ohsixapw: could be, id idn't look at patches, and it wasn't finding vmlinux without me copying it (also, it was using kallsyms at record time but saying it was invalid at report time)08:53
apwsmb, http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html09:09
ppisatido any of you have an lvm disk/partition?10:03
smbppisati, Sometimes10:03
ppisatii just found out that10:03
ppisatiafter installing tha latest kernel10:04
ppisatithe grub logic that tries to determine the partition type10:04
ppisaticonfuses my lvm partition as a fuse partition10:04
ppisatitries to mount it10:04
apwppisati, latest kernel?  3.2.0-4 ?10:05
* smb thinks he saw some bug about it... if he could remember where10:05
ppisatiyes10:05
apwhmmm10:05
ppisatii launched this morning the update10:05
ppisatigot the new kernel10:05
ppisatibut the installation was stuck10:05
ppisatibut i noticed that a process was sucking 100% cpu10:05
ppisatiand eating all my mem10:05
ppisatidown to the point where i had to manually kill -9 some of them10:06
apwfuse partition to my mind doesn't mean anything10:06
ppisatiwait10:06
ppisatii fill an lp bug with some details10:06
apwppisati, what kernel were you running before10:07
ppisatiapw: Linux newluxor 3.0.0-13-generic #22-Ubuntu10:07
ppisatistill running this one10:07
ppisatididn't reboot yet10:07
apwoh so this is an oneiric -> precise update ?10:07
ppisatinope10:07
ppisatii'm still in oneiric10:08
ppisatibut was installing...10:08
apwbut was upgrading to precice ?10:08
ppisati3.0.0-1410:08
ppisatinope10:08
ppisatiapt-get update10:08
apwoh its an oneiric bug10:08
ppisatito me10:08
ppisatiit's a grub bug10:08
ppisatiif i execute10:09
ppisatisudo /usr/lib/os-probes/50mounted-tests /dev/sdd110:09
ppisatiwhere sdd1 is an lvm partition10:09
ppisatii end up having:10:09
smbnothing?10:11
ppisatihttp://paste.ubuntu.com/767722/10:11
ppisatii had to kill immediately the script10:11
ppisatielse10:11
ppisatiit would suck all my mem10:11
ppisatiand my box would start swapping10:11
ppisatitrashing like hell10:11
ppisatiand the last line of /var/log/syslog say:10:12
ppisatiDec 12 11:09:40 newluxor 50mounted-tests: debug: mounted using GRUB10:12
ppisatiDec 12 11:09:40 newluxor 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos10:12
ppisatiDec 12 11:09:40 newluxor 10freedos: debug: /dev/sdd1 is a FUSE partition10:12
apwwhat the HECK is a FUSE partition?10:12
smbapw, probably not partition10:13
smbfuse is used to access ntfs afaik10:13
ppisatibtw, that partition is mounted as /dev/mapper/storage-storage (and it has ext3 on it)10:14
ohsixit's not a partition, but they do get mounted :>10:15
ohsixone of the endpoints is a program and it shows up in /proc/mounts10:15
smbWonder whether it could be some interaction with the userspace fs helpers .... I am still trying to find something relevant there10:17
ppisatii'm filling the lp bug with some more details...10:20
smbppisati, btw, are we talking about a 32 or 64 bit system?10:27
ppisatiok, here it is:10:29
ppisatilp 90312510:29
ubot2Launchpad bug 903125 in grub2 "50mounted-tests incorrectly handles lvm partition" [Undecided,New] https://launchpad.net/bugs/90312510:29
ppisatismb: 64bit10:29
smbppisati, Hm, seems I cannot immediately reproduce this in my vm...10:42
ppisatismb: no worries, i'll try to debug it a bit more10:44
smbppisati, You should add the output of sudo fdisk -l10:58
smbppisati, I mean you got it for the one disk, but just for all of the partitions10:59
smbhm... 50mounted-tests... where does that come from?11:03
aquariusapw, http://paste.ubuntu.com/767761/ is the dmidecode output from my machine, to see if it should be suspending or not. I *think* that the machine is failing to suspend, rather than suspending and failing to resume, because the screen never turns off (and the RTC trick puts a Magic number in dmesg but no "hash matched" lines at all)11:04
ppisatismb: so you have an lvm partition, right?11:06
ppisatismb: sudo grub-mount /dev/sdd1 /media/11:06
ppisatismb: and then ls -1 /media11:06
ppisatismb: watch memory and cpu11:06
smbppisati, yes, for / and I even added a second disk an put a single pv on that11:07
ppisatismb: nothing happens until i do some activity on it11:08
ppisatismb: e.g. now i mounted it11:09
ppisatismb: and the box is ok11:09
ppisatismb: grub-mount on /media type fuse.grub-mount (rw,nosuid,nodev)11:09
smbppisati, It tells me unknown fs and nothing happens. No process running11:09
ppisatiuhm11:09
htorquecking: hi! i've done the quick ALPM test with my thinkpad t510, and just want to be sure: the longer test with i/o load should be done on battery too, right?11:11
smbppisati, Just to make sure, are the partition/contents reported for sda-sdc correct (as in the report)?11:12
ppisatiwhat you mean?11:12
ppisatiah11:12
smbppisati, All that WinXP and Win2K found there11:12
ppisatiyep11:13
ppisatilvdisplay uses only labels11:15
ppisatiis there a way to pass a /dev?11:15
ppisatior any other tools to inspect the content of /dev/sdd?11:15
aquariusjust realised that I probably shouldn't have directed the above specifically to ap-w :)11:15
smbppisati, Ok. So just for reference. In the vm the grub version are the same as yours. lvdisplay /dev/<vg>/<lv>11:15
smbppisati, but lvdisplay is for lvs not partitions directly11:16
ppisatiyep11:16
aquariusI've got a new Lenovo U300s, which doesn't seem to suspend correctly. http://paste.ubuntu.com/767761/ is the dmidecode output, to see if it should be working or not. I *think* that the machine is failing to suspend, rather than suspending and failing to resume, because the screen never turns off (and the RTC trick from https://wiki.ubuntu.com/DebuggingKernelSuspend puts a Magic number in dmesg but no "hash matc11:16
aquariushed" lines at all)11:16
ppisaticrap11:17
ppisatigrub-mount is a binary11:17
smbppisati, I sourced the common scripts from 50mounted-tests and ran fs_type... or use blkid11:17
smbppisati, Actually sudo blkid should give us quite a bit of info11:18
ppisatiuuid and type11:19
ppisati[flag@newluxor ~]$ sudo blkid /dev/sdd1 11:19
ppisati/dev/sdd1: UUID="ew7mIr-AC0i-WDIU-CmjU-psOF-PU1z-WuQuDf" TYPE="LVM2_member"11:19
apwand on sdd ?11:20
ppisatinothing11:20
smbapw, that is nothing11:20
ppisati[flag@newluxor ~]$ sudo blkid /dev/sdd11:20
ppisati[flag@newluxor ~]$ 11:20
ppisatito me it looks like, grub-mount is fooled11:20
smbAs soon as there is partitions11:20
ppisatimount it as $something11:20
ohsixwhy is the volume on a partition11:20
ppisatiand when some activity is done in the mount point, fuse starts sucking cpu/mem11:20
smbohsix, choice11:21
ohsixweird11:21
ohsixi think i did that when i was playing with it, along with some looped files; but to do that when you have storage ... :]11:21
smbohsix, It would not matter that much on x86, but its safe and historically you used to give it a lvm partition type, too11:21
ppisatiohsix: this is an old disk i got while retiring/disassembling another box11:22
ohsixright but the partition table is superfluous11:22
ppisatiohsix: i put in my workstation since i wanted to reuse the disk11:22
smbohsix, If you use the whole disk as pv. But you could only use parts of it for example11:23
ppisatiohsix: for what is worth, it came froma debian server11:23
ppisatii think it was a lenny server IIRC11:23
apwppisati, so do i remember you saying you haven't booted onto the new kernel you got?  and do we know what else you did get11:23
ppisatiso, long ago11:23
ohsixright, don't let me digress i just thought it odd; it should work even if it's a partition11:23
ppisatiapw: yep, not rebooted yet11:23
apwwhat else you did get with the kernel in the update11:24
smbohsix, Not that it matters, but if you do that on the mainframe on dasd devices you will be doomed11:24
ppisatiapw: ah11:24
ppisatiapw: i don't remember exactly, some other packages11:24
apwgrub2 is 10 weeks old, so unlikely that11:24
ppisatinope11:24
apwthere is a log in /var/log which has the list11:24
apwudev and util-linux are also simiarly old11:25
ppisati/var/log/apt/history.log?11:25
apwsounds believable :)11:25
ppisatiapw: http://paste.ubuntu.com/767779/11:26
smbppisati, seems os-proper is its own package...11:26
ppisatiah, so it's not grub11:26
ohsixos-prober11:27
ohsixi had to hack at it a bit on my netbook with the way it added osx and xp :]11:27
apwok so you only gotten the kernel and ghostscript, but as you arn't running the new kernel yet ... and ghostscript seems unlikely as a cause11:27
apwi am somewhat perplexed as to how this could be new11:28
ohsixyou can disable it in /etc/default and it'll not generate the new style boot menu11:28
ppisatino no11:28
ppisatiapw: it all started now because i installed this disk11:28
ppisatiapw: in my workstation, before this disk was working on another box11:28
ppisatiapw: a debian box, that was bot updated since...11:28
apw10:03:48          ppisati | i just found out that                                                                      │ apw11:29
ppisatimonths? years pehaps11:29
apw10:04:03          ppisati | after installing tha latest kernel                                                         │ aquarius11:29
ppisatibecause the new kernel triggers grub-update11:29
ppisatiand i never tried grub-update after i installed this disk11:29
apwthats not how you worded it at the beginning, there was no mention at all of the lvm being new11:29
smbSo summary, this disk may contain something os-prober does not expect and confuses it. And its nothing update related.11:29
ppisatinope11:29
* apw resets problem space11:30
ppisatithe update just triggered the problem11:30
apwsmb, sounds about right11:30
smbppisati, Maybe you could run the initial steps of 50mounted-tests and see that fstype is what you expect for start11:32
ohsixor read it, heh; strace will tell you what it's doing, the stuff in os-prober is pretty comprehensible11:33
* ppisati -12:15
ppisati< reboot12:15
* ppisati -> lunch12:36
DavieyHas anybody reported nivida binary drivers not functioning with the latest kernel in oneiric?13:23
jsalisburyDaviey, I think I've seen a few bugs regarding nvidia drivers in Oneiric13:24
Davieyjsalisbury: Is this not something currently tested?13:27
smbNot sure for sure, but even if, there is a lot of hw and a lot of subtle problems to not find...13:31
mdeslaurDaviey: is this breaking _all_ nvidia users currently?13:34
Davieymdeslaur: NFI, i can only speak for myself.13:36
mdeslaurDaviey: do you have a bug#?13:39
htorquecking: hi! should the ALPM long term test be done on battery?13:39
Davieymdeslaur: I haven't raised one as yet, and not come across ones jsalisbury might have seen,13:40
DavieyTrying to poll my loco to see if others have noticed.13:40
ckinghtorque, yes, since the power saving mode only works when on battery, or unless one forces it13:40
mdeslaurDaviey: ok, I'll throw oneiric on a nvidia laptop, see if I see it too13:40
ckinghtorque, you can force it on using: sudo pm-powersave true13:40
jsalisburyDaviey, I recall two bugs recently.  Let me check for the bug numbers.13:40
Davieythanks!13:41
Davieymdeslaur: note, nvidia _binary_ drivers13:41
htorquecking: thanks, will force it then. :-)13:41
mdeslaurDaviey: yes, thanks13:41
ckinghtorque, thanks for testing 13:41
htorqueyw :-)13:42
jsalisburyDaviey, hmm, actually they may have been for precise.  Here's one: bug 89710213:42
ubot2Launchpad bug 897102 in linux "precise can't boot with linux 3.2.0.1.1" [High,Confirmed] https://launchpad.net/bugs/89710213:42
DavieyOh13:42
jsalisburyDaviey, yeah, sorry, the other one was for precise too: bug 90138613:43
ubot2Launchpad bug 901386 in nvidia-graphics-drivers "Ubuntu 3.2 kernels vs. nvidia-current vs GTX 560 (Mainline works)" [High,Confirmed] https://launchpad.net/bugs/90138613:43
Davieydammit, just had confirmation from someone with the same hardware as me that it is working.13:43
smbDaviey, Not wanting to worry you, but the last time I had strange gfx trouble it was the beginning of my mainboard dissolving itself... :-P13:45
Davieysmb: "thanks", thankfully - booting into the 3.*-generic-(n-1) it works :)13:46
smbDaviey, Hehe. Ok, make sure that the nvidia module loads. As it is dkms, there are sometimes issues when the compile is done at the wrong time and you end up with it complaining about wrong symbols13:48
smbThe manual steps to recover are a bit ... inconvenient  ... Meaning you have to run the dkms commands to uninstall, build and install the module (all with a lot of arguments to specify module name, version and kernel version)13:50
Davieysmb: right, i'm on it :)13:52
Davieythanks13:52
Davieysmb: STAND DOWN, http://pb.daviey.com/JXf4/ \o/ .. life is probably good.13:57
luis_hi there, could someone else try to help me with this bug? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/89861514:11
ubot2Launchpad bug 898615 in linux "[Presario C500] Hibernate command fails and returns to userspace" [Medium,Confirmed]14:11
ogasawaratgardner: you gonna attend the tech board meeting today?14:30
tgardnerogasawara, I have not decided. I've got a conflict. I don't really have much more to add to the discussion other then what I've already written. All I've received in that thread (as far as I'm concerned) is opinion and hyperbole. Nobody has any real numbers.14:32
aquariusI've just tried to report a suspend bug with "ubuntu-bug linux", but apport claims I'm not running an Ubuntu package; I'm running precise, installed from yesterday's nightly build and upgraded today. What might I be doing wrong?14:33
tgardnerogasawara, are you interested in going to bat for it?14:33
ogasawaratgardner: I'm willing to attend, but I'm not as compassionate about the topic as you.  I do see value in us just building the flavor and having it shoved to universe and not officially supporting it.14:35
tgardnerogasawara, I think its interesting the nobody has expressed an interest in maintaining a universe kernel. that tells me something...14:36
tgardnerplus, I think you meant compassionate --> passionate14:37
ogasawaratgardner: indeed :)14:37
tgardnerkernel dudes don't have compassion :)14:37
=== yofel_ is now known as yofel
brendand_jsalisbury - hi15:07
jsalisburybrendand_, hello15:08
=== brendand_ is now known as brendand
brendandjsalisbury - i added an item to the kernel team agenda. hope that's alright15:09
jsalisburybrendand, sure.  Is that the Hardware Certification - Testing Pools entry?15:10
brendandjsalisbury - yep15:10
jsalisburybrendand, ok, noted15:11
tgardnerogasawara, *sigh* 802.11n seems to be broken in -rc4 on my Thinkpad x120e. 802.11g still works ok (rtl8111/8168B)15:11
ogasawaratgardner: -rc4 or do you mean -rc5?15:11
tgardnerogasawara, right15:12
tgardnerI really had other plans for my day.15:12
jsalisburybrendand, is the topic you added a one time event?15:16
brendandjsalisbury - should be15:16
jsalisburybrendand, cool, thanks15:16
hallyndrat - fresh i386 precise server install panics sometime after trying to set up networking.15:27
hallynfeh, guess i need to try under kvm.  it scrolled fast for 1-2 seconds before ending up here, so i don't think screendumped panic is helpful15:28
* ogasawara back in 2015:33
jsalisburytgardner, apw re: bug 894768  According to Raphael in comment #33, this has been happening in prior releases.  Are there plans to backport the fix to prior releases?15:41
ubot2Launchpad bug 894768 in linux "Installation randomly fails with: File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 621, in copy_file targetfh.write(buf) IOError: [Errno 22] Invalid argument " [High,Fix released] https://launchpad.net/bugs/89476815:41
tgardnerjsalisbury, the ultimate fix was from upstream, so perhaps they ought to be driven through stable16:00
jsalisburytgardner, ok, that makes sense.16:01
hallynhm, kvm boots fine.  hardware does not.  maybe i goofed, i suppose...16:01
tgardnerjsalisbury, lemme make sure those fixes really did land in -rc516:02
jsalisburytgardner, great, thanks16:02
tgardnerjsalisbury, ok, 3.2-4 is still carrying apw's fix, but upstream is developing a different approach that has yet to be finalized.16:05
jsalisburytgardner, ah, ok.  16:05
apwjsalisbury, yep am waiting for it to hit mainline, some is slated to go to stable anyhow and depending what does we should teat that and confirm it fixes older releases16:18
apwjsalisbury, the instant fix we have is not applicable to older releases as the code at fault did not exist back there16:18
jsalisburyapw, tgardner, thanks for explaining16:18
tgardnerapw, note that there is someone in the bug report that says 3.2-4 doesn't fix the problem16:19
apwtgardner, assuming they are not simply wrong, then there must be more than one bug, i cannot repro it at all16:20
apwtgardner, but we should get them to retest with the 4 patch set as well before trying to debug, as that does fix two issues one of which is mine16:21
tgardnerapw, this onl;y happens with the installer, right ?16:21
apwno anything could trigger it, its not doing anything special, just a lot of it16:22
apwtgardner, will get them a test kernel with the expected fixes16:22
tgardnerapw, just wondered if we should upload a new kernel with the upstream patches in order to get some testing in the dailies.16:22
apwtgardner, let me find out what upstream has done, its supposed to be in for the -rcs ... it may be in the next one already16:23
tgardnerapw, ack16:23
* apw pops out on an errand16:48
tgardnerogasawara, so 802.11n isn't quite as bad as I thought with 3.2-4. Its just a little racy. Given the lock patch on the wireless list I can see why.16:52
ogasawaratgardner: ack16:53
brendandbjf - do you remember the model of server you asked me to test last week? i figured out why it wasn't booting (i think)17:05
bjfbrendand: it was a hp PowerEdge 2940 (i think)17:06
brendandbjf - probably Dell PowerEdge17:06
brendandbjf - i remember now. PowerEdge 2950 it was17:07
brendandbjf - i'll give it a go again and let you know. it was with natty right?17:08
bjfbrendand: i'll buy that17:08
bjfbrendand: i've got to find the bug 17:08
brendandbjf - as far as i can remember it was supposed to not boot with the latest Natty kernel in updates, right?17:09
bjfbrendand: better let me find it so you don't waste your time booting the wrong one17:10
brendandbjf - sure17:12
argesDoes anyone know what gen6 / ironlake mean in the i915 driver? Is gen6 just sandybridge, and ironlake a subset?17:14
vanhoof_arges: ironlake iirc gen5, arrandale17:15
=== vanhoof_ is now known as vanhoof
tgardnerivy bridge is GEN7 IIRC17:15
vanhooftgardner: ack17:15
vanhooftgardner: sandybridge is gen617:16
argesvanhoof, ah thanks17:16
vanhoofironlake is part of the westmere platform, which would be clarkdale/arrandale cpus17:16
vanhoofand IIRC that is gen517:17
argesvanhoof, so would an x220 with a sandybridge process call some ironlake functions? 17:17
argesi guess thats dependent on how the code is organized17:17
vanhoofarges: i'd imagine so, unless it's conditionalized like a lot of things I've seen lately have been if gen6 || gen7 ...17:18
vanhoofarges: but i'd bounce that off of someone who knows more :)17:18
bjfbrendand: it was Oneiric server (bug 897243)17:18
ubot2Launchpad bug 897243 in linux "Dell PowerEdge 2900/2950 crashing with Ubuntu Server 11.10" [High,Triaged] https://launchpad.net/bugs/89724317:18
argesvanhoof, yea, def. anyway thanks!17:20
brendandbjf - ah. that's a totally different story.17:21
* tgardner -> lunch19:07
sforsheearges, I know that in at least some areas of the code i915 calls ironlake functions for anything with a PCH, so that would include sandybridge19:25
sforsheeso yes, an x220 with sandybridge would be calling at least some ironlake functions19:25
bjf hggdh, i've added a comment to bug 238208. also, at least one person reported that it fixed the issue for them. i believe the commit should remain.20:37
ubot2Launchpad bug 238208 in linux "Need MemoryStick driver Ricoh R5C592 (part of R5C832/822chipset)" [Wishlist,Fix released] https://launchpad.net/bugs/23820820:37
tgardnerbjf, sometimes its the media that doesn't work. I've found quite a bit of variation in those SD cards20:42
bjftgardner: thanks, i'll add that as a comment20:43
* cking battening down the hatches, incoming storm21:13
jchoaulanyone know what %w0 means in inline assembler?21:55
hggdhbjf: thank you21:57
* tgardner -> EOD22:04
=== maxb_ is now known as maxb

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