NCAAbbs

Full Version: Gentoo Installation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Things went downhill after the initial setup. Emerge KDE failed on on the make for kdelibs. I'll figure that one out eventually, so I decided to install XFCE, the install went fine, but I can't start xfce4 or x. It fails with the following error

localhost ~ # startx


X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11-gentoo-r11 i686 [ELF]
Current Operating System: Linux localhost 2.6.12-gentoo-r6 #1 SMP Sat Feb 11 11:24:25 EST 2006 i686
Build Date: 28 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 13 07:05:14 2006
(EE) Unable to locate/open config file
Using vt 7
xf86AutoConfig: Primary PCI is 1:0:0
Running "/usr/bin/getconfig -X 60802000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x1002 -d 0x4c59 -r 0x00 -s 0x1028 -b 0x00e3 -c 0x0300"
getconfig.pl: Version 1.0.
getconfig.pl: Xorg Version: 6.8.2.0.
getconfig.pl: 23 built-in rules.
getconfig.pl: rules file '/usr/X11R6/lib/X11/getconfig/xorg.cfg' has version 1.0.
getconfig.pl: 1 rule added from file '/usr/X11R6/lib/X11/getconfig/xorg.cfg'.
getconfig.pl: Evaluated 24 rules with 0 errors.
getconfig.pl: Weight of result is 500.
New driver is "ati"
(==) Using default built-in configuration (53 lines)

Fatal server error:
Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Any ideas?

ddrizn wrote:
Currently Ubuntu 5.10, but I'm going to give Gentoo a shot this weekend. Wish me luck.


OK, finished the base install Friday night, Rebooted, came up just fine. I think the last time I tried it I had screwed up the grub.conf.but my cable was out so I had to wait until Sunday to start installing apps. First did the emerge --sync to update the portage and then emerge --update world which has been running for the last few hours. After that I'll probably do kde.
I know very little, but a quick scan of the Gentoo forums led me to ask this question: What kind of graphics card do you use?
Lethemeul Wrote:I know very little, but a quick scan of the Gentoo forums led me to ask this question: What kind of graphics card do you use?

ATI Mobility Radeon
ddrizn Wrote:
Lethemeul Wrote:I know very little, but a quick scan of the Gentoo forums led me to ask this question: What kind of graphics card do you use?

ATI Mobility Radeon

According to the Forums anything older than gcc 3.4 the radeon driver is broke. http://forums.gentoo.org/viewtopic-t-224...adeon.html
I'm running 3.3.6. Maybe I should upgrade.
Use gcc-config to update your system to run GCC 3.4.x. gcc-config --help should provide very useful instructions.

If you can provide me with the exact error kdelibs spit out; I'll look into that further as well.

I know a mobility Radeon will work; but as usual ATI is a pain in the ass. Gorkon has a Mobility Radeon on his Gentoo laptop I got to work.
Regarding KDE, here is a USE flag you may find of great service:

"kdeenablefinal"

Gentoo has arranged KDE so you can mix and match components from different releases. Use k3b from 3.5.0 ... and Konqueror from 3.4.3 ... etc. This however drastically increases compile times and bugs.

kdeenablefinal locks you into one release of KDE of your choice, and gives you the added benefit of not soft compiling huge portions of KDE (huge time increase to compile). I have found it tends to weed out alot of bugs too.
BTW, You mentioned to me how long KDE takes to compile... I thought I'd share the humor of installing America's Army...

# emerge americas-army
* The installed game takes about 1.6GB of space when installed and
* 2.4GB of space in /var/tmp/portage to build!

unpacking game...

* This will take a while ... go get a pizza or something

