Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2000 11:52:10 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        freebsd-mobile@freebsd.org
Subject:   PCMCIA card temporarily freezes system
Message-ID:  <200010281852.e9SIqAO34152@curve.dellroad.org>

next in thread | raw e-mail | index | archive | help
I have this PCMCIA card: PMX PE-200, which uses the "ed" driver.
It has worked for me before on another system, but in trying
on a ThinkPad A20m laptop with FreeBSD 4.1.1-REL, it seems
to temporarily "freeze" the system when plugged in.

That is, if pccardd is not running, everything looks normal.
When pccardd is started, it detects the card and the kernel
spits out the probe message with the IRQ and memory address,
and then the system completely freezes:

  pccard: card inserted, slot 0
  ed0 at port 0x300-0x31f iomem 0xd4000-0xd43ff irq 10 slot 0 on pccard0

Pressing keys on the keyboard does nothing. But then if I pop out
the card, the system continues normally (responding to any keys
pressed while frozen), printing out the card's Ethernet address,
etc. Of course then pccard immediately detects the card has been
popped out and detaches the interface:

  ed0: address 00:20:e0:0f:a6:9f, type NE2000 (16 bit)
  ed0: detached
  pccard: card removed, slot 0
  stray irq 10

This can be repeeated any number of times.

Any ideas? I've tried different interrupts, etc., to no avail.
This card works fine under Win98 on the same laptop. Dmesg
excerpts below..

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

$ dmesg

  ...

pcic-pci0: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pcic-pci1: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]

  ...

pcic0: <VLSI 82C146> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0

  ...

pccard: card inserted, slot 0
ed0 at port 0x300-0x31f iomem 0xd4000-0xd43ff irq 10 slot 0 on pccard0
ed0: address 00:20:e0:0f:a6:9f, type NE2000 (16 bit)
ed0: detached
pccard: card removed, slot 0
stray irq 10



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010281852.e9SIqAO34152>