View previous topic :: View next topic |
Author |
Message |
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Wed Mar 23, 2011 4:24 pm Post subject: <solved>Installing X - kernel config error |
|
|
k, trying to get X installed. After setting the config options per the handbook for nvidia, with genkernel --menuconfig all, I get a bzimage error:
drivers/built-in.o: In function 'nouveau_acpi_edid':
(.text+0xe2932): undefined reference to 'acpi_video_get_edid'
make: *** [vmlinux] Error 1
Any help would be greatly appreciated
Ed _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1
Last edited by Special Ed on Thu Mar 24, 2011 11:10 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Mar 23, 2011 6:08 pm Post subject: |
|
|
do you intend to use nvidia-drivers (ebuild implementing nvidia's proprietary drivers) or nouveau (open source, can support kms, newer gpu's) or nv (older gpu's)
more information please: Code: | emerge wgetpaste gentoolkit portage-utils
emerge --info | wgetpaste
emerge -pv xorg-server $(qlist -IC x11-drivers) | wgetpaste
lspci -k | wgetpaste
eselect kernel list | wgetpaste
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste |
and post the url's returned _________________ Defund the FCC. |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Wed Mar 23, 2011 7:16 pm Post subject: |
|
|
if you must use genkernel, do genkernel --menuconfig all, go through menuconfig and make sure you've unchecked everything relating to framebuffers (except vesafb, i suppose that should be fine), make sure you've unchecked the Direct Rendering Manager stuff completely (nvidia-driver provides this), make sure none of the nouveau stuff is selected (it is all but guaranteed to cause problems with nvidia-drivers)
if you're not married to the idea of genkernel, well...all the better. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Wed Mar 23, 2011 7:22 pm Post subject: |
|
|
I'm not married to using Genkernel at all. I'm just new at the do it yourself Gentoo method and dont have the cojones to try and set all the config options myself with any hope of even getting a bootable system as I do now with Genkernel. Well, I did anyways. Afraid to reboot again. LOL
By unsetting all framebuffer and nouveau stuff, are you sayin to use the nvidia drivers? Can I emerge those?
Ed _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Wed Mar 23, 2011 7:34 pm Post subject: |
|
|
Special Ed wrote: | I'm not married to using Genkernel at all. I'm just new at the do it yourself Gentoo method and dont have the cojones to try and set all the config options myself with any hope of even getting a bootable system as I do now with Genkernel. Well, I did anyways. Afraid to reboot again. LOL
By unsetting all framebuffer and nouveau stuff, are you sayin to use the nvidia drivers? Can I emerge those?
Ed |
Don't be afraid to manually configure the kernel. That's how you learn. Besides it isn't that bad. It looks worse than it is. Also don't be afraid to use the CD and chroot. It's unavoidable that one day you will have to do it to recover your system. In fact in my opinion the handbook should immediately (upon successfully booting the system from the new kernel) tell new users to boot from a installation CD and chroot a few times just to make sure they know how to boot the system should something go wrong.
Nouveau conflicts with the Nvidia blob (proprietary driver). The same for most other framebuffers. If you really desire to use the Nvidia blob then you will probably have to unselect them. Generally you set VIDEO_CARDS in make.conf and then when you emerge xorg-server the proper drivers are pulled in. You may want to unmerge anything which you no longer need to ensure it doesn't conflict.
See this for general info on installing X:
http://www.gentoo.org/doc/en/xorg-config.xml
And if you want to use the Nvidia blob see this as well:
http://www.gentoo.org/doc/en/nvidia-guide.xml
Last edited by davidm on Wed Mar 23, 2011 7:43 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Mar 23, 2011 7:43 pm Post subject: |
|
|
I'll take you at your word and go for nvidia-drivers:
Code: | genkernel --menuconfig all | Edit to:
Quote: | Graphics support --->
-*- /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
< > AMD Opteron/Athlon64 on-CPU GART support
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support # match motherboard chipset
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(4) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support --->
< > Intel GMA500 Stub Driver
<*> Lowlevel video output switch controls
<*> Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
-*- Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[*] VESA VGA graphics support #needed removed in the previous nouveau lineup
[ ] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
[*] Backlight & LCD device support --->
--- Backlight & LCD device support
< > Lowlevel LCD controls
-*- Lowlevel Backlight controls
<*> Generic (aka Sharp Corgi) Backlight Driver
< > Frontpath ProGear Backlight Driver
< > MacBook Pro Nvidia Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
Display device support --->
Console display driver support --->
-*- VGA text console
*] Enable Scrollback Buffer in System RAM
(1024) Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[ ] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo |
Code: | nano /etc/make.conf | Edit to Quote: | VIDEO_CARDS="nvidia" |
Code: | emerge -unmerge nouveau
emerge -av xorg-server $(qlist -IC x11-drivers) | In the list, check for x11-drivers/nvidia-drivers; if not there Code: | emerge nvidia-drivers | then run Code: | nvidia-xconfig
X -retro | If you see a black and white stipple pattern with a moveable mouse, X is working.
edit @cach0 thanks _________________ Defund the FCC.
Last edited by DONAHUE on Wed Mar 23, 2011 10:42 pm; edited 5 times in total |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Wed Mar 23, 2011 7:48 pm Post subject: |
|
|
@DONAHUE
typo@ VIDEO_CARDS="fglrx"
s/fglrx/nvidia/
@OP
have a look through the links in my signature. Pappy's seeds and guide make manual configuration fairly easy and trouble-free
If you make the changes donahue suggested above (except that one typo - 'fglrx' is the binary ATI driver, 'nvidia' gets you the binary nvidia driver), things should work more or less (as well as genkernel *can* work)
but i think if you do a manual configuration you will be much happier _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Wed Mar 23, 2011 9:40 pm Post subject: |
|
|
Ok, at:
emerge --unmerge nouveau
emerge --av xorg-server $(qlist -IC x11-drivers)
..couldn't find 'nouveau' to unmerge.
and
emerge: error: no such option: --av
ok, I dropped a hyphen to -av and it seems to be dancin.
Cach, I'm just tryin to get a workin system, AFTER I get this goin, I'm goin to try my hand at manual config, also gonna take a look at Pappy's configs.
Ed _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1
Last edited by Special Ed on Wed Mar 23, 2011 9:42 pm; edited 1 time in total |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Wed Mar 23, 2011 9:42 pm Post subject: |
|
|
Try that last command with only one hyphen instead of two.
Example
Code: |
emerge -av xorg-server $(qlist -IC x11-drivers)
|
|
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Wed Mar 23, 2011 9:50 pm Post subject: |
|
|
Sweet! Its workin! Thank you!
Now on to installin KDE. Wanna point me in the right direction please?
Ctrl-alt-backspace isnt killin X. Did something change?? _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Wed Mar 23, 2011 10:17 pm Post subject: |
|
|
They disabled CTRL+ALT+BKSPACE by default and I believe changed it to another odd combination using SYSREQ.
I just use something like this in my .xinitrc to enable it again.
Code: |
setxkbmap us -option terminate:ctrl_alt_bksp &
|
Change to suit your needs or implement something similar in xorg.conf.
Almost everything you could ever want can be found here:
http://www.gentoo.org/doc/en/?catid=desktop
Specifically for KDE:
http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml
Good luck! |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Wed Mar 23, 2011 10:19 pm Post subject: |
|
|
Thanks fellas for gettin me this far! I did find the kde4 install docs, thanks David. Gotta search the forums for a Phonon dep issue. LOL
Ed _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Thu Mar 24, 2011 1:42 am Post subject: |
|
|
davidm wrote: | They disabled CTRL+ALT+BKSPACE by default and I believe changed it to another odd combination using SYSREQ.
! |
ALT+SysRq+K
heh
im not sure where the hell that brilliant fucking idea (sic) came from, but I very much do not like that change.
what's all the more annoying about that, everyone has a CTRL, ALT, and Backspace key.
Not everyone has a SysRq key. Not one that's functional in combination with other keypresses, at any rate. Mine's only accessible using the laptop's Fn key. The required combination actually becomes impossible, because ALT+Fn+PrintScreen actually becomes something entirely different, whereas Fn+PrintScreen is SysRq.
Braindead change IMHO |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Thu Mar 24, 2011 1:47 am Post subject: |
|
|
Special Ed wrote: |
Cach, I'm just tryin to get a workin system, AFTER I get this goin, I'm goin to try my hand at manual config, also gonna take a look at Pappy's configs.
|
no worries. I mainly bring that up and suggest genkernel as an inferior alternative not because it isn't uber intuitive/easy, but because it often does a shoddy job.
If you're lucky enough for it to work for you out of the box, it's shit hot. If you aren't, you end up spending more time fighting to get genkernel working than you would doing a manual configuration.
In other words, if things go well with genkernel, it's quicker and easier. Since things often don't go well with genkernel, it's often not quicker and easier
(I feel bad even saying that, really does look like I'm shitting all over the project, just, it's kinda sorta one of those things that didn't work back in '04 when I started this, was well-acknowledged, and seems to be problematic still) _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Thu Mar 24, 2011 11:08 pm Post subject: |
|
|
Hey, givin advice or well intentioned opinion sharing isnt a bad thing. Im thinkin that since i got my feet wet un the gentoo pond with genkernel and got to the xdm login screen (couldnt ligin though lol ), i think im gonnatry out my rookie hand at the manual/pappy seed method! Maybe ambitious or masochistic of me but thats how i roll. All you gentoo wiz's be available tonight! _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Thu Mar 24, 2011 11:10 pm Post subject: |
|
|
Special Ed wrote: | Hey, givin advice or well intentioned opinion sharing isnt a bad thing. Im thinkin that since i got my feet wet un the gentoo pond with genkernel and got to the xdm login screen (couldnt ligin though lol ), i think im gonnatry out my rookie hand at the manual/pappy seed method! Maybe ambitious or masochistic of me but thats how i roll. All you gentoo wiz's be available tonight! |
long as you backup your genkernel kernel and initramfs, should be fine - can always revert if you get sick of trying the manual route. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Thu Mar 24, 2011 11:26 pm Post subject: |
|
|
Ok. You didnt gimme a wsrm fuzzy! Lol _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Mar 25, 2011 12:15 am Post subject: |
|
|
Special Ed wrote: | Ok. You didnt gimme a wsrm fuzzy! Lol |
on the contrary, if you back up your existing kernel and initrd, it's win/win! You either have working kernel, or really awesome working kernel.
It's not so bad, and there are plenty here who can help if you get stuck. Pappy's seeds especially make it easy, no need to get lost in some of the more cryptic parts of the kernel configuration, those decisions have been made for you - just pick the drivers you need for your hardware, pick the file systems you need, and you're on your way. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Fri Mar 25, 2011 1:57 am Post subject: |
|
|
Well, not off to a great start. I figured I would try this from the systemrescue cd and accidently reformatted my win7 install with mke2fs /dev/sda1. What I get for copy and pasting huh?
LOL
GEEZ!
root@sysresccd /root % fdisk -lu
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9526476e
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 573829119 286913536 7 HPFS/NTFS
Any hope of recovery? _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Mar 25, 2011 2:12 am Post subject: |
|
|
welp, someone is about to have to reinstall win7 then reinstall grub once win7 clobbers the boot sector
not as daunting as it may sound, just install win7 to your old partition, boot from a livecd, re-run grub-install
(just, of course, a pain in the ass losing all of your windows data - or is it...MUAHAHAHAHAHA ) _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Mar 25, 2011 2:14 am Post subject: |
|
|
Special Ed wrote: |
Any hope of recovery? |
I've never attempted it, but I wouldn't be overly optimistic. That goes a bit outside my area of expertise, though. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Fri Mar 25, 2011 2:16 am Post subject: |
|
|
ok. I'll attempt the ol' win7 rescue with the dvd. BBS! _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
Special Ed Tux's lil' helper
Joined: 23 Mar 2011 Posts: 99
|
Posted: Sat Mar 26, 2011 2:09 am Post subject: |
|
|
Ok Cach! I got win7 reinstalled. UGH
Ready to try the manual method of intsalling Gentoo with a Pappy seed. Any recommendations on which kernel and seed? Also, if this is the wrong forum for this, please direct me. _________________ Ed
Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's
Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1 |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sat Mar 26, 2011 3:23 am Post subject: |
|
|
Special Ed wrote: | Ok Cach! I got win7 reinstalled. UGH
Ready to try the manual method of intsalling Gentoo with a Pappy seed. Any recommendations on which kernel and seed? Also, if this is the wrong forum for this, please direct me. |
up to personal preference, I personally go with zen-sources (and therefore, of course, use pappy's zen seed)
it has some really nice scheduling patches that do wonders for desktop interactivity. Same build/install procedure as any other manual kernel configuration.
I would think once you get this up and working, you should notice a marked difference in responsiveness with the zen kernel.
I believe the latest available stable is 2.6.36, for which you should use this seed: http://www.kernel-seeds.org/seeds/64_bit/zen/2.6.36-zen2-x86_64-08.config
Code: |
emerge zen-sources
eselect kernel list
eselect kernel set N #where 'N' is the number that corresponds to zen-sources
cd /usr/src/linux
wget http://www.kernel-seeds.org/seeds/64_bit/zen/2.6.36-zen2-x86_64-08.config -O .config
make menuconfig
|
once you have menuconfig up, go through and select your device drivers, then select your file systems.
The most important one not to miss is support for your hard disk controller. On many modern systems this is just "AHCI"
When you are in menuconfig, you can hit the '/' (forward slash), type a few characters from the driver you're looking for, and hit enter to search and see where in the tree you can find it.
To determine which drivers you need? That's what the first link in my sig is for. If you get stuck, post your lspci -n, /etc/fstab, and /proc/cpuinfo, and someone should be able to point you in the right direction.
You could also, of course, dump your kernel .config up on pastebin(.com) when you're done, and share that link with us as well, and we should be able to trawl through it and make sure you've selecting everything you should need.
best of luck! I'll be around another hour or two, then it's pub time. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
|