[ Next-in-Thread ]  [ Next Message ] 

Sad: System hangs when starting pcmcia service... 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Mar 12
From: Eric Maes <eric.maes@wol.be>

Hi, I just downloaded version 3.1.12 of the pcmcia drivers and compiled it without a problem on my RedHat 6.1 system running kernel 2.2.12-20. I am using the PCMCIA-ISA adapter that came with my Webgear Aviator card. When I start the pcmcia service, my system completely hangs. First I thought this might be an IRQ issue, so I removed my SCSI adapter card (which I was not using anyway at the moment) and forced the driver to only probe for IRQ 12 which the card used (PCIC_OPTS='irq_list=12"), but the sysem still hangs. Here is part of /var/adm/messages (this still shows the original output (before I forced the IRQ). When my system hang, it probably trashed the messages file and I had to run fsck upon reboot...

Mar 12 17:32:48 bilbo kernel: Linux PCMCIA Card Services 3.1.12
Mar 12 17:32:48 bilbo kernel:   kernel build: 2.2.12-20 #1 Mon Sep 27 10:40:35 E
DT 1999
Mar 12 17:32:48 bilbo kernel:   options:  [pci] [cardbus] [apm]
Mar 12 17:32:48 bilbo kernel: PCI routing table version 1.0 at 0xfd820
Mar 12 17:32:48 bilbo kernel: Intel PCIC probe:
Mar 12 17:32:48 bilbo kernel:   Ricoh RF5C296/396 ISA-to-PCMCIA at port 0x3e0 of
s 0x00
Mar 12 17:32:48 bilbo kernel:     host opts [0]: none
Mar 12 17:32:48 bilbo kernel:     ISA irqs (scanned) = 3,7,9 polling interval =
1000 ms Mar 12 17:32:48 bilbo cardmgr[1107]: starting, version is 3.1.12

This is what probe shows:

PCI bridge probe: not found. Intel PCIC probe: i82365sl B step found, 1 sockets.

cat ioports:
  0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0300-031f : NE2000
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
6800-683f : es1370
f000-f007 : ide0
f008-f00f : ide1        

Needless to say that much to my frustration, the installation of these cards went without a problem when I booted this system in NT mode....

Thanks for your help - Eric

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

Not interrupts: either IO ports or memory

Re: Sad: System hangs when starting pcmcia service... (Eric Maes)
Date: 2000, Mar 13
From: David Hinds <dhinds@pcmcia.sourceforge.org>

There are some very detailed instructions for diagnosing system hangs
in the PCMCIA-HOWTO.

The most important thing is to determine exactly when the hang is
happening.  Interrupts are not the problem, because even before you
forced the interrupt setting, the interrupt probe completed fine
(otherwise you would not have seen those system log messages).  The
next event that happens during the startup sequence is the IO port
probe.  After that, if a card is present in the adapter, the memory
probe is done.

So, you need to determine if the lockup depends on whether or not the
Webgear card is in the slot.  If it only happens with the card in the
slot, it is a memory probe failure, and you need to restrict the low
memory window (the 0xc0000-0xfffff window in /etc/pcmcia/config.opts).
If it happens whether or not a card is present, then you need to work
on the IO port windows in the config.opts file.

It is possible the problem would also go away if you recompiled PCMCIA
with "PnP BIOS support" switched on, since that gives better rules for
automatic resource allocation.

-- Dave
1. Feedback: Some progress... by Eric Maes, 2000, Mar 14
(_ Ok: OK now! by Eric Maes, 2000, Mar 15
System hangs when starting pcmcia service...


[ Add Message ]  to: "System hangs when starting pcmcia service..."

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