Use drm_dev_set_unique() to set the unique name explicitly

Bug #1413971 reported by dino99
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Unknown
Unknown
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

vivid i386 booted with systemd, on nvidia 346.35 driver with 3.19 kernel (canonical kernel team)

Get that syslog trace:

Jan 23 12:38:35 u32 kernel: [ 32.544667] ------------[ cut here ]------------
Jan 23 12:38:35 u32 kernel: [ 32.544695] WARNING: CPU: 0 PID: 998 at /build/buildd/linux-3.19.0/drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x185/0x190 [drm]()
Jan 23 12:38:35 u32 kernel: [ 32.544795] No drm_driver.set_busid() implementation provided by nv_drm_driver [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
Jan 23 12:38:35 u32 kernel: [ 32.544797] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG 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 arc4 rtl8187 nvidia(OE) mac80211 cfg80211 eeprom_93cx6 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller coretemp snd_hda_codec snd_hwdep snd_pcm kvm_intel snd_seq_midi snd_seq_midi_event kvm snd_rawmidi snd_seq snd_seq_device drm snd_timer serio_raw snd lpc_ich 8250_fintek soundcore asus_atk0110 shpchp i82975x_edac edac_core mac_hid parport_pc ppdev lp parport autofs4 hid_generic firewire_ohci firewire_core usbhid pata_acpi crc_itu_t hid ahci pata_jmicron libahci sky2 floppy
Jan 23 12:38:35 u32 kernel: [ 32.544859] CPU: 0 PID: 998 Comm: Xorg Tainted: G OE 3.19.0-2-generic #2-Ubuntu
Jan 23 12:38:35 u32 kernel: [ 32.544861] Hardware name: ASUSTEK COMPUTER INC P5W DH Deluxe/P5W DH Deluxe, BIOS 3002 07/22/2010
Jan 23 12:38:35 u32 kernel: [ 32.544863] 00000000 00000000 f19e7dd4 c16ef07c f19e7e18 f19e7e08 c10618cb f866b2cc
Jan 23 12:38:35 u32 kernel: [ 32.544868] f19e7e34 000003e6 f866b230 0000008f f86447f5 0000008f f86447f5 f19e7e8c
Jan 23 12:38:35 u32 kernel: [ 32.544874] f65e2c00 ffffffea f19e7e20 c1061933 00000009 f19e7e18 f866b2cc f19e7e34
Jan 23 12:38:35 u32 kernel: [ 32.544879] Call Trace:
Jan 23 12:38:35 u32 kernel: [ 32.544887] [<c16ef07c>] dump_stack+0x41/0x52
Jan 23 12:38:35 u32 kernel: [ 32.544892] [<c10618cb>] warn_slowpath_common+0x8b/0xc0
Jan 23 12:38:35 u32 kernel: [ 32.544906] [<f86447f5>] ? drm_setversion+0x185/0x190 [drm]
Jan 23 12:38:35 u32 kernel: [ 32.544917] [<f86447f5>] ? drm_setversion+0x185/0x190 [drm]
Jan 23 12:38:35 u32 kernel: [ 32.544920] [<c1061933>] warn_slowpath_fmt+0x33/0x40
Jan 23 12:38:35 u32 kernel: [ 32.544932] [<f86447f5>] drm_setversion+0x185/0x190 [drm]
Jan 23 12:38:35 u32 kernel: [ 32.544945] [<f8644670>] ? drm_noop+0x40/0x40 [drm]
Jan 23 12:38:35 u32 kernel: [ 32.544956] [<f864425c>] drm_ioctl+0x2bc/0x560 [drm]
Jan 23 12:38:35 u32 kernel: [ 32.544967] [<f8644670>] ? drm_noop+0x40/0x40 [drm]
Jan 23 12:38:35 u32 kernel: [ 32.544972] [<c11bee41>] ? do_filp_open+0x31/0x90
Jan 23 12:38:35 u32 kernel: [ 32.544983] [<f8643fa0>] ? drm_getmap+0xc0/0xc0 [drm]
Jan 23 12:38:35 u32 kernel: [ 32.544987] [<c11c1532>] do_vfs_ioctl+0x322/0x550
Jan 23 12:38:35 u32 kernel: [ 32.544990] [<c11be02d>] ? final_putname+0x1d/0x40
Jan 23 12:38:35 u32 kernel: [ 32.544992] [<c11be02d>] ? final_putname+0x1d/0x40
Jan 23 12:38:35 u32 kernel: [ 32.544995] [<c11be274>] ? putname+0x24/0x40
Jan 23 12:38:35 u32 kernel: [ 32.544999] [<c11ae2ad>] ? do_sys_open+0x19d/0x260
Jan 23 12:38:35 u32 kernel: [ 32.545002] [<c11c17c0>] SyS_ioctl+0x60/0x90
Jan 23 12:38:35 u32 kernel: [ 32.545006] [<c16f565f>] sysenter_do_call+0x12/0x12
Jan 23 12:38:35 u32 kernel: [ 32.545008] ---[ end trace 1116205a4e3186e8 ]---
Jan 23 12:38:35 u32 kernel: [ 32.545011] ------------[ cut here ]------------
Jan 23 12:38:35 u32 kernel: [ 32.545022] WARNING: CPU: 0 PID: 998 at /build/buildd/linux-3.19.0/drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x185/0x190 [drm]()
Jan 23 12:38:35 u32 kernel: [ 32.545074] No drm_driver.set_busid() implementation provided by nv_drm_driver [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
Jan 23 12:38:35 u32 kernel: [ 32.545076] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG 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 arc4 rtl8187 nvidia(OE) mac80211 cfg80211 eeprom_93cx6 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller coretemp snd_hda_codec snd_hwdep snd_pcm kvm_intel snd_seq_midi snd_seq_midi_event kvm snd_rawmidi snd_seq snd_seq_device drm snd_timer serio_raw snd lpc_ich 8250_fintek soundcore asus_atk0110 shpchp i82975x_edac edac_core mac_hid parport_pc ppdev lp parport autofs4 hid_generic firewire_ohci firewire_core usbhid pata_acpi crc_itu_t hid ahci pata_jmicron libahci sky2 floppy
Jan 23 12:38:35 u32 kernel: [ 32.545131] CPU: 0 PID: 998 Comm: Xorg Tainted: G W OE 3.19.0-2-generic #2-Ubuntu

dino99 (9d9)
tags: added: bot-stop-nagging vivid
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1413971

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
dino99 (9d9)
Changed in linux (Ubuntu):
status: Incomplete → New
dino99 (9d9)
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19-rc5-vivid/

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
dino99 (9d9) wrote :

Testing results:
- kernel 3.16.0-18 with the latest nvidia driver 346.35 have no such issue
- more recent kernels (3.18 & 3.19) have trouble to compile the nvidia drivers (from edgers ppa) and/or the ubuntu genuine like 331: example lp:1268257 (nvidia-graphics-drivers)
- to force the driver(s) compilation, some tweaks have to be made with the nvidia driver files sources, like
     https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331-updates/+bug/1268257/comments/158 (346.35)
    https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331-updates/+bug/1268257/comments/100 (346.22)

- get the same issue with 3.19-rc5

so the drm function name call need to be changed

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
dino99 (9d9) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.