Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752107AbbEGTXL (ORCPT ); Thu, 7 May 2015 15:23:11 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:37631 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbbEGTXG (ORCPT ); Thu, 7 May 2015 15:23:06 -0400 Message-ID: <554BBB8C.4030607@dragonslave.de> Date: Thu, 07 May 2015 21:22:52 +0200 From: Daniel Exner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org CC: Daniel Exner Subject: Re: 1e918876 breaks r8169 (linux-3.18+) References: In-Reply-To: OpenPGP: url=https://www.dragonslave.de/pub_key.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="V05627RlPIUHhVOIPOHbDH0t2Q875cKE5" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8956 Lines: 212 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --V05627RlPIUHhVOIPOHbDH0t2Q875cKE5 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Hi, first of all, please keep me in CC as I am currently not subscribed to LK= ML. > From: Tomas Szepe > Date: Sun, 22 Feb 2015 01:41:51 +0100 >=20 >>>> Sure, just did. Unfortunately, 3.19.0 + 0bec3b70 + this patch resul= ts >>>> in a driver that retains the problem. >>> >>> OK, could you test following patch instead ? >> >> Yup, but tough luck: 3.19.0 + 0bec3b70 + this patch -> problem present= =2E >=20 > I'm reverting the two commits for now, as below. >=20 > We can put them back in if we can resolve the problems. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [PATCH] r8169: Revert BQL and xmit_more support. I observe exactly the same problems since Kernel 4.1 merge window, _although_ this patch is in the tree. So it must be something else. Stacktrace 1 (still with rc1): > WARNING: CPU: 5 PID: 0 at net/sched/sch_generic.c:303 > dev_watchdog+0x23f/0x250() > NETDEV WATCHDOG: em1 (r8169): transmit queue 0 timed out > Modules linked in: af_packet rfcomm uvcvideo videobuf2_vmalloc > videobuf2_memops videobuf2_core v4l2_common videodev media bnep raid456= > nf_conntrack_ipv4 async_raid6_recov nf_defrag_ipv4 async_memcpy > snd_usb_audio snd_usbmidi_lib async_pq async_xor xt_tcpudp xt_limit xor= > async_tx xt_conntrack nf_conntrack xt_multiport btusb btbcm btintel > bluetooth rfkill joydev iptable_filter evdev mac_hid ip_tables x_tables= msr > raid6_pq w83627ehf md_mod hwmon_vid amdkfd amd_iommu_v2 kvm_amd kvm > snd_seq_dummy radeon snd_seq_oss microcode snd_emu10k1_synth snd_emux_s= ynth > psmouse snd_seq_midi_emul snd_seq_virmidi pcspkr serio_raw ttm snd_emu1= 0k1 > edac_core drm_kms_helper edac_mce_amd k10temp snd_hda_codec_realtek > snd_util_mem snd_hda_codec_generic snd_hda_codec_hdmi drm snd_ac97_code= c > snd_hda_intel snd_hda_controller agpgart emu10k1_gp ac97_bus gameport > i2c_algo_bit snd_hda_codec nuvoton_cir rc_core 8250_fintek snd_hda_core= > acpi_cpufreq sp5100_tco snd_hwdep snd_pcm i2c_piix4 button shpchp proce= ssor > thermal_sys hwmon ppdev snd_seq_midi snd_seq_midi_event snd_seq snd_raw= midi > snd_seq_device snd_timer snd soundcore sch_fq_codel fuse binfmt_misc lp= > parport_pc parport ext4 crc16 jbd2 mbcache hid_generic sr_mod cdrom sd_= mod > hid_microsoft usbhid hid ahci libahci r8169 mii firewire_ohci firewire_= core > crc_itu_t xhci_pci ehci_pci ohci_pci xhci_hcd ehci_hcd ohci_hcd libata > usbcore scsi_mod usb_common sunrpc dm_mirror dm_region_hash dm_log dm_m= od > CPU: 5 PID: 0 Comm: swapper/5 Not tainted 4.1.0-rc1-36580-g385d5ed-dirt= y #28 > Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./970 Extrem= e3 > R2.0, BIOS P1.60 06/05/2014 > 0000000000000000 ffffffff815f162c ffffffff814b23ce ffff88023fd43e08 > ffffffff810526b7 0000000000000000 ffff8802362fc3a0 ffff8802362fc000 > 0000000000000005 0000000000000001 ffffffff81052735 ffffffff815f5700 > Call Trace: > [] ? dump_stack+0x47/0x67 > [] ? warn_slowpath_common+0x77/0xb0 > [] ? warn_slowpath_fmt+0x45/0x50 > [] ? dev_watchdog+0x23f/0x250 > [] ? dev_graft_qdisc+0x80/0x80 > [] ? call_timer_fn.isra.26+0x15/0x80 > [] ? execute_in_process_context+0x60/0x60 > [] ? dev_graft_qdisc+0x80/0x80 > [] ? run_timer_softirq+0x1c8/0x270 > [] ? __do_softirq+0x10c/0x220 > [] ? irq_exit+0x8e/0xb0 > [] ? smp_apic_timer_interrupt+0x39/0x50 > [] ? apic_timer_interrupt+0x6e/0x80 > [] ? native_safe_halt+0x2/0x10 > [] ? default_idle+0x5/0x10 > [] ? amd_e400_idle+0x66/0xe0 > [] ? cpu_startup_entry+0x319/0x390 > [] ? start_secondary+0x170/0x180 > ---[ end trace c308ca6d62e7a991 ]--- Puzzling as this is a Phenom II X6 and no E400.. Stacktrace 2 (rc2): > ------------[ cut here ]------------ > WARNING: CPU: 5 PID: 35 at net/sched/sch_generic.c:303 > dev_watchdog+0x23f/0x250() > NETDEV WATCHDOG: em1 (r8169): transmit queue 0 timed out > Modules linked in: af_packet rfcomm bnep raid456 async_raid6_recov > async_memcpy async_pq uvcvideo videobuf2_vmalloc videobuf2_memops > videobuf2_core v4l2_common videodev async_xor media xor async_tx > nf_conntrack_ipv4 nf_defrag_ipv4 xt_tcpudp xt_limit xt_conntrack > nf_conntrack xt_multiport msr iptable_filter ip_tables snd_usb_audio bt= usb > x_tables btbcm snd_usbmidi_lib btintel bluetooth raid6_pq rfkill joydev= > w83627ehf hwmon_vid md_mod mac_hid evdev kvm_amd amdkfd kvm amd_iommu_v= 2 > snd_seq_dummy microcode snd_seq_oss radeon snd_emu10k1_synth snd_emux_s= ynth > snd_seq_midi_emul snd_seq_virmidi snd_hda_codec_realtek ttm > snd_hda_codec_generic edac_core psmouse serio_raw edac_mce_amd pcspkr > snd_hda_codec_hdmi k10temp drm_kms_helper snd_emu10k1 drm snd_util_mem > snd_hda_intel snd_ac97_codec agpgart emu10k1_gp snd_hda_controller ac97= _bus > gameport i2c_algo_bit snd_hda_codec snd_hda_core sp5100_tco snd_hwdep > nuvoton_cir snd_pcm 8250_fintek rc_core i2c_piix4 shpchp button acpi_cp= ufreq > processor thermal_sys ppdev snd_seq_midi snd_seq_midi_event snd_seq > snd_rawmidi snd_seq_device snd_timer snd soundcore asus_atk0110 hwmon > sch_fq_codel fuse lp binfmt_misc parport_pc parport ext4 crc16 jbd2 mbc= ache > hid_generic sr_mod cdrom sd_mod hid_microsoft usbhid hid firewire_ohci = ahci > r8169 firewire_core libahci mii crc_itu_t xhci_pci ohci_pci ehci_pci > ohci_hcd xhci_hcd ehci_hcd libata usbcore scsi_mod usb_common sunrpc > dm_mirror dm_region_hash dm_log dm_mod > CPU: 5 PID: 35 Comm: ksoftirqd/5 Not tainted 4.1.0-rc2-36683-g979f4b5-d= irty > #29 > Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./970 Extrem= e3 > # R2.0, BIOS P1.60 06/05/2014 > 0000000000000000 ffffffff815f162c ffffffff814b233e ffff88023620fce8 > ffffffff810526b7 0000000000000000 ffff880230d683a0 ffff880230d68000 > 0000000000000005 0000000000000001 ffffffff81052735 ffffffff815f5700 > Call Trace: > [] ? dump_stack+0x47/0x67 > [] ? warn_slowpath_common+0x77/0xb0 > [] ? warn_slowpath_fmt+0x45/0x50 > [] ? dev_watchdog+0x23f/0x250 > [] ? dev_graft_qdisc+0x80/0x80 > [] ? call_timer_fn.isra.26+0x15/0x80 > [] ? dev_graft_qdisc+0x80/0x80 > [] ? run_timer_softirq+0x1c8/0x270 > [] ? __do_softirq+0x10c/0x220 > [] ? run_ksoftirqd+0x29/0x50 > [] ? smpboot_thread_fn+0x135/0x250 > [] ? sort_range+0x20/0x20 > [] ? kthread+0xce/0xf0 > [] ? smpboot_register_percpu_thread+0x63/0xf0 > [] ? kthread_create_on_node+0x180/0x180 > [] ? ret_from_fork+0x42/0x70 > [] ? kthread_create_on_node+0x180/0x180 > ---[ end trace 4f88915aa0200ae6 ]--- I would have bisected it but its hard to trigger. One thing that sticks out in the log: > r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control but: > acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segment= s MSI] > acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Regards, Daniel Exner --=20 Daniel Exner Public-Key: https://www.dragonslave.de/pub_key.asc --V05627RlPIUHhVOIPOHbDH0t2Q875cKE5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVS7uWAAoJEGkd3r6SPf3rveYQALLoA9xp2n58LSlSWmqz9CbS UjeY+zIkmKccN0kOUGls1oVr1cT53EYD6WbTKYqKeDkLMxO8cIH2BuUgtuSl6p3n NVlMOqN3dYVMiWyz0yyTrDzPeetNoRYndBb7IBYC+I0YSz0eqbU8KqyAxVZe9paZ dOR+DddlxJ2rtIYlgGG/pul0XSvcjI+sgnFodjhBt4WSJYBLQB1La4S6qZkM/p3V m/V5IzlgrtENEjhlqMe5dg14QAwQgvinJjKP3G+XM/HdtlRR5SKmvnWM/T8L7+Uv e8+79BpnlWtT81pNPseVjeFLijvAhtjYFVIqkPIMDbRmtdMENM0wp4xsbkUfMaqP DxfIxxOHJ9+h+NIQgUpRea4dEKKLu0S0HNizZ84YjePtRbBfWyQHZdN9w9rYf0d3 h0/QkwaHQPV/+h9760tjWdWi7pBfGmw5vn02t2yDUewMNOfk7JC01ZMZs0EQS7H4 AWxRfLtNOHBhZfsfE3UeVyHVu9vPsImyPip1pc2VkjUkpEG2pH5TUixrAlcW1CQ5 Qgz8hWCbZItUIir78ISeEaYyEp9T3l/Aqq48ryiGmsQy8TVazBS0eOZhQrWiU22b t++qLqenSevhK2FWdxUkUI4E5G6rTpSIHnG01xDoeSFwXfWnrTWRjv1lHIbYK/6A TCgL2HeISZhCSsTZQm4Y =EboR -----END PGP SIGNATURE----- --V05627RlPIUHhVOIPOHbDH0t2Q875cKE5-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/