LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-09-2004, 02:12 PM   #1
relayer416
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
PCMCIA IRQ Problems


This could take awhile, so please have patience...

I am attempting to install Red Hat 8 on a generic laptop; Pentium w/MMX, 233MHz, 96 MB RAM, with the following chipset (from lspci):

00:00.0 Host Bridge: OPTi Inc. 82C557 [Viper-M] (rev 14)
00:01.0 ISA Bridge: OPTi Inc. 82C558 [Viper-M ISA+IDE] (rev 2)
00:06.0 VGA Compatible controller: Trident TGUI 9660/938x/968x (rev d3)
00:0e.0 CardBus bridge: Cirrus Logic PD 6832 PCMCIA/CardBus Ctrlr (rev c1)
00:0e.1 CardBus bridge: Cirrus Logic PD 6832 PCMCIA/CardBus Ctrlr (rev c1)
00:10.0 USB Controller CMD Technology Inc. USB0670 (rev 04)
00:14.0 IDE interface: OPTi Inc. 82C621 [Viper-M/N+] (rev 12)

I currently have a Xircom CE3-10/100 NIC. The kernel version that initally was used was 2.4.18-14. After installation, during the boot, there were the following messages (from dmesg):

OPTI621: IDE Controller on PCI bus 00 dev a0
OPTI621: detected chipset, but driver not compiled in!
OPTI621: chipset revision 18
OPTI621: not 100% native mode: will probe IRQs later
...
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: No IRQ known for interrupt pin A of device 00:0e.0. Please try using pci=biosirq
PCI: Enabling device 00:0e.1 (0000 -> 0002)
PCI: No IRQ known for interrupt pin B of device 00:0e1. Please try using pci=biosirq
Yenta IRQ list 0000, PCI irq0
Socket status: 30000411
Yenta IRQ list 0000, PCI irq0
Socket status: 30000007

After doing some searches, I found a posting titled " [2.4] PCI chipset Opti Viper M/N+", and the smptoms the writer described matched mine almost exactly, so I attempted the fixes he laid out, which involved loading the 2.4.22 kernel, and patching /arch/i386/kernel/pci-irq.c for the Opti Viper chipset. It compiled properly, but I got a kernel panic when I booted up:

Enabling swap space [ok]
divide error: 0000
CPU: 0
EIP: 0010: [<c0105314>] Not tainted
EFLAGS: 00000246
eax: 00000000 ebx:c01052f0 ecx:00000000 edx:00000019
esi: c0338000 edi: c0338000 ebp: ffffe000 esp: c0339fe0
ds: 0018 es: 0018 ss: 0018
Process swapper (pid:0, stackpage=c0339000)
Stack: c0105382 00000000 00098700 c0105000 0008e000 c033a6b3 c0335400 c0100191
Call Trace: [<c0105382>] [<c0105000>]
Code: c3 fb c3 90 90 8d b4 26 00 00 00 00 fb ba 00 e0 ff ff 83 c8
<0>Kernel panic: Attempted to kill the idle task!
In idle task - not syncing

A friend suggested that I might not have enough RAM to boot that kernel version, so I repeated the process with 2.4.20. Everything compiled okay, and when I booted, the line:

OPTI621: detected chipset, but driver not compiled in!

was gone, however all after:

Linux Kernel Card Services 3.1.22

was still there. PCMCIA started "ok" but then I got the "high/low" beep and the message:

xirc2ps_cs: RequestIRQ: resource in use

The card is there when I run cardctl ident, and is in /var/lib/pcmcia/stab.
Can any one point me in the right direction? Any help you could give would be, well, helpful.
 
Old 09-09-2004, 02:22 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in the Hardware-Forum, and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-09-2007, 07:40 AM   #3
guysoft
Member
 
Registered: Jun 2004
Location: israel
Distribution: mandrake, MEPIS and menny live-cds
Posts: 71

Rep: Reputation: 16
Question

Did anyone have progress in this old old post?
because I am getting the same problem on my thinkpad R52:

Code:
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0xc8000000-0xcfffffff: excluding 0xc8000000-0xcfffffff
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: Registered netdevice wifi0
IRQ handler type mismatch for IRQ 3
 [<c01401f5>] setup_irq+0x170/0x184
 [<e0c05c48>] prism2_interrupt+0x0/0x6e0 [hostap_cs]
 [<c0140285>] request_irq+0x7c/0x98
 [<e07029b3>] pcmcia_request_irq+0xe2/0x1d6 [pcmcia]
 [<e0c04925>] hostap_cs_probe+0xaa0/0xe65 [hostap_cs]
 [<c0116412>] __activate_task+0x1c/0x29
 [<c0116412>] __activate_task+0x1c/0x29
 [<c011776e>] try_to_wake_up+0x355/0x35f
 [<c011624d>] __wake_up_common+0x2f/0x53
 [<c023b654>] netlink_broadcast+0x244/0x285
 [<e07021a6>] pcmcia_device_probe+0x66/0xf8 [pcmcia]
 [<c0210b58>] __driver_attach+0x0/0x5d
 [<c0210ab9>] driver_probe_device+0x42/0x8b
 [<c0210b90>] __driver_attach+0x38/0x5d
 [<c02105da>] bus_for_each_dev+0x33/0x55
 [<c0210a23>] driver_attach+0x11/0x13
 [<c0210b58>] __driver_attach+0x0/0x5d
 [<c02102f3>] bus_add_driver+0x64/0xfd
 [<e0701df6>] pcmcia_register_driver+0x4a/0xab [pcmcia]
 [<c01358c1>] sys_init_module+0x16c3/0x1846
 [<c0102c7b>] syscall_call+0x7/0xb
hostap_cs: index 0x01: , irq 4, io 0x4100-0x413f
prism2_hw_init: initialized in 108 ms
wifi0: NIC: id=0x8003 v1.0.0
wifi0: PRI: id=0x15 v0.3.0
wifi0: STA: id=0x1f v0.8.3
wifi0: defaulting to host-based encryption as a workaround for firmware bug in Host AP mode WEP
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
wifi0: registered netdevice wlan0
i manged to switch irq ports with this line in /etc/pcmcia/config.opts:
Code:
exclude irq 5
exclude irq 7
exclude irq 3
exclude irq 4
exclude irq 10
However I still get problems and the card functions partly, it seems like some other posses is changing it all the time.
 
Old 04-11-2007, 05:54 AM   #4
guysoft
Member
 
Registered: Jun 2004
Location: israel
Distribution: mandrake, MEPIS and menny live-cds
Posts: 71

Rep: Reputation: 16
nevermind!
solved it by removing my other nics module:
Code:
rmmod ipw2200
 
  


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
Starting PCMCIA during boot displays IRQ error SuSE starter Linux - Hardware 3 07-11-2005 06:02 AM
IRQ Problems Iceman2733 Mandriva 2 04-22-2005 11:40 PM
PCMCIA IRQ 0 problem OBwon Linux - Laptop and Netbook 1 12-19-2004 01:36 AM
pcmcia and mouse sharing irq scorcho Linux - Laptop and Netbook 0 08-06-2003 05:04 PM
PCMCIA eth0 IRQ=0 shin1 Linux - Networking 6 03-05-2003 09:37 AM

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

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