LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-30-2003, 05:42 PM   #1
adatole
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 14

Rep: Reputation: 0
Unhappy PCMCIA on Mandrake 9.1


I'm running Mandrake 9.1 on a Medion 5275 laptop.

Card services does not seem to be running at all. No beeps, no nothing.

I have installed the linux_wlan software, and followed the instructions to configure it.

When I restart the network (/etc/rc.d/init.d/pcmcia restart), I get an error:

PCIC module not defined in startup options!

Any thoughts?
Leon
 
Old 06-30-2003, 06:03 PM   #2
adatole
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
I've been looking through the other threads (once I decided to search on the PCIC error instead of the problem) and I'm pre-emptively providing some info:

My assumption is that the problem is that card services is not recognized (output of dmesg), but I'm not sure how to proceed from here.

NOTE: For those who want to jump to the next output, search for "***==" and that will get you there.

Thanks again.
Leon

lspci output:
***============
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
02:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:07.0 Communication controller: Ambient Technologies Inc HaM controllerless modem (rev 02)
02:09.0 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
02:09.1 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)

lsmod output
***==============
Module Size Used by Not tainted
isofs 27988 1 (autoclean)
zlib_inflate 21156 0 (autoclean) [isofs]
nls_iso8859-1 3516 1 (autoclean)
udf 90464 0 (autoclean)
sg 34636 0 (autoclean)
radeon 107428 1
agpgart 40896 3 (autoclean)
parport_pc 25096 1 (autoclean)
lp 8096 0 (autoclean)
parport 34176 1 (autoclean) [parport_pc lp]
i810_audio 26248 0
soundcore 6276 0 [i810_audio]
ac97_codec 12488 0 [i810_audio]
nfsd 74256 0 (autoclean)
af_packet 14952 1 (autoclean)
sr_mod 16920 2 (autoclean)
floppy 55132 0
8139too 17160 1 (autoclean)
mii 3832 0 (autoclean) [8139too]
ohci1394 19048 0 (unused)
ieee1394 45900 0 [ohci1394]
supermount 15296 2 (autoclean)
ide-cd 33856 0
cdrom 31648 0 [sr_mod ide-cd]
ide-scsi 11280 1
scsi_mod 103284 3 [sg sr_mod ide-scsi]
usb-uhci 24652 0 (unused)
usbcore 72992 1 [usb-uhci]
rtc 8060 0 (autoclean)
ext3 59916 2
jbd 38972 2 [ext3]

dmesg output
command is: dmesg|grep -A 20 'Linux Kernel Card Services'
***==============================================
Linux Kernel Card Services Kernel Version
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded!
unloading Kernel Card Services
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.

Contents of /etc/modules.conf
(note there is a blank line at the *start* of this file)
***=====================
probeall scsi_hostadapter ide-scsi
alias eth0 8139too
alias sound-slot-0 i810_audio
probeall usb-interface usb-uhci
alias ieee1394-controller ohci1394
 
Old 06-30-2003, 06:32 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Your pcmcia bridge is a pretty generic Texas Instruments one...

In /etc/rc.d/init.d/pcmcia there is a section for what modules to try and load, it'll look like (but not identical) to this:

Code:
    # each module until one of them works.  (this is the default)
    PCIC=probe
#    PCIC=i82365
#    PCIC=tcic
#    PCIC=yenta_socket
Your bus should work with "yenta_socket", you may want to comment out the line that sets it to probe and uncomment the one that says yenta_socket.

That should get the bugger to load.

Cheers,

Finegan
 
Old 06-30-2003, 09:41 PM   #4
adatole
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Hmmmm.... It's not looking clear at the moment. What I have in /etc/rc.d/init.d/pcmcia that relates to "yenta" is:

101 if [ -x /sbin/modprobe ] ; then
102 /sbin/modprobe pcmcia_core $CORE_OPTS || break
103 /sbin/modprobe $PCIC $PCIC_OPTS >/dev/null 2>&1 ||
104 (/sbin/modprobe yenta_socket >/dev/null 2>&1 &&
105 echo "using yenta_socket instead of $PCIC") ||
106 /sbin/modprobe $PCIC $PCIC_OPTS || break
107 /sbin/modprobe ds || break
108 elif [ -d $PC ] ; then
109 /sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
110 /sbin/insmod $PC/$PCIC.o $PCIC_OPTS
111 /sbin/insmod $PC/ds.o
112 else
113 echo "module directory $PC not found."
114 break
115 fi

.... and then lower down:
145 if grep -q "ds " /proc/modules ; then
146 /sbin/rmmod ds
147 /sbin/rmmod $PCIC 2>/dev/null || \
148 /sbin/rmmod yenta_socket 2>/dev/null
149 /sbin/rmmod pcmcia_core
150 fi
 
Old 06-30-2003, 09:51 PM   #5
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
on mandrake the file he is referring to is /etc/sysconfig/pcmcia.

Last edited by akaBeaVis; 06-30-2003 at 09:52 PM.
 
Old 07-01-2003, 07:25 AM   #6
adatole
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
That file (/etc/sysconfig/pcmcia) only contains the line:

PCMCIA=yes

That might indicate that this file is either truncated beyond recognition (which would make sense), or it's not the droid we are looking for. Any way to pull the original from source?

I did a grep through every file on the entire file system for "yenta" and, aside from the files mentioned here (plus what appears to be some template pcmcia files - ie: k96pcmcia, s45pcmcia, etc).

I also found a reference to "disoriyenta" (when Aunt Sadie forgets if she is gossiping about the Berkowitzs or the Gluckmans), but I am sure that won't help us.

the command I used was:find . -exec grep -i "yenta" {} \; -ls >yentafind.txt



Thanks again for your assistance.
 
Old 07-01-2003, 02:56 PM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
And of course all my laptops are running Slackware or a BSD right now...

Beavis got the right file, they just leave you with null values...

PCMCIA=yes
PCIC=probe
PCIC_OPTS=
CORE_OPTS=

or make PCIC=yenta_socket

Try them all, see what happens... i82365 is the last option...

This might take some OPTS calls too, they're documented at the pcmcia-cs sourceforge site, if none of this works I'll page through them too.

Cheers,

Finegan
 
Old 07-01-2003, 04:41 PM   #8
adatole
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Finegan, if your first name is "Bridget", "Kendra" or "Moira" then I could just kiss you. If, on the other hand, it's "Clancy", "Kyle" or "Shamus" then a handshake will have to do.

Either way I owe you a pint!

Cheers to akaBeavis for giving the right file and just assuming the stuff that was supposed to be there was there. Plus he's put up with a lot of the aggravation from a few other related posts (how do you log in as root again?).

Just to clarify, I put in the default settings (with PCIC=probe) and ran /etc/rc.d/init.d/pcmcia restart and the system was able to find the card. I can't test actual connectivity right now, since I'm not home. But the wg-lan stuff was pretty clear on how to set WEP, etc.

Thanks again.
 
Old 07-01-2003, 06:08 PM   #9
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
I'm glad you got this working, just out of curiosity, when you do an lsmod, does yenta_socket show up? This info may be helpful to others in the future.
 
Old 07-01-2003, 06:15 PM   #10
adatole
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
In response, yes, yenta_socket does indeed show up.

I failed to mention that, when I restarted PCMCIA, I got the following output:

Shutting down PCMCIA services: done.
Starting PCMCIA services: using yenta_socket instead of probe
cardmgr[26861]: watching 2 sockets
done.

So you can see that yenta (and who was Jewish writing these drivers?) was started from the beginning.

Thanks again.
Leon
 
Old 07-01-2003, 06:24 PM   #11
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
Actually Linus himself handles that part of things, be reverent, be very, very reverent,

ps:
" I did a grep through every file on the entire file system for "yenta" and, aside from the files mentioned here (plus what appears to be some template pcmcia files - ie: k96pcmcia, s45pcmcia, etc)."

so aren't you wondering where in the heck yenta_socket is/got loaded from?

Last edited by akaBeaVis; 07-01-2003 at 06:29 PM.
 
Old 07-01-2003, 06:28 PM   #12
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Excellent... hmm, if it says instead of probe then /etc/sysconfig/pcmcia must be overriding something set elsewhere, I need to install one of the sysV monkeys again before I lose all my skills.

Anyway, Linus actually wrote most of yenta_socket driver from scratch, pcmcia used to be handled as an out-of-kernel package, which still exists for user-side binaries and keeeerap, pcmcia-cs. I have no idea what its named after, knowing the usual tack, probably something arcane, technical and humourless.

Cheers,

Finegan
 
Old 07-01-2003, 09:20 PM   #13
adatole
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
To akaBeavis, yes I am wondering where it comes from it there isn't a file or driver by that name.

To Finegan, I just assumed it was for the yiddish word "yenta", which is a neighborhood busybody.

So continuing on that tack, yenta is the driver that butts in if all the other drivers can't get loaded.

Just my two shekels.
Leon
 
Old 07-02-2003, 09:56 PM   #14
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
Nor is there any file by that name (yenta_socket) on any of my systems either, regardless of distro, I'm gonna go out on a limb here and say it's compiled into the kernel itself. What do you think?
 
Old 07-02-2003, 10:10 PM   #15
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
It can be, I've got it as a module:

Code:
fin@orwell:~$ locate yenta_socket
/lib/modules/2.4.20/kernel/drivers/pcmcia/yenta_socket.o.gz
/lib/modules/2.4.20/pcmcia/yenta_socket.o.gz
/lib/modules/2.4.20-xfs/kernel/drivers/pcmcia/yenta_socket.o.gz
/lib/modules/2.4.20-xfs/pcmcia/yenta_socket.o.gz
I was just looking for what kernel option it takes to make yenta a modules, couldn't really find it that easily.

Cheers,

Finegan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandrake does not recognize pcmcia? ben_build#2.1.0 Linux - Laptop and Netbook 7 11-04-2004 07:21 PM
Mandrake 10 and Linksys PCMCIA gdboling Linux - Laptop and Netbook 5 04-13-2004 05:09 AM
How can i first enable my pcmcia ?!! Mandrake 9.1 kidoido Linux - Wireless Networking 0 02-16-2004 01:55 AM
PCMCIA Xircom and Mandrake 9.1 cpt.anarchy Linux - Networking 1 10-18-2003 04:01 PM
mandrake 9.0 pcmcia freeze cleff Linux - Software 3 03-16-2003 07:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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