LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-07-2003, 09:24 AM   #1
Swad
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
Network doesn't start on Laptop boot (modular NIC / pcmcia kernel drivers)


For starters--Greetings--this is my first time using this forum.

Now for this little issue I'm having. Just to kick things off, I have been using Debian (mostly unstable) for a couple years now and am relatively attuned to its ins and outs. I always compile my own kernel (usually from SGI with XFS support patched in) instead of using a packaged one, though. I just started messing around with the 2.6 test kernel. With that I am also changing some ways I've had over the last few years, that being compiling most everything (except a few things such as sound or video) directly into the kernel instead of making them modular. Just learning and trying to make the kernel autoloader work has been an experience and I am still learning. One thing that I currently cannot make work *properly* is my network connectivity on bootup.

I have a Toshiba Tecra 8000 with an Intel Pro/100 PC Card NIC (32 bit). Ordinarily when I just compile the driver for the pcmcia socket and the NIC right into the kernel, it 'just works (tm)'. However, I am currently running the pcmcia driver (pcmcia_core and yenta_socket) as a module along with my Intel NIC (e100). Here is what is happening. It appears that the network interface is configured before the pcmcia service is starting, which isn't a good thing. As a result, the network card is not getting configured on boot. However, once I first log in, lsmod shows that e100, pcmcia_core, and yenta-socket are all running. A quck /etc/init.d/networking restart get's everything running fine for the network.

What needs to happen to get the module for the network interface running and the pcmcia stuff running before the network interface is configured in the boot process? I assume it probably has something to do with setting up a proper alias in a file under /etc/modutils. I did try making an alias for eth0 pointing to my e100 module: alias eth0 e100. I also added e100 to /etc/modules just for kicks, but that didn't do anything (I did see e100 load up before network interfaces were configured, but it still failed).

Thanks for any leads that may help me get this solved. I don't want to compile anything into the kernel that I don't have to, And I know I've seen where others made it work with these items as modules.

======
update: I made some progress here... I should have waited a bit on my post. When I add yenta_socket to my /etc/modules file (this is the only thing in here), everything loads up. Now, I know this works, but I'd rather take the approach of me not loading it up manually via this file, but rather the kernel module autoloader doing it. My biggest reason is I'm trying to learn and understand the kernel module autoloader and properly setting up aliases that get merged into /etc/modules.conf. So my guess is that if I setup a proper alias for yenta_socket that it will automatically load when the interface is configured and I won't have to manually have it load via /etc/modules.

This is my new question--how do I make the kernel know what to load so the socket is going when the network interface is configured?

Last edited by Swad; 11-07-2003 at 09:33 AM.
 
Old 11-09-2003, 08:46 AM   #2
Smerk
Member
 
Registered: Oct 2002
Location: Cairnsian, Oz
Distribution: Debian testing/unstable, knoppix/debian fudged router!
Posts: 169

Rep: Reputation: 30
I'm not sure if it is relevant but...
I use a wireless pcmcia card in my debian system and had to remove auto eth1 in /etc/network/interfaces in order to make it load without manually starting it...
(I have everything related to networking compiled directly into the kernel)

HTH

smerk
 
  


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
will i need drivers for a PCMCIA usb2.0 card for my laptop ??? alekoos Slackware 1 06-08-2004 01:55 PM
wireless pcmcia nic on a laptop motionb Linux - Laptop and Netbook 1 04-05-2004 07:10 PM
ALSA and Kernel Modular Drivers digital abuzer Linux - Hardware 1 10-09-2003 09:52 AM
network installation of RH7.3 on laptop with pcmcia network card. Smerk Linux - Distributions 1 10-31-2002 11:56 PM
Network problem with PCMCIA NIC martin1001 Linux - Newbie 1 09-27-2001 03:20 PM

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

All times are GMT -5. The time now is 01:52 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