^^ Thought that was a hoot ^^
Success. I now have Gentoo installed and working on both my laptop and my primary workstation, and I like what I see so far. How did I do it? Well, after 6 days of trial and error and rising frustration, I decided to look at some alternatives, and began looking for other distributions that used Gentoo. One that I found is Kororaa. This distribution guides you through a text based install and what you wind up with is nicely equpped workstation with a KDE 3.5 desktop, firefox, thunderbird, K3B, and a lot of other essential apps with all the same power and flexibilty of Gentoo's ports and use flags. It worked flawlessly on both the laptop and workstation and I would recommend it to anyone who is interested in Gentoo but feels overwelmed by the Gentoo handbook and it's installation procedures, and choices, as I was. Now that I have a working system I can begin to learn the power and flexibilty of Gentoo. The install took a total of about an hour and a half from start to finish. Then of course you can add or upgrade any apps you like as I have been doing all day. For anyone interested in Kororaa they are located at http://www.kororaa.org/ This distribution is still in beta, so proceed at your own risk. There is also a Gnome version available. Of course you can add Gnome to your KDE version and vice-versa. Thanks for all the tips and advice along the way. I will file them away for future use.
I really think a user-friendly Gentoo is a big void in the Linux distros right now. You can tell by using things like SysRescueCD and the Gentoo LiveCD that when set for it, Gentoo's hardware autodetection and setup is quite nice.

That being said I can still understand why Gentoo doesn't do this. For autodetection of all sorts of hardware to make things easier etc... you have to create a massive and bloated kernel loaded with every option available. While you make it easier to do things to some degree, you lose speed, add bloat, and add potential security risks with all those extras you'll never use. Making it super-friendly for hardware etc would go against the Gentoo philosophy of "exactly what you ask for (and nothing else) done very well and as fast as reasonably possible"
georgia_tech_swagger Wrote:I really think a user-friendly Gentoo is a big void in the Linux distros right now. You can tell by using things like SysRescueCD and the Gentoo LiveCD that when set for it, Gentoo's hardware autodetection and setup is quite nice.

That being said I can still understand why Gentoo doesn't do this. For autodetection of all sorts of hardware to make things easier etc... you have to create a massive and bloated kernel loaded with every option available. While you make it easier to do things to some degree, you lose speed, add bloat, and add potential security risks with all those extras you'll never use. Making it super-friendly for hardware etc would go against the Gentoo philosophy of "exactly what you ask for (and nothing else) done very well and as fast as reasonably possible"

Ain't that the truth. That's what interested me about Gentoo, is the ability to cut out all the bloat, that has been creeping into the major distributions for quite some time. What I have right now is basically a newbie Gentoo system, with some bloat, but basically what I would get with a genkernel and GRP package install. In the coming weeks and months, I will try to learn all I can about Gentoo to trim the fat away from what I have now. My first priority will be recompiling the kernel.and then perhaps clearing some of the use flags.BTW, am installing MythTV right now and will probably finish up configuring it in the morning. Did a search on Americas Army and it is huge. How long did it take to install it?
Yea -- the warning mesage for it is funny. "This will take awhile... go get a pizza or something"

I followed its advice and grabbed some grub -- pretty sure it took over 10 mins though.
Pulled down a fresh Gentoo kernel, compiled, and installed. I had actually always had trouble with this but the process was amazingly easy. In fact, I recompiled 4 or 5 times, tweaking it. One problem I had, and I may have to go to another kernel. In the V4L setup, the list of capture cards was short, and mine a BT878 was not listed, whereas the other kernel from Kororaa, which is also available through portage, did have my card listed. Any ideas? I know I must be doing something wrong because I thought the BT878 was a popular type. And a philosophical question of all. Which do you think is better. Compiling your hardware into the kernel, or building the modules and loading them?
ddrizn Wrote:Pulled down a fresh Gentoo kernel, compiled, and installed. I had actually always had trouble with this but the process was amazingly easy. In fact, I recompiled 4 or 5 times, tweaking it. One problem I had, and I may have to go to another kernel. In the V4L setup, the list of capture cards was short, and mine a BT878 was not listed, whereas the other kernel from Kororaa, which is also available through portage, did have my card listed. Any ideas? I know I must be doing something wrong because I thought the BT878 was a popular type. And a philosophical question of all. Which do you think is better. Compiling your hardware into the kernel, or building the modules and loading them?

