Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 1999 12:35:10 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Nathan Dorfman <nathan@rtfm.net>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: pccard problems
Message-ID:  <199902201935.MAA24986@mt.sri.com>
In-Reply-To: <19990220135357.A783@rtfm.net>
References:  <19990220135357.A783@rtfm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[ Moved to -mobile ]

> a) it doesn't recognize card inserts/removes. the only way to get it to
> see a card as present is if the card is inserted at the time pcic is loaded

See the mobile archives for how to fix this.  The bottom line is that
either FreeBSD does not correctly setup the PCIC to generate interrupts
at insertion/removal, or the PCIC is busted.  (Or both).

(The fix is trivial, but I don't remember where it is off the top of my
head.)

> b) allocate_driver() (userland calls the PIOCSDRV ioctl, which in turn
> calls this) locks up the machine in a very interesting way. The LED for
> the slot in question goes on, and the machine stops responding.

Weird.

> At this
> point, I can't do *anything*, not even Ctrl+PrintScreen to drop to DDB.
> Now, if I eject the card in question, the system returns to normal.
> The ioctl(PIOCSDRV) returns errno 6 (ENXIO - No such device or address).
> This seems to indicate that find_driver("ed0") returns 0. I also get
> a few console messages:
> 
> ed0: Unload
> Return IRQ=11

It appears that the probe is someone 'stuck' or something.  More kernel
debugging may be necessary, such as setting breakpoints and such using
remote-GDB.


Nate


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?199902201935.MAA24986>