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

=== thomi_ is now known as thomi
DandelI am needing to find out who to talk to about some more trivial hardware enablement and procedures to get input devices updated where all that is really required is adding a few device id's to the appropriate drivers.00:38
xnoxDandel: simple things like config changes / extra device id's are usually handled very efficiently via bug reports against "linux-meta" package.01:03
Dandelxnox, thanks for the tip, but what would it take to bug report to without relying on linux-meta? ( if i have a specific kernel line )01:08
Dandeli use the 3.5.x kernel.01:08
Dandelafter all I know that some of these devices do not have support added in the latest mainline kernel for 3.1201:11
Dandelgood evenin RAOF 01:16
RAOFEllo.01:16
Dandelactually, I believe it should be possible to fix some devices permanently ( like xbox 360 gamepads ) to where the xpad driver will auto identify them all.01:17
DandelI believe that all 360 gamepads have a similar layout that with some comparisons be used to identify the gamepad without having to add device id's.01:21
RAOFThat sounds like a recipe for false-positives :)01:26
DandelRAOF, not entirely01:27
Dandelthere is a very specific signature01:27
ohsixone of them being the device id01:28
Dandelohsix, yes, but there is a specific interface on all xbox 360 gamepads that you can look for01:28
ohsixis there a vendor descriptor that robustly identifies them? they have extensions windows and i think those gamepads use01:28
Dandelyea.01:28
Dandelinterface descriptor01:28
ohsixit's used to store things like images and maps and stuff01:28
Dandelfor xbox 360 gamepads, if you use an lsusb, you always find somethin like this on it... ** UNRECOGNIZED:  06 41 00 01 01 0301:29
ohsixthat's documented in the wdk / on msdn too01:29
Dandelya, and this is what microsoft uses to make their dumb driver auto-configure gamepads for xinput01:30
DandelI have one wired 360 controller that works great on windows and has a psectacular blinking ring of death on linux.01:30
DandelI believe it should be possible to identify the byte sequence that identifies things to make xinput capable devices work.01:32
Dandelfrom a few years back ( 2008  ) - http://ubuntuforums.org/showthread.php?t=993870 01:34
Dandelthe unrecognized bits on all of those items have a strong match to my gamepad that is currently not supported.01:35
ohsixwe can speak generally about it here, but it's probably prudent just to ask the person who wrote the code that has a whitelist in it01:37
Dandelohsix, yes, if you are only talking about my device... However it does not fix end user usability... it forces end users to haft to figure out how to file a bug report ( this is not exactly a good solution)02:04
ohsixnot really, the implied discussion would be finding out why he's not using the vendor extensions to find devices02:04
DandelI do agree that talking to the author would help, however in the mean time it would probably be worth while to figure out what the appropriate byte code sequence and location is to permanently fix the detection.02:06
ohsixyes, and i think it's a foregone conclusion to use what documentation MS has for identifying those devices, i don't think that is true for the person that wrote it02:07
ohsixeg. i'm assuming there is a reason it was done one way or the other, and i don't have the information that person had02:08
ohsixit's probably related to the kernel not also supporting the gamepad even if it could identify ones it doesn't know about yet02:09
ohsixa device that is detected but doesn't work is just as useful as one that's not detected02:09
Dandelyes, however there is specific entries that give a lot of key data too.02:10
ohsixi don't doubt it,  but i also don'tk now if they're sufficient02:10
Dandelohsix, the information is most likely static since the driver used by windows is about 6 years old ><; so i believe it should be possible to identify the devices without much work.02:12
ohsixthe device for windows is also written with information othe rpeople don't have, and no explicit guarantees about any of it02:13
ohsixthese are all reasons it may not have been done the 'correct' way, it is no substitute for asking the person02:13
=== shuduo_afk is now known as shuduo
=== marrusl is now known as marrusl_afk
=== marrusl_afk is now known as marrusl
=== gfrog_afk is now known as gfrog
ripthejackerHi all, I have set CONFIG_IP_VS_WRR in /boot/config , but I cannot see it in lsmod.03:31
ripthejackerHow do I check if a kernel module is loaded, or kernel has that capability?03:31
=== shuduo is now known as shuduo_afk
=== shuduo_afk is now known as shuduo
=== shuduo is now known as shuduo_afk
=== shuduo_afk is now known as shuduo
=== shuduo is now known as shuduo_afk
=== shuduo_afk is now known as shuduo
* apw yawns09:28
* RAOF pours the bees.09:29
* smb sees a tradition09:35
apwgotta have some bees in the morning09:39
=== gfrog is now known as gfrog_meeting
=== shuduo is now known as shuduo_afk
=== shuduo_afk is now known as shuduo
=== shuduo is now known as shuduo_afk
lamontsaucy kernel upgrade hung in os-prober doing a modprobe btrfs (on an openstack instance)... is that a known thing?17:13
lamont3.11.0-3-generic17:13
lamontis the running kernel17:13
rtgjsalisbury, ^^ have you come across a bug like this ?17:15
lamontstrace showed it sitting in init_module()17:16
lamontawesome.  update-grub is consistent in this manner!17:17
jsalisburyrtg, not that I can recall off the top of my head.  I'll do a search17:19
lamonthttp://paste.ubuntu.com/6562423/ <-- jsalisbury that's what I see 17:24
* lamont spins up a fresh instance to see if it's current-ish17:24
jsalisburylamont, I haven't seen any similar issues.  Does the entire system hang, or just the update-grup and kernel upgrade process?17:26
lamontupdate-grub hangs after: Found memtest86+ image: /boot/memtest86+.bin17:26
lamontand ps/strace are as per the pastebin17:26
rtglamont, I assume this is a regression ?17:28
lamontnfc17:28
jsalisburylamont, Are you upgrading via apt-get or did you download a .deb?  17:28
lamontupdate-grub runs fine on 3.11.0-14-generic17:28
lamontjsalisbury: this is a dist-upgrade of the box, I'll paste the history, but originally it was saucy-server-amd64-20130822 for the image17:29
=== yofel_ is now known as yofel
lamontthat was last previously upgraded on 2013-08-29...17:30
lamonthence the ancient kernel that is currently running17:30
jsalisburylamont, Do you have some earlier kernels on the system?  If so, you might be able to boot into the old image and just upgrade right to -14 by downloading the .deb17:30
lamontkilling the modprobe seems to let everything finish ok17:31
lamontit was more "have we seen this"17:31
lamontfwiw, chinstrap:~lamont/update-grub/history* are the /var/log/apt/history* files17:31
rtglamont, cool, you should have some dmesg output, right ?17:31
lamontdmesg shows bootup, after that it's boredome17:32
rtghrmph17:33
lamontI suspect it's a bug from saucy-devel time, and fixed.17:33
lamontwhich I think I can confirm by rebooting the instance, but want to get what I can from it first17:33
lamontI even still have the image that was used to boot it.17:34
lamontwhich tells me I can reproduce this at will.  let me reboot the upgraded image17:35
jsalisburylamont, it might be good to open a bug, so we have all the data capture in one spot.  apport will grab all the logs17:35
lamontit would seem that I'm missing either a package or my brain...  how shall I open this bug?17:36
* lamont had thought reportbug, but that's not installed17:37
lamontubuntu-bug seems to be the winner17:38
jsalisburylamont, right.  ubuntu-bug linux17:38
lamont*** Problem in linux-image-3.11.0-3-generic17:39
lamontThe problem cannot be reported:17:39
lamontThis is not an official Ubuntu package. Please remove any third party package and try again.17:39
lamontI suppose I could reboot so that the running kernel is the current package, and then report the bug17:40
lamonthttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/1260431 <-- such as it is.17:51
ubot2Launchpad bug 1260431 in linux (Ubuntu) "update-grub hangs under 3.11.0-3-generic" [Undecided,New]17:51
jsalisburylamont, thanks18:05
* rtg -> lunch18:31
anon12I installed linux kernel 3.10.0-rc3test+ from git after compiling it and have removed it but dkms keeps compiling modules for the 3.10.0-rc3test+ version. How do I find the right files to remove so that dkms starts working again?19:14
hallyn_stgraber: good news, new canonical-kernel-team/ppa trusty kernel lets me start unpriv containers with /proc/.../binfmt mounted19:37
stgraberhallyn_: yay!19:42
stgraberI'll have to update to that one19:43
rtgapw, Trusty server daily fails to finish booting after install. It gets as far as 'Add 2095100K swap on dev/vda5'. Didn't we have a frame buffer issue with KVM once upon a time ?20:21
rtgthis is using virt-manager20:21
rtgboots OK is I use recovery mode20:23
rtgs/is/if/20:23
apwrtg, that sounds familiar, i wonder if that is which 'display driver' you are using in kvm.  i am using virt-mngr too but i have had to change the display h/w in the past 'cause of unity imploding with it20:38
rtgapw, I'm just booting server20:38
apwyou know how you can change which h/w the VM has attached for graphics etc20:39
rtgapw, from virt-manager you mean ?20:39
apwyeah in there, where you define the macine there are various physicla devices, one you can change is the graphics20:40
apwthough if desktop works ok, that seems less likley20:40
apwit oculd be a race of course, we had those in older kernels20:40
* rtg -> EOD21:16
phillwHi, good people, is there a any chance what so ever of http://packages.debian.org/wheezy/kernel-image-3.2.0-4-486-di being included in mulitverse (or where ever) to make it available to create a lubuntu community respin?21:29
phillwplease do not laugh at my poor knowledge of kernels, but I believe it needs to be there to be used.21:31
Dandelphillw, the kernel you mentioned is over an year old. It would be better to use 3.10 or 3.4.x21:58
phillwDandel: as it is for 13.10 lubuntu, I looked at 3.2 kernel, I'm not sure what the kernel team have chosen for the 14.04 LTS.22:00
phillwahh.... sorry, 13.10 is on 3.11 :P22:01
phillwI was pulling a bug from the 3.2 kernel for zram.... my apologies. I'll go back and do some more reasearch :)22:01
phillwDandel: it would be http://packages.debian.org/sid/linux-image-3.11-2-48622:02
phillwIt does two things... 1) available for non-pae 2) allows those who were left behind after 10.04 (no cmov) to have an up to date kernel. I know it is limited in numbers of computers needing it; but being able to offer it would be nice :)22:05
Dandelphillw, look at the ubuntu mainline kernels22:08
phillwDandel: as I have said, I'm not really a kernel person, is there a ubuntu mainline 486 kernel?22:09
JanCphillw: nope22:09
Dandelphillw, sorry, but that's not possible... support for 486 was removed with the 3.8 kernel22:10
phillwJanC: which was my understanding. Is it possible to build *buntu with the debian kernel?22:11
JanCyou could build the Ubuntu kernel with support for 486 if you want...22:12
JanC(maybe an older Ubuntu kernel)22:14
phillwJanC: Yeah, I saw that on http://forums.debian.net/viewtopic.php?f=17&t=105200 if only I knew where to start! What I was, foolishly, assuming is that as debian have a 486 kernel, it could be used by *buntu. I'm realising that my simplistic understanding of how debian kernels are adopted by *buntu is woefully lacking.22:15
JanCphillw: I guess that you could use a Debian kernel too...22:17
JanCand AFAIK Ubuntu kernel isn't really based on Debian's kernels22:18
phillwhence my asking if the -486 one could be made available. It sorts out both the non-pae issue and the non-cmov issue,22:18
phillwI had a sneaky feeling it would be not be that easy, else it would have been done :)22:19
JanCIIRC Ubuntu requires PAE for security reasons22:19
phillwnon-pae is still supported on 12.0422:20
JanCI know, I had to install that on a Pentium M system last week  :-/22:21
phillwIIRC, it was to keep the upkeep of the kernel down to manageable levels that it was dropped. JanC lubuntu have a fake-pae install for the pentium M's, we cannot held those who do not have pae (hidden).22:22
JanCfake-pae?22:23
phillwJanC: https://help.ubuntu.com/community/Lubuntu-fake-PA22:23
JanCinteresting, maybe will look into re-installing those Thinkpads  :)22:25
phillwJanC: it gives you an idea as to asking about getting the -486 kernel made available :)22:25
JanCphillw: so, basically Intel deliberately crippled their CPUs by not setting that flag?   :-(22:30
phillwJanC: I prefer to think that they were in that much of a rush to get the chips out (it was a race of who got the newest one out 1st) that they simply dropped a rather large clanger! I'm sure they'd have preferred to launch it with full capabilities. Some one messed up :P22:32
JanCphillw: or they wanted to charge extra for other CPUs...22:33
phillwAMD took it by storm, I guess someone at Intel did not get their bonus that year :)22:33
JanCor maybe there are bugs in some early CPUs22:34
phillwthere were, Intel did do crippling, but this is not a topic for this channel. there is #phillw which you are welcome to join. 22:35
phillwI'm awaiting the kernel team to give me more advice & this channel has a pretty specific topic :)22:36

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