nouveau build failed: drm_sysfs.c 'struct class' has no 'nodename'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nouveau-kernel-source (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xserver-
Setting up nouveau-
Adding Module to DKMS build system
Doing initial module build
Error! Bad return status for module build on kernel: 2.6.32-6-generic (i686)
Consult the make.log in the build directory
/var/lib/
/var/lib/
/var/lib/
/var/lib/
juser@e18:~$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
juser@e18:~$ apt-cache policy xserver-
xserver-
Installed: 1:0.0.10~
Candidate: 1:0.0.10~
Version table:
*** 1:0.0.10~
500 http://
100 /var/lib/
What happened:
fresh lucid install:
juser@e18:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
juser@e18:~$ sudo apt-get install xserver-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dkms fakeroot libdrm-nouveau1 nouveau-
Suggested packages:
diff-doc
The following NEW packages will be installed:
dkms fakeroot libdrm-nouveau1 nouveau-
xserver-
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,074kB of archives.
After this operation, 9,535kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Fetched 2,074kB in 1s (1,127kB/s)
Selecting previously deselected package dkms.
(Reading database ... 111981 files and directories currently installed.)
Unpacking dkms (from .../dkms_
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_
Selecting previously deselected package libdrm-nouveau1.
Unpacking libdrm-nouveau1 (from .../libdrm-
Selecting previously deselected package patch.
Unpacking patch (from .../patch_
Selecting previously deselected package nouveau-
Unpacking nouveau-
Selecting previously deselected package xserver-
Unpacking xserver-
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up dkms (2.1.0.1-0ubuntu1) ...
* Running DKMS auto installation service for kernel 2.6.32-6-generic [ OK ]
Setting up fakeroot (1.12.4ubuntu1) ...
update-
Setting up libdrm-nouveau1 (2.4.14-1ubuntu1) ...
Setting up patch (2.5.9-5) ...
Setting up nouveau-
Adding Module to DKMS build system
Doing initial module build
Error! Bad return status for module build on kernel: 2.6.32-6-generic (i686)
Consult the make.log in the build directory
/var/lib/
dpkg: error processing nouveau-
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of xserver-
xserver-
Package nouveau-
dpkg: error processing xserver-
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
nouveau-
xserver-
E: Sub-process /usr/bin/dpkg returned an error code (1)
juser@e18:~$
ProblemType: Bug
Architecture: i386
CurrentDmesg: [ 119.974484] psmouse serio1: ID: 10 00 64
Date: Wed Dec 2 19:02:28 2009
DistroRelease: Ubuntu 10.04
MachineType: System Manufacturer Product Name
Package: xserver-
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_US
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu10
libgl1-mesa-glx 7.6.0-1ubuntu4
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: xserver-
Tags: lucid
Uname: Linux 2.6.32-6-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/
XorgLogOld: Error: [Errno 2] No such file or directory: '/var/log/
dmi.bios.date: 04/26/2002
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: VC37
dmi.board.vendor: First International Computer, Inc.
dmi.board.version: PCB 1.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Manufactory Name
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: Product Name
dmi.product.
dmi.sys.vendor: System Manufacturer
fglrx: Not loaded
glxinfo: Error: [Errno 2] No such file or directory
system:
distro: Ubuntu
architecture: i686kernel: 2.6.32-6-generic
Changed in xserver-xorg-video-nouveau (Ubuntu): | |
status: | New → Confirmed |
something to to with devtmpfs in 2.6.32 i think means
char *(*nodename)(struct device *dev);
is now
char *(*devnode)(struct device *dev, mode_t *mode);
i've attached a patch that makes the changes in drivers/ gpu/drm/ drm_sysfs. c. it builds and modprobe's the module fine, hopefully i havent missed anything silly. i'm sure there'll be a new nouveau for lucid so this should hopefully be a temporary fix until then