Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Post Installation help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ryanc35
n00b
n00b


Joined: 06 Jun 2006
Posts: 8

PostPosted: Wed Jun 07, 2006 3:50 pm    Post subject: Post Installation help Reply with quote

I'm completely new to using Linux altogether but did manage to get Gentoo installed on my laptop as a dual boot system with Windows XP. I followed through the handbook to get the kernel built and installed. I can boot up to both Windows and Linux successfully, but I'm encountering a couple of problems that I'm not sure how to tackle. I have installed the system to try and learn how to use it so I'm very new to the environment too.

I installed using the LiveCD and my ethernet configuration worked fine while in the LiveCD setup, but now I get an error where eth0 is not detected. The other issue I noticed is that my monitor driver appears to be a generic driver of some sort because my screen resolution was lowered after I booted into Linux. Any advice on what I should try to do would be great!! Not sure if there are any logs that I should post for help either...
Back to top
View user's profile Send private message
bilbravo
Guru
Guru


Joined: 30 May 2003
Posts: 319
Location: Baltimore, MD

PostPosted: Wed Jun 07, 2006 4:01 pm    Post subject: Re: Post Installation help Reply with quote

First things first, you need eth0 to work. My first guess would be that you did not compile the correct driver into the kernel.

Do you know what kind of card it is? If not, watch the LiveCD boot and it will tell you... or you can try 'lspci' to find it.

If you can post this info, someone can help verify you have the correct drivers compiled into the kernel.
_________________
me
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Wed Jun 07, 2006 4:03 pm    Post subject: Reply with quote

ryanc35,

Welcome to Gentoo - you have chosen the right distro to learn about Linux.

This post is intended to help you to fic your networking. Its possible that you have missed a bit out of your kernel. If you can't identify it, post the output of the
Code:
lspci
command, which is provided on the liveCCD. That tells everyone what PCI and AGP hardware you have.

To sort out your Xorg, we need to see your lspic output and your xorg.conf file which is at /etc/X11/xorg.conf.
Its possible that you don't actually have a xorg.conf, in which case, Xorg is guessing a set up for you. This is intended to get you going, rather than be optimised.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ryanc35
n00b
n00b


Joined: 06 Jun 2006
Posts: 8

PostPosted: Wed Jun 07, 2006 5:22 pm    Post subject: Reply with quote

I tried going through that post with the instructions I had them all written down but when I ran
Quote:
lsmod
after booting into Linux I only showed pcmcia and pcmcia core, so I'm not entirely sure I loaded the proper modules when I compiled the kernel. I'm guessing that I should have a lot more listed once I boot into Linux after the installation??


Quote:
lspci
output:

Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 10)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Wed Jun 07, 2006 6:04 pm    Post subject: Reply with quote

ryanc35,

There is no need to have any seperate modules at all. Such a kernel is called monolithic. lsmod will then show nothing and its OK. You should find that the liveCD is using the sk98lin, sky2 or skge driver. I'm not sure which from reading the kernel config comments. If the right driver was compiled in, it would just work.

Boot normally and try
Code:
grep SK /usr/src/linux/.config

I get
Code:
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_IDE_TASK_IOCTL=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set
only the last three lines are important to you.

If at least one of those lines shows =m, attempt to load the module with modprobe and look in
Code:
 ifconfig -a
to see if eth0 was created.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ryanc35
n00b
n00b


Joined: 06 Jun 2006
Posts: 8

PostPosted: Wed Jun 07, 2006 6:17 pm    Post subject: Reply with quote

I tried running this command:
Code:
grep SK /usr/src/linux/.config


and I got the same result as you did here:
I get
Code:
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_IDE_TASK_IOCTL=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set


If I tried to run modprobe on any of those I get the following response:
Code:
FATAL: Module *module* not found.


Does this mean I need to recompile the kernel so that I can get one of these modules loaded?? And yes, when I ran
Code:
lsmod
in the LiveCD it showed both sk98lin and sky2.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Wed Jun 07, 2006 7:09 pm    Post subject: Reply with quote

Hi.

You should first try to build them as modules <M> to check if they work. Later you can build them in the kernel <*> if you like. After changing and saving the config just do make modules_install. You can try the modules with modprobe module-name and then checking ifconfig -a.
If you prefer to have the driver built as a module, you should add its name to /etc/modules.autoload.d/kernel-<version> for having it being loaded on start-up.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
ryanc35
n00b
n00b


Joined: 06 Jun 2006
Posts: 8

PostPosted: Wed Jun 07, 2006 7:47 pm    Post subject: Reply with quote

I got it working after setting up the modules for GigE Yukon chipsets from the menuconfig option and recompiling the kernel.

I singled out the sky2 module after using
Code:
ifconfig -a
and I setup the init script for that module like neddy posted before with
Code:
nano -w /etc/modules.autoload.d/kernel-2.6



I rebooted and I was up and running, now I just have to play around and learn more about the environment so I can get the video/audio setup, and get KDE running on the box. Thanks for the help everyone!!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Wed Jun 07, 2006 9:16 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Networking & Security.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum