LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-22-2004, 12:11 PM   #1
jihadcman
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 28

Rep: Reputation: 15
Basic Gentoo Problems


Ok, so I have been wanted to get a gentoo install for quite some time now, and have just managed to get around to it. I know this is capable of some serious stuff, but as it stands I have a half-arse distro that is doing more annoying me than working. My laptop has had many different distros on it from debian-suse, and gentoo has apparently come into a bit of problem with the way things are done around here. I have managed to build everything without noticing that my /proc/bus/usb is totally absent. My usb mouse lights up when it is plugged in, but I simply cannot access it. In order to issue the startx command I have to incorporate a mouse into the xf86config, but unfortunately this does not want to work. I have no serial ports, and while I have a touchpad I cannot for the life of me find out what it is called on the machine. I am fairly certain I have tried everything in the kernel configuration, and any help would be appreciated. Also, when I am in terminal (where I always am) and I view something longer than the screen size I am simply screwed because there is no way for me to scroll up and see what was missed. Help here would be appreciated as well.

Thanks,
J
 
Old 11-22-2004, 12:20 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Gentoo Installation guide gives you all the details on how to install Gentoo. About your mouse. Try recompiling the kernel, useing DrOzz's guide for kernel compiling. Use a newer kernel (like 2.6.9) and it will surely support your mouse. Another problem with mice is that you might have USB legacy turned on in your BIOS. Turn it off, fixed my problems with mouse in FC2.

For the text going out of your screen, try pipeing it to less viewer, like this:

cat file.txt | less

(see the | character, it is called pipe an it redirects the output of the command to another command.)

Or for ascii files, you can use less to view them.

You can also use less to combine it with ls command like this:

ls -la | less (and thus getting a scrollable output of the ls command)

Good luck!
 
Old 11-22-2004, 02:50 PM   #3
jihadcman
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 28

Original Poster
Rep: Reputation: 15
I managed to get both my mice to work which let me do that whole GUI business and thus fix my text issues. Now I have to find some way to get my /proc/bus/usb path seeing as gentoo is kind enough to tell me that I lack one. Any help would be nice, although I may figure this out sooner or later, sooner would be best.

Thanks,
J
 
Old 11-22-2004, 03:13 PM   #4
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Can't help you there
 
Old 11-22-2004, 08:29 PM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
i treat gentoo as LFS with package management... its kick ASS package management... but its if you do somthing wrong building it,,, its gonna get built wrong, they dont call it the second hardest distro to install for nothing

Here's what i do with gentoo..
recompile the kernel WITHOUT devfs support the gentoo handbook says you need it, ignore it, its old and llame, instead, compile with the new improved "udev" support... after you boot, you will get errors about not having devfs in the kernel... ignore it and "emerge udev" poooof... thats that problem gone.

make sure you have "usb" in your use flags, i think usb should be on my default, but adding it doesnt to any harm. also, make sure you have libusb installed "emerge libusb".
make sure you have the correct USB drivers compiled into the kernel, and either load them in the modules auto load script, and add the modules script to the boot scripts with rc-update.... OR if you are feeling lazy, emerge hotplug and add that to the init scripts.
 
Old 11-22-2004, 11:44 PM   #6
jihadcman
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 28

Original Poster
Rep: Reputation: 15
ok, so now things have begun to work but there are still issues which i cannot resolve. One being my pcmcia. When i boot it says that there is not slot detected, although i have the necessary things built into my kernel. Also it says that it cannot detect my sound drivers, and i am wondering what needs to be emerged for such. One last problem being that I am dual-booting and everytime I select the windows option I am returned back to my grub bootloader, wtf? If anyone could give me some advice I would be very appreciative.

Thanks,
J
 
Old 11-23-2004, 12:41 AM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
are you using the hotplug bootscript ?
the hotplug script will auto-detect pcmcia provided all the drivers were included in the kernel compile (either into the kernel or as modules)

as for the grub not booting windows, seems like you accidently specified grub as the bootable windows disk.. and so its calling itself recurivly ?

post your drive partiton structure, and your /boot/grub/menu.conf and we will take a look.
 
Old 11-23-2004, 12:42 AM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
ohh, and also, when you say some things are starting to work, what did you do ? unless you say otherwise, we can only assume you chose to follow all advice that was given ?
 
Old 11-23-2004, 09:13 AM   #9
jihadcman
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 28

Original Poster
Rep: Reputation: 15
I have taken the advice up until this point and now under my 2.6.9 kernel I am running into problems w/ PCMCIA. My usb became there when I updated my kernel, and the devfs went away when I emerged udev. There is a period of time at startup when I cant see what is going on, but that's neither here nor there. When I do regain the ability to see what is going on I recieve the message:

cardmnger : no sockets found. Check to see if the correct modules are loaded into the kernel. Or something along those lines.

And still no sound drivers although that is not overly important at this time.

Here is my drive partition structure:

/dev/hda1 * 1 125 62968+ 83 Linux
/dev/hda2 46731 71111 12288024 c FAT32
/dev/hda3 126 1118 500472 82 swap
/dev/hda4 1119 46730 22988448 83 Linux

and my grub.conf

default 0
timeout 30
splashimage = (hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.9
root (hd0,0)
kernel /kernel-2.6.9 root=/dev/hda4

title=Gentoo Linux 2.4.25-r1
root (hd0,0)
kernel /kernel-2.5.25-gentoo-r1 root=/dev/hda4

Title=Windows XP
root (hd0,1)
makeactive
chainloader +1
 
Old 11-26-2004, 05:19 PM   #10
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
Hotplug doesn't work like it used to, it only detects things as they are plugged in. To get all the necessary modules plugged at boot, you have to emerge "coldplug"! Really.

I had a printer that would not work after I upgraded hotplug to the latest version. Since I added coldplug it works again, though I have added the necessary modules to the list in /etc/modules.autoload.d/kernel-2.6 and removed coldplug from my init scripts (rc-update -d coldplug).
 
Old 11-26-2004, 09:25 PM   #11
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
my suggestion with gentoo is to chuck it .. it's not worth the grief one has to go through.
wonder what most folks mean when they are talking about speed .. I don't think for most of the users it will be visible .. I think one can potentially get the same adv. by compiling your gdm and wdm
 
Old 11-27-2004, 04:59 AM   #12
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Gento is faster, if you compare that you are running only the services you want to run. Also smaller, if you consider, that you install only what you want to install. Offcourse, if you are a big GURU, then you can have any distro do this. However, if you are new to Linux, all the other distros will install a bunch of useless programs to your harddisk, not to mention services, that run in the background. But the best thing about Gentoo is the package manager, which makes installs a joy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Probably Basic Video Card Problems. JustTheFax Linux - Newbie 2 09-27-2005 08:03 PM
Basic firewall requiredfor Gentoo? vharishankar Linux - Distributions 1 03-07-2005 09:04 PM
basic cron problems mdk10.0 official dbc001 Mandriva 2 11-28-2004 11:44 AM
basic problems Rolby Linux - Newbie 3 06-25-2004 08:15 AM
Sound not working in RH9 + some basic problems :/ m3th Linux - Newbie 4 09-15-2003 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration