From owner-freebsd-mobile Mon Dec 4 14:11: 4 2000 From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 4 14:11:00 2000 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 8E2DE37B400 for ; Mon, 4 Dec 2000 14:10:57 -0800 (PST) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Dec 2000 22:10:56 +0000 (GMT) To: Paul Thornton Cc: freebsd-mobile@freebsd.org, iedowse@maths.tcd.ie Subject: Re: Problems with Vaio XG-9 and 4.2-R In-Reply-To: Your message of "Mon, 04 Dec 2000 22:00:11 GMT." Date: Mon, 04 Dec 2000 22:10:56 +0000 From: Ian Dowse Message-ID: <200012042210.aa30549@salmon.maths.tcd.ie> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message , 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