0.0.14+git20090715-0ubuntu1 FATAL: Error inserting nouveau ttm: Unknown symbol drm_mm_get_block_generic

Reported by Niall Creech on 2009-07-15
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nouveau-kernel-source (Ubuntu)
Chris Halse Rogers

Bug Description

Binary package hint: nouveau-kernel-source

0.0.14+git20090715 module errors on install on up to date karmic amd64

$modprobe nouveau
FATAL: Error inserting nouveau (/lib/modules/2.6.31-3-generic/updates/dkms/nouveau.ko): Unknown symbol in module, or unknown parameter (see dmesg)

[ 4215.445519] ttm: Unknown symbol drm_mm_get_block_generic
[ 4215.445672] ttm: disagrees about version of symbol drm_mm_takedown
[ 4215.445674] ttm: Unknown symbol drm_mm_takedown
[ 4215.445773] ttm: disagrees about version of symbol drm_mm_put_block
[ 4215.445775] ttm: Unknown symbol drm_mm_put_block
[ 4215.445986] ttm: disagrees about version of symbol drm_mm_search_free
[ 4215.445988] ttm: Unknown symbol drm_mm_search_free
[ 4215.446429] ttm: Unknown symbol drm_mm_pre_get
[ 4215.446624] ttm: Unknown symbol drm_mm_clean
[ 4215.446757] ttm: disagrees about version of symbol drm_mm_init
[ 4215.446759] ttm: Unknown symbol drm_mm_init

$ apt-show-versions nouveau-kernel-source
nouveau-kernel-source/karmic uptodate 0.0.14+git20090715-0ubuntu1

Chris Halse Rogers (raof) wrote :

I can't seem to reproduce this. Can you post the output of
modinfo ttm
modinfo drm
modinfo nouveau

Changed in nouveau-kernel-source (Ubuntu):
status: New → Incomplete
assignee: nobody → Chris Halse Rogers (raof)

root@crystaltree:~# modinfo ttm
filename: /lib/modules/2.6.31-3-generic/updates/dkms/ttm.ko
license: GPL and additional rights
description: TTM memory manager subsystem (for DRM device)
author: Thomas Hellstrom, Jerome Glisse
srcversion: 3BA5DC8F8CC665FDD7A44ED
depends: drm
vermagic: 2.6.31-3-generic SMP mod_unload modversions
root@crystaltree:~# modinfo drm
filename: /lib/modules/2.6.31-3-generic/updates/dkms/drm.ko
license: GPL and additional rights
description: DRM shared core routines
author: Gareth Hughes, Leif Delgass, José Fonseca, Jon Smirl
srcversion: 295536C25E420A74C1041F9
vermagic: 2.6.31-3-generic SMP mod_unload modversions
parm: debug:Enable debug output (int)
root@crystaltree:~# modinfo nouveau
filename: /lib/modules/2.6.31-3-generic/updates/dkms/nouveau.ko
license: GPL and additional rights
description: nVidia Riva/TNT/GeForce
author: Stephane Marchesin
license: GPL and additional rights
srcversion: 63E0CAB10CB47DB2FFA185A
alias: pci:v000012D2d*sv*sd*bc03sc*i*
alias: pci:v000010DEd*sv*sd*bc03sc*i*
depends: drm,ttm,i2c-algo-bit
vermagic: 2.6.31-3-generic SMP mod_unload modversions
parm: noagp:Disable AGP (int)
parm: modeset:Enable kernel modesetting (int)
parm: duallink:Allow dual-link TMDS (>=GeForce 8) (int)
parm: uscript:Execute output scripts (>=GeForce 8) (int)
parm: uscript_lvds:LVDS output script table ID (>=GeForce 8) (int)
parm: uscript_tmds:TMDS output script table ID (>=GeForce 8) (int)

also fails on 2.6.31-2-generic, with the one error

[ 93.984229] nouveau: Unknown symbol drm_find_matching_map

i've attached the same info as above for 2.6.31-2-generic if needed

So, I'm a bit confused. I can happily modprobe nouveau on my amd64
system, with identical modinfo output.

The problem seems to be that the kernel is convinced i have some sort of intel card and is trying to load the i915 module on boot for some unknown reason which fails with lots of drm errors

[ 2.188278] [drm] Initialized drm 1.1.0 20060810
[ 2.189221] i915: Unknown symbol drm_framebuffer_cleanup

When this fails i'm left with the loaded unused drm module. trying to load ttm (due to loading nouveau) on top of this leads to all the ttm errors mentioned previously.
If i now remove the drm module and modprobe nouveau everything works fine and drm, ttm and nouveau modules all load normally

i'm guessing this is a kernel bug and not nouveau which loads fine left to its own devices. the bug seems to be kernel unneccessarily loading i915 on boot, and it being broken, leaving nouveau unable to load ttm on top of the remaining loaded drm module from i915 for whatever reason. i'm guessing the solution is to fix i915 and leave nouveau alone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers