Date: Mon, 04 Dec 2000 22:10:56 +0000 From: Ian Dowse <iedowse@maths.tcd.ie> To: Paul Thornton <prt@prt.org> Cc: freebsd-mobile@freebsd.org, iedowse@maths.tcd.ie Subject: Re: Problems with Vaio XG-9 and 4.2-R Message-ID: <200012042210.aa30549@salmon.maths.tcd.ie> In-Reply-To: Your message of "Mon, 04 Dec 2000 22:00:11 GMT." <Pine.BSF.4.21.0012042147140.3265-100000@avalon.whirlygig.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0012042147140.3265-100000@avalon.whirlygig.co.uk>, Pa
ul Thornton writes:
>Thanks for this - it doesn't hang any more, but now neither slot does
>anything. The card doesn't power up, and there is no attempt to identify or
>attach it.
Ok, maybe irq 5 is in use by something else (a sound card?). Try
using an irq that works, and then overriding the list of available
irqs in /etc/pccard.conf so as to exclude the management irq you
chose e.g.:
in /boot/kernel.conf:
irq pcic0 3
in /etc/pccard.conf:
irq 10 11
I have also had some success with the following patch. It causes
the pcic driver to perform polling even if it is configured in
non-polling mode. The non-zero IRQ stops the hangs, but polling
helps the reliable detection of insert/remove events. Maybe try
this with the pcic irq set to 5, and irqs 3,10,11 in /etc/pccard.conf?
Index: pcic.c
===================================================================
RCS file: /FreeBSD/FreeBSD-CVS/src/sys/pccard/pcic.c,v
retrieving revision 1.89.2.3
diff -u -r1.89.2.3 pcic.c
--- pcic.c 2000/10/15 04:12:43 1.89.2.3
+++ pcic.c 2000/12/04 22:02:52
@@ -537,7 +537,7 @@
} else {
irq = 0;
}
- if (irq == 0) {
+ if (1 /* irq == 0 */) {
pcictimeout_ch = timeout(pcictimeout, (void *) GET_UNIT(dev), hz/2);
device_printf(dev, "Polling mode\n");
}
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?200012042210.aa30549>
