[ Next-in-Thread ]  [ Next Message ] 

Not interrupts: either IO ports or memory 

Forum: PCMCIA Installation and Configuration Issues
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

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

Feedback: Some progress...

Re: Not interrupts: either IO ports or memory (David Hinds)
Date: 2000, Mar 14
From: Eric Maes <eric.maes@wol.be>

David, Thanks for the tips. I have recompiled the package with Pnp bt that did not seem to make much difference. I then have experimented somewhat with ioport and memory ranges and even though I really did not know what I was doing, succeeded in getting to start the pcmcia service (I think). This is what I now see /var/log when starting up pcmcia:
Mar 14 20:17:41 bilbo kernel: Linux PCMCIA Card Services 3.1.12
Mar 14 20:17:41 bilbo kernel:   kernel build: 2.2.12-20 #1 Mon Sep 27 10:40:35 E
DT 1999
Mar 14 20:17:41 bilbo kernel:   options:  [pci] [cardbus] [apm] [pnp]
Mar 14 20:17:41 bilbo kernel: PCI routing table version 1.0 at 0xfd820
Mar 14 20:17:41 bilbo kernel: PnP: PNP BIOS installation structure at 0xc00fb960

Mar 14 20:17:41 bilbo kernel: PnP: PNP BIOS version 1.0, entry at f0000:b988, ds eg at f0000

Mar 14 20:17:41 bilbo kernel: Intel PCIC probe:
Mar 14 20:17:41 bilbo kernel:   Ricoh RF5C296/396 ISA-to-PCMCIA at port 0x3e0 of
s 0x00
Mar 14 20:17:41 bilbo kernel:     host opts [0]: none
Mar 14 20:17:41 bilbo kernel:     ISA irqs (scanned) = 9,12 polling interval = 1
000 ms
Mar 14 20:17:41 bilbo cardmgr[1086]: starting, version is 3.1.12
Mar 14 20:17:41 bilbo cardmgr[1086]: watching 1 sockets
Mar 14 20:17:41 bilbo kernel: cs: IO port probe 0x1000-0x1300: excluding 0x1300-
0x1307
Mar 14 20:17:41 bilbo kernel: cs: IO port probe 0x0300-0x0370: clean.
Mar 14 20:17:43 bilbo cardmgr[1086]: initializing socket 0
Mar 14 20:17:43 bilbo kernel: cs: memory probe 0x0e0000-0x0effff: clean.  
Mar 14 20:17:43 bilbo cardmgr[1086]: socket 0: RayLink PC Card WLAN Adapter
Mar 14 20:17:43 bilbo cardmgr[1086]: executing: 'insmod /lib/modules/2.2.12-20/p
cmcia/ray_cs.o' Mar 14 20:17:43 bilbo kernel: ray_cs Detected: WebGear PC Card WLAN Adapter Vers ion 4.88 Jan 1999
Mar 14 20:17:43 bilbo kernel: eth1: RayLink, irq 12, hw_addr 00:00:F1:11:70:4E
Mar 14 20:17:43 bilbo cardmgr[1086]: executing: './network start eth1' 

At this point, my machine still worked! However when I try to bring up the interface either by running ifconfig by hand, or by customizing network.opts, I can just manage to enter a couple of commands after which my machine hangs... When I rebooted the machine with a non default network.opts and having set pc_debug=3 in /etc/pcmcia/ray_cs.opts, at the point where the pcmcia service was started, my console was flooded with messages: ray_dev_start_xmit busy At which point I had to reboot in single user mode to disable pcmcia at boot... So now I don't know whether I have a pcmcia or a Webgear problem...

Thanks for your help - Eric

Ok: OK now!

Re: Feedback: Some progress... (Eric Maes)
Date: 2000, Mar 15
From: Eric Maes <eric.maes@wol.be>

David,

I got the latest beta (which corrects a ray_cs bug) from the ftp site as you suggested, compiled, installed and now I seem to have a working system!

The only thing to do now is setup my network...

Thanks a lot for your help, much appreciated.

Cheers - Eric

Not interrupts: either IO ports or memory


[ Add Message ]  to: "Not interrupts: either IO ports or memory"

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