Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43147 - [nvidia] [nvidia-340xx] [nvidia-304xx] No drm_driver.set_busid() implementation ...

Attached to Project: Arch Linux
Opened by Tomasz Przybył (FadeMind) - Thursday, 18 December 2014, 09:21 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 21 December 2014, 04:40 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Ionut Biru (wonder)
Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Please add patch to nvidia packages modules. Without this in DMESG I have warnings like this when I running optirun/primusrun on Linux 3.18 series:

[ 23.362413] bbswitch: enabling discrete graphics
[ 23.942236] nvidia: module license 'NVIDIA' taints kernel.
[ 23.942240] Disabling lock debugging due to kernel taint
[ 23.950098] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 23.950396] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[ 23.950402] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 343.36 Mon Dec 1 16:18:58 PST 2014
[ 23.951113] ------------[ cut here ]------------
[ 23.951135] WARNING: CPU: 3 PID: 522 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x17e/0x190 [drm]()
[ 23.951177] No drm_driver.set_busid() implementation provided by nvidia_frontend_exit_module [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
[ 23.951179] Modules linked in:
[ 23.951181] nvidia(PO) fuse rfcomm ecb bnep uvcvideo videobuf2_vmalloc ath3k videobuf2_memops videobuf2_core btusb v4l2_common videodev bluetooth media joydev mousedev hid_generic usbhid hid bbswitch(O) nvram asus_nb_wmi asus_wmi sparse_keymap mxm_wmi iTCO_wdt arc4 gpio_ich iTCO_vendor_support intel_rapl ath9k x86_pkg_temp_thermal intel_powerclamp ath9k_common kvm_intel ath9k_hw snd_hda_codec_hdmi kvm snd_hda_codec_realtek ath snd_hda_codec_generic led_class ip6t_REJECT mac80211 nf_reject_ipv6 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel snd_hda_intel aes_x86_64 lrw xt_hl gf128mul glue_helper cfg80211 ablk_helper snd_hda_controller ip6t_rt cryptd snd_hda_codec psmouse serio_raw pcspkr snd_hwdep rtsx_pci_ms snd_pcm rfkill r8169 i2c_i801 snd_timer memstick mii snd mei_me
[ 23.951216] nf_conntrack_ipv6 soundcore nf_defrag_ipv6 mei shpchp lpc_ich thermal evdev wmi ipt_REJECT mac_hid ac battery nf_reject_ipv4 xt_multiport processor xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon msr ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci xhci_pci ehci_pci libata xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core lz4 lz4_compress
[ 23.951245] CPU: 3 PID: 522 Comm: Xorg.bin Tainted: P U O 3.18.1-1-ARCH #1
[ 23.951248] Hardware name: ASUSTeK COMPUTER INC. K55VM/K55VM, BIOS K55VM.211 09/11/2012
[ 23.951249] 0000000000000000 00000000da52acee ffff8800c37a3c98 ffffffff8154f0e4
[ 23.951251] 0000000000000000 ffff8800c37a3cf0 ffff8800c37a3cd8 ffffffff81072bc1
[ 23.951253] ffff8800c37a3f1c ffff8800c37a3df0 ffff8801fa5f0000 ffff880086b23a80
[ 23.951255] Call Trace:
[ 23.951260] [<ffffffff8154f0e4>] dump_stack+0x4e/0x71
[ 23.951265] [<ffffffff81072bc1>] warn_slowpath_common+0x81/0xa0
[ 23.951282] [<ffffffff81072c35>] warn_slowpath_fmt+0x55/0x70
[ 23.951298] [<ffffffffa002837e>] drm_setversion+0x17e/0x190 [drm]
[ 23.951302] [<ffffffff811de6f2>] ? path_openat+0xc2/0x6e0
[ 23.951314] [<ffffffffa0027e0c>] drm_ioctl+0x2cc/0x680 [drm]
[ 23.951328] [<ffffffffa0028200>] ? drm_noop+0x40/0x40 [drm]
[ 23.951332] [<ffffffff811dfd99>] ? do_filp_open+0x49/0xd0
[ 23.951337] [<ffffffff811e2420>] do_vfs_ioctl+0x2d0/0x4b0
[ 23.951341] [<ffffffff811ecdd2>] ? __fget+0x72/0xb0
[ 23.951345] [<ffffffff811e2681>] SyS_ioctl+0x81/0xa0
[ 23.951349] [<ffffffff81554c69>] system_call_fastpath+0x12/0x17
[ 23.951352] ---[ end trace 80138fa545f50f92 ]---
[ 23.964480] ------------[ cut here ]------------
[ 23.964507] WARNING: CPU: 5 PID: 1295 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x17e/0x190 [drm]()
[ 23.964557] No drm_driver.set_busid() implementation provided by nvidia_frontend_exit_module [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
[ 23.964559] Modules linked in:
[ 23.964560] nvidia(PO) fuse rfcomm ecb bnep uvcvideo videobuf2_vmalloc ath3k videobuf2_memops videobuf2_core btusb v4l2_common videodev bluetooth media joydev mousedev hid_generic usbhid hid bbswitch(O) nvram asus_nb_wmi asus_wmi sparse_keymap mxm_wmi iTCO_wdt arc4 gpio_ich iTCO_vendor_support intel_rapl ath9k x86_pkg_temp_thermal intel_powerclamp ath9k_common kvm_intel ath9k_hw snd_hda_codec_hdmi kvm snd_hda_codec_realtek ath snd_hda_codec_generic led_class ip6t_REJECT mac80211 nf_reject_ipv6 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel snd_hda_intel aes_x86_64 lrw xt_hl gf128mul glue_helper cfg80211 ablk_helper snd_hda_controller ip6t_rt cryptd snd_hda_codec psmouse serio_raw pcspkr snd_hwdep rtsx_pci_ms snd_pcm rfkill r8169 i2c_i801 snd_timer memstick mii snd mei_me
[ 23.964591] nf_conntrack_ipv6 soundcore nf_defrag_ipv6 mei shpchp lpc_ich thermal evdev wmi ipt_REJECT mac_hid ac battery nf_reject_ipv4 xt_multiport processor xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon msr ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci xhci_pci ehci_pci libata xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core lz4 lz4_compress
[ 23.964622] CPU: 5 PID: 1295 Comm: Xorg.bin Tainted: P U W O 3.18.1-1-ARCH #1
[ 23.964623] Hardware name: ASUSTeK COMPUTER INC. K55VM/K55VM, BIOS K55VM.211 09/11/2012
[ 23.964625] 0000000000000000 0000000022399b99 ffff88013eeb7c98 ffffffff8154f0e4
[ 23.964627] 0000000000000000 ffff88013eeb7cf0 ffff88013eeb7cd8 ffffffff81072bc1
[ 23.964630] ffff88013eeb7f1c ffff88013eeb7df0 ffff8801fa5f0000 ffff8801bb9e8480
[ 23.964632] Call Trace:
[ 23.964637] [<ffffffff8154f0e4>] dump_stack+0x4e/0x71
[ 23.964642] [<ffffffff81072bc1>] warn_slowpath_common+0x81/0xa0
[ 23.964645] [<ffffffff81072c35>] warn_slowpath_fmt+0x55/0x70
[ 23.964655] [<ffffffffa002837e>] drm_setversion+0x17e/0x190 [drm]
[ 23.964659] [<ffffffff811de6f2>] ? path_openat+0xc2/0x6e0
[ 23.964667] [<ffffffffa0027e0c>] drm_ioctl+0x2cc/0x680 [drm]
[ 23.964676] [<ffffffffa0028200>] ? drm_noop+0x40/0x40 [drm]
[ 23.964680] [<ffffffff811dfd99>] ? do_filp_open+0x49/0xd0
[ 23.964683] [<ffffffff811e2420>] do_vfs_ioctl+0x2d0/0x4b0
[ 23.964685] [<ffffffff811df1d6>] ? final_putname+0x26/0x50
[ 23.964688] [<ffffffff811e2681>] SyS_ioctl+0x81/0xa0
[ 23.964692] [<ffffffff81554c69>] system_call_fastpath+0x12/0x17
[ 23.964694] ---[ end trace 80138fa545f50f93 ]---
[ 24.058882] nvidia 0000:01:00.0: irq 32 for MSI/MSI-X
[ 24.063449] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.063536] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.063644] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.063694] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.063741] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.063787] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.063894] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.063941] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 24.906843] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 25.267135] ------------[ cut here ]------------
[ 25.267175] WARNING: CPU: 0 PID: 1295 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x17e/0x190 [drm]()
[ 25.267249] No drm_driver.set_busid() implementation provided by nvidia_frontend_exit_module [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
[ 25.267251] Modules linked in:
[ 25.267253] nvidia(PO) fuse rfcomm ecb bnep uvcvideo videobuf2_vmalloc ath3k videobuf2_memops videobuf2_core btusb v4l2_common videodev bluetooth media joydev mousedev hid_generic usbhid hid bbswitch(O) nvram asus_nb_wmi asus_wmi sparse_keymap mxm_wmi iTCO_wdt arc4 gpio_ich iTCO_vendor_support intel_rapl ath9k x86_pkg_temp_thermal intel_powerclamp ath9k_common kvm_intel ath9k_hw snd_hda_codec_hdmi kvm snd_hda_codec_realtek ath snd_hda_codec_generic led_class ip6t_REJECT mac80211 nf_reject_ipv6 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel snd_hda_intel aes_x86_64 lrw xt_hl gf128mul glue_helper cfg80211 ablk_helper snd_hda_controller ip6t_rt cryptd snd_hda_codec psmouse serio_raw pcspkr snd_hwdep rtsx_pci_ms snd_pcm rfkill r8169 i2c_i801 snd_timer memstick mii snd mei_me
[ 25.267306] nf_conntrack_ipv6 soundcore nf_defrag_ipv6 mei shpchp lpc_ich thermal evdev wmi ipt_REJECT mac_hid ac battery nf_reject_ipv4 xt_multiport processor xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon msr ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci xhci_pci ehci_pci libata xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core lz4 lz4_compress
[ 25.267358] CPU: 0 PID: 1295 Comm: Xorg.bin Tainted: P U W O 3.18.1-1-ARCH #1
[ 25.267360] Hardware name: ASUSTeK COMPUTER INC. K55VM/K55VM, BIOS K55VM.211 09/11/2012
[ 25.267363] 0000000000000000 0000000022399b99 ffff88013eeb7c98 ffffffff8154f0e4
[ 25.267367] 0000000000000000 ffff88013eeb7cf0 ffff88013eeb7cd8 ffffffff81072bc1
[ 25.267371] ffff88013eeb7f1c ffff88013eeb7df0 ffff8801fa5f0000 ffff8801b967c9c0
[ 25.267375] Call Trace:
[ 25.267383] [<ffffffff8154f0e4>] dump_stack+0x4e/0x71
[ 25.267390] [<ffffffff81072bc1>] warn_slowpath_common+0x81/0xa0
[ 25.267395] [<ffffffff81072c35>] warn_slowpath_fmt+0x55/0x70
[ 25.267412] [<ffffffffa002837e>] drm_setversion+0x17e/0x190 [drm]
[ 25.267418] [<ffffffff811de6f2>] ? path_openat+0xc2/0x6e0
[ 25.267432] [<ffffffffa0027e0c>] drm_ioctl+0x2cc/0x680 [drm]
[ 25.267436] [<ffffffff811dfc6e>] ? user_path_at_empty+0x6e/0xd0
[ 25.267452] [<ffffffffa0028200>] ? drm_noop+0x40/0x40 [drm]
[ 25.267458] [<ffffffff811dfd99>] ? do_filp_open+0x49/0xd0
[ 25.267463] [<ffffffff811e2420>] do_vfs_ioctl+0x2d0/0x4b0
[ 25.267467] [<ffffffff811df1d6>] ? final_putname+0x26/0x50
[ 25.267472] [<ffffffff811e2681>] SyS_ioctl+0x81/0xa0
[ 25.267478] [<ffffffff81554c69>] system_call_fastpath+0x12/0x17
[ 25.267481] ---[ end trace 80138fa545f50f94 ]---
[ 25.267484] ------------[ cut here ]------------
[ 25.267494] WARNING: CPU: 0 PID: 1295 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x17e/0x190 [drm]()
[ 25.267554] No drm_driver.set_busid() implementation provided by nvidia_frontend_exit_module [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
[ 25.267556] Modules linked in:
[ 25.267557] nvidia(PO) fuse rfcomm ecb bnep uvcvideo videobuf2_vmalloc ath3k videobuf2_memops videobuf2_core btusb v4l2_common videodev bluetooth media joydev mousedev hid_generic usbhid hid bbswitch(O) nvram asus_nb_wmi asus_wmi sparse_keymap mxm_wmi iTCO_wdt arc4 gpio_ich iTCO_vendor_support intel_rapl ath9k x86_pkg_temp_thermal intel_powerclamp ath9k_common kvm_intel ath9k_hw snd_hda_codec_hdmi kvm snd_hda_codec_realtek ath snd_hda_codec_generic led_class ip6t_REJECT mac80211 nf_reject_ipv6 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel snd_hda_intel aes_x86_64 lrw xt_hl gf128mul glue_helper cfg80211 ablk_helper snd_hda_controller ip6t_rt cryptd snd_hda_codec psmouse serio_raw pcspkr snd_hwdep rtsx_pci_ms snd_pcm rfkill r8169 i2c_i801 snd_timer memstick mii snd mei_me
[ 25.267632] nf_conntrack_ipv6 soundcore nf_defrag_ipv6 mei shpchp lpc_ich thermal evdev wmi ipt_REJECT mac_hid ac battery nf_reject_ipv4 xt_multiport processor xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon msr ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci xhci_pci ehci_pci libata xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core lz4 lz4_compress
[ 25.267692] CPU: 0 PID: 1295 Comm: Xorg.bin Tainted: P U W O 3.18.1-1-ARCH #1
[ 25.267694] Hardware name: ASUSTeK COMPUTER INC. K55VM/K55VM, BIOS K55VM.211 09/11/2012
[ 25.267696] 0000000000000000 0000000022399b99 ffff88013eeb7c98 ffffffff8154f0e4
[ 25.267699] 0000000000000000 ffff88013eeb7cf0 ffff88013eeb7cd8 ffffffff81072bc1
[ 25.267702] ffff88013eeb7f1c ffff88013eeb7df0 ffff8801fa5f0000 ffff8801b967c9c0
[ 25.267705] Call Trace:
[ 25.267708] [<ffffffff8154f0e4>] dump_stack+0x4e/0x71
[ 25.267713] [<ffffffff81072bc1>] warn_slowpath_common+0x81/0xa0
[ 25.267716] [<ffffffff81072c35>] warn_slowpath_fmt+0x55/0x70
[ 25.267730] [<ffffffffa002837e>] drm_setversion+0x17e/0x190 [drm]
[ 25.267734] [<ffffffff811de6f2>] ? path_openat+0xc2/0x6e0
[ 25.267744] [<ffffffffa0027e0c>] drm_ioctl+0x2cc/0x680 [drm]
[ 25.267747] [<ffffffff811dfc6e>] ? user_path_at_empty+0x6e/0xd0
[ 25.267760] [<ffffffffa0028200>] ? drm_noop+0x40/0x40 [drm]
[ 25.267764] [<ffffffff811dfd99>] ? do_filp_open+0x49/0xd0
[ 25.267768] [<ffffffff811e2420>] do_vfs_ioctl+0x2d0/0x4b0
[ 25.267771] [<ffffffff811df1d6>] ? final_putname+0x26/0x50
[ 25.267775] [<ffffffff811e2681>] SyS_ioctl+0x81/0xa0
[ 25.267779] [<ffffffff81554c69>] system_call_fastpath+0x12/0x17
[ 25.267781] ---[ end trace 80138fa545f50f95 ]---
[ 25.458933] ------------[ cut here ]------------
[ 25.458965] WARNING: CPU: 3 PID: 1295 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x17e/0x190 [drm]()
[ 25.459016] No drm_driver.set_busid() implementation provided by nvidia_frontend_exit_module [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
[ 25.459018] Modules linked in:
[ 25.459019] nvidia(PO) fuse rfcomm ecb bnep uvcvideo videobuf2_vmalloc ath3k videobuf2_memops videobuf2_core btusb v4l2_common videodev bluetooth media joydev mousedev hid_generic usbhid hid bbswitch(O) nvram asus_nb_wmi asus_wmi sparse_keymap mxm_wmi iTCO_wdt arc4 gpio_ich iTCO_vendor_support intel_rapl ath9k x86_pkg_temp_thermal intel_powerclamp ath9k_common kvm_intel ath9k_hw snd_hda_codec_hdmi kvm snd_hda_codec_realtek ath snd_hda_codec_generic led_class ip6t_REJECT mac80211 nf_reject_ipv6 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel snd_hda_intel aes_x86_64 lrw xt_hl gf128mul glue_helper cfg80211 ablk_helper snd_hda_controller ip6t_rt cryptd snd_hda_codec psmouse serio_raw pcspkr snd_hwdep rtsx_pci_ms snd_pcm rfkill r8169 i2c_i801 snd_timer memstick mii snd mei_me
[ 25.459052] nf_conntrack_ipv6 soundcore nf_defrag_ipv6 mei shpchp lpc_ich thermal evdev wmi ipt_REJECT mac_hid ac battery nf_reject_ipv4 xt_multiport processor xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon msr ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci xhci_pci ehci_pci libata xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core lz4 lz4_compress
[ 25.459085] CPU: 3 PID: 1295 Comm: Xorg.bin Tainted: P U W O 3.18.1-1-ARCH #1
[ 25.459086] Hardware name: ASUSTeK COMPUTER INC. K55VM/K55VM, BIOS K55VM.211 09/11/2012
[ 25.459088] 0000000000000000 0000000022399b99 ffff88013eeb7c98 ffffffff8154f0e4
[ 25.459091] 0000000000000000 ffff88013eeb7cf0 ffff88013eeb7cd8 ffffffff81072bc1
[ 25.459093] ffff88013eeb7f1c ffff88013eeb7df0 ffff8801fa5f0000 ffff880221b4d240
[ 25.459096] Call Trace:
[ 25.459101] [<ffffffff8154f0e4>] dump_stack+0x4e/0x71
[ 25.459107] [<ffffffff81072bc1>] warn_slowpath_common+0x81/0xa0
[ 25.459110] [<ffffffff81072c35>] warn_slowpath_fmt+0x55/0x70
[ 25.459121] [<ffffffffa002837e>] drm_setversion+0x17e/0x190 [drm]
[ 25.459124] [<ffffffff811de6f2>] ? path_openat+0xc2/0x6e0
[ 25.459133] [<ffffffffa0027e0c>] drm_ioctl+0x2cc/0x680 [drm]
[ 25.459143] [<ffffffffa0028200>] ? drm_noop+0x40/0x40 [drm]
[ 25.459147] [<ffffffff811dfd99>] ? do_filp_open+0x49/0xd0
[ 25.459150] [<ffffffff811e2420>] do_vfs_ioctl+0x2d0/0x4b0
[ 25.459153] [<ffffffff811df1d6>] ? final_putname+0x26/0x50
[ 25.459156] [<ffffffff811e2681>] SyS_ioctl+0x81/0xa0
[ 25.459160] [<ffffffff81554c69>] system_call_fastpath+0x12/0x17
[ 25.459162] ---[ end trace 80138fa545f50f96 ]---
[ 32.102640] [drm] Module unloaded
[ 32.104526] bbswitch: disabling discrete graphics
[ 32.104538] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 32.117450] pci 0000:01:00.0: Refused to change power state, currently in D0

Reference:
https://devtalk.nvidia.com/default/topic/783364/343-22-driver-incompatible-with-linux-3-18-/
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/drm?id=d9fc9413f97f5c615256a5657ec667c064c07a70
This task depends upon

Closed by  Felix Yan (felixonmars)
Sunday, 21 December 2014, 04:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  All fixed in [testing].
Comment by John (graysky) - Thursday, 18 December 2014, 10:03 GMT
This patch is required for all the nvidia drivers including nvidia, nvidia-304xx and nvidia-340xx. I can confirm similar dmesg output with nvidia-304xx. Should I open a new FS against these packages?
Comment by John (graysky) - Thursday, 18 December 2014, 17:31 GMT
Thanks, Scimmia.
Comment by Juston Li (trailblazerz11) - Friday, 19 December 2014, 20:20 GMT
The latest 343.36 driver has the updated checks for drm_gem.h
#if defined(NV_DRM_DRM_GEM_H_PRESENT)
#include <drm/drm_gem.h>
#endif

Just needs the later part of the patch setting .set_busid for dmesg warnings
Comment by Tomasz Przybył (FadeMind) - Saturday, 20 December 2014, 07:33 GMT
@Juston Li

The latest 343.36 need this patch too (look at dmesg logs).
Comment by Juston Li (trailblazerz11) - Saturday, 20 December 2014, 09:02 GMT
@Tomasz It should only need the second part of the patch as it already checks for drm_gem.h.
See attached nv-drm.c from 343.36. Nvidia updated it with the checks for drm_gem.h (line 21)

The drm_driver.set_busid() is what is needed to quiet dmesg warnings. Attached patch for 343.36 with just the set_busid, tested on 3.18.1

The checks for drm_gem.h were needed due to a separate issue with older driver version as linux 3.18+ moved some definitions from drmP.h to the new drm_gem.h, causing build errors.
nvidia-304xx and nvidia-340xx should use your patch and nvidia 343.36+ should use just the set_busid patch until Nvidia fixes that.
Comment by Tomasz Przybył (FadeMind) - Saturday, 20 December 2014, 09:27 GMT
@Juston Li
It is not my patchset. I found this as part of nvidia-mainline AUR package: https://aur.archlinux.org/packages/nvidia-mainline/

Comment by John (graysky) - Saturday, 20 December 2014, 11:26 GMT
The patch applies without errors to nvidia-ck which I maintain in the AUR which is just a minor mod of extra/nvidia

Loading...