<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1483668937908_141120"><span>Hi Ede,</span></div><div id="yui_3_16_0_ym19_1_1483668937908_141120" dir="ltr"><span id="yui_3_16_0_ym19_1_1483668937908_141316">    Found a small typo, the below command should be "git describe --tags".</span></div><div id="yui_3_16_0_ym19_1_1483668937908_141120" dir="ltr"><span id="yui_3_16_0_ym19_1_1483668937908_141700">    The bisecting is as easy as compiling a pkg :)<br></span></div><div id="yui_3_16_0_ym19_1_1483668937908_141120"><span><br></span></div><div id="yui_3_16_0_ym19_1_1483668937908_141120" dir="ltr"><span style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1483668937908_141289">>Check which version you are now:</span><br clear="none" style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1483668937908_141290"><span style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1483668937908_141291">>git --describe tags</span>  <br clear="none" style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1483668937908_141292"></div><div id="yui_3_16_0_ym19_1_1483668937908_141120" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1483668937908_141120" dir="ltr">Regards,</div><div id="yui_3_16_0_ym19_1_1483668937908_141120" dir="ltr">Daimon</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Sunday, January 8, 2017 1:40 AM, Manuel Ullmann <ullman.alias@posteo.de> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Hello Ede,<br clear="none"><br clear="none">you do not need to be a programmer for bisecting. It is just required,<br clear="none">that you can follow a step-by-step guide and adapt examples for your<br clear="none">case. Git documentation is quite good and the first time I bisected<br clear="none">something, I didn’t even know about it, but knew the git command for<br clear="none">jumping through the commit history, which was also sufficient, but more<br clear="none">time intensive. So:<br clear="none"><br clear="none">mkdir /path/to/your/new/source<br clear="none">cd /path/to/your/new/source<br clear="none">git init<br clear="none">git remote add linux-stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git<br clear="none">The following will just fetch the tags inbetween the versions you have<br clear="none">found, sparing you a lot disk space and download bandwidth.<br clear="none">git fetch linux-stable refs/tags/v4.5.4:refs/tags/v4.6.1<br clear="none"><br clear="none"><a shape="rect" href="https://wiki.archlinux.org/index.php/Kernels/Traditional_compilation" target="_blank">https://wiki.archlinux.org/index.php/Kernels/Traditional_compilation</a><br clear="none">Cherrypicked the Archwiki for the following:<br clear="none"><br clear="none">Install build requirements:<br clear="none">pacman -S base-devel xmlto docbook-xsl kmod inetutils bc<br clear="none"><br clear="none">Copy your current kernel configuration:<br clear="none">zcat /proc/config.gz > .config<br clear="none"><br clear="none">Back to business: You should now have build tools and a configuration<br clear="none">available.<br clear="none"><br clear="none">git bisect start<br clear="none">git bisect bad v4.5.4<br clear="none">git bisect good v4.6.1<br clear="none"><br clear="none">git will now checkout a commit inbetween this range, which requires that<br clear="none">you repeat the following steps:<br clear="none"><br clear="none">make olddefconfig<br clear="none">make -j<number-of-processor-cores> -l<number-of-processor-cores>.0<br clear="none">make modules_install<br clear="none">mount /boot (if required)<br clear="none">make install<br clear="none"><br clear="none">Check which version you are now:<br clear="none">git --describe tags<br clear="none"><br clear="none">mkinitcpio -g /boot/initramfs-<kernel major and minor versions>.img -k <kernel version without v><br clear="none">(Example for 4.5.4:<br clear="none">mkinitcpio -g /boot/initramfs-45.img -k 4.5.4)<br clear="none"><br clear="none">grub-mkconfig -o /boot/grub/grub.cfg<br clear="none">sudo systemctl reboot (or su -c 'systemctl reboot' if sudo is not installed)<br clear="none"><br clear="none">If the version works, cd to the kernel source again and do<br clear="none">git bisect good<br clear="none">otherwise<br clear="none">git bisect bad<br clear="none"><br clear="none">Repeat the above steps from make olddefconfig.<br clear="none">Bisect will print how much steps are left. Once it is finished it will<br clear="none">print out the commit.<br clear="none"><br clear="none">Best regards,<br clear="none">Manuel<br clear="none">> Hello Alex,<br clear="none">><br clear="none">><br clear="none">> thanks very much for showing some interest. I have found an archive of<br clear="none">> older arch kernels and can confirm, the last working kernel is:<br clear="none">><br clear="none">> Linux kvmother 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST<br clear="none">> 2016 x86_64 GNU/Linux<br clear="none">><br clear="none">> the next kernel release from the arch team would be according to the<br clear="none">> archive:<br clear="none">><br clear="none">> Linux kvmother 4.6.1-1-ARCH #1 SMP PREEMPT Thu Jun 2 07:17:31 CEST<br clear="none">> 2016 x86_64 GNU/Linux<br clear="none">><br clear="none">> and this already does not work any more. Also crosschecked to 4.6.5-1,<br clear="none">> no change and of course none with 4.8.x either.<br clear="none">><br clear="none">> Installed and reinstalled both (4.5 and 4.6) multiple times, including<br clear="none">> power off and hard reset between kernels, and the results are<br clear="none">> absolutelty consistent.<br clear="none">><br clear="none">> Suggests, that either some bug or some required configuration change I<br clear="none">> am not aware of has been introduced with Kernel 4.6.<br clear="none">><br clear="none">> Unfortunately I do not know enough about programming at all to bring<br clear="none">> it down to a certain commit (not to look for that), but if there is<br clear="none">> anything I could do, just let me know. please.<br clear="none">><br clear="none">><br clear="none">> Thanks again<br clear="none">><br clear="none">> Ede<br clear="none">><br clear="none">><br clear="none">> Am 06.01.2017 um 00:30 schrieb Alex Williamson:<br clear="none">>> On Thu, 5 Jan 2017 19:14:29 +0100<br clear="none">>> Ede Wolf <<a shape="rect" ymailto="mailto:listac@nebelschwaden.de" href="mailto:listac@nebelschwaden.de">listac@nebelschwaden.de</a>> wrote:<br clear="none">>><br clear="none">>>> Hello,<br clear="none">>>><br clear="none">>>> Running arch, I am having a windows XP guest, to which I am passing<br clear="none">>>> through a PCIe Parallel Card, that again talks to a device that<br clear="none">>>> unfortunately is very picky about interrupts and more so the interrupt<br clear="none">>>> setting within Windows XP for that parallel port.<br clear="none">>>><br clear="none">>>> For a short explanation: Windows XP offers 3 ways to operate the<br clear="none">>>> parallel port:<br clear="none">>>> "never use an interrupt"<br clear="none">>>> "try not to use an interrupt"<br clear="none">>>> "Use any interrupt assigned to that port"<br clear="none">>>><br clear="none">>>> My device requires the last option, otherwise communication does simply<br clear="none">>>> not work, albeit the device itself is detected. So it seems, that<br clear="none">>>> whatever setting I choose within windows xp, it is now ignored and does<br clear="none">>>> not make any difference any more.<br clear="none">>>><br clear="none">>>> However, it used to work perfectly fine up to Kernel 4.5. or 4.6, I do<br clear="none">>>> not remember exactly, but does not work any more with 4.8. Skipped 4.7<br clear="none">>>> for sure.<br clear="none">>>><br clear="none">>>> Booting into the 4.4-lts kernel makes things work as expected, booting<br clear="none">>>> into 4.8.x and communication is broken again. Can be repeated at will<br clear="none">>>> with consistently the same results and holds true now for several<br clear="none">>>> incarnations of the 4.8 kernel the archlinux team has provided so far.<br clear="none">>>><br clear="none">>>> Now I am wondering: Is there any compelling configuration change that I<br clear="none">>>> am not aware of or is this simply a bug? And if, is this related to vfio<br clear="none">>>> or other parts of the kernel and this the wrong place?<br clear="none">>>><br clear="none">>>> Thanks for any help<br clear="none">>><br clear="none">>> Any chance you could narrow down where this broke a little further,<br clear="none">>> perhaps even bisecting the kernel to a specific commit?  Thanks,<br clear="none">>><br clear="none">>> Alex<br clear="none">>><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> vfio-users mailing list<br clear="none">> <a shape="rect" ymailto="mailto:vfio-users@redhat.com" href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br clear="none">> <a shape="rect" href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><div class="yqt0403222854" id="yqtfd05794"><br clear="none"><br clear="none">_______________________________________________<br clear="none">vfio-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:vfio-users@redhat.com" href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br clear="none"><a shape="rect" href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>