Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N nouveau
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 125
    • Issues 125
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • drm
  • nouveau
  • Issues
  • #67
Closed
Open
Created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

[G96, 9500 GT] Removing nouveau module results in BUG: unable to handle kernel NULL pointer dereference at 00000000000000b8

Submitted by Vedran Miletić

Assigned to Nouveau Project

Link to original bug (#104609)

Description

Created attachment 136693 dmesg

Description of problem: Removing nouveau module using modprobe -r results in BUG: unable to handle kernel NULL pointer dereference at 00000000000000b8

Version-Release number of selected component (if applicable): Linux 4.14.0-3-amd64 (Debian 4.14.12-2)

How reproducible: Didn't try.

Steps to Reproduce:

  1. sudo modprobe -r nouveau

Actual results:

[466017.592089] BUG: unable to handle kernel NULL pointer dereference at 00000000000000b8
[466017.592089] IP: nouveau_fbcon_fini+0xb8/0x120 [nouveau]
[466017.592089] PGD 0 P4D 0 
[466017.592089] Oops: 0000 [#1] SMP NOPTI
[466017.592089] Modules linked in: ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs dm_mod cfg80211 rfkill snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device iptable_filter fuse tun powernow_k8 amd64_edac_mod edac_mce_amd nouveau(-) kvm_amd kvm irqbypass mxm_wmi wmi video ppdev ttm drm_kms_helper evdev drm snd_hda_codec_realtek snd_hda_codec_generic i2c_algo_bit snd_hda_intel serio_raw snd_hda_codec pcspkr snd_hda_core k8temp snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_timer sg snd soundcore parport_pc shpchp parport asus_atk0110 button binfmt_misc sunrpc loop ecryptfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 fscrypto ecb crypto_simd cryptd glue_helper aes_x86_64 uas usb_storage hid_generic usbhid hid btrfs zstd_decompress zstd_compress xxhash sr_mod cdrom
[466017.592089]  raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor sd_mod raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath linear md_mod ata_generic psmouse r8169 via_rhine mii uhci_hcd ehci_pci ehci_hcd i2c_viapro sata_via pata_via usbcore libata usb_common scsi_mod floppy
[466017.592089] CPU: 1 PID: 26532 Comm: modprobe Not tainted 4.14.0-3-amd64 #1 Debian 4.14.12-2
[466017.592089] Hardware name: stem manufacturer System Product Name/M2VTVM-VM890, BIOS 1201    03/17/2008
[466017.592089] task: ffff89b926dfc100 task.stack: ffffaae4c324c000
[466017.592089] RIP: 0010:nouveau_fbcon_fini+0xb8/0x120 [nouveau]
[466017.592089] RSP: 0018:ffffaae4c324fdb8 EFLAGS: 00010282
[466017.592089] RAX: 0000000000000000 RBX: ffff89b97b7ff800 RCX: fffff31601e3815f
[466017.592089] RDX: 000000000000003b RSI: ffff89b97c3c3680 RDI: 0000000000000282
[466017.592089] RBP: ffff89b97b062000 R08: 0000000000000002 R09: ffff89b976db8540
[466017.592089] R10: ffffaae4c324fdb8 R11: 0000000000000001 R12: 0000000000000000
[466017.592089] R13: ffffffffc0d52770 R14: ffff89b97cab4100 R15: ffffffffc0d527e8
[466017.592089] FS:  00007fc9e0352540(0000) GS:ffff89b97fd00000(0000) knlGS:0000000000000000
[466017.592089] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[466017.592089] CR2: 00000000000000b8 CR3: 0000000029b5e000 CR4: 00000000000006e0
[466017.592089] Call Trace:
[466017.592089]  nouveau_drm_unload+0x37/0xd0 [nouveau]
[466017.592089]  drm_dev_unregister+0x3c/0xe0 [drm]
[466017.592089]  drm_put_dev+0x2e/0x60 [drm]
[466017.592089]  nouveau_drm_device_remove+0x44/0x70 [nouveau]
[466017.592089]  pci_device_remove+0x36/0xb0
[466017.592089]  device_release_driver_internal+0x157/0x210
[466017.592089]  driver_detach+0x39/0x70
[466017.592089]  bus_remove_driver+0x51/0xd0
[466017.592089]  pci_unregister_driver+0x2a/0xa0
[466017.592089]  nouveau_drm_exit+0x15/0x1c5 [nouveau]
[466017.592089]  SyS_delete_module+0x18c/0x290
[466017.592089]  system_call_fast_compare_end+0xc/0x6f
[466017.592089] RIP: 0033:0x7fc9dfefcad7
[466017.592089] RSP: 002b:00007ffea4c86a38 EFLAGS: 00000206
[466017.592089] Code: e8 6e 59 f4 ff 48 8d bb 10 01 00 00 e8 62 59 f4 ff 48 8b 9d a0 09 00 00 4c 8b 23 48 89 df e8 30 eb d2 ff 48 89 df e8 58 f2 d2 ff `<49>` 8b bc 24 b8 00 00 00 48 85 ff 74 31 49 8d b4 24 c0 00 00 00 
[466017.592089] RIP: nouveau_fbcon_fini+0xb8/0x120 [nouveau] RSP: ffffaae4c324fdb8
[466017.592089] CR2: 00000000000000b8
[466017.596375] ---[ end trace e8cb85440e5df03c ]---

Expected results: No error.

Additional info: 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96 [GeForce 9500 GT] [10de:0640] (rev a1)

Attachment 136693, "dmesg":
file_104609.txt

Edited Mar 05, 2021 by Ilia Mirkin
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking