Next-in-Thread Next Message

Sad system hang upon pcmcia subsystem start 

Forum: PCMCIA driver development
Date: 2000, May 31
From: Tonko de Rooy tderooy

Hi

I have a IBM ThinkPad 770X with a TI1251A.
I have been using this machine with varies Redhat Linux versions (6.0-6.2) and have always compiled my own kernels and hence PCMCIA packages.

Now since I upgraded to RedHat 6.2 and then compiled my own kernel (2.2.14, 2.2.15 or 2.2.16pre6) and compile the PCMCIA package (3.1.14 or 3.1.15) and load the pcmcia subsystem the system effectively hangs. I can still when I'm in textmode switch consoles and try to login but it looks like that any atempt to access the harddisk hangs.

I compile the PCMCIA package with isa pnp and cardbus support, as I have a 10/100Mb cardbus card. This always used to work in the past without problems.

With RH 6.2 the only way for me to have PCMCIA working at current is to use the standard pre-compiled kernel and pcmcia package that comes with redhat. And that is giving me a lot of problems as the default APM options are wrong for this machine.

The PCMCIA version (3.1.8) that RedHat supplies with 6.2 prints the following:

Linux PCMCIA Card Services 3.1.8
  kernel build: 2.2.14-12 #1 Tue Apr 25 13:04:07 EDT 2000
  options: [pci] [cardbus] [apm]
Intel PCIC probe:
  TI 1251A PCI-to-CardBus at bus 0 slot 2, mem 0x50103000, 2 sockets
  host opts [0]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 2/4]
  host opts [1]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 5/7]
  ISA irqs (scanned) = 3,4,7,9,10 polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: excluding 0x15e8-0x15ef
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.

Next-in-Thread Next Message

Messages Inline: 0 1

None Re: Sad: system hang upon pcmcia subsystem start

Re: Sad system hang upon pcmcia subsystem start (Tonko de Rooy)
Date: 2000, May 31
From: David Hinds <dhinds@pcmcia.sourceforge.org>

A quick fix might be to just build the 3.1.8 PCMCIA driver release for
your new kernel.

The interrupt configuration code in post-3.1.8 packages is somewhat
different and is the most likely issue.  I assume that you are getting
hangs whether or not your CardBus card is inserted; you should check
that.  I'm surprised that you're having trouble, though, because the
Thinkpads tend to be well behaved (and I do my development mostly on a
770 series).

There are some suggestions for debugging startup problems in the
PCMCIA-HOWTO.  I'd probably start by trying to load the pcmcia_core
and i82365 modules by hand, with kernel messages sent to the console,
to see exactly where the lockup happens.

Then I'd try setting:

    PCIC_OPTS="do_scan=0"

in /etc/sysconfig/pcmcia.

-- Dave

Question it now works

Re: None Re: Sad: system hang upon pcmcia subsystem start (David Hinds)
Date: 2000, Jun 04
From: Tonko de Rooy tderooy

Hi,

For some strange reason it now works. I recompiled the 2.2.16pre6 kernel and pcmcia 3.1.15 and it all loads and works again perfectly.

here is what gets printed now to syslog:

Linux PCMCIA Card Services 3.1.15
  kernel build: 2.2.16pre6 #1 Wed May 31 11:33:44 BST 2000
  options:  [pci] [cardbus] [apm] [pnp]
PCI routing table version 1.0 at 0xf9f80
PnP: PNP BIOS installation structure at 0xc00fe700
PnP: PNP BIOS version 1.0, entry at f0000:e724, dseg at f0000
Intel PCIC probe: 
  TI 1251A rev 00 PCI-to-CardBus at slot 00:02, mem 0x50103000
    host opts [0]: [ring] [isa irq] [pci irq 11] [lat 168/176] [bus 2/4]
    host opts [1]: [ring] [isa irq] [pci irq 11] [lat 168/176] [bus 5/7]
    ISA irqs (scanned) = 3,4,9,10 PCI status changes
cs: IO port probe 0x1000-0x17ff: clean.
cs: IO port probe 0x0100-0x04ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
cs: memory probe 0x60000000-0x60ffffff: clean.

The only thing left is that I get a error when running depmod on epic_cb. Here is what depmod -ae tells me:

depmod: *** Unresolved symbols in /lib/modules/2.2.16pre6/pcmcia/epic_cb.o
depmod:         epic100_probe
But this is a longer standing problem. I always have this problem when I compile my own kernel and modules. And as I have no idea what epic_cb is, I probably don't need it and don't need to worry to much about the error.
system hang upon pcmcia subsystem start


Add Message to: "system hang upon pcmcia subsystem start"

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