LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-12-2004, 12:14 PM   #1
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
no pcmcia drivers in /proc/devices


I've been trying to get my Toshiba 2180CDT to use the Xircom RE-10 pcmcia Ethernet adapter. It appears that no drivers are loaded. Which I suspect means cardbus drivers?
In anycase here is the output of various commands.

[root@localhost ]# service pcmcia status
cardmgr is stopped

[root@localhost ]# service pcmcia start
Starting PCMCIA services:/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/yenta_socket.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/yenta_socket.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/yenta_socket.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/yenta_socket.o: insmod yenta_socket failed
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/ds.o: insmod ds failed
cardmgr.


[root@localhost ]# /pcmcia-cs-3.2.8/debug-tools/test_setup

Current kernel: 2.4.22-1.2115.nptl #1 Wed Oct 29 15:20:17 EST 2003

Using /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/pcmcia/pcmcia_core.o:
"Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]"

Startup options (from /etc/sysconfig/pcmcia):
PCMCIA=yes
PCIC=yenta_socket
PCIC_OPTS=
CORE_OPTS=

Checking current syslog files in /var/log:
All PCMCIA messages are in /var/log/archive.messages.

Kernel startup messages (from 'dmesg'):
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded!
ds: no socket drivers loaded!
ds: no socket drivers loaded!
ds: no socket drivers loaded!
ds: no socket drivers loaded!
ds: no socket drivers loaded!
ds: no socket drivers loaded!

Module status:
No socket drivers are loaded.

Daemon status:
/var/run/cardmgr.pid does not exist.

[root@localhost ]# lsmod

Module Size Used by Not tainted
maestro 30696 1 (autoclean)
soundcore 6148 2 (autoclean) [maestro]
ide-cd 33472 0 (autoclean)
cdrom 31040 0 (autoclean) [ide-cd]
parport_pc 17508 1 (autoclean)
lp 8644 0 (autoclean)
parport 33952 1 (autoclean) [parport_pc lp]
autofs 12276 0 (autoclean) (unused)
pcmcia_core 53152 0
ipt_REJECT 3992 1 (autoclean)
ipt_state 1048 1 (autoclean)
ip_conntrack 28072 1 (autoclean) [ipt_state]
iptable_filter 2348 1 (autoclean)
ip_tables 15104 3 [ipt_REJECT ipt_state iptable_filter]
floppy 55644 0 (autoclean)
sg 34668 0 (autoclean) (unused)
scsi_mod 103880 1 (autoclean) [sg]
keybdev 2752 0 (unused)
hid 23236 0 (unused)
usb-ohci 20456 0 (unused)
usbcore 73344 1 [hid usb-ohci]
mousedev 5236 1 (autoclean)
input 5664 0 (autoclean) [keybdev hid mousedev]
ext3 65060 2
jbd 48244 2 [ext3]

I haven't upgraded the kernel yet and was hoping I could get the network card working then do the update. Also I am looking for something mentioned in the PCMCIA-HOWTO that refers to the Kernel option CONFIG_PCMCIA. Where would I find these options? Is it bad not to see a cardbus module?

TIA for any replies. This is the first time I've tried installing Fedora C1 on a laptop. Sorry if this is too much extraneous info.
 
Old 08-13-2004, 03:59 AM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
What's the output of: /sbin/lspci

This seems like an older/weirder pcmcia bridge that yenta_socket isn't happy with. Also, just for a quick try, you may want to switch:

PCIC=yenta_socket

to

PCIC=probe

It'll try the other two drivers for older pcmcia bridges.

Cheers,

Finegan
 
Old 08-13-2004, 09:08 AM   #3
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks for looking at this post finegan. Don't burn too many braincells, since Fedora C2 is almost D/l'd and if I can't get this going I'll try installing C2 and see if the issue is resolved in that distro.
Output of sbin/lspci is:
00:00.0 Host bridge: Toshiba America Info Systems CPU to PCI and PCI to ISA bridge (rev 02)
00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
00:08.0 VGA compatible controller: S3 Inc. ViRGE/MX (rev 06)
00:0b.0 USB Controller: NEC Corporation USB (rev 02)
00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
00:10.0 IDE interface: Toshiba America Info Systems: Unknown device 0102 (rev 34)
00:13.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 07)
00:13.1 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 07)


I have tried changing /etc/sysconfig/pcmcia
PCIC=yenta_socket
Yields the output described in the original message.
PCIC=i82365
Yields the output described in the original message.(except with i82365 substituted for yenta...)
PCIC=probe
Yields modprobe: Can't locate module probe.

Thanks Again.
 
Old 08-13-2004, 04:31 PM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Apparently you can get it running by changing a BIOS option, check out this thread:

http://www.linuxquestions.org/questi...003/07/2/69132

Cheers,

Finegan
 
