From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 30 14:20:39 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7279416A4CE for ; Thu, 30 Oct 2003 14:20:39 -0800 (PST) Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id E961B43FE3 for ; Thu, 30 Oct 2003 14:20:35 -0800 (PST) (envelope-from scott@fishballoon.org) Received: from llama.fishballoon.org ([81.104.195.124]) by mta07-svc.ntlworld.comESMTP <20031030222033.VIZF2637.mta07-svc.ntlworld.com@llama.fishballoon.org>; Thu, 30 Oct 2003 22:20:33 +0000 Received: from scott by llama.fishballoon.org with local (Exim 4.20) id 1AFL85-0005Ns-GC; Thu, 30 Oct 2003 22:18:57 +0000 Date: Thu, 30 Oct 2003 22:18:57 +0000 From: Scott Mitchell To: Shahab Sanjari Message-ID: <20031030221857.GD17925@llama.fishballoon.org> References: <20031007204935.GD29033@llama.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.8-RELEASE-p13 i386 Sender: Scott Mitchell cc: freebsd-mobile@freebsd.org Subject: Re: Xircom Credit Card Ethernet CEM56-100 : xe X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 22:20:39 -0000 On Wed, Oct 15, 2003 at 12:44:48AM +0200, Shahab Sanjari wrote: > > Hello, > > I am sorry for the long delay in reply. Ditto :-( > Here is the result of setting the debug outputs of your recent patch to xe > driver to verbose mode and recompiling it under 5.1 release with OLDCARD. [...] > ** SECTION ONE ** > > Oct 12 15:13:41 pccardd[175]: Card "Xircom"("CreditCard Ethernet 10/100 + > Modem 56") [CEM56] [1.00] matched "Xircom" ("CreditCard Ethernet 10/100 + > Modem 56") [(null)] > Oct 12 15:13:46 kernel: xe0: pccard_probe > Oct 12 15:13:46 kernel: xe0: vendor = 0x0105 > Oct 12 15:13:47 kernel: xe0: product = 0x110a > Oct 12 15:13:47 kernel: xe0: prodext = 0x46 > Oct 12 15:13:47 kernel: xe0: vendor_str = Xircom > Oct 12 15:13:47 kernel: xe0: product_str = CreditCard Ethernet 10/100 + > Modem 56 > Oct 12 15:13:47 kernel: xe0: cis3_str = CEM56 > Oct 12 15:13:47 kernel: xe0: cis4_str = 1.00 > Oct 12 15:13:47 kernel: xe0 at port 0x2e8-0x2ef irq 11 slot 0 on pccard0 > Oct 12 15:13:47 kernel: xe0: pccard_attach > Oct 12 15:13:47 kernel: xe0: activate > Oct 12 15:13:47 kernel: xe0: Cannot allocate ioport > Oct 12 15:13:47 kernel: device_probe_and_attach: xe0 attach returned 12 > Oct 12 15:13:46 pccardd[175]: driver allocation failed for > Xircom(CreditCard Ethernet 10/100 + Modem 56): Cannot allocate memory Xircom cards are weird... the CIS (configuration data on the card) for the various Ethernet/modem combo cards lists the standard sio port ranges, but doesn't tell you that you need _another_ I/O port range for the Ethernet part. There's some cunning code in the driver to allocate that, but I'm not convinced it works properly yet. In your case the driver is failing to allocate that port range, but I would have expected to see some more debug statements telling us how it got to that point. Anyway, you've one of many people seeing this problem, and I hope to make some progress on it over the weekend. All of my patches have been committed, so it might be worthwhile upgrading to latest -CURRENT, turning on the verbose debugging again, and seeing if you get any more output. I'll be in touch as soon as I have anything for people to test. Thanks for your patience... Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon