View previous topic :: View next topic |
Author |
Message |
chombee n00b

Joined: 18 Sep 2004 Posts: 5
|
Posted: Sat Sep 18, 2004 1:12 pm Post subject: cardmgr[6053]: no sockets found! |
|
|
Okay, I just finished a first install of gentoo (a harrowing experience for a SuSE user) and I have a system with text-mode login up and running. But there is a problem with ethernet access that I don't understand, and that is preventing me entering runlevel 5 (what are the runlevels anyway?*) or accessing the network. Here is some output while booting up:
INIT: entering runlevel 3
*starting metalog...
*PCMCIA support detected (Comment: What is PCMCIA??**)
*Starting pcmcia...
cardmgr[6053]: no sockets found!
*cardmgr failed to start. Make sure that you have pcmcia modules built or support compiled into the kernel
*Bringing eth0 up...
eth0: unknown interface: no such device
*ERROR: Problem starting needed services.
"netmount" was not started.
I did go into /usr/src/linux and use make menuconfig to add support for my network card (I think it's a RealTek if I remember right.) and to add PCMCIA support, selected both to be built-in by setting them to * and saved the configuration then ran:
make dep && make modules modules_install
(whatever that is) to attempt to apply the changes. Then rebooted, but nothing.
When I do rc-update add net.eth0 default is says eth0 is already in the default runlevel.
Also, if anyone can point to some instructions on how to get a graphical desktop, KDE or WindowMaker, up and running I'd appreciate it. "emerge kde" doesn't seem to be enough. I mean, I think I managed to install kde 3.2 with emerge from the packagecd but I have no idea how to start it up.
Thanks for any help
*EDIT: Okay I found out what runlevels are. So runlevel 3 is the first one with networking capabilities, runlevel 5 adds GUI capabilities. Presumably the runlevels can be edited by config files, which is what rc-update is about. The init process or command controls switching between the runlevels. I seem to be stuck at runlevel 3 due to my ethernet problem. I don't understand why runlevel 3 loads despite the problem but runlevel 5 seems to fail to load because of the problem.
So to get a graphical desktop I'd have to emerge one first, then get up to runlevel 5. I guess I need to tell gentoo to load the X server by default in runlevel 5. Will that provide a graphical login prompt? Then I'd need to register window managers such as KDE with the x server to login to them, unless this happens automatically. I have no clue how to actually do any of this though.
**EDIT: Okay, so I looked up PCMCIA, and it seems it is some standards project to do with the ineroperability of different kinds of PC cards. I guess my mainboard needs its PCMCIA drivers/capability enabled in order to use my ethernet card maybe, or vice-versa. It's an on-board card though, not a plug-in. So I'm not sure whether I ought to need PCMCIA at all.
Maybe I have two seperate problems - it is trying to load PCMCIA and failing because I don't have or need pcmcia, then later it is failing to detect the ethernet device properly.
Still, I know nothing about gentoo or low-level linux maintenance. Any help? |
|
Back to top |
|
 |
chombee n00b

Joined: 18 Sep 2004 Posts: 5
|
Posted: Sat Sep 18, 2004 4:21 pm Post subject: |
|
|
More info:
My network module is via-rhine. I found it by doing lsmod with the LiveCD booted. There was also a module mii with used by [via-rhine] written next to it.
So I booted into my system again, went to /usr/src/linux and ran make menuconfig and looked at the network drivers.
First of all, there is tons of stuff set to M or * in there that I don't know about. But I removed the two RealTek network card modules anyway. Not that it makes much sense, there are tons of network card modules selected in there and I don't know why, and it doesn't appear to actually load any of them any way.
Then I set the via-rhine and mii modules to M, saved and ran make dep && make modules modules_install
Then I added two lines "via-rhine" and "mii" to /etc/modules/autoload.d/kernel-2.6.7
Then rebooted.
Now I get extra messages on booting:
"loading module via-rhine"
"failed to load module via-rhine"
"loading module mii"
"failed to load module mia"
All the previous error messages follow these and nothing has changed.
This is hopeless, without a wealth of prior knowledge of the system I'm completely lost. If the LiveCD can detect without any input from me which modules to load and get my network interface running, then why for the actual system do I have to do it manually and working completely in the dark? |
|
Back to top |
|
 |
chombee n00b

Joined: 18 Sep 2004 Posts: 5
|
Posted: Sat Sep 18, 2004 4:28 pm Post subject: |
|
|
In case it's any help, I did a stage 3 install and used "genkernel all" to compile my kernel automatically. Maybe that is why so many network related modules are apparently loaded, because genkernel tries to build support for everything? Still, half of them are set to M not *, so not compiled into the kernel, and I don't see it loading all the stuff set to M anyway. And it's not everything, just an apparently random set of hardware that I don't think I have. Very confusing.
Maybe I should just recompile my kernel manually? |
|
Back to top |
|
 |
chombee n00b

Joined: 18 Sep 2004 Posts: 5
|
Posted: Sat Sep 18, 2004 7:13 pm Post subject: |
|
|
no one? |
|
Back to top |
|
 |
chombee n00b

Joined: 18 Sep 2004 Posts: 5
|
Posted: Sat Sep 18, 2004 8:39 pm Post subject: |
|
|
Is there something wrong with this command?
make dep && make modules modules_install
which I copied from anohter thread. I think maybe it should be this:
make dep && make bzImage modules modules_install
followed by:
make modules modules install
followed by copying the new kernel image into boot.
I think I could get round this by carefully doing another installation from scratch and building my own kernel this time, since genkernel seemed to mess up. But I don't think I have time. |
|
Back to top |
|
 |
Glenn777 n00b

Joined: 21 Sep 2004 Posts: 4
|
Posted: Tue Sep 21, 2004 8:20 pm Post subject: Re: cardmgr[6053]: no sockets found! |
|
|
chombee wrote: | I mean, I think I managed to install kde 3.2 with emerge from the packagecd but I have no idea how to start it up.
|
Did you try typing kdm at the prompt? Or is it beyond that? |
|
Back to top |
|
 |
blendedhead n00b

Joined: 13 Sep 2004 Posts: 18
|
Posted: Mon Oct 25, 2004 2:32 am Post subject: |
|
|
Ok chombee, I think I can solve at least some of your problems. A failsafe way to get into KDE from the root prompt (yes, you have to log on a root to do this, a regular user will get an error message), then enter the following.
Code: | cd /usr/kde/3.3/bin
kdm
|
Compiling KDE isn't good enough, you have to start up a window manager to access it, and kdm (as in k desktop manager) is the easiest one for you to use here. Those two lines I just gave you should in 15-30 seconds give you the standard log in screen for KDE, which, if you're used to SUSE should look pretty familiar to you.
I have no idea if what you compiled into the kernel will work with your PCMCIA socket. It might be worth a try to to go with yenta cron, and see what happens. Look at your config script on your boot partition. If you followed the instructions to the letter when you installed Gentoo, it should be there as "config-2.******-gentoo-r6, with the asterisks repesenting the rest of your kenel number. Look at where it says "PCMCIA/Cardbus support " Where it says "CONFIG_YENTA" it should have a "y" meaning that you built it into the kernel "m" meaning you built it as a module, or, it will say it's not set.
If it says "m", you can add yenta_socket.ko (that's the name of the yenta cron module) to your /etc/modules.autoload.d/kernel-2.*, with the asterisk again being the kernel number. Upon rebooting, yentacron should load. If you didn't build yenta cron, check out this post,
https://forums.gentoo.org/viewtopic.php?t=235596&highlight=
Read ALL of hw-tph's posts about how to build modules, without rebuilding your entire kenel. He explains the process far better than I can. If you follow his advise, then you don't need to adjust your etc/modules.autoload.d/kernel-2.**** file. You might want to copy over the new config file back onto your boot partition, so the config file will be accurate. Good luck. |
|
Back to top |
|
 |
|
|
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
|
|