Sie sind nicht angemeldet.

1

31.03.2011, 08:25

Problem beim Kernel Kompilieren mit KMS und nouveau

Hey,

Bin neu hier im Forum und auch bei Gentoo.

Habe jetzt nach der offiziellen Anleitung mein Gentoo System installiert und wollte dann mit der X-Server Installation weiter machen.
Aber bei dem Abschnitt "Kernel Modesetting" komm ich nicht mehr weiter.
Ich mache alles genauso, wies da steht, aber das Kompilieren schlägt immer fehl.
Hier mal der Log:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
* Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: --menuconfig --bootloader=grub all

* Linux Kernel 2.6.36-gentoo-r8 for x86...
* kernel: >> Running mrproper...
* config: Using config from /etc/kernels/kernel-config-x86-2.6.36-gentoo-r8
*     	Previous config backed up to .config.bak
*     	>> Running oldconfig...
* kernel: >> Cleaning...
* config: >> Invoking menuconfig...
scripts/basic/docproc.c: In function 'docsect':
scripts/basic/docproc.c:336: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

*     	>> Compiling 2.6.36-gentoo-r8 bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86"  
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
scripts/basic/docproc.c: In function 'docsect':
scripts/basic/docproc.c:336: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
--
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 'yylex1':
scripts/genksyms/lex.l:97: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
  CC  	drivers/pci/pci-driver.o
  CC  	net/ipv4/devinet.o
  CC  	drivers/pci/search.o
  CC  	drivers/pci/pci-sysfs.o
drivers/pci/pci-sysfs.c: In function 'pci_mmap_resource':
drivers/pci/pci-sysfs.c:753: warning: format '%16Lx' expects type 'long long unsigned int', but argument 9 has type 'resource_size_t'
drivers/pci/pci-sysfs.c:753: warning: format '%16Lx' expects type 'long long unsigned int', but argument 10 has type 'resource_size_t'
--
             	from include/linux/if_ether.h:125,
             	from include/linux/netdevice.h:29,
             	from net/packet/af_packet.c:58:
In function 'copy_from_user',
	inlined from 'packet_getsockopt' at net/packet/af_packet.c:2126:
/usr/src/linux-2.6.36-gentoo-r8/arch/x86/include/asm/uaccess_32.h:212: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
--
  CC  	init/version.o
  LD  	init/built-in.o
  LD  	.tmp_vmlinux1
drivers/built-in.o: In function `nouveau_acpi_edid':
(.text+0xb82f5): undefined reference to `acpi_video_get_edid'
make: *** [.tmp_vmlinux1] Error 1
* Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: --menuconfig --bootloader=grub all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --


Ich weis nicht mehr weiter... Hoffe ihr könnt mir helfen!
Vielen Dank fürs Lesen :)

Gruß Julian

2

31.03.2011, 12:46

#!/bin/hi und willkommen im Forum.

Hast du CONFIG_ACPI_VIDEO aktiviert?
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

3

31.03.2011, 17:33

Danke für deine Antwort.

Ich hab CONFIG_ACPI_VIDEO nich gefunden, nur ACPI_VIDEO. Und das ist als Modul aktiviert.

4

02.04.2011, 07:36

Quellcode

1
2
3
4
5
6
7
8
9
10
Symbol:ACPI_VIDEO
Type:tristate
Prompt:Video
    Definedatdrivers/acpi/Kconfig:163
    Dependson:ACPI[=y]&&X86[=y]&&BACKLIGHT_CLASS_DEVICE[=y]&&VIDEO_OUTPUT_CONTROL[=y]&&INPUT[=y]
    Location:
        ->PowermanagementandACPIoptions
            ->ACPI(AdvancedConfigurationandPowerInterface)Support(ACPI[=y])
    Selects:THERMAL[=y]
    Selectedby:STUB_POULSBO[=n]&&HAS_IOMEM[=y]&&PCI[=y]&&NET[=y]&&ACPI[=y]||DRM_I915[=n]&&<choice>&&AGP_INTEL[=y]&&ACPI[=y]||DRM_NOUVEAU[=n]&&STAGING[=n]&&!STAGING_EXCLUDE_


Sollte da sein. Was gibt dir ein

Quellcode

1
# grep ACPI_VIDEO /usr/src/linux/.config
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>