Old 08-19-2004, 06:28 PM   #5
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks finegan,
Not sure how many issues I have here. Changing the BIOS option for PC Card to Cardbus/16bit worked to get the yenta_socket driver to load. Now I'm fumbling through the PCMCIA-HOWTO to find out why the laptop locks when a card is inserted. Checking Memory Addressing and IRQ options.

I ended up reinstalling RH9 and in the process realized that this pc may not have the min. sys. requirements for Fedora. It only has 64M of RAM. I'm gonna check the RH9 Reqs now to make sure this will work. Basically I just want a laptop that can ping, snort, tcpdump and other network uses. I wouldn't even install X if I wern't dependent on the gui and knew my Linux better.
In anycase thanks for your assistance.

P.S. That Sig file has a wealth of info in it. Thanks for that as well.
 
Old 08-19-2004, 07:11 PM   #6
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Debian, Slackware... possibly one of the BSDs, Mandy SuSe and RH are so topheavy these days that X+Mozilla+just the system running pigs out and makes the machine thrash to swap nonstop. Does /var/log/messages or /var/log/syslog give any information when the machine locks? Running a tail -f on one of those logs while popping in a card may help debug things... also remember the pcmcia-cs how-to is a billion years old and things work a little differently now that all the drivers are in-kernel. Back in the day when I had to do a lot of pcmcia debugging, yenta_socket was annoying because of how little it would barf errors to the logs compared to old pcmcia_core.

The memory ranges in /etc/pcmcia/config.opts are a good start. Checking /proc/interrupts for what IRQs are in use and possibly excluding explictly some of those is another possibility. Without a good log tidbit though its all shotgun debugging.

Cheers,

Finegan
 
Old 08-19-2004, 08:52 PM   #7
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Original Poster
Rep: Reputation: 15
I think it is resource related b/c when the card is inserted there is one High beep (Card Inserted) but no other beeps. Cursor blinks but pc is frozen.

Here's a partial log of the last boot. Didn't think you need the whole lot.

