[ Next-in-Thread ]  [ Next Message ] 

Question: Bug: Lockups on card insertion/removal... 

Forum: Installing Linux using or onto a PCMCIA device
Date: 2000, Aug 03
From: Elliot Lee sopwith

Hardware: Casio Fiva MPC-501

Software: kernel-2.2.16-17, pcmcia-cs-3.1.19 (from Red Hat pinstripe beta).

Symptoms: When I remove or insert cards, the system locks up hard. I did manage to remove a 3c589 network card, but inserting it, or inserting/removing a WaveLAN/IEEE card or CD-ROM interface card, causes the described lockup.

I saw a problem report in another thread that said having a syslog such as the following was a Bad Thing(tm):
Aug  2 21:16:21 anode kernel: Linux PCMCIA Card Services 3.1.19
Aug  2 21:16:21 anode kernel:   kernel build: 2.2.16-17 #1 Wed Jul 26 15:04:58 EDT 2000
Aug  2 21:16:21 anode kernel:   options:  [pci] [cardbus] [apm]
Aug  2 21:16:21 anode kernel: PCI routing table version 1.0 at 0xfdfa0
Aug  2 21:16:21 anode kernel:   unknown PCI interrupt router 1078:0001
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug  2 21:16:21 anode kernel: Intel PCIC probe: 
Aug  2 21:16:21 anode kernel:   Ricoh RL5C475 rev 00 PCI-to-CardBus at slot 00:01, mem 0x68000000
Aug  2 21:16:21 anode kernel:     host opts [0]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 168/176] [bus 32/34]
Aug  2 21:16:21 anode kernel:     ISA irqs (default) = 3,4,7,9,10,11,12 polling interval = 1000 ms
Aug  2 21:16:22 anode pcmcia:  cardmgr.

Please let me know what details I can provide to help narrow down the problem...

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

More information?

Re: Question: Bug: Lockups on card insertion/removal... (Elliot Lee)
Date: 2000, Aug 03
From: David Hinds <dhinds@pcmcia.sourceforge.org>

Can you post the output of "lspci" or /proc/pci, and the output of the
"dump_pirq" script from the debug-tools directory of the PCMCIA source
tree?

-- Dave

More Fiva info

Re: More information? (David Hinds)
Date: 2000, Aug 03
From: Elliot Lee sopwith

Output of lspci -v:
00:00.0 Host bridge: Cyrix Corporation PCI Master
	Flags: bus master, medium devsel, latency 0

00:01.0 CardBus bridge: Ricoh Co Ltd RL5c475
	Flags: bus master, medium devsel, latency 168
	Memory at <ignored> (32-bit, non-prefetchable)
	Bus: primary=00, secondary=20, subordinate=22, sec-latency=176
	I/O window 0: 00000000-00000003
	I/O window 1: 00000000-00000003
	16-bit legacy interface ports at 0001

00:12.0 ISA bridge: Cyrix Corporation 5520 [Cognac]
	Flags: bus master, medium devsel, latency 0
	I/O ports at 3000
	I/O ports at 4000
	I/O ports at 5000
	Memory at 40010000 (32-bit, non-prefetchable)

00:13.0 USB Controller: Compaq Computer Corporation USB Open Host Controller (rev 04) (prog-if 10 [OHCI])
	Subsystem: Compaq Computer Corporation USB Open Host Controller
	Flags: bus master, medium devsel, latency 64, IRQ 15
	Memory at e0000000 (32-bit, non-prefetchable)

dump_pirq output:
Interrupt routing table found at address 0xfdfa0:
  Version 1.0, size 0x0030
  Interrupt router is device 00:00.0
  PCI exclusive interrupt mask: 0x8000

Device 00:01.0 (slot 1):
  INTA: link 0x01, irq mask 0xdeb8
  INTB: link 0x02, irq mask 0xdeb8
  INTC: link 0x03, irq mask 0xdeb8
  INTD: link 0x04, irq mask 0xdeb8

Interrupt router at 00:00.0: unknown vendor 0x1078 device 0x0001

Ok: Resolved

Re: More Fiva info (Elliot Lee)
Date: 2000, Aug 03
From: Elliot Lee sopwith

David sent me a solution in private e-mail which worked, so I wanted to post here in case others ever had the same problem.

Add "pci_irq_list=15" to PCIC_OPTS in /etc/sysconfig/pcmcia or equivalent.

I thank David for his quick and helpful responses. Now if I can just fix my code, I might be able to offer him a demo at LWCE :)

Thanks again...

Bug: Lockups on card insertion/removal...


[ Add Message ]  to: "Bug: Lockups on card insertion/removal..."

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]