What's your capture card?
Mine is a Hauppauge PVR-250 -- drivers for it are provided through the "ivtv" package, which is still depend. on V4L in the kernel.

Regarding compiling in or module... depends on the hardware.
You'll want a hardware sensor compiled in... it never changes.
You'll want things like hard disc support compiled in... for sanity if nothing else.
You might want things like sound/video as modules so they can be unloaded when desired.

There is, AFAIK, no performance difference between compiled in and a module.
georgia_tech_swagger Wrote:
ddrizn Wrote:Pulled down a fresh Gentoo kernel, compiled, and installed. I had actually always had trouble with this but the process was amazingly easy. In fact, I recompiled 4 or 5 times, tweaking it. One problem I had, and I may have to go to another kernel. In the V4L setup, the list of capture cards was short, and mine a BT878 was not listed, whereas the other kernel from Kororaa, which is also available through portage, did have my card listed. Any ideas? I know I must be doing something wrong because I thought the BT878 was a popular type. And a philosophical question of all. Which do you think is better. Compiling your hardware into the kernel, or building the modules and loading them?

What's your capture card?
Mine is a Hauppauge PVR-250 -- drivers for it are provided through the "ivtv" package, which is still depend. on V4L in the kernel.

Regarding compiling in or module... depends on the hardware.
You'll want a hardware sensor compiled in... it never changes.
You'll want things like hard disc support compiled in... for sanity if nothing else.
You might want things like sound/video as modules so they can be unloaded when desired.

There is, AFAIK, no performance difference between compiled in and a module.

My TV card is a Hauppauge WinTV Go-Plus Model 1033
ddrizn Wrote:
georgia_tech_swagger Wrote:
ddrizn Wrote:Pulled down a fresh Gentoo kernel, compiled, and installed. I had actually always had trouble with this but the process was amazingly easy. In fact, I recompiled 4 or 5 times, tweaking it. One problem I had, and I may have to go to another kernel. In the V4L setup, the list of capture cards was short, and mine a BT878 was not listed, whereas the other kernel from Kororaa, which is also available through portage, did have my card listed. Any ideas? I know I must be doing something wrong because I thought the BT878 was a popular type. And a philosophical question of all. Which do you think is better. Compiling your hardware into the kernel, or building the modules and loading them?

What's your capture card?
Mine is a Hauppauge PVR-250 -- drivers for it are provided through the "ivtv" package, which is still depend. on V4L in the kernel.

Regarding compiling in or module... depends on the hardware.
You'll want a hardware sensor compiled in... it never changes.
You'll want things like hard disc support compiled in... for sanity if nothing else.
You might want things like sound/video as modules so they can be unloaded when desired.

There is, AFAIK, no performance difference between compiled in and a module.

My TV card is a Hauppauge WinTV Go-Plus Model 1033

I didn't have ivtv installed. When I attempt to install i get this error:
16:33:16 (147.15 KB/s) - `/usr/portage/distfiles/pvr_1.18.21.22254_inf.zip'' saved [593441]
***** Determining the location of the kernel source code
***** Found kernel source directory:
***** /usr/src/linux
***** Found sources for kernel version:
***** 2.6.15-gentoo-r1
***** Checking for suitable kernel configuration options:
* CONFIG_I2C_ALGOBIT: is not set when it should be.
* CONFIG_I2C_CHARDEV: is not set when it should be.
* CONFIG_I2C: is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
!!! ERROR: media-tv/ivtv-0.4.2 failed.
!!! Function check_extra_config, Line 458, Exitcode 0
!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, NOT this status message.
...done!
Device Drives --->
--- <*> I2C Support
------ <*> I2C Device Interface
--------- I2C Algorithms (compile in all)
--------- Hardware Bus Support (compile in your chipset)
Yeah, I should've checked back sooner. I just now found the information you posted. Recompiling now.
Reference URL's