Aug 19 19:47:45 localhost kernel: hda: hda1 hda2 hda3
Aug 19 19:47:45 localhost pcmcia: cardmgr.
Aug 19 19:47:45 localhost kernel: ide-floppy driver 0.99.newide
Aug 19 19:47:46 localhost kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Aug 19 19:47:46 localhost cardmgr[1526]: starting, version is 3.1.31
Aug 19 19:47:46 localhost rc: Starting pcmcia: succeeded
Aug 19 19:47:46 localhost kernel: md: Autodetecting RAID arrays.
Aug 19 19:47:46 localhost cardmgr[1526]: watching 2 sockets
Aug 19 19:47:46 localhost kernel: md: autorun ...
Aug 19 19:47:46 localhost netfs: Mounting other filesystems: succeeded
Aug 19 19:47:46 localhost kernel: md: ... autorun DONE.
Aug 19 19:47:46 localhost cardmgr[1526]: Card Services release does not match
Aug 19 19:47:46 localhost kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Aug 19 19:47:46 localhost kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Aug 19 19:47:47 localhost kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Aug 19 19:47:47 localhost apmd[1550]: Version 3.0.2 (APM BIOS 1.2, Linux driver 1.16)
Aug 19 19:47:47 localhost kernel: TCP: Hash tables configured (established 4096 bind 8192)
Aug 19 19:47:47 localhost apmd: apmd startup succeeded
Aug 19 19:47:47 localhost kernel: Linux IP multicast router 0.06 plus PIM-SM
Aug 19 19:47:47 localhost kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Aug 19 19:47:47 localhost kernel: RAMDISK: Compressed image found at block 0
Aug 19 19:47:47 localhost kernel: Freeing initrd memory: 145k freed
Aug 19 19:47:47 localhost kernel: VFS: Mounted root (ext2 filesystem).
Aug 19 19:47:47 localhost kernel: Journalled Block Device driver loaded
Aug 19 19:47:47 localhost autofs: automount startup succeeded
Aug 19 19:47:47 localhost kernel: EXT3-fs: INFO: recovery required on readonly filesystem.
Aug 19 19:47:48 localhost kernel: EXT3-fs: write access will be enabled during recovery.
Aug 19 19:47:48 localhost kernel: kjournald starting. Commit interval 5 seconds
Aug 19 19:47:48 localhost kernel: EXT3-fs: ide0(3,2): orphan cleanup on readonly fs
Aug 19 19:47:48 localhost apmd[1550]: Battery: * * * (100% 1:23)
Aug 19 19:47:48 localhost kernel: EXT3-fs: ide0(3,2): 3 orphan inodes deleted
Aug 19 19:47:48 localhost kernel: EXT3-fs: recovery complete.
Aug 19 19:47:48 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug 19 19:47:48 localhost kernel: Freeing unused kernel memory: 116k freed
Aug 19 19:47:48 localhost kernel: usb.c: registered new driver usbdevfs
Aug 19 19:47:49 localhost kernel: usb.c: registered new driver hub
Aug 19 19:47:49 localhost kernel: usb-ohci.c: USB OHCI at membase 0xc4844000, IRQ 11
Aug 19 19:47:49 localhost kernel: usb-ohci.c: usb-00:0b.0, NEC Corporation USB
Aug 19 19:47:49 localhost kernel: usb.c: new USB bus registered, assigned bus number 1
Aug 19 19:47:49 localhost kernel: hub.c: USB hub found
Aug 19 19:47:49 localhost kernel: hub.c: 2 ports detected
Aug 19 19:47:49 localhost kernel: usb.c: registered new driver hiddev
Aug 19 19:47:49 localhost kernel: usb.c: registered new driver hid
Aug 19 19:47:49 localhost kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
Aug 19 19:47:49 localhost kernel: hid-core.c: USB HID support drivers
Aug 19 19:47:49 localhost kernel: mice: PS/2 mouse device common for all mice
Aug 19 19:47:49 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Aug 19 19:47:49 localhost kernel: Adding Swap: 192772k swap-space (priority -1)
Aug 19 19:47:49 localhost kernel: kjournald starting. Commit interval 5 seconds
Aug 19 19:47:49 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
Aug 19 19:47:49 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug 19 19:47:50 localhost kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
Aug 19 19:47:50 localhost kernel: parport0: irq 7 detected
Aug 19 19:47:50 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
Aug 19 19:47:50 localhost kernel: Linux Kernel Card Services 3.1.22
Aug 19 19:47:50 localhost kernel: options: [pci] [cardbus] [pm]
Aug 19 19:47:50 localhost kernel: PCI: Enabling device 00:13.0 (0000 -> 0002)
Aug 19 19:47:50 localhost kernel: PCI: Enabling device 00:13.1 (0000 -> 0002)
Aug 19 19:47:50 localhost kernel: Yenta IRQ list 06b8, PCI irq11
Aug 19 19:47:50 localhost kernel: Socket status: 30000007
Aug 19 19:47:50 localhost kernel: Yenta IRQ list 06b8, PCI irq11
Aug 19 19:47:50 localhost kernel: Socket status: 30000007
Aug 19 19:47:50 localhost kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Aug 19 19:47:50 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x480-0x48f 0x4d0-0x4d7
Aug 19 19:47:50 localhost kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Aug 19 19:47:52 localhost sshd: succeeded
Aug 19 19:48:14 localhost login(pam_unix)[1745]: session opened for user root by LOGIN(uid=0)
Aug 19 19:48:14 localhost -- root[1745]: ROOT LOGIN ON tty1
Aug 19 19:48:15 localhost apmd[1550]: Now using AC Power
***********************************************************************
#lsmod
Module Size Used by Not tainted
nls_iso8859-1 3484 1 (autoclean)
nls_cp437 5116 1 (autoclean)
vfat 11948 1 (autoclean)
fat 36792 0 (autoclean) [vfat]
parport_pc 17508 1 (autoclean)
lp 8580 0 (autoclean)
parport 33952 1 (autoclean) [parport_pc lp]
autofs 12148 0 (autoclean) (unused)
ds 8136 2
yenta_socket 12864 2
pcmcia_core 53152 0 [ds yenta_socket]
ipt_REJECT 3672 6 (autoclean)
iptable_filter 2316 1 (autoclean)
ip_tables 14488 2 [ipt_REJECT iptable_filter]
keybdev 2720 0 (unused)
mousedev 5204 0 (unused)
hid 20772 0 (unused)
input 5632 0 [keybdev mousedev hid]
usb-ohci 20392 0 (unused)
usbcore 73088 1 [hid usb-ohci]
ext3 64704 2
jbd 47828 2 [ext3]
***************************************************************
#lspci
00:00.0 Host bridge: Toshiba America Info Systems CPU to PCI and PCI to ISA bridge (rev 02)
00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
00:08.0 VGA compatible controller: S3 Inc. ViRGE/MX (rev 06)
00:0b.0 USB Controller: NEC Corporation USB (rev 02)
00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
00:10.0 IDE interface: Toshiba America Info Systems: Unknown device 0102 (rev 34)
00:13.0 CardBus bridge: Toshiba America Info Systems ToPIC95 (rev 07)
00:13.1 CardBus bridge: Toshiba America Info Systems ToPIC95 (rev 07)
 
  


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
Correlation between /proc/devices and /proc/modules ColinLadyka Linux - General 1 02-13-2006 05:25 PM
where is /proc/bus/usb/devices???? mrchaos Linux - Software 4 12-04-2005 10:26 PM
No PCMCIA Driver in /proc/devices??? 10xOXR Linux - Laptop and Netbook 1 09-09-2005 02:26 PM
/proc/bus/usb/devices missing shellcode Linux - General 11 02-24-2004 10:15 PM
nothing in /proc/pci and not finding devices naughtymutt Linux - Hardware 0 10-27-2002 10:54 PM


All times are GMT -5. The time now is 04:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration