Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293531 - ~amd64, sys-kernel/gentoo-sources-2.6.31-r6 and AGP
Summary: ~amd64, sys-kernel/gentoo-sources-2.6.31-r6 and AGP
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 18:57 UTC by Andrey Ovcharov
Modified: 2009-11-17 19:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ovcharov 2009-11-17 18:57:16 UTC
I can not disable AGP on ~ amd64 system with the kernel sys-kernel/gentoo-sources-2.6.31-r6 !
Step to reproduce

> uname -a
Linux localhost 2.6.31-gentoo-r6 #1 SMP Mon Nov 16 21:23:18 EET 2009 x86_64 Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz GenuineIntel GNU/Linux
> cd /usr/src/linux-2.6.31-gentoo-r6/
> make mrproper
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config
  CLEAN   .config
> make defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:105: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2486:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c: In function 'conf_write_autoconf':
scripts/kconfig/confdata.c:745: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c:746: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2487:
scripts/kconfig/expr.c: In function 'expr_print_file_helper':
scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
> cat .config | grep AGP
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set

The first question is why on ~amd64/x86_64 even enabled by default AGP? 
And the second question as AGP disable in the kernel on amd64/x86_64?

Thank you.
Comment 1 Patrick Lauer gentoo-dev 2009-11-17 19:38:59 UTC
defconfig creates a default config. I fail to see why you can't run menuconfig and disable the agp bits ...
Comment 2 Andrey Ovcharov 2009-11-17 19:45:16 UTC
(In reply to comment #1)
> defconfig creates a default config. I fail to see why you can't run menuconfig
> and disable the agp bits ...
> 

In menuconfig with sys-kernel/gentoo-sources-2.6.31-r6 impossible to disable AGP.
With sys-kernel/vanilla-sources-2.6.32_rc7 disable AGP in menuconfig even after defconfig no problem.