LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-31-2003, 06:48 PM   #1
jensend
LQ Newbie
 
Registered: Dec 2002
Location: Provo, UT
Posts: 10

Rep: Reputation: 0
PCMCIA modules + customized RH kernel


I've been trying to configure RedHat 9 on a ThinkPad 600e. A default RH 9 setup automatically recognizes and properly sets up my pcmcia network card (which is supported by the pcnet_cs module), but when I compiled a custom kernel, it no longer worked. Boot.log shows the following

pcmcia: Starting PCMCIA services:
sysctl: kernel.core_uses_pid=1
pcmcia: modules cardmgr.
network: Setting network parameters: succeeded
pcmcia: modprobe: Can't locate module pcmcia_core.o
pcmcia: modprobe: Can't locate module yenta_socket.o
pcmcia: modprobe: Can't locate module ds.o

even though locate shows all three under /lib/modules/2.4.20-13.9custom/pcmcia. If I try a modprobe yenta_socket and then modprobe pcnet_cs, all the needed modules (pcmcia_core, yenta_socket, ds, 8390, and pcnet_cs) are loaded, but the card isn't configured and the RH network config tool fails to activate it. Any ideas?
 
Old 05-31-2003, 06:59 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
try running depmod -a
 
Old 05-31-2003, 09:28 PM   #3
jensend
LQ Newbie
 
Registered: Dec 2002
Location: Provo, UT
Posts: 10

Original Poster
Rep: Reputation: 0
I have done a depmod -a, and the fact that the two modprobe's work seems to indicate that my module dependencies are ok. (Just doing a modprobe pcnet_cs without first doing a modprobe yenta_socket doesn't work; I figure ds depends on some pcmcia socket module being available but not directly on yenta_socket.)
 
Old 06-05-2003, 10:26 AM   #4
!db!
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
I've recently installed RH9 on an IBM Thinkpad 600. Everything works fine except the IBM EtherJet Card. On boot, Kudzu reads:

"The following network card has been removed from your system: IBM EtherJet PC Card Version U11 Card Assy Part Number 85H4801" and then offers to ignore, dissable, etc. ... and I have no network card.

I'm a new and REAL newbie, but is there hope? Obviously, the PC card is recognised ...
 
Old 06-05-2003, 08:09 PM   #5
jensend
LQ Newbie
 
Registered: Dec 2002
Location: Provo, UT
Posts: 10

Original Poster
Rep: Reputation: 0
I managed to figure out my problem myself

Hm. My problem turned out to be that some program had installed a /lib/modules/`uname -r`/pcmcia directory consisting of symlinks to /lib/modules/`uname -r`/kernel/drivers/pcmcia, and that was causing the pcmcia init script to become confused (it checked for the existence of /lib/modules/`uname -r`/pcmcia to guess whether modprobe/insmod wanted mod-name.o or just mod-name as an argument), so the card wasn't autoconfigured at startup.

!db!, perhaps you should start a new thread for your problem to get more attention.
 
Old 06-20-2003, 05:09 PM   #6
RussellEast
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
Same things happened to me for a RH9 distro, no problem recognising the scsi card. But custom kernel install causes the problem. The pcmcia portion of the kernel install apparently places the pcmcia directory inside of /lib/modules/`uname -r`. I just removed the directory, and suddenly `depmod -a` started working properly with the scsi card.
 
  


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
PCMCIA Modules Jouni Linux - Laptop and Netbook 2 09-23-2004 10:41 PM
PCMCIA modules for Kernel 2.2.26? thorax Linux - Laptop and Netbook 2 09-23-2004 04:05 PM
pcmcia, Mandrake, modules, and a smoking gun oiper Linux - Networking 0 07-26-2004 12:20 AM
PCMCIA modules / no floppy ... Maxamillion Linux - Hardware 2 07-28-2003 12:12 AM
customized kernel .modem driver prob jdevanand Linux - General 0 04-23-2002 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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