Scott Mitchell wrote:
>
> The attached thread (apologies for the volume of text, but it is all
> relevant) came up on freebsd-xircom last week. Jose Alcaide actually
> posted to -mobile on the same subject a week or so before, but got no
> response. We figure it's definitely nothing to do with the Xircom driver
> in particular and probably nothing to do with pccard, so I'm bouncing it to
> any interested kernel gurus.
>
> Essentially, the irq line to which clk0 interrupts are accounted (in the
> output from vmstat -i) changes when pccards are inserted/removed. The same
> effect has been seen with cards using the xe0 and ed0 drivers.
>
After searching __again__ (and deeper) the mail list archives, I found
that this problem is old. Very, very old. Of all messages I found related to
this problem, the more interesting (and "recent": 1998-11-29) ones are:
http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=43676+50452+/usr/local/www/db/text/1998/freebsd-mobile/19981129.freebsd-mobile
and its follow up by Nate Williams:
http://www.freebsd.org/cgi/getmsg.cgi?fetch=50452+0+/usr/local/www/db/text/1998/freebsd-mobile/19981129.freebsd-mobile
Here is an excerpt:
-------------
> > - pccard interrupts doesn't seem to get initialized correctly for statistics
> > output (vmstat -i). After I insert a pccard, all of its interrupts get
> > accounted for the clock interrupt, with the irq line of the clock interrupt
> > changing to the one for the PCCard.
>
> This is a 'known bug', and requires a re-write of the way PCCARD probing
> is done to fix it. (This rewrite would also fix a number of other bugs
> as well, but there is no one interested in taking on the laptop issue to
> completion.)
-------------
Well, I read pccard.c and the calls to register_intr() -which I traced-
look correct. I did not find anything bad with IRQ probing, but this
does not mean that the problem does not exist :-)
Maybe a more detailed explanation by a kernel guru ;-) could help some
of us to solve the problem.
-- JMA
-----------------------------------------------------------------------
José Mª Alcaide | mailto:[EMAIL PROTECTED]
Universidad del País Vasco | mailto:[EMAIL PROTECTED]
Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479
48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071
-----------------------------------------------------------------------
"Beware of Programmers who carry screwdrivers" -- Leonard Brandwein
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message