/srv/irclogs.ubuntu.com/2016/06/24/#ubuntu-kernel.txt

RAOFBah!04:05
RAOFWhat's the sensible way to get a mainline kernel building on the -fPIC-all-the-things default yakkety gcc?04:06
i915anybody know how the /proc/irq/xxx/  affinity_hint  and node files work? I get the rest of the files under /proc/irq quite important for controlling what cpu get what interrupts in a multiprocessor enviorment 06:23
i915So curious on those 2 files node sounds like some cluster thing for cpu's affinity_hint not sure what the heck that is smp_affinity ,smp_affinity_list are quite important06:24
=== cpaelzer_ is now known as cpaelzer
apwi915, smp_affinity is literally a bitmap of whihc cpus can handle a specific incoming interrupt ... _list is that in human06:57
apwRAOF, you need to apply the fix for -fpie to the main Makefile, which is what mainline-build-one does07:02
i915I know this i am talking about affinity_hint  and node files?07:02
apwoh your last line wasn't very clear07:02
i915what are those 2 file for07:03
RAOFapw: I found passing -fno-pic which makes it *almost* build. Where's mainline-build-one so I can steal?07:03
RAOFAlso, good morning and commiserations.07:03
RAOFMay your bees be extra comforting today.07:03
apwRAOF, you don't want that really, you want to git log Makefile in yakkety and take the -fPIE patch there07:03
RAOFHm. I apparently haven't pulled yakkety in approximately 100MB worth of time.07:06
apwi915, affinity_hint is a hint from the device driver as to where the irqs are best handled07:07
apwi915, it appears to be set in specific drivers where that driver knows about the h/w07:07
apwi915, node appears to be which numa node the device is associated, which i would interpret as meaning07:12
apwi915, the nearest memory node for incoming/outgoing data07:12
RAOFapw: I can't seem to find any relevant patch to Makefile in kernel.ubuntu.com/ubuntu/ubuntu-yakkety.git:master? That's where it's meant to be, right?07:13
apwRAOF, UBUNTU: SAUCE: (no-up) disable -pie when gcc has it enabled by default07:14
apwis the one i mean07:14
apwc863674de4911d8fb7643d5dfe4e5063b052bfe507:14
RAOFI have clearly messed up my git somehow; I can see that commit, but not in the history of yakkety/master. Oh well.07:16
RAOFThanks!07:16
apwRAOF, master-next is always better, beacuse raisons07:18
RAOFI'll try to remember that in future.07:18
i915anybody out there know much about the mei-me driver and what all this Management Engine Interface (Intel(R) MEI  stuff is good still don't get  what this host an Me interface is for. Seems like a remote management tool but whats the point we have so many why build it in as an LKM or something internal to the ubuntu kernel 07:29
apwi915, the linux interface to the mei is all about letting the OS configure the remote management interfaces and the like08:01
apwi915, the specific features are per chipset though so you would have to look at the chipset docs on what all you can change08:01
i915ya doesn't seem like a major deal why not just remote desktop vnc over to the machine at that point or ssh over 08:18
apwmanagement interfaces are for when the machine is broken enough that those don't work08:22
i915O i can kind of see in that case but 90% of the time you probably want to be physically there because the problem could be hardware related at that point or a complete shut down08:25
apwwith a management interface you don't have to be there, which machines the machine doesn't have to be where you are08:26
i915And what happens if the mei-me driver gets cooked then your screwed anyway unless its built into the bios08:26
apwthe driver is not for operational purposes, those are independant, it is to allow configuration before failure08:26
i915in which case your only cooked if the bios or computer is completely off even more rare08:26
i915I don''t think i completely get it then is it for remoting in to fix a problem or shutting down gracefully with certain configurations?08:27
apwthe pysical device is for analysis and fixing remote, the kernel driver is to let the host08:28
apwOS ocnfigure the device to define its actions and abilities08:28
i915and what exactly is the purpose of the mei-me LKM driver if not for controlling the remote management process08:29
i915So its like host machine your at issues commands to the target machine running mei-me LKM which sets the actions and abillities the target machine uses in case of  mei-me crashing or other really bad issues happening so the host can still remote 08:33
i915there is got to be some fail safe with this so if the mei-me module crashes there still some default that allows one to remote manage it right. Do i have this right now?08:34
apwi915, no you talk to those interfaces "remotely" usually over the network.  the interface locally is only use to configure the local device08:34
i915And if i do then the management stuff is part of the bios or some fix place in memory that all computers have available for it08:34
apwso you can cange config without rebooting into bios08:34
i915Still your screwed if the NIC goes down08:35
apwits a separate thing mostly hidden from the host08:35
apwit uses the nic directly in a more reliable way08:35
i915ok so this is to change bios settings without shutting down and F10/12,...etc08:36
* apw wanders off08:37
i915bottom line if the NIC is down or no network connectivity then there is nothing you can do08:37
Larry__TateIs there any way to know when the next kernel release will occur?17:52
Larry__TateAnd if the fix for this bug will be included: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/143749217:54
ubot5Launchpad bug 1437492 in linux (Debian) "boot stalls on USB detection errors" [Unknown,New]17:54
apwLarry__Tate, there is an SRU announce list which has dates posted17:54
Larry__TateOk, any chance you can point me to where that is located? I've searched but come up empty...17:55
apwkamal, ^17:56
apwLarry__Tate, that fix looks to be in 4.4.0-25.44 and later, so in this current cycle17:56
Larry__Tateapw that is good news.17:58
kamalLarry__Tate, apw: yes, that fix is in the kernel sitting in -proposed right now.  we do expect to release this coming Monday.18:02
Larry__TateWhew. That is good news. Thanks, kamal, apw!18:03
Larry__TateJust out of curiosity, is the only way to find a release date to scroll through the entire mailing list for the kernel team?18:04
Larry__TateAh, never mind guys. I just saw that there was a specific list for announcements. Thanks again.18:05
i915curious anybody know about this node file in /proc/irq i think it has to do with NUMA node but how is any of this different then SMP_affinity files ?18:26
=== alvesadrian is now known as adrian
apwsmp_affinity is about processor affinity, numa is about memory affinity19:02
apwit is possible to have cpuless and memoryless nodes which are separate19:03
i915so what does the /proc/irq/xxx/node tell you or modify for you that smp_affinity cann't?19:19
i915it always has 0 for me19:20
apwthe memory affinity ... which is separate to cpu affinity19:22
i915what what does memory affinity actually set or tell you i guess 19:22
i915if its memory less or  cpu less what does that mean for an irq doesn't make much sense to me. nodes seem like the same thing as  a collection of cpu that you control with the bitmask19:24
apwi915, a node is a collective object that contains 0 or more cpus and 0 or more memory19:31
apwnormally cards are assoicated with a numa domain, in a small machine there may well only be one (called 0)19:31
i915by cards what do you mean mobo , memory cards , pci expresses ...?19:33
i915and what does a node have to do with irq settings irq are only like hardware interrupts to a cpu so its only worth anything if cpu is associated to a node for an irq to be of any uses that and memory in the first place19:34
apwi am talking about perpipheral cards, pci whatever.  an interrupt coming in needs to be routed to a cpu and the io it performs needs memory to land in.  these two affinities define where those two are19:41
apwthey will in the normal case be the same, but they may not19:42

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