Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2000 18:27:17 -0400
From:      Peter Radcliffe <pir@pir.net>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: pcmcia remove hang under 4.0-stable
Message-ID:  <20000419182717.F4056@pir.net>
In-Reply-To: <20000418180019.I4533@pir.net>; from pir@pir.net on Tue, Apr 18, 2000 at 06:00:19PM -0400
References:  <20000418180019.I4533@pir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Radcliffe <pir@pir.net> probably said:
> I'm running 4.0-stable as of yesterday on my sony 505TR. Seems ok (after
> the sysctl to switch it to pio to stop the ata timeouts).
> 
> It seems to run quite well but I've already had one hard hang from
> removing a pcmcia ethernet card, an ed0 driver New Media 10/100 card;
> 
>   Card "New Media Corporation"("LiveWire 10/100")
> 
> I removed the card, saw no remove message. ifconfig -a showed it
> thought the itnerface was still there. Re-inserted, hung solid. This
> laptop would stay up for weeks with countless suspend/resumes and card
> inserts/removals under 3.[34]-PAO with that card amongst others :/

I've manaaged to provoke this again while in text console and gotten
the machine into the debugger.

I seem to be able to provoke it by;

  suspending with my wavelan card in the machine
  removing the card while suspended
  resuming and wait for "no card in database ""("")
  inserting the nmc card (linksys clone)
    (this insert isn't picked up, because the slot is powered up on
     resume because it thinks there is a card there)
  powering the slot down with pccardc power 0 0
  power the the slot up with pccardc power 0 1
  removing the nmc card (this remova isn't picked up)
  reinserting the nmc

I think an extra cycle of remove/insert on the nmc instead of power
down/up will also provoke it. I noticed it by suspending the machine
at home with wavelan card, coming to work, removing it and putting the
10/100 card in after boot. Worked ok ... until I removed the nmc card
to put a different card in and got no removal event.

This isn't a hard hang, bios functions are available, debugger is
available.

I tried to force a panic followed by a continue, as mentioned in the
handbook.  No panic, no crash dump. Debugger now not available (bios
functions still available).

I've double and triple checked that the irq I'm using for pcic0 is
unused - both 10 and 11 are listed as unused by windows, there are no
devices on them ... I've checked every device in the machine, which is
either disabled or on a different irq.

Bleh.

P.

-- 
pir                  pir@pir.net                    pir@net.tufts.edu



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?20000419182717.